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='

'; end @output_buffer.safe_append='
';@output_buffer.append=( @form_title );@output_buffer.safe_append='
'; _attrs.each do |attr| @output_buffer.safe_append=' ';@output_buffer.append=( field_form f, attr );@output_buffer.safe_append=' '; end @output_buffer.safe_append='
';@output_buffer.append=( f.button :submit, class: 'btn btn-default' );@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='

'; end @output_buffer.safe_append='
';@output_buffer.append=( @form_title );@output_buffer.safe_append='
'; _attrs.each do |attr| @output_buffer.safe_append=' ';@output_buffer.append=( field_form f, attr );@output_buffer.safe_append=' '; end @output_buffer.safe_append='
';@output_buffer.append=( f.button :submit, class: 'btn btn-default' );@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='
';@output_buffer.append=( @form_title );@output_buffer.safe_append='
'; _attrs.each do |attr| @output_buffer.safe_append=' ';@output_buffer.append=( field_form f, attr );@output_buffer.safe_append=' '; end @output_buffer.safe_append='
';@output_buffer.append=( f.button :submit, class: 'btn btn-default' );@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='
';@output_buffer.append=( @form_title );@output_buffer.safe_append='
'; _attrs.each do |attr| @output_buffer.safe_append=' ';@output_buffer.append=( field_form f, attr );@output_buffer.safe_append=' '; end @output_buffer.safe_append='
';@output_buffer.append=( f.button :submit, class: 'btn btn-default' );@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::ObjectId('530ca96d77353347511f0000'), "firstname"=>"Lurline", "lastname"=>"Greenholt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530ca96d77353347511f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ca96d77353347511e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347511e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530ca96d77353347511e0000/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('530ca96d7735334751200000'), "name"=>"Ms. Talia Cormier", "reference"=>"Gladys Bernier V", "quantity"=>"0"}] 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.1794ms 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('530ca96d7735334751210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms Redirected to http://test.host/admin/products/530ca96d7735334751210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2125ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751220000'), "name"=>"Audra Herman", "reference"=>"Mr. Ryleigh Klocko", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530ca96d7735334751220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms 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.2215ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751230000'), "name"=>"Trace Daniel", "reference"=>"Mariam O'Keefe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1752ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530ca96d7735334751230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751230000')} 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.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('530ca96d7735334751240000'), "name"=>"Darlene Jerde", "reference"=>"Van Murphy IV", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms 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.5264ms Completed 200 OK in 13ms (Views: 12.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751250000'), "name"=>"Keyon Von", "reference"=>"Edna Bergnaum", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 53ms (Views: 35.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751280000'), "name"=>"Clifton Beatty DDS", "reference"=>"Mr. Cora Goodwin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530ca96d7735334751280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms 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('530ca96d7735334751290000'), "name"=>"Selmer Bradtke DVM", "reference"=>"Quinten Roberts", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ca96d7735334751290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751290000')} 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('530ca96d7735334751290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Redirected to http://test.host/admin/products/530ca96d7735334751290000 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('530ca96d77353347512a0000'), "firstname"=>"Hugh", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0538ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1708ms 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('530ca96d77353347512b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/admin/users/530ca96d77353347512b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ca96d77353347512c0000'), "firstname"=>"Gaylord", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1518ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530ca96d77353347512c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96d77353347512c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96d77353347512c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms 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.1706ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ca96d77353347512d0000'), "firstname"=>"Billie", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530ca96d77353347512d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96d77353347512d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms 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('530ca96d77353347512e0000'), "firstname"=>"Shaina", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms 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.3093ms 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('530ca96d77353347512f0000'), "firstname"=>"Raoul", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms 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('530ca96d7735334751300000'), "firstname"=>"Brianne", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530ca96d7735334751300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96d7735334751300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms 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('530ca96d7735334751310000'), "firstname"=>"Arvel", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ca96d7735334751310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96d7735334751310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530ca96d7735334751310000 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('530ca96d7735334751320000'), "firstname"=>"Loy", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1575ms 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('530ca96d7735334751330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms 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.2029ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751340000'), "firstname"=>"Ephraim", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530ca96d7735334751340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751340000')} 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.4ms) 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('530ca96d7735334751350000'), "firstname"=>"Herminio", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms 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('530ca96d7735334751360000'), "firstname"=>"Holly", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530ca96d7735334751360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms 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('530ca96d7735334751370000'), "firstname"=>"Mackenzie", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530ca96d7735334751370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms 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('530ca96e7735334751380000'), "name"=>"Antoinette Tremblay II", "reference"=>"Vesta Gerhold", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e7735334751390000'), "author_name"=>"Carmine Blanda", "content"=>["Quod nulla sed incidunt. Et ea dolorem. Repudiandae praesentium nam. Officia repudiandae qui voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ca96e7735334751380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ca96e77353347513a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms Redirected to http://test.host/products/530ca96e7735334751380000/comments/530ca96e77353347513a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1956ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e77353347513b0000'), "name"=>"Max Brakus", "reference"=>"Barton Shanahan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e77353347513c0000'), "author_name"=>"Gia Ferry", "content"=>["Voluptatem blanditiis et. Est omnis voluptas asperiores iure in aut a. Velit et non et repellendus aut ratione eum. Earum tempore recusandae quasi unde rerum. Debitis inventore ab laudantium officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347513b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530ca96e77353347513b0000", "id"=>"530ca96e77353347513c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347513b0000')} 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('530ca96e77353347513b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ca96e77353347513c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms Redirected to http://test.host/products/530ca96e77353347513b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347513b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e77353347513d0000'), "name"=>"Jamar Kreiger", "reference"=>"Madison Howe Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e77353347513e0000'), "author_name"=>"Tanya Crooks", "content"=>["Ut ullam id et voluptates alias ducimus officiis. Id debitis qui dolores iusto omnis. Mollitia qui reiciendis voluptatem natus. Quo molestiae dolor laborum et. Necessitatibus aut unde omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530ca96e77353347513d0000", "id"=>"530ca96e77353347513e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347513d0000')} 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.5ms) 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('530ca96e77353347513f0000'), "name"=>"Sincere Stroman", "reference"=>"Graciela O'Connell", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e7735334751400000'), "author_name"=>"Laverne Feil", "content"=>["Omnis voluptates a tenetur placeat eligendi neque. Asperiores qui blanditiis voluptas incidunt eum eos quam. Perferendis sed similique incidunt iste reprehenderit nemo mollitia. Officia non autem quis dignissimos rerum commodi qui. Veniam consequatur natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530ca96e77353347513f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347513f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms 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('530ca96e7735334751410000'), "name"=>"Gillian Homenick", "reference"=>"Jairo Hartmann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e7735334751420000'), "author_name"=>"Mr. Alba Crona", "content"=>["Et est odio deleniti ipsa quaerat. Qui totam necessitatibus expedita fugit quia. Consequatur porro est aut. Temporibus quia qui corrupti animi sint excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530ca96e7735334751410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751410000')} 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 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('530ca96e7735334751430000'), "name"=>"Miss Ova Lemke", "reference"=>"Dan Welch", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e7735334751440000'), "author_name"=>"Rossie Ferry Jr.", "content"=>["Ipsum voluptatem facere molestiae. Tempore voluptas dignissimos beatae aperiam impedit. Nihil et ad quis et eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530ca96e7735334751430000", "id"=>"530ca96e7735334751440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms 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('530ca96e7735334751450000'), "name"=>"Helmer Armstrong", "reference"=>"Mrs. Coy Wisoky", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ca96e7735334751460000'), "author_name"=>"Ian Jacobi", "content"=>["Et vel ullam laudantium. Repellat consequatur ex occaecati. Ipsum vel dignissimos voluptatem occaecati eos facilis. Placeat nesciunt at consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ca96e7735334751460000", "product_id"=>"530ca96e7735334751450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751450000')} 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('530ca96e7735334751450000'), "comments._id"=>BSON::ObjectId('530ca96e7735334751460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Redirected to http://test.host/products/530ca96e7735334751450000/comments/530ca96e7735334751460000 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('530ca96e7735334751470000'), "firstname"=>"Maudie", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1647ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Redirected to http://test.host/admin/clients/530ca96e7735334751480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751490000'), "firstname"=>"Horacio", "lastname"=>"Grady"}] 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.1578ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530ca96e7735334751490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms 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.1709ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ca96e77353347514a0000'), "firstname"=>"Lottie", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ca96e77353347514a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e77353347514a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms 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('530ca96e77353347514b0000'), "firstname"=>"Roxane", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms 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('530ca96e77353347514c0000'), "firstname"=>"Harmony", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.7040ms 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('530ca96e77353347514d0000'), "firstname"=>"Karlie", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ca96e77353347514d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e77353347514d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms 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('530ca96e77353347514e0000'), "firstname"=>"Golda", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ca96e77353347514e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e77353347514e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e77353347514e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Redirected to http://test.host/admin/clients/530ca96e77353347514e0000 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('530ca96e77353347514f0000'), "firstname"=>"Stephany", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2251ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms Redirected to http://test.host/clients/530ca96e7735334751500000 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('530ca96e7735334751510000'), "firstname"=>"Jeffery", "lastname"=>"Turcotte"}] 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.1672ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530ca96e7735334751510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751510000')} 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('530ca96e7735334751510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms 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('530ca96e7735334751520000'), "firstname"=>"Haskell", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ca96e7735334751520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms 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('530ca96e7735334751530000'), "firstname"=>"Betsy", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by Iord::GenericController#index as HTML MOPED: 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('530ca96e7735334751540000'), "firstname"=>"Vergie", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms 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('530ca96e7735334751550000'), "firstname"=>"Robbie", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ca96e7735334751550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms 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('530ca96e7735334751560000'), "firstname"=>"Harmony", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ca96e7735334751560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ca96e7735334751560000')} 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('530ca96e7735334751560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms Redirected to http://test.host/clients/530ca96e7735334751560000 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('530ca96e7735334751570000'), "name"=>"Zakary Kuhn", "reference"=>"Anissa Mante", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ca96e7735334751580000'), "firstname"=>"Roxane", "lastname"=>"Smith"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ca96e7735334751570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ca96e7735334751590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms Redirected to http://test.host/products/530ca96e7735334751570000/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('530ca96e77353347515a0000'), "name"=>"Micah Tremblay", "reference"=>"Aliza Farrell", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ca96e77353347515b0000'), "firstname"=>"Caden", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530ca96e77353347515b0000", "product_id"=>"530ca96e77353347515a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347515a0000')} 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.5ms) Completed 200 OK in 9ms (Views: 6.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e77353347515c0000'), "name"=>"Miss Estel Sauer", "reference"=>"Mr. Gunnar Bogisich", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530ca96e77353347515d0000'), "firstname"=>"Ernest", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530ca96e77353347515c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347515c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms 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('530ca96e77353347515e0000'), "name"=>"Ryder McKenzie", "reference"=>"Kitty Haley", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530ca96e77353347515f0000'), "firstname"=>"Shaniya", "lastname"=>"Rowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530ca96e77353347515f0000", "product_id"=>"530ca96e77353347515e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347515e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms 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('530ca96e7735334751600000'), "name"=>"Elinor Rippin Jr.", "reference"=>"Shanelle Kuhic", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530ca96e7735334751610000'), "firstname"=>"Bertrand", "lastname"=>"Kassulke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530ca96e7735334751610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ca96e7735334751600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Unpermitted parameters: name Redirected to http://test.host/products/530ca96e7735334751600000/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('530ca96e7735334751620000'), "name"=>"Ms. Shawna Schaefer", "reference"=>"Bryce Kuhlman", "quantity"=>"2"}] 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=>"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('530ca96e7735334751630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.3445ms Redirected to http://test.host/products/530ca96e7735334751630000 Completed 302 Found in 33ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3459ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751640000'), "name"=>"Josiah Christiansen", "reference"=>"Elmore Rau", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms 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"=>"530ca96e7735334751640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms 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.1925ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751650000'), "name"=>"Dr. Kamille Douglas", "reference"=>"Cordell O'Hara", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530ca96e7735334751650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms 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('530ca96e7735334751660000'), "name"=>"Elody Johnston DDS", "reference"=>"Ursula Prohaska III", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms 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.7835ms Completed 200 OK in 22ms (Views: 21.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751670000'), "name"=>"Amina Stehr", "reference"=>"Noelia McLaughlin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms 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.7057ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751680000'), "name"=>"Kira Durgan Sr.", "reference"=>"Jovani Graham", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530ca96e7735334751680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms 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('530ca96e7735334751690000'), "name"=>"Heloise Stracke", "reference"=>"Zane Ebert", "quantity"=>"4"}] 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.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('530ca96e77353347516b0000'), "name"=>"Helena Grant PhD", "reference"=>"Kareem Skiles", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530ca96e77353347516b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347516b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms 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('530ca96e77353347516c0000'), "name"=>"Javonte Mann", "reference"=>"Ashtyn Lueilwitz", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms 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('530ca96e77353347516d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms 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('530ca96e77353347516e0000'), "name"=>"Julius Grimes Jr.", "reference"=>"Newell Herzog", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530ca96e77353347516e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e77353347516e0000')} 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('530ca96e77353347516e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms 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('530ca96e77353347516f0000'), "name"=>"Deon Greenholt", "reference"=>"Joelle Rogahn", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms 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('530ca96e7735334751710000'), "name"=>"Caleb Blanda", "reference"=>"Cale Marks DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ca96e7735334751710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751710000')} 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('530ca96e7735334751710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms 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('530ca96e7735334751720000'), "name"=>"Ms. Theodore D'Amore", "reference"=>"Ms. Manley Friesen", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7755ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ca96e7735334751720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96e7735334751720000')} 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('530ca96e7735334751720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms Redirected to http://test.host/products/530ca96e7735334751720000 Completed 302 Found in 29ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751730000'), "firstname"=>"Flossie", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms 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('530ca96e7735334751740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Redirected to http://test.host/users/530ca96e7735334751740000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2020ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751750000'), "firstname"=>"Valentina", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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"=>"530ca96e7735334751750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96e7735334751750000')} 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('530ca96e7735334751750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms 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.1968ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ca96e7735334751760000'), "firstname"=>"Alejandrin", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530ca96e7735334751760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96e7735334751760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms 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('530ca96e7735334751770000'), "firstname"=>"Aliyah", "lastname"=>"Hintz"}] 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.3588ms 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('530ca96e7735334751780000'), "firstname"=>"Gabriella", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms 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('530ca96e7735334751790000'), "firstname"=>"Keanu", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Processing by UsersController#show as HTML Parameters: {"id"=>"530ca96e7735334751790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96e7735334751790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms 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('530ca96e77353347517a0000'), "firstname"=>"Lauryn", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ca96e77353347517a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ca96e77353347517a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Unpermitted parameters: name Redirected to http://test.host/users/530ca96e77353347517a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms 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.3687ms 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.3542ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a46000000'), "firstname"=>"Wava", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2350ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a46010000'), "firstname"=>"Otilia", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a46020000'), "firstname"=>"Felton", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a46030000'), "firstname"=>"Alexandria", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a46040000'), "firstname"=>"Imelda", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46050000'), "name"=>"Chad Grimes", "reference"=>"Miss Jaunita Murphy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46060000'), "author_name"=>"Zoe Abshire", "content"=>["Saepe et exercitationem ut possimus. Aperiam sit cupiditate repellat repudiandae quae facilis. Velit doloribus vel. Debitis vero voluptas repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cac727735334a46050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46070000'), "name"=>"Alicia Harvey", "reference"=>"Addie Bradtke", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46080000'), "author_name"=>"June Larkin", "content"=>["Nobis rerum reprehenderit inventore id ipsa est sit. Iusto rerum enim consequuntur voluptatum. Eligendi explicabo minus similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cac727735334a46070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46090000'), "name"=>"Delphia Medhurst", "reference"=>"Roman Stark", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a460a0000'), "author_name"=>"Aditya Jenkins", "content"=>["Eius corrupti amet dolores et a culpa officia. Ipsam sapiente sed eum totam non. Voluptatem et rerum. Iusto accusantium consectetur temporibus esse dolor quasi non. Et mollitia quae quam voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a460b0000'), "name"=>"Trace Conroy", "reference"=>"Ena Stanton MD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a460c0000'), "author_name"=>"Lottie Swaniawski", "content"=>["Doloribus illo aut. Dolores sapiente et incidunt. Hic officia similique quas repellendus sit ipsam. Deleniti necessitatibus voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a460d0000'), "name"=>"Dwight Hudson", "reference"=>"Felipe Goyette", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a460e0000'), "author_name"=>"Sarina Kling Sr.", "content"=>["Voluptas dolorem atque et ea eos qui aspernatur. Voluptas cupiditate debitis fugit consequuntur. Non adipisci iusto consequuntur nihil ipsam culpa. Explicabo sed distinctio rerum quis provident maiores et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a460f0000'), "name"=>"Stanton Anderson", "reference"=>"Grace Hahn", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46100000'), "author_name"=>"Rosie Daniel Jr.", "content"=>["Nisi pariatur rerum voluptatum. Sapiente vitae quis voluptatem veniam tempore fuga suscipit. Ducimus sapiente similique. Eius quae corporis sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46110000'), "name"=>"Maxime Blanda", "reference"=>"Russel Hermann V", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46120000'), "author_name"=>"Mustafa Berge IV", "content"=>["Et quidem corrupti placeat eveniet perspiciatis eum quo. Repellendus et modi aut delectus voluptate nam et. Atque dolorem sequi. Quia earum aut itaque neque error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46130000'), "name"=>"Tyra Maggio", "reference"=>"Barton Feeney", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cac727735334a46140000'), "firstname"=>"Israel", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46150000'), "name"=>"Mrs. Cristian Keeling", "reference"=>"Ada Larson", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cac727735334a46160000'), "firstname"=>"Emmalee", "lastname"=>"Harvey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46170000'), "name"=>"Creola Kovacek", "reference"=>"Howell VonRueden", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cac727735334a46180000'), "firstname"=>"Retha", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46190000'), "name"=>"Mrs. Rita Pollich", "reference"=>"Chanel Schaden", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cac727735334a461a0000'), "firstname"=>"Kacie", "lastname"=>"Hayes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a461b0000'), "name"=>"Mrs. Marlin Schuster", "reference"=>"Jordi Oberbrunner", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cac727735334a461c0000'), "firstname"=>"Margret", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a461d0000'), "name"=>"Claire Zieme I", "reference"=>"Camilla Cummerata", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.9707ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2290ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a461e0000'), "name"=>"Dr. Oma Sanford", "reference"=>"Fidel Nikolaus DVM", "quantity"=>"4"}] 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.1816ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a461f0000'), "name"=>"Hassie Weimann II", "reference"=>"Charles Ondricka", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46200000'), "name"=>"Antonietta Hermann", "reference"=>"Broderick Beer", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46210000'), "name"=>"Isidro Conn PhD", "reference"=>"Miss Alexandro Medhurst", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46220000'), "name"=>"Dr. Bradford Rau", "reference"=>"Mrs. Jewell McCullough", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46230000'), "name"=>"Ms. Donato Schulist", "reference"=>"Broderick Bode", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46240000'), "firstname"=>"Adela", "lastname"=>"Ondricka"}] 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=>"admin_users", :query=>{}} runtime: 0.1904ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46250000'), "firstname"=>"Ara", "lastname"=>"O'Reilly"}] 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=>"admin_users", :query=>{}} runtime: 0.1799ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46260000'), "firstname"=>"Lourdes", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46270000'), "firstname"=>"Willard", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46280000'), "firstname"=>"Laury", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a46290000'), "firstname"=>"Lazaro", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac727735334a462a0000'), "firstname"=>"Greg", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a462b0000'), "firstname"=>"Luigi", "lastname"=>"Fadel"}] 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=>"administrators", :query=>{}} runtime: 0.1810ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a462c0000'), "firstname"=>"Jacky", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a462d0000'), "firstname"=>"Frances", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a462e0000'), "firstname"=>"Beverly", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cac727735334a462f0000'), "firstname"=>"Ashlee", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46300000'), "name"=>"Irma Herzog", "reference"=>"Ms. Leda Hoppe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46310000'), "author_name"=>"Odell Rice", "content"=>["Non voluptatem est qui rerum voluptatem earum sit. Deserunt veniam accusamus. Ea earum molestias sunt omnis perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cac727735334a46300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46320000'), "name"=>"Odie Powlowski Sr.", "reference"=>"Mrs. Osbaldo Fay", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46330000'), "author_name"=>"Miss Theodore Donnelly", "content"=>["Corrupti illum tenetur. Veniam recusandae atque. Ratione sunt pariatur repudiandae velit possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cac727735334a46320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46340000'), "name"=>"Olga O'Keefe III", "reference"=>"Jaron Gutkowski II", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46350000'), "author_name"=>"Rhea Rippin II", "content"=>["Nam quia accusantium id. Qui quidem velit sequi. Quos placeat sunt modi quas. Commodi enim neque porro quaerat tempore eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46360000'), "name"=>"Mrs. Cullen Friesen", "reference"=>"Stephan Fadel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46370000'), "author_name"=>"Tillman Raynor", "content"=>["Ipsa qui recusandae occaecati. Nisi exercitationem quasi molestias aliquam. Ipsa ullam ut libero reprehenderit repudiandae aut. Qui aperiam sed. Mollitia nesciunt repudiandae omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a46380000'), "name"=>"Baron Hansen", "reference"=>"Brendon Swift PhD", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a46390000'), "author_name"=>"Stanton Fadel", "content"=>["Dolor quam vero molestiae iusto. Vel dignissimos deleniti. Voluptas error ipsa laborum voluptas. Ratione earum dolor deserunt et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a463a0000'), "name"=>"Marguerite Morar", "reference"=>"Mrs. Carlos Hagenes", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a463b0000'), "author_name"=>"Onie Weissnat", "content"=>["Eaque ut ipsa vero saepe. Id dolore illo quia nostrum repellendus. Impedit aut et. Excepturi consequatur omnis tempora aut quaerat nesciunt. Autem sint delectus reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac727735334a463c0000'), "name"=>"Pat Schneider", "reference"=>"Miss Jaqueline Yundt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cac727735334a463d0000'), "author_name"=>"Lelah Eichmann", "content"=>["Tenetur fugiat illum non ut et ut neque. Aut expedita provident in et inventore. Eos maxime quos in reprehenderit aperiam. Veniam dolores quidem consequatur quia ad facilis cum. Ut atque provident nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac727735334a463e0000'), "firstname"=>"Emanuel", "lastname"=>"Osinski"}] 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=>"clients", :query=>{}} runtime: 0.1932ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac727735334a463f0000'), "firstname"=>"Karina", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1793ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac727735334a46400000'), "firstname"=>"Jaeden", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac727735334a46410000'), "firstname"=>"Miles", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac727735334a46420000'), "firstname"=>"Nyah", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46430000'), "firstname"=>"Gaston", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46440000'), "firstname"=>"Dusty", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46450000'), "firstname"=>"Maxwell", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1613ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46460000'), "firstname"=>"Elenora", "lastname"=>"Swift"}] 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=>"clients", :query=>{}} runtime: 0.1589ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46470000'), "firstname"=>"Favian", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46480000'), "firstname"=>"Giovanni", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a46490000'), "firstname"=>"Samson", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a464a0000'), "firstname"=>"Sydney", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cac737735334a464b0000'), "firstname"=>"Rupert", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a464c0000'), "name"=>"Mrs. Kaylee D'Amore", "reference"=>"Winona Bergnaum", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cac737735334a464d0000'), "firstname"=>"Sister", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a464e0000'), "name"=>"Tiana Rath", "reference"=>"Bernardo Barton", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cac737735334a464f0000'), "firstname"=>"Jannie", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46500000'), "name"=>"Mable Robel", "reference"=>"Marilie Hilll IV", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cac737735334a46510000'), "firstname"=>"Janessa", "lastname"=>"Kutch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46520000'), "name"=>"Sim Stark", "reference"=>"Wilburn Morissette", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cac737735334a46530000'), "firstname"=>"Wilson", "lastname"=>"Feil"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46540000'), "name"=>"Glennie Tillman", "reference"=>"Adolf Von", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cac737735334a46550000'), "firstname"=>"Jude", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46560000'), "name"=>"Birdie Beer IV", "reference"=>"Lourdes Kub", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1662ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46570000'), "name"=>"Emmalee Gottlieb", "reference"=>"Jackeline Bashirian", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms 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('530cac737735334a46580000'), "name"=>"Yesenia Sporer", "reference"=>"Theodora Cartwright", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2063ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46590000'), "name"=>"Torey Padberg", "reference"=>"Katelynn Gottlieb PhD", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465a0000'), "name"=>"Michale Moore MD", "reference"=>"Mr. Name Leannon", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465b0000'), "name"=>"Madilyn McCullough", "reference"=>"Mr. Gina Batz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465c0000'), "name"=>"Lucius Kuphal", "reference"=>"Aryanna Kautzer V", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465d0000'), "name"=>"Miss Nadia Friesen", "reference"=>"Vicenta Abbott", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465e0000'), "name"=>"Makenzie Kling", "reference"=>"Joesph Blick", "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.1573ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a465f0000'), "name"=>"Miss Bernice Hermann", "reference"=>"Miss Libby Bins", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46600000'), "name"=>"Gordon Gulgowski DDS", "reference"=>"Trevor Lynch", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46610000'), "name"=>"Zachery Parker", "reference"=>"Gust Beatty I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cac737735334a46620000'), "name"=>"Waino Bayer", "reference"=>"Dr. Kristin Rau", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46630000'), "firstname"=>"Lola", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1623ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46640000'), "firstname"=>"Emmanuelle", "lastname"=>"Torp"}] 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.1576ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46650000'), "firstname"=>"Davon", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46660000'), "firstname"=>"Nia", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46670000'), "firstname"=>"Jaida", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46680000'), "firstname"=>"Katrina", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cac737735334a46690000'), "firstname"=>"Emma", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms 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.3148ms 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 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.3319ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cacdb7735334a81000000'), "firstname"=>"Lela", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cacdb7735334a81000000"} 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('530cacdc7735334a81010000'), "firstname"=>"Ali", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms 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('530cacdc7735334a81020000'), "firstname"=>"Carleton", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cacdc7735334a81020000"} 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('530cacdc7735334a81030000'), "firstname"=>"Ebony", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cacdc7735334a81030000", "administrator"=>{"name"=>"Hello"}} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81040000'), "name"=>"Julien Barton", "reference"=>"Afton Mills", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81050000'), "author_name"=>"Yolanda Mayer", "content"=>["In est odio et quam eum nemo. Enim voluptatem voluptatem minima ut. Sit ut magni dolor porro sunt consequuntur temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cacdc7735334a81040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cacdc7735334a81040000", "id"=>"530cacdc7735334a81050000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81060000'), "name"=>"Miss Angus Streich", "reference"=>"Kaitlyn Bosco", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81070000'), "author_name"=>"Nedra Homenick", "content"=>["Ad porro fuga expedita accusantium necessitatibus sed. Aut dicta sapiente. Ut aspernatur quas officia dignissimos et omnis. Ad quod eos architecto et. Odio culpa voluptas rem laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cacdc7735334a81060000", "id"=>"530cacdc7735334a81070000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81080000'), "name"=>"Mrs. Leora Aufderhar", "reference"=>"Hiram Sporer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81090000'), "author_name"=>"Laron Hamill Jr.", "content"=>["Necessitatibus et consequatur et sed. Consequatur molestiae corporis. Cumque qui quis rerum eum nostrum ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cacdc7735334a81080000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a810a0000'), "name"=>"Fabiola Mraz", "reference"=>"Wendell Toy", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a810b0000'), "author_name"=>"Angela Nitzsche", "content"=>["A perferendis adipisci eos sed doloremque dolorum. Nihil saepe vel sequi aspernatur eum est. Earum itaque error. Ea repellendus harum eos. Temporibus aspernatur delectus inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cacdc7735334a810a0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a810c0000'), "name"=>"Freida Greenfelder", "reference"=>"Mr. Imani Abshire", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a810d0000'), "author_name"=>"Mylene Gutkowski I", "content"=>["Illum iste odit dignissimos aut sequi. Numquam deleniti aliquid dolorem officia eum. Quo tempora consequatur exercitationem. Ut quas inventore labore quod eum ad. Quisquam deserunt earum placeat iure iusto fuga nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cacdc7735334a810c0000", "id"=>"530cacdc7735334a810d0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a810e0000'), "name"=>"Gideon Rath", "reference"=>"Dr. Christop Gutkowski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a810f0000'), "author_name"=>"Kallie Bashirian", "content"=>["Laboriosam quaerat ab itaque. Accusamus quo cum non excepturi. Quo necessitatibus tempore non deleniti ex. Consectetur provident nobis sunt corrupti ea harum. Dicta libero asperiores aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cacdc7735334a810f0000", "product_id"=>"530cacdc7735334a810e0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81100000'), "name"=>"Camille Harris", "reference"=>"Jarred Orn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81110000'), "firstname"=>"Melody", "lastname"=>"Gutmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81110000", "product_id"=>"530cacdc7735334a81100000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81120000'), "name"=>"Salvatore Reinger Sr.", "reference"=>"Jerel Eichmann", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81130000'), "firstname"=>"Keshawn", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cacdc7735334a81120000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81140000'), "name"=>"Dr. Loyal Beahan", "reference"=>"Mathilde Stroman", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81150000'), "firstname"=>"Hadley", "lastname"=>"Sporer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cacdc7735334a81150000", "product_id"=>"530cacdc7735334a81140000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81160000'), "name"=>"Penelope Will", "reference"=>"Kianna Jerde", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81170000'), "firstname"=>"Ansley", "lastname"=>"Stamm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cacdc7735334a81170000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cacdc7735334a81160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81180000'), "name"=>"Eddie Gibson", "reference"=>"Alvis Romaguera", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1635ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a81180000"} 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('530cacdc7735334a81190000'), "name"=>"Lily McDermott", "reference"=>"Delphine Bashirian", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81190000"} 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('530cacdc7735334a811a0000'), "name"=>"Luz Kuhn", "reference"=>"Jammie McLaughlin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms 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('530cacdc7735334a811b0000'), "name"=>"Zane Gislason", "reference"=>"Adriana Osinski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms 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('530cacdc7735334a811c0000'), "name"=>"Lucas Thompson DVM", "reference"=>"Tommie Stroman V", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cacdc7735334a811c0000"} 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('530cacdc7735334a811d0000'), "name"=>"Kellie Bernhard", "reference"=>"Electa Schiller", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cacdc7735334a811d0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- 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('530cacdc7735334a811e0000'), "firstname"=>"Adella", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1566ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a811e0000"} 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('530cacdc7735334a811f0000'), "firstname"=>"Lessie", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cacdc7735334a811f0000"} 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('530cacdc7735334a81200000'), "firstname"=>"Eliza", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms 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('530cacdc7735334a81210000'), "firstname"=>"Enrique", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms 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('530cacdc7735334a81220000'), "firstname"=>"Jadon", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cacdc7735334a81220000"} 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('530cacdc7735334a81230000'), "firstname"=>"Pink", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cacdc7735334a81230000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81240000'), "firstname"=>"Wayne", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81240000"} 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('530cacdc7735334a81250000'), "firstname"=>"Ayana", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms 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('530cacdc7735334a81260000'), "firstname"=>"Iva", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cacdc7735334a81260000"} 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('530cacdc7735334a81270000'), "firstname"=>"Brandon", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cacdc7735334a81270000", "administrator"=>{"name"=>"Hello"}} Completed 500 Internal Server Error in 28ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81280000'), "name"=>"Hoyt Connelly", "reference"=>"Mrs. Bonita Olson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81290000'), "author_name"=>"Evangeline Heidenreich Jr.", "content"=>["Delectus laudantium aliquid est illo iusto sit ut. Laudantium aut ab quaerat rerum omnis est. Doloremque autem sequi voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cacdc7735334a81280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cacdc7735334a81280000", "id"=>"530cacdc7735334a81290000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a812a0000'), "name"=>"Mellie Ortiz Jr.", "reference"=>"Ms. Sabryna Smitham", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a812b0000'), "author_name"=>"Kamryn Osinski", "content"=>["Cumque illum corporis voluptatem voluptates saepe ipsum. Ab sit totam minima odio tenetur non est. Et voluptate dolor qui tempore eos. Recusandae rerum repudiandae. Ab neque est possimus reiciendis debitis voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cacdc7735334a812a0000", "id"=>"530cacdc7735334a812b0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a812c0000'), "name"=>"Angelo Wisoky", "reference"=>"Mortimer Nolan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a812d0000'), "author_name"=>"Dr. Richard Cole", "content"=>["Sint sunt maxime. Ipsum omnis explicabo quia doloribus. Cumque ipsa veritatis voluptas repellat dolor. Quae et quia et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cacdc7735334a812c0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a812e0000'), "name"=>"Rozella Okuneva I", "reference"=>"Delbert Skiles", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a812f0000'), "author_name"=>"Josh Bauch", "content"=>["Temporibus consequatur vel sint accusantium suscipit molestiae sint. Saepe nihil sunt fugiat impedit. Libero corporis quibusdam voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cacdc7735334a812e0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81300000'), "name"=>"Fae Bradtke", "reference"=>"Mr. Vito Paucek", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81310000'), "author_name"=>"Vinnie Turcotte", "content"=>["Laudantium dolores sed explicabo laborum aut nihil. Et quis qui dolor eaque voluptas et id. Beatae ad iusto ea repudiandae reprehenderit placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cacdc7735334a81300000", "id"=>"530cacdc7735334a81310000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81320000'), "name"=>"Lorine Hamill", "reference"=>"Ms. Dandre Kautzer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cacdc7735334a81330000'), "author_name"=>"Florence Wisoky", "content"=>["Et perspiciatis culpa nulla enim. Quae earum quos deleniti doloribus. Quo cum ut sint dolorum vel voluptas. Et sit possimus voluptas aliquid illum laborum et. Ea sed commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cacdc7735334a81330000", "product_id"=>"530cacdc7735334a81320000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81340000'), "firstname"=>"Shane", "lastname"=>"Heathcote"}] 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=>"clients", :query=>{}} runtime: 0.1592ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a81340000"} 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('530cacdc7735334a81350000'), "firstname"=>"Alaina", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81350000"} 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('530cacdc7735334a81360000'), "firstname"=>"Libby", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms 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('530cacdc7735334a81370000'), "firstname"=>"Danny", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms 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('530cacdc7735334a81380000'), "firstname"=>"Melany", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cacdc7735334a81380000"} 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('530cacdc7735334a81390000'), "firstname"=>"Antonetta", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cacdc7735334a81390000"} 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('530cacdc7735334a813a0000'), "firstname"=>"Trudie", "lastname"=>"Pagac"}] 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.1569ms 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('530cacdc7735334a813b0000'), "firstname"=>"Leila", "lastname"=>"Koepp"}] 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=>"clients", :query=>{}} runtime: 0.1729ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a813b0000"} 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('530cacdc7735334a813c0000'), "firstname"=>"Rhett", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cacdc7735334a813c0000"} 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('530cacdc7735334a813d0000'), "firstname"=>"Hermina", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms 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('530cacdc7735334a813e0000'), "firstname"=>"Kaylie", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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('530cacdc7735334a813f0000'), "firstname"=>"Lawrence", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cacdc7735334a813f0000"} 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('530cacdc7735334a81400000'), "firstname"=>"Cornelius", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cacdc7735334a81400000"} Completed 500 Internal Server Error in 0ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81410000'), "name"=>"Thora Murray", "reference"=>"Ms. Samara Kilback", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81420000'), "firstname"=>"Tommie", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81420000", "product_id"=>"530cacdc7735334a81410000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81430000'), "name"=>"Dessie Kirlin", "reference"=>"Erwin Windler", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81440000'), "firstname"=>"Ayden", "lastname"=>"Swaniawski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cacdc7735334a81430000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81450000'), "name"=>"Diego Buckridge", "reference"=>"Katelin Zulauf", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81460000'), "firstname"=>"Sibyl", "lastname"=>"Mayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cacdc7735334a81460000", "product_id"=>"530cacdc7735334a81450000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81470000'), "name"=>"Sage Mosciski", "reference"=>"Susanna Towne", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cacdc7735334a81480000'), "firstname"=>"Lillie", "lastname"=>"Rutherford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cacdc7735334a81480000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cacdc7735334a81470000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a81490000'), "name"=>"Adeline Dooley", "reference"=>"Chaz Brown", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1682ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a81490000"} 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('530cacdc7735334a814a0000'), "name"=>"Tiana Smith", "reference"=>"Nigel Collier", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cacdc7735334a814a0000"} 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('530cacdc7735334a814b0000'), "name"=>"Sheridan Frami IV", "reference"=>"Mohammed Leannon", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms 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('530cacdc7735334a814c0000'), "name"=>"Erik Ullrich", "reference"=>"Hiram Abbott", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms Processing by ProductsController#index as JSON Completed 500 Internal Server Error in 0ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cacdc7735334a814d0000'), "name"=>"Avery Corkery", "reference"=>"Helmer Mertz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cacdc7735334a814d0000"} 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('530cacdc7735334a814e0000'), "name"=>"Leonie Fritsch", "reference"=>"Geovanny Franecki", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms 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('530cacdc7735334a814f0000'), "name"=>"Elisabeth Weber", "reference"=>"Dr. Bradley Toy", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cacdc7735334a814f0000"} 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('530cacdc7735334a81500000'), "name"=>"Miss Golda Powlowski", "reference"=>"Ms. Vilma Bernhard", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1634ms 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('530cacdc7735334a81510000'), "name"=>"Alycia Lang", "reference"=>"Grover Huel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cacdc7735334a81510000"} 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('530cacdc7735334a81520000'), "name"=>"Mrs. Miracle Tromp", "reference"=>"Alessandra Stark PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms 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('530cacdc7735334a81530000'), "name"=>"Eudora Emmerich Jr.", "reference"=>"Karlie Mante", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cacdc7735334a81530000"} 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('530cacdc7735334a81540000'), "name"=>"Dagmar Witting DDS", "reference"=>"Mr. Lydia Ferry", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cacdc7735334a81540000"} Completed 500 Internal Server Error in 0ms --------------------------------------- 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('530cacdc7735334a81550000'), "firstname"=>"Christina", "lastname"=>"Ferry"}] 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.1562ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cacdc7735334a81550000"} 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('530cacdc7735334a81560000'), "firstname"=>"Brooke", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cacdc7735334a81560000"} 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('530cacdc7735334a81570000'), "firstname"=>"Maia", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7815ms 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('530cacdc7735334a81580000'), "firstname"=>"Adella", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms 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('530cacdc7735334a81590000'), "firstname"=>"Adaline", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cacdc7735334a81590000"} 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('530cacdc7735334a815a0000'), "firstname"=>"Lonie", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cacdc7735334a815a0000"} Completed 500 Internal Server Error in 0ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms 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.3103ms 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.3064ms 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.2913ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7000000'), "firstname"=>"Garrett", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cace17735334aa7000000"} 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('530cace17735334aa7010000'), "firstname"=>"Fleta", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms 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('530cace17735334aa7020000'), "firstname"=>"Patrick", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cace17735334aa7020000"} 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('530cace17735334aa7030000'), "firstname"=>"Alene", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cace17735334aa7030000", "administrator"=>{"name"=>"Hello"}} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7040000'), "name"=>"Baby Langworth III", "reference"=>"Marisol Gulgowski Jr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7050000'), "author_name"=>"Mrs. Kris Bergstrom", "content"=>["Quo ullam eius qui ab. Rerum quo expedita adipisci illo eveniet. Harum molestias beatae. Rem et eos voluptatem temporibus praesentium nobis omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cace17735334aa7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cace17735334aa7040000", "id"=>"530cace17735334aa7050000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7060000'), "name"=>"Josefina Morar Jr.", "reference"=>"Jerald Goodwin IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7070000'), "author_name"=>"Mrs. Florence Beatty", "content"=>["Maxime repellendus et rem et et non. Hic esse culpa voluptates placeat repudiandae dolorem. Et necessitatibus ut soluta. Quis mollitia distinctio inventore vel natus exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cace17735334aa7060000", "id"=>"530cace17735334aa7070000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7080000'), "name"=>"Miss Cordelia Yost", "reference"=>"Clark Cole DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7090000'), "author_name"=>"Marjory Lowe", "content"=>["Tempore fuga quia sed est. Neque veniam tempora non ea. Quasi facilis rem deleniti id quaerat voluptate. Voluptatem ut sit explicabo veniam iusto sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.6220ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cace17735334aa7080000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa70a0000'), "name"=>"Dr. Carlotta Mayert", "reference"=>"Jalen Marks", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa70b0000'), "author_name"=>"Joanny Schneider", "content"=>["Qui expedita dolore soluta. Laudantium occaecati sint est soluta ad. Ut velit voluptatem qui. Hic quia voluptas mollitia temporibus deleniti autem est. Eius dicta quia consequuntur quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cace17735334aa70a0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa70c0000'), "name"=>"Krista Beer", "reference"=>"Mrs. Tierra Ward", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa70d0000'), "author_name"=>"Rick Willms", "content"=>["Quam et accusamus ipsam fugiat. Sunt unde qui corrupti voluptatibus. Rerum voluptatem tenetur laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cace17735334aa70c0000", "id"=>"530cace17735334aa70d0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa70e0000'), "name"=>"Ricky Howe", "reference"=>"Torrey Cassin", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa70f0000'), "author_name"=>"Richard Gorczany", "content"=>["Reiciendis sit a odit. Asperiores praesentium explicabo maiores mollitia eum alias animi. Quia enim qui earum suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cace17735334aa70f0000", "product_id"=>"530cace17735334aa70e0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7100000'), "name"=>"Mr. Marlee Spinka", "reference"=>"Garland Streich DDS", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7110000'), "firstname"=>"Alfreda", "lastname"=>"Krajcik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cace17735334aa7110000", "product_id"=>"530cace17735334aa7100000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7120000'), "name"=>"Burdette D'Amore", "reference"=>"Raymundo Kuhn V", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7130000'), "firstname"=>"Jordon", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cace17735334aa7120000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7140000'), "name"=>"Miss Burley Halvorson", "reference"=>"Gerson Eichmann Jr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7150000'), "firstname"=>"Sammie", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cace17735334aa7150000", "product_id"=>"530cace17735334aa7140000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7160000'), "name"=>"Macey Will", "reference"=>"Mr. Dino Deckow", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7170000'), "firstname"=>"Melissa", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cace17735334aa7170000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cace17735334aa7160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7180000'), "name"=>"Brock Mills", "reference"=>"Virginie Berge", "quantity"=>"2"}] 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.1791ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cace17735334aa7180000"} 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('530cace17735334aa7190000'), "name"=>"Vivien Gusikowski", "reference"=>"Kyleigh Hudson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cace17735334aa7190000"} 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('530cace17735334aa71a0000'), "name"=>"Reilly Treutel", "reference"=>"Agustina McLaughlin", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9260ms 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('530cace17735334aa71b0000'), "name"=>"Maudie Ankunding", "reference"=>"Nayeli Murazik", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms 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('530cace17735334aa71c0000'), "name"=>"Rosalinda Bernhard", "reference"=>"Myrtis Schmeler III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cace17735334aa71c0000"} 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('530cace17735334aa71d0000'), "name"=>"Sylvester Nolan", "reference"=>"Erling Schoen DDS", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cace17735334aa71d0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- 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('530cace17735334aa71e0000'), "firstname"=>"Haleigh", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2057ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cace17735334aa71e0000"} 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('530cace17735334aa71f0000'), "firstname"=>"Malachi", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cace17735334aa71f0000"} 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('530cace17735334aa7200000'), "firstname"=>"Bernadette", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms 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('530cace17735334aa7210000'), "firstname"=>"Sheridan", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms 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('530cace17735334aa7220000'), "firstname"=>"Octavia", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cace17735334aa7220000"} 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('530cace17735334aa7230000'), "firstname"=>"Elsie", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cace17735334aa7230000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7240000'), "firstname"=>"Gina", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cace17735334aa7240000"} 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('530cace17735334aa7250000'), "firstname"=>"Abbey", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms 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('530cace17735334aa7260000'), "firstname"=>"Lori", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cace17735334aa7260000"} 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('530cace17735334aa7270000'), "firstname"=>"Emily", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cace17735334aa7270000", "administrator"=>{"name"=>"Hello"}} Completed 500 Internal Server Error in 29ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7280000'), "name"=>"Mrs. Crawford Mertz", "reference"=>"Mr. Everett Krajcik", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7290000'), "author_name"=>"Alvena Balistreri", "content"=>["In cumque est. Sed aut saepe earum. Impedit sit nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cace17735334aa7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cace17735334aa7280000", "id"=>"530cace17735334aa7290000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa72a0000'), "name"=>"Violet Maggio", "reference"=>"Neil Rogahn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa72b0000'), "author_name"=>"Michelle Fahey", "content"=>["Itaque molestiae dolorem voluptas velit et modi eos. Placeat doloremque architecto assumenda consequatur sit nihil. Adipisci voluptatem esse quam qui at velit corrupti. Fuga et doloremque nulla est rerum sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4404ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cace17735334aa72a0000", "id"=>"530cace17735334aa72b0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa72c0000'), "name"=>"Arch Kunde", "reference"=>"Jermey Kautzer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa72d0000'), "author_name"=>"Linnea Dooley", "content"=>["Assumenda iure reprehenderit voluptas nulla at molestiae. In libero incidunt perspiciatis dolores. Vel consequuntur voluptas qui repudiandae maxime dolore iste. Et et veniam. Sapiente mollitia dolorem eligendi nam sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cace17735334aa72c0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa72e0000'), "name"=>"Jazlyn Haag I", "reference"=>"Daphney Prosacco", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa72f0000'), "author_name"=>"Stacy Lang DVM", "content"=>["Tempora distinctio impedit rem laborum ea. Fugit perferendis et non est eaque officia autem. Doloribus neque et. Harum minus et quia. Ex eius perspiciatis excepturi veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cace17735334aa72e0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7300000'), "name"=>"Daron Rippin", "reference"=>"Miss Winston Marquardt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7310000'), "author_name"=>"Kim Gleason", "content"=>["Expedita animi doloribus laudantium molestias. Perspiciatis sequi quia sed quam sunt sapiente dolore. Ut sed est illum. Placeat sint eius culpa aperiam quasi omnis nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cace17735334aa7300000", "id"=>"530cace17735334aa7310000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7320000'), "name"=>"Wilton Roob", "reference"=>"Adriana Skiles", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cace17735334aa7330000'), "author_name"=>"Lilliana Beer", "content"=>["Expedita officia at amet placeat. Expedita ea nostrum eaque voluptate. Esse est asperiores omnis. Nihil neque omnis iusto et dolorum delectus laboriosam. Voluptas quas id doloremque et iure laudantium qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cace17735334aa7330000", "product_id"=>"530cace17735334aa7320000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7340000'), "firstname"=>"Mireille", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1636ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cace17735334aa7340000"} 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('530cace17735334aa7350000'), "firstname"=>"Shanon", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cace17735334aa7350000"} 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('530cace17735334aa7360000'), "firstname"=>"Domenico", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms 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('530cace17735334aa7370000'), "firstname"=>"Hope", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms 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('530cace17735334aa7380000'), "firstname"=>"Sibyl", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cace17735334aa7380000"} 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('530cace17735334aa7390000'), "firstname"=>"Clementina", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cace17735334aa7390000"} 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('530cace17735334aa73a0000'), "firstname"=>"Bertram", "lastname"=>"Bahringer"}] 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.1564ms 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('530cace17735334aa73b0000'), "firstname"=>"Vicky", "lastname"=>"Hackett"}] 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.1516ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cace17735334aa73b0000"} 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('530cace17735334aa73c0000'), "firstname"=>"Mandy", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cace17735334aa73c0000"} 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('530cace17735334aa73d0000'), "firstname"=>"Edwardo", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms 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('530cace17735334aa73e0000'), "firstname"=>"Joyce", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms 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('530cace17735334aa73f0000'), "firstname"=>"Lorenzo", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cace17735334aa73f0000"} 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('530cace17735334aa7400000'), "firstname"=>"Giovanna", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cace17735334aa7400000"} Completed 500 Internal Server Error in 0ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7410000'), "name"=>"Marielle Thiel", "reference"=>"Lyla Hand", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7420000'), "firstname"=>"Jordyn", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cace17735334aa7420000", "product_id"=>"530cace17735334aa7410000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7430000'), "name"=>"Jacey Streich", "reference"=>"Sydnie Parker", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7440000'), "firstname"=>"Jessy", "lastname"=>"Koelpin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cace17735334aa7430000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7450000'), "name"=>"Richard McClure IV", "reference"=>"Grady Hills", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7460000'), "firstname"=>"Vanessa", "lastname"=>"Gleason"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cace17735334aa7460000", "product_id"=>"530cace17735334aa7450000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7470000'), "name"=>"Lisette Eichmann III", "reference"=>"Yadira Fadel", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cace17735334aa7480000'), "firstname"=>"Kristian", "lastname"=>"Moore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cace17735334aa7480000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cace17735334aa7470000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa7490000'), "name"=>"Mr. Blanca Price", "reference"=>"Delmer Schaden IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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"=>"530cace17735334aa7490000"} 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('530cace17735334aa74a0000'), "name"=>"Cooper Weber DVM", "reference"=>"Garnett Raynor", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cace17735334aa74a0000"} 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('530cace17735334aa74b0000'), "name"=>"Wilford Shanahan", "reference"=>"Theresia Mitchell", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms 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('530cace17735334aa74c0000'), "name"=>"Savannah Welch", "reference"=>"Alexys Feeney", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms Processing by ProductsController#index as JSON Completed 500 Internal Server Error in 0ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cace17735334aa74d0000'), "name"=>"Simeon Schumm", "reference"=>"Magali Graham", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cace17735334aa74d0000"} 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('530cace17735334aa74e0000'), "name"=>"Isadore Hammes", "reference"=>"Albin Cormier III", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms 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('530cace17735334aa74f0000'), "name"=>"Brielle Schumm", "reference"=>"Greta Blanda", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cace17735334aa74f0000"} 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('530cace17735334aa7500000'), "name"=>"Josefa Conroy", "reference"=>"Miss Dillon Terry", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1574ms 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('530cace17735334aa7510000'), "name"=>"Nakia Hand", "reference"=>"Itzel Kerluke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cace17735334aa7510000"} 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('530cace17735334aa7520000'), "name"=>"Margarett Lynch", "reference"=>"Mariela Feest", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms 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('530cace17735334aa7530000'), "name"=>"Mrs. Ida Bins", "reference"=>"Antoinette Bogan MD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cace17735334aa7530000"} 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('530cace17735334aa7540000'), "name"=>"Faye Mertz", "reference"=>"Zechariah Conn", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cace17735334aa7540000"} Completed 500 Internal Server Error in 0ms --------------------------------------- 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('530cace17735334aa7550000'), "firstname"=>"Darlene", "lastname"=>"Bergstrom"}] 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.1635ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cace17735334aa7550000"} 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('530cace17735334aa7560000'), "firstname"=>"Jacinthe", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cace17735334aa7560000"} 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('530cace17735334aa7570000'), "firstname"=>"Aaron", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms 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('530cace17735334aa7580000'), "firstname"=>"Lucile", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8859ms 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('530cace17735334aa7590000'), "firstname"=>"Adolph", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cace17735334aa7590000"} 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('530cace17735334aa75a0000'), "firstname"=>"Ariane", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cace17735334aa75a0000"} Completed 500 Internal Server Error in 0ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3517ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms 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.3127ms 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.3145ms 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.2892ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad227735334ae3000000'), "firstname"=>"Edwin", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4839ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cad227735334ae3000000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 500 Internal Server Error in 10ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad227735334ae3010000'), "firstname"=>"Daphnee", "lastname"=>"Daugherty"}] 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 (4.4ms) Completed 200 OK in 70ms (Views: 69.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3020000'), "firstname"=>"Kayla", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cad237735334ae3020000"} Completed 200 OK in 4ms (Views: 3.9ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3030000'), "firstname"=>"Allison", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cad237735334ae3030000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3040000'), "name"=>"Magnus Lang", "reference"=>"Theo Jacobs", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3050000'), "author_name"=>"Geo Wilderman", "content"=>["Ab non sit. Aut blanditiis officiis aperiam sint. Voluptas enim maiores corrupti omnis vel explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad237735334ae3040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad237735334ae3040000", "id"=>"530cad237735334ae3050000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3060000'), "name"=>"Parker Towne I", "reference"=>"Ryan Wiza", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3070000'), "author_name"=>"Waldo Lesch", "content"=>["Dolores dolorum qui est. Dolores eius aspernatur. Ut assumenda eius magnam et nisi saepe sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 297.6833ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cad237735334ae3060000", "id"=>"530cad237735334ae3070000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3080000'), "name"=>"Chaz Douglas", "reference"=>"Jarrett Yundt II", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3090000'), "author_name"=>"Catharine Kessler", "content"=>["Culpa porro non voluptatem. Debitis accusantium quo totam tempora iste sapiente. Tempore ut sint aspernatur in voluptas sunt. Cum deleniti non veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cad237735334ae3080000"} Completed 500 Internal Server Error in 9ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae30a0000'), "name"=>"Christiana Koelpin", "reference"=>"Imani Weissnat", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae30b0000'), "author_name"=>"Easton Jaskolski", "content"=>["Ullam ratione perspiciatis qui. Facere ut iste modi. Quo officiis rerum porro est est. Perspiciatis repellat aliquam. Voluptatem adipisci alias sequi quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cad237735334ae30a0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms) Completed 500 Internal Server Error in 35ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae30d0000'), "name"=>"Kamille Schultz V", "reference"=>"Lucas Botsford", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae30e0000'), "author_name"=>"Matt Shields", "content"=>["Id ut consectetur dolorum porro facilis eum voluptatem. Aut repellendus voluptatem est. Dolor sed consectetur quo adipisci. Amet occaecati reiciendis doloribus necessitatibus non aut. Dolorum sint magni dicta eveniet deleniti aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cad237735334ae30d0000", "id"=>"530cad237735334ae30e0000"} Completed 500 Internal Server Error in 9ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae30f0000'), "name"=>"Zita Gibson", "reference"=>"Halie Wisoky", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3100000'), "author_name"=>"Jasen Lakin", "content"=>["Voluptas amet doloremque vero laborum blanditiis. Nihil placeat et et vel. Saepe modi omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad237735334ae3100000", "product_id"=>"530cad237735334ae30f0000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3110000'), "name"=>"Ezequiel Nitzsche", "reference"=>"Melvin Leuschke", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad237735334ae3120000'), "firstname"=>"Ryder", "lastname"=>"Weimann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cad237735334ae3120000", "product_id"=>"530cad237735334ae3110000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3130000'), "name"=>"Emmanuelle Balistreri", "reference"=>"Name Daugherty", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cad237735334ae3140000'), "firstname"=>"Oswaldo", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cad237735334ae3130000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.2ms) Completed 500 Internal Server Error in 11ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3160000'), "name"=>"Rosalyn Johns Jr.", "reference"=>"Jayda Pacocha", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cad237735334ae3170000'), "firstname"=>"Selina", "lastname"=>"Schumm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5505ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cad237735334ae3170000", "product_id"=>"530cad237735334ae3160000"} Completed 500 Internal Server Error in 37ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3180000'), "name"=>"Patience Bailey PhD", "reference"=>"Freddie Gutkowski", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad237735334ae3190000'), "firstname"=>"Alexane", "lastname"=>"Reichel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cad237735334ae3190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad237735334ae3180000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae31a0000'), "name"=>"Elaina Mertz", "reference"=>"Tristian Schroeder", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1824ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cad237735334ae31a0000"} 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('530cad237735334ae31b0000'), "name"=>"Della Larson V", "reference"=>"Natasha Stehr", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cad237735334ae31b0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae31c0000'), "name"=>"Dulce Feest", "reference"=>"Jeremy Klein", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9097ms 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.4855ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae31d0000'), "name"=>"Jakayla Monahan", "reference"=>"Norberto Welch", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms 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.0ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3200000'), "name"=>"Golden Homenick DDS", "reference"=>"Joe Shields", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cad237735334ae3200000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3210000'), "name"=>"Mrs. Wilson Gislason", "reference"=>"Jerad Wintheiser", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad237735334ae3210000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------- 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('530cad237735334ae3220000'), "firstname"=>"Darrell", "lastname"=>"Murazik"}] 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=>"admin_users", :query=>{}} runtime: 0.1918ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cad237735334ae3220000"} 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('530cad237735334ae3230000'), "firstname"=>"Elenor", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cad237735334ae3230000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3240000'), "firstname"=>"Alvera", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms 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('530cad237735334ae3250000'), "firstname"=>"Joesph", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms 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('530cad237735334ae3260000'), "firstname"=>"Stefanie", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4975ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cad237735334ae3260000"} Completed 500 Internal Server Error in 2ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3270000'), "firstname"=>"Evie", "lastname"=>"Grimes"}] 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"=>"530cad237735334ae3270000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3280000'), "firstname"=>"Greyson", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cad237735334ae3280000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3290000'), "firstname"=>"Adan", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae32a0000'), "firstname"=>"Ora", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cad237735334ae32a0000"} Completed 200 OK in 3ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad237735334ae32b0000'), "firstname"=>"Hayley", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cad237735334ae32b0000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae32c0000'), "name"=>"Wilber Wolff", "reference"=>"Miss Kailee Moore", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae32d0000'), "author_name"=>"Norval Metz", "content"=>["Nostrum a error ut in autem velit doloribus. Sit consequatur eveniet sit ducimus odit. Quaerat enim a. Autem ut nesciunt. Et quibusdam blanditiis repellat voluptas quia a ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad237735334ae32c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad237735334ae32c0000", "id"=>"530cad237735334ae32d0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae32e0000'), "name"=>"Clay Metz", "reference"=>"Marlen Adams", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae32f0000'), "author_name"=>"Kaylin Kunze", "content"=>["Ut voluptatem veniam quis occaecati ut. Ullam cum facilis qui. Id culpa voluptas. Pariatur ipsa tempore occaecati dolores autem sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cad237735334ae32e0000", "id"=>"530cad237735334ae32f0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3300000'), "name"=>"Gayle Larson", "reference"=>"Abdullah Greenholt", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3310000'), "author_name"=>"Dr. Lauryn Trantow", "content"=>["Quidem aspernatur vel. Error dolor cupiditate natus tenetur qui. Minima amet sit hic. Fugit velit eligendi. Et ut quasi rerum rem laborum minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cad237735334ae3300000"} Completed 500 Internal Server Error in 69ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3320000'), "name"=>"Ciara Aufderhar", "reference"=>"Hellen Gaylord", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3330000'), "author_name"=>"Caden Schuster II", "content"=>["Quod libero soluta. Sapiente nesciunt ut autem dicta. Quisquam ut laboriosam facere officiis temporibus voluptatem. Est rerum velit eaque voluptatum error quod. Ipsa eum alias voluptatem amet debitis beatae aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cad237735334ae3320000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.6ms) Completed 500 Internal Server Error in 10ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3350000'), "name"=>"Cynthia Dach", "reference"=>"Bernhard Fahey", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3360000'), "author_name"=>"Kristy Williamson", "content"=>["Repudiandae cum aut aut. Consequatur totam deleniti dolorem. Qui rerum consequuntur quam minus hic non. Fugit rem porro aut blanditiis dolor quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cad237735334ae3350000", "id"=>"530cad237735334ae3360000"} Completed 500 Internal Server Error in 40ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad237735334ae3370000'), "name"=>"Meagan Fahey DVM", "reference"=>"Wilfred Corkery", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad237735334ae3380000'), "author_name"=>"Rahul Hammes", "content"=>["Ea aperiam accusamus laudantium minima sed. Accusamus neque rerum aut officiis qui id architecto. Odit omnis delectus. Et suscipit quia. Est iste sed deserunt dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad237735334ae3380000", "product_id"=>"530cad237735334ae3370000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3390000'), "firstname"=>"Maudie", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1652ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad247735334ae3390000"} 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('530cad247735334ae33a0000'), "firstname"=>"Coy", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad247735334ae33a0000"} Completed 500 Internal Server Error in 3ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad247735334ae33b0000'), "firstname"=>"Roosevelt", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms 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('530cad247735334ae33c0000'), "firstname"=>"Muhammad", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms 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('530cad247735334ae33d0000'), "firstname"=>"Queen", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad247735334ae33d0000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad247735334ae33e0000'), "firstname"=>"Antonette", "lastname"=>"Rippin"}] 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"=>"530cad247735334ae33e0000"} 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('530cad247735334ae33f0000'), "firstname"=>"Jared", "lastname"=>"McLaughlin"}] 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=>"clients", :query=>{}} runtime: 0.1577ms 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('530cad247735334ae3400000'), "firstname"=>"Beatrice", "lastname"=>"Gottlieb"}] 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=>"clients", :query=>{}} runtime: 0.1555ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad247735334ae3400000"} 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('530cad247735334ae3410000'), "firstname"=>"Velva", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad247735334ae3410000"} Completed 500 Internal Server Error in 2ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3420000'), "firstname"=>"Dane", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms 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('530cad247735334ae3430000'), "firstname"=>"Stefanie", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms 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('530cad247735334ae3440000'), "firstname"=>"Rafaela", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad247735334ae3440000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3450000'), "firstname"=>"Hailey", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad247735334ae3450000"} Completed 500 Internal Server Error in 1ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3460000'), "name"=>"Billie Baumbach", "reference"=>"Mrs. Bessie Armstrong", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cad247735334ae3470000'), "firstname"=>"Mariam", "lastname"=>"Frami"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cad247735334ae3470000", "product_id"=>"530cad247735334ae3460000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3480000'), "name"=>"Deon Ratke", "reference"=>"Barton Kreiger DVM", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad247735334ae3490000'), "firstname"=>"Orlo", "lastname"=>"Ullrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8053ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cad247735334ae3480000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.4ms) Completed 500 Internal Server Error in 41ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae34b0000'), "name"=>"Alexys Robel", "reference"=>"Quinten Rau", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad247735334ae34c0000'), "firstname"=>"Emmet", "lastname"=>"Goodwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cad247735334ae34c0000", "product_id"=>"530cad247735334ae34b0000"} Completed 500 Internal Server Error in 41ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae34d0000'), "name"=>"Ms. Jesse Renner", "reference"=>"Ashleigh Murray", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cad247735334ae34e0000'), "firstname"=>"Heloise", "lastname"=>"Turner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cad247735334ae34e0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad247735334ae34d0000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae34f0000'), "name"=>"Dane Herzog", "reference"=>"Kale Upton", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4085ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1657ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cad247735334ae34f0000"} 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('530cad247735334ae3500000'), "name"=>"Clifton Legros III", "reference"=>"Gregoria Walsh PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cad247735334ae3500000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.5ms) Completed 500 Internal Server Error in 33ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3510000'), "name"=>"Toney Murray", "reference"=>"Ladarius Jones", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms 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.6764ms Completed 200 OK in 19ms (Views: 18.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3520000'), "name"=>"Johnathon Walker", "reference"=>"Mr. Leilani Streich", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms Processing by ProductsController#index as JSON Completed 406 Not Acceptable in 1ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3530000'), "name"=>"Ewell Hackett", "reference"=>"Frederick Kshlerin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cad247735334ae3530000"} Completed 406 Not Acceptable in 1ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3540000'), "name"=>"Lamar Shields", "reference"=>"Ms. Tristian Muller", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5106ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3570000'), "name"=>"Brisa Bayer", "reference"=>"Madaline Bednar V", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cad247735334ae3570000"} Completed 500 Internal Server Error in 3ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3580000'), "name"=>"Obie Kozey", "reference"=>"Julianne Braun", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms 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('530cad247735334ae3590000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms Completed 406 Not Acceptable in 2ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae35a0000'), "name"=>"Rosanna Roob", "reference"=>"Mrs. Winona Nienow", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cad247735334ae35a0000"} 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('530cad247735334ae35b0000'), "name"=>"Sabrina Denesik", "reference"=>"Wallace Grant", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8887ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 406 Not Acceptable in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad247735334ae35c0000'), "name"=>"Dr. Jaden Keeling", "reference"=>"Clare Romaguera", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad247735334ae35c0000"} 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('530cad247735334ae35d0000'), "name"=>"Major Roob", "reference"=>"Mac Williamson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad247735334ae35d0000"} Completed 500 Internal Server Error in 1ms --------------------------------------- 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('530cad247735334ae35e0000'), "firstname"=>"Lesley", "lastname"=>"Hane"}] 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.1784ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cad247735334ae35e0000"} 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('530cad247735334ae35f0000'), "firstname"=>"Dell", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cad247735334ae35f0000"} Completed 500 Internal Server Error in 3ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3600000'), "firstname"=>"Sister", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms 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('530cad247735334ae3610000'), "firstname"=>"Scottie", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms 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('530cad247735334ae3620000'), "firstname"=>"Hester", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cad247735334ae3620000"} Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad247735334ae3630000'), "firstname"=>"Catherine", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad247735334ae3630000"} Completed 500 Internal Server Error in 1ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms 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.3175ms 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.3131ms 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.2982ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad607735334b2c000000'), "firstname"=>"Lisa", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5005ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cad607735334b2c000000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 500 Internal Server Error in 10ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad607735334b2c010000'), "firstname"=>"Royce", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 13.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad607735334b2c020000'), "firstname"=>"Rosella", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cad607735334b2c020000"} Completed 200 OK in 3ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad607735334b2c030000'), "firstname"=>"Jadon", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cad607735334b2c030000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c040000'), "name"=>"Robert Greenholt II", "reference"=>"Keagan Maggio", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c050000'), "author_name"=>"Dr. Aditya Mayer", "content"=>["Aut nobis recusandae et velit. Dolorem quae minus molestias magnam ut iste. Ipsum quia aliquid nulla temporibus eveniet. Nihil qui ut veniam perferendis. Cumque saepe rerum iusto accusantium qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad617735334b2c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad617735334b2c040000", "id"=>"530cad617735334b2c050000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c060000'), "name"=>"Hunter Dare", "reference"=>"Miss D'angelo Ernser", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c070000'), "author_name"=>"Reta Schamberger", "content"=>["Vel aliquid aut autem adipisci. Quia ut odio maiores quis voluptatem. Reiciendis qui qui quis ipsa blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cad617735334b2c060000", "id"=>"530cad617735334b2c070000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c080000'), "name"=>"Mr. Angeline Luettgen", "reference"=>"Camilla Schaefer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c090000'), "author_name"=>"Cassidy Prohaska", "content"=>["Ipsam quibusdam porro deleniti nostrum sed. Eius rerum asperiores aut. Ut quis quidem ex quia neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cad617735334b2c080000"} Completed 500 Internal Server Error in 8ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c0a0000'), "name"=>"Dr. Garry Kuhlman", "reference"=>"Rosina Abshire", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c0b0000'), "author_name"=>"Seamus Langworth", "content"=>["Aliquid aut ullam omnis suscipit sapiente sed. Totam quisquam quia. Qui alias repellendus quidem ut corporis et ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cad617735334b2c0a0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.1ms) Completed 500 Internal Server Error in 34ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c0d0000'), "name"=>"Emmitt Considine", "reference"=>"Cleora Oberbrunner", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c0e0000'), "author_name"=>"Brad Wolf II", "content"=>["Blanditiis quia similique eum. Cum itaque eos incidunt voluptatem inventore aut. Et quia laboriosam reiciendis aperiam. Pariatur quos laboriosam magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cad617735334b2c0d0000", "id"=>"530cad617735334b2c0e0000"} Completed 500 Internal Server Error in 9ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c0f0000'), "name"=>"Aurore Bernier", "reference"=>"Jewell Murazik", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c100000'), "author_name"=>"Ms. Bell Streich", "content"=>["Aut ad quis. Molestias consequuntur non tenetur. Esse quo quisquam. Delectus ducimus dolores. Nam aliquam quaerat voluptates vero dolore repudiandae sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad617735334b2c100000", "product_id"=>"530cad617735334b2c0f0000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c110000'), "name"=>"Frankie Brekke I", "reference"=>"Lynn Boyle", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c120000'), "firstname"=>"Kayley", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cad617735334b2c120000", "product_id"=>"530cad617735334b2c110000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c130000'), "name"=>"Lonie Ebert", "reference"=>"Sherwood Marquardt", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c140000'), "firstname"=>"Devon", "lastname"=>"Wiegand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cad617735334b2c130000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 500 Internal Server Error in 7ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c160000'), "name"=>"Chasity Rohan", "reference"=>"Marcelo Reilly", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c170000'), "firstname"=>"Elijah", "lastname"=>"Hickle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cad617735334b2c170000", "product_id"=>"530cad617735334b2c160000"} Completed 500 Internal Server Error in 37ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c180000'), "name"=>"Marcus Goyette", "reference"=>"Ms. Rosella Goodwin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c190000'), "firstname"=>"Alyson", "lastname"=>"Schumm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cad617735334b2c190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad617735334b2c180000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c1a0000'), "name"=>"Zion Jakubowski", "reference"=>"Rupert Abernathy", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms 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"=>"530cad617735334b2c1a0000"} 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('530cad617735334b2c1b0000'), "name"=>"Dorian Lockman", "reference"=>"Wilfredo Oberbrunner", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cad617735334b2c1b0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c1c0000'), "name"=>"Vickie Fadel", "reference"=>"Ms. Amy Jakubowski", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms 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.4877ms Completed 200 OK in 10ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c1d0000'), "name"=>"Lacy Hand", "reference"=>"Ms. Jovany Fritsch", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms 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.0ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c200000'), "name"=>"Cade McKenzie Sr.", "reference"=>"Ron Klocko MD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cad617735334b2c200000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c210000'), "name"=>"Ms. Freeman Pagac", "reference"=>"Marjory Nicolas", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad617735334b2c210000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------- 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('530cad617735334b2c220000'), "firstname"=>"Neva", "lastname"=>"Zulauf"}] 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=>"admin_users", :query=>{}} runtime: 0.1885ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cad617735334b2c220000"} 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('530cad617735334b2c230000'), "firstname"=>"Lea", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cad617735334b2c230000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c240000'), "firstname"=>"Jovanny", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms 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('530cad617735334b2c250000'), "firstname"=>"Gerard", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms 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('530cad617735334b2c260000'), "firstname"=>"Gennaro", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cad617735334b2c260000"} Completed 500 Internal Server Error in 3ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c270000'), "firstname"=>"Carlotta", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad617735334b2c270000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c280000'), "firstname"=>"Estrella", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cad617735334b2c280000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c290000'), "firstname"=>"Grayce", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c2a0000'), "firstname"=>"Cortez", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cad617735334b2c2a0000"} Completed 200 OK in 3ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c2b0000'), "firstname"=>"Jody", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cad617735334b2c2b0000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c2c0000'), "name"=>"Maeve Bartoletti", "reference"=>"Wilma Wunsch V", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c2d0000'), "author_name"=>"Margie Funk", "content"=>["Aut similique quia earum. Aliquid quia quas. Nihil commodi distinctio molestiae in non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad617735334b2c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad617735334b2c2c0000", "id"=>"530cad617735334b2c2d0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c2e0000'), "name"=>"Sunny Schamberger", "reference"=>"Darrin Bartoletti", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c2f0000'), "author_name"=>"Rafaela Hand", "content"=>["Deleniti accusamus aut consequatur. Ipsum velit aut harum facilis nemo nulla doloribus. Enim non minus impedit et fugiat exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cad617735334b2c2e0000", "id"=>"530cad617735334b2c2f0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c300000'), "name"=>"Lincoln Toy", "reference"=>"Monty Ullrich V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c310000'), "author_name"=>"Consuelo Bode", "content"=>["Soluta adipisci nihil atque. Quisquam id porro nulla dicta voluptatem ea. Molestiae rerum et et ipsam sed in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5058ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cad617735334b2c300000"} Completed 500 Internal Server Error in 70ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c320000'), "name"=>"Alisa Lesch", "reference"=>"Mr. Cathy Cummings", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c330000'), "author_name"=>"Max Crist", "content"=>["Eos fuga ab numquam voluptatum earum voluptatem tenetur. Dolorem ea quis magni. Voluptate odit neque. In ut sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cad617735334b2c320000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.6ms) Completed 500 Internal Server Error in 10ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c350000'), "name"=>"Hermina Keeling DDS", "reference"=>"Alanis Lehner PhD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c360000'), "author_name"=>"Brock Hoeger", "content"=>["A qui expedita amet. Nisi animi ea alias voluptates. Labore rerum quis saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cad617735334b2c350000", "id"=>"530cad617735334b2c360000"} Completed 500 Internal Server Error in 40ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c370000'), "name"=>"Terrence Tromp", "reference"=>"Lavinia Grady", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad617735334b2c380000'), "author_name"=>"Ladarius Torp", "content"=>["Vero aliquam minima eos provident sit. Maxime in eos repellendus vel quae cumque possimus. Aut nihil consequatur sequi omnis natus id. Esse molestias cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad617735334b2c380000", "product_id"=>"530cad617735334b2c370000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c390000'), "firstname"=>"Cydney", "lastname"=>"Hegmann"}] 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=>"clients", :query=>{}} runtime: 0.2262ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad617735334b2c390000"} 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('530cad617735334b2c3a0000'), "firstname"=>"Nettie", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad617735334b2c3a0000"} Completed 500 Internal Server Error in 3ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c3b0000'), "firstname"=>"Royal", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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('530cad617735334b2c3c0000'), "firstname"=>"Kayla", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms 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('530cad617735334b2c3d0000'), "firstname"=>"Stone", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad617735334b2c3d0000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c3e0000'), "firstname"=>"Joyce", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad617735334b2c3e0000"} 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('530cad617735334b2c3f0000'), "firstname"=>"Augusta", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0495ms 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"}} 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('530cad617735334b2c400000'), "firstname"=>"Chaya", "lastname"=>"Kiehn"}] 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=>"clients", :query=>{}} runtime: 0.1684ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad617735334b2c400000"} 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('530cad617735334b2c410000'), "firstname"=>"Myrtice", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad617735334b2c410000"} Completed 500 Internal Server Error in 2ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c420000'), "firstname"=>"Elmore", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms 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('530cad617735334b2c430000'), "firstname"=>"Rosalinda", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms 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('530cad617735334b2c440000'), "firstname"=>"Rory", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad617735334b2c440000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c450000'), "firstname"=>"Dayne", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad617735334b2c450000"} Completed 500 Internal Server Error in 1ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c460000'), "name"=>"Madisyn Berge", "reference"=>"Miss Dalton Collins", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c470000'), "firstname"=>"Eunice", "lastname"=>"Bailey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cad617735334b2c470000", "product_id"=>"530cad617735334b2c460000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c480000'), "name"=>"Lemuel Skiles PhD", "reference"=>"Sofia Roberts", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c490000'), "firstname"=>"Marcos", "lastname"=>"Keebler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cad617735334b2c480000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.8ms) Completed 500 Internal Server Error in 41ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c4b0000'), "name"=>"Herminia Wyman", "reference"=>"Nico Tremblay PhD", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c4c0000'), "firstname"=>"Briana", "lastname"=>"Pagac"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cad617735334b2c4c0000", "product_id"=>"530cad617735334b2c4b0000"} Completed 500 Internal Server Error in 41ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c4d0000'), "name"=>"Ms. Verona Smitham", "reference"=>"Idell Ritchie", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad617735334b2c4e0000'), "firstname"=>"Dameon", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cad617735334b2c4e0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad617735334b2c4d0000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c4f0000'), "name"=>"Ms. Ayana Ullrich", "reference"=>"Guillermo Schuppe V", "quantity"=>"8"}] 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.1622ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cad617735334b2c4f0000"} 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('530cad617735334b2c500000'), "name"=>"Hilma Rutherford", "reference"=>"Mrs. Luciano Watsica", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cad617735334b2c500000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c510000'), "name"=>"Preston Kshlerin Sr.", "reference"=>"Marquis Stark III", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms 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.6711ms Completed 200 OK in 19ms (Views: 18.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c520000'), "name"=>"Ms. Kellie Mayert", "reference"=>"Benny Hane IV", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3503ms Processing by ProductsController#index as JSON Completed 406 Not Acceptable in 1ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c530000'), "name"=>"Devin Emmerich", "reference"=>"Dariana Bahringer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cad617735334b2c530000"} Completed 406 Not Acceptable in 0ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c540000'), "name"=>"Electa Abshire", "reference"=>"Jayda Mueller", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c570000'), "name"=>"Magnus Gibson", "reference"=>"Domenica Rohan", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cad617735334b2c570000"} Completed 500 Internal Server Error in 3ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c580000'), "name"=>"Rollin Mayer", "reference"=>"Joesph Casper", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1573ms 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('530cad617735334b2c590000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Completed 406 Not Acceptable in 2ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c5a0000'), "name"=>"Jessika Zulauf", "reference"=>"Delphia Kunde", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cad617735334b2c5a0000"} 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('530cad617735334b2c5b0000'), "name"=>"Elaina Heller", "reference"=>"Colleen Abshire", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 406 Not Acceptable in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c5c0000'), "name"=>"Evan Toy DDS", "reference"=>"Gaetano Gislason I", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad617735334b2c5c0000"} 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('530cad617735334b2c5d0000'), "name"=>"Noble Abshire", "reference"=>"Dr. Zula West", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad617735334b2c5d0000"} Completed 500 Internal Server Error in 1ms --------------------------------------- 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('530cad617735334b2c5e0000'), "firstname"=>"Emmy", "lastname"=>"Purdy"}] 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=>"admin_users", :query=>{}} runtime: 0.1565ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cad617735334b2c5e0000"} 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('530cad617735334b2c5f0000'), "firstname"=>"Bailee", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cad617735334b2c5f0000"} Completed 500 Internal Server Error in 34ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c600000'), "firstname"=>"Mervin", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms 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('530cad617735334b2c610000'), "firstname"=>"Tracey", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms 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('530cad617735334b2c620000'), "firstname"=>"Daisha", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6019ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cad617735334b2c620000"} Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad617735334b2c630000'), "firstname"=>"Jazmyn", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad617735334b2c630000"} Completed 500 Internal Server Error in 1ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7344ms MOPED: 127.0.0.1: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.4551ms 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.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.2914ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54000000'), "firstname"=>"Deangelo", "lastname"=>"Klocko"}] 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=>"administrators", :query=>{}} runtime: 0.2228ms 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('530cad6f7735334b54010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms 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.2565ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54020000'), "firstname"=>"Eduardo", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cad6f7735334b54020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad6f7735334b54020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 21ms (Views: 20.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54030000'), "firstname"=>"Ivory", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54040000'), "firstname"=>"Vincenza", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cad6f7735334b54040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad6f7735334b54040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54050000'), "firstname"=>"Alberto", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cad6f7735334b54050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad6f7735334b54050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms 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('530cad6f7735334b54060000'), "name"=>"Richie Cole", "reference"=>"Pascale Fay MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad6f7735334b54070000'), "author_name"=>"Chasity Dach Jr.", "content"=>["Aut voluptatem iste et quaerat et natus placeat. Voluptas possimus ullam iste et earum cum repellat. Non enim quo quia. Animi consectetur ex sit. Recusandae eligendi voluptatem blanditiis rem incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cad6f7735334b54060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54060000')} 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('530cad6f7735334b54060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad6f7735334b54080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Redirected to http://test.host/admin/products/530cad6f7735334b54060000/comments/530cad6f7735334b54080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b54090000'), "name"=>"Clark Marks", "reference"=>"Hilario Brown", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad6f7735334b540a0000'), "author_name"=>"Soledad Spencer", "content"=>["Rerum ad corrupti sapiente est. Ex sunt aliquid delectus ea saepe laudantium. Aspernatur neque ut voluptatem. Magnam sit qui at quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad6f7735334b54090000", "id"=>"530cad6f7735334b540a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54090000')} 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('530cad6f7735334b54090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad6f7735334b540a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Redirected to http://test.host/admin/products/530cad6f7735334b54090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b54090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b540b0000'), "name"=>"Jacey Senger Sr.", "reference"=>"Ms. Miguel Mraz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad6f7735334b540c0000'), "author_name"=>"Hillard Haley", "content"=>["Iure maxime praesentium ut. Iste quod iure a ut. Ipsum ut est qui a exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cad6f7735334b540b0000", "id"=>"530cad6f7735334b540c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b540b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b540d0000'), "name"=>"Ora Kris", "reference"=>"Clement Franecki Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cad6f7735334b540e0000'), "author_name"=>"Asa Herzog DDS", "content"=>["Aut sed quis sequi rerum. Aliquid exercitationem temporibus voluptatem esse. Non similique quia quae et earum at quo. Voluptas sit esse eos et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cad6f7735334b540d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b540d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad6f7735334b540f0000'), "name"=>"Rashawn Rempel", "reference"=>"Marty Kutch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad6f7735334b54100000'), "author_name"=>"Mrs. Rodolfo White", "content"=>["Voluptatem velit in qui magnam. Dolorem occaecati pariatur expedita veritatis alias tempora. Ea accusantium odio sint maiores nobis. Et voluptates deserunt et repellendus tenetur unde exercitationem. Odit sunt reprehenderit et ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cad6f7735334b540f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad6f7735334b540f0000')} 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: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54110000'), "name"=>"Colin Predovic", "reference"=>"Brittany Toy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54120000'), "author_name"=>"Abel Daugherty IV", "content"=>["Perferendis itaque repellat sit. Enim odio dolorem possimus aut unde. Culpa delectus dolor ipsam deserunt voluptates omnis. Voluptatem vel est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cad707735334b54110000", "id"=>"530cad707735334b54120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54130000'), "name"=>"Elyssa Kuhic", "reference"=>"Colt Paucek", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54140000'), "author_name"=>"Mr. Skyla O'Conner", "content"=>["Eveniet non asperiores omnis reiciendis ipsum dolorem explicabo. Qui sunt odio. Et natus nemo omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad707735334b54140000", "product_id"=>"530cad707735334b54130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54130000'), "comments._id"=>BSON::ObjectId('530cad707735334b54140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Redirected to http://test.host/admin/products/530cad707735334b54130000/comments/530cad707735334b54140000 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('530cad707735334b54150000'), "name"=>"Willie Terry", "reference"=>"Ola Borer", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54160000'), "firstname"=>"Naomie", "lastname"=>"Smitham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cad707735334b54150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54150000')} 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('530cad707735334b54150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms Redirected to http://test.host/admin/products/530cad707735334b54150000/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('530cad707735334b54180000'), "name"=>"Letitia Hessel III", "reference"=>"Connor Ferry", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54190000'), "firstname"=>"Loyce", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cad707735334b54190000", "product_id"=>"530cad707735334b54180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b541a0000'), "name"=>"Jerome Balistreri", "reference"=>"Kathryne Howe", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b541b0000'), "firstname"=>"Berenice", "lastname"=>"Wiza"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cad707735334b541a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b541a0000')} 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 5ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b541c0000'), "name"=>"Laron Reynolds", "reference"=>"Sarai Kulas", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b541d0000'), "firstname"=>"Grayson", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cad707735334b541d0000", "product_id"=>"530cad707735334b541c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b541c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b541e0000'), "name"=>"Mr. Lourdes Bednar", "reference"=>"Leilani Steuber", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b541f0000'), "firstname"=>"Loy", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cad707735334b541f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad707735334b541e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b541e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cad707735334b541e0000/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('530cad707735334b54200000'), "name"=>"Edward Dietrich", "reference"=>"Russell Mraz", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1690ms 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('530cad707735334b54210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Redirected to http://test.host/admin/products/530cad707735334b54210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1859ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54220000'), "name"=>"Winfield Bechtelar", "reference"=>"Lia Schimmel IV", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9796ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1604ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cad707735334b54220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54220000')} 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('530cad707735334b54220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms 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.1982ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54230000'), "name"=>"Angelo Welch", "reference"=>"Germaine Jacobson", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cad707735334b54230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54230000')} 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 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54240000'), "name"=>"Rickie Jacobs", "reference"=>"Dr. Einar Tillman", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms 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.5038ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54250000'), "name"=>"Miss Jed Vandervort", "reference"=>"Valentin Hintz MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54280000'), "name"=>"Elissa Pfeffer", "reference"=>"Hiram Watsica Sr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cad707735334b54280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms 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('530cad707735334b54290000'), "name"=>"Maudie Kutch", "reference"=>"Alysa Jakubowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad707735334b54290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54290000')} 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('530cad707735334b54290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms Redirected to http://test.host/admin/products/530cad707735334b54290000 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('530cad707735334b542a0000'), "firstname"=>"Marley", "lastname"=>"Purdy"}] 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=>"admin_users", :query=>{}} runtime: 0.1622ms 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('530cad707735334b542b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms Redirected to http://test.host/admin/users/530cad707735334b542b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1753ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad707735334b542c0000'), "firstname"=>"Ryleigh", "lastname"=>"Lehner"}] 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=>"admin_users", :query=>{}} runtime: 0.1532ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cad707735334b542c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b542c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b542c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms 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.1611ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad707735334b542d0000'), "firstname"=>"Monica", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cad707735334b542d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b542d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (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('530cad707735334b542e0000'), "firstname"=>"Malika", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms 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.3024ms 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('530cad707735334b542f0000'), "firstname"=>"Naomi", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms 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.8ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad707735334b54300000'), "firstname"=>"Mona", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cad707735334b54300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b54300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms 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('530cad707735334b54310000'), "firstname"=>"Claudine", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad707735334b54310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b54310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cad707735334b54310000 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('530cad707735334b54320000'), "firstname"=>"Gabriel", "lastname"=>"Wehner"}] 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=>"administrators", :query=>{}} runtime: 0.1658ms 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('530cad707735334b54330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms 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.1783ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad707735334b54340000'), "firstname"=>"Cordie", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cad707735334b54340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad707735334b54340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad707735334b54350000'), "firstname"=>"Kyleigh", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad707735334b54360000'), "firstname"=>"Noemie", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cad707735334b54360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad707735334b54360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad707735334b54370000'), "firstname"=>"Carolina", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cad707735334b54370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad707735334b54370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms 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('530cad707735334b54380000'), "name"=>"Lauren Spencer II", "reference"=>"Darrel Runolfsdottir", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54390000'), "author_name"=>"Kaycee Borer", "content"=>["Excepturi eaque eius sunt temporibus. Eveniet quia earum qui. Qui similique et esse et enim eos corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1902ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cad707735334b54380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54380000')} 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('530cad707735334b54380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad707735334b543a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8892ms Redirected to http://test.host/products/530cad707735334b54380000/comments/530cad707735334b543a0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b543b0000'), "name"=>"Julio O'Hara", "reference"=>"Werner Legros", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b543c0000'), "author_name"=>"Libbie Lubowitz", "content"=>["Tempore consequatur perferendis. Velit nam eum deserunt dolores in. Sapiente quibusdam sed illum iure consequuntur. Est maiores non sunt quia laborum ut eaque. Quo sint repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b543b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad707735334b543b0000", "id"=>"530cad707735334b543c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b543b0000')} 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('530cad707735334b543b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad707735334b543c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms Redirected to http://test.host/products/530cad707735334b543b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b543b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b543d0000'), "name"=>"Mr. Rosie Herzog", "reference"=>"Gennaro Williamson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b543e0000'), "author_name"=>"Karina Friesen", "content"=>["Quo explicabo officiis sapiente et cum. At doloremque quidem illum sunt dolore. Deserunt omnis sed voluptatem eligendi. Error numquam accusantium libero rerum. Ducimus voluptatem et doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cad707735334b543d0000", "id"=>"530cad707735334b543e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b543d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b543f0000'), "name"=>"Lisandro Nikolaus V", "reference"=>"Wellington Kutch", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54400000'), "author_name"=>"Jackie Orn", "content"=>["Molestias nesciunt alias praesentium eum. Sequi et debitis nam dolor. Nesciunt eum aut suscipit aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cad707735334b543f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b543f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54410000'), "name"=>"Tristian Harris", "reference"=>"Christine Ritchie", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54420000'), "author_name"=>"Mr. Brooklyn Moen", "content"=>["Nihil quidem voluptatem sed dolorem atque incidunt. Dolore dignissimos aut in sit assumenda dolor atque. Id ut non aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cad707735334b54410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54430000'), "name"=>"Mariana Pagac", "reference"=>"Mrs. Krystel Mills", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54440000'), "author_name"=>"Connie Kozey", "content"=>["Consequatur est nam consectetur aut temporibus. Sed autem sint ipsam qui corporis molestiae laudantium. Aspernatur maxime consectetur deleniti. Omnis itaque similique sapiente qui rerum velit quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cad707735334b54430000", "id"=>"530cad707735334b54440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54450000'), "name"=>"Matteo Effertz", "reference"=>"Ewell Kohler", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad707735334b54460000'), "author_name"=>"Miss Gilbert Schumm", "content"=>["In rem ab incidunt voluptatem est quia sit. Commodi minus sed nihil rerum architecto aliquam nostrum. Totam quis temporibus accusamus corporis earum. Et nisi aut magnam itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad707735334b54460000", "product_id"=>"530cad707735334b54450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54450000'), "comments._id"=>BSON::ObjectId('530cad707735334b54460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms Redirected to http://test.host/products/530cad707735334b54450000/comments/530cad707735334b54460000 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('530cad707735334b54470000'), "firstname"=>"Antwon", "lastname"=>"Waelchi"}] 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=>"clients", :query=>{}} runtime: 0.1626ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Redirected to http://test.host/admin/clients/530cad707735334b54480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1739ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54490000'), "firstname"=>"Angela", "lastname"=>"Purdy"}] 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.1517ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad707735334b54490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms 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.1765ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b544a0000'), "firstname"=>"Lilliana", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad707735334b544a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b544a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms 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('530cad707735334b544b0000'), "firstname"=>"Skylar", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms 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('530cad707735334b544c0000'), "firstname"=>"Lela", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms 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('530cad707735334b544d0000'), "firstname"=>"Wilber", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad707735334b544d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b544d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms 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('530cad707735334b544e0000'), "firstname"=>"Flavio", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad707735334b544e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b544e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b544e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms Redirected to http://test.host/admin/clients/530cad707735334b544e0000 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('530cad707735334b544f0000'), "firstname"=>"Alfonzo", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1557ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms Redirected to http://test.host/clients/530cad707735334b54500000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1650ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54510000'), "firstname"=>"Halle", "lastname"=>"Thiel"}] 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.1482ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad707735334b54510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms 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.1601ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54520000'), "firstname"=>"Sage", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad707735334b54520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms 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('530cad707735334b54530000'), "firstname"=>"Cedrick", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms 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('530cad707735334b54540000'), "firstname"=>"Ernie", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms 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('530cad707735334b54550000'), "firstname"=>"Sedrick", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad707735334b54550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad707735334b54560000'), "firstname"=>"Jayden", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad707735334b54560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad707735334b54560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Redirected to http://test.host/clients/530cad707735334b54560000 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('530cad707735334b54570000'), "name"=>"Cullen Padberg PhD", "reference"=>"Archibald Beahan", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54580000'), "firstname"=>"Vella", "lastname"=>"Jast"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cad707735334b54570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54570000')} 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('530cad707735334b54570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Redirected to http://test.host/products/530cad707735334b54570000/manager Completed 302 Found in 30ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b545a0000'), "name"=>"Sim Lemke", "reference"=>"Eloisa Carroll", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b545b0000'), "firstname"=>"Tevin", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cad707735334b545b0000", "product_id"=>"530cad707735334b545a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b545a0000')} 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.2ms) Completed 200 OK in 42ms (Views: 40.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b545c0000'), "name"=>"Mr. Giovanna Vandervort", "reference"=>"Alexane Mueller", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b545d0000'), "firstname"=>"Lonnie", "lastname"=>"Murray"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1771ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cad707735334b545c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b545c0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b545e0000'), "name"=>"Presley Jacobs", "reference"=>"Mrs. Alivia Weimann", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b545f0000'), "firstname"=>"Elinor", "lastname"=>"Davis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cad707735334b545f0000", "product_id"=>"530cad707735334b545e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b545e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54600000'), "name"=>"Heaven Lueilwitz", "reference"=>"Fleta Witting", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad707735334b54610000'), "firstname"=>"Danial", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cad707735334b54610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad707735334b54600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms Unpermitted parameters: name Redirected to http://test.host/products/530cad707735334b54600000/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('530cad707735334b54620000'), "name"=>"Yessenia Raynor", "reference"=>"Elliot Ward", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1653ms 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('530cad707735334b54630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms Redirected to http://test.host/products/530cad707735334b54630000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1782ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54640000'), "name"=>"Gussie Gerlach", "reference"=>"Graham Walter", "quantity"=>"0"}] 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.1565ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cad707735334b54640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms 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.1660ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54650000'), "name"=>"Ericka Kovacek", "reference"=>"Felipe Dooley", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cad707735334b54650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cad707735334b54660000'), "name"=>"Wilmer Zieme PhD", "reference"=>"Mr. Sebastian Mann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms 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.7126ms Completed 200 OK in 20ms (Views: 20.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54670000'), "name"=>"Mrs. Aleen Reilly", "reference"=>"Eleanora Terry", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms 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.6635ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b54680000'), "name"=>"Maci Bosco", "reference"=>"Trever Olson Sr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cad707735334b54680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms 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('530cad707735334b54690000'), "name"=>"Colleen Reynolds", "reference"=>"Ivy Ullrich", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.3ms) Completed 200 OK in 31ms (Views: 30.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b546b0000'), "name"=>"Randy Rowe DVM", "reference"=>"Mrs. Maia Okuneva", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cad707735334b546b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b546b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b546c0000'), "name"=>"Jarvis Torp DDS", "reference"=>"Mr. Lizeth Balistreri", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1989ms 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('530cad707735334b546d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1697ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad707735334b546e0000'), "name"=>"Jaquan Wisozk", "reference"=>"Mrs. Helen Bernhard", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cad707735334b546e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b546e0000')} 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('530cad707735334b546e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms 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('530cad707735334b546f0000'), "name"=>"Ms. Dahlia Leannon", "reference"=>"Mr. Salma Jacobi", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms 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('530cad707735334b54710000'), "name"=>"Zoila Klein", "reference"=>"Giovani Bogisich", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad707735334b54710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54710000')} 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('530cad707735334b54710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms 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('530cad707735334b54720000'), "name"=>"Vladimir Feeney", "reference"=>"Alia Lynch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad707735334b54720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad707735334b54720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms Redirected to http://test.host/products/530cad707735334b54720000 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('530cad707735334b54730000'), "firstname"=>"April", "lastname"=>"Strosin"}] 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.1749ms 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('530cad707735334b54740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms Redirected to http://test.host/users/530cad707735334b54740000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad707735334b54750000'), "firstname"=>"Scot", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7815ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1622ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cad707735334b54750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b54750000')} 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('530cad707735334b54750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms 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('530cad707735334b54760000'), "firstname"=>"Lilliana", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cad707735334b54760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b54760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('530cad707735334b54770000'), "firstname"=>"Justyn", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms 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.3575ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad707735334b54780000'), "firstname"=>"Corbin", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cad707735334b54790000'), "firstname"=>"Marcelle", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cad707735334b54790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b54790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms 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('530cad707735334b547a0000'), "firstname"=>"Marisol", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad707735334b547a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad707735334b547a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms Unpermitted parameters: name Redirected to http://test.host/users/530cad707735334b547a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms 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.2892ms 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.2675ms 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.2545ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c000000'), "firstname"=>"Creola", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2693ms 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('530cad787735334b7c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms 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.2779ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c020000'), "firstname"=>"Rashad", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cad787735334b7c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad787735334b7c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c030000'), "firstname"=>"Erin", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c040000'), "firstname"=>"Garry", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cad787735334b7c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad787735334b7c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c050000'), "firstname"=>"Columbus", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cad787735334b7c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad787735334b7c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms 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('530cad787735334b7c060000'), "name"=>"Myrtice Schneider", "reference"=>"Carley Quigley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c070000'), "author_name"=>"Edythe Kshlerin II", "content"=>["Cumque earum aut sit. Dignissimos expedita mollitia. Cumque quisquam consequuntur qui placeat quod. Omnis ducimus rerum est vitae sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 501.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cad787735334b7c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c060000')} 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('530cad787735334b7c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad787735334b7c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Redirected to http://test.host/admin/products/530cad787735334b7c060000/comments/530cad787735334b7c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c090000'), "name"=>"Ms. Grayce Streich", "reference"=>"Ms. Brent Connelly", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c0a0000'), "author_name"=>"Miss Arvel Mosciski", "content"=>["Voluptas vel sunt non laudantium. Voluptates aut officiis. Voluptates illo explicabo odio omnis velit quia est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad787735334b7c090000", "id"=>"530cad787735334b7c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad787735334b7c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Redirected to http://test.host/admin/products/530cad787735334b7c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c0b0000'), "name"=>"Dr. Clemens Hamill", "reference"=>"Consuelo Gibson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c0c0000'), "author_name"=>"Dayana Lueilwitz I", "content"=>["Consectetur dolor impedit deleniti nihil ut. Dolor molestiae voluptas ullam. Voluptatem dignissimos qui quia cupiditate deleniti nulla aliquid. Repellat eveniet modi quia a possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cad787735334b7c0b0000", "id"=>"530cad787735334b7c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c0d0000'), "name"=>"Estevan Kuvalis", "reference"=>"Grady Beier", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c0e0000'), "author_name"=>"Jennifer Ferry", "content"=>["Dolor fuga aut repellendus. Non veritatis aut odit est. Optio tenetur ea blanditiis. Amet non accusamus consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cad787735334b7c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c0f0000'), "name"=>"Shawn Walter", "reference"=>"Norbert Kerluke", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c100000'), "author_name"=>"Madison Rolfson", "content"=>["Iure molestiae ipsam tempora. Repellendus ut maiores. Ducimus quia atque rerum quis et voluptatem et. Velit quam aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cad787735334b7c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c110000'), "name"=>"Greyson Nikolaus", "reference"=>"Jason Schuppe", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c120000'), "author_name"=>"Kolby Padberg", "content"=>["Inventore officia qui odio nobis temporibus voluptas doloribus. Voluptates architecto at quaerat doloribus. Enim temporibus adipisci dignissimos hic dolorum fuga. Officia labore ut dolores optio. Quos minus quis fugiat deleniti aut omnis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cad787735334b7c110000", "id"=>"530cad787735334b7c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c130000'), "name"=>"Julio Blanda", "reference"=>"Miss Isaiah Nikolaus", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad787735334b7c140000'), "author_name"=>"Viviane Herman", "content"=>["Vel cumque ea accusamus laudantium nesciunt est et. Explicabo sequi non nesciunt et. Nulla ratione tempore hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad787735334b7c140000", "product_id"=>"530cad787735334b7c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c130000'), "comments._id"=>BSON::ObjectId('530cad787735334b7c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Redirected to http://test.host/admin/products/530cad787735334b7c130000/comments/530cad787735334b7c140000 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('530cad787735334b7c150000'), "name"=>"Catherine Ankunding", "reference"=>"Isac Hegmann PhD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c160000'), "firstname"=>"Lilliana", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cad787735334b7c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c150000')} 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('530cad787735334b7c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms Redirected to http://test.host/admin/products/530cad787735334b7c150000/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('530cad787735334b7c180000'), "name"=>"Doris McCullough DVM", "reference"=>"Marley Feeney", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c190000'), "firstname"=>"Norwood", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cad787735334b7c190000", "product_id"=>"530cad787735334b7c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c180000')} 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 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c1a0000'), "name"=>"Laney Littel", "reference"=>"Savanah Gottlieb", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c1b0000'), "firstname"=>"Christop", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cad787735334b7c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c1a0000')} 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.0ms) Completed 200 OK in 5ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c1c0000'), "name"=>"Glenda Christiansen II", "reference"=>"Kenton Bashirian", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c1d0000'), "firstname"=>"Cathryn", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cad787735334b7c1d0000", "product_id"=>"530cad787735334b7c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c1e0000'), "name"=>"Holden DuBuque V", "reference"=>"Sidney Bayer", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cad787735334b7c1f0000'), "firstname"=>"Adriel", "lastname"=>"Stiedemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cad787735334b7c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad787735334b7c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cad787735334b7c1e0000/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('530cad787735334b7c200000'), "name"=>"Domenic Hodkiewicz", "reference"=>"Scotty D'Amore", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1613ms 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('530cad787735334b7c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Redirected to http://test.host/admin/products/530cad787735334b7c210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1739ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c220000'), "name"=>"Cyrus Dare", "reference"=>"Jamie Tromp Sr.", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1565ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cad787735334b7c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms 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.1679ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c230000'), "name"=>"Collin Tremblay", "reference"=>"Linnea Cole", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cad787735334b7c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c240000'), "name"=>"Daron Larkin", "reference"=>"Mr. Bria O'Conner", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms 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.4856ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c250000'), "name"=>"Oma Little", "reference"=>"Jerry Beer", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5960ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c280000'), "name"=>"Andrew Windler", "reference"=>"Ana O'Reilly", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cad787735334b7c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms 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('530cad787735334b7c290000'), "name"=>"Reagan Bins", "reference"=>"Clarabelle Block", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad787735334b7c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad787735334b7c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Redirected to http://test.host/admin/products/530cad787735334b7c290000 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('530cad787735334b7c2a0000'), "firstname"=>"Alexzander", "lastname"=>"Gibson"}] 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.1577ms 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('530cad787735334b7c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Redirected to http://test.host/admin/users/530cad787735334b7c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1656ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c2c0000'), "firstname"=>"Denis", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1529ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cad787735334b7c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad787735334b7c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad787735334b7c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms 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.1597ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad787735334b7c2d0000'), "firstname"=>"Samantha", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cad787735334b7c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad787735334b7c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms 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('530cad797735334b7c2e0000'), "firstname"=>"Wendell", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms 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.3086ms 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('530cad797735334b7c2f0000'), "firstname"=>"Carroll", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms 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('530cad797735334b7c300000'), "firstname"=>"Kaelyn", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cad797735334b7c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms 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('530cad797735334b7c310000'), "firstname"=>"Ottilie", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad797735334b7c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cad797735334b7c310000 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('530cad797735334b7c320000'), "firstname"=>"Mae", "lastname"=>"Gerhold"}] 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=>"administrators", :query=>{}} runtime: 0.1635ms 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('530cad797735334b7c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms 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.1710ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c340000'), "firstname"=>"Kasey", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cad797735334b7c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad797735334b7c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c350000'), "firstname"=>"Cruz", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c360000'), "firstname"=>"Dillan", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cad797735334b7c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad797735334b7c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c370000'), "firstname"=>"Priscilla", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cad797735334b7c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cad797735334b7c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms 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('530cad797735334b7c380000'), "name"=>"Delpha Mayer DVM", "reference"=>"Johanna Herman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c390000'), "author_name"=>"Francesco Ziemann", "content"=>["Qui eos laudantium quia et. Quia porro non sunt corrupti assumenda atque distinctio. Fugit corrupti ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cad797735334b7c380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c380000')} 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('530cad797735334b7c380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad797735334b7c3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Redirected to http://test.host/products/530cad797735334b7c380000/comments/530cad797735334b7c3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c3b0000'), "name"=>"Earline Pacocha", "reference"=>"Rita Halvorson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c3c0000'), "author_name"=>"Casimir Altenwerth", "content"=>["Molestiae laudantium sint tenetur ut. Nulla ratione ab in voluptatum omnis consequatur voluptas. Et fugiat aut aliquam iusto dicta quod quos. Blanditiis nobis molestiae. Et velit illum molestiae dolore quis culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad797735334b7c3b0000", "id"=>"530cad797735334b7c3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c3b0000')} 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('530cad797735334b7c3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cad797735334b7c3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms Redirected to http://test.host/products/530cad797735334b7c3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c3d0000'), "name"=>"Jolie Crooks", "reference"=>"Syble Tremblay", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c3e0000'), "author_name"=>"Kenneth Mohr", "content"=>["Quia rem ab voluptate velit. Quo est aut. Et perspiciatis iste adipisci molestiae praesentium velit porro. Natus sapiente doloremque id sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cad797735334b7c3d0000", "id"=>"530cad797735334b7c3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c3f0000'), "name"=>"Raoul Daniel II", "reference"=>"Terence Orn", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c400000'), "author_name"=>"Candido Murray", "content"=>["Accusamus voluptas temporibus quia aut molestiae ducimus. Reprehenderit aut autem iusto ipsa recusandae voluptate atque. Tempore omnis nam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cad797735334b7c3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c410000'), "name"=>"Franz Champlin", "reference"=>"Ayana Ledner", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c420000'), "author_name"=>"Toby McKenzie Jr.", "content"=>["Accusantium soluta quaerat id ratione ipsam eaque maiores. Officiis quas ut ratione odio saepe. Ipsam eum quidem culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5256ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cad797735334b7c410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c430000'), "name"=>"Carolyne Roberts", "reference"=>"Terrence Gorczany", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c440000'), "author_name"=>"Annetta Dickinson", "content"=>["Odio dolore ea sed qui. Sit molestiae qui dolor earum sed sed necessitatibus. Libero dolor nesciunt. Quam ut aut quae et. Non occaecati aut itaque molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cad797735334b7c430000", "id"=>"530cad797735334b7c440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c450000'), "name"=>"Giovanna Schmitt", "reference"=>"Milton Gaylord", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cad797735334b7c460000'), "author_name"=>"Leon Hackett", "content"=>["Sit beatae recusandae quo quibusdam. Dolorum consequatur aut sed rerum ea. Perspiciatis tempora at in temporibus. Maiores qui in nam. Fugiat occaecati libero excepturi delectus tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad797735334b7c460000", "product_id"=>"530cad797735334b7c450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c450000'), "comments._id"=>BSON::ObjectId('530cad797735334b7c460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Redirected to http://test.host/products/530cad797735334b7c450000/comments/530cad797735334b7c460000 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('530cad797735334b7c470000'), "firstname"=>"Erna", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1652ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms Redirected to http://test.host/admin/clients/530cad797735334b7c480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1698ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c490000'), "firstname"=>"Rosie", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1508ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad797735334b7c490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Redirected to http://test.host/admin/clients Completed 302 Found in 34ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1812ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c4a0000'), "firstname"=>"Isom", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad797735334b7c4a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('530cad797735334b7c4b0000'), "firstname"=>"Maxwell", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8693ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms 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('530cad797735334b7c4c0000'), "firstname"=>"Keenan", "lastname"=>"Deckow"}] 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 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('530cad797735334b7c4d0000'), "firstname"=>"Verla", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad797735334b7c4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms Completed 200 OK in 4ms (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('530cad797735334b7c4e0000'), "firstname"=>"Weston", "lastname"=>"Wiza"}] 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"=>"530cad797735334b7c4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Redirected to http://test.host/admin/clients/530cad797735334b7c4e0000 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('530cad797735334b7c4f0000'), "firstname"=>"Ona", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1542ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Redirected to http://test.host/clients/530cad797735334b7c500000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c510000'), "firstname"=>"Kavon", "lastname"=>"Daugherty"}] 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.1473ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad797735334b7c510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms 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.1889ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c520000'), "firstname"=>"Sister", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad797735334b7c520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms 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('530cad797735334b7c530000'), "firstname"=>"Nickolas", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms Processing by Iord::GenericController#index as HTML MOPED: 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 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c540000'), "firstname"=>"Nathanael", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms 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('530cad797735334b7c550000'), "firstname"=>"Jovani", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad797735334b7c550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c560000'), "firstname"=>"Maggie", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad797735334b7c560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cad797735334b7c560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms Redirected to http://test.host/clients/530cad797735334b7c560000 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('530cad797735334b7c570000'), "name"=>"Letitia Marvin", "reference"=>"Estefania Goodwin III", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c580000'), "firstname"=>"Bobbie", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cad797735334b7c570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms Redirected to http://test.host/products/530cad797735334b7c570000/manager Completed 302 Found in 39ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c5a0000'), "name"=>"Danielle Fay", "reference"=>"Sincere Schumm I", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c5b0000'), "firstname"=>"Lonie", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cad797735334b7c5b0000", "product_id"=>"530cad797735334b7c5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 42ms (Views: 40.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c5c0000'), "name"=>"Kassandra Mante DDS", "reference"=>"Cydney Cummerata", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c5d0000'), "firstname"=>"Jacques", "lastname"=>"Rohan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cad797735334b7c5c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c5c0000')} 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 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c5e0000'), "name"=>"Jovany Langosh", "reference"=>"Ms. Rickey Kohler", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c5f0000'), "firstname"=>"Kelton", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cad797735334b7c5f0000", "product_id"=>"530cad797735334b7c5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c600000'), "name"=>"Vinnie Kautzer IV", "reference"=>"Wyman Schoen", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cad797735334b7c610000'), "firstname"=>"Amy", "lastname"=>"Trantow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cad797735334b7c610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad797735334b7c600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Unpermitted parameters: name Redirected to http://test.host/products/530cad797735334b7c600000/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('530cad797735334b7c620000'), "name"=>"Emely Anderson", "reference"=>"Adrianna Romaguera", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1616ms 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('530cad797735334b7c630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Redirected to http://test.host/products/530cad797735334b7c630000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c640000'), "name"=>"Mrs. Susana Mayer", "reference"=>"Matt Mayer", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1561ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cad797735334b7c640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms 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('530cad797735334b7c650000'), "name"=>"Hobart Cruickshank", "reference"=>"Nyasia Murray", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cad797735334b7c650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cad797735334b7c660000'), "name"=>"Kane Haley", "reference"=>"Maxie Robel", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms 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.7068ms Completed 200 OK in 20ms (Views: 20.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c670000'), "name"=>"Rafaela Swift", "reference"=>"Gregg Runolfsdottir", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms 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.6665ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c680000'), "name"=>"Enid Douglas Sr.", "reference"=>"Giovani Lockman", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cad797735334b7c680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms 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('530cad797735334b7c690000'), "name"=>"Kacie Murazik", "reference"=>"Alda Boyer II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.3ms) Completed 200 OK in 31ms (Views: 30.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c6b0000'), "name"=>"Celine Tremblay", "reference"=>"Mrs. Fausto Gerlach", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cad797735334b7c6b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c6c0000'), "name"=>"Maryjane Reichel", "reference"=>"Ronny Kutch", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.4713ms 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('530cad797735334b7c6d0000'), "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.2247ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c6e0000'), "name"=>"Terrance Deckow", "reference"=>"Litzy Waelchi PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cad797735334b7c6e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c6e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms 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('530cad797735334b7c6f0000'), "name"=>"Lilla Keeling", "reference"=>"Maxime Krajcik", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms 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('530cad797735334b7c710000'), "name"=>"Damion Kunde III", "reference"=>"Miss Brett Flatley", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad797735334b7c710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms 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('530cad797735334b7c720000'), "name"=>"Ruthe Lynch I", "reference"=>"Ms. Simeon Funk", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad797735334b7c720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad797735334b7c720000')} 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('530cad797735334b7c720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms Redirected to http://test.host/products/530cad797735334b7c720000 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('530cad797735334b7c730000'), "firstname"=>"Nasir", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms 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('530cad797735334b7c740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Redirected to http://test.host/users/530cad797735334b7c740000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1925ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c750000'), "firstname"=>"Leonora", "lastname"=>"Schuster"}] 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.1765ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cad797735334b7c750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms 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.1856ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c760000'), "firstname"=>"Bernita", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cad797735334b7c760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c760000')} 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 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('530cad797735334b7c770000'), "firstname"=>"Callie", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms 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.3468ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad797735334b7c780000'), "firstname"=>"Adrain", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.0726ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cad797735334b7c790000'), "firstname"=>"Taryn", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cad797735334b7c790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms 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('530cad797735334b7c7a0000'), "firstname"=>"Charlotte", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad797735334b7c7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cad797735334b7c7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Unpermitted parameters: name Redirected to http://test.host/users/530cad797735334b7c7a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms 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.3184ms 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.3110ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5000000'), "firstname"=>"Carmela", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 147.8831ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cad8c7735334ba5000000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 500 Internal Server Error in 10ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5010000'), "firstname"=>"Shaylee", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 15ms (Views: 14.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5020000'), "firstname"=>"Pearline", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cad8c7735334ba5020000"} Completed 200 OK in 3ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5030000'), "firstname"=>"Maxie", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cad8c7735334ba5030000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5040000'), "name"=>"Ollie Kerluke", "reference"=>"Gavin Kihn MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5050000'), "author_name"=>"Edwardo Wiegand", "content"=>["Qui et rem dignissimos non ab. Est est voluptate. Et omnis eaque dignissimos assumenda sequi autem. Soluta minima fuga omnis iusto dolorem tempore dignissimos. Rerum debitis ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad8c7735334ba5040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad8c7735334ba5040000", "id"=>"530cad8c7735334ba5050000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5060000'), "name"=>"Miss Dino Dach", "reference"=>"Mrs. Monroe Rodriguez", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5070000'), "author_name"=>"Wilhelm McDermott", "content"=>["Id molestiae sint laudantium aut. Doloribus ab quaerat odit natus sunt. Provident praesentium quam ut quisquam id. Illo sit praesentium saepe magnam iure omnis tempore. Voluptatem laboriosam vel inventore hic quia quo omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cad8c7735334ba5060000", "id"=>"530cad8c7735334ba5070000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5080000'), "name"=>"Pierre Cruickshank", "reference"=>"Mrs. Simeon Botsford", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5090000'), "author_name"=>"Adolph Douglas", "content"=>["Sit asperiores ipsa fuga sed. Sit quis iure et mollitia ea ex. Qui saepe architecto voluptatem sed sint non perferendis. Aut ex saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cad8c7735334ba5080000"} Completed 500 Internal Server Error in 8ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba50a0000'), "name"=>"Don Prosacco", "reference"=>"Clement Bruen Sr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba50b0000'), "author_name"=>"Santa Rodriguez", "content"=>["Assumenda ducimus officiis hic voluptas numquam beatae. Provident officiis sit consequatur sapiente sunt porro odit. Placeat distinctio eveniet amet. Quibusdam dolorum eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cad8c7735334ba50a0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.2ms) Completed 500 Internal Server Error in 34ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba50d0000'), "name"=>"Macie Bauch IV", "reference"=>"Nannie Stoltenberg", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba50e0000'), "author_name"=>"Sharon Pfannerstill III", "content"=>["Sit in qui et. Est est aliquam fugiat adipisci quasi nostrum. Vel blanditiis rerum autem cum. In non porro voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5885ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cad8c7735334ba50d0000", "id"=>"530cad8c7735334ba50e0000"} Completed 500 Internal Server Error in 9ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba50f0000'), "name"=>"Miss Erik Bernhard", "reference"=>"Ms. Vada Hintz", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5100000'), "author_name"=>"Breana Nitzsche", "content"=>["At provident consequatur voluptas possimus soluta. Dolorem qui ex aut ratione. Esse quas voluptatem sit molestiae sed hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad8c7735334ba5100000", "product_id"=>"530cad8c7735334ba50f0000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5110000'), "name"=>"Chesley Hagenes Sr.", "reference"=>"Gino Sporer", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cad8c7735334ba5120000'), "firstname"=>"Aisha", "lastname"=>"Schaden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cad8c7735334ba5120000", "product_id"=>"530cad8c7735334ba5110000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5130000'), "name"=>"Britney Langworth I", "reference"=>"Jacey Wilkinson", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cad8c7735334ba5140000'), "firstname"=>"Vicky", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cad8c7735334ba5130000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 500 Internal Server Error in 7ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5160000'), "name"=>"Ena Gutmann DDS", "reference"=>"Jarred Green", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cad8c7735334ba5170000'), "firstname"=>"Domenica", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cad8c7735334ba5170000", "product_id"=>"530cad8c7735334ba5160000"} Completed 500 Internal Server Error in 37ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5180000'), "name"=>"Kaleigh Rempel", "reference"=>"Moriah Lakin", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cad8c7735334ba5190000'), "firstname"=>"Alexandria", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cad8c7735334ba5190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad8c7735334ba5180000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba51a0000'), "name"=>"Katrina Metz", "reference"=>"Penelope Kozey", "quantity"=>"7"}] 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.1846ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cad8c7735334ba51a0000"} 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('530cad8c7735334ba51b0000'), "name"=>"Landen Wisoky", "reference"=>"Dr. Chaz Gorczany", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cad8c7735334ba51b0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba51c0000'), "name"=>"Jamar Hane", "reference"=>"Martin Robel", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms 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.4829ms Completed 200 OK in 10ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba51d0000'), "name"=>"Colin McCullough Sr.", "reference"=>"Mrs. Earline Keebler", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms 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.0ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5200000'), "name"=>"Elody Tillman", "reference"=>"Kassandra Veum", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cad8c7735334ba5200000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5210000'), "name"=>"Nannie Wisoky", "reference"=>"Daron Gutkowski", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad8c7735334ba5210000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------- 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('530cad8c7735334ba5220000'), "firstname"=>"Palma", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1875ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cad8c7735334ba5220000"} 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('530cad8c7735334ba5230000'), "firstname"=>"Sylvia", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cad8c7735334ba5230000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5240000'), "firstname"=>"Alverta", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms 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('530cad8c7735334ba5250000'), "firstname"=>"Marco", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms 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('530cad8c7735334ba5260000'), "firstname"=>"Lonny", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cad8c7735334ba5260000"} Completed 500 Internal Server Error in 2ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5270000'), "firstname"=>"Nicolas", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad8c7735334ba5270000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5280000'), "firstname"=>"Anibal", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cad8c7735334ba5280000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5290000'), "firstname"=>"Virginie", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba52a0000'), "firstname"=>"Albert", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cad8c7735334ba52a0000"} Completed 200 OK in 3ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba52b0000'), "firstname"=>"Reba", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cad8c7735334ba52b0000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba52c0000'), "name"=>"Darius Stroman", "reference"=>"Mr. Sallie Conroy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba52d0000'), "author_name"=>"Luther Ernser", "content"=>["Quae est aperiam aliquam cupiditate est. Dolores vitae deleniti quia similique consequatur repudiandae. Et vel rerum unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cad8c7735334ba52c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cad8c7735334ba52c0000", "id"=>"530cad8c7735334ba52d0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba52e0000'), "name"=>"Mrs. Albin Kilback", "reference"=>"Karine Pagac", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba52f0000'), "author_name"=>"Belle Reichert", "content"=>["Est numquam repellendus. Saepe ipsam nesciunt error sint aliquam quia in. Cum exercitationem nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cad8c7735334ba52e0000", "id"=>"530cad8c7735334ba52f0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5300000'), "name"=>"Jaylin Jacobson", "reference"=>"Herta Ziemann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5310000'), "author_name"=>"Miss Marcellus Baumbach", "content"=>["Sunt consequatur repellendus. Rerum voluptas corrupti recusandae consectetur commodi. Ut praesentium perspiciatis magnam sapiente. Quia ea nobis vitae. Itaque harum dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0368ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cad8c7735334ba5300000"} Completed 500 Internal Server Error in 70ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5320000'), "name"=>"Rudy Hickle", "reference"=>"Rose Williamson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5330000'), "author_name"=>"Dave Bruen", "content"=>["In pariatur odio alias odit provident. Sunt nisi provident voluptatem mollitia minus iusto fuga. Qui rerum perspiciatis sapiente velit ipsam exercitationem facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cad8c7735334ba5320000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.7ms) Completed 500 Internal Server Error in 10ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8c7735334ba5350000'), "name"=>"Burley Homenick", "reference"=>"Malinda Rohan", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cad8c7735334ba5360000'), "author_name"=>"Dennis Botsford V", "content"=>["Eum ipsam ut. Error voluptatum doloremque nulla. Beatae dolorem vel quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cad8c7735334ba5350000", "id"=>"530cad8c7735334ba5360000"} Completed 500 Internal Server Error in 41ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5370000'), "name"=>"Ethel McKenzie", "reference"=>"Dr. Taurean Feeney", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cad8d7735334ba5380000'), "author_name"=>"Ms. Helga Kuhic", "content"=>["Eos alias eveniet iste magnam deserunt facilis necessitatibus. Doloribus voluptas accusantium voluptates dolor nisi iste. Voluptate eaque sint possimus. Error saepe dolorum corrupti in. Soluta id ab corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cad8d7735334ba5380000", "product_id"=>"530cad8d7735334ba5370000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5390000'), "firstname"=>"Percival", "lastname"=>"Johnston"}] 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=>"clients", :query=>{}} runtime: 0.2395ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad8d7735334ba5390000"} 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('530cad8d7735334ba53a0000'), "firstname"=>"Cassidy", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad8d7735334ba53a0000"} Completed 500 Internal Server Error in 3ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba53b0000'), "firstname"=>"Mozell", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms 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('530cad8d7735334ba53c0000'), "firstname"=>"Greta", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms 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('530cad8d7735334ba53d0000'), "firstname"=>"Chelsie", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad8d7735334ba53d0000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba53e0000'), "firstname"=>"Mya", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5514ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cad8d7735334ba53e0000"} 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('530cad8d7735334ba53f0000'), "firstname"=>"Caleb", "lastname"=>"Schaefer"}] 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=>"clients", :query=>{}} runtime: 0.1819ms 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('530cad8d7735334ba5400000'), "firstname"=>"Alford", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1782ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cad8d7735334ba5400000"} 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('530cad8d7735334ba5410000'), "firstname"=>"Donavon", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cad8d7735334ba5410000"} Completed 500 Internal Server Error in 2ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5420000'), "firstname"=>"Maddison", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms 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('530cad8d7735334ba5430000'), "firstname"=>"Aubree", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms 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('530cad8d7735334ba5440000'), "firstname"=>"Vallie", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cad8d7735334ba5440000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5450000'), "firstname"=>"Lempi", "lastname"=>"Bogisich"}] 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"=>"530cad8d7735334ba5450000"} Completed 500 Internal Server Error in 1ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5460000'), "name"=>"Mr. Alexa Schoen", "reference"=>"Agustin Monahan", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cad8d7735334ba5470000'), "firstname"=>"Jolie", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cad8d7735334ba5470000", "product_id"=>"530cad8d7735334ba5460000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5480000'), "name"=>"Adah Torphy", "reference"=>"Julian Larson", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cad8d7735334ba5490000'), "firstname"=>"Lloyd", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cad8d7735334ba5480000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.2ms) Completed 500 Internal Server Error in 41ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba54b0000'), "name"=>"Maureen Gaylord", "reference"=>"Liliane Fritsch", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cad8d7735334ba54c0000'), "firstname"=>"Beatrice", "lastname"=>"Greenfelder"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cad8d7735334ba54c0000", "product_id"=>"530cad8d7735334ba54b0000"} Completed 500 Internal Server Error in 42ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba54d0000'), "name"=>"Zoila Gutkowski", "reference"=>"Citlalli Ankunding", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cad8d7735334ba54e0000'), "firstname"=>"Arlo", "lastname"=>"Brown"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cad8d7735334ba54e0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cad8d7735334ba54d0000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba54f0000'), "name"=>"Hope Hahn", "reference"=>"Haylie Glover", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1832ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cad8d7735334ba54f0000"} 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('530cad8d7735334ba5500000'), "name"=>"Lavern Eichmann", "reference"=>"Jaylin Ratke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cad8d7735334ba5500000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5510000'), "name"=>"Kaleb Hand IV", "reference"=>"Johanna Bins", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms 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.6969ms Completed 200 OK in 19ms (Views: 18.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5520000'), "name"=>"Monroe Krajcik", "reference"=>"Ms. Perry Heathcote", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Processing by ProductsController#index as JSON Completed 406 Not Acceptable in 1ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5530000'), "name"=>"Ashton Gutmann", "reference"=>"Ona Bosco", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cad8d7735334ba5530000"} Completed 406 Not Acceptable in 0ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5540000'), "name"=>"Gino Cronin", "reference"=>"Garth Huels", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5570000'), "name"=>"Gerard Satterfield", "reference"=>"Cassandra Hirthe", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cad8d7735334ba5570000"} Completed 500 Internal Server Error in 3ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5580000'), "name"=>"Berry Effertz", "reference"=>"Emilio Stoltenberg", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms 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"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5590000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms Completed 406 Not Acceptable in 2ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba55a0000'), "name"=>"Kelley Lubowitz", "reference"=>"Spencer Boehm", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cad8d7735334ba55a0000"} 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('530cad8d7735334ba55b0000'), "name"=>"Lucy Kuphal DVM", "reference"=>"Dr. Andy Gerlach", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 406 Not Acceptable in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba55c0000'), "name"=>"Esther Gleichner", "reference"=>"Holly Runte", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad8d7735334ba55c0000"} 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('530cad8d7735334ba55d0000'), "name"=>"Shania Murazik", "reference"=>"Modesta McKenzie", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cad8d7735334ba55d0000"} Completed 500 Internal Server Error in 1ms --------------------------------------- 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('530cad8d7735334ba55e0000'), "firstname"=>"Deondre", "lastname"=>"Denesik"}] 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=>"admin_users", :query=>{}} runtime: 0.1767ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cad8d7735334ba55e0000"} 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('530cad8d7735334ba55f0000'), "firstname"=>"Everardo", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cad8d7735334ba55f0000"} Completed 500 Internal Server Error in 35ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5600000'), "firstname"=>"Candelario", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms 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('530cad8d7735334ba5610000'), "firstname"=>"Freda", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8950ms 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('530cad8d7735334ba5620000'), "firstname"=>"Leopoldo", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cad8d7735334ba5620000"} Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cad8d7735334ba5630000'), "firstname"=>"Vanessa", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cad8d7735334ba5630000"} Completed 500 Internal Server Error in 1ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms 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.3072ms 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::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae177735334be6000000'), "firstname"=>"Emmie", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2206ms 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('530cae177735334be6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms 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.1950ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae177735334be6020000'), "firstname"=>"Shaun", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cae177735334be6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae177735334be6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 20.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae177735334be6030000'), "firstname"=>"Deven", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.1621ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae177735334be6040000'), "firstname"=>"Avis", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cae177735334be6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae177735334be6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae177735334be6050000'), "firstname"=>"Irving", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cae177735334be6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae177735334be6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms 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('530cae177735334be6060000'), "name"=>"Ludie Rempel", "reference"=>"Dr. Marcella Prohaska", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be6070000'), "author_name"=>"Else Bode", "content"=>["Deleniti neque eum. Cumque vitae recusandae aut qui aperiam. Blanditiis qui quo officiis fugit laborum possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cae177735334be6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae177735334be6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Redirected to http://test.host/admin/products/530cae177735334be6060000/comments/530cae177735334be6080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be6090000'), "name"=>"Ms. Abbie Fadel", "reference"=>"Laurence Stamm PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be60a0000'), "author_name"=>"Dorcas Luettgen", "content"=>["Quia sunt labore eum est quis. Omnis dolorem omnis voluptas non adipisci aperiam tenetur. Incidunt quia iure debitis dolor nisi eius alias. Est assumenda quia repellendus voluptatibus numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae177735334be6090000", "id"=>"530cae177735334be60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae177735334be60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms Redirected to http://test.host/admin/products/530cae177735334be6090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be60b0000'), "name"=>"Arvilla Mayer", "reference"=>"Taurean Adams", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be60c0000'), "author_name"=>"Elna Koelpin", "content"=>["Autem et et consequatur eius hic rem vero. Consequuntur fugiat rerum. Et et aut debitis eligendi sapiente odit. Magnam quisquam et animi quibusdam autem quasi. Placeat ad non inventore autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1381ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cae177735334be60b0000", "id"=>"530cae177735334be60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be60d0000'), "name"=>"Ms. Irwin Lindgren", "reference"=>"Lilyan Green I", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be60e0000'), "author_name"=>"Mr. Johanna Muller", "content"=>["Labore ipsam dolore consequatur vitae modi. Ut quasi vitae qui veritatis error illum vel. Alias maiores natus. Doloribus ut alias provident. Temporibus soluta ea cupiditate excepturi velit autem hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cae177735334be60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be60f0000'), "name"=>"Leo Raynor", "reference"=>"Taya Kilback", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be6100000'), "author_name"=>"Asa Keebler", "content"=>["Et perferendis quidem. Officia aspernatur odio sequi. Natus doloremque sint vel architecto ut. Autem sint neque eum vel sit dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cae177735334be60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be6110000'), "name"=>"Garnett Schuster PhD", "reference"=>"Ms. Rosalind Mann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be6120000'), "author_name"=>"Terrill Hettinger", "content"=>["Consequatur repudiandae tempore ipsam quia deleniti harum sapiente. Eum velit cupiditate aut quia. Omnis doloremque repellendus quia cum ut eius. Incidunt aut veritatis voluptatem. Odit voluptates amet aut quo molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cae177735334be6110000", "id"=>"530cae177735334be6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be6130000'), "name"=>"Alexanne Gorczany", "reference"=>"Pattie Lehner MD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae177735334be6140000'), "author_name"=>"Jasmin Herman", "content"=>["Veritatis nostrum perferendis harum. Qui et eum laboriosam. Quia consequatur porro sed dolorem dignissimos corrupti nulla. Odio voluptatum debitis corrupti hic sit nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae177735334be6140000", "product_id"=>"530cae177735334be6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6130000')} 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('530cae177735334be6130000'), "comments._id"=>BSON::ObjectId('530cae177735334be6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms Redirected to http://test.host/admin/products/530cae177735334be6130000/comments/530cae177735334be6140000 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('530cae177735334be6150000'), "name"=>"Friedrich Schroeder V", "reference"=>"Mazie Hermiston", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae177735334be6160000'), "firstname"=>"Gail", "lastname"=>"Kulas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae177735334be6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae177735334be6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms Redirected to http://test.host/admin/products/530cae177735334be6150000/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('530cae177735334be6180000'), "name"=>"Bradley Macejkovic MD", "reference"=>"Hildegard Marks", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae177735334be6190000'), "firstname"=>"Margie", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cae177735334be6190000", "product_id"=>"530cae177735334be6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be61a0000'), "name"=>"Rita Yost", "reference"=>"Makenna Barrows", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cae177735334be61b0000'), "firstname"=>"Bernard", "lastname"=>"Rutherford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cae177735334be61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be61a0000')} 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: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be61c0000'), "name"=>"Krystina Marquardt II", "reference"=>"Lori Kulas", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae177735334be61d0000'), "firstname"=>"Price", "lastname"=>"D'Amore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cae177735334be61d0000", "product_id"=>"530cae177735334be61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be61e0000'), "name"=>"Korey Baumbach IV", "reference"=>"Mrs. Janie Hickle", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae177735334be61f0000'), "firstname"=>"Melissa", "lastname"=>"Runolfsdottir"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cae177735334be61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae177735334be61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cae177735334be61e0000/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('530cae177735334be6200000'), "name"=>"Elmira Cartwright", "reference"=>"Angela Torp II", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1849ms 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('530cae177735334be6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Redirected to http://test.host/admin/products/530cae177735334be6210000 Completed 302 Found in 2ms 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('530cae177735334be6220000'), "name"=>"Elva Bergstrom", "reference"=>"Valentina MacGyver", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1894ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cae177735334be6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6220000')} 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 3ms 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('530cae177735334be6230000'), "name"=>"Dwight Oberbrunner", "reference"=>"Christop Bednar", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cae177735334be6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae177735334be6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae177735334be6240000'), "name"=>"Sam Doyle", "reference"=>"Amy Pouros DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms 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.5127ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6250000'), "name"=>"Mckenzie Homenick", "reference"=>"Chanel Baumbach", "quantity"=>"5"}] 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.6ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6280000'), "name"=>"Freeman Wuckert", "reference"=>"Ms. Wade Waters", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cae187735334be6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms 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('530cae187735334be6290000'), "name"=>"Dr. Jamil Oberbrunner", "reference"=>"Miss Adolfo Mohr", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae187735334be6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms Redirected to http://test.host/admin/products/530cae187735334be6290000 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('530cae187735334be62a0000'), "firstname"=>"Deja", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms 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('530cae187735334be62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Redirected to http://test.host/admin/users/530cae187735334be62b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae187735334be62c0000'), "firstname"=>"Judah", "lastname"=>"Schumm"}] 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=>"admin_users", :query=>{}} runtime: 0.1734ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cae187735334be62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be62c0000')} 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('530cae187735334be62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms 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('530cae187735334be62d0000'), "firstname"=>"Jude", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cae187735334be62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms 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('530cae187735334be62e0000'), "firstname"=>"Leonor", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms 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.3118ms 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('530cae187735334be62f0000'), "firstname"=>"Meghan", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae187735334be6300000'), "firstname"=>"Federico", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cae187735334be6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms 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('530cae187735334be6310000'), "firstname"=>"Chad", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae187735334be6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cae187735334be6310000 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('530cae187735334be6320000'), "firstname"=>"Darien", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8035ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1845ms 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('530cae187735334be6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms 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.1908ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae187735334be6340000'), "firstname"=>"Torrey", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cae187735334be6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae187735334be6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae187735334be6350000'), "firstname"=>"Ronaldo", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae187735334be6360000'), "firstname"=>"Icie", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cae187735334be6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae187735334be6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae187735334be6370000'), "firstname"=>"Broderick", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cae187735334be6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae187735334be6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms 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('530cae187735334be6380000'), "name"=>"Mrs. Maybelle Beier", "reference"=>"Paige Bailey", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be6390000'), "author_name"=>"Florida West", "content"=>["Quam et in. Et aut dolorum dolor velit amet sed inventore. Assumenda quos aliquam blanditiis corrupti quia dolores harum. Nihil fugit incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cae187735334be6380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae187735334be63a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Redirected to http://test.host/products/530cae187735334be6380000/comments/530cae187735334be63a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be63b0000'), "name"=>"Johanna Durgan", "reference"=>"Hilbert Collins", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be63c0000'), "author_name"=>"Tyreek Satterfield", "content"=>["Dolorum sed et excepturi sint quae quia et. Deserunt voluptas corporis. Enim non sed dolores aut provident at. Ea molestiae sapiente qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae187735334be63b0000", "id"=>"530cae187735334be63c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be63b0000')} 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('530cae187735334be63b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae187735334be63c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms Redirected to http://test.host/products/530cae187735334be63b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be63d0000'), "name"=>"Merritt O'Hara", "reference"=>"Dr. Tyreek Dietrich", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be63e0000'), "author_name"=>"Ozella Hammes", "content"=>["Porro laborum omnis dolorem. Et dolore rerum saepe veritatis molestiae velit. Sed enim dicta beatae sed deleniti assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cae187735334be63d0000", "id"=>"530cae187735334be63e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be63d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be63f0000'), "name"=>"Kaycee Fadel", "reference"=>"Vida Crona", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be6400000'), "author_name"=>"Georgiana Smith", "content"=>["Earum laboriosam repudiandae voluptatum. Corporis nostrum omnis animi itaque aut. Quae in veritatis deserunt quaerat distinctio odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cae187735334be63f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6410000'), "name"=>"Arjun Jacobi IV", "reference"=>"Gregorio Predovic", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be6420000'), "author_name"=>"Christina Schmidt", "content"=>["Eligendi autem reprehenderit hic et accusantium suscipit. Impedit reiciendis et. Nisi nesciunt ipsam. Possimus consequuntur magni. Rerum unde enim harum placeat repellat omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cae187735334be6410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6430000'), "name"=>"Lisandro O'Conner", "reference"=>"Abraham Kohler", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be6440000'), "author_name"=>"Eudora Corkery", "content"=>["Delectus asperiores velit nisi amet exercitationem iste hic. Ea exercitationem eligendi debitis. Aspernatur impedit autem omnis beatae perferendis minima. Voluptatem delectus dolor cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cae187735334be6430000", "id"=>"530cae187735334be6440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6450000'), "name"=>"Nathanael Hammes IV", "reference"=>"Hope Lueilwitz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae187735334be6460000'), "author_name"=>"Ola Schoen", "content"=>["Laborum quisquam eos deleniti. Officia sequi explicabo possimus aliquid ipsam. Non quisquam illum quia vel optio fugit voluptatem. Rerum velit ipsa eius quae non consequatur dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0659ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae187735334be6460000", "product_id"=>"530cae187735334be6450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6450000'), "comments._id"=>BSON::ObjectId('530cae187735334be6460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Redirected to http://test.host/products/530cae187735334be6450000/comments/530cae187735334be6460000 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('530cae187735334be6470000'), "firstname"=>"Loren", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2298ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Redirected to http://test.host/admin/clients/530cae187735334be6480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2419ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6490000'), "firstname"=>"Roma", "lastname"=>"Keebler"}] 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=>"clients", :query=>{}} runtime: 0.1734ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae187735334be6490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms 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.1944ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be64a0000'), "firstname"=>"Alanna", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae187735334be64a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms 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('530cae187735334be64b0000'), "firstname"=>"Royce", "lastname"=>"Klocko"}] 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.3212ms 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('530cae187735334be64c0000'), "firstname"=>"Tyreek", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5670ms 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('530cae187735334be64d0000'), "firstname"=>"Alta", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae187735334be64d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms 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('530cae187735334be64e0000'), "firstname"=>"Callie", "lastname"=>"Cummings"}] 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"=>"530cae187735334be64e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be64e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms Redirected to http://test.host/admin/clients/530cae187735334be64e0000 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('530cae187735334be64f0000'), "firstname"=>"Magnolia", "lastname"=>"Prosacco"}] 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=>"clients", :query=>{}} runtime: 0.1683ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms Redirected to http://test.host/clients/530cae187735334be6500000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1444ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6510000'), "firstname"=>"Cindy", "lastname"=>"Homenick"}] 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.1696ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae187735334be6510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6510000')} 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('530cae187735334be6510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms 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.1771ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6520000'), "firstname"=>"Isaac", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae187735334be6520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('530cae187735334be6530000'), "firstname"=>"Kaylah", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms 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('530cae187735334be6540000'), "firstname"=>"Krystal", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms 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('530cae187735334be6550000'), "firstname"=>"Katelin", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae187735334be6550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae187735334be6560000'), "firstname"=>"Retta", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae187735334be6560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae187735334be6560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms Redirected to http://test.host/clients/530cae187735334be6560000 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('530cae187735334be6570000'), "name"=>"Macie Bruen", "reference"=>"Isai Quitzon", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae187735334be6580000'), "firstname"=>"Ole", "lastname"=>"Larkin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae187735334be6570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6570000')} 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('530cae187735334be6570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae187735334be6590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Redirected to http://test.host/products/530cae187735334be6570000/manager Completed 302 Found in 30ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be65a0000'), "name"=>"Mrs. Susie Bogisich", "reference"=>"Helene Rempel III", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae187735334be65b0000'), "firstname"=>"Michel", "lastname"=>"Kling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cae187735334be65b0000", "product_id"=>"530cae187735334be65a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be65c0000'), "name"=>"Jaydon Farrell", "reference"=>"Paula Kihn", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cae187735334be65d0000'), "firstname"=>"Florian", "lastname"=>"Weber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cae187735334be65c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be65e0000'), "name"=>"Declan Sanford PhD", "reference"=>"Magnolia Wiegand", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae187735334be65f0000'), "firstname"=>"Clifford", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cae187735334be65f0000", "product_id"=>"530cae187735334be65e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6600000'), "name"=>"Edwardo O'Kon III", "reference"=>"Mrs. Hilbert Beier", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cae187735334be6610000'), "firstname"=>"Jeanie", "lastname"=>"Donnelly"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cae187735334be6610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae187735334be6600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Unpermitted parameters: name Redirected to http://test.host/products/530cae187735334be6600000/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('530cae187735334be6620000'), "name"=>"Mya Dare", "reference"=>"Mallie Rosenbaum DDS", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1811ms 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('530cae187735334be6630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Redirected to http://test.host/products/530cae187735334be6630000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6640000'), "name"=>"Johnpaul Moen I", "reference"=>"Dandre Collier", "quantity"=>"2"}] 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.1765ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cae187735334be6640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms 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.1867ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6650000'), "name"=>"Dr. Della Runte", "reference"=>"Novella Hettinger DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cae187735334be6650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6660000'), "name"=>"Marielle Hudson", "reference"=>"Althea Torphy II", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms 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.7253ms Completed 200 OK in 21ms (Views: 20.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6670000'), "name"=>"Ben Sporer", "reference"=>"Skyla Kuhn", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms 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.6999ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be6680000'), "name"=>"Ruben Jakubowski", "reference"=>"Paris Flatley", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cae187735334be6680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms 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('530cae187735334be6690000'), "name"=>"Katheryn Jerde MD", "reference"=>"Mr. Kaylie Botsford", "quantity"=>"2"}] 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 (28.6ms) Completed 200 OK in 32ms (Views: 30.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be66b0000'), "name"=>"Dr. Frederick Keeling", "reference"=>"Kamren Schuster DDS", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cae187735334be66b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be66c0000'), "name"=>"Mrs. Ahmad Larkin", "reference"=>"Alexander King IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms 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('530cae187735334be66d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae187735334be66e0000'), "name"=>"Garett Sipes", "reference"=>"Percy Huels", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cae187735334be66e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be66e0000')} 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('530cae187735334be66e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms 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('530cae187735334be66f0000'), "name"=>"Rowena Raynor", "reference"=>"Wilfredo Boehm", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms 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('530cae187735334be6710000'), "name"=>"Jillian Roob", "reference"=>"Perry Kutch", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0301ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae187735334be6710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6710000')} 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('530cae187735334be6710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms 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('530cae187735334be6720000'), "name"=>"Ludwig Reichert", "reference"=>"Dangelo Davis", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae187735334be6720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae187735334be6720000')} 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('530cae187735334be6720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Redirected to http://test.host/products/530cae187735334be6720000 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('530cae187735334be6730000'), "firstname"=>"Nash", "lastname"=>"Gulgowski"}] 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.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('530cae187735334be6740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Redirected to http://test.host/users/530cae187735334be6740000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1949ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae187735334be6750000'), "firstname"=>"Isobel", "lastname"=>"Sporer"}] 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=>"admin_users", :query=>{}} runtime: 0.1774ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cae187735334be6750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be6750000')} 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('530cae187735334be6750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms 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.1833ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae187735334be6760000'), "firstname"=>"Rae", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cae187735334be6760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be6760000')} 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.4ms) 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('530cae187735334be6770000'), "firstname"=>"Eleonore", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms 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.3509ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae187735334be6780000'), "firstname"=>"Marina", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cae187735334be6790000'), "firstname"=>"Candido", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cae187735334be6790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms 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('530cae187735334be67a0000'), "firstname"=>"Braxton", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae187735334be67a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae187735334be67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Unpermitted parameters: name Redirected to http://test.host/users/530cae187735334be67a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4757ms 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.3130ms 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.3136ms 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.3033ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae227735334c0e000000'), "firstname"=>"Dean", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2248ms 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('530cae227735334c0e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms 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.2500ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae227735334c0e020000'), "firstname"=>"Garrison", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 534.3661ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cae227735334c0e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae227735334c0e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e030000'), "firstname"=>"Jena", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e040000'), "firstname"=>"Golda", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cae237735334c0e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae237735334c0e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e050000'), "firstname"=>"Clarissa", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cae237735334c0e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae237735334c0e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms 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('530cae237735334c0e060000'), "name"=>"Mrs. Euna Ankunding", "reference"=>"Lea Quigley Jr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e070000'), "author_name"=>"Kendall Jast MD", "content"=>["Voluptates repellat aliquam est quia vero sit. Deleniti voluptas recusandae asperiores. Earum sit in porro. Id qui earum quidem. Sit ducimus sed deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cae237735334c0e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e060000')} 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('530cae237735334c0e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae237735334c0e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Redirected to http://test.host/admin/products/530cae237735334c0e060000/comments/530cae237735334c0e080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e090000'), "name"=>"Adolfo Connelly", "reference"=>"Kaelyn Jakubowski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e0a0000'), "author_name"=>"Josefina Stanton", "content"=>["Eius excepturi deserunt rerum. Architecto vel quidem voluptatem. Vel voluptatem qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae237735334c0e090000", "id"=>"530cae237735334c0e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae237735334c0e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms Redirected to http://test.host/admin/products/530cae237735334c0e090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e0b0000'), "name"=>"Jerome Altenwerth PhD", "reference"=>"George Funk", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e0c0000'), "author_name"=>"Alyce Boehm", "content"=>["Esse quam provident qui et fuga. Ducimus et et veniam voluptatem aut facere. Expedita deleniti commodi facere quaerat sed temporibus recusandae. Eos fugit voluptas ex odio sit sint ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cae237735334c0e0b0000", "id"=>"530cae237735334c0e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e0b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e0d0000'), "name"=>"Cordelia Altenwerth", "reference"=>"Stefanie Walter", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e0e0000'), "author_name"=>"Mrs. Macy Larkin", "content"=>["Sed id quibusdam illum illo. Aut sint delectus fugiat a error. Voluptatum asperiores dolor aspernatur et sunt officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cae237735334c0e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e0f0000'), "name"=>"Ashlynn Stanton", "reference"=>"Audrey Kris", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e100000'), "author_name"=>"Maribel Miller", "content"=>["Minima officiis nihil nam iure rerum. Consectetur omnis cum excepturi. Nihil cum natus accusamus debitis hic. Corrupti quasi incidunt maiores omnis consequatur et ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cae237735334c0e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e0f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e110000'), "name"=>"Mr. Katelyn Prosacco", "reference"=>"Alvena O'Connell", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e120000'), "author_name"=>"Leopoldo Buckridge", "content"=>["Libero culpa non reiciendis aspernatur. Rerum saepe sit. Qui deleniti voluptatem voluptatibus dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cae237735334c0e110000", "id"=>"530cae237735334c0e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e130000'), "name"=>"Mr. Bennett Veum", "reference"=>"Kaleigh Considine DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e140000'), "author_name"=>"Jedidiah Tillman Sr.", "content"=>["Non iste id. Qui illo eos. Ea ut autem rerum cumque itaque aut. Quia omnis eligendi provident. Labore quidem animi maxime fugiat autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae237735334c0e140000", "product_id"=>"530cae237735334c0e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e130000'), "comments._id"=>BSON::ObjectId('530cae237735334c0e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Redirected to http://test.host/admin/products/530cae237735334c0e130000/comments/530cae237735334c0e140000 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('530cae237735334c0e150000'), "name"=>"Jewel Dach", "reference"=>"Nicholas Simonis", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e160000'), "firstname"=>"Doug", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae237735334c0e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e150000')} 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('530cae237735334c0e150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms Redirected to http://test.host/admin/products/530cae237735334c0e150000/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('530cae237735334c0e180000'), "name"=>"Mrs. Archibald Kub", "reference"=>"Rhiannon Waters III", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e190000'), "firstname"=>"Monte", "lastname"=>"Treutel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5641ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cae237735334c0e190000", "product_id"=>"530cae237735334c0e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e1a0000'), "name"=>"Freddy Effertz DVM", "reference"=>"Wiley Borer", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e1b0000'), "firstname"=>"Marge", "lastname"=>"Pfeffer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cae237735334c0e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e1a0000')} 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: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e1c0000'), "name"=>"Mr. Brennan Cummings", "reference"=>"Sophie Emmerich", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e1d0000'), "firstname"=>"Wiley", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cae237735334c0e1d0000", "product_id"=>"530cae237735334c0e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e1e0000'), "name"=>"Manuel Schimmel", "reference"=>"Zella Ullrich", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae237735334c0e1f0000'), "firstname"=>"Felicity", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cae237735334c0e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae237735334c0e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cae237735334c0e1e0000/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('530cae237735334c0e200000'), "name"=>"Miss Charlie Hills", "reference"=>"Mrs. Amelie Dibbert", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1663ms 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('530cae237735334c0e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Redirected to http://test.host/admin/products/530cae237735334c0e210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1738ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e220000'), "name"=>"Emile MacGyver", "reference"=>"Veronica Gusikowski I", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1589ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cae237735334c0e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e220000')} 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('530cae237735334c0e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms 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.1704ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e230000'), "name"=>"Caesar Bartell DDS", "reference"=>"Bonnie Weimann", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cae237735334c0e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e230000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e240000'), "name"=>"Sigrid Bayer", "reference"=>"Joana Strosin Sr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms 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.5013ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e250000'), "name"=>"Allison Conn", "reference"=>"Piper Botsford", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) 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('530cae237735334c0e280000'), "name"=>"Jayde Cummerata", "reference"=>"Angeline Moen", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cae237735334c0e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms 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('530cae237735334c0e290000'), "name"=>"Faustino Herzog", "reference"=>"Stefanie Bartoletti I", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae237735334c0e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e290000')} 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('530cae237735334c0e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Redirected to http://test.host/admin/products/530cae237735334c0e290000 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('530cae237735334c0e2a0000'), "firstname"=>"Joy", "lastname"=>"Schuster"}] 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=>"admin_users", :query=>{}} runtime: 0.1807ms 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('530cae237735334c0e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Redirected to http://test.host/admin/users/530cae237735334c0e2b0000 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('530cae237735334c0e2c0000'), "firstname"=>"Robert", "lastname"=>"Carroll"}] 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.1716ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cae237735334c0e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae237735334c0e2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae237735334c0e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms 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.1847ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e2d0000'), "firstname"=>"Mariana", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cae237735334c0e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae237735334c0e2d0000')} 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.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('530cae237735334c0e2e0000'), "firstname"=>"Marilyne", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms 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.3067ms 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('530cae237735334c0e2f0000'), "firstname"=>"Jadon", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e300000'), "firstname"=>"Sonia", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cae237735334c0e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae237735334c0e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms 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('530cae237735334c0e310000'), "firstname"=>"Octavia", "lastname"=>"Prohaska"}] 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"=>"530cae237735334c0e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae237735334c0e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cae237735334c0e310000 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('530cae237735334c0e320000'), "firstname"=>"Greta", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms 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"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms 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.1919ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e340000'), "firstname"=>"Dolly", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cae237735334c0e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae237735334c0e340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e350000'), "firstname"=>"Cristopher", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e360000'), "firstname"=>"Celestino", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cae237735334c0e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae237735334c0e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e370000'), "firstname"=>"Pattie", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cae237735334c0e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae237735334c0e370000')} 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('530cae237735334c0e380000'), "name"=>"Leonel Keeling", "reference"=>"Rowan Harris PhD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e390000'), "author_name"=>"Leanna Cartwright MD", "content"=>["Quaerat unde ut aut occaecati quo. Et qui enim a eum. Qui deleniti vel sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e380000')} 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"=>"530cae237735334c0e380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae237735334c0e3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Redirected to http://test.host/products/530cae237735334c0e380000/comments/530cae237735334c0e3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e3b0000'), "name"=>"Miss Gaylord Ankunding", "reference"=>"Ms. Johnathon Bechtelar", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e3c0000'), "author_name"=>"Miss Rebeka Welch", "content"=>["Quas sunt sapiente dolores. Molestiae reprehenderit ducimus cumque. Ullam et quis dignissimos rerum tenetur voluptatum. Ut consequatur ut molestiae possimus autem voluptatibus vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae237735334c0e3b0000", "id"=>"530cae237735334c0e3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae237735334c0e3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Redirected to http://test.host/products/530cae237735334c0e3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e3d0000'), "name"=>"Laney Rolfson", "reference"=>"Rod Ward", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e3e0000'), "author_name"=>"Electa Bosco", "content"=>["Rerum qui fuga. Nesciunt beatae minus eos temporibus deserunt corporis. Et deserunt placeat maxime maiores ut ducimus. Porro et beatae quisquam voluptatem modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cae237735334c0e3d0000", "id"=>"530cae237735334c0e3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e3f0000'), "name"=>"Gaylord Auer", "reference"=>"Elmo Kessler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e400000'), "author_name"=>"Dr. Eliseo Altenwerth", "content"=>["Qui illo id et. Et nobis enim maiores quis ad dolore ut. Velit qui ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cae237735334c0e3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e410000'), "name"=>"Maegan Russel", "reference"=>"Ms. Luella Goyette", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e420000'), "author_name"=>"Delphine Schneider", "content"=>["Sed molestiae sed molestias quisquam dicta quam. Aut sint expedita tenetur qui rerum dolores. Dolore eos recusandae incidunt tempore eveniet ea vel. Aut natus iste culpa rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cae237735334c0e410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e430000'), "name"=>"Ashleigh Hilll", "reference"=>"Barbara Schulist", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e440000'), "author_name"=>"Leonardo Anderson", "content"=>["Delectus exercitationem ullam aut porro. Voluptatem voluptas aspernatur dolore eum quam dolorem alias. Sit eligendi sint blanditiis optio est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cae237735334c0e430000", "id"=>"530cae237735334c0e440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e450000'), "name"=>"Khalil Weber", "reference"=>"Shanie Parker", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cae237735334c0e460000'), "author_name"=>"Neha Auer", "content"=>["Est assumenda ratione ea nisi harum exercitationem porro. Et quis deleniti repellendus facilis sit. Possimus placeat odio molestiae perspiciatis voluptatem rerum. Omnis fugiat qui. Rerum qui quia dolore ipsum repellat non ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae237735334c0e460000", "product_id"=>"530cae237735334c0e450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae237735334c0e450000'), "comments._id"=>BSON::ObjectId('530cae237735334c0e460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Redirected to http://test.host/products/530cae237735334c0e450000/comments/530cae237735334c0e460000 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('530cae237735334c0e470000'), "firstname"=>"Carroll", "lastname"=>"Windler"}] 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=>"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('530cae237735334c0e480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Redirected to http://test.host/admin/clients/530cae237735334c0e480000 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('530cae237735334c0e490000'), "firstname"=>"Shania", "lastname"=>"Daugherty"}] 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=>"clients", :query=>{}} runtime: 0.1718ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae237735334c0e490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.3293ms Redirected to http://test.host/admin/clients Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2122ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e4a0000'), "firstname"=>"Ashley", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae237735334c0e4a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e4a0000')} 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.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('530cae237735334c0e4b0000'), "firstname"=>"Payton", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms 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('530cae237735334c0e4c0000'), "firstname"=>"Don", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms 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('530cae237735334c0e4d0000'), "firstname"=>"Aliya", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae237735334c0e4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms 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('530cae237735334c0e4e0000'), "firstname"=>"Janessa", "lastname"=>"Koelpin"}] 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"=>"530cae237735334c0e4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e4e0000')} 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('530cae237735334c0e4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Redirected to http://test.host/admin/clients/530cae237735334c0e4e0000 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('530cae237735334c0e4f0000'), "firstname"=>"Velda", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms 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('530cae237735334c0e500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms Redirected to http://test.host/clients/530cae237735334c0e500000 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('530cae237735334c0e510000'), "firstname"=>"Otha", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms 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"=>"530cae237735334c0e510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms 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.1767ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e520000'), "firstname"=>"Elton", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae237735334c0e520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms 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('530cae237735334c0e530000'), "firstname"=>"Henri", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e540000'), "firstname"=>"Demetrius", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms 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('530cae237735334c0e550000'), "firstname"=>"Kiarra", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae237735334c0e550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae237735334c0e560000'), "firstname"=>"Rebekah", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3112ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae237735334c0e560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae237735334c0e560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms Redirected to http://test.host/clients/530cae237735334c0e560000 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('530cae247735334c0e570000'), "name"=>"Savannah Tremblay", "reference"=>"Neil Barrows", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e580000'), "firstname"=>"Dwight", "lastname"=>"Kuvalis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae247735334c0e570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms Redirected to http://test.host/products/530cae247735334c0e570000/manager Completed 302 Found in 30ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e5a0000'), "name"=>"Breanne Hoeger", "reference"=>"Alexandro Swaniawski", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e5b0000'), "firstname"=>"Alec", "lastname"=>"Kassulke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cae247735334c0e5b0000", "product_id"=>"530cae247735334c0e5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 7.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e5c0000'), "name"=>"Ashly Bednar PhD", "reference"=>"Millie Wisozk", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e5d0000'), "firstname"=>"Abigale", "lastname"=>"Dicki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cae247735334c0e5c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e5e0000'), "name"=>"Mr. Rosina Nienow", "reference"=>"Loy Doyle", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e5f0000'), "firstname"=>"Ansel", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0787ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cae247735334c0e5f0000", "product_id"=>"530cae247735334c0e5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e600000'), "name"=>"Christian Gutmann", "reference"=>"Sabryna Hirthe", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cae247735334c0e610000'), "firstname"=>"Trystan", "lastname"=>"Reichert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cae247735334c0e610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae247735334c0e600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Unpermitted parameters: name Redirected to http://test.host/products/530cae247735334c0e600000/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('530cae247735334c0e620000'), "name"=>"Kyle Kemmer", "reference"=>"Ms. Hugh Hills", "quantity"=>"7"}] 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.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('530cae247735334c0e630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms Redirected to http://test.host/products/530cae247735334c0e630000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2374ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e640000'), "name"=>"Katherine Cassin", "reference"=>"Bernhard Leffler", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cae247735334c0e640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e640000')} 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('530cae247735334c0e640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms 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.1918ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e650000'), "name"=>"Pearline Witting", "reference"=>"Jacey Nader", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cae247735334c0e650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 8ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e660000'), "name"=>"Mackenzie Mayert", "reference"=>"Lowell Carter", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms 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.7249ms Completed 200 OK in 21ms (Views: 20.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e670000'), "name"=>"Trycia Will", "reference"=>"Braulio Ratke", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms 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.7174ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e680000'), "name"=>"Ms. Mona Durgan", "reference"=>"Mariam Haag", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cae247735334c0e680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e680000')} 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('530cae247735334c0e690000'), "name"=>"Jennifer Roob", "reference"=>"Lafayette Paucek", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.6ms) Completed 200 OK in 32ms (Views: 30.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e6b0000'), "name"=>"Ms. Sim Klocko", "reference"=>"Letitia Waters", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cae247735334c0e6b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e6c0000'), "name"=>"Jovany Tremblay", "reference"=>"Fernando Orn", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms 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('530cae247735334c0e6d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1844ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e6e0000'), "name"=>"Ericka Weissnat", "reference"=>"Ciara Hermiston", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cae247735334c0e6e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e6e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms 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('530cae247735334c0e6f0000'), "name"=>"Stephen Lakin MD", "reference"=>"Reyes Rowe", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms 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('530cae247735334c0e710000'), "name"=>"Faye Brakus", "reference"=>"Pierre Connelly IV", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae247735334c0e710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e710000')} 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('530cae247735334c0e710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms 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('530cae247735334c0e720000'), "name"=>"Trevor Hyatt", "reference"=>"Ms. Keeley Labadie", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae247735334c0e720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae247735334c0e720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms Redirected to http://test.host/products/530cae247735334c0e720000 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('530cae247735334c0e730000'), "firstname"=>"Amira", "lastname"=>"Skiles"}] 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.1839ms 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('530cae247735334c0e740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Redirected to http://test.host/users/530cae247735334c0e740000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e750000'), "firstname"=>"Justina", "lastname"=>"Terry"}] 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.1766ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cae247735334c0e750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae247735334c0e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae247735334c0e750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms 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('530cae247735334c0e760000'), "firstname"=>"Mckenna", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9185ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cae247735334c0e760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae247735334c0e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('530cae247735334c0e770000'), "firstname"=>"Annette", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms 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.3713ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae247735334c0e780000'), "firstname"=>"Jamey", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cae247735334c0e790000'), "firstname"=>"Lavonne", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cae247735334c0e790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae247735334c0e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms 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('530cae247735334c0e7a0000'), "firstname"=>"Mitchel", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae247735334c0e7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae247735334c0e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms Unpermitted parameters: name Redirected to http://test.host/users/530cae247735334c0e7a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms 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.3434ms 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.3331ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c000000'), "firstname"=>"Ashleigh", "lastname"=>"Kirlin"}] 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.2737ms 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('530cae747735334c4c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms 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.2475ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c020000'), "firstname"=>"Andreane", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.8083ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cae747735334c4c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 20.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c030000'), "firstname"=>"Prince", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c040000'), "firstname"=>"Shawna", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cae747735334c4c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c050000'), "firstname"=>"Eldred", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cae747735334c4c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c060000'), "name"=>"Kylie Goodwin", "reference"=>"Easton Altenwerth", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c070000'), "firstname"=>"Fermin", "lastname"=>"Ledner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae747735334c4c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c060000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c060000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c080000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Redirected to http://test.host/admin/products/530cae747735334c4c060000/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('530cae747735334c4c090000'), "name"=>"Raegan Rempel", "reference"=>"Patience Johnston V", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c0a0000'), "firstname"=>"Jovani", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cae747735334c4c0a0000", "product_id"=>"530cae747735334c4c090000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c0b0000'), "name"=>"Vanessa Schoen IV", "reference"=>"Ashley Hartmann", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c0c0000'), "firstname"=>"Edyth", "lastname"=>"Wunsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cae747735334c4c0b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c0b0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c0d0000'), "name"=>"Arielle Predovic", "reference"=>"Isaias Medhurst", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c0e0000'), "firstname"=>"Samara", "lastname"=>"Stark"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cae747735334c4c0e0000", "product_id"=>"530cae747735334c4c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c0f0000'), "name"=>"Miss Dylan Lynch", "reference"=>"Christy Raynor", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cae747735334c4c100000'), "firstname"=>"Darrel", "lastname"=>"Hahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cae747735334c4c100000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae747735334c4c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cae747735334c4c0f0000/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('530cae747735334c4c110000'), "name"=>"Madalyn Sanford", "reference"=>"Audreanne Grimes", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms 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('530cae747735334c4c120000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms Redirected to http://test.host/admin/products/530cae747735334c4c120000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1906ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c130000'), "name"=>"Ara Keeling DDS", "reference"=>"Destini Reichel", "quantity"=>"7"}] 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.1715ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cae747735334c4c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c130000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms 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.2140ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c140000'), "name"=>"Maryam DuBuque MD", "reference"=>"Grayson Romaguera", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cae747735334c4c140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c150000'), "name"=>"Crystel Terry", "reference"=>"Ivory Greenholt", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms 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.3873ms Completed 200 OK in 39ms (Views: 38.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c160000'), "name"=>"Eloy Kuphal", "reference"=>"Hilda Bode", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 19ms (Views: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c190000'), "name"=>"Maritza Metz", "reference"=>"Gladyce Homenick", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cae747735334c4c190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms 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('530cae747735334c4c1a0000'), "name"=>"Mrs. Jovan Hahn", "reference"=>"Zakary Kirlin", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae747735334c4c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae747735334c4c1a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms Redirected to http://test.host/admin/products/530cae747735334c4c1a0000 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('530cae747735334c4c1b0000'), "firstname"=>"Clementine", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1598ms 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('530cae747735334c4c1c0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms Redirected to http://test.host/admin/users/530cae747735334c4c1c0000 Completed 302 Found in 2ms 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('530cae747735334c4c1d0000'), "firstname"=>"Elton", "lastname"=>"Hintz"}] 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=>"admin_users", :query=>{}} runtime: 0.1513ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cae747735334c4c1d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae747735334c4c1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae747735334c4c1d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms 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.1628ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c1e0000'), "firstname"=>"Rosemarie", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cae747735334c4c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae747735334c4c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms 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('530cae747735334c4c1f0000'), "firstname"=>"Isadore", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms 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.3240ms 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('530cae747735334c4c200000'), "firstname"=>"Demarco", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4466ms 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('530cae747735334c4c210000'), "firstname"=>"August", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cae747735334c4c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae747735334c4c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms 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('530cae747735334c4c220000'), "firstname"=>"Anna", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae747735334c4c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae747735334c4c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cae747735334c4c220000 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('530cae747735334c4c230000'), "firstname"=>"Amya", "lastname"=>"Nikolaus"}] 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=>"administrators", :query=>{}} runtime: 0.1606ms 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('530cae747735334c4c240000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms 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.1651ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c250000'), "firstname"=>"Zechariah", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cae747735334c4c250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c250000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c260000'), "firstname"=>"Elvis", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c270000'), "firstname"=>"Kailee", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cae747735334c4c270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c280000'), "firstname"=>"Marilou", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cae747735334c4c280000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae747735334c4c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms 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('530cae747735334c4c290000'), "firstname"=>"Luisa", "lastname"=>"Schoen"}] 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.1595ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c2a0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Redirected to http://test.host/admin/clients/530cae747735334c4c2a0000 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('530cae747735334c4c2b0000'), "firstname"=>"Grover", "lastname"=>"Windler"}] 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.1503ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae747735334c4c2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c2b0000')} 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('530cae747735334c4c2b0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms 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.1697ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c2c0000'), "firstname"=>"Liza", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae747735334c4c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 7.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c2d0000'), "firstname"=>"Dax", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('530cae747735334c4c2e0000'), "firstname"=>"Sally", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c2f0000'), "firstname"=>"Dewitt", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae747735334c4c2f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms 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('530cae747735334c4c300000'), "firstname"=>"Delphine", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae747735334c4c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c300000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Redirected to http://test.host/admin/clients/530cae747735334c4c300000 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('530cae747735334c4c310000'), "firstname"=>"Harold", "lastname"=>"Roob"}] 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.1726ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c320000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Redirected to http://test.host/clients/530cae747735334c4c320000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1836ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c330000'), "firstname"=>"Helena", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1656ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae747735334c4c330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c330000')} 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('530cae747735334c4c330000')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1779ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c340000'), "firstname"=>"Gayle", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae747735334c4c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae747735334c4c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.6ms) Completed 200 OK in 37ms (Views: 36.1ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c350000'), "firstname"=>"Thomas", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms Completed 200 OK in 10ms (Views: 9.1ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae747735334c4c360000'), "firstname"=>"Emmy", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms 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('530cae757735334c4c370000'), "firstname"=>"Elouise", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae757735334c4c370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae757735334c4c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c380000'), "firstname"=>"Rylee", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae757735334c4c380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae757735334c4c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae757735334c4c380000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms Redirected to http://test.host/clients/530cae757735334c4c380000 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('530cae757735334c4c390000'), "name"=>"Cordia Bins", "reference"=>"Lori Feest", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c3a0000'), "firstname"=>"Dale", "lastname"=>"Sporer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae757735334c4c390000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c390000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c390000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c3b0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms Redirected to http://test.host/products/530cae757735334c4c390000/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('530cae757735334c4c3c0000'), "name"=>"Adrian Murphy", "reference"=>"Enrico Sanford", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c3d0000'), "firstname"=>"Bobbie", "lastname"=>"Kerluke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cae757735334c4c3d0000", "product_id"=>"530cae757735334c4c3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c3e0000'), "name"=>"Marlin Nader", "reference"=>"Nina Ondricka", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c3f0000'), "firstname"=>"Yoshiko", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cae757735334c4c3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c3e0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c400000'), "name"=>"Dashawn Kuvalis Jr.", "reference"=>"Keshaun Lubowitz", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c410000'), "firstname"=>"Tristin", "lastname"=>"Glover"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cae757735334c4c410000", "product_id"=>"530cae757735334c4c400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c420000'), "name"=>"Jarrell Luettgen", "reference"=>"Gisselle Medhurst", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cae757735334c4c430000'), "firstname"=>"Edwin", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cae757735334c4c430000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae757735334c4c420000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae757735334c4c420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Unpermitted parameters: name Redirected to http://test.host/products/530cae757735334c4c420000/manager Completed 302 Found in 3ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c440000'), "firstname"=>"Amya", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1840ms 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('530cae757735334c4c450000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Redirected to http://test.host/users/530cae757735334c4c450000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2031ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c460000'), "firstname"=>"Burdette", "lastname"=>"Keebler"}] 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.1847ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cae757735334c4c460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae757735334c4c460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae757735334c4c460000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms 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.1835ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c470000'), "firstname"=>"Joelle", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cae757735334c4c470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae757735334c4c470000')} 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.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('530cae757735334c4c480000'), "firstname"=>"Murl", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms 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 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c490000'), "firstname"=>"Lynn", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms 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.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae757735334c4c4a0000'), "firstname"=>"Howard", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cae757735334c4c4a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae757735334c4c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms 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('530cae757735334c4c4b0000'), "firstname"=>"Cristobal", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1587ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae757735334c4c4b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae757735334c4c4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Unpermitted parameters: name Redirected to http://test.host/users/530cae757735334c4c4b0000 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.3540ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms 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.3136ms 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.3044ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76000000'), "firstname"=>"Archibald", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2542ms 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('530cae8a7735334c76010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.2117ms Redirected to http://test.host/admin/administrator Completed 302 Found in 19ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2829ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76020000'), "firstname"=>"Joshuah", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cae8a7735334c76020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8a7735334c76020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 22ms (Views: 20.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76030000'), "firstname"=>"Julia", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76040000'), "firstname"=>"Nat", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cae8a7735334c76040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8a7735334c76040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76050000'), "firstname"=>"Eloise", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cae8a7735334c76050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8a7735334c76050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms 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('530cae8a7735334c76060000'), "name"=>"Kaylin Stark", "reference"=>"Osborne Flatley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c76070000'), "author_name"=>"Palma Von DVM", "content"=>["Iure et aliquid quis nihil. Minima amet aliquid eligendi nobis. Quod qui voluptate aut modi id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cae8a7735334c76060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae8a7735334c76080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms Redirected to http://test.host/admin/products/530cae8a7735334c76060000/comments/530cae8a7735334c76080000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76090000'), "name"=>"Alaina Gutmann", "reference"=>"Karlee Herman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c760a0000'), "author_name"=>"Adrienne Morar IV", "content"=>["Vel consequuntur atque expedita. Cupiditate excepturi voluptas laboriosam. Consequatur omnis voluptas ut aut sit et quaerat. Voluptatem rerum sint accusantium rerum autem sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae8a7735334c76090000", "id"=>"530cae8a7735334c760a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76090000')} 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('530cae8a7735334c76090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae8a7735334c760a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Redirected to http://test.host/admin/products/530cae8a7735334c76090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c760b0000'), "name"=>"Ardith Boehm", "reference"=>"Miss Deondre Reilly", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c760c0000'), "author_name"=>"Ms. Rolando Kilback", "content"=>["Harum qui est et veritatis tenetur molestiae. Iure dolorem esse. Labore nisi aut cumque autem iure. Voluptatem sit nulla non quam magnam. Nobis dolore aut magni et similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cae8a7735334c760b0000", "id"=>"530cae8a7735334c760c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c760b0000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c760d0000'), "name"=>"Antonette Lesch", "reference"=>"Javon Schneider", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c760e0000'), "author_name"=>"Sid Hahn", "content"=>["Molestiae corporis non non. Et corporis laudantium. Et eum sequi aut. Eveniet ipsam hic ut repellendus. Modi ex rerum veniam et saepe beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cae8a7735334c760d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c760d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c760f0000'), "name"=>"Noemi Cremin", "reference"=>"Emmanuelle Mertz", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c76100000'), "author_name"=>"Dr. Birdie Kuhic", "content"=>["Veniam sint non ducimus autem quaerat. Iste non harum deleniti illo ullam rerum et. Voluptatum est quidem. Et ullam numquam. Nam dignissimos et quia eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cae8a7735334c760f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c760f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76110000'), "name"=>"Ms. Brady Ferry", "reference"=>"Stan Eichmann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c76120000'), "author_name"=>"Miss Ebony Keebler", "content"=>["Repellendus dolorem sunt dolores debitis sit ab voluptatibus. Officiis consequatur molestias. Dolores eveniet iure placeat voluptatem sit itaque recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cae8a7735334c76110000", "id"=>"530cae8a7735334c76120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76130000'), "name"=>"Louvenia Berge", "reference"=>"Mrs. Neoma Murray", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cae8a7735334c76140000'), "author_name"=>"Marjolaine Little II", "content"=>["Pariatur temporibus ut veniam consequatur ut. Nemo at rerum. Officiis doloremque qui nulla qui odio reiciendis est. Quis eos unde doloribus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae8a7735334c76140000", "product_id"=>"530cae8a7735334c76130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76130000'), "comments._id"=>BSON::ObjectId('530cae8a7735334c76140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms Redirected to http://test.host/admin/products/530cae8a7735334c76130000/comments/530cae8a7735334c76140000 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('530cae8a7735334c76150000'), "name"=>"Eliseo Volkman", "reference"=>"Jaylin Klein", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c76160000'), "firstname"=>"Liliana", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5303ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae8a7735334c76150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c76170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Redirected to http://test.host/admin/products/530cae8a7735334c76150000/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('530cae8a7735334c76180000'), "name"=>"Mr. Wendy Morar", "reference"=>"Mrs. Lottie Swaniawski", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c76190000'), "firstname"=>"Sabryna", "lastname"=>"Morissette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cae8a7735334c76190000", "product_id"=>"530cae8a7735334c76180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c761a0000'), "name"=>"Erika Cartwright", "reference"=>"Jamie Hilll III", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c761b0000'), "firstname"=>"Patrick", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cae8a7735334c761a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c761a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c761c0000'), "name"=>"Bailee McCullough", "reference"=>"Mrs. Pauline Cruickshank", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c761d0000'), "firstname"=>"Kenneth", "lastname"=>"Connelly"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cae8a7735334c761d0000", "product_id"=>"530cae8a7735334c761c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c761c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c761e0000'), "name"=>"Jeanne Douglas", "reference"=>"Destany Trantow", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cae8a7735334c761f0000'), "firstname"=>"Rhianna", "lastname"=>"Bins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cae8a7735334c761f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae8a7735334c761e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c761e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cae8a7735334c761e0000/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('530cae8a7735334c76200000'), "name"=>"Tamara Wisoky", "reference"=>"Mr. Carolyn Crooks", "quantity"=>"3"}] 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=>"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('530cae8a7735334c76210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Redirected to http://test.host/admin/products/530cae8a7735334c76210000 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('530cae8a7735334c76220000'), "name"=>"General Wisoky", "reference"=>"Aniya Block", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1765ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cae8a7735334c76220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76220000')} 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('530cae8a7735334c76220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76230000'), "name"=>"Miss Guy Mertz", "reference"=>"Mr. Destiney Hammes", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cae8a7735334c76230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76230000')} 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.6ms) Completed 200 OK in 8ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76240000'), "name"=>"Kelsie Rath", "reference"=>"Destini Abshire", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms 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.5128ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76250000'), "name"=>"Lamont Hermiston", "reference"=>"Eulalia Bechtelar", "quantity"=>"7"}] 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.8ms) Completed 200 OK in 21ms (Views: 5.1ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c76280000'), "name"=>"Dr. Christina Ortiz", "reference"=>"Kayley Swift", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cae8a7735334c76280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms 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('530cae8a7735334c76290000'), "name"=>"Dr. Sadie Brakus", "reference"=>"Tessie Walker", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae8a7735334c76290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8a7735334c76290000')} 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('530cae8a7735334c76290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Redirected to http://test.host/admin/products/530cae8a7735334c76290000 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('530cae8a7735334c762a0000'), "firstname"=>"Geo", "lastname"=>"Parker"}] 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=>"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('530cae8a7735334c762b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Redirected to http://test.host/admin/users/530cae8a7735334c762b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1996ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c762c0000'), "firstname"=>"Jerald", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms 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"=>"530cae8a7735334c762c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8a7735334c762c0000')} 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('530cae8a7735334c762c0000')} 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.1769ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c762d0000'), "firstname"=>"Jarret", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cae8a7735334c762d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8a7735334c762d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae8a7735334c762e0000'), "firstname"=>"Lelah", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms 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.2637ms 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('530cae8b7735334c762f0000'), "firstname"=>"Ryann", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms 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('530cae8b7735334c76300000'), "firstname"=>"Ethel", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6890ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cae8b7735334c76300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms 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('530cae8b7735334c76310000'), "firstname"=>"Waino", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae8b7735334c76310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cae8b7735334c76310000 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('530cae8b7735334c76320000'), "firstname"=>"Ella", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2127ms 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('530cae8b7735334c76330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms 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.1942ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76340000'), "firstname"=>"Antwon", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cae8b7735334c76340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8b7735334c76340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76350000'), "firstname"=>"Elliott", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76360000'), "firstname"=>"Marcellus", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cae8b7735334c76360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8b7735334c76360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76370000'), "firstname"=>"Blake", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cae8b7735334c76370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cae8b7735334c76370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms 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('530cae8b7735334c76380000'), "name"=>"Camila Haley", "reference"=>"Robin Glover", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c76390000'), "author_name"=>"Haleigh Lemke I", "content"=>["Minus laboriosam facere reprehenderit voluptatem. Commodi non a alias deserunt pariatur nam sed. Aut a animi eveniet quam. Nulla rerum impedit quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76380000')} 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"=>"530cae8b7735334c76380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae8b7735334c763a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Redirected to http://test.host/products/530cae8b7735334c76380000/comments/530cae8b7735334c763a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1955ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c763b0000'), "name"=>"Beth Funk II", "reference"=>"Jettie Rodriguez", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c763c0000'), "author_name"=>"Pinkie Bruen", "content"=>["Beatae consectetur fuga hic quo aliquid id. Expedita quae earum odit. Animi quod ut. Aut omnis perspiciatis voluptatum et dolorem ea id. Eum iusto aliquid dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cae8b7735334c763b0000", "id"=>"530cae8b7735334c763c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cae8b7735334c763c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms Redirected to http://test.host/products/530cae8b7735334c763b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c763d0000'), "name"=>"Mrs. Corbin Connelly", "reference"=>"Shanel Mraz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c763e0000'), "author_name"=>"Isabelle Ferry", "content"=>["Est sit iste. Sint sit iure dolorem quia rerum. Similique nulla voluptates expedita. Qui architecto dolor quia. Et vitae tempore velit deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cae8b7735334c763d0000", "id"=>"530cae8b7735334c763e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c763f0000'), "name"=>"Lisandro Turcotte V", "reference"=>"Houston Hoppe", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c76400000'), "author_name"=>"Marisol Franecki", "content"=>["Totam sit voluptate sit dicta. Molestias autem impedit. Aut nostrum atque non qui. Id voluptatem neque aut nam quidem. Aspernatur enim aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cae8b7735334c763f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c763f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76410000'), "name"=>"Pascale Sanford", "reference"=>"Elfrieda Boehm", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c76420000'), "author_name"=>"Garland Ondricka", "content"=>["Doloribus fugit magni accusantium non et voluptatem. Necessitatibus repellat aut. Fugit quia rerum voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cae8b7735334c76410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76430000'), "name"=>"Lexi Schamberger", "reference"=>"Hudson Jaskolski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c76440000'), "author_name"=>"Mr. Karlee Legros", "content"=>["Et nihil aut adipisci sit. Ullam et quaerat doloribus et dolorem assumenda atque. Earum rerum minus. Id est saepe ad ratione adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cae8b7735334c76430000", "id"=>"530cae8b7735334c76440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76450000'), "name"=>"Chanelle Hettinger", "reference"=>"Devan Maggio", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cae8b7735334c76460000'), "author_name"=>"Eldridge Rodriguez", "content"=>["Enim tempore labore porro quidem non. Incidunt qui cupiditate repellat et id aperiam. Ullam at incidunt vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cae8b7735334c76460000", "product_id"=>"530cae8b7735334c76450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76450000')} 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('530cae8b7735334c76450000'), "comments._id"=>BSON::ObjectId('530cae8b7735334c76460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/products/530cae8b7735334c76450000/comments/530cae8b7735334c76460000 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('530cae8b7735334c76470000'), "firstname"=>"Casper", "lastname"=>"Bergstrom"}] 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.2095ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Redirected to http://test.host/admin/clients/530cae8b7735334c76480000 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('530cae8b7735334c76490000'), "firstname"=>"Kristofer", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1756ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae8b7735334c76490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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.2053ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c764a0000'), "firstname"=>"Maximus", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae8b7735334c764a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c764a0000')} 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.4ms) Completed 200 OK in 9ms (Views: 7.7ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c764b0000'), "firstname"=>"Hans", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms 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('530cae8b7735334c764c0000'), "firstname"=>"Keegan", "lastname"=>"Ziemann"}] 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.9ms) 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('530cae8b7735334c764d0000'), "firstname"=>"Tierra", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae8b7735334c764d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c764d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms 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('530cae8b7735334c764e0000'), "firstname"=>"Tito", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae8b7735334c764e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c764e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c764e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms Redirected to http://test.host/admin/clients/530cae8b7735334c764e0000 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('530cae8b7735334c764f0000'), "firstname"=>"Winnifred", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1711ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms Redirected to http://test.host/clients/530cae8b7735334c76500000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76510000'), "firstname"=>"Celia", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1605ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cae8b7735334c76510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms 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('530cae8b7735334c76520000'), "firstname"=>"Linnea", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cae8b7735334c76520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms 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('530cae8b7735334c76530000'), "firstname"=>"Madalyn", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76540000'), "firstname"=>"Ali", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9442ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76550000'), "firstname"=>"Karelle", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cae8b7735334c76550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76560000'), "firstname"=>"Hollie", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cae8b7735334c76560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cae8b7735334c76560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms Redirected to http://test.host/clients/530cae8b7735334c76560000 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('530cae8b7735334c76570000'), "name"=>"Stanley Schuppe", "reference"=>"Ms. Taryn Moen", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c76580000'), "firstname"=>"Ludwig", "lastname"=>"Gerlach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cae8b7735334c76570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76570000')} 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('530cae8b7735334c76570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c76590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Redirected to http://test.host/products/530cae8b7735334c76570000/manager Completed 302 Found in 31ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c765a0000'), "name"=>"Loraine Hermann", "reference"=>"Laverne Bruen", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c765b0000'), "firstname"=>"Daryl", "lastname"=>"Littel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cae8b7735334c765b0000", "product_id"=>"530cae8b7735334c765a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c765a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 6.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c765c0000'), "name"=>"Beverly Ondricka", "reference"=>"Nakia Adams", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c765d0000'), "firstname"=>"Delmer", "lastname"=>"Ondricka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cae8b7735334c765c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c765c0000')} 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.2ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c765e0000'), "name"=>"Miss Alayna Leannon", "reference"=>"Dariana Roob", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c765f0000'), "firstname"=>"Vida", "lastname"=>"Homenick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cae8b7735334c765f0000", "product_id"=>"530cae8b7735334c765e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c765e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76600000'), "name"=>"Jesse Ledner", "reference"=>"Kraig Schulist", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cae8b7735334c76610000'), "firstname"=>"Noemy", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cae8b7735334c76610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cae8b7735334c76600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Unpermitted parameters: name Redirected to http://test.host/products/530cae8b7735334c76600000/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('530cae8b7735334c76620000'), "name"=>"Estella Harris", "reference"=>"Ms. Autumn Blick", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2006ms 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('530cae8b7735334c76630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms Redirected to http://test.host/products/530cae8b7735334c76630000 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('530cae8b7735334c76640000'), "name"=>"Beulah Swaniawski", "reference"=>"Elisha Turner", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1809ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cae8b7735334c76640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms 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.1686ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76650000'), "name"=>"Mrs. Winifred Hilpert", "reference"=>"Valerie Kohler IV", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cae8b7735334c76650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 8ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76660000'), "name"=>"Kurt Bruen V", "reference"=>"Mr. Josefa Braun", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms 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.7102ms Completed 200 OK in 20ms (Views: 20.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76670000'), "name"=>"Corrine Brekke", "reference"=>"Hugh Bailey", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms 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.6761ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76680000'), "name"=>"Blair Dietrich", "reference"=>"Mr. Ned Fay", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cae8b7735334c76680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms 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('530cae8b7735334c76690000'), "name"=>"Kris Bergnaum", "reference"=>"Russell Morar", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.7ms) Completed 200 OK in 33ms (Views: 32.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c766b0000'), "name"=>"Mrs. Lelia Kemmer", "reference"=>"Brennon McKenzie I", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cae8b7735334c766b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c766b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms Completed 200 OK in 4ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c766c0000'), "name"=>"Santiago Mayert", "reference"=>"Rhiannon Lehner", "quantity"=>"4"}] 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=>"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('530cae8b7735334c766d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Completed 201 Created in 3ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2712ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c766e0000'), "name"=>"Damien Thompson", "reference"=>"Damaris Carroll IV", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cae8b7735334c766e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c766e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c766e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Completed 200 OK in 4ms (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('530cae8b7735334c766f0000'), "name"=>"Oda Feil", "reference"=>"Mrs. Carmelo Kassulke", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms 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('530cae8b7735334c76710000'), "name"=>"Mr. Julianne Rempel", "reference"=>"Caitlyn Keeling", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae8b7735334c76710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms 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('530cae8b7735334c76720000'), "name"=>"Angelo Schuster Sr.", "reference"=>"Savanna Hansen DDS", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cae8b7735334c76720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cae8b7735334c76720000')} 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('530cae8b7735334c76720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms Redirected to http://test.host/products/530cae8b7735334c76720000 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('530cae8b7735334c76730000'), "firstname"=>"Corene", "lastname"=>"Smitham"}] 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=>"admin_users", :query=>{}} runtime: 0.1839ms 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('530cae8b7735334c76740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Redirected to http://test.host/users/530cae8b7735334c76740000 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('530cae8b7735334c76750000'), "firstname"=>"Olga", "lastname"=>"Moore"}] 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.1752ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cae8b7735334c76750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms 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.1954ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76760000'), "firstname"=>"Elisabeth", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cae8b7735334c76760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('530cae8b7735334c76770000'), "firstname"=>"Tracey", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms 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.3224ms 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('530cae8b7735334c76780000'), "firstname"=>"Elliott", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cae8b7735334c76790000'), "firstname"=>"Raoul", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cae8b7735334c76790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c76790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms 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('530cae8b7735334c767a0000'), "firstname"=>"Reta", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cae8b7735334c767a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cae8b7735334c767a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Unpermitted parameters: name Redirected to http://test.host/users/530cae8b7735334c767a0000 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: 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.4093ms 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.2430ms 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.2382ms 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.2283ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31000000'), "firstname"=>"Shaniya", "lastname"=>"Collins"}] 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.2102ms 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('530caed17735334d31010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms 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.1876ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31020000'), "firstname"=>"Amira", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530caed17735334d31020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31030000'), "firstname"=>"Dagmar", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31040000'), "firstname"=>"Addie", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530caed17735334d31040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31050000'), "firstname"=>"Kariane", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530caed17735334d31050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms 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('530caed17735334d31060000'), "name"=>"Joshuah Ortiz", "reference"=>"Tressie Casper III", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d31070000'), "author_name"=>"Caterina Runte", "content"=>["Consequatur harum sunt. Necessitatibus et et ipsum eius vitae rem. Ipsam quis odio. Et et unde eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caed17735334d31060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caed17735334d31080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/admin/products/530caed17735334d31060000/comments/530caed17735334d31080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31090000'), "name"=>"Mckenna Daugherty", "reference"=>"Ayana Steuber", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d310a0000'), "author_name"=>"Cara Schamberger", "content"=>["Consequatur aut aut beatae unde. Dolores ea sapiente magnam omnis. Molestiae aliquam pariatur. Sit consectetur eos quae non dolores hic repellendus. Sit sed repellendus at quasi totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530caed17735334d31090000", "id"=>"530caed17735334d310a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31090000')} 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('530caed17735334d31090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caed17735334d310a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms Redirected to http://test.host/admin/products/530caed17735334d31090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d310b0000'), "name"=>"Greg Beahan PhD", "reference"=>"Irving Stokes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d310c0000'), "author_name"=>"Frederique Turcotte", "content"=>["Rerum atque labore animi. Blanditiis molestias minus perferendis sed nihil. Expedita velit et cum nihil similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530caed17735334d310b0000", "id"=>"530caed17735334d310c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d310b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d310d0000'), "name"=>"Noemi Mraz Jr.", "reference"=>"Stanford Bailey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d310e0000'), "author_name"=>"Miss Domenick Prosacco", "content"=>["Et voluptas sed vero quia eaque dolores. Consequatur sit fuga. Dolorem distinctio repellat cum esse voluptatem porro explicabo. Cupiditate doloribus nisi vel nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530caed17735334d310d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d310d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d310f0000'), "name"=>"Marcia Jones", "reference"=>"Sonny Quigley MD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d31100000'), "author_name"=>"Nettie Pfeffer", "content"=>["Nostrum mollitia doloremque iste recusandae. Commodi optio minima architecto quod. Sed amet ea aut illo assumenda. Odit pariatur non est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530caed17735334d310f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d310f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31110000'), "name"=>"Jazmin Zulauf IV", "reference"=>"Reilly Herman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d31120000'), "author_name"=>"Cecilia Kunde", "content"=>["Officiis quia ad unde qui sed ex nisi. Praesentium pariatur ut. Similique et ea porro vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530caed17735334d31110000", "id"=>"530caed17735334d31120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31130000'), "name"=>"Miss Kristian Boyer", "reference"=>"Winnifred Sanford IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d31140000'), "author_name"=>"Miss Montana Stoltenberg", "content"=>["Alias veniam culpa natus autem ex. Est iste sint ab voluptatem laboriosam consequatur. Incidunt iste saepe ut ut praesentium cum. Deleniti omnis fugit consequatur veniam tempora atque minima. Cum est laborum occaecati nihil quo ipsa at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caed17735334d31140000", "product_id"=>"530caed17735334d31130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31130000'), "comments._id"=>BSON::ObjectId('530caed17735334d31140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Redirected to http://test.host/admin/products/530caed17735334d31130000/comments/530caed17735334d31140000 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('530caed17735334d31150000'), "name"=>"Schuyler Keeling Sr.", "reference"=>"Rogelio Rippin", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caed17735334d31160000'), "firstname"=>"Khalid", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caed17735334d31150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31150000')} 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('530caed17735334d31150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caed17735334d31170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms Redirected to http://test.host/admin/products/530caed17735334d31150000/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('530caed17735334d31180000'), "name"=>"Makayla Schmeler III", "reference"=>"Blaze McKenzie", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530caed17735334d31190000'), "firstname"=>"Amara", "lastname"=>"Nitzsche"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530caed17735334d31190000", "product_id"=>"530caed17735334d31180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.0ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d311a0000'), "name"=>"Emory Schmeler", "reference"=>"Bulah Stroman", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530caed17735334d311b0000'), "firstname"=>"Merl", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530caed17735334d311a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d311a0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d311c0000'), "name"=>"Mrs. Maiya Green", "reference"=>"Ms. Emerald Dickens", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530caed17735334d311d0000'), "firstname"=>"Frederic", "lastname"=>"Schaefer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530caed17735334d311d0000", "product_id"=>"530caed17735334d311c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d311c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d311e0000'), "name"=>"Mrs. Diamond Cruickshank", "reference"=>"Alphonso Greenholt", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530caed17735334d311f0000'), "firstname"=>"Van", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530caed17735334d311f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caed17735334d311e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d311e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530caed17735334d311e0000/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('530caed17735334d31200000'), "name"=>"Kadin Mitchell", "reference"=>"Brant Dietrich IV", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1631ms 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('530caed17735334d31210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms Redirected to http://test.host/admin/products/530caed17735334d31210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31220000'), "name"=>"Mr. Zachariah Wolf", "reference"=>"Peter Nolan III", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1652ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530caed17735334d31220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms 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.1942ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31230000'), "name"=>"Dr. Everette Hilpert", "reference"=>"Miss Ida Schultz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530caed17735334d31230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 13ms (Views: 11.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31240000'), "name"=>"Roy McLaughlin", "reference"=>"Melvin Treutel", "quantity"=>"2"}] 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.5250ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31250000'), "name"=>"Don Dare", "reference"=>"Lessie Sporer PhD", "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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d31280000'), "name"=>"Trystan Greenholt", "reference"=>"Ceasar Johnson Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530caed17735334d31280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms 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('530caed17735334d31290000'), "name"=>"Teagan Bashirian", "reference"=>"Dr. Melvina Buckridge", "quantity"=>"4"}] 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"=>"530caed17735334d31290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31290000')} 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('530caed17735334d31290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Redirected to http://test.host/admin/products/530caed17735334d31290000 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('530caed17735334d312a0000'), "firstname"=>"Turner", "lastname"=>"Smitham"}] 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=>"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('530caed17735334d312b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Redirected to http://test.host/admin/users/530caed17735334d312b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1951ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed17735334d312c0000'), "firstname"=>"Jeanie", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms 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"=>"530caed17735334d312c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed17735334d312c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed17735334d312c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms 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.1802ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed17735334d312d0000'), "firstname"=>"Rosalia", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530caed17735334d312d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed17735334d312d0000')} 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.7ms) Completed 200 OK in 7ms (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('530caed17735334d312e0000'), "firstname"=>"Rupert", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0747ms 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.3115ms 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('530caed17735334d312f0000'), "firstname"=>"Jovani", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms 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('530caed17735334d31300000'), "firstname"=>"Mariano", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530caed17735334d31300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed17735334d31300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms 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('530caed17735334d31310000'), "firstname"=>"Giovanna", "lastname"=>"Emmerich"}] 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"=>"530caed17735334d31310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed17735334d31310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530caed17735334d31310000 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('530caed17735334d31320000'), "firstname"=>"Kenneth", "lastname"=>"Morar"}] 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=>"administrators", :query=>{}} runtime: 0.1822ms 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('530caed17735334d31330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms 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.1944ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31340000'), "firstname"=>"Aryanna", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530caed17735334d31340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31350000'), "firstname"=>"Thea", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31360000'), "firstname"=>"Zoe", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530caed17735334d31360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caed17735334d31370000'), "firstname"=>"Natasha", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530caed17735334d31370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caed17735334d31370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms 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('530caed17735334d31380000'), "name"=>"Murray Walter Sr.", "reference"=>"Paolo Smith", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d31390000'), "author_name"=>"Dorcas Hills", "content"=>["Dolores aliquam quaerat sunt accusantium. Facere quaerat deserunt reprehenderit. Dignissimos accusantium velit alias eum nemo ut. Voluptatem nulla et ullam ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caed17735334d31380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caed17735334d313a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms Redirected to http://test.host/products/530caed17735334d31380000/comments/530caed17735334d313a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d31380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d313b0000'), "name"=>"Max Zemlak", "reference"=>"Matilde Bartoletti", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d313c0000'), "author_name"=>"Coleman Stehr", "content"=>["Molestiae saepe ex amet. Voluptatem ut molestias quisquam sit sequi. Nostrum aut harum aut unde laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d313b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530caed17735334d313b0000", "id"=>"530caed17735334d313c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d313b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d313b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caed17735334d313c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms Redirected to http://test.host/products/530caed17735334d313b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d313b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed17735334d313d0000'), "name"=>"Mr. Verlie Fahey", "reference"=>"Shyanne Kuhlman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caed17735334d313e0000'), "author_name"=>"Margaretta Sporer MD", "content"=>["Et sint asperiores officiis. Est expedita sed. Et sint aliquid ut sed omnis. Voluptas fugiat facere non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530caed17735334d313d0000", "id"=>"530caed17735334d313e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed17735334d313d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d313f0000'), "name"=>"Sandrine Shanahan", "reference"=>"Mathilde Haley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caed27735334d31400000'), "author_name"=>"Theodora Wisoky", "content"=>["Impedit repellendus voluptate. Minima atque ut reprehenderit quisquam error ut. Vel soluta ut magni rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530caed27735334d313f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d313f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31410000'), "name"=>"Mr. Abigail Kulas", "reference"=>"Myrtice Heller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caed27735334d31420000'), "author_name"=>"Mallie Adams I", "content"=>["Temporibus earum harum officia. Et quibusdam et dolor in. Soluta incidunt dolores animi libero. Et quo sunt odio earum et et nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530caed27735334d31410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31430000'), "name"=>"Kaitlyn Schimmel", "reference"=>"Dr. Ofelia McGlynn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caed27735334d31440000'), "author_name"=>"Layne Kessler", "content"=>["A non ducimus odit aliquam. Nesciunt id eligendi necessitatibus minus. Quo modi consectetur praesentium aut magni. Architecto velit iure consectetur quia et. Unde laborum vel porro repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530caed27735334d31430000", "id"=>"530caed27735334d31440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31450000'), "name"=>"Carolanne Erdman", "reference"=>"Monte Maggio", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caed27735334d31460000'), "author_name"=>"May Sauer", "content"=>["Voluptate tempora quo. Molestiae delectus est dolorem aliquid est quas. Qui alias dolorum dolorem quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caed27735334d31460000", "product_id"=>"530caed27735334d31450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31450000'), "comments._id"=>BSON::ObjectId('530caed27735334d31460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Redirected to http://test.host/products/530caed27735334d31450000/comments/530caed27735334d31460000 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('530caed27735334d31470000'), "firstname"=>"Cristopher", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1773ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caed27735334d31480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Redirected to http://test.host/admin/clients/530caed27735334d31480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1997ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caed27735334d31490000'), "firstname"=>"Cameron", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms 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"=>"530caed27735334d31490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms 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.1983ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caed27735334d314a0000'), "firstname"=>"Alfonzo", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caed27735334d314a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d314a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms 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('530caed27735334d314b0000'), "firstname"=>"Flavio", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms 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('530caed27735334d314c0000'), "firstname"=>"Luella", "lastname"=>"Bernier"}] 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 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('530caed27735334d314d0000'), "firstname"=>"Aracely", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caed27735334d314d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d314d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms 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('530caed27735334d314e0000'), "firstname"=>"Nels", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caed27735334d314e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d314e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d314e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Redirected to http://test.host/admin/clients/530caed27735334d314e0000 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('530caed27735334d314f0000'), "firstname"=>"Leone", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1759ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caed27735334d31500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms Redirected to http://test.host/clients/530caed27735334d31500000 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('530caed27735334d31510000'), "firstname"=>"Rose", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms 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"=>"530caed27735334d31510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31510000')} 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('530caed27735334d31510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms 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('530caed27735334d31520000'), "firstname"=>"Salvador", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caed27735334d31520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms 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('530caed27735334d31530000'), "firstname"=>"Jonatan", "lastname"=>"Stokes"}] 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.3580ms 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('530caed27735334d31540000'), "firstname"=>"Austen", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms 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('530caed27735334d31550000'), "firstname"=>"Dawn", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caed27735334d31550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caed27735334d31560000'), "firstname"=>"Nash", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caed27735334d31560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caed27735334d31560000')} 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('530caed27735334d31560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Redirected to http://test.host/clients/530caed27735334d31560000 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('530caed27735334d31570000'), "name"=>"Nash Walsh", "reference"=>"Alisa Eichmann", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530caed27735334d31580000'), "firstname"=>"Gudrun", "lastname"=>"Ryan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caed27735334d31570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caed27735334d31590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Redirected to http://test.host/products/530caed27735334d31570000/manager Completed 302 Found in 30ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d315a0000'), "name"=>"Mac Kihn", "reference"=>"Kira Prosacco", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caed27735334d315b0000'), "firstname"=>"Juliet", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530caed27735334d315b0000", "product_id"=>"530caed27735334d315a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d315a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d315c0000'), "name"=>"Vaughn Osinski", "reference"=>"Corene Crist", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caed27735334d315d0000'), "firstname"=>"Arnulfo", "lastname"=>"Stamm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530caed27735334d315c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d315c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d315e0000'), "name"=>"Leonora Effertz", "reference"=>"Clementine Maggio", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530caed27735334d315f0000'), "firstname"=>"Lewis", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530caed27735334d315f0000", "product_id"=>"530caed27735334d315e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d315e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31600000'), "name"=>"Jacky Green", "reference"=>"Graham Predovic DVM", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530caed27735334d31610000'), "firstname"=>"Barton", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530caed27735334d31610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caed27735334d31600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Unpermitted parameters: name Redirected to http://test.host/products/530caed27735334d31600000/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('530caed27735334d31620000'), "name"=>"Althea Hintz", "reference"=>"Winifred Kshlerin Sr.", "quantity"=>"7"}] 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.1847ms 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('530caed27735334d31630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Redirected to http://test.host/products/530caed27735334d31630000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2465ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31640000'), "name"=>"Madison Bogan IV", "reference"=>"Carlotta Green I", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1771ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530caed27735334d31640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31640000')} 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('530caed27735334d31640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms 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('530caed27735334d31650000'), "name"=>"Betty Abbott V", "reference"=>"Dasia Schroeder", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530caed27735334d31650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530caed27735334d31660000'), "name"=>"Frederique Dibbert", "reference"=>"Ms. Coleman Berge", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms 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.7149ms Completed 200 OK in 21ms (Views: 20.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31670000'), "name"=>"Charley Waelchi", "reference"=>"Alexane Hayes", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms 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.6854ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d31680000'), "name"=>"Mr. Forest Borer", "reference"=>"Katelin Denesik", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530caed27735334d31680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31680000')} 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('530caed27735334d31690000'), "name"=>"Jaylen Rice", "reference"=>"Ibrahim West", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7021ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.6ms) Completed 200 OK in 32ms (Views: 30.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d316b0000'), "name"=>"Chet Spencer I", "reference"=>"Ms. Santos Wisozk", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530caed27735334d316b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d316b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Completed 200 OK in 4ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d316c0000'), "name"=>"Timmy Walter I", "reference"=>"Gladyce Schmidt", "quantity"=>"3"}] 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.2019ms 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('530caed27735334d316d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1979ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caed27735334d316e0000'), "name"=>"Jaleel Okuneva", "reference"=>"Suzanne Heller", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530caed27735334d316e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d316e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d316e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms 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('530caed27735334d316f0000'), "name"=>"Dominic Glover", "reference"=>"Jodie Spencer", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms 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('530caed27735334d31710000'), "name"=>"Ernestina Crona", "reference"=>"Reta Leffler", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caed27735334d31710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31710000')} 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('530caed27735334d31710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms 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('530caed27735334d31720000'), "name"=>"Johanna Ebert", "reference"=>"Floyd Pfannerstill", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caed27735334d31720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caed27735334d31720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms Redirected to http://test.host/products/530caed27735334d31720000 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('530caed27735334d31730000'), "firstname"=>"Domingo", "lastname"=>"Muller"}] 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=>"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('530caed27735334d31740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Redirected to http://test.host/users/530caed27735334d31740000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1956ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed27735334d31750000'), "firstname"=>"Charley", "lastname"=>"Cassin"}] 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.1868ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530caed27735334d31750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed27735334d31750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed27735334d31750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms 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.1832ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed27735334d31760000'), "firstname"=>"Colton", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530caed27735334d31760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed27735334d31760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('530caed27735334d31770000'), "firstname"=>"Colby", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms 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.3476ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed27735334d31780000'), "firstname"=>"Maximillian", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caed27735334d31790000'), "firstname"=>"Brenden", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by UsersController#show as HTML Parameters: {"id"=>"530caed27735334d31790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed27735334d31790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms 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('530caed27735334d317a0000'), "firstname"=>"Ruthie", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caed27735334d317a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caed27735334d317a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Unpermitted parameters: name Redirected to http://test.host/users/530caed27735334d317a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms 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.3125ms 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.3028ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7000000'), "firstname"=>"Cassidy", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2202ms 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('530caeec7735334dd7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms 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.2475ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7020000'), "firstname"=>"Conner", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530caeec7735334dd7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeec7735334dd7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 20.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7030000'), "firstname"=>"Dominic", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7040000'), "firstname"=>"Rickey", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530caeec7735334dd7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeec7735334dd7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7050000'), "firstname"=>"Rosalia", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530caeec7735334dd7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeec7735334dd7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms 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('530caeec7735334dd7060000'), "name"=>"Carroll Grady DVM", "reference"=>"Sunny Schmeler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd7070000'), "author_name"=>"Mrs. Jamey Mosciski", "content"=>["Voluptatibus et ut earum voluptatum. Omnis quasi odio voluptas consequuntur. Laborum repellendus eaque aperiam sit expedita beatae dolor. Non porro voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caeec7735334dd7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caeec7735334dd7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Redirected to http://test.host/admin/products/530caeec7735334dd7060000/comments/530caeec7735334dd7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7090000'), "name"=>"Benny Thiel", "reference"=>"Audreanne Treutel Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd70a0000'), "author_name"=>"Eusebio Wiegand", "content"=>["Autem saepe recusandae beatae consectetur quas dolorum. Magnam enim omnis ut consectetur molestiae eos quis. Cum nihil labore libero."]}]}] 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('530caeec7735334dd7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530caeec7735334dd7090000", "id"=>"530caeec7735334dd70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7090000')} 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('530caeec7735334dd7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caeec7735334dd70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms Redirected to http://test.host/admin/products/530caeec7735334dd7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd70b0000'), "name"=>"Ruthie Lynch", "reference"=>"Lorenza Botsford", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd70c0000'), "author_name"=>"Everette Rogahn", "content"=>["Et aliquid qui voluptatum dignissimos. Voluptate quis qui error laudantium. Vel non omnis qui quam. Sed est in hic. Magni qui dolor perspiciatis nobis odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530caeec7735334dd70b0000", "id"=>"530caeec7735334dd70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 12ms (Views: 8.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd70d0000'), "name"=>"Ms. Jeffry Wilkinson", "reference"=>"Jess Larkin II", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd70e0000'), "author_name"=>"Mrs. Dorian McGlynn", "content"=>["Officia et omnis sunt corrupti ex aut. Recusandae et officia animi placeat. Reiciendis et doloribus suscipit eos possimus et omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530caeec7735334dd70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd70f0000'), "name"=>"Chris Hilpert", "reference"=>"Barrett Bartoletti", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd7100000'), "author_name"=>"Trycia Rolfson", "content"=>["Sed repellendus officia explicabo rerum dolorem iusto ut. Quia commodi molestiae dolorem eaque. Mollitia corrupti molestiae quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530caeec7735334dd70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd70f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7110000'), "name"=>"Oliver White", "reference"=>"Dr. Reed Feil", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd7120000'), "author_name"=>"Rupert Erdman", "content"=>["Et delectus necessitatibus est ipsam ut. Maiores soluta ratione animi voluptatibus ipsa consequatur iste. Saepe quisquam aut. Corrupti ratione blanditiis cum laudantium quia rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530caeec7735334dd7110000", "id"=>"530caeec7735334dd7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7130000'), "name"=>"Harrison Huels", "reference"=>"Destiney Daniel", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caeec7735334dd7140000'), "author_name"=>"Mrs. Reba Bailey", "content"=>["Impedit perferendis doloremque ea sed totam ut. Et porro assumenda ullam. Eum reiciendis qui eveniet ut. Doloribus vel et sint aut totam natus qui. Iusto accusamus laudantium nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4182ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caeec7735334dd7140000", "product_id"=>"530caeec7735334dd7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7130000'), "comments._id"=>BSON::ObjectId('530caeec7735334dd7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Redirected to http://test.host/admin/products/530caeec7735334dd7130000/comments/530caeec7735334dd7140000 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('530caeec7735334dd7150000'), "name"=>"Dessie Monahan", "reference"=>"Santina VonRueden", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd7160000'), "firstname"=>"Arielle", "lastname"=>"Hagenes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caeec7735334dd7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7150000')} 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('530caeec7735334dd7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms Redirected to http://test.host/admin/products/530caeec7735334dd7150000/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('530caeec7735334dd7180000'), "name"=>"Julie Cormier", "reference"=>"Chase Williamson Jr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd7190000'), "firstname"=>"Trevion", "lastname"=>"Swaniawski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530caeec7735334dd7190000", "product_id"=>"530caeec7735334dd7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7180000')} 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 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd71a0000'), "name"=>"Freeda Kozey III", "reference"=>"Dr. Wilfred Weber", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd71b0000'), "firstname"=>"Orrin", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530caeec7735334dd71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd71a0000')} 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: 4.1ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd71c0000'), "name"=>"Hassie D'Amore DDS", "reference"=>"Pablo Zieme", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd71d0000'), "firstname"=>"Amari", "lastname"=>"Jacobi"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530caeec7735334dd71d0000", "product_id"=>"530caeec7735334dd71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd71e0000'), "name"=>"Kennedi Deckow", "reference"=>"Mrs. Shaylee Blanda", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caeec7735334dd71f0000'), "firstname"=>"Michel", "lastname"=>"Cummerata"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530caeec7735334dd71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caeec7735334dd71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530caeec7735334dd71e0000/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('530caeec7735334dd7200000'), "name"=>"Dewitt Williamson Sr.", "reference"=>"Gunnar Mohr", "quantity"=>"8"}] 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.1674ms 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('530caeec7735334dd7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Redirected to http://test.host/admin/products/530caeec7735334dd7210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1808ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7220000'), "name"=>"Ms. Orval Dooley", "reference"=>"Sim Bins V", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1625ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530caeec7735334dd7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7220000')} 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('530caeec7735334dd7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms 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.1696ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7230000'), "name"=>"Bridget Frami", "reference"=>"Sally Turner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530caeec7735334dd7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeec7735334dd7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7240000'), "name"=>"Miss Stella Yost", "reference"=>"Nels Olson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms 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.5037ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeec7735334dd7250000'), "name"=>"Rahul Koepp", "reference"=>"Ms. Evelyn Bernier", "quantity"=>"3"}] 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.6ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7280000'), "name"=>"Hester Kuhic", "reference"=>"Gwen Torp", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530caeed7735334dd7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms 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('530caeed7735334dd7290000'), "name"=>"Theresa DuBuque", "reference"=>"Bradly Williamson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caeed7735334dd7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms Redirected to http://test.host/admin/products/530caeed7735334dd7290000 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('530caeed7735334dd72a0000'), "firstname"=>"Trace", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1634ms 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('530caeed7735334dd72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Redirected to http://test.host/admin/users/530caeed7735334dd72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1718ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd72c0000'), "firstname"=>"Laron", "lastname"=>"Willms"}] 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=>"admin_users", :query=>{}} runtime: 0.1542ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530caeed7735334dd72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd72c0000')} 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.1608ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd72d0000'), "firstname"=>"Leonor", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530caeed7735334dd72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd72d0000')} 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.7ms) Completed 200 OK in 7ms (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('530caeed7735334dd72e0000'), "firstname"=>"Clair", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms 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.2906ms 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('530caeed7735334dd72f0000'), "firstname"=>"Fredrick", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7300000'), "firstname"=>"Bianka", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530caeed7735334dd7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms 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('530caeed7735334dd7310000'), "firstname"=>"Meggie", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caeed7735334dd7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530caeed7735334dd7310000 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('530caeed7735334dd7320000'), "firstname"=>"Arnold", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1673ms 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('530caeed7735334dd7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms 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.1716ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7340000'), "firstname"=>"Maritza", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530caeed7735334dd7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeed7735334dd7340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7350000'), "firstname"=>"Gerson", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7360000'), "firstname"=>"Ernestina", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530caeed7735334dd7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeed7735334dd7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7370000'), "firstname"=>"Laury", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530caeed7735334dd7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caeed7735334dd7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms 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('530caeed7735334dd7380000'), "name"=>"Matilda Ankunding", "reference"=>"Fredrick Leannon", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd7390000'), "author_name"=>"Lea VonRueden II", "content"=>["Aut corporis dignissimos. Atque adipisci facilis. Est neque impedit sed laborum. Et quia autem nihil officiis consectetur temporibus provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caeed7735334dd7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7380000')} 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('530caeed7735334dd7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caeed7735334dd73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Redirected to http://test.host/products/530caeed7735334dd7380000/comments/530caeed7735334dd73a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd73b0000'), "name"=>"Ms. Luther MacGyver", "reference"=>"Kaden Hintz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd73c0000'), "author_name"=>"Ms. Cassie Armstrong", "content"=>["Quos est temporibus repudiandae rerum rem quam alias. Sint illum qui nam eveniet quia. Sit necessitatibus mollitia minus omnis. Laboriosam occaecati minima reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530caeed7735334dd73b0000", "id"=>"530caeed7735334dd73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caeed7735334dd73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Redirected to http://test.host/products/530caeed7735334dd73b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd73d0000'), "name"=>"Jaron Auer", "reference"=>"Dan VonRueden", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd73e0000'), "author_name"=>"Tod Reichel", "content"=>["Non eaque voluptatum sed occaecati voluptatem. Enim quaerat ut. Nobis a animi et accusamus eum. Aliquid voluptatem odit nam dicta necessitatibus. Aut est totam non asperiores maxime illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530caeed7735334dd73d0000", "id"=>"530caeed7735334dd73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73d0000')} 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 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd73f0000'), "name"=>"Daphnee Harvey II", "reference"=>"Leatha Willms IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd7400000'), "author_name"=>"Logan Botsford", "content"=>["Qui dolorem odit mollitia. Facilis corrupti est aut at. Reiciendis eligendi officia sequi deserunt rem aut quod. Quam tempore eveniet aut omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530caeed7735334dd73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7410000'), "name"=>"Karli Bartoletti", "reference"=>"Bradford Fahey", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd7420000'), "author_name"=>"Sedrick Towne", "content"=>["Occaecati harum delectus doloremque dolore unde laudantium illum. Alias tempora sunt repudiandae amet et eos totam. Mollitia quaerat sunt consequatur est sapiente provident. Quaerat quia unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530caeed7735334dd7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7430000'), "name"=>"Aylin Lockman", "reference"=>"Penelope Kiehn PhD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd7440000'), "author_name"=>"Gage Olson", "content"=>["Et qui ut amet. Cupiditate quidem dolorem rerum et earum ad. Sint qui quasi enim. Repellat quia iusto voluptatibus fuga voluptatem consequuntur commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530caeed7735334dd7430000", "id"=>"530caeed7735334dd7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7450000'), "name"=>"Brandon Hamill", "reference"=>"Kali Adams", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530caeed7735334dd7460000'), "author_name"=>"Ivy Effertz", "content"=>["Et quo aut. Itaque excepturi facere nobis culpa labore. Commodi et sit. Corporis accusamus nihil quasi beatae explicabo. Aliquid nemo voluptas sed omnis sint dolorem non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caeed7735334dd7460000", "product_id"=>"530caeed7735334dd7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7450000')} 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('530caeed7735334dd7450000'), "comments._id"=>BSON::ObjectId('530caeed7735334dd7460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Redirected to http://test.host/products/530caeed7735334dd7450000/comments/530caeed7735334dd7460000 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('530caeed7735334dd7470000'), "firstname"=>"Cameron", "lastname"=>"Schulist"}] 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=>"clients", :query=>{}} runtime: 0.1626ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7480000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms Redirected to http://test.host/admin/clients/530caeed7735334dd7480000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1713ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7490000'), "firstname"=>"Gail", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3746ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caeed7735334dd7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7490000')} 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('530caeed7735334dd7490000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms 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.1749ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd74a0000'), "firstname"=>"Mollie", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caeed7735334dd74a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('530caeed7735334dd74b0000'), "firstname"=>"Erica", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms 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('530caeed7735334dd74c0000'), "firstname"=>"Myles", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms 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('530caeed7735334dd74d0000'), "firstname"=>"Isom", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caeed7735334dd74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms 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('530caeed7735334dd74e0000'), "firstname"=>"Humberto", "lastname"=>"Kunze"}] 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"=>"530caeed7735334dd74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd74e0000')} 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('530caeed7735334dd74e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms Redirected to http://test.host/admin/clients/530caeed7735334dd74e0000 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('530caeed7735334dd74f0000'), "firstname"=>"Aryanna", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms 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('530caeed7735334dd7500000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms Redirected to http://test.host/clients/530caeed7735334dd7500000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1664ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7510000'), "firstname"=>"Theodora", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1495ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caeed7735334dd7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7510000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms 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.1570ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7520000'), "firstname"=>"Blake", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caeed7735334dd7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('530caeed7735334dd7530000'), "firstname"=>"Aditya", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7540000'), "firstname"=>"Lilly", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7550000'), "firstname"=>"Myles", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caeed7735334dd7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7560000'), "firstname"=>"Sylvan", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caeed7735334dd7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caeed7735334dd7560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms Redirected to http://test.host/clients/530caeed7735334dd7560000 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('530caeed7735334dd7570000'), "name"=>"Rosalia Moore", "reference"=>"Freeda Ondricka", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd7580000'), "firstname"=>"Brayan", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caeed7735334dd7570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7570000')} 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('530caeed7735334dd7570000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd7590000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms Redirected to http://test.host/products/530caeed7735334dd7570000/manager Completed 302 Found in 30ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd75a0000'), "name"=>"Caleb Boyer", "reference"=>"Zelda Huel", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd75b0000'), "firstname"=>"Arch", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530caeed7735334dd75b0000", "product_id"=>"530caeed7735334dd75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd75a0000')} 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 8ms (Views: 6.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd75c0000'), "name"=>"Mrs. Mary Schneider", "reference"=>"Adele Reichert", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd75d0000'), "firstname"=>"Jedediah", "lastname"=>"Daniel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530caeed7735334dd75c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd75c0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd75e0000'), "name"=>"Lilian Gibson", "reference"=>"Pierre Mohr PhD", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd75f0000'), "firstname"=>"Noemy", "lastname"=>"Bartoletti"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530caeed7735334dd75f0000", "product_id"=>"530caeed7735334dd75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7600000'), "name"=>"Orin Hettinger DVM", "reference"=>"Destiny Mitchell", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530caeed7735334dd7610000'), "firstname"=>"Alison", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530caeed7735334dd7610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caeed7735334dd7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Unpermitted parameters: name Redirected to http://test.host/products/530caeed7735334dd7600000/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('530caeed7735334dd7620000'), "name"=>"Alfreda Bechtelar", "reference"=>"Hayden King DVM", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1640ms 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('530caeed7735334dd7630000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms Redirected to http://test.host/products/530caeed7735334dd7630000 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('530caeed7735334dd7640000'), "name"=>"Leo Bode V", "reference"=>"Litzy Maggio", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1575ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530caeed7735334dd7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7640000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms 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.1609ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7650000'), "name"=>"Haleigh Bogan", "reference"=>"Murl Lesch", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530caeed7735334dd7650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7650000')} 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.5ms) 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('530caeed7735334dd7660000'), "name"=>"Larue Marquardt", "reference"=>"Janae Koss", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms 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.7234ms Completed 200 OK in 20ms (Views: 19.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7670000'), "name"=>"Jarrell Heller", "reference"=>"Birdie Swift", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms 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.6772ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7680000'), "name"=>"Shawn Graham", "reference"=>"Anya Parisian", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530caeed7735334dd7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms 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('530caeed7735334dd7690000'), "name"=>"Kiarra Schimmel V", "reference"=>"Antonina Torphy", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.7ms) Completed 200 OK in 32ms (Views: 30.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd76b0000'), "name"=>"Krystel Collins", "reference"=>"Lisa Fisher", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530caeed7735334dd76b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd76b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd76c0000'), "name"=>"Ryder Mraz", "reference"=>"Keely Douglas", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1583ms 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('530caeed7735334dd76d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1646ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd76e0000'), "name"=>"Felix Bahringer", "reference"=>"Ms. Dayton Grant", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530caeed7735334dd76e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd76e0000')} 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('530caeed7735334dd76e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms 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('530caeed7735334dd76f0000'), "name"=>"Ilene Hegmann DVM", "reference"=>"Magdalena Pouros", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms 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('530caeed7735334dd7710000'), "name"=>"Ada Spinka", "reference"=>"Miss Maritza Heidenreich", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caeed7735334dd7710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7710000')} 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('530caeed7735334dd7710000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms 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('530caeed7735334dd7720000'), "name"=>"Theodora Vandervort", "reference"=>"Reggie Rath", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caeed7735334dd7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caeed7735334dd7720000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Redirected to http://test.host/products/530caeed7735334dd7720000 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('530caeed7735334dd7730000'), "firstname"=>"Caitlyn", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6636ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1980ms 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('530caeed7735334dd7740000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms Redirected to http://test.host/users/530caeed7735334dd7740000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1676ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7750000'), "firstname"=>"Stacey", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms 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"=>"530caeed7735334dd7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd7750000')} 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('530caeed7735334dd7750000')} 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.1837ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7760000'), "firstname"=>"Bryce", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530caeed7735334dd7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd7760000')} 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.4ms) 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('530caeed7735334dd7770000'), "firstname"=>"Rosella", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms 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.3361ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caeed7735334dd7780000'), "firstname"=>"Shaun", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530caeed7735334dd7790000'), "firstname"=>"Annabelle", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Processing by UsersController#show as HTML Parameters: {"id"=>"530caeed7735334dd7790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms 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('530caeed7735334dd77a0000'), "firstname"=>"Lysanne", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caeed7735334dd77a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caeed7735334dd77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Unpermitted parameters: name Redirected to http://test.host/users/530caeed7735334dd77a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms 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.3121ms 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.3018ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d000000'), "firstname"=>"Collin", "lastname"=>"Anderson"}] 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=>"administrators", :query=>{}} runtime: 0.2176ms 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('530caf187735334e2d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.8860ms Redirected to http://test.host/admin/administrator Completed 302 Found in 15ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2535ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d020000'), "firstname"=>"Antonietta", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530caf187735334e2d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf187735334e2d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d030000'), "firstname"=>"Drew", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d040000'), "firstname"=>"Jane", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530caf187735334e2d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf187735334e2d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d050000'), "firstname"=>"Lessie", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530caf187735334e2d050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf187735334e2d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms 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('530caf187735334e2d060000'), "name"=>"Abby Walter", "reference"=>"Bethel Zemlak Jr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d070000'), "author_name"=>"Jerrod Cartwright", "content"=>["Mollitia et reiciendis eligendi ut enim. Qui minima et id molestiae molestias mollitia numquam. Adipisci dolores fugiat et. Vitae consequatur culpa. Vel ipsam corrupti tempore excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caf187735334e2d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf187735334e2d080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Redirected to http://test.host/admin/products/530caf187735334e2d060000/comments/530caf187735334e2d080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d090000'), "name"=>"Tressa Sanford", "reference"=>"Aileen Herzog III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d0a0000'), "author_name"=>"Skylar Rolfson", "content"=>["Qui commodi aliquam nulla dolor voluptatem quia. Et ut voluptates et tenetur quis quia. Quisquam sint temporibus ad consectetur. Laudantium atque omnis. Repudiandae consectetur aliquam quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530caf187735334e2d090000", "id"=>"530caf187735334e2d0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf187735334e2d0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Redirected to http://test.host/admin/products/530caf187735334e2d090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d0b0000'), "name"=>"Matilda Halvorson", "reference"=>"Myrtis Jast", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d0c0000'), "author_name"=>"Kirk Beatty", "content"=>["Assumenda nisi consequatur impedit ut. Nobis consequatur voluptates sequi dicta aut saepe. Et ratione aut enim quo rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530caf187735334e2d0b0000", "id"=>"530caf187735334e2d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d0d0000'), "name"=>"Zachariah Hamill II", "reference"=>"Mr. Antonetta Koelpin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d0e0000'), "author_name"=>"Selena Lockman", "content"=>["Sed et veritatis placeat omnis. Debitis sit dolorum. Quae est qui molestiae in. Consequatur rerum voluptatem asperiores nemo unde fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530caf187735334e2d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d0f0000'), "name"=>"Dayne West", "reference"=>"Michelle Hamill Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d100000'), "author_name"=>"Dan Mante", "content"=>["Eius qui aut ratione. Exercitationem qui porro rerum id. Odio eligendi qui. Quos quia est et eaque. Eos qui nemo earum et aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530caf187735334e2d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d0f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d110000'), "name"=>"Aisha Goodwin II", "reference"=>"Dr. Santos Ferry", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d120000'), "author_name"=>"Juana Tromp Sr.", "content"=>["Omnis consectetur saepe dolores facere aspernatur minus. Doloremque facilis molestiae. Ipsa hic blanditiis enim autem fugiat. Nobis ut nam hic autem eos non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530caf187735334e2d110000", "id"=>"530caf187735334e2d120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d130000'), "name"=>"Wanda Turner", "reference"=>"Antonio Kiehn", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530caf187735334e2d140000'), "author_name"=>"Coleman Hegmann", "content"=>["Aut non maiores sit qui vel. Dolorem inventore et. Qui voluptatibus reprehenderit fugiat sit. Minus a veniam sit. Tenetur voluptates nihil voluptate sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caf187735334e2d140000", "product_id"=>"530caf187735334e2d130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d130000'), "comments._id"=>BSON::ObjectId('530caf187735334e2d140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms Redirected to http://test.host/admin/products/530caf187735334e2d130000/comments/530caf187735334e2d140000 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('530caf187735334e2d150000'), "name"=>"Carlos Botsford", "reference"=>"Rhea Conroy IV", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d160000'), "firstname"=>"Jarrell", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caf187735334e2d150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d150000')} 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('530caf187735334e2d150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms Redirected to http://test.host/admin/products/530caf187735334e2d150000/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('530caf187735334e2d180000'), "name"=>"Felicity Wisozk", "reference"=>"Mary McDermott", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d190000'), "firstname"=>"Christelle", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8401ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530caf187735334e2d190000", "product_id"=>"530caf187735334e2d180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d1a0000'), "name"=>"Ena Cummerata", "reference"=>"Dejah Leuschke", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d1b0000'), "firstname"=>"Jorge", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530caf187735334e2d1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d1a0000')} 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: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d1c0000'), "name"=>"Jasper Kirlin DDS", "reference"=>"Mrs. Ena Green", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d1d0000'), "firstname"=>"Lenore", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530caf187735334e2d1d0000", "product_id"=>"530caf187735334e2d1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d1e0000'), "name"=>"Mrs. Bud Auer", "reference"=>"Sage Lehner", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530caf187735334e2d1f0000'), "firstname"=>"Aliya", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530caf187735334e2d1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caf187735334e2d1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530caf187735334e2d1e0000/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('530caf187735334e2d200000'), "name"=>"Edison Pacocha", "reference"=>"Ms. Vivienne Emard", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1619ms 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('530caf187735334e2d210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms Redirected to http://test.host/admin/products/530caf187735334e2d210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1726ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d220000'), "name"=>"Sarai McDermott", "reference"=>"Dr. Damon Franecki", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1951ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530caf187735334e2d220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d220000')} 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('530caf187735334e2d220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms 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.1708ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d230000'), "name"=>"Muhammad Ebert", "reference"=>"Ms. Terrell Mohr", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530caf187735334e2d230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d230000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d240000'), "name"=>"Cale Lang", "reference"=>"Marina Rosenbaum", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms 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.5009ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d250000'), "name"=>"Devonte Kunde", "reference"=>"Meggie Walter II", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d280000'), "name"=>"Miss Otha Eichmann", "reference"=>"Gerardo Wintheiser", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530caf187735334e2d280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms 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('530caf187735334e2d290000'), "name"=>"Lenny Labadie", "reference"=>"Matteo Koelpin", "quantity"=>"5"}] 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"=>"530caf187735334e2d290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf187735334e2d290000')} 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('530caf187735334e2d290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Redirected to http://test.host/admin/products/530caf187735334e2d290000 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('530caf187735334e2d2a0000'), "firstname"=>"Lamont", "lastname"=>"Batz"}] 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.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('530caf187735334e2d2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Redirected to http://test.host/admin/users/530caf187735334e2d2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1704ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d2c0000'), "firstname"=>"Abner", "lastname"=>"Pagac"}] 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=>"admin_users", :query=>{}} runtime: 0.1559ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530caf187735334e2d2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf187735334e2d2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf187735334e2d2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms 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.1615ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf187735334e2d2d0000'), "firstname"=>"Scarlett", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530caf187735334e2d2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf187735334e2d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms 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('530caf187735334e2d2e0000'), "firstname"=>"Christy", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms 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.2900ms 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('530caf187735334e2d2f0000'), "firstname"=>"Shanna", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d300000'), "firstname"=>"Rickie", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530caf197735334e2d300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms 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('530caf197735334e2d310000'), "firstname"=>"Addison", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caf197735334e2d310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530caf197735334e2d310000 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('530caf197735334e2d320000'), "firstname"=>"Hailey", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1660ms 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('530caf197735334e2d330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms 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.1824ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d340000'), "firstname"=>"Addie", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530caf197735334e2d340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf197735334e2d340000')} 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 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d350000'), "firstname"=>"Coy", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d360000'), "firstname"=>"Dan", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530caf197735334e2d360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf197735334e2d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d370000'), "firstname"=>"Tyree", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530caf197735334e2d370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf197735334e2d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms 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('530caf197735334e2d380000'), "name"=>"Miss Eliseo Oberbrunner", "reference"=>"Rosendo DuBuque", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d390000'), "author_name"=>"Aleen Shanahan", "content"=>["Cum dolorum rerum explicabo occaecati quibusdam sed exercitationem. Quidem totam non facilis. Atque nemo consequatur cupiditate. Sint repellat quos sed architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caf197735334e2d380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf197735334e2d3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Redirected to http://test.host/products/530caf197735334e2d380000/comments/530caf197735334e2d3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d3b0000'), "name"=>"Lenny Wisoky", "reference"=>"Asa Flatley", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d3c0000'), "author_name"=>"Ashtyn Kemmer", "content"=>["Omnis possimus voluptas quam quasi. Saepe aut aliquid. Ullam cupiditate non quae voluptas quo. Optio ut quidem rerum aut."]}]}] 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('530caf197735334e2d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530caf197735334e2d3b0000", "id"=>"530caf197735334e2d3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d3b0000')} 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('530caf197735334e2d3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf197735334e2d3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms Redirected to http://test.host/products/530caf197735334e2d3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d3d0000'), "name"=>"Ana Schiller", "reference"=>"Brooks Hammes", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d3e0000'), "author_name"=>"Marjory Rodriguez", "content"=>["Voluptatem aut quisquam rerum ex possimus exercitationem omnis. Aut impedit rerum omnis iure. Nihil et fugit vitae quos. Id officiis assumenda facilis quisquam possimus ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530caf197735334e2d3d0000", "id"=>"530caf197735334e2d3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d3d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d3f0000'), "name"=>"Nayeli Blanda", "reference"=>"Baron Ondricka", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d400000'), "author_name"=>"Alberta Denesik MD", "content"=>["Impedit nihil rerum. Quidem quisquam voluptas ut. Sequi fugiat eligendi consequatur labore. Qui velit aspernatur sunt voluptas laudantium et inventore. Dolore non quisquam autem alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5692ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530caf197735334e2d3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d410000'), "name"=>"Frieda Hyatt", "reference"=>"Tomasa Cartwright I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d420000'), "author_name"=>"Sheldon Yundt", "content"=>["Itaque iure ex sit molestiae quidem. Quas praesentium tempore cum ad minus dicta laborum. Provident sit accusantium rem sunt quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d430000'), "name"=>"Carolyne VonRueden", "reference"=>"Rubie Bailey", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d440000'), "author_name"=>"Earnest Bayer", "content"=>["Facilis ipsam minus rerum dolor aut. Placeat hic possimus ipsum at. Cupiditate architecto nulla. Ducimus modi adipisci dignissimos consequatur. Similique dolorem aut in consequuntur nihil veniam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530caf197735334e2d430000", "id"=>"530caf197735334e2d440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d450000'), "name"=>"Ms. Dale Reinger", "reference"=>"Dr. Queenie Bayer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d460000'), "author_name"=>"Fritz McKenzie", "content"=>["Labore reprehenderit et eum. Veritatis et vitae iusto. Omnis quod assumenda repellat quo dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530caf197735334e2d450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d470000'), "name"=>"Jennings Rosenbaum Jr.", "reference"=>"Kenton Wunsch", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d480000'), "author_name"=>"Aniyah Koepp", "content"=>["Numquam dicta perferendis voluptas. Dolorem neque odit corporis. In expedita aperiam. Rerum quod sit qui maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530caf197735334e2d470000", "id"=>"530caf197735334e2d480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d490000'), "name"=>"Jamaal Walter I", "reference"=>"Kayleigh Mayer V", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530caf197735334e2d4a0000'), "author_name"=>"Mr. Abner Johnson", "content"=>["At eveniet nihil. Quas saepe possimus cum. Rerum neque laborum excepturi quia. Autem consequuntur ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caf197735334e2d4a0000", "product_id"=>"530caf197735334e2d490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d490000'), "comments._id"=>BSON::ObjectId('530caf197735334e2d4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms Redirected to http://test.host/products/530caf197735334e2d490000/comments/530caf197735334e2d4a0000 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('530caf197735334e2d4b0000'), "firstname"=>"Pansy", "lastname"=>"Reinger"}] 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.2271ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3315ms Redirected to http://test.host/admin/clients/530caf197735334e2d4c0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2502ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d4d0000'), "firstname"=>"Timmothy", "lastname"=>"Reynolds"}] 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=>"clients", :query=>{}} runtime: 0.1803ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caf197735334e2d4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms 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.1884ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d4e0000'), "firstname"=>"Karina", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caf197735334e2d4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530caf197735334e2d4f0000'), "firstname"=>"Theodora", "lastname"=>"Collier"}] 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.3214ms 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('530caf197735334e2d500000'), "firstname"=>"Coralie", "lastname"=>"Hand"}] 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.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('530caf197735334e2d510000'), "firstname"=>"Jefferey", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caf197735334e2d510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms 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('530caf197735334e2d520000'), "firstname"=>"Cassandra", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caf197735334e2d520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d520000')} 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('530caf197735334e2d520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms Redirected to http://test.host/admin/clients/530caf197735334e2d520000 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('530caf197735334e2d530000'), "firstname"=>"Gerson", "lastname"=>"Herzog"}] 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.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('530caf197735334e2d540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Redirected to http://test.host/clients/530caf197735334e2d540000 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('530caf197735334e2d550000'), "firstname"=>"Abdul", "lastname"=>"Hirthe"}] 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.1665ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caf197735334e2d550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms 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.1789ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d560000'), "firstname"=>"Geraldine", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caf197735334e2d560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('530caf197735334e2d570000'), "firstname"=>"Patricia", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d580000'), "firstname"=>"Stephania", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms 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('530caf197735334e2d590000'), "firstname"=>"Earnestine", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2341ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caf197735334e2d590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d5a0000'), "firstname"=>"Ron", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caf197735334e2d5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf197735334e2d5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms Redirected to http://test.host/clients/530caf197735334e2d5a0000 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('530caf197735334e2d5b0000'), "name"=>"Lula Prohaska", "reference"=>"Lucile Bergstrom II", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d5c0000'), "firstname"=>"Hal", "lastname"=>"Johnston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caf197735334e2d5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms Redirected to http://test.host/products/530caf197735334e2d5b0000/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('530caf197735334e2d5e0000'), "name"=>"Retha Hilll", "reference"=>"Savion Beer MD", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d5f0000'), "firstname"=>"Vella", "lastname"=>"Robel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530caf197735334e2d5f0000", "product_id"=>"530caf197735334e2d5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d600000'), "name"=>"Syble Kuvalis", "reference"=>"Jade Friesen IV", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d610000'), "firstname"=>"Emory", "lastname"=>"Blanda"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530caf197735334e2d600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d620000'), "name"=>"Cecilia O'Kon V", "reference"=>"Mr. Jordyn Auer", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d630000'), "firstname"=>"Marlin", "lastname"=>"Klein"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530caf197735334e2d630000", "product_id"=>"530caf197735334e2d620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d640000'), "name"=>"Samanta Jerde", "reference"=>"Randall Von V", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530caf197735334e2d650000'), "firstname"=>"Daren", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530caf197735334e2d650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caf197735334e2d640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms Unpermitted parameters: name Redirected to http://test.host/products/530caf197735334e2d640000/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('530caf197735334e2d660000'), "name"=>"Maria Cormier", "reference"=>"Ms. Urban Wolff", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1779ms 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('530caf197735334e2d670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms Redirected to http://test.host/products/530caf197735334e2d670000 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('530caf197735334e2d680000'), "name"=>"Ms. Torey Boyer", "reference"=>"Priscilla Homenick I", "quantity"=>"7"}] 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.1736ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530caf197735334e2d680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms 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.2088ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d690000'), "name"=>"Concepcion Koelpin III", "reference"=>"Ken Larkin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530caf197735334e2d690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d690000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d6a0000'), "name"=>"Greyson Stamm", "reference"=>"Chauncey Legros DDS", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms 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.7582ms Completed 200 OK in 21ms (Views: 20.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d6b0000'), "name"=>"Kay Muller", "reference"=>"Garnet Reinger DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms 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.7311ms Completed 200 OK in 30ms (Views: 27.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d6c0000'), "name"=>"Lavada D'Amore", "reference"=>"Allan Corkery Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4734ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530caf197735334e2d6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms 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('530caf197735334e2d6d0000'), "name"=>"Mozell Waelchi", "reference"=>"Ole Hane", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms 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.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d6f0000'), "name"=>"Ms. Myrtie Welch", "reference"=>"Vada Sawayn", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530caf197735334e2d6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d700000'), "name"=>"Elnora Leuschke Sr.", "reference"=>"Jamel Larson", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1744ms 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('530caf197735334e2d710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d720000'), "name"=>"Jonatan Zemlak IV", "reference"=>"Rhoda Beer Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530caf197735334e2d720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d720000')} 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('530caf197735334e2d720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms 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('530caf197735334e2d730000'), "name"=>"Dr. Isaac Swift", "reference"=>"Destinee Pacocha", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms 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('530caf197735334e2d750000'), "name"=>"Jermain Mosciski", "reference"=>"Cristian Sauer Jr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.7033ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caf197735334e2d750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms 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('530caf197735334e2d760000'), "name"=>"Scot Mueller", "reference"=>"Torey Wintheiser", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caf197735334e2d760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf197735334e2d760000')} 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('530caf197735334e2d760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms Redirected to http://test.host/products/530caf197735334e2d760000 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('530caf197735334e2d770000'), "firstname"=>"Bart", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms 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('530caf197735334e2d780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/users/530caf197735334e2d780000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1938ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d790000'), "firstname"=>"Veda", "lastname"=>"Gerlach"}] 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.1751ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530caf197735334e2d790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d790000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6292ms 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.1840ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d7a0000'), "firstname"=>"Arno", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530caf197735334e2d7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d7a0000')} 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.4ms) 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('530caf197735334e2d7b0000'), "firstname"=>"Ova", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms 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.3561ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf197735334e2d7c0000'), "firstname"=>"Isobel", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms 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('530caf197735334e2d7d0000'), "firstname"=>"Demetrius", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by UsersController#show as HTML Parameters: {"id"=>"530caf197735334e2d7d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms 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('530caf197735334e2d7e0000'), "firstname"=>"Carolina", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caf197735334e2d7e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf197735334e2d7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Unpermitted parameters: name Redirected to http://test.host/users/530caf197735334e2d7e0000 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.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.4773ms 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.3125ms 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.3209ms 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.3042ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2b7735334e57000000'), "firstname"=>"Constantin", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2293ms 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('530caf2c7735334e57010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1332ms Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2505ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57020000'), "firstname"=>"Johnson", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57030000'), "firstname"=>"Roel", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57040000'), "firstname"=>"Trystan", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530caf2c7735334e57040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57050000'), "firstname"=>"Eve", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530caf2c7735334e57050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms 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('530caf2c7735334e57060000'), "name"=>"Antwon Ledner", "reference"=>"Ryder Stanton", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57070000'), "author_name"=>"Raphaelle Mueller", "content"=>["Ducimus corporis autem cum eligendi culpa. Corporis consequuntur dolorum id. Odio itaque adipisci aut. Excepturi dolorem non qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caf2c7735334e57060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57060000')} 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('530caf2c7735334e57060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Redirected to http://test.host/admin/products/530caf2c7735334e57060000/comments/530caf2c7735334e57080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57090000'), "name"=>"Erica Predovic", "reference"=>"Alene Pacocha", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e570a0000'), "author_name"=>"Colt Goodwin Sr.", "content"=>["Accusamus ut amet. Perferendis sint vitae consequatur non excepturi. Perspiciatis necessitatibus inventore recusandae eaque et fugiat eveniet. Ut voluptate voluptas qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530caf2c7735334e57090000", "id"=>"530caf2c7735334e570a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf2c7735334e570a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Redirected to http://test.host/admin/products/530caf2c7735334e57090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e570b0000'), "name"=>"Orpha Schimmel", "reference"=>"Raven Ward", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e570c0000'), "author_name"=>"Estell Deckow DVM", "content"=>["Ut cumque iure asperiores accusamus recusandae eius excepturi. Eum ipsum sint explicabo enim voluptatum quaerat omnis. Et sit quis quo dolorem sed. Aut error laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530caf2c7735334e570b0000", "id"=>"530caf2c7735334e570c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e570b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e570d0000'), "name"=>"Vivian Leannon", "reference"=>"Quinton Marquardt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e570e0000'), "author_name"=>"Miss Kelton Durgan", "content"=>["Qui necessitatibus id eaque ipsa et. Ad quo dolores possimus placeat aut. Fugit molestiae iure et et tenetur ipsam adipisci. Enim consequatur quia et suscipit optio ipsa in. Ut ea omnis vitae odio recusandae facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530caf2c7735334e570d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e570d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e570f0000'), "name"=>"Candice Larkin", "reference"=>"Mr. Flo Bartell", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57100000'), "author_name"=>"Neva Farrell", "content"=>["Eos labore molestias esse aut aliquam ut. Similique quaerat velit dolorum excepturi. Pariatur laudantium quis maiores provident. Eaque nihil rerum quia rem magni alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530caf2c7735334e570f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e570f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57110000'), "name"=>"Bertha Gorczany", "reference"=>"Melyna Gulgowski", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57120000'), "author_name"=>"Stanford Shanahan", "content"=>["Voluptate ipsum voluptas. Non rerum et enim asperiores optio voluptatem. Et ad illo sit id quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530caf2c7735334e57110000", "id"=>"530caf2c7735334e57120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57130000'), "name"=>"Trey Skiles", "reference"=>"Earlene Moen I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57140000'), "author_name"=>"Tevin Stiedemann", "content"=>["Ipsam molestiae ut quia in enim. Aut perspiciatis aut officia totam. Omnis maxime vel fugit. Suscipit enim et. Aut ad molestiae est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caf2c7735334e57140000", "product_id"=>"530caf2c7735334e57130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57130000'), "comments._id"=>BSON::ObjectId('530caf2c7735334e57140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms Redirected to http://test.host/admin/products/530caf2c7735334e57130000/comments/530caf2c7735334e57140000 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('530caf2c7735334e57150000'), "name"=>"Darby Cruickshank", "reference"=>"Dr. Gage Hilll", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57160000'), "firstname"=>"Moises", "lastname"=>"Gerlach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caf2c7735334e57150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms Redirected to http://test.host/admin/products/530caf2c7735334e57150000/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('530caf2c7735334e57180000'), "name"=>"Zella Hilll", "reference"=>"Izabella Buckridge Sr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57190000'), "firstname"=>"Amari", "lastname"=>"Schulist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57190000", "product_id"=>"530caf2c7735334e57180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e571a0000'), "name"=>"Norwood Buckridge IV", "reference"=>"Orie Ortiz III", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e571b0000'), "firstname"=>"Fred", "lastname"=>"Durgan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530caf2c7735334e571a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e571a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e571c0000'), "name"=>"Josiane Cassin", "reference"=>"Neoma Dibbert", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e571d0000'), "firstname"=>"Lola", "lastname"=>"Block"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530caf2c7735334e571d0000", "product_id"=>"530caf2c7735334e571c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e571c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e571e0000'), "name"=>"Mrs. Deshaun Dicki", "reference"=>"Ms. Bettie Kuhic", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e571f0000'), "firstname"=>"Russel", "lastname"=>"Rice"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530caf2c7735334e571f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caf2c7735334e571e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e571e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530caf2c7735334e571e0000/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('530caf2c7735334e57200000'), "name"=>"Jodie Cummings I", "reference"=>"Finn Ledner DVM", "quantity"=>"7"}] 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=>"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('530caf2c7735334e57210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms Redirected to http://test.host/admin/products/530caf2c7735334e57210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1697ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57220000'), "name"=>"Oleta Casper", "reference"=>"Tevin Haley", "quantity"=>"5"}] 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.1568ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530caf2c7735334e57220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57220000')} 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('530caf2c7735334e57220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms 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.1742ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57230000'), "name"=>"Jody Lang", "reference"=>"Otilia Roberts", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57240000'), "name"=>"Jimmy Turner", "reference"=>"Noe Olson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms 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.4899ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57250000'), "name"=>"Destany Bahringer", "reference"=>"Ervin Stiedemann", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57280000'), "name"=>"Baron Auer", "reference"=>"Miss Nathanial Breitenberg", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530caf2c7735334e57280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms 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('530caf2c7735334e57290000'), "name"=>"Laverna Crist", "reference"=>"Ahmed Gibson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caf2c7735334e57290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Redirected to http://test.host/admin/products/530caf2c7735334e57290000 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('530caf2c7735334e572a0000'), "firstname"=>"Grace", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1584ms 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('530caf2c7735334e572b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms Redirected to http://test.host/admin/users/530caf2c7735334e572b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1710ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e572c0000'), "firstname"=>"Brennon", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1512ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530caf2c7735334e572c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2c7735334e572c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2c7735334e572c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms 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.1638ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e572d0000'), "firstname"=>"Rachel", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530caf2c7735334e572d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2c7735334e572d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms 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('530caf2c7735334e572e0000'), "firstname"=>"Elian", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms 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.2954ms 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('530caf2c7735334e572f0000'), "firstname"=>"Adela", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57300000'), "firstname"=>"Juliana", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530caf2c7735334e57300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2c7735334e57300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms 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('530caf2c7735334e57310000'), "firstname"=>"Marvin", "lastname"=>"Gulgowski"}] 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"=>"530caf2c7735334e57310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2c7735334e57310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530caf2c7735334e57310000 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('530caf2c7735334e57320000'), "firstname"=>"Will", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1628ms 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('530caf2c7735334e57330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms 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.1735ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57340000'), "firstname"=>"Alexandrea", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57350000'), "firstname"=>"Lydia", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57360000'), "firstname"=>"Carolina", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530caf2c7735334e57360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57370000'), "firstname"=>"Eino", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530caf2c7735334e57370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530caf2c7735334e57370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms 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('530caf2c7735334e57380000'), "name"=>"Dock Bergstrom V", "reference"=>"Gregg Baumbach", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57390000'), "author_name"=>"Ms. Garrick Collier", "content"=>["Explicabo veniam consequuntur voluptatibus dolore vero autem necessitatibus. Rerum adipisci eum. Porro et magni voluptates iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530caf2c7735334e57380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57380000')} 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('530caf2c7735334e57380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf2c7735334e573a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms Redirected to http://test.host/products/530caf2c7735334e57380000/comments/530caf2c7735334e573a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1936ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e573b0000'), "name"=>"Miss Kayley Leffler", "reference"=>"Briana Goyette Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e573c0000'), "author_name"=>"Dr. Dallas Beier", "content"=>["At ipsum qui delectus pariatur optio natus aperiam. Molestiae aut est. Corporis aut distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530caf2c7735334e573b0000", "id"=>"530caf2c7735334e573c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530caf2c7735334e573c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Redirected to http://test.host/products/530caf2c7735334e573b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e573d0000'), "name"=>"Fanny Douglas", "reference"=>"Orpha Considine", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e573e0000'), "author_name"=>"Bernadette Doyle", "content"=>["Cupiditate tenetur eius ea. Laboriosam assumenda corrupti aut sunt. Eum fugiat nostrum quisquam accusantium maiores repellat quam. Voluptatem est dicta quas et et non. Et dolore nemo molestiae aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530caf2c7735334e573d0000", "id"=>"530caf2c7735334e573e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e573f0000'), "name"=>"Elmore Thiel II", "reference"=>"Bradly Baumbach Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57400000'), "author_name"=>"Fermin Haley", "content"=>["Velit deserunt ut eum et. Aut ullam in dolor. Molestiae voluptatem autem rem cupiditate harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530caf2c7735334e573f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e573f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57410000'), "name"=>"Kamille Donnelly", "reference"=>"Eugene Keeling", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57420000'), "author_name"=>"Lula West I", "content"=>["Distinctio optio et ullam. Quaerat qui quasi quibusdam necessitatibus quia quos aliquid. Est adipisci sapiente molestiae accusantium. Sed aspernatur sit sint ut accusamus ut sed. Rerum autem nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8209ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530caf2c7735334e57410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 500 Internal Server Error in 4ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57430000'), "name"=>"Kendrick Schowalter", "reference"=>"Deborah Christiansen", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57440000'), "author_name"=>"Fritz Upton", "content"=>["Et reprehenderit neque rerum molestiae. Non sed ea. Quia voluptatibus quis quidem eos explicabo aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530caf2c7735334e57430000", "id"=>"530caf2c7735334e57440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57450000'), "name"=>"Marcus Cormier", "reference"=>"Mr. Haylie Kihn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57460000'), "author_name"=>"Darrick Buckridge", "content"=>["Et magni consequatur assumenda itaque maxime distinctio. Repellat odio soluta. Dolorum natus dolore occaecati eaque harum consequuntur. Reiciendis architecto perferendis nesciunt. Doloribus unde laudantium et minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530caf2c7735334e57450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57450000')} 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.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57470000'), "name"=>"Nigel Heidenreich", "reference"=>"Oswald Brakus", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e57480000'), "author_name"=>"Marley Hand", "content"=>["Hic unde vel eveniet. Et ab aspernatur rerum. Possimus quod sint qui tenetur et aut. Omnis saepe inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530caf2c7735334e57470000", "id"=>"530caf2c7735334e57480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57490000'), "name"=>"Jeramy Robel", "reference"=>"Mabelle Muller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530caf2c7735334e574a0000'), "author_name"=>"Katelin Braun DVM", "content"=>["Tempora omnis aut nesciunt eveniet quibusdam. Maxime explicabo officia officiis inventore quia aliquid expedita. Quibusdam vero quasi consectetur cum corporis sit. Qui est beatae ad aut repellat numquam suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530caf2c7735334e574a0000", "product_id"=>"530caf2c7735334e57490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57490000')} 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('530caf2c7735334e57490000'), "comments._id"=>BSON::ObjectId('530caf2c7735334e574a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Redirected to http://test.host/products/530caf2c7735334e57490000/comments/530caf2c7735334e574a0000 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('530caf2c7735334e574b0000'), "firstname"=>"Brianne", "lastname"=>"Kuhlman"}] 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=>"clients", :query=>{}} runtime: 0.1630ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e574c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Redirected to http://test.host/admin/clients/530caf2c7735334e574c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1799ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e574d0000'), "firstname"=>"Everette", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1564ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caf2c7735334e574d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e574d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e574d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9737ms 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.1796ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e574e0000'), "firstname"=>"Boyd", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caf2c7735334e574e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e574e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms 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('530caf2c7735334e574f0000'), "firstname"=>"Edgar", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms 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('530caf2c7735334e57500000'), "firstname"=>"Micheal", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms 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('530caf2c7735334e57510000'), "firstname"=>"Brendon", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caf2c7735334e57510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms 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('530caf2c7735334e57520000'), "firstname"=>"Antonia", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530caf2c7735334e57520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms Redirected to http://test.host/admin/clients/530caf2c7735334e57520000 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('530caf2c7735334e57530000'), "firstname"=>"Hope", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1538ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms Redirected to http://test.host/clients/530caf2c7735334e57540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1634ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57550000'), "firstname"=>"Sydney", "lastname"=>"Gulgowski"}] 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.1510ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530caf2c7735334e57550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms 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.1546ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57560000'), "firstname"=>"Evans", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530caf2c7735334e57570000'), "firstname"=>"Carlie", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms 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('530caf2c7735334e57580000'), "firstname"=>"Brian", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms 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('530caf2c7735334e57590000'), "firstname"=>"Elbert", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530caf2c7735334e57590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e57590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e575a0000'), "firstname"=>"Jasen", "lastname"=>"Kilback"}] 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"=>"530caf2c7735334e575a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530caf2c7735334e575a0000')} 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('530caf2c7735334e575a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4550ms Redirected to http://test.host/clients/530caf2c7735334e575a0000 Completed 302 Found in 6ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e575b0000'), "name"=>"Annabel Wyman PhD", "reference"=>"Hazel Rippin MD", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e575c0000'), "firstname"=>"Cara", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530caf2c7735334e575b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e575b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e575b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e575b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e575d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms Redirected to http://test.host/products/530caf2c7735334e575b0000/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('530caf2c7735334e575e0000'), "name"=>"Maximillian Kautzer", "reference"=>"Kristy Bradtke II", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e575f0000'), "firstname"=>"Chyna", "lastname"=>"Feeney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530caf2c7735334e575f0000", "product_id"=>"530caf2c7735334e575e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e575e0000')} 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.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57600000'), "name"=>"Elody Bradtke", "reference"=>"Dallin Greenholt", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57610000'), "firstname"=>"Fatima", "lastname"=>"Hettinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530caf2c7735334e57600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57620000'), "name"=>"Ian Quitzon Jr.", "reference"=>"Loyce Gorczany", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57630000'), "firstname"=>"Jennie", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530caf2c7735334e57630000", "product_id"=>"530caf2c7735334e57620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57640000'), "name"=>"Davon Schinner", "reference"=>"Freeda Runte", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530caf2c7735334e57650000'), "firstname"=>"Emmet", "lastname"=>"Rowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530caf2c7735334e57650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530caf2c7735334e57640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Unpermitted parameters: name Redirected to http://test.host/products/530caf2c7735334e57640000/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('530caf2c7735334e57660000'), "name"=>"Boyd Lebsack Jr.", "reference"=>"Rosina Boyle", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1608ms 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('530caf2c7735334e57670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Redirected to http://test.host/products/530caf2c7735334e57670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1695ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57680000'), "name"=>"Ms. Rickey Abshire", "reference"=>"Uriel Goyette DVM", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1534ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530caf2c7735334e57680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms 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.1906ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e57690000'), "name"=>"Guadalupe Hodkiewicz", "reference"=>"Samson Hills", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530caf2c7735334e57690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e57690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530caf2c7735334e576a0000'), "name"=>"Calista Dickinson", "reference"=>"Judah Braun", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms 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.7293ms Completed 200 OK in 21ms (Views: 20.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e576b0000'), "name"=>"Jaquan White V", "reference"=>"Raymundo Shields", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms 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.7016ms Completed 200 OK in 31ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2c7735334e576c0000'), "name"=>"Zoey Weimann", "reference"=>"Treva Abbott", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530caf2c7735334e576c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e576c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms 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('530caf2c7735334e576d0000'), "name"=>"Israel Jenkins", "reference"=>"Henriette Lowe V", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8624ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530caf2c7735334e576f0000'), "name"=>"Estefania Collier", "reference"=>"Elizabeth Stiedemann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530caf2c7735334e576f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2c7735334e576f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e57700000'), "name"=>"Oceane McCullough", "reference"=>"Ralph Bartell", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1617ms 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('530caf2d7735334e57710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1645ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e57720000'), "name"=>"Frida Bode II", "reference"=>"Santa Jast", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530caf2d7735334e57720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2d7735334e57720000')} 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('530caf2d7735334e57720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms 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('530caf2d7735334e57730000'), "name"=>"Isadore Wintheiser", "reference"=>"Darion Bogisich", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms 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('530caf2d7735334e57750000'), "name"=>"Mr. Bud Von", "reference"=>"Name Effertz II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caf2d7735334e57750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2d7735334e57750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2d7735334e57750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms 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('530caf2d7735334e57760000'), "name"=>"Kelli Collins Jr.", "reference"=>"Baylee Bailey", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530caf2d7735334e57760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530caf2d7735334e57760000')} 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('530caf2d7735334e57760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Redirected to http://test.host/products/530caf2d7735334e57760000 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('530caf2d7735334e57770000'), "firstname"=>"Bailee", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1597ms 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('530caf2d7735334e57780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms Redirected to http://test.host/users/530caf2d7735334e57780000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1768ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e57790000'), "firstname"=>"Esperanza", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1541ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530caf2d7735334e57790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2d7735334e57790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2d7735334e57790000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms 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.1615ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e577a0000'), "firstname"=>"Eve", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530caf2d7735334e577a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2d7735334e577a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530caf2d7735334e577b0000'), "firstname"=>"Jed", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms 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.3383ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e577c0000'), "firstname"=>"Asa", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530caf2d7735334e577d0000'), "firstname"=>"Caroline", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Processing by UsersController#show as HTML Parameters: {"id"=>"530caf2d7735334e577d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2d7735334e577d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms 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('530caf2d7735334e577e0000'), "firstname"=>"Gregg", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530caf2d7735334e577e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530caf2d7735334e577e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms Unpermitted parameters: name Redirected to http://test.host/users/530caf2d7735334e577e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6892ms MOPED: 127.0.0.1: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.4800ms 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.3158ms 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 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.3080ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f000000'), "firstname"=>"Hellen", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2239ms 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('530cafa87735334e9f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms 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.2492ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f020000'), "firstname"=>"Deborah", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cafa87735334e9f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa87735334e9f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f030000'), "firstname"=>"Cicero", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f040000'), "firstname"=>"Lewis", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cafa87735334e9f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa87735334e9f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f050000'), "firstname"=>"Norma", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cafa87735334e9f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa87735334e9f050000')} 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::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa87735334e9f060000'), "name"=>"Eliezer Towne", "reference"=>"Madisyn Koch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cafa87735334e9f070000'), "author_name"=>"Cassandra Hintz", "content"=>["Asperiores doloremque dolorum quos vel. Et cum laboriosam delectus sed dolores voluptas. In blanditiis et et. Nam sint rerum deserunt omnis laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa87735334e9f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cafa87735334e9f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa87735334e9f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa87735334e9f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cafa87735334e9f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Redirected to http://test.host/admin/products/530cafa87735334e9f060000/comments/530cafa87735334e9f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa87735334e9f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f090000'), "name"=>"Frances Kirlin", "reference"=>"Elisa Donnelly", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f0a0000'), "author_name"=>"Destiney Stark", "content"=>["Aut exercitationem vitae asperiores temporibus nisi doloremque. Nisi architecto iusto. Enim modi eos deserunt hic. Rerum quam quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cafa97735334e9f090000", "id"=>"530cafa97735334e9f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f090000')} 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('530cafa97735334e9f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms Redirected to http://test.host/admin/products/530cafa97735334e9f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f0b0000'), "name"=>"Annetta Lebsack", "reference"=>"Antwan Willms", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f0c0000'), "author_name"=>"Sterling Hamill", "content"=>["Inventore fuga aut nisi blanditiis omnis eaque. Pariatur delectus blanditiis. Est earum omnis omnis voluptas vel dolores magnam. Iure distinctio sint ullam veritatis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cafa97735334e9f0b0000", "id"=>"530cafa97735334e9f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f0b0000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f0d0000'), "name"=>"Schuyler Rogahn", "reference"=>"Yvonne Schimmel IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f0e0000'), "author_name"=>"Aric Schaden", "content"=>["Delectus officiis alias dolores et. Sed eum rerum. Perferendis quod vel ut. Qui aspernatur optio incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cafa97735334e9f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f0f0000'), "name"=>"Adrienne Balistreri PhD", "reference"=>"Annette Mante", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f100000'), "author_name"=>"Ian Green III", "content"=>["Omnis ut praesentium aspernatur. Rerum itaque laboriosam quasi suscipit. Numquam adipisci repellendus consequuntur itaque est consequatur. Quas nihil nesciunt veniam est voluptate harum et. Nihil itaque dolor temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cafa97735334e9f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f110000'), "name"=>"Marc Bailey", "reference"=>"Carol Lynch", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f120000'), "author_name"=>"Juvenal Langosh", "content"=>["Et deleniti asperiores voluptas. Iste incidunt sed autem enim. Et doloremque voluptatem nihil occaecati possimus nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cafa97735334e9f110000", "id"=>"530cafa97735334e9f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f130000'), "name"=>"Jade Stoltenberg", "reference"=>"Reuben Toy DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f140000'), "author_name"=>"Macey Cassin", "content"=>["Odit corporis explicabo quae laborum distinctio. Perspiciatis ullam dolorum suscipit consequuntur. Aut mollitia ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9199ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cafa97735334e9f140000", "product_id"=>"530cafa97735334e9f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f130000')} 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('530cafa97735334e9f130000'), "comments._id"=>BSON::ObjectId('530cafa97735334e9f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms Redirected to http://test.host/admin/products/530cafa97735334e9f130000/comments/530cafa97735334e9f140000 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('530cafa97735334e9f150000'), "name"=>"Dr. Enid McDermott", "reference"=>"Otho Roberts", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f160000'), "firstname"=>"Macie", "lastname"=>"Grady"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cafa97735334e9f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms Redirected to http://test.host/admin/products/530cafa97735334e9f150000/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('530cafa97735334e9f180000'), "name"=>"Marquis Balistreri", "reference"=>"Kianna Block", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f190000'), "firstname"=>"Nash", "lastname"=>"Abshire"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f190000", "product_id"=>"530cafa97735334e9f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f180000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f1a0000'), "name"=>"Noe Blick", "reference"=>"Gonzalo Schiller", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f1b0000'), "firstname"=>"Noemy", "lastname"=>"Boehm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cafa97735334e9f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f1c0000'), "name"=>"Dante Wilkinson", "reference"=>"Oswald Jakubowski DVM", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f1d0000'), "firstname"=>"Laura", "lastname"=>"Luettgen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cafa97735334e9f1d0000", "product_id"=>"530cafa97735334e9f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f1e0000'), "name"=>"Maximillia Fritsch", "reference"=>"Naomie Moen", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f1f0000'), "firstname"=>"Reynold", "lastname"=>"Wehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cafa97735334e9f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cafa97735334e9f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cafa97735334e9f1e0000/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('530cafa97735334e9f200000'), "name"=>"Jarod Schneider", "reference"=>"Shane Tremblay", "quantity"=>"3"}] 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=>"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('530cafa97735334e9f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms Redirected to http://test.host/admin/products/530cafa97735334e9f210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2038ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f220000'), "name"=>"Iva McKenzie", "reference"=>"Oscar Zulauf", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms 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"=>"530cafa97735334e9f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f220000')} 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={"_id"=>BSON::ObjectId('530cafa97735334e9f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms 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.2205ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f230000'), "name"=>"Estrella Schulist", "reference"=>"Syble Schimmel", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f240000'), "name"=>"Ila Hintz V", "reference"=>"Bessie Marvin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms 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.4962ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f250000'), "name"=>"Katharina Pfannerstill I", "reference"=>"Magdalena Lehner IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f280000'), "name"=>"Amelie Schowalter PhD", "reference"=>"Myrtie Balistreri", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cafa97735334e9f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms 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('530cafa97735334e9f290000'), "name"=>"Damion Lakin", "reference"=>"Sarah Monahan", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cafa97735334e9f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f290000')} 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('530cafa97735334e9f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Redirected to http://test.host/admin/products/530cafa97735334e9f290000 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('530cafa97735334e9f2a0000'), "firstname"=>"Abdullah", "lastname"=>"Kovacek"}] 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=>"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('530cafa97735334e9f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms Redirected to http://test.host/admin/users/530cafa97735334e9f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1783ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f2c0000'), "firstname"=>"Emmanuel", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1636ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cafa97735334e9f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f2c0000')} 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 MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1656ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f2d0000'), "firstname"=>"Lee", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) 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('530cafa97735334e9f2e0000'), "firstname"=>"Davonte", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms 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.2809ms 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('530cafa97735334e9f2f0000'), "firstname"=>"Hermina", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms 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('530cafa97735334e9f300000'), "firstname"=>"Felicia", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cafa97735334e9f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530cafa97735334e9f310000'), "firstname"=>"Henri", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cafa97735334e9f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cafa97735334e9f310000 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('530cafa97735334e9f320000'), "firstname"=>"Patience", "lastname"=>"Kutch"}] 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=>"administrators", :query=>{}} runtime: 0.1674ms 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('530cafa97735334e9f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms 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.1755ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f340000'), "firstname"=>"Muhammad", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa97735334e9f340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f350000'), "firstname"=>"Iliana", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f360000'), "firstname"=>"Rachelle", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cafa97735334e9f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa97735334e9f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f370000'), "firstname"=>"Nikolas", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cafa97735334e9f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cafa97735334e9f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms 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('530cafa97735334e9f380000'), "name"=>"Jewell Stracke", "reference"=>"Tressa Rau", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f390000'), "author_name"=>"Mrs. Leo Flatley", "content"=>["Quis assumenda ipsum beatae natus. Maiores praesentium eligendi facilis autem. Maiores sapiente et sed quam ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f380000')} 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"=>"530cafa97735334e9f380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f380000')} 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('530cafa97735334e9f380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Redirected to http://test.host/products/530cafa97735334e9f380000/comments/530cafa97735334e9f3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1996ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f3b0000'), "name"=>"Maegan Graham", "reference"=>"Elenora Johnston V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f3c0000'), "author_name"=>"Lucienne Moore", "content"=>["Odit aspernatur natus. Quas et dolor voluptatibus. Corrupti similique eveniet ab quos. Quas in molestias quia eveniet libero rerum minus. Aspernatur consequatur dolores exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cafa97735334e9f3b0000", "id"=>"530cafa97735334e9f3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms Redirected to http://test.host/products/530cafa97735334e9f3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f3d0000'), "name"=>"Lillie Mertz", "reference"=>"Armando Okuneva", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f3e0000'), "author_name"=>"Lempi Hirthe PhD", "content"=>["Modi rerum tempore consequuntur dolore distinctio est quis. Asperiores fuga facilis. Ut minima adipisci quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cafa97735334e9f3d0000", "id"=>"530cafa97735334e9f3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f3f0000'), "name"=>"Mr. Dina Bogisich", "reference"=>"Jeramy McLaughlin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f400000'), "author_name"=>"Kathlyn Koss", "content"=>["Sint similique et. Ea et est qui facilis quae suscipit. Aut quam nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cafa97735334e9f3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f410000'), "name"=>"Orlo Zieme", "reference"=>"Rocky Kunde", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f420000'), "author_name"=>"Flavie Kunze", "content"=>["Autem et laboriosam excepturi rerum dicta. Ut dolor sunt a corporis repudiandae. Dolore quibusdam amet esse. Molestiae quis et accusamus in temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cafa97735334e9f410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f430000'), "name"=>"Kacie Dooley V", "reference"=>"Tyshawn Bergnaum I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f440000'), "author_name"=>"Mr. Macey Ward", "content"=>["Nihil unde ut eos facere pariatur. Suscipit necessitatibus unde quidem vel et. Qui ut consequatur incidunt est temporibus laborum. Quam voluptatibus consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cafa97735334e9f430000", "id"=>"530cafa97735334e9f440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f450000'), "name"=>"Delpha Mante", "reference"=>"Gertrude Bergstrom", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f460000'), "author_name"=>"Pattie Tremblay", "content"=>["Voluptas quia reprehenderit. Velit maiores placeat provident ab dicta. Sint alias quia. Enim odio sunt quam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cafa97735334e9f450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f470000'), "name"=>"Isaiah Kertzmann", "reference"=>"Mavis Herzog", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f480000'), "author_name"=>"Stone Hilll", "content"=>["Totam vero quo cum deleniti dolorem sint hic. Est unde autem natus. Qui sed est saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cafa97735334e9f470000", "id"=>"530cafa97735334e9f480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f490000'), "name"=>"Ahmed Crooks", "reference"=>"Dorcas Kutch", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cafa97735334e9f4a0000'), "author_name"=>"Krystal Koch III", "content"=>["Voluptatem animi qui aut blanditiis quidem. Libero dicta voluptates. Quas ipsam non est quia. Delectus sit deserunt assumenda reiciendis dicta magnam magni. Consequatur sed dolores sunt debitis non quia illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cafa97735334e9f4a0000", "product_id"=>"530cafa97735334e9f490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f490000'), "comments._id"=>BSON::ObjectId('530cafa97735334e9f4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Redirected to http://test.host/products/530cafa97735334e9f490000/comments/530cafa97735334e9f4a0000 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('530cafa97735334e9f4b0000'), "firstname"=>"Houston", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms 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('530cafa97735334e9f4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms Redirected to http://test.host/admin/clients/530cafa97735334e9f4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1824ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f4d0000'), "firstname"=>"Emerson", "lastname"=>"Yundt"}] 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.1567ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cafa97735334e9f4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms 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.1691ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f4e0000'), "firstname"=>"Markus", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f4e0000')} 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.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f4f0000'), "firstname"=>"Eddie", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms 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('530cafa97735334e9f500000'), "firstname"=>"Bo", "lastname"=>"Yost"}] 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.7ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f510000'), "firstname"=>"Nannie", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cafa97735334e9f510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms 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('530cafa97735334e9f520000'), "firstname"=>"Aisha", "lastname"=>"Kautzer"}] 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"=>"530cafa97735334e9f520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms Redirected to http://test.host/admin/clients/530cafa97735334e9f520000 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('530cafa97735334e9f530000'), "firstname"=>"Jakob", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1536ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms Redirected to http://test.host/clients/530cafa97735334e9f540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1600ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f550000'), "firstname"=>"Karlie", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms 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"=>"530cafa97735334e9f550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8549ms 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.1625ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f560000'), "firstname"=>"Robin", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f570000'), "firstname"=>"Marvin", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f580000'), "firstname"=>"Emmie", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f590000'), "firstname"=>"Eleazar", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cafa97735334e9f590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f5a0000'), "firstname"=>"Ethyl", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cafa97735334e9f5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms Redirected to http://test.host/clients/530cafa97735334e9f5a0000 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('530cafa97735334e9f5b0000'), "name"=>"Greyson Kiehn", "reference"=>"Vena Nicolas", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f5c0000'), "firstname"=>"Roman", "lastname"=>"Stokes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cafa97735334e9f5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms Redirected to http://test.host/products/530cafa97735334e9f5b0000/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('530cafa97735334e9f5e0000'), "name"=>"Tomas Cummerata", "reference"=>"Vivien Greenholt", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f5f0000'), "firstname"=>"Ellen", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f5f0000", "product_id"=>"530cafa97735334e9f5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f5e0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f600000'), "name"=>"Adolf Jerde", "reference"=>"Devante Legros", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f610000'), "firstname"=>"Hershel", "lastname"=>"Hyatt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cafa97735334e9f600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f600000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f620000'), "name"=>"Clifford Denesik Sr.", "reference"=>"Megane Hayes", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f630000'), "firstname"=>"Magali", "lastname"=>"Schaefer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cafa97735334e9f630000", "product_id"=>"530cafa97735334e9f620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f640000'), "name"=>"Drake Schamberger", "reference"=>"Breanna Lakin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cafa97735334e9f650000'), "firstname"=>"Trever", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cafa97735334e9f650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cafa97735334e9f640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Unpermitted parameters: name Redirected to http://test.host/products/530cafa97735334e9f640000/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('530cafa97735334e9f660000'), "name"=>"Jammie Cartwright", "reference"=>"Dashawn Cummerata", "quantity"=>"3"}] 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.1893ms 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('530cafa97735334e9f670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms Redirected to http://test.host/products/530cafa97735334e9f670000 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('530cafa97735334e9f680000'), "name"=>"Douglas Labadie", "reference"=>"Gloria Mayer", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms 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"=>"530cafa97735334e9f680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms 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('530cafa97735334e9f690000'), "name"=>"Sonny McGlynn", "reference"=>"Janae Dach", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 8ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f6a0000'), "name"=>"Miss Avery Bins", "reference"=>"Curt Romaguera", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms 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 21ms (Views: 20.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f6b0000'), "name"=>"Lauretta Walter", "reference"=>"Dr. Mortimer Padberg", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8052ms 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.7310ms 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('530cafa97735334e9f6c0000'), "name"=>"Roel Langosh", "reference"=>"Paige Bailey", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cafa97735334e9f6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms 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('530cafa97735334e9f6d0000'), "name"=>"Misael Kreiger", "reference"=>"Sarina Zieme III", "quantity"=>"7"}] 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 (3.4ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f6f0000'), "name"=>"Caleb Willms", "reference"=>"Mckenna Powlowski", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cafa97735334e9f6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f700000'), "name"=>"Paxton Schaden", "reference"=>"Kassandra Stroman", "quantity"=>"0"}] 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.1567ms 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('530cafa97735334e9f710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1644ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f720000'), "name"=>"Genesis Nicolas", "reference"=>"Mrs. Nichole Smitham", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cafa97735334e9f720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms 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('530cafa97735334e9f730000'), "name"=>"Leone Adams", "reference"=>"Melba Predovic", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms 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('530cafa97735334e9f750000'), "name"=>"Dr. Hertha Rosenbaum", "reference"=>"Ally Kassulke", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cafa97735334e9f750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms 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('530cafa97735334e9f760000'), "name"=>"Miss Preston Lakin", "reference"=>"Jayde Pfannerstill", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cafa97735334e9f760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cafa97735334e9f760000')} 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('530cafa97735334e9f760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Redirected to http://test.host/products/530cafa97735334e9f760000 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('530cafa97735334e9f770000'), "firstname"=>"Virginie", "lastname"=>"Littel"}] 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=>"admin_users", :query=>{}} runtime: 0.1630ms 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('530cafa97735334e9f780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Redirected to http://test.host/users/530cafa97735334e9f780000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f790000'), "firstname"=>"Jerad", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1551ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cafa97735334e9f790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f790000')} 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('530cafa97735334e9f790000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms 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.1674ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f7a0000'), "firstname"=>"Ernestina", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cafa97735334e9f7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530cafa97735334e9f7b0000'), "firstname"=>"Janet", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms 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.3412ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cafa97735334e9f7c0000'), "firstname"=>"Micah", "lastname"=>"Jacobson"}] 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.9ms) Completed 200 OK in 4ms (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('530cafa97735334e9f7d0000'), "firstname"=>"Kailyn", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cafa97735334e9f7d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms 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('530cafa97735334e9f7e0000'), "firstname"=>"Grant", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cafa97735334e9f7e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cafa97735334e9f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms Unpermitted parameters: name Redirected to http://test.host/users/530cafa97735334e9f7e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms 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.3139ms 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.3149ms 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.3065ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7000000'), "firstname"=>"Omari", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2194ms 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('530cb0077735334ed7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms 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.2454ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7020000'), "firstname"=>"Bradly", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb0077735334ed7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7030000'), "firstname"=>"Jodie", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7040000'), "firstname"=>"Jerrod", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb0077735334ed7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7050000'), "firstname"=>"Josianne", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb0077735334ed7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7050000')} 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('530cb0077735334ed7060000'), "name"=>"Donald Stehr", "reference"=>"Miss Celine Flatley", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7070000'), "author_name"=>"Dean Rodriguez I", "content"=>["Quod repellendus aut. Sint et expedita laborum quo rerum vitae qui. Voluptas dolorum optio ut aut eum sapiente atque. Quis harum quas laudantium excepturi corrupti cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb0077735334ed7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7060000')} 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('530cb0077735334ed7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0077735334ed7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Redirected to http://test.host/admin/products/530cb0077735334ed7060000/comments/530cb0077735334ed7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7090000'), "name"=>"Sylvan Little", "reference"=>"Owen Douglas", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed70a0000'), "author_name"=>"Mr. Alexis Carter", "content"=>["Vitae debitis quae explicabo fugit. Perferendis repudiandae iure ut autem sunt. Voluptas modi voluptatem qui dolor sint. Porro itaque tempora beatae fugiat sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb0077735334ed7090000", "id"=>"530cb0077735334ed70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7090000')} 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('530cb0077735334ed7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0077735334ed70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Redirected to http://test.host/admin/products/530cb0077735334ed7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2046ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed70b0000'), "name"=>"Mable Sipes", "reference"=>"Lyda Bauch", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed70c0000'), "author_name"=>"Antonette Jerde", "content"=>["Quia totam eligendi eius dolores et saepe asperiores. Magnam a sunt enim consequatur deserunt. Voluptatem ipsa eum voluptas vitae. Ut quibusdam earum. Ut dolor qui est iste id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb0077735334ed70b0000", "id"=>"530cb0077735334ed70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed70d0000'), "name"=>"Ms. Dylan Walter", "reference"=>"Elsie Borer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed70e0000'), "author_name"=>"Saige Hartmann", "content"=>["Odit corporis est quia. Reprehenderit repellendus et. Et laborum architecto mollitia dolore et saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb0077735334ed70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed70f0000'), "name"=>"Judge Tremblay", "reference"=>"Brennon Kohler", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7100000'), "author_name"=>"Cierra Mraz III", "content"=>["Commodi est enim molestias eligendi dolore alias. Veritatis nesciunt beatae minus. Doloribus aut eaque ipsam dignissimos quia. Tempora et omnis numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb0077735334ed70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7110000'), "name"=>"Mr. Gracie Dach", "reference"=>"Tressa Von", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7120000'), "author_name"=>"Bruce Keebler", "content"=>["Non veniam minima tenetur vel quod. Dolorem quis impedit autem quae aut quos. Eius distinctio nostrum voluptas nam magni consequatur. Beatae rem rerum ipsa id sunt. Qui beatae occaecati iste eum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb0077735334ed7110000", "id"=>"530cb0077735334ed7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7130000'), "name"=>"Asha Breitenberg", "reference"=>"Aubrey Kuvalis", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7140000'), "author_name"=>"Adriel Kertzmann", "content"=>["Quos asperiores dolorem consequatur vel blanditiis dolores dolore. Amet officia aliquid tempore. Possimus et consequatur dicta quidem qui sit. Omnis harum neque voluptas iusto autem qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb0077735334ed7140000", "product_id"=>"530cb0077735334ed7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7130000'), "comments._id"=>BSON::ObjectId('530cb0077735334ed7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Redirected to http://test.host/admin/products/530cb0077735334ed7130000/comments/530cb0077735334ed7140000 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('530cb0077735334ed7150000'), "name"=>"Mara Erdman", "reference"=>"Lyla Huel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed7160000'), "firstname"=>"Elbert", "lastname"=>"Gusikowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4778ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb0077735334ed7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms Redirected to http://test.host/admin/products/530cb0077735334ed7150000/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('530cb0077735334ed7180000'), "name"=>"Camryn Auer", "reference"=>"June Kshlerin", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed7190000'), "firstname"=>"Vivian", "lastname"=>"Gerlach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb0077735334ed7190000", "product_id"=>"530cb0077735334ed7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed71a0000'), "name"=>"Mary Powlowski", "reference"=>"Elbert Eichmann Jr.", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed71b0000'), "firstname"=>"Rogelio", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb0077735334ed71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed71a0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed71c0000'), "name"=>"Pansy Stracke", "reference"=>"Chelsie Barrows IV", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed71d0000'), "firstname"=>"Octavia", "lastname"=>"Zboncak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb0077735334ed71d0000", "product_id"=>"530cb0077735334ed71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed71e0000'), "name"=>"Crawford Jast", "reference"=>"Christ O'Reilly DDS", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb0077735334ed71f0000'), "firstname"=>"Katlynn", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb0077735334ed71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb0077735334ed71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb0077735334ed71e0000/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('530cb0077735334ed7200000'), "name"=>"Izabella Stroman", "reference"=>"Angela Bogisich DVM", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1916ms 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('530cb0077735334ed7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Redirected to http://test.host/admin/products/530cb0077735334ed7210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7220000'), "name"=>"Mrs. Icie Mueller", "reference"=>"Ariane Runolfsson III", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1789ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb0077735334ed7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7220000')} 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={"_id"=>BSON::ObjectId('530cb0077735334ed7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms 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.1910ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7230000'), "name"=>"Deangelo Hand", "reference"=>"Dr. Floyd Ankunding", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb0077735334ed7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7230000')} 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 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7240000'), "name"=>"Brenna Bechtelar", "reference"=>"Trey Ryan Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms 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.5127ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7250000'), "name"=>"Jovany Hills", "reference"=>"Geovany Buckridge", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7280000'), "name"=>"Ciara Schinner Sr.", "reference"=>"Okey Johns Jr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb0077735334ed7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms 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('530cb0077735334ed7290000'), "name"=>"Ariane Ziemann", "reference"=>"Shaylee Bruen", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0077735334ed7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7290000')} 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('530cb0077735334ed7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms Redirected to http://test.host/admin/products/530cb0077735334ed7290000 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('530cb0077735334ed72a0000'), "firstname"=>"Brad", "lastname"=>"Toy"}] 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.1779ms 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('530cb0077735334ed72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Redirected to http://test.host/admin/users/530cb0077735334ed72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed72c0000'), "firstname"=>"Kirstin", "lastname"=>"Hickle"}] 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=>"admin_users", :query=>{}} runtime: 0.1690ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb0077735334ed72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0077735334ed72c0000')} 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('530cb0077735334ed72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms 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('530cb0077735334ed72d0000'), "firstname"=>"Rosetta", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb0077735334ed72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0077735334ed72d0000')} 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.7ms) Completed 200 OK in 7ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed72e0000'), "firstname"=>"Sam", "lastname"=>"Roob"}] 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.3085ms 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('530cb0077735334ed72f0000'), "firstname"=>"Nickolas", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7300000'), "firstname"=>"Grady", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb0077735334ed7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0077735334ed7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms 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('530cb0077735334ed7310000'), "firstname"=>"Dannie", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5308ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb0077735334ed7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0077735334ed7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb0077735334ed7310000 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('530cb0077735334ed7320000'), "firstname"=>"Van", "lastname"=>"Hoppe"}] 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=>"administrators", :query=>{}} runtime: 0.1797ms 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('530cb0077735334ed7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms 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.2009ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7340000'), "firstname"=>"Liam", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb0077735334ed7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7350000'), "firstname"=>"Candace", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7360000'), "firstname"=>"Genoveva", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb0077735334ed7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7370000'), "firstname"=>"Malcolm", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb0077735334ed7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0077735334ed7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms 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('530cb0077735334ed7380000'), "name"=>"Ms. Asia Prohaska", "reference"=>"Bernita Walter", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7390000'), "author_name"=>"Mrs. Brian Hand", "content"=>["Qui sit ut ullam rerum accusantium. Aut sunt fugiat. Id sunt ut dolor libero sed beatae. Exercitationem sed inventore libero dolorem consequuntur qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb0077735334ed7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7380000')} 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('530cb0077735334ed7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0077735334ed73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Redirected to http://test.host/products/530cb0077735334ed7380000/comments/530cb0077735334ed73a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed73b0000'), "name"=>"Macie Gutkowski", "reference"=>"Claire Kuphal", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed73c0000'), "author_name"=>"Kenyon McCullough", "content"=>["Et ea earum ut dolores cupiditate rem placeat. Ut quos eligendi earum nam veniam quia. Est excepturi qui commodi veniam minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb0077735334ed73b0000", "id"=>"530cb0077735334ed73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed73b0000')} 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('530cb0077735334ed73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0077735334ed73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Redirected to http://test.host/products/530cb0077735334ed73b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed73d0000'), "name"=>"Llewellyn Rutherford", "reference"=>"Elton Heathcote", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed73e0000'), "author_name"=>"Kadin Weissnat", "content"=>["Est at sit optio nam inventore. Ad et vero doloribus dolor voluptates. Sunt reprehenderit laudantium est quia omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5304ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb0077735334ed73d0000", "id"=>"530cb0077735334ed73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed73d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed73f0000'), "name"=>"Jean Gulgowski Sr.", "reference"=>"Erna Heller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7400000'), "author_name"=>"Lavern Macejkovic", "content"=>["Voluptatem unde architecto est est hic maiores corrupti. Nihil perferendis libero. Ut laudantium illo. Non quas aut alias quasi natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb0077735334ed73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7410000'), "name"=>"Dena Schaefer", "reference"=>"Dr. Lizeth Casper", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7420000'), "author_name"=>"Josefina Wilkinson", "content"=>["Sequi officia minima. Repudiandae alias corporis autem omnis. Unde facilis laborum ducimus. Harum aliquam eum blanditiis asperiores laudantium consequatur. Totam id dolorem corporis facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb0077735334ed7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7430000'), "name"=>"Carolanne Walsh", "reference"=>"Alphonso Bogan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7440000'), "author_name"=>"Trey Brown IV", "content"=>["Sit voluptas sit id qui atque cumque. Non ut labore neque aliquam reiciendis. Tenetur ad aliquam voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb0077735334ed7430000", "id"=>"530cb0077735334ed7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7450000'), "name"=>"Cordie Veum", "reference"=>"Leatha Ernser", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7460000'), "author_name"=>"Jaime Marks", "content"=>["Tempora quia recusandae nisi occaecati cum. Sunt optio asperiores est et ea nihil voluptas. Repellendus consequatur iure ut quia qui qui. Voluptatum expedita consequuntur molestiae assumenda esse. Debitis quis qui perspiciatis ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb0077735334ed7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7470000'), "name"=>"Ms. Kareem Schmidt", "reference"=>"Elliot Konopelski", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed7480000'), "author_name"=>"Gina Yundt III", "content"=>["Alias neque deserunt aut dolorum. Non ut consectetur tempora eos. Natus distinctio repudiandae. Quae minus temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb0077735334ed7470000", "id"=>"530cb0077735334ed7480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7490000'), "name"=>"Melvina Howe", "reference"=>"Mr. Chloe Murray", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb0077735334ed74a0000'), "author_name"=>"Jadyn Bailey", "content"=>["Corrupti consectetur quaerat odio vero velit. Voluptatem amet expedita incidunt. Incidunt quisquam sint. Velit voluptas est minima est amet aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb0077735334ed74a0000", "product_id"=>"530cb0077735334ed7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0077735334ed7490000'), "comments._id"=>BSON::ObjectId('530cb0077735334ed74a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Redirected to http://test.host/products/530cb0077735334ed7490000/comments/530cb0077735334ed74a0000 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('530cb0077735334ed74b0000'), "firstname"=>"Vernie", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms 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('530cb0077735334ed74c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Redirected to http://test.host/admin/clients/530cb0077735334ed74c0000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed74d0000'), "firstname"=>"Maya", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms 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"=>"530cb0077735334ed74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed74d0000')} 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('530cb0077735334ed74d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms 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.1857ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed74e0000'), "firstname"=>"Gussie", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb0077735334ed74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed74e0000')} 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.1ms) 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('530cb0077735334ed74f0000'), "firstname"=>"Wilhelm", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Iord::GenericController#index as HTML MOPED: 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: 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('530cb0077735334ed7500000'), "firstname"=>"Mose", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms 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('530cb0077735334ed7510000'), "firstname"=>"Herman", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb0077735334ed7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms 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('530cb0077735334ed7520000'), "firstname"=>"Rodrick", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb0077735334ed7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Redirected to http://test.host/admin/clients/530cb0077735334ed7520000 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('530cb0077735334ed7530000'), "firstname"=>"Maya", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms 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('530cb0077735334ed7540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms Redirected to http://test.host/clients/530cb0077735334ed7540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7550000'), "firstname"=>"Josefa", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1659ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb0077735334ed7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7550000')} 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('530cb0077735334ed7550000')} 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.1794ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed7560000'), "firstname"=>"Brice", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb0077735334ed7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms 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('530cb0077735334ed7570000'), "firstname"=>"Aurelia", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms 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('530cb0077735334ed7580000'), "firstname"=>"Malvina", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2883ms 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('530cb0077735334ed7590000'), "firstname"=>"Martine", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb0077735334ed7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0077735334ed75a0000'), "firstname"=>"Troy", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb0077735334ed75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0077735334ed75a0000')} 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('530cb0077735334ed75a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Redirected to http://test.host/clients/530cb0077735334ed75a0000 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('530cb0087735334ed75b0000'), "name"=>"Mr. Elwin Kreiger", "reference"=>"Ezequiel Mayer", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed75c0000'), "firstname"=>"Orie", "lastname"=>"Bahringer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb0087735334ed75b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed75b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed75b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed75d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms Redirected to http://test.host/products/530cb0087735334ed75b0000/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('530cb0087735334ed75e0000'), "name"=>"Ms. Carlee Hamill", "reference"=>"Nia Mayert", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed75f0000'), "firstname"=>"Jesus", "lastname"=>"Kunde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb0087735334ed75f0000", "product_id"=>"530cb0087735334ed75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7600000'), "name"=>"Ms. Kayla Gottlieb", "reference"=>"Mrs. Lenna O'Reilly", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed7610000'), "firstname"=>"Toney", "lastname"=>"Kerluke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8722ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb0087735334ed7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7620000'), "name"=>"Jared Wuckert", "reference"=>"Arno Roob", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed7630000'), "firstname"=>"Uriah", "lastname"=>"VonRueden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb0087735334ed7630000", "product_id"=>"530cb0087735334ed7620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7640000'), "name"=>"Monty Kassulke", "reference"=>"Jamil Barrows", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb0087735334ed7650000'), "firstname"=>"Esmeralda", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb0087735334ed7650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb0087735334ed7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Unpermitted parameters: name Redirected to http://test.host/products/530cb0087735334ed7640000/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('530cb0087735334ed7660000'), "name"=>"Lorine Walsh", "reference"=>"Afton Hahn", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1624ms 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('530cb0087735334ed7670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Redirected to http://test.host/products/530cb0087735334ed7670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1739ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7680000'), "name"=>"Gaylord Rohan", "reference"=>"Tom Vandervort", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1591ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb0087735334ed7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7680000')} 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('530cb0087735334ed7680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms 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.1639ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7690000'), "name"=>"Mr. Edd Thiel", "reference"=>"Celia Pollich", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb0087735334ed7690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7690000')} 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.5ms) 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('530cb0087735334ed76a0000'), "name"=>"Dwight Corwin III", "reference"=>"Mrs. Mabelle Morissette", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms 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.7391ms Completed 200 OK in 21ms (Views: 20.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed76b0000'), "name"=>"Domenica Bednar", "reference"=>"Esta Dickens", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms 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.7010ms Completed 200 OK in 30ms (Views: 27.4ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed76c0000'), "name"=>"Dortha O'Kon", "reference"=>"Savannah Quitzon", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb0087735334ed76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms 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('530cb0087735334ed76d0000'), "name"=>"Bryana Schmitt", "reference"=>"Celine Doyle V", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb0087735334ed76f0000'), "name"=>"Karianne Olson", "reference"=>"Mr. Garnett Gleichner", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb0087735334ed76f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7700000'), "name"=>"Mrs. Tiffany Kub", "reference"=>"Mafalda Brekke", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1543ms 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('530cb0087735334ed7710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1618ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7720000'), "name"=>"Kristy McCullough", "reference"=>"Josefa DuBuque", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb0087735334ed7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms 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('530cb0087735334ed7730000'), "name"=>"Carleton Reichel", "reference"=>"Ferne Skiles", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms 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('530cb0087735334ed7750000'), "name"=>"Florian Wolf", "reference"=>"Mrs. Raphaelle Heaney", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0087735334ed7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms 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('530cb0087735334ed7760000'), "name"=>"Dr. Chelsey Nicolas", "reference"=>"Kariane Gerhold", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0087735334ed7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0087735334ed7760000')} 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('530cb0087735334ed7760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms Redirected to http://test.host/products/530cb0087735334ed7760000 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('530cb0087735334ed7770000'), "firstname"=>"Tierra", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.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('530cb0087735334ed7780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7239ms Redirected to http://test.host/users/530cb0087735334ed7780000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1935ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed7790000'), "firstname"=>"Keira", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1886ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb0087735334ed7790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0087735334ed7790000')} 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('530cb0087735334ed7790000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms 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.1815ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed77a0000'), "firstname"=>"Gussie", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb0087735334ed77a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0087735334ed77a0000')} 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.4ms) 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('530cb0087735334ed77b0000'), "firstname"=>"Godfrey", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms 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.3573ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed77c0000'), "firstname"=>"Brisa", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0087735334ed77d0000'), "firstname"=>"Myrtice", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb0087735334ed77d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0087735334ed77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms 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('530cb0087735334ed77e0000'), "firstname"=>"Pierce", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb0087735334ed77e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0087735334ed77e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms Unpermitted parameters: name Redirected to http://test.host/users/530cb0087735334ed77e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} 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={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms 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.3182ms 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.3132ms 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.3057ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f277353350b0000000'), "firstname"=>"Alexandrine", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2250ms 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('530cb0f377353350b0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms 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.2544ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0020000'), "firstname"=>"Virgie", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0030000'), "firstname"=>"Imogene", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5192ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0040000'), "firstname"=>"Lillie", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb0f377353350b0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0050000'), "firstname"=>"Reyes", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb0f377353350b0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms 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('530cb0f377353350b0060000'), "name"=>"Darion Wolf", "reference"=>"Ross Schroeder", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0070000'), "author_name"=>"Ms. Daron Nienow", "content"=>["Repellendus veritatis odit. Ad vel voluptas non quos. Laudantium impedit et dolor. Minus alias consequatur. Veniam velit soluta est ut aperiam possimus est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb0f377353350b0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3338ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Redirected to http://test.host/admin/products/530cb0f377353350b0060000/comments/530cb0f377353350b0080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0090000'), "name"=>"Fausto Heller", "reference"=>"Timmothy Goodwin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b00a0000'), "author_name"=>"Fredy Frami", "content"=>["Non vitae commodi tempore. Reprehenderit nisi non sint eum et. Corrupti enim non provident. Qui laboriosam dolor repellendus perferendis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb0f377353350b0090000", "id"=>"530cb0f377353350b00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0f377353350b00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Redirected to http://test.host/admin/products/530cb0f377353350b0090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b00b0000'), "name"=>"Leslie Frami", "reference"=>"Mazie Kunde", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b00c0000'), "author_name"=>"Samson Swift Jr.", "content"=>["Sit enim laborum. Asperiores eveniet nihil. Sed aut molestias ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2277ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb0f377353350b00b0000", "id"=>"530cb0f377353350b00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b00b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b00d0000'), "name"=>"Melissa Smith", "reference"=>"Damion Berge", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b00e0000'), "author_name"=>"Dr. Ramona Stanton", "content"=>["Delectus placeat perferendis qui earum aut et odio. Delectus voluptatem omnis architecto perferendis ut vel dolor. Dolorem deserunt adipisci voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb0f377353350b00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b00f0000'), "name"=>"Dr. Lonnie Murphy", "reference"=>"Sandra Herzog", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0100000'), "author_name"=>"Rocio Kovacek", "content"=>["Magnam tenetur voluptatem est. Molestiae voluptates mollitia at eum atque quis hic. Sunt odit itaque odio repellat dolores ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb0f377353350b00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b00f0000')} 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: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0110000'), "name"=>"Lenny Feeney I", "reference"=>"Francesco Koss", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0120000'), "author_name"=>"Leann Lowe", "content"=>["Eos hic magnam aut. Enim incidunt nemo ut consequatur cupiditate rerum explicabo. Ut tempora perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb0f377353350b0110000", "id"=>"530cb0f377353350b0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0130000'), "name"=>"Miss Beverly Leffler", "reference"=>"Quincy Schiller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0140000'), "author_name"=>"Gene Roberts", "content"=>["Quia maxime cupiditate consequatur et veritatis eligendi. Voluptatem perferendis autem qui dolores magni fuga. Sapiente vitae culpa cupiditate. Libero et perferendis amet dignissimos voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb0f377353350b0140000", "product_id"=>"530cb0f377353350b0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0130000')} 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('530cb0f377353350b0130000'), "comments._id"=>BSON::ObjectId('530cb0f377353350b0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Redirected to http://test.host/admin/products/530cb0f377353350b0130000/comments/530cb0f377353350b0140000 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('530cb0f377353350b0150000'), "name"=>"Zoey Gislason", "reference"=>"Dane Lakin PhD", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0160000'), "firstname"=>"Charlene", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb0f377353350b0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms Redirected to http://test.host/admin/products/530cb0f377353350b0150000/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('530cb0f377353350b0180000'), "name"=>"Hollie Hartmann Sr.", "reference"=>"Leila Pfeffer MD", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0190000'), "firstname"=>"Adela", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0190000", "product_id"=>"530cb0f377353350b0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0180000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.0ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b01a0000'), "name"=>"Mrs. Carmel Dicki", "reference"=>"Monique Walker", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b01b0000'), "firstname"=>"Rudolph", "lastname"=>"Fadel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb0f377353350b01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b01a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb0f377353350b01c0000'), "name"=>"Parker Yost", "reference"=>"Kelsie Jenkins", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b01d0000'), "firstname"=>"Maximillian", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7214ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb0f377353350b01d0000", "product_id"=>"530cb0f377353350b01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b01e0000'), "name"=>"Cristian Ledner Jr.", "reference"=>"Madison Corkery Sr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b01f0000'), "firstname"=>"Orland", "lastname"=>"Block"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb0f377353350b01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb0f377353350b01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb0f377353350b01e0000/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('530cb0f377353350b0200000'), "name"=>"Loren Crona", "reference"=>"Merlin Lubowitz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms 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('530cb0f377353350b0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Redirected to http://test.host/admin/products/530cb0f377353350b0210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1992ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0220000'), "name"=>"Erna Buckridge", "reference"=>"Adalberto Feest", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms 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"=>"530cb0f377353350b0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms 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.1923ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0230000'), "name"=>"Mrs. Shawn Connelly", "reference"=>"Una Boyle", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0230000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0240000'), "name"=>"Mrs. Freeda Goyette", "reference"=>"Zion Hane DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms 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.5153ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0250000'), "name"=>"Maurine Mohr", "reference"=>"Faustino Kiehn", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0280000'), "name"=>"Katelynn Reilly", "reference"=>"Alexandria Kling", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb0f377353350b0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms 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('530cb0f377353350b0290000'), "name"=>"Novella Osinski", "reference"=>"Miss Mac Wunsch", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0f377353350b0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0290000')} 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('530cb0f377353350b0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms Redirected to http://test.host/admin/products/530cb0f377353350b0290000 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('530cb0f377353350b02a0000'), "firstname"=>"Rachael", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms 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('530cb0f377353350b02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms Redirected to http://test.host/admin/users/530cb0f377353350b02b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1940ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b02c0000'), "firstname"=>"Betsy", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms 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"=>"530cb0f377353350b02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f377353350b02c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f377353350b02c0000')} 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.1883ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b02d0000'), "firstname"=>"Bonita", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb0f377353350b02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f377353350b02d0000')} 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 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('530cb0f377353350b02e0000'), "firstname"=>"Theresa", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms 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.3026ms 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('530cb0f377353350b02f0000'), "firstname"=>"Wilhelm", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms 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.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0300000'), "firstname"=>"Ignatius", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb0f377353350b0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f377353350b0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms 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('530cb0f377353350b0310000'), "firstname"=>"Danny", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb0f377353350b0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f377353350b0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb0f377353350b0310000 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('530cb0f377353350b0320000'), "firstname"=>"Walter", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms 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"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms 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.1967ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0340000'), "firstname"=>"Bethel", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0340000')} 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.6ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0350000'), "firstname"=>"Karley", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0360000'), "firstname"=>"Barry", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb0f377353350b0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0370000'), "firstname"=>"Arnulfo", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb0f377353350b0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb0f377353350b0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms 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('530cb0f377353350b0380000'), "name"=>"Loma Walsh", "reference"=>"Maxie Rutherford", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0390000'), "author_name"=>"George Spinka DDS", "content"=>["Quis blanditiis vero sit. Expedita voluptatem et vitae dolorem. Beatae modi voluptate accusamus ut a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb0f377353350b0380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0380000')} 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('530cb0f377353350b0380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0f377353350b03a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms Redirected to http://test.host/products/530cb0f377353350b0380000/comments/530cb0f377353350b03a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b03b0000'), "name"=>"Floy Hyatt", "reference"=>"Thelma Reichert", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b03c0000'), "author_name"=>"Berenice Fritsch", "content"=>["Quo fugiat animi ipsum. Nobis ratione enim sit. Ipsum recusandae sit. Fugit ipsa alias atque. Nostrum reiciendis et assumenda optio corporis sed sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb0f377353350b03b0000", "id"=>"530cb0f377353350b03c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b03b0000')} 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('530cb0f377353350b03b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb0f377353350b03c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Redirected to http://test.host/products/530cb0f377353350b03b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b03d0000'), "name"=>"Justine Raynor", "reference"=>"Demond Witting", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b03e0000'), "author_name"=>"Conor Carroll", "content"=>["Ut minus qui est. Qui dolore sed sit velit. Esse excepturi illo error ea officia occaecati eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb0f377353350b03d0000", "id"=>"530cb0f377353350b03e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b03d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b03f0000'), "name"=>"Nyah Lemke", "reference"=>"Magnus Schuppe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0400000'), "author_name"=>"Ashley Kertzmann", "content"=>["Incidunt et laboriosam quidem sapiente expedita adipisci qui. Maxime et tempore. Qui provident officiis in corrupti et corporis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb0f377353350b03f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0410000'), "name"=>"Mylene Powlowski", "reference"=>"Claire Bosco", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0420000'), "author_name"=>"Alberta Funk DVM", "content"=>["Nihil aliquam magnam nobis. Voluptatem explicabo labore qui. Aperiam voluptas error dolores molestiae et. Ex quo libero eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb0f377353350b0410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0430000'), "name"=>"Jaclyn Hoppe", "reference"=>"Randi Hauck", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0440000'), "author_name"=>"Therese Rosenbaum", "content"=>["Alias libero provident aspernatur similique et. Repellat corporis sunt voluptas. Et laudantium dolorem. Quos minima aut dignissimos tempora delectus enim ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb0f377353350b0430000", "id"=>"530cb0f377353350b0440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0450000'), "name"=>"Crystal Koepp", "reference"=>"Audra Franecki", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0460000'), "author_name"=>"Carey Steuber", "content"=>["Eveniet at corporis necessitatibus dolorum. In eligendi et sapiente. Qui quasi recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1865ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb0f377353350b0450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0470000'), "name"=>"Norval Grimes", "reference"=>"Suzanne Parisian", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b0480000'), "author_name"=>"Fredy Beer", "content"=>["Autem fugiat qui ut dolorum modi repellat quod. Saepe dicta omnis velit accusamus iste qui. Et fugiat ipsum minus consequuntur sapiente rem ex. Nostrum sunt est ad impedit sapiente ea. Quasi voluptatum fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb0f377353350b0470000", "id"=>"530cb0f377353350b0480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0490000'), "name"=>"Madison Runte", "reference"=>"Larry Blick II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb0f377353350b04a0000'), "author_name"=>"Dr. Gay Gottlieb", "content"=>["Atque aliquid soluta ut facilis rem cum. Deserunt accusamus maxime quia iure harum facilis ullam. Aut enim assumenda pariatur dolorem unde amet libero. Reiciendis dolores ullam porro fuga repellendus rerum. Voluptatibus debitis aperiam doloribus cumque quia praesentium et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb0f377353350b04a0000", "product_id"=>"530cb0f377353350b0490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0490000')} 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('530cb0f377353350b0490000'), "comments._id"=>BSON::ObjectId('530cb0f377353350b04a0000')} 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/530cb0f377353350b0490000/comments/530cb0f377353350b04a0000 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('530cb0f377353350b04b0000'), "firstname"=>"Hattie", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5098ms 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('530cb0f377353350b04c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms Redirected to http://test.host/admin/clients/530cb0f377353350b04c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2060ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b04d0000'), "firstname"=>"Heaven", "lastname"=>"Johns"}] 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=>"clients", :query=>{}} runtime: 0.1790ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb0f377353350b04d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b04d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b04d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms 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.1904ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b04e0000'), "firstname"=>"Deanna", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb0f377353350b04e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b04e0000')} 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.1ms) 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('530cb0f377353350b04f0000'), "firstname"=>"Raul", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8599ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms 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('530cb0f377353350b0500000'), "firstname"=>"Eulalia", "lastname"=>"Feest"}] 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.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('530cb0f377353350b0510000'), "firstname"=>"Camron", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb0f377353350b0510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms 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('530cb0f377353350b0520000'), "firstname"=>"Salma", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb0f377353350b0520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b0520000')} 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('530cb0f377353350b0520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Redirected to http://test.host/admin/clients/530cb0f377353350b0520000 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('530cb0f377353350b0530000'), "firstname"=>"Matilde", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms 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('530cb0f377353350b0540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms Redirected to http://test.host/clients/530cb0f377353350b0540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0550000'), "firstname"=>"Sydni", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1657ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb0f377353350b0550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b0550000')} 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('530cb0f377353350b0550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms 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.1798ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0560000'), "firstname"=>"Mireya", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b0560000')} 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.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('530cb0f377353350b0570000'), "firstname"=>"Maymie", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms 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('530cb0f377353350b0580000'), "firstname"=>"Alisha", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms 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('530cb0f377353350b0590000'), "firstname"=>"Reid", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb0f377353350b0590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b05a0000'), "firstname"=>"Holden", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb0f377353350b05a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b05a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb0f377353350b05a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms Redirected to http://test.host/clients/530cb0f377353350b05a0000 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('530cb0f377353350b05b0000'), "name"=>"Miss Matilda Tromp", "reference"=>"Scottie Marvin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b05c0000'), "firstname"=>"Elizabeth", "lastname"=>"Smith"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb0f377353350b05b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b05b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b05b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b05d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms Redirected to http://test.host/products/530cb0f377353350b05b0000/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('530cb0f377353350b05e0000'), "name"=>"Cielo Block", "reference"=>"Don Schultz", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b05f0000'), "firstname"=>"Rafael", "lastname"=>"Brakus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb0f377353350b05f0000", "product_id"=>"530cb0f377353350b05e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b05e0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0600000'), "name"=>"Libby Runte MD", "reference"=>"Clarabelle Boehm", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0610000'), "firstname"=>"Norris", "lastname"=>"Macejkovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb0f377353350b0600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0620000'), "name"=>"Gregg Blanda", "reference"=>"Tristin Murazik", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0630000'), "firstname"=>"Rosemarie", "lastname"=>"Toy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb0f377353350b0630000", "product_id"=>"530cb0f377353350b0620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0640000'), "name"=>"Hazel Kshlerin", "reference"=>"Alphonso Wolf", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb0f377353350b0650000'), "firstname"=>"Maritza", "lastname"=>"Marquardt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb0f377353350b0650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb0f377353350b0640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms Unpermitted parameters: name Redirected to http://test.host/products/530cb0f377353350b0640000/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('530cb0f377353350b0660000'), "name"=>"Mrs. Maritza Bashirian", "reference"=>"Alessandra Buckridge", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2071ms 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('530cb0f377353350b0670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Redirected to http://test.host/products/530cb0f377353350b0670000 Completed 302 Found in 3ms 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('530cb0f377353350b0680000'), "name"=>"Breanna Pollich IV", "reference"=>"Glenda Hermann", "quantity"=>"7"}] 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.1873ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb0f377353350b0680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0680000')} 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('530cb0f377353350b0680000')} 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.1821ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b0690000'), "name"=>"Ms. Zola Feest", "reference"=>"Maximillian Wilderman", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb0f377353350b0690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f377353350b0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb0f377353350b06a0000'), "name"=>"Osvaldo Wisoky", "reference"=>"Davon Torphy", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms 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.7634ms Completed 200 OK in 22ms (Views: 21.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f377353350b06b0000'), "name"=>"Mrs. Yolanda Daniel", "reference"=>"Maye Satterfield DVM", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms 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.7303ms Completed 200 OK in 30ms (Views: 27.5ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b06c0000'), "name"=>"Lonie Johns I", "reference"=>"Roman Heller", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb0f477353350b06c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b06c0000')} 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('530cb0f477353350b06d0000'), "name"=>"Miss Tavares Brekke", "reference"=>"Keeley Kertzmann I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb0f477353350b06f0000'), "name"=>"Adrian Grant", "reference"=>"Karine Abbott Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb0f477353350b06f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b0700000'), "name"=>"Jason Kub", "reference"=>"Price Zulauf", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms 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('530cb0f477353350b0710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1858ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b0720000'), "name"=>"Kelli Conroy PhD", "reference"=>"Tyler Skiles", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb0f477353350b0720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b0720000')} 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={"_id"=>BSON::ObjectId('530cb0f477353350b0720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms 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('530cb0f477353350b0730000'), "name"=>"Harley Haag", "reference"=>"Tabitha Wilderman II", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms 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('530cb0f477353350b0750000'), "name"=>"Marvin Boehm", "reference"=>"Randi Roob", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.7507ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0f477353350b0750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b0750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms 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('530cb0f477353350b0760000'), "name"=>"Isaac Marquardt", "reference"=>"Mrs. Felton Heidenreich", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb0f477353350b0760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb0f477353350b0760000')} 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('530cb0f477353350b0760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Redirected to http://test.host/products/530cb0f477353350b0760000 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('530cb0f477353350b0770000'), "firstname"=>"Ervin", "lastname"=>"Hills"}] 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=>"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('530cb0f477353350b0780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms Redirected to http://test.host/users/530cb0f477353350b0780000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1990ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b0790000'), "firstname"=>"Antonina", "lastname"=>"Runolfsdottir"}] 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.1755ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb0f477353350b0790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f477353350b0790000')} 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('530cb0f477353350b0790000')} 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.2042ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b07a0000'), "firstname"=>"Duane", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb0f477353350b07a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f477353350b07a0000')} 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.4ms) 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('530cb0f477353350b07b0000'), "firstname"=>"Shanny", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms 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.3616ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb0f477353350b07c0000'), "firstname"=>"Margret", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3432ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb0f477353350b07d0000'), "firstname"=>"Brooks", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb0f477353350b07d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f477353350b07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms 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('530cb0f477353350b07e0000'), "firstname"=>"Antonette", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb0f477353350b07e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb0f477353350b07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Unpermitted parameters: name Redirected to http://test.host/users/530cb0f477353350b07e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms 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.3195ms 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.3137ms 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.3050ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188000000'), "firstname"=>"Sonya", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2301ms 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('530cb22b7735335188010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms 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.2486ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188020000'), "firstname"=>"Tristian", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb22b7735335188020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188030000'), "firstname"=>"Michel", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188040000'), "firstname"=>"Nadia", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb22b7735335188040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188050000'), "firstname"=>"Jimmy", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb22b7735335188050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms 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('530cb22b7735335188060000'), "name"=>"Elliot Lubowitz", "reference"=>"Dr. Leslie Jones", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188070000'), "author_name"=>"Idell Strosin", "content"=>["Itaque qui laboriosam optio. Reiciendis qui sed ut corrupti a consequuntur. Velit magni officiis ad laborum magnam et. Aut dolor magni voluptate voluptatem accusantium ea aspernatur. Eos enim nihil cupiditate ex sed quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb22b7735335188060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188060000')} 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('530cb22b7735335188060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb22b7735335188080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms Redirected to http://test.host/admin/products/530cb22b7735335188060000/comments/530cb22b7735335188080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188090000'), "name"=>"Miss Jamal Lehner", "reference"=>"Elizabeth Keeling", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b77353351880a0000'), "author_name"=>"Margarette Kovacek", "content"=>["Est libero qui. Vero blanditiis debitis voluptatem fuga. Cumque dicta rerum quis. Debitis voluptas natus corrupti voluptates. Velit praesentium harum eveniet dolore expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1819ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb22b7735335188090000", "id"=>"530cb22b77353351880a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb22b77353351880a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms Redirected to http://test.host/admin/products/530cb22b7735335188090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351880b0000'), "name"=>"Gerardo Altenwerth", "reference"=>"Deondre Smith", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b77353351880c0000'), "author_name"=>"Connie Christiansen", "content"=>["Doloribus fugit unde odit quod dolor assumenda nemo. Neque temporibus et nobis dolor. Alias nihil expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb22b77353351880b0000", "id"=>"530cb22b77353351880c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351880b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 11ms (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('530cb22b77353351880d0000'), "name"=>"Cordell Gerlach", "reference"=>"Mariana Bartell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b77353351880e0000'), "author_name"=>"Ernestine Hammes DVM", "content"=>["Blanditiis eos inventore assumenda. Rerum cum non quidem sint illo. Eum veritatis et omnis aut at quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb22b77353351880d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351880d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351880f0000'), "name"=>"Emmanuel Robel", "reference"=>"Tia McGlynn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188100000'), "author_name"=>"Brett Dickinson", "content"=>["Explicabo natus optio ullam quod. Iusto sit blanditiis voluptatum dolores. Nihil ut asperiores ut sint non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb22b77353351880f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351880f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188110000'), "name"=>"Luz Lemke", "reference"=>"Ms. Henri Wilkinson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188120000'), "author_name"=>"Mr. Adolfo Lowe", "content"=>["Et accusamus et. Eum aut eos qui. Quae facilis ad voluptatum optio. Soluta odio unde aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb22b7735335188110000", "id"=>"530cb22b7735335188120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3513ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188130000'), "name"=>"Ms. Easton Stiedemann", "reference"=>"Justyn Turcotte", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188140000'), "author_name"=>"Ola Zulauf", "content"=>["Id ut inventore accusamus enim. Maxime iste nostrum aliquam harum voluptas. Omnis molestiae corporis exercitationem voluptatem eveniet sed velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb22b7735335188140000", "product_id"=>"530cb22b7735335188130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188130000')} 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('530cb22b7735335188130000'), "comments._id"=>BSON::ObjectId('530cb22b7735335188140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Redirected to http://test.host/admin/products/530cb22b7735335188130000/comments/530cb22b7735335188140000 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('530cb22b7735335188150000'), "name"=>"Amos Greenholt", "reference"=>"Filiberto Bechtelar", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb22b7735335188160000'), "firstname"=>"Hanna", "lastname"=>"Wehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb22b7735335188150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188150000')} 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('530cb22b7735335188150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb22b7735335188170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms Redirected to http://test.host/admin/products/530cb22b7735335188150000/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('530cb22b7735335188180000'), "name"=>"Talon Rath", "reference"=>"Estrella Runolfsson", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb22b7735335188190000'), "firstname"=>"Zachariah", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb22b7735335188190000", "product_id"=>"530cb22b7735335188180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188180000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351881a0000'), "name"=>"Rory Powlowski", "reference"=>"Katelin Stoltenberg I", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb22b77353351881b0000'), "firstname"=>"Ezra", "lastname"=>"Daniel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb22b77353351881a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351881a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('530cb22b77353351881c0000'), "name"=>"Cydney Kirlin", "reference"=>"Hiram Schmeler", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb22b77353351881d0000'), "firstname"=>"Garrison", "lastname"=>"Barrows"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb22b77353351881d0000", "product_id"=>"530cb22b77353351881c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351881c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351881e0000'), "name"=>"Sister Stiedemann", "reference"=>"Matt Corkery", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb22b77353351881f0000'), "firstname"=>"Karlie", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb22b77353351881f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb22b77353351881e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351881e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb22b77353351881e0000/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('530cb22b7735335188200000'), "name"=>"Wilford Johnston III", "reference"=>"Simone Rau IV", "quantity"=>"7"}] 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.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('530cb22b7735335188210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Redirected to http://test.host/admin/products/530cb22b7735335188210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1945ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188220000'), "name"=>"Josiah Deckow", "reference"=>"Adolfo Morissette", "quantity"=>"6"}] 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.1740ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb22b7735335188220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188220000')} 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('530cb22b7735335188220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms 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.1880ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188230000'), "name"=>"Demond Lesch", "reference"=>"Karson Kuphal", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb22b7735335188230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188230000')} 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 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188240000'), "name"=>"Ms. Willis Mohr", "reference"=>"Jacey Thiel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms 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.5169ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188250000'), "name"=>"Evan Toy I", "reference"=>"Dell Heller", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188280000'), "name"=>"Kirk Batz IV", "reference"=>"Josie Goyette III", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb22b7735335188280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms 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('530cb22b7735335188290000'), "name"=>"Camden Spencer", "reference"=>"Ray Quigley Jr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb22b7735335188290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Redirected to http://test.host/admin/products/530cb22b7735335188290000 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('530cb22b77353351882a0000'), "firstname"=>"Glen", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1791ms 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('530cb22b77353351882b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Redirected to http://test.host/admin/users/530cb22b77353351882b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1961ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22b77353351882c0000'), "firstname"=>"Rhett", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3512ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1764ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb22b77353351882c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22b77353351882c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22b77353351882c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms 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.1838ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22b77353351882d0000'), "firstname"=>"Judy", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb22b77353351882d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22b77353351882d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms 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('530cb22b77353351882e0000'), "firstname"=>"Erick", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms 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: 30.0506ms Completed 200 OK in 38ms (Views: 37.5ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22b77353351882f0000'), "firstname"=>"Annie", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188300000'), "firstname"=>"Major", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb22b7735335188300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22b7735335188300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms 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('530cb22b7735335188310000'), "firstname"=>"Vergie", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb22b7735335188310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22b7735335188310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb22b7735335188310000 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('530cb22b7735335188320000'), "firstname"=>"Orlando", "lastname"=>"Lang"}] 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=>"administrators", :query=>{}} runtime: 0.1639ms 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('530cb22b7735335188330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms 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.1810ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188340000'), "firstname"=>"Chaya", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb22b7735335188340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188350000'), "firstname"=>"Adam", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188360000'), "firstname"=>"Damian", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8866ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb22b7735335188360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188370000'), "firstname"=>"Lynn", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb22b7735335188370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb22b7735335188370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms 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('530cb22b7735335188380000'), "name"=>"Romaine Gleason", "reference"=>"Gust Friesen", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188390000'), "author_name"=>"Alek Stiedemann", "content"=>["Voluptas tempore ex et. Voluptate sed eaque molestias quas cum reprehenderit. Omnis natus autem. Totam aliquam perspiciatis ipsam in autem hic aspernatur. Omnis sapiente est ab quibusdam molestiae quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb22b7735335188380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188380000')} 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('530cb22b7735335188380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb22b77353351883a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Redirected to http://test.host/products/530cb22b7735335188380000/comments/530cb22b77353351883a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351883b0000'), "name"=>"Anabelle West", "reference"=>"Kavon Greenholt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b77353351883c0000'), "author_name"=>"Harold Parisian IV", "content"=>["Et et explicabo voluptas sit repellat error iure. Et nulla doloribus in autem perferendis. Assumenda ipsam provident repellendus fugiat deserunt perspiciatis. Cum ullam iusto placeat. Nobis sit error quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351883b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb22b77353351883b0000", "id"=>"530cb22b77353351883c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351883b0000')} 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('530cb22b77353351883b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb22b77353351883c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms Redirected to http://test.host/products/530cb22b77353351883b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351883b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351883d0000'), "name"=>"Hildegard Bogisich I", "reference"=>"Maya Ledner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b77353351883e0000'), "author_name"=>"Ettie Willms", "content"=>["Quidem qui alias. Et sint voluptate voluptatibus qui. Quia rerum non tempora numquam. Et est eos voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb22b77353351883d0000", "id"=>"530cb22b77353351883e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351883d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b77353351883f0000'), "name"=>"Magdalen Cronin", "reference"=>"Christina Corkery DDS", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188400000'), "author_name"=>"Damion Koelpin", "content"=>["Repellat velit sint est sed. Animi iusto ratione et repudiandae. Ex et mollitia. Veniam velit et sed. Eum laborum aut asperiores enim quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb22b77353351883f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b77353351883f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188410000'), "name"=>"Raphaelle McDermott", "reference"=>"Godfrey Cole", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188420000'), "author_name"=>"Eryn Cartwright", "content"=>["Qui itaque nihil voluptas enim. Quaerat possimus qui minima aut eos. Nobis delectus quo at. Voluptas sint molestias a magni et architecto dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb22b7735335188410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22b7735335188430000'), "name"=>"Horace Keebler", "reference"=>"Nicole Donnelly", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb22b7735335188440000'), "author_name"=>"Anita Schoen", "content"=>["Explicabo esse et autem sapiente vero ipsa enim. Asperiores magni aut est. Eaque iusto optio repudiandae velit rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb22b7735335188430000", "id"=>"530cb22b7735335188440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22b7735335188430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188450000'), "name"=>"Sarai VonRueden", "reference"=>"Emmitt Schaefer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188460000'), "author_name"=>"Rudolph Emmerich", "content"=>["Quia aut labore. Ut alias voluptas. Possimus nobis eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb22c7735335188450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188470000'), "name"=>"Ms. Haskell Denesik", "reference"=>"Cathy Anderson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188480000'), "author_name"=>"Orpha Nolan", "content"=>["Voluptatem quos magni totam. Perferendis laudantium et sit at. Laborum ea incidunt enim. Ut et qui doloremque. Culpa ad in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb22c7735335188470000", "id"=>"530cb22c7735335188480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188490000'), "name"=>"Mr. Amalia O'Hara", "reference"=>"Cyrus Rogahn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c77353351884a0000'), "author_name"=>"Cletus Gorczany", "content"=>["Non cum quo ut non. Soluta deserunt accusamus tempore sint. Minus dolore ipsa odio possimus ipsum. Et quae quia. Eaque pariatur eligendi necessitatibus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb22c77353351884a0000", "product_id"=>"530cb22c7735335188490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188490000')} 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('530cb22c7735335188490000'), "comments._id"=>BSON::ObjectId('530cb22c77353351884a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms Redirected to http://test.host/products/530cb22c7735335188490000/comments/530cb22c77353351884a0000 Completed 302 Found in 38ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c77353351884b0000'), "firstname"=>"Alessandro", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms 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('530cb22c77353351884c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Redirected to http://test.host/admin/clients/530cb22c77353351884c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2295ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c77353351884d0000'), "firstname"=>"Shaun", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms 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"=>"530cb22c77353351884d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c77353351884d0000')} 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('530cb22c77353351884d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms 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('530cb22c77353351884e0000'), "firstname"=>"Cruz", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb22c77353351884e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c77353351884e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms 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('530cb22c77353351884f0000'), "firstname"=>"Meggie", "lastname"=>"Abernathy"}] 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.3329ms 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('530cb22c7735335188500000'), "firstname"=>"Wilbert", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188510000'), "firstname"=>"Sim", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb22c7735335188510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms 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('530cb22c7735335188520000'), "firstname"=>"Zane", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb22c7735335188520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188520000')} 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('530cb22c7735335188520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/admin/clients/530cb22c7735335188520000 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('530cb22c7735335188530000'), "firstname"=>"Laurine", "lastname"=>"Schneider"}] 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.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('530cb22c7735335188540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms Redirected to http://test.host/clients/530cb22c7735335188540000 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_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188550000'), "firstname"=>"Kaycee", "lastname"=>"Pacocha"}] 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.1645ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb22c7735335188550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms 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.1790ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188560000'), "firstname"=>"Virgie", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb22c7735335188560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188560000')} 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.0ms) 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('530cb22c7735335188570000'), "firstname"=>"Marcelino", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms 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('530cb22c7735335188580000'), "firstname"=>"Kara", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188590000'), "firstname"=>"Enrique", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb22c7735335188590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c7735335188590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb22c77353351885a0000'), "firstname"=>"Yasmeen", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb22c77353351885a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c77353351885a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb22c77353351885a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms Redirected to http://test.host/clients/530cb22c77353351885a0000 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('530cb22c77353351885b0000'), "name"=>"Mr. Charity Robel", "reference"=>"Dr. Lorenza Bartoletti", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb22c77353351885c0000'), "firstname"=>"Henry", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb22c77353351885b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c77353351885b0000')} 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('530cb22c77353351885b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c77353351885b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb22c77353351885d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms Redirected to http://test.host/products/530cb22c77353351885b0000/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('530cb22c77353351885e0000'), "name"=>"Alvah Schoen", "reference"=>"Austen Oberbrunner III", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb22c77353351885f0000'), "firstname"=>"Myrtle", "lastname"=>"Schultz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb22c77353351885f0000", "product_id"=>"530cb22c77353351885e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c77353351885e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188600000'), "name"=>"Mr. Bethany Murphy", "reference"=>"Adelia Swift", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb22c7735335188610000'), "firstname"=>"Luther", "lastname"=>"Corkery"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb22c7735335188600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188620000'), "name"=>"Ms. Jayce Simonis", "reference"=>"Katlyn MacGyver", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb22c7735335188630000'), "firstname"=>"Hans", "lastname"=>"Carroll"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb22c7735335188630000", "product_id"=>"530cb22c7735335188620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188640000'), "name"=>"Adela Gulgowski DVM", "reference"=>"Kenna Miller", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb22c7735335188650000'), "firstname"=>"Onie", "lastname"=>"Boehm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb22c7735335188650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb22c7735335188640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Unpermitted parameters: name Redirected to http://test.host/products/530cb22c7735335188640000/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('530cb22c7735335188660000'), "name"=>"Mitchell Watsica IV", "reference"=>"Mitchell Hahn", "quantity"=>"4"}] 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.1768ms 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('530cb22c7735335188670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Redirected to http://test.host/products/530cb22c7735335188670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1926ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188680000'), "name"=>"Ms. Oscar Raynor", "reference"=>"Gaston Miller", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1733ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb22c7735335188680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188680000')} 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('530cb22c7735335188680000')} 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.1693ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188690000'), "name"=>"Skye Gutmann II", "reference"=>"Miss Lourdes Kovacek", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb22c7735335188690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188690000')} 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.5ms) 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('530cb22c77353351886a0000'), "name"=>"Darrell Metz", "reference"=>"Dr. Alejandrin O'Keefe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms 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.7434ms Completed 200 OK in 47ms (Views: 46.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c77353351886b0000'), "name"=>"Steve Kilback PhD", "reference"=>"Misty O'Reilly", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms 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.7791ms 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('530cb22c77353351886c0000'), "name"=>"Silas Boehm", "reference"=>"Stacy Stiedemann", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb22c77353351886c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c77353351886c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms 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('530cb22c77353351886d0000'), "name"=>"Hazel Hammes PhD", "reference"=>"Brenna Greenholt", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms 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('530cb22c77353351886f0000'), "name"=>"Rowan Oberbrunner", "reference"=>"Luciano Gorczany", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb22c77353351886f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c77353351886f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188700000'), "name"=>"Xzavier Hudson", "reference"=>"Cathy Schamberger", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6699ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1869ms 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('530cb22c7735335188710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1899ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188720000'), "name"=>"Wilber Trantow", "reference"=>"Elenora Legros", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb22c7735335188720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188720000')} 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('530cb22c7735335188720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms 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('530cb22c7735335188730000'), "name"=>"Elroy Heathcote IV", "reference"=>"Maximillian Witting", "quantity"=>"3"}] 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('530cb22c7735335188750000'), "name"=>"Jalyn Monahan", "reference"=>"Mrs. Abbie Dickens", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb22c7735335188750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188750000')} 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('530cb22c7735335188750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms 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('530cb22c7735335188760000'), "name"=>"Suzanne Greenfelder DDS", "reference"=>"Eloise Bartoletti", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb22c7735335188760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb22c7735335188760000')} 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('530cb22c7735335188760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms Redirected to http://test.host/products/530cb22c7735335188760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188770000'), "name"=>"Viola Reilly", "reference"=>"Dariana McDermott", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188780000'), "author_name"=>"Ms. Della Waters", "content"=>["Aliquam voluptates sed est qui eius. Ipsa reiciendis eum ad et rem. Error commodi dolorum. Veniam pariatur fuga reprehenderit nihil in laudantium aut. Voluptatem nisi deserunt beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188790000'), "name"=>"Missouri Herzog", "reference"=>"Laurel Anderson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c77353351887a0000'), "author_name"=>"Korbin Abshire Sr.", "content"=>["Consequuntur dolor alias. Et sit ut praesentium dolore non qui dolorem. Cum qui rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c77353351887b0000'), "name"=>"Abbigail Rippin", "reference"=>"Winifred Swaniawski", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c77353351887c0000'), "author_name"=>"Dr. Amely Windler", "content"=>["Velit alias earum. Officia et omnis accusamus necessitatibus qui dolorem. Tenetur est voluptas qui quia voluptatem amet et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c77353351887d0000'), "name"=>"Vivianne Swaniawski", "reference"=>"Mrs. Vida Barrows", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c77353351887e0000'), "author_name"=>"Olaf Cole", "content"=>["Veniam est tenetur quisquam laudantium. Totam quo saepe qui. Est neque rerum aut et quisquam labore libero. Ducimus quod ipsa nihil. Earum maxime assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c77353351887f0000'), "name"=>"Marlee Fritsch", "reference"=>"Dianna Conroy", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188800000'), "author_name"=>"Aidan Rolfson", "content"=>["Eos consequatur sit dolorem eaque laudantium animi. Quos sed velit. Dolore perferendis eligendi quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188810000'), "name"=>"Dr. Tommie Daugherty", "reference"=>"Rachel Quigley", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188820000'), "author_name"=>"Presley Pfeffer", "content"=>["Debitis laborum explicabo velit. Odio placeat sit sequi repellendus accusantium fugiat. Et ratione doloribus in aut nihil quibusdam. Asperiores illo voluptatem laboriosam qui cumque ut dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188830000'), "name"=>"Salma Cronin Jr.", "reference"=>"Miss Odell Mitchell", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188840000'), "author_name"=>"Karson Lemke", "content"=>["Ut ea exercitationem molestias. Beatae qui voluptas aut recusandae. Est dolores animi adipisci voluptatum facere natus vel. Et eum incidunt. Quo consequatur velit iure alias aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188850000'), "name"=>"Earnestine Kovacek", "reference"=>"Ova Kreiger", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188860000'), "author_name"=>"Jane Hermiston", "content"=>["Voluptates libero placeat. Sit blanditiis dolor sunt. Quas omnis et quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188870000'), "name"=>"Schuyler Harber", "reference"=>"Jeffry Kunze", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb22c7735335188880000'), "author_name"=>"Ignatius McGlynn PhD", "content"=>["Voluptatibus reiciendis iste qui laborum. Repellendus dolorum debitis dolor. Molestiae dolorum saepe rem assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22c7735335188890000'), "firstname"=>"Gianni", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1779ms 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('530cb22c77353351888a0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Redirected to http://test.host/users/530cb22c77353351888a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1936ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22c77353351888b0000'), "firstname"=>"Abdul", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1698ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb22c77353351888b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22c77353351888b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22c77353351888b0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms 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.1821ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22c77353351888c0000'), "firstname"=>"Angus", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb22c77353351888c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22c77353351888c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) 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('530cb22c77353351888d0000'), "firstname"=>"Dock", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms 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.5177ms Completed 200 OK in 37ms (Views: 35.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22c77353351888e0000'), "firstname"=>"Karianne", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms 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: 4.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb22c77353351888f0000'), "firstname"=>"Ansley", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb22c77353351888f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22c77353351888f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms 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('530cb22c7735335188900000'), "firstname"=>"Maegan", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb22c7735335188900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb22c7735335188900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Unpermitted parameters: name Redirected to http://test.host/users/530cb22c7735335188900000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms 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.3523ms 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.3400ms 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.3283ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0000000'), "firstname"=>"Aileen", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2252ms 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('530cb23c77353351b0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms 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.2373ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0020000'), "firstname"=>"Estel", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb23c77353351b0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0030000'), "firstname"=>"Frances", "lastname"=>"Hintz"}] 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0040000'), "firstname"=>"Derek", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.1749ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb23c77353351b0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0050000'), "firstname"=>"Virginia", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb23c77353351b0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0050000')} 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::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0060000'), "name"=>"Keanu Hammes", "reference"=>"Ryann Cruickshank", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0070000'), "author_name"=>"Miss Adriel Harris", "content"=>["Soluta officia et autem enim repellendus. Ea quia rem minus. Sunt architecto alias labore. Quis cupiditate qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0060000')} 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"=>"530cb23c77353351b0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb23c77353351b0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Redirected to http://test.host/admin/products/530cb23c77353351b0060000/comments/530cb23c77353351b0080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0090000'), "name"=>"Leanna Mohr", "reference"=>"Eladio Wilderman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b00a0000'), "author_name"=>"Hiram Goyette", "content"=>["Ut dolores vero tempore earum rem et qui. Rem nesciunt labore. Placeat exercitationem enim nemo commodi qui earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb23c77353351b0090000", "id"=>"530cb23c77353351b00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0090000')} 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('530cb23c77353351b0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb23c77353351b00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Redirected to http://test.host/admin/products/530cb23c77353351b0090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b00b0000'), "name"=>"Dixie Nikolaus", "reference"=>"Jedidiah Steuber", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b00c0000'), "author_name"=>"Elody Gaylord", "content"=>["Doloremque quae et. Reiciendis in aliquam voluptatem est praesentium porro incidunt. Aut reiciendis suscipit expedita. Reiciendis incidunt nesciunt ut asperiores porro repellendus rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb23c77353351b00b0000", "id"=>"530cb23c77353351b00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b00b0000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b00d0000'), "name"=>"Georgette Schuster III", "reference"=>"Elmo Gorczany", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b00e0000'), "author_name"=>"Abraham Hansen", "content"=>["Blanditiis quia saepe repellat enim unde harum iusto. Corporis dolores dolore. Perspiciatis pariatur reprehenderit aliquam doloremque magnam. Qui et sapiente consequatur aut saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9541ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb23c77353351b00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b00f0000'), "name"=>"Alexander Greenfelder", "reference"=>"Charlene Murphy", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0100000'), "author_name"=>"Mr. Logan Klein", "content"=>["Voluptas voluptate porro quam voluptas totam. Ratione sunt vitae provident et quo. Officiis voluptatem earum quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb23c77353351b00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0110000'), "name"=>"Mrs. Mozell Treutel", "reference"=>"Myrtie Parisian", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0120000'), "author_name"=>"Ronaldo Cremin", "content"=>["Quos deserunt qui aspernatur quia sint alias. Iusto soluta eos quia et beatae eligendi. Eligendi doloremque sequi ipsa quo quod omnis sapiente. Fugit aut ab. Quis voluptas voluptatem corporis consectetur rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb23c77353351b0110000", "id"=>"530cb23c77353351b0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0130000'), "name"=>"Hugh Kuhic", "reference"=>"Fiona Romaguera", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0140000'), "author_name"=>"Willy Stark", "content"=>["Et debitis voluptates fuga corporis ut impedit. Nulla unde minus. Voluptatibus architecto aliquam ut aut vel. Incidunt occaecati aut eos alias nihil in iusto. Assumenda ut molestiae iusto quo sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb23c77353351b0140000", "product_id"=>"530cb23c77353351b0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0130000'), "comments._id"=>BSON::ObjectId('530cb23c77353351b0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Redirected to http://test.host/admin/products/530cb23c77353351b0130000/comments/530cb23c77353351b0140000 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('530cb23c77353351b0150000'), "name"=>"Dr. Valentine Olson", "reference"=>"Price Reynolds V", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b0160000'), "firstname"=>"Margret", "lastname"=>"Marquardt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb23c77353351b0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms Redirected to http://test.host/admin/products/530cb23c77353351b0150000/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('530cb23c77353351b0180000'), "name"=>"Jerrod Klocko", "reference"=>"Dasia Greenfelder", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b0190000'), "firstname"=>"Ross", "lastname"=>"Reichel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb23c77353351b0190000", "product_id"=>"530cb23c77353351b0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0180000')} 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.7ms) Completed 200 OK in 38ms (Views: 35.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b01a0000'), "name"=>"Norris Glover III", "reference"=>"Abe Herzog Jr.", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b01b0000'), "firstname"=>"Ambrose", "lastname"=>"Runte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb23c77353351b01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b01a0000')} 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.3ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b01c0000'), "name"=>"Bret Terry", "reference"=>"Adrianna Boyer", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b01d0000'), "firstname"=>"Sylvia", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb23c77353351b01d0000", "product_id"=>"530cb23c77353351b01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b01e0000'), "name"=>"Jaquan Wilkinson", "reference"=>"Ole Yost", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b01f0000'), "firstname"=>"Cornelius", "lastname"=>"Lindgren"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb23c77353351b01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb23c77353351b01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb23c77353351b01e0000/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('530cb23c77353351b0200000'), "name"=>"Ms. Adolph Feil", "reference"=>"Ms. Imogene Torphy", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1784ms 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('530cb23c77353351b0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms Redirected to http://test.host/admin/products/530cb23c77353351b0210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0220000'), "name"=>"Chloe Auer", "reference"=>"Jessie Marquardt", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb23c77353351b0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms 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.1914ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0230000'), "name"=>"Krista Sauer", "reference"=>"Eulah Wilkinson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb23c77353351b0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0240000'), "name"=>"Joseph Powlowski", "reference"=>"Hayley Cruickshank Sr.", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms 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.5141ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0250000'), "name"=>"Peggie Parisian", "reference"=>"Hubert Dickinson", "quantity"=>"3"}] 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 (2.5ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0280000'), "name"=>"Thaddeus Skiles", "reference"=>"Rocky Mayert", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb23c77353351b0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms 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('530cb23c77353351b0290000'), "name"=>"Sharon Hermiston", "reference"=>"Mrs. Ethan Leannon", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6466ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb23c77353351b0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0290000')} 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('530cb23c77353351b0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms Redirected to http://test.host/admin/products/530cb23c77353351b0290000 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('530cb23c77353351b02a0000'), "firstname"=>"Henri", "lastname"=>"Ledner"}] 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=>"admin_users", :query=>{}} runtime: 0.1742ms 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('530cb23c77353351b02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms Redirected to http://test.host/admin/users/530cb23c77353351b02b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b02c0000'), "firstname"=>"Phoebe", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1671ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb23c77353351b02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23c77353351b02c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23c77353351b02c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms 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.1817ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b02d0000'), "firstname"=>"Julio", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb23c77353351b02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23c77353351b02d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms 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('530cb23c77353351b02e0000'), "firstname"=>"Derek", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms 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.3715ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b02f0000'), "firstname"=>"Jordi", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0300000'), "firstname"=>"Eliane", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb23c77353351b0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23c77353351b0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms Completed 200 OK in 6ms (Views: 4.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0310000'), "firstname"=>"Lue", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb23c77353351b0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23c77353351b0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb23c77353351b0310000 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('530cb23c77353351b0320000'), "firstname"=>"Reyna", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6123ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1622ms 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('530cb23c77353351b0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms 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.1717ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0340000'), "firstname"=>"Astrid", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb23c77353351b0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0350000'), "firstname"=>"Eveline", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0360000'), "firstname"=>"Noemie", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb23c77353351b0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0370000'), "firstname"=>"Bettye", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb23c77353351b0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb23c77353351b0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms 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('530cb23c77353351b0380000'), "name"=>"Dr. Trisha Dibbert", "reference"=>"Elizabeth Stehr", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0390000'), "author_name"=>"Baylee McCullough", "content"=>["Aut illo suscipit consequuntur nulla sit. Eos suscipit velit ipsam expedita. Officia deserunt iusto voluptatem blanditiis repellendus. Iure illo veniam culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb23c77353351b0380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0380000')} 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('530cb23c77353351b0380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb23c77353351b03a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Redirected to http://test.host/products/530cb23c77353351b0380000/comments/530cb23c77353351b03a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b03b0000'), "name"=>"Dr. Gonzalo Carter", "reference"=>"Wilson Wyman Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b03c0000'), "author_name"=>"Cristian Veum", "content"=>["Dignissimos rerum voluptates sint mollitia. Velit vel repellat quas doloremque autem. Dolore quo porro. Enim ab quo cumque. Qui vitae praesentium ea id repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb23c77353351b03b0000", "id"=>"530cb23c77353351b03c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b03b0000')} 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('530cb23c77353351b03b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb23c77353351b03c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms Redirected to http://test.host/products/530cb23c77353351b03b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b03d0000'), "name"=>"Crystal Lockman II", "reference"=>"Ronaldo Zieme", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b03e0000'), "author_name"=>"Mr. Linnie Bergnaum", "content"=>["Ut consequuntur mollitia velit eligendi nihil. Deserunt quo aliquid veritatis alias eaque quia. Porro hic odit quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb23c77353351b03d0000", "id"=>"530cb23c77353351b03e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b03d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b03f0000'), "name"=>"Diamond Reinger", "reference"=>"Thora Bernier", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0400000'), "author_name"=>"Amanda Thompson", "content"=>["Omnis et aut sed. Quae ut est consequuntur. Illo qui asperiores voluptatem. Error veniam qui ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb23c77353351b03f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0410000'), "name"=>"Domenic Baumbach DDS", "reference"=>"Hollis Mann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0420000'), "author_name"=>"Mr. Scot Bode", "content"=>["Est enim et. Similique architecto labore quibusdam aut esse fugit sed. Sit distinctio eaque aut hic quidem. Rerum et sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb23c77353351b0410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0430000'), "name"=>"Neil Mueller", "reference"=>"Anna Miller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0440000'), "author_name"=>"Elian Hyatt", "content"=>["Fugit ducimus consequuntur aut ea quas ratione. Ab aperiam tenetur id sit voluptatum perspiciatis. Sequi et voluptatibus voluptatem ut similique. Earum molestiae nisi quaerat rem unde. Dolorum repudiandae est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb23c77353351b0430000", "id"=>"530cb23c77353351b0440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0450000'), "name"=>"Dr. Tia Veum", "reference"=>"Efren Hauck", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0460000'), "author_name"=>"Judson Blanda", "content"=>["Modi id labore. Rerum et nemo. Cum qui nostrum dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb23c77353351b0450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0470000'), "name"=>"Dr. Barton Kirlin", "reference"=>"Dr. Boris Conn", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b0480000'), "author_name"=>"Melvina Hodkiewicz", "content"=>["Sit omnis voluptate. Quia ut sint temporibus. Voluptatem quia veniam qui consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb23c77353351b0470000", "id"=>"530cb23c77353351b0480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms Completed 200 OK in 29ms (Views: 27.3ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0490000'), "name"=>"Alyce Schiller I", "reference"=>"Eva Stracke", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb23c77353351b04a0000'), "author_name"=>"Miss Rhianna Leuschke", "content"=>["Eius vel ratione maiores et. Qui natus ut. Corporis accusamus doloribus repudiandae suscipit veritatis debitis amet. Occaecati doloremque voluptas. Sunt ipsam natus qui sit quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb23c77353351b04a0000", "product_id"=>"530cb23c77353351b0490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0490000'), "comments._id"=>BSON::ObjectId('530cb23c77353351b04a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Redirected to http://test.host/products/530cb23c77353351b0490000/comments/530cb23c77353351b04a0000 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('530cb23c77353351b04b0000'), "firstname"=>"Cristopher", "lastname"=>"Jacobs"}] 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=>"clients", :query=>{}} runtime: 0.1653ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b04c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms Redirected to http://test.host/admin/clients/530cb23c77353351b04c0000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b04d0000'), "firstname"=>"Virgil", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1553ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb23c77353351b04d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b04d0000')} 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('530cb23c77353351b04d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms 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.1649ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b04e0000'), "firstname"=>"Ricardo", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb23c77353351b04e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b04e0000')} 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.1ms) 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('530cb23c77353351b04f0000'), "firstname"=>"Chance", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms 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('530cb23c77353351b0500000'), "firstname"=>"Cleora", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms 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('530cb23c77353351b0510000'), "firstname"=>"Timmothy", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb23c77353351b0510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms 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('530cb23c77353351b0520000'), "firstname"=>"Eliza", "lastname"=>"Harvey"}] 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"=>"530cb23c77353351b0520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms Redirected to http://test.host/admin/clients/530cb23c77353351b0520000 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('530cb23c77353351b0530000'), "firstname"=>"Vincent", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1545ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms Redirected to http://test.host/clients/530cb23c77353351b0540000 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('530cb23c77353351b0550000'), "firstname"=>"Roselyn", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1439ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb23c77353351b0550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms 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.1537ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0560000'), "firstname"=>"Petra", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb23c77353351b0560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms 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('530cb23c77353351b0570000'), "firstname"=>"Eldora", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms 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('530cb23c77353351b0580000'), "firstname"=>"Kiara", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0590000'), "firstname"=>"Dewitt", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb23c77353351b0590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b05a0000'), "firstname"=>"Cielo", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3204ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb23c77353351b05a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb23c77353351b05a0000')} 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('530cb23c77353351b05a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Redirected to http://test.host/clients/530cb23c77353351b05a0000 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('530cb23c77353351b05b0000'), "name"=>"Joy Sporer IV", "reference"=>"Susanna Tromp", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b05c0000'), "firstname"=>"Theodora", "lastname"=>"Paucek"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb23c77353351b05b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b05b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b05b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b05d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms Redirected to http://test.host/products/530cb23c77353351b05b0000/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('530cb23c77353351b05e0000'), "name"=>"Dr. Zola Conn", "reference"=>"Jennings Gottlieb", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b05f0000'), "firstname"=>"Jaylen", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb23c77353351b05f0000", "product_id"=>"530cb23c77353351b05e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b05e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23c77353351b0600000'), "name"=>"Susan Kuhlman", "reference"=>"Miss Eugene Goyette", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb23c77353351b0610000'), "firstname"=>"Toy", "lastname"=>"McLaughlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb23c77353351b0600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23c77353351b0600000')} 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: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0620000'), "name"=>"Abbey Romaguera", "reference"=>"Giovanni Wiegand", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb23d77353351b0630000'), "firstname"=>"Maia", "lastname"=>"Schowalter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb23d77353351b0630000", "product_id"=>"530cb23d77353351b0620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0640000'), "name"=>"Ms. Oswaldo Daugherty", "reference"=>"Hobart Tromp", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb23d77353351b0650000'), "firstname"=>"Mose", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb23d77353351b0650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb23d77353351b0640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Unpermitted parameters: name Redirected to http://test.host/products/530cb23d77353351b0640000/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('530cb23d77353351b0660000'), "name"=>"Zack Rohan", "reference"=>"Etha Torp", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1592ms 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('530cb23d77353351b0670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Redirected to http://test.host/products/530cb23d77353351b0670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1719ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0680000'), "name"=>"Dr. Eloy Zieme", "reference"=>"Destin Senger", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2656ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2191ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb23d77353351b0680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms 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.2207ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0690000'), "name"=>"Aletha Graham", "reference"=>"Sandy Rogahn", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb23d77353351b0690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) 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('530cb23d77353351b06a0000'), "name"=>"Odie O'Hara DDS", "reference"=>"Ms. Pedro West", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms 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.7443ms Completed 200 OK in 48ms (Views: 47.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b06b0000'), "name"=>"Mekhi Purdy", "reference"=>"Caitlyn Kuhic", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms 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.7929ms 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('530cb23d77353351b06c0000'), "name"=>"Luther VonRueden", "reference"=>"Willard Casper", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb23d77353351b06c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b06c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms 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('530cb23d77353351b06d0000'), "name"=>"Sienna Mertz", "reference"=>"Velda Klocko", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms 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.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b06f0000'), "name"=>"Ms. Tressa Kovacek", "reference"=>"Lowell Schaden", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb23d77353351b06f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0700000'), "name"=>"Brent Schowalter", "reference"=>"Dewayne McClure", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1583ms 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('530cb23d77353351b0710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1709ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0720000'), "name"=>"Addie Abshire I", "reference"=>"Taya Tillman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb23d77353351b0720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms 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('530cb23d77353351b0730000'), "name"=>"Germaine Raynor", "reference"=>"Ron Powlowski DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms 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('530cb23d77353351b0750000'), "name"=>"Hilario Schuster", "reference"=>"Nichole Gibson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb23d77353351b0750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms 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('530cb23d77353351b0760000'), "name"=>"Mrs. Clare Gerhold", "reference"=>"Miss Ronaldo Donnelly", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb23d77353351b0760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb23d77353351b0760000')} 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('530cb23d77353351b0760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms Redirected to http://test.host/products/530cb23d77353351b0760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0770000'), "firstname"=>"Brandon", "lastname"=>"Treutel"}] 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=>"admin_users", :query=>{}} runtime: 0.1573ms 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('530cb23d77353351b0780000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms Redirected to http://test.host/users/530cb23d77353351b0780000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1653ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b0790000'), "firstname"=>"Dasia", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1505ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb23d77353351b0790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23d77353351b0790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23d77353351b0790000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms 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.1592ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b07a0000'), "firstname"=>"Nayeli", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb23d77353351b07a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23d77353351b07a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('530cb23d77353351b07b0000'), "firstname"=>"Leda", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms 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.3257ms Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b07c0000'), "firstname"=>"Kade", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb23d77353351b07d0000'), "firstname"=>"Ova", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb23d77353351b07d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23d77353351b07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms 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('530cb23d77353351b07e0000'), "firstname"=>"Carol", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb23d77353351b07e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb23d77353351b07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms Unpermitted parameters: name Redirected to http://test.host/users/530cb23d77353351b07e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5183ms 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.3333ms 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.3178ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6926ms MOPED: 127.0.0.1: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.2804ms 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.2447ms 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.2381ms 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.2370ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209000000'), "firstname"=>"Vida", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1849ms 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('530cb28c7735335209010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms 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.1980ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209020000'), "firstname"=>"Haylee", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb28c7735335209020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209030000'), "firstname"=>"Robert", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209040000'), "firstname"=>"Daphney", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb28c7735335209040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209050000'), "firstname"=>"Clinton", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.2269ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb28c7735335209050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms 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('530cb28c7735335209060000'), "name"=>"Magnolia Dare", "reference"=>"Delpha Parisian", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209070000'), "author_name"=>"Ms. Oran O'Hara", "content"=>["Ullam nesciunt dolor tenetur perferendis rerum. Quaerat sint dolor. Est quam explicabo. Sint veritatis est quibusdam. Non consectetur ea quo est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1950ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb28c7735335209060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209060000')} 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('530cb28c7735335209060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb28c7735335209080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Redirected to http://test.host/admin/products/530cb28c7735335209060000/comments/530cb28c7735335209080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209090000'), "name"=>"Lacy Kemmer", "reference"=>"Foster Howe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352090a0000'), "author_name"=>"Jannie Bergstrom Jr.", "content"=>["Non reiciendis est non. Et velit accusantium quia sed dolor. Aut ipsa consequuntur culpa voluptas quod id suscipit. Maiores eveniet consequatur. Est velit exercitationem unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb28c7735335209090000", "id"=>"530cb28c77353352090a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb28c77353352090a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Redirected to http://test.host/admin/products/530cb28c7735335209090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352090b0000'), "name"=>"Dr. Stan Daniel", "reference"=>"Mr. Forrest Trantow", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352090c0000'), "author_name"=>"Ruth Prosacco", "content"=>["Aut velit a molestiae. Ex beatae odit et et enim iste. Officia quia temporibus corrupti. Molestiae perspiciatis debitis tempore pariatur autem porro vero. Harum exercitationem accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb28c77353352090b0000", "id"=>"530cb28c77353352090c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352090b0000')} 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.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352090d0000'), "name"=>"Janessa Konopelski", "reference"=>"Ms. Jerod Weimann", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352090e0000'), "author_name"=>"Lambert Rogahn", "content"=>["Quia eligendi laboriosam et illum voluptatibus quas qui. Totam nihil deserunt repellat nulla tempore corporis et. Minus maiores unde iusto accusantium expedita. Ea est sunt delectus nesciunt sit neque omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb28c77353352090d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352090d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352090f0000'), "name"=>"Miss Lottie Gutmann", "reference"=>"Aniyah Reichert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209100000'), "author_name"=>"Miss Hazle Zieme", "content"=>["Laudantium molestias et. Quo tempore sapiente officia est laborum consectetur facere. Magnam repellendus odio sunt officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb28c77353352090f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352090f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209110000'), "name"=>"Rachael Schmitt", "reference"=>"Veda Glover", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209120000'), "author_name"=>"Lucienne Windler", "content"=>["Natus at culpa necessitatibus officiis et autem. Repellat corporis similique et. Quia omnis amet illo recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb28c7735335209110000", "id"=>"530cb28c7735335209120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209130000'), "name"=>"Amaya Abbott", "reference"=>"Miss Alessia Koepp", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209140000'), "author_name"=>"Michel Bosco", "content"=>["Ut vel tempora ea in. Nobis qui veniam dolores. Ex commodi corporis ullam ut saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb28c7735335209140000", "product_id"=>"530cb28c7735335209130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209130000')} 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('530cb28c7735335209130000'), "comments._id"=>BSON::ObjectId('530cb28c7735335209140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Redirected to http://test.host/admin/products/530cb28c7735335209130000/comments/530cb28c7735335209140000 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('530cb28c7735335209150000'), "name"=>"Ulices Champlin", "reference"=>"Gonzalo Effertz", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb28c7735335209160000'), "firstname"=>"Jacynthe", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb28c7735335209150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb28c7735335209170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms Redirected to http://test.host/admin/products/530cb28c7735335209150000/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('530cb28c7735335209180000'), "name"=>"Asa Macejkovic", "reference"=>"Name Rutherford PhD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb28c7735335209190000'), "firstname"=>"Pansy", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb28c7735335209190000", "product_id"=>"530cb28c7735335209180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209180000')} 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.8ms) 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('530cb28c77353352091a0000'), "name"=>"Johanna Watsica", "reference"=>"Golden Johnston MD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb28c77353352091b0000'), "firstname"=>"Kellie", "lastname"=>"Wisoky"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb28c77353352091a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352091a0000')} 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.3ms) Completed 200 OK in 6ms (Views: 4.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352091c0000'), "name"=>"Eusebio Spinka", "reference"=>"Mabel Towne", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb28c77353352091d0000'), "firstname"=>"Raphaelle", "lastname"=>"Deckow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb28c77353352091d0000", "product_id"=>"530cb28c77353352091c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352091c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352091e0000'), "name"=>"Alexie Koss", "reference"=>"Eldridge Collins", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb28c77353352091f0000'), "firstname"=>"Garry", "lastname"=>"Beahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb28c77353352091f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb28c77353352091e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352091e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb28c77353352091e0000/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('530cb28c7735335209200000'), "name"=>"Abelardo Frami", "reference"=>"Ms. Crystal Daugherty", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms 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('530cb28c7735335209210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Redirected to http://test.host/admin/products/530cb28c7735335209210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1730ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209220000'), "name"=>"Francisco Huels", "reference"=>"Noelia Hand", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1552ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb28c7735335209220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms 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.1759ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209230000'), "name"=>"Niko Rippin", "reference"=>"Mr. Juwan DuBuque", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb28c7735335209230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209240000'), "name"=>"Margarette Schuppe", "reference"=>"Bridget Barton", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms 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.4974ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209250000'), "name"=>"Roger Howe", "reference"=>"Emma Price", "quantity"=>"4"}] 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/iord/_form.html.erb (2.8ms) Completed 200 OK in 21ms (Views: 5.1ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209280000'), "name"=>"Turner Pfannerstill", "reference"=>"Miss Jaunita Anderson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb28c7735335209280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms 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('530cb28c7735335209290000'), "name"=>"Marisol Moen V", "reference"=>"Hadley Denesik", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb28c7735335209290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms Redirected to http://test.host/admin/products/530cb28c7735335209290000 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('530cb28c77353352092a0000'), "firstname"=>"Stan", "lastname"=>"Carroll"}] 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.1567ms 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('530cb28c77353352092b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms Redirected to http://test.host/admin/users/530cb28c77353352092b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1668ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28c77353352092c0000'), "firstname"=>"Carissa", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1482ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb28c77353352092c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28c77353352092c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28c77353352092c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms 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.2557ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28c77353352092d0000'), "firstname"=>"Jonathan", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb28c77353352092d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28c77353352092d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('530cb28c77353352092e0000'), "firstname"=>"Randal", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms 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.3824ms Completed 200 OK in 39ms (Views: 38.5ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28c77353352092f0000'), "firstname"=>"Celine", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209300000'), "firstname"=>"Monserrate", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb28c7735335209300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28c7735335209300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209310000'), "firstname"=>"Donnell", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb28c7735335209310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28c7735335209310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb28c7735335209310000 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('530cb28c7735335209320000'), "firstname"=>"Herminio", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1775ms 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('530cb28c7735335209330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms 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.1908ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209340000'), "firstname"=>"Marcelina", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7223ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb28c7735335209340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209350000'), "firstname"=>"Florine", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209360000'), "firstname"=>"Eloisa", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb28c7735335209360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209370000'), "firstname"=>"Name", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb28c7735335209370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb28c7735335209370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms 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('530cb28c7735335209380000'), "name"=>"Victoria Schultz", "reference"=>"Alessia Klocko", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209390000'), "author_name"=>"Devyn Hoppe", "content"=>["Et nulla dolor dicta. Debitis qui cumque est quasi nostrum. Modi maxime eos at tenetur unde. Nesciunt ipsam rerum magnam labore eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb28c7735335209380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209380000')} 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('530cb28c7735335209380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb28c77353352093a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Redirected to http://test.host/products/530cb28c7735335209380000/comments/530cb28c77353352093a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352093b0000'), "name"=>"Braxton Beer", "reference"=>"Shemar Romaguera", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352093c0000'), "author_name"=>"Dimitri Bartoletti", "content"=>["Maxime maiores voluptatem iusto ratione. Unde vero quam dolorem quis qui libero fuga. Qui eius sed quidem excepturi provident tempore et. Totam aliquid quia est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352093b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb28c77353352093b0000", "id"=>"530cb28c77353352093c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352093b0000')} 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('530cb28c77353352093b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb28c77353352093c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms Redirected to http://test.host/products/530cb28c77353352093b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352093b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352093d0000'), "name"=>"Dr. Cecil Thompson", "reference"=>"Miss Tony Greenholt", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352093e0000'), "author_name"=>"Zechariah Adams", "content"=>["Aut velit nihil suscipit. Quae blanditiis molestiae aperiam exercitationem nesciunt. Sequi autem dolorem sit ut eius quidem nobis. Repellendus et est iusto non voluptatum rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb28c77353352093d0000", "id"=>"530cb28c77353352093e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352093d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c77353352093f0000'), "name"=>"Leora Miller", "reference"=>"Jaydon Bartoletti", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209400000'), "author_name"=>"Ruben Mante", "content"=>["Minus similique corporis quia. Quia aut iure repellendus. Est veniam est cum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb28c77353352093f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c77353352093f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209410000'), "name"=>"Dixie Hessel V", "reference"=>"Karley Kozey Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209420000'), "author_name"=>"Gerda Kling", "content"=>["Repellendus expedita velit ab voluptas. Qui voluptate voluptatibus voluptates cupiditate tempore omnis. Rerum ea voluptatum ipsum qui non. Voluptatum eos omnis ex et itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb28c7735335209410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209430000'), "name"=>"Alena Robel", "reference"=>"Garrison Halvorson II", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209440000'), "author_name"=>"Mrs. Yasmin Okuneva", "content"=>["Sint unde ut quas alias voluptatem. Nam tenetur quasi ipsum similique. Soluta ullam vero dolorem ex excepturi. Sed odio iusto necessitatibus ea fuga nulla quia. Sint cupiditate vitae amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb28c7735335209430000", "id"=>"530cb28c7735335209440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209450000'), "name"=>"Linnea Parker", "reference"=>"Birdie Stiedemann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209460000'), "author_name"=>"Tia Grimes", "content"=>["Praesentium et similique. Distinctio provident nulla quo tempora. Sit id voluptate maxime aperiam atque culpa esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb28c7735335209450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209470000'), "name"=>"Miss Anabel Dibbert", "reference"=>"Desmond Walter", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c7735335209480000'), "author_name"=>"Dee Thompson", "content"=>["Dolore adipisci natus ex ratione exercitationem. Error tempore officiis eligendi. Mollitia soluta totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3532ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb28c7735335209470000", "id"=>"530cb28c7735335209480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28c7735335209490000'), "name"=>"Percival Satterfield", "reference"=>"Brisa Bahringer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb28c77353352094a0000'), "author_name"=>"Ignacio Botsford", "content"=>["Quidem provident sunt sit sunt. Ipsam iure velit. Soluta eveniet error. Quia debitis dignissimos voluptatem doloremque rerum. Et repudiandae ex ratione incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb28c77353352094a0000", "product_id"=>"530cb28c7735335209490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 33.1242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28c7735335209490000'), "comments._id"=>BSON::ObjectId('530cb28c77353352094a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms Redirected to http://test.host/products/530cb28c7735335209490000/comments/530cb28c77353352094a0000 Completed 302 Found in 40ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28c77353352094b0000'), "firstname"=>"Schuyler", "lastname"=>"Effertz"}] 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.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('530cb28c77353352094c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Redirected to http://test.host/admin/clients/530cb28c77353352094c0000 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('530cb28c77353352094d0000'), "firstname"=>"Riley", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3107ms 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"=>"530cb28c77353352094d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28c77353352094d0000')} 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('530cb28c77353352094d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms 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.1884ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28c77353352094e0000'), "firstname"=>"Coralie", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb28c77353352094e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28c77353352094e0000')} 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.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('530cb28c77353352094f0000'), "firstname"=>"Alda", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by Iord::GenericController#index as HTML MOPED: 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.8ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209500000'), "firstname"=>"Roderick", "lastname"=>"Kessler"}] 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.9ms) 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('530cb28d7735335209510000'), "firstname"=>"Madaline", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb28d7735335209510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms 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('530cb28d7735335209520000'), "firstname"=>"Presley", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb28d7735335209520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209520000')} 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('530cb28d7735335209520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Redirected to http://test.host/admin/clients/530cb28d7735335209520000 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('530cb28d7735335209530000'), "firstname"=>"Heber", "lastname"=>"Powlowski"}] 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.1722ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Redirected to http://test.host/clients/530cb28d7735335209540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1870ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209550000'), "firstname"=>"Cordia", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1672ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb28d7735335209550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms 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.1660ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209560000'), "firstname"=>"Keshawn", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb28d7735335209560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209560000')} 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.0ms) 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('530cb28d7735335209570000'), "firstname"=>"Elinor", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209580000'), "firstname"=>"Terrence", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209590000'), "firstname"=>"Ed", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb28d7735335209590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d7735335209590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4155ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb28d77353352095a0000'), "firstname"=>"Mayra", "lastname"=>"Frami"}] 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"=>"530cb28d77353352095a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d77353352095a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb28d77353352095a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Redirected to http://test.host/clients/530cb28d77353352095a0000 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('530cb28d77353352095b0000'), "name"=>"Magali Upton", "reference"=>"Kasandra Weimann", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb28d77353352095c0000'), "firstname"=>"Zoey", "lastname"=>"Kerluke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb28d77353352095b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352095b0000')} 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('530cb28d77353352095b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352095b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb28d77353352095d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms Redirected to http://test.host/products/530cb28d77353352095b0000/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('530cb28d77353352095e0000'), "name"=>"Kole Welch", "reference"=>"Theo Gerhold", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb28d77353352095f0000'), "firstname"=>"Angie", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb28d77353352095f0000", "product_id"=>"530cb28d77353352095e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352095e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209600000'), "name"=>"Parker Gibson", "reference"=>"Torrey Green", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb28d7735335209610000'), "firstname"=>"Nico", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb28d7735335209600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209620000'), "name"=>"Keagan Schaden", "reference"=>"Ellen Eichmann Jr.", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb28d7735335209630000'), "firstname"=>"Freeman", "lastname"=>"Bergstrom"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb28d7735335209630000", "product_id"=>"530cb28d7735335209620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209640000'), "name"=>"Rita Kovacek", "reference"=>"Josephine Stark", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb28d7735335209650000'), "firstname"=>"Mikel", "lastname"=>"Bartell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb28d7735335209650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb28d7735335209640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Unpermitted parameters: name Redirected to http://test.host/products/530cb28d7735335209640000/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('530cb28d7735335209660000'), "name"=>"Lulu Davis", "reference"=>"Nestor Padberg", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.2333ms 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('530cb28d7735335209670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7867ms Redirected to http://test.host/products/530cb28d7735335209670000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2014ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209680000'), "name"=>"Lucius Walsh", "reference"=>"Joanne Muller IV", "quantity"=>"2"}] 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.2162ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb28d7735335209680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms 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.1797ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209690000'), "name"=>"Lucie Cole", "reference"=>"Miss Velva Harber", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb28d7735335209690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209690000')} 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.5ms) 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('530cb28d77353352096a0000'), "name"=>"Jewell Hoeger", "reference"=>"Dion Powlowski", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms 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.7601ms Completed 200 OK in 47ms (Views: 46.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352096b0000'), "name"=>"Ms. Rosalinda Kuhn", "reference"=>"Jerrell White IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms 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.7632ms 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('530cb28d77353352096c0000'), "name"=>"Reyes Brown", "reference"=>"Sebastian Daugherty", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb28d77353352096c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352096c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Completed 200 OK in 35ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352096d0000'), "name"=>"Connie Berge", "reference"=>"Seth Daniel", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms 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.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352096f0000'), "name"=>"Ms. Roscoe Barrows", "reference"=>"Tillman Satterfield", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb28d77353352096f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352096f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209700000'), "name"=>"Dayna O'Keefe", "reference"=>"Ms. Tillman Deckow", "quantity"=>"1"}] 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=>"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('530cb28d7735335209710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209720000'), "name"=>"Alexa Gleichner", "reference"=>"Rasheed Stark", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb28d7735335209720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms 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('530cb28d7735335209730000'), "name"=>"Dawn Bins", "reference"=>"Loyal Pacocha", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms 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('530cb28d7735335209750000'), "name"=>"Augustine Hilpert", "reference"=>"Adrien Hettinger Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb28d7735335209750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209750000')} 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('530cb28d7735335209750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms 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('530cb28d7735335209760000'), "name"=>"Miss Alison Johnson", "reference"=>"Mr. Nasir Pfannerstill", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb28d7735335209760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209760000')} 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('530cb28d7735335209760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms Redirected to http://test.host/products/530cb28d7735335209760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209790000'), "name"=>"Mac Quitzon", "reference"=>"Leatha Veum", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209770000'), "author_name"=>"Harold Corwin", "content"=>["Debitis veniam in tenetur atque quaerat voluptas eos. Odio porro non. Quod neque molestiae ex dolorum mollitia qui. Ut dignissimos aliquid accusamus voluptatem ad."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209780000'), "author_name"=>"Mariah Runolfsson", "content"=>["Tenetur ut repudiandae rerum ipsa aut. Quia et saepe debitis odio quisquam corporis. Nam rem architecto et quis. A occaecati reprehenderit dolore molestias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d7735335209790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352097c0000'), "name"=>"Kelvin Gaylord", "reference"=>"Miss Tressa Skiles", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352097a0000'), "author_name"=>"Davon Mann Sr.", "content"=>["Aliquam dolor occaecati quo soluta ad. Unde asperiores voluptates. Sapiente animi eius ducimus maxime ut. Ratione unde adipisci occaecati quo. Eligendi voluptates voluptatem unde inventore."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352097b0000'), "author_name"=>"Tyrel Wuckert", "content"=>["Quisquam ut est quibusdam. Doloribus aliquam sunt et hic. Quas dolores rerum nihil similique dolorem. Quisquam soluta non et quae aut. Distinctio est fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb28d77353352097c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352097f0000'), "name"=>"Jamison West III", "reference"=>"Aron Sauer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352097d0000'), "author_name"=>"Modesta Tillman", "content"=>["Illo maxime reprehenderit est. Et cum ut voluptatibus occaecati aut repellendus ut. Illo aut voluptatem ipsum eaque. Vero aut quam et ea ut est facilis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352097e0000'), "author_name"=>"Erna Schaden", "content"=>["Nihil aut suscipit libero rerum sint deserunt. Dolorem voluptatem vel ipsa earum. Deleniti perferendis facere laudantium repellat rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209820000'), "name"=>"Mayra Halvorson", "reference"=>"Celestine Braun", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209800000'), "author_name"=>"Susanna Cole II", "content"=>["Sed repudiandae non. Dolorem at quos molestias iste qui aut quis. Non ut quo inventore."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209810000'), "author_name"=>"Edison Durgan", "content"=>["Autem reiciendis assumenda dolor quibusdam. Aut consequatur quasi. Aut est modi fugit saepe. Aspernatur cum mollitia cupiditate est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209850000'), "name"=>"Ruthe Metz", "reference"=>"Alexa Nicolas IV", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209830000'), "author_name"=>"Deven Leuschke", "content"=>["Enim quisquam itaque eveniet libero dicta. Nisi officia totam illo odio amet quis voluptas. Odit natus eos repudiandae. Maiores ipsum expedita sit sint vitae culpa."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209840000'), "author_name"=>"Salvador Hansen", "content"=>["Dicta quia sunt quisquam ullam ut omnis mollitia. Placeat inventore ipsa dolorum voluptatem. Ipsum enim officia quibusdam odio soluta dolores aliquam. Accusantium sint labore doloribus aut deleniti a. Magnam et et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209880000'), "name"=>"Ottis Murphy", "reference"=>"Alva Schmeler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209860000'), "author_name"=>"Gene McLaughlin", "content"=>["Voluptatem dolore nam. Suscipit odio totam aut consequatur. Ut consequatur deleniti voluptatem tempore voluptatem ex quam. Eos vitae et dolorem quas distinctio. Molestiae eaque totam et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209870000'), "author_name"=>"Rocky Dare", "content"=>["Architecto quia qui est alias dolorem adipisci assumenda. Ut quam qui rerum consequatur voluptatem voluptatem. Nostrum natus voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352098b0000'), "name"=>"Dana Bednar", "reference"=>"Mr. Buster Sanford", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209890000'), "author_name"=>"Delphia Huel", "content"=>["Dolores qui quam est sed doloremque sit. Itaque doloribus enim provident maiores quia explicabo ipsa. Ex perspiciatis et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352098a0000'), "author_name"=>"Hunter Beahan", "content"=>["Totam iste consectetur eum cum dolorem quis. Dolorem eos nemo iusto harum deleniti explicabo quod. Dolor molestiae aut itaque cupiditate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d77353352098e0000'), "name"=>"Clint Lueilwitz", "reference"=>"Darren Orn", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352098c0000'), "author_name"=>"Miss Kennedy Casper", "content"=>["Perspiciatis est libero aut nesciunt omnis recusandae. Deleniti sunt praesentium dolorem voluptas corporis ducimus. Iusto dicta et accusamus aperiam veritatis aut sed. Porro eos ipsam. Maxime et accusantium voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352098d0000'), "author_name"=>"Alayna Rempel MD", "content"=>["Praesentium enim qui. Ipsa quia sed reiciendis qui numquam. Distinctio dolores sunt nihil voluptas atque et voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2077ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209910000'), "name"=>"Xzavier Batz", "reference"=>"Jamel Adams", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb28d77353352098f0000'), "author_name"=>"Delia Schamberger Jr.", "content"=>["Corrupti dolorem eligendi. Provident quod saepe velit iste. Eaque cupiditate maxime laudantium ipsa mollitia quo. Ut quibusdam reiciendis alias iste accusamus sint numquam. Ea aut laboriosam id omnis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb28d7735335209900000'), "author_name"=>"Millie Mills II", "content"=>["Quidem asperiores vero itaque quia ab vel. Neque eaque molestias iste ut tempore sit. Rerum voluptatem et amet qui. Aut distinctio pariatur dolor ut fugiat eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209920000'), "firstname"=>"Meda", "lastname"=>"Halvorson"}] 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.1765ms 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('530cb28d7735335209930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Redirected to http://test.host/users/530cb28d7735335209930000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2001ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209940000'), "firstname"=>"Amari", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1688ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb28d7735335209940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28d7735335209940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28d7735335209940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms Redirected to http://test.host/users Completed 302 Found in 28ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2434ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209950000'), "firstname"=>"Margaret", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb28d7735335209950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28d7735335209950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('530cb28d7735335209960000'), "firstname"=>"Zane", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms 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.3484ms Completed 200 OK in 45ms (Views: 44.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209970000'), "firstname"=>"Lukas", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms 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.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb28d7735335209980000'), "firstname"=>"Emery", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb28d7735335209980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28d7735335209980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms 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('530cb28d7735335209990000'), "firstname"=>"Buster", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb28d7735335209990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb28d7735335209990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Unpermitted parameters: name Redirected to http://test.host/users/530cb28d7735335209990000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6419ms MOPED: 127.0.0.1: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.4803ms 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.3158ms 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.3087ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347000000'), "firstname"=>"Keyshawn", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2276ms 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('530cb3b27735335347010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms 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.2505ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347020000'), "firstname"=>"Melody", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb3b27735335347020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b27735335347020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347030000'), "firstname"=>"Bernadette", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms 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: 4.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347040000'), "firstname"=>"Jay", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb3b27735335347040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b27735335347040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347050000'), "firstname"=>"Camryn", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb3b27735335347050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b27735335347050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms 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('530cb3b27735335347060000'), "name"=>"Eldridge Jacobi III", "reference"=>"Trisha Mohr", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b27735335347070000'), "author_name"=>"Keely White", "content"=>["In dignissimos nesciunt. Voluptas asperiores exercitationem corrupti eos non. Sint possimus inventore ut optio eveniet quas corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb3b27735335347060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb3b27735335347080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Redirected to http://test.host/admin/products/530cb3b27735335347060000/comments/530cb3b27735335347080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347090000'), "name"=>"Kody Emard", "reference"=>"Tabitha Bartoletti", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b277353353470a0000'), "author_name"=>"Herta Walker", "content"=>["Voluptatum sint laboriosam doloribus sequi est rerum. Temporibus omnis error et saepe facere. Repellat ullam quidem quisquam dolorem magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb3b27735335347090000", "id"=>"530cb3b277353353470a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb3b277353353470a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms Redirected to http://test.host/admin/products/530cb3b27735335347090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b277353353470b0000'), "name"=>"Dr. Bonita O'Hara", "reference"=>"Tressie Jones", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b277353353470c0000'), "author_name"=>"Herminia Pouros", "content"=>["Incidunt inventore non delectus quod esse. A iure corporis quo. Optio voluptatem ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb3b277353353470b0000", "id"=>"530cb3b277353353470c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353470b0000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b277353353470d0000'), "name"=>"Jose Barrows", "reference"=>"Tiana Leuschke", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b277353353470e0000'), "author_name"=>"Vita Connelly IV", "content"=>["Exercitationem repellendus architecto modi voluptas labore. Est vero non consequuntur aliquam et. Numquam sit mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb3b277353353470d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353470d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b277353353470f0000'), "name"=>"Glennie Kovacek", "reference"=>"Audie Shanahan", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b27735335347100000'), "author_name"=>"Kiel Dare", "content"=>["Qui et non saepe omnis. Voluptatem sit hic consequatur quibusdam consectetur quis quo. Dolorum voluptatem omnis. Non enim ut rerum quaerat laborum nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb3b277353353470f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353470f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347110000'), "name"=>"Ruthie Rosenbaum", "reference"=>"Kayley Carroll", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b27735335347120000'), "author_name"=>"Mrs. Opal Streich", "content"=>["Voluptas similique consequatur debitis soluta est pariatur. Perferendis eum est natus. Non eligendi consequatur illo. Harum et minus nostrum vel nisi. Aperiam dolores modi quibusdam inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb3b27735335347110000", "id"=>"530cb3b27735335347120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347130000'), "name"=>"Andres Leuschke DDS", "reference"=>"Karlee White IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b27735335347140000'), "author_name"=>"Lindsay Wolf", "content"=>["Porro assumenda distinctio eaque quo. Assumenda commodi dolor. Nostrum animi incidunt ex quaerat. Vitae maxime repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9316ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb3b27735335347140000", "product_id"=>"530cb3b27735335347130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347130000'), "comments._id"=>BSON::ObjectId('530cb3b27735335347140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms Redirected to http://test.host/admin/products/530cb3b27735335347130000/comments/530cb3b27735335347140000 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('530cb3b27735335347150000'), "name"=>"Romaine Bernhard", "reference"=>"Orlando Fahey", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb3b27735335347160000'), "firstname"=>"Rusty", "lastname"=>"Gislason"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb3b27735335347150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb3b27735335347170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms Redirected to http://test.host/admin/products/530cb3b27735335347150000/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('530cb3b27735335347180000'), "name"=>"Miss Marlee Dicki", "reference"=>"Miss Rebecca Kris", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb3b27735335347190000'), "firstname"=>"Cristian", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb3b27735335347190000", "product_id"=>"530cb3b27735335347180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b277353353471a0000'), "name"=>"Brandyn Hegmann", "reference"=>"Juston Nader", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb3b277353353471b0000'), "firstname"=>"Jerry", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6039ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb3b277353353471a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353471a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('530cb3b277353353471c0000'), "name"=>"Ulises Erdman", "reference"=>"Audie Schneider", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb3b277353353471d0000'), "firstname"=>"Hubert", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb3b277353353471d0000", "product_id"=>"530cb3b277353353471c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353471c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b277353353471e0000'), "name"=>"Justus Keeling PhD", "reference"=>"Mr. Natalie Luettgen", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb3b277353353471f0000'), "firstname"=>"Jazmyne", "lastname"=>"Cruickshank"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb3b277353353471f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb3b277353353471e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b277353353471e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb3b277353353471e0000/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('530cb3b27735335347200000'), "name"=>"Ms. Jessie Mueller", "reference"=>"Miss Dulce Lesch", "quantity"=>"2"}] 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.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('530cb3b27735335347210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Redirected to http://test.host/admin/products/530cb3b27735335347210000 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('530cb3b27735335347220000'), "name"=>"Taryn Kub", "reference"=>"Mrs. Chase Hoeger", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.2463ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb3b27735335347220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3921ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347220000')} 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 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2792ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b27735335347230000'), "name"=>"Clementine Purdy", "reference"=>"Emilia Keeling", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb3b27735335347230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b27735335347230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3957ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 7.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347240000'), "name"=>"Kaycee Beier", "reference"=>"Miss Mason Christiansen", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms 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.5329ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347250000'), "name"=>"Reba Johnson", "reference"=>"Rosendo Torphy V", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347280000'), "name"=>"Kade Senger IV", "reference"=>"Arnold Cummings", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb3b37735335347280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms 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('530cb3b37735335347290000'), "name"=>"Dr. Eino Daugherty", "reference"=>"Osbaldo Gibson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb3b37735335347290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Redirected to http://test.host/admin/products/530cb3b37735335347290000 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('530cb3b377353353472a0000'), "firstname"=>"Lorine", "lastname"=>"O'Conner"}] 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=>"admin_users", :query=>{}} runtime: 0.1768ms 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('530cb3b377353353472b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/admin/users/530cb3b377353353472b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2022ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb3b377353353472c0000'), "firstname"=>"Merl", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0574ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1781ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb3b377353353472c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b377353353472c0000')} 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('530cb3b377353353472c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms 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.1801ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb3b377353353472d0000'), "firstname"=>"Sid", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb3b377353353472d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b377353353472d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms 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('530cb3b377353353472e0000'), "firstname"=>"Hans", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms 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: 30.1823ms 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('530cb3b377353353472f0000'), "firstname"=>"Everette", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347300000'), "firstname"=>"Alisha", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb3b37735335347300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms 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('530cb3b37735335347310000'), "firstname"=>"Angela", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb3b37735335347310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb3b37735335347310000 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('530cb3b37735335347320000'), "firstname"=>"Gaetano", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1660ms 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('530cb3b37735335347330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms 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.1997ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347340000'), "firstname"=>"Moriah", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb3b37735335347340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b37735335347340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347350000'), "firstname"=>"Maybelle", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347360000'), "firstname"=>"Jerald", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6947ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb3b37735335347360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b37735335347360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347370000'), "firstname"=>"Julian", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb3b37735335347370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb3b37735335347370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms 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('530cb3b37735335347380000'), "name"=>"Dr. Chelsea Williamson", "reference"=>"Boris Abshire", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347390000'), "author_name"=>"Maya Kautzer", "content"=>["Nam deserunt veritatis ipsa. Sint animi doloribus. Aut et quia nesciunt sunt. Repellendus voluptatem dolor voluptatum est omnis. Laborum eaque tenetur suscipit quibusdam dignissimos sit optio."]}]}] 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('530cb3b37735335347380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb3b37735335347380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb3b377353353473a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/products/530cb3b37735335347380000/comments/530cb3b377353353473a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353473b0000'), "name"=>"Rhianna Hessel", "reference"=>"Lauriane Corwin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353473c0000'), "author_name"=>"Viola Lubowitz", "content"=>["Optio reprehenderit iure. Corrupti libero aut quia. Unde quasi dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353473b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb3b377353353473b0000", "id"=>"530cb3b377353353473c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353473b0000')} 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('530cb3b377353353473b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb3b377353353473c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Redirected to http://test.host/products/530cb3b377353353473b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353473b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353473d0000'), "name"=>"Annalise Jerde II", "reference"=>"Jaylin Zboncak", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353473e0000'), "author_name"=>"Esta Dietrich DVM", "content"=>["Dolore facere delectus qui sed. Consectetur ut aut aut nam tenetur. Iusto eaque est. Et eos eaque assumenda. Incidunt sint accusamus nihil assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb3b377353353473d0000", "id"=>"530cb3b377353353473e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353473d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353473f0000'), "name"=>"Kaya Weimann IV", "reference"=>"Mr. Logan Mueller", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347400000'), "author_name"=>"Freddy Treutel", "content"=>["Deleniti aut repudiandae facilis tempora. Est voluptas ducimus fugit odit praesentium. Quisquam repudiandae sint eos voluptatem quasi dolore unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb3b377353353473f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353473f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347410000'), "name"=>"Francesco Miller", "reference"=>"Jeramie Kassulke V", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347420000'), "author_name"=>"Gwendolyn Harvey V", "content"=>["Sint labore nisi architecto minima. Vero consectetur ipsa. Sunt ut ut omnis non voluptatem veniam quisquam. Et est natus facere sit incidunt ut. Est esse hic facere maxime tenetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb3b37735335347410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347430000'), "name"=>"Orville Schumm", "reference"=>"Nigel Kling", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347440000'), "author_name"=>"Otha Lind Sr.", "content"=>["Et vel assumenda necessitatibus rerum velit. Eius exercitationem dolore reiciendis eum consequatur alias. Non sit amet numquam consequatur culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb3b37735335347430000", "id"=>"530cb3b37735335347440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347450000'), "name"=>"Cedrick Keebler Jr.", "reference"=>"Gustave Kuphal", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347460000'), "author_name"=>"Brando Schumm", "content"=>["Nam est illum sapiente et molestias consequuntur. Voluptatum ut labore et itaque illum repellat. Hic distinctio magni in molestiae placeat. Voluptatibus dolores in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb3b37735335347450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347470000'), "name"=>"Alice Hackett IV", "reference"=>"Marge Green", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347480000'), "author_name"=>"Samson Rosenbaum", "content"=>["Aspernatur est voluptatem. Corrupti nesciunt sint eaque. Dignissimos consequatur qui enim. Corporis aperiam impedit rerum sunt magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb3b37735335347470000", "id"=>"530cb3b37735335347480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347490000'), "name"=>"Gerard Barrows", "reference"=>"Mrs. Abby Roob", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353474a0000'), "author_name"=>"Guido Treutel MD", "content"=>["Sit id ducimus aut porro ipsam voluptas. Possimus autem voluptas quam qui qui illum nesciunt. Nobis quae illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb3b377353353474a0000", "product_id"=>"530cb3b37735335347490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347490000'), "comments._id"=>BSON::ObjectId('530cb3b377353353474a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms Redirected to http://test.host/products/530cb3b37735335347490000/comments/530cb3b377353353474a0000 Completed 302 Found in 38ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb3b377353353474b0000'), "firstname"=>"Charity", "lastname"=>"Reinger"}] 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.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('530cb3b377353353474c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Redirected to http://test.host/admin/clients/530cb3b377353353474c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2109ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb3b377353353474d0000'), "firstname"=>"Ebony", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms 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"=>"530cb3b377353353474d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b377353353474d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b377353353474d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms 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('530cb3b377353353474e0000'), "firstname"=>"Daphne", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb3b377353353474e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b377353353474e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms 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('530cb3b377353353474f0000'), "firstname"=>"Retta", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('530cb3b37735335347500000'), "firstname"=>"Garett", "lastname"=>"Keeling"}] 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 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('530cb3b37735335347510000'), "firstname"=>"Guido", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb3b37735335347510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms 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('530cb3b37735335347520000'), "firstname"=>"Verla", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb3b37735335347520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Redirected to http://test.host/admin/clients/530cb3b37735335347520000 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('530cb3b37735335347530000'), "firstname"=>"Ally", "lastname"=>"O'Reilly"}] 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.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('530cb3b37735335347540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Redirected to http://test.host/clients/530cb3b37735335347540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1849ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347550000'), "firstname"=>"Abigayle", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1662ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb3b37735335347550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347550000')} 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('530cb3b37735335347550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms 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('530cb3b37735335347560000'), "firstname"=>"Eulah", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb3b37735335347560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347560000')} 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.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('530cb3b37735335347570000'), "firstname"=>"Trever", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms 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('530cb3b37735335347580000'), "firstname"=>"Crystal", "lastname"=>"Hettinger"}] 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.8ms) 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('530cb3b37735335347590000'), "firstname"=>"Jaren", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb3b37735335347590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b37735335347590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3565ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb3b377353353475a0000'), "firstname"=>"Heidi", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb3b377353353475a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b377353353475a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb3b377353353475a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Redirected to http://test.host/clients/530cb3b377353353475a0000 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('530cb3b377353353475b0000'), "name"=>"Mrs. Ernie Corwin", "reference"=>"Dr. Jasmin Witting", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb3b377353353475c0000'), "firstname"=>"Derrick", "lastname"=>"Leffler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb3b377353353475b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353475b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353475b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353475b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb3b377353353475d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Redirected to http://test.host/products/530cb3b377353353475b0000/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('530cb3b377353353475e0000'), "name"=>"Alvina Reichel", "reference"=>"Keenan Dach MD", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb3b377353353475f0000'), "firstname"=>"Ara", "lastname"=>"Schumm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb3b377353353475f0000", "product_id"=>"530cb3b377353353475e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353475e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347600000'), "name"=>"Leanna Eichmann II", "reference"=>"Colleen Jacobson Sr.", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb3b37735335347610000'), "firstname"=>"Rosalia", "lastname"=>"Rau"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb3b37735335347600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347620000'), "name"=>"Alba Lockman", "reference"=>"Percy Mueller", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb3b37735335347630000'), "firstname"=>"Danielle", "lastname"=>"Swift"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb3b37735335347630000", "product_id"=>"530cb3b37735335347620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347640000'), "name"=>"Edgar Grady", "reference"=>"Eryn Schumm", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb3b37735335347650000'), "firstname"=>"Melvin", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb3b37735335347650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb3b37735335347640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms Unpermitted parameters: name Redirected to http://test.host/products/530cb3b37735335347640000/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('530cb3b37735335347660000'), "name"=>"Nova Sawayn", "reference"=>"Roberto Walker", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1796ms 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('530cb3b37735335347670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms Redirected to http://test.host/products/530cb3b37735335347670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2237ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347680000'), "name"=>"Jermaine Muller", "reference"=>"Allan Glover", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1732ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb3b37735335347680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms 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('530cb3b37735335347690000'), "name"=>"Osborne Streich", "reference"=>"Tyrique McGlynn", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb3b37735335347690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb3b377353353476a0000'), "name"=>"Leonor Rutherford", "reference"=>"Ayden Pfannerstill V", "quantity"=>"1"}] 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.7880ms Completed 200 OK in 52ms (Views: 51.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353476b0000'), "name"=>"Clarabelle Hamill", "reference"=>"Ms. Graham Emmerich", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms 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.7678ms 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('530cb3b377353353476c0000'), "name"=>"Ms. Lewis Brekke", "reference"=>"Arielle Considine", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb3b377353353476c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353476c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms Completed 200 OK in 34ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353476d0000'), "name"=>"Kaci Buckridge", "reference"=>"Jed Windler", "quantity"=>"3"}] 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 (3.4ms) 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('530cb3b377353353476f0000'), "name"=>"Garrett Larson", "reference"=>"Misael Smith", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.9181ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb3b377353353476f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353476f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347700000'), "name"=>"Carlee King", "reference"=>"Dominic Hagenes", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms 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('530cb3b37735335347710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347720000'), "name"=>"Esta Quigley", "reference"=>"Corbin Lindgren", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb3b37735335347720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347720000')} 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('530cb3b37735335347730000'), "name"=>"Estelle Leuschke", "reference"=>"Lilly Berge", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms 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('530cb3b37735335347750000'), "name"=>"Sabina Kuvalis", "reference"=>"Marion Runolfsson III", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb3b37735335347750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347750000')} 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('530cb3b37735335347760000'), "name"=>"Coty Jacobson", "reference"=>"Nicolette Cummings", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb3b37735335347760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347760000')} 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('530cb3b37735335347760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Redirected to http://test.host/products/530cb3b37735335347760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347790000'), "name"=>"Alfreda Jakubowski", "reference"=>"Kari McGlynn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347770000'), "author_name"=>"Donald Cummings", "content"=>["Recusandae ducimus voluptas. Quia rerum odit quam et sed minus consequuntur. Necessitatibus doloremque quasi corrupti officiis eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347780000'), "author_name"=>"Douglas Carroll", "content"=>["Ut suscipit voluptates omnis perferendis qui. Accusamus neque atque hic. Ut odio fugiat non cupiditate suscipit. Optio laboriosam ab ex nihil nihil beatae voluptates. Id sint corrupti aut consequatur eveniet non sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb3b37735335347790000", "comment_id"=>"530cb3b37735335347770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353477c0000'), "name"=>"Mrs. Lexi Schulist", "reference"=>"Garth O'Conner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353477a0000'), "author_name"=>"Bradley Schuppe Sr.", "content"=>["Optio ut ullam est eum. Modi ipsum id voluptatem porro illo. Et voluptatem quia repudiandae. Vitae tempore repudiandae ab. Voluptas nihil expedita dolores."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353477b0000'), "author_name"=>"Ms. Ryann Nolan", "content"=>["Consequuntur iure quidem. Occaecati mollitia non omnis deleniti aspernatur. Animi quidem qui aliquid aut doloribus. Similique aliquid a accusantium nulla perferendis qui. Ut quam debitis et nostrum qui unde voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353477c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb3b377353353477c0000", "comment_id"=>"530cb3b377353353477a0000", "id"=>"530cb3b377353353477b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353477c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353477f0000'), "name"=>"Mr. David Erdman", "reference"=>"Octavia Hills", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353477d0000'), "author_name"=>"Katheryn Bergnaum Sr.", "content"=>["Itaque repellendus et sunt. Officia harum magnam itaque velit aliquam. Exercitationem eos minima temporibus quia. Quod aut unde."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353477e0000'), "author_name"=>"Nellie Kulas", "content"=>["Vitae et fugiat amet reiciendis quasi. A voluptatibus saepe. Ducimus ut rerum nemo molestias et. Voluptatem ducimus sunt et. Porro exercitationem consectetur suscipit voluptatem tempore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb3b377353353477f0000", "comment_id"=>"530cb3b377353353477d0000", "id"=>"530cb3b377353353477e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353477f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Completed 500 Internal Server Error in 1ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347820000'), "name"=>"Kevin Kuphal", "reference"=>"Tevin Volkman Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347800000'), "author_name"=>"Jonas Murazik", "content"=>["Corporis possimus laborum. Sit recusandae ut nostrum reprehenderit et. Ducimus fuga illum eum rerum. Qui quo et rerum quis error itaque voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347810000'), "author_name"=>"Magnus Grimes", "content"=>["Officia dolor mollitia ea nihil. Voluptate amet animi reprehenderit. Ut eveniet illo. Illo qui aut quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb3b37735335347820000", "comment_id"=>"530cb3b37735335347800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Completed 500 Internal Server Error in 1ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347850000'), "name"=>"Levi Ratke PhD", "reference"=>"Tristin Greenfelder Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347830000'), "author_name"=>"D'angelo Herman MD", "content"=>["Voluptate voluptas maiores beatae quas. Blanditiis qui laborum architecto. Nisi repudiandae qui enim facere. Illo voluptatum nam quia est optio consequatur vel. Officiis porro pariatur sed nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347840000'), "author_name"=>"Wilson Lehner DDS", "content"=>["Dolor magni eveniet at. Id animi occaecati cum. Et aliquid totam velit sed dolorem voluptas eligendi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb3b37735335347850000", "comment_id"=>"530cb3b37735335347830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347880000'), "name"=>"Ms. Narciso Emard", "reference"=>"Karina Beatty", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347860000'), "author_name"=>"Marty Zboncak", "content"=>["Sequi qui eos non. Impedit et et sit. Pariatur in id animi. Est nobis ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347870000'), "author_name"=>"Lindsay Green", "content"=>["Reprehenderit doloribus ut corrupti occaecati possimus aut. Doloribus unde sint eum. Magnam nobis accusamus aut quisquam cupiditate quae. Aut id dolor. Et et ipsum cupiditate omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb3b37735335347880000", "comment_id"=>"530cb3b37735335347860000", "id"=>"530cb3b37735335347870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Completed 500 Internal Server Error in 1ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353478b0000'), "name"=>"Deondre Denesik IV", "reference"=>"Morris Reichel III", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347890000'), "author_name"=>"Myrl Effertz", "content"=>["Non ea atque dignissimos et sed. Nam non sed voluptas. Ea non id vitae et enim rerum illo. Temporibus numquam ad rerum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353478a0000'), "author_name"=>"Magnolia Bauch MD", "content"=>["Quis iusto quis voluptate sapiente fuga blanditiis dicta. Tenetur possimus eos et et. Qui laborum consequatur rerum aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb3b377353353478b0000", "comment_id"=>"530cb3b37735335347890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353478b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b377353353478e0000'), "name"=>"Ivah Vandervort", "reference"=>"Dr. Quinten Reichel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353478c0000'), "author_name"=>"Ezekiel Leannon I", "content"=>["Repellendus commodi odio quia repudiandae aliquam quidem ut. Voluptatem et cum et ea repudiandae. Est non qui et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353478d0000'), "author_name"=>"Isadore Ortiz", "content"=>["Laborum ex aut similique tempora aut. Eius dolor est laboriosam facere. Ad ab est. Illum qui fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb3b377353353478e0000", "comment_id"=>"530cb3b377353353478c0000", "id"=>"530cb3b377353353478d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b377353353478e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms Completed 500 Internal Server Error in 1ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347910000'), "name"=>"Brooklyn Bergnaum", "reference"=>"Adaline Ritchie", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb3b377353353478f0000'), "author_name"=>"Elody Considine", "content"=>["Nemo sed autem exercitationem minus earum. Aut perferendis vel autem ut harum. Est sunt ratione voluptatem nihil autem. Est adipisci repellat ducimus et et. Dolores maxime non aut omnis consequatur repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb3b37735335347900000'), "author_name"=>"Ms. Dave Ward", "content"=>["Voluptatem debitis qui eius officia similique sit. Id consequatur deleniti ipsa minima quia. Quis quod totam suscipit nam. Dolorem iure autem qui accusamus voluptatem reiciendis beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb3b37735335347900000", "product_id"=>"530cb3b37735335347910000", "comment_id"=>"530cb3b377353353478f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb3b37735335347910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms 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('530cb3b37735335347920000'), "firstname"=>"Joan", "lastname"=>"Stoltenberg"}] 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.1752ms 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('530cb3b37735335347930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms Redirected to http://test.host/users/530cb3b37735335347930000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2004ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347940000'), "firstname"=>"Pamela", "lastname"=>"Cummerata"}] 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.1849ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb3b37735335347940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms 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('530cb3b37735335347950000'), "firstname"=>"Otha", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb3b37735335347950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347950000')} 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.6ms) 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('530cb3b37735335347960000'), "firstname"=>"Yoshiko", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms 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.3563ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb3b37735335347970000'), "firstname"=>"Linwood", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms 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('530cb3b37735335347980000'), "firstname"=>"Roma", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb3b37735335347980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms 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('530cb3b37735335347990000'), "firstname"=>"Buford", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb3b37735335347990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb3b37735335347990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Unpermitted parameters: name Redirected to http://test.host/users/530cb3b37735335347990000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3749ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms 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.3222ms 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.3219ms 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.3071ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411000000'), "firstname"=>"Quentin", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2272ms 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('530cb4ab7735335411010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.6799ms Redirected to http://test.host/admin/administrator Completed 302 Found in 23ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1942ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411020000'), "firstname"=>"Dalton", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb4ab7735335411020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ab7735335411020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411030000'), "firstname"=>"Cordelia", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411040000'), "firstname"=>"Jalen", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb4ab7735335411040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ab7735335411040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411050000'), "firstname"=>"Lemuel", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb4ab7735335411050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ab7735335411050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411060000'), "name"=>"Constantin Sauer", "reference"=>"Yesenia Rodriguez", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab7735335411070000'), "author_name"=>"Rebecca O'Kon", "content"=>["Dolor culpa est. Iure ut porro nostrum consequatur omnis aut molestiae. Quos qui et non quo at. Sed illo nam qui nihil voluptates. Dolore provident voluptatum dolor eius perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ab7735335411060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4ab7735335411060000", "id"=>"530cb4ab7735335411070000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411080000'), "name"=>"Bryana Botsford", "reference"=>"Eliane Fay", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab7735335411090000'), "author_name"=>"Dr. Rebeka Grimes", "content"=>["Veniam voluptas in qui. Et quia repellendus non beatae qui fugiat quis. A quis ex deserunt corrupti maiores. Odit voluptates neque velit quam ut praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb4ab7735335411080000", "id"=>"530cb4ab7735335411090000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab77353354110a0000'), "name"=>"Holly Streich", "reference"=>"Eduardo Hickle", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab77353354110b0000'), "author_name"=>"Nikolas Predovic", "content"=>["Ullam quas recusandae blanditiis. Laborum distinctio vel facilis animi. Officiis qui sunt repellendus. Harum dicta amet saepe at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb4ab77353354110a0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab77353354110c0000'), "name"=>"Abelardo Goodwin PhD", "reference"=>"Marlin Bayer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab77353354110d0000'), "author_name"=>"Emil Stroman", "content"=>["Et facilis et qui repellat impedit exercitationem aliquid. Non enim voluptatibus. Nihil aperiam consectetur dolorem pariatur rerum laudantium dolores. Neque commodi totam consequatur sunt id. Est et non repudiandae aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb4ab77353354110c0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab77353354110e0000'), "name"=>"Shemar Lindgren", "reference"=>"Lorna Kihn DDS", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab77353354110f0000'), "author_name"=>"Nathan Hodkiewicz", "content"=>["Maiores odit tempore quis similique ratione quidem. Ut qui aut qui. Deserunt sunt quia perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb4ab77353354110e0000", "id"=>"530cb4ab77353354110f0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411100000'), "name"=>"Sven Gerlach", "reference"=>"Ms. Waylon Hermann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ab7735335411110000'), "author_name"=>"Cortney Wiza", "content"=>["Eum consequatur illum quo. Eum laboriosam quia porro culpa. Quaerat et vel quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4ab7735335411110000", "product_id"=>"530cb4ab7735335411100000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411120000'), "name"=>"Guillermo Hintz", "reference"=>"Winona Marvin", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb4ab7735335411130000'), "firstname"=>"Kari", "lastname"=>"Ziemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb4ab7735335411130000", "product_id"=>"530cb4ab7735335411120000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411140000'), "name"=>"Beaulah Erdman", "reference"=>"Dr. Freddie Gottlieb", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb4ab7735335411150000'), "firstname"=>"Nichole", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb4ab7735335411140000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411160000'), "name"=>"Danny Windler DDS", "reference"=>"Alanis Lebsack PhD", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb4ab7735335411170000'), "firstname"=>"Alexane", "lastname"=>"Reichel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb4ab7735335411170000", "product_id"=>"530cb4ab7735335411160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ab7735335411180000'), "name"=>"Foster Glover", "reference"=>"Jo Gleason", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb4ab7735335411190000'), "firstname"=>"Gia", "lastname"=>"Wiegand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb4ab7735335411190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb4ab7735335411180000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354111a0000'), "name"=>"Jaqueline Green DVM", "reference"=>"Russell Rowe PhD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4714ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1668ms 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('530cb4ac77353354111b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Redirected to http://test.host/admin/products/530cb4ac77353354111b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354111c0000'), "name"=>"Trystan Cronin", "reference"=>"Mr. Cleo Kunze", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1616ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb4ac77353354111c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354111c0000')} 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('530cb4ac77353354111c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms 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.1751ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354111d0000'), "name"=>"Anissa Rice", "reference"=>"Javier Ritchie V", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb4ac77353354111d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354111d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354111e0000'), "name"=>"Patsy Hyatt", "reference"=>"Brendon Legros", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms 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.4671ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354111f0000'), "name"=>"Aric Feeney Sr.", "reference"=>"Miss Charley Kilback", "quantity"=>"3"}] 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.5ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411220000'), "name"=>"Gavin Beier", "reference"=>"Gene Goodwin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb4ac7735335411220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms 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('530cb4ac7735335411230000'), "name"=>"Dimitri Becker", "reference"=>"Zita Hilll I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb4ac7735335411230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411230000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms Redirected to http://test.host/admin/products/530cb4ac7735335411230000 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('530cb4ac7735335411240000'), "firstname"=>"Aubree", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1576ms 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('530cb4ac7735335411250000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms Redirected to http://test.host/admin/users/530cb4ac7735335411250000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1718ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411260000'), "firstname"=>"Woodrow", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1522ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb4ac7735335411260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac7735335411260000')} 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('530cb4ac7735335411260000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms 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.1648ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411270000'), "firstname"=>"Mafalda", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb4ac7735335411270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac7735335411270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb4ac7735335411280000'), "firstname"=>"Bruce", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6204ms 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.2900ms 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('530cb4ac7735335411290000'), "firstname"=>"Sigurd", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms 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('530cb4ac77353354112a0000'), "firstname"=>"Leopold", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb4ac77353354112a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac77353354112a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms 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('530cb4ac77353354112b0000'), "firstname"=>"Isaac", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb4ac77353354112b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac77353354112b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb4ac77353354112b0000 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('530cb4ac77353354112c0000'), "firstname"=>"Shea", "lastname"=>"Ankunding"}] 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=>"administrators", :query=>{}} runtime: 0.1606ms 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('530cb4ac77353354112d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms 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.1799ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354112e0000'), "firstname"=>"Nels", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb4ac77353354112e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ac77353354112e0000')} 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.6ms) Completed 200 OK in 7ms (Views: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354112f0000'), "firstname"=>"Geo", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411300000'), "firstname"=>"General", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb4ac7735335411300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ac7735335411300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411310000'), "firstname"=>"Ray", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb4ac7735335411310000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4ac7735335411310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms 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('530cb4ac7735335411320000'), "name"=>"Antwan Sanford", "reference"=>"Rudolph Towne", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411330000'), "author_name"=>"Ms. Monroe Bradtke", "content"=>["Amet omnis sit vitae. Reprehenderit aut enim. Officiis aut dolores impedit. Minima reiciendis repellat ab nisi vitae totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb4ac7735335411320000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411340000'), "name"=>"Hilario Parisian", "reference"=>"Santiago Hills", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411350000'), "author_name"=>"Warren Bradtke", "content"=>["Architecto explicabo molestiae voluptatem. Provident reiciendis quo voluptatem ad voluptas. Illo quidem qui. Iure esse ullam atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4ac7735335411340000", "id"=>"530cb4ac7735335411350000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411360000'), "name"=>"Ricky Dickinson", "reference"=>"Jaleel Wilkinson Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411370000'), "author_name"=>"Keely Gulgowski", "content"=>["Quia autem omnis ut facere eos. Debitis et nesciunt. Dolorum qui tempore sed. Molestiae dolores vel veniam eaque est optio dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb4ac7735335411360000", "id"=>"530cb4ac7735335411370000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411380000'), "name"=>"Markus Hane", "reference"=>"Kirstin Schiller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411390000'), "author_name"=>"Dina Jacobi", "content"=>["Sint vero aut dolorem. Ratione magnam numquam. Aperiam quibusdam eum nulla quia. Odit voluptatibus suscipit ut temporibus molestiae nobis. Odit optio officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb4ac7735335411380000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354113a0000'), "name"=>"Deshawn Rath", "reference"=>"Eda Kuphal", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354113b0000'), "author_name"=>"Elisha Schoen", "content"=>["Quibusdam ea repellendus. Labore quia temporibus accusamus non. Cupiditate rem ullam sapiente nulla in. Quam labore excepturi doloremque et. Architecto sed quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5611ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb4ac77353354113a0000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354113c0000'), "name"=>"Jewell O'Hara", "reference"=>"Layne Vandervort", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354113d0000'), "author_name"=>"Audra Grant", "content"=>["Non velit velit. Quam autem voluptatem asperiores rem. Illo iusto optio aut eveniet autem fugit rerum. Aliquam repellendus nulla. Facere et corrupti perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb4ac77353354113c0000", "id"=>"530cb4ac77353354113d0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354113e0000'), "name"=>"Ms. Kelsie Dibbert", "reference"=>"Judd Lakin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354113f0000'), "author_name"=>"Ms. Loy Kuhic", "content"=>["Dolor enim qui ut. In quidem voluptas nemo. Beatae quia repudiandae est. Omnis voluptates voluptatem id nesciunt dolor natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb4ac77353354113e0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411400000'), "name"=>"Miss Marlen McGlynn", "reference"=>"Kristopher Toy Sr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411410000'), "author_name"=>"Jamal Bednar III", "content"=>["Ab aspernatur culpa aperiam laudantium velit unde. Repudiandae id dolores eos et autem. Et ea omnis dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb4ac7735335411400000", "id"=>"530cb4ac7735335411410000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411420000'), "name"=>"Fritz Wiza Sr.", "reference"=>"Ms. Richie Treutel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411430000'), "author_name"=>"Elmer Ward", "content"=>["Laborum totam animi autem dolorem cumque velit. Voluptas nisi nesciunt. Optio sed dignissimos aliquid et soluta quia earum. Quae et dolores reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4ac7735335411430000", "product_id"=>"530cb4ac7735335411420000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411440000'), "firstname"=>"Estefania", "lastname"=>"Douglas"}] 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=>"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('530cb4ac7735335411450000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Redirected to http://test.host/admin/clients/530cb4ac7735335411450000 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('530cb4ac7735335411460000'), "firstname"=>"Grace", "lastname"=>"Marks"}] 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.1721ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb4ac7735335411460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac7735335411460000')} 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('530cb4ac7735335411460000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms 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.1880ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411470000'), "firstname"=>"Tremayne", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb4ac7735335411470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac7735335411470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 11ms (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('530cb4ac7735335411480000'), "firstname"=>"Aliyah", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms 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('530cb4ac7735335411490000'), "firstname"=>"Dorcas", "lastname"=>"Torphy"}] 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.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('530cb4ac77353354114a0000'), "firstname"=>"Ethelyn", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb4ac77353354114a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac77353354114a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms 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('530cb4ac77353354114b0000'), "firstname"=>"Madge", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb4ac77353354114b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac77353354114b0000')} 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('530cb4ac77353354114b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms Redirected to http://test.host/admin/clients/530cb4ac77353354114b0000 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('530cb4ac77353354114c0000'), "firstname"=>"Jerry", "lastname"=>"Lind"}] 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.1832ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354114d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms Redirected to http://test.host/clients/530cb4ac77353354114d0000 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('530cb4ac77353354114e0000'), "firstname"=>"Davin", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1648ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb4ac77353354114e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac77353354114e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac77353354114e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms 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.1798ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354114f0000'), "firstname"=>"Eula", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb4ac77353354114f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac77353354114f0000')} 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 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('530cb4ac7735335411500000'), "firstname"=>"Justine", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411510000'), "firstname"=>"Ashton", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7787ms 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('530cb4ac7735335411520000'), "firstname"=>"Emory", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb4ac7735335411520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac7735335411520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411530000'), "firstname"=>"Patricia", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb4ac7735335411530000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac7735335411530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4ac7735335411530000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms Redirected to http://test.host/clients/530cb4ac7735335411530000 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('530cb4ac7735335411540000'), "name"=>"Blaise Harvey DVM", "reference"=>"Kayden Cremin", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb4ac7735335411550000'), "firstname"=>"Jordane", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb4ac7735335411540000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411560000'), "name"=>"Stephanie Mann", "reference"=>"Gaston Erdman", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb4ac7735335411570000'), "firstname"=>"Tyson", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb4ac7735335411570000", "product_id"=>"530cb4ac7735335411560000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411580000'), "name"=>"Jayda Hane", "reference"=>"Judd West", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb4ac7735335411590000'), "firstname"=>"Deja", "lastname"=>"Daniel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb4ac7735335411580000"} Completed 500 Internal Server Error in 33ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354115a0000'), "name"=>"Laura Thiel", "reference"=>"Mrs. Jamel Farrell", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb4ac77353354115b0000'), "firstname"=>"Tom", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb4ac77353354115b0000", "product_id"=>"530cb4ac77353354115a0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354115c0000'), "name"=>"Dawn Kovacek", "reference"=>"Mrs. Bernadine Rutherford", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb4ac77353354115d0000'), "firstname"=>"Maverick", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7329ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb4ac77353354115d0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb4ac77353354115c0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354115e0000'), "name"=>"Lina VonRueden III", "reference"=>"Kelvin Stoltenberg", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1662ms 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('530cb4ac77353354115f0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Redirected to http://test.host/products/530cb4ac77353354115f0000 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('530cb4ac7735335411600000'), "name"=>"Alyson Senger", "reference"=>"Devon Feest", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1546ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb4ac7735335411600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411600000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms 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.1648ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411610000'), "name"=>"Ramona Kihn", "reference"=>"Mr. Sidney Nikolaus", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb4ac7735335411610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411620000'), "name"=>"Mr. Nova Jacobson", "reference"=>"Taya O'Keefe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms 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.7703ms Completed 200 OK in 21ms (Views: 20.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411630000'), "name"=>"Ms. Angus Walker", "reference"=>"Ms. Derick Daugherty", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms 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.6979ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411640000'), "name"=>"Germaine Rowe", "reference"=>"Kurt Dare", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb4ac7735335411640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms 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('530cb4ac7735335411650000'), "name"=>"Ms. Valentina Watsica", "reference"=>"Brennon Rempel IV", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411670000'), "name"=>"Wilford Considine", "reference"=>"Amelie Dickinson", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb4ac7735335411670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411680000'), "name"=>"Madonna Marvin", "reference"=>"Miss Araceli Balistreri", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.2233ms 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('530cb4ac7735335411690000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2100ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354116a0000'), "name"=>"Gracie Olson", "reference"=>"Johnny Moore", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb4ac77353354116a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354116a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.3391ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354116a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Completed 200 OK in 28ms (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('530cb4ac77353354116b0000'), "name"=>"Aylin Eichmann PhD", "reference"=>"Jarrod Hackett", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms 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('530cb4ac77353354116d0000'), "name"=>"Forrest Gleason", "reference"=>"Malvina Bradtke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb4ac77353354116d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354116d0000')} 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('530cb4ac77353354116d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms 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('530cb4ac77353354116e0000'), "name"=>"Henry Hodkiewicz", "reference"=>"Marina Ratke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb4ac77353354116e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac77353354116e0000')} 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('530cb4ac77353354116e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms Redirected to http://test.host/products/530cb4ac77353354116e0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411710000'), "name"=>"Courtney Stamm", "reference"=>"Madonna Gutmann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354116f0000'), "author_name"=>"Scottie Lemke", "content"=>["Cum consequuntur corporis est est porro totam. Nulla soluta odit consequatur. Eaque odio ut dolores. Unde placeat non repudiandae sapiente suscipit odio perferendis. Exercitationem unde dolore corrupti nisi veritatis consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411700000'), "author_name"=>"Francisca Stracke DDS", "content"=>["Ducimus accusamus quo iusto quos ab nemo a. Rerum nesciunt et fugit. Sit eaque necessitatibus culpa eos animi sed. Doloribus eligendi consequatur a exercitationem assumenda facilis in."]}]}]}] 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('530cb4ac7735335411710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb4ac7735335411710000", "comment_id"=>"530cb4ac77353354116f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411740000'), "name"=>"Ferne Borer", "reference"=>"Lazaro Connelly", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411720000'), "author_name"=>"Fausto Weber", "content"=>["Dolore nobis rerum praesentium sed ex. Vel molestiae unde. Optio nobis rerum ea debitis nihil aperiam nesciunt. Iure rerum consequatur. Hic neque maxime."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411730000'), "author_name"=>"Marquise Bednar", "content"=>["Alias recusandae voluptatum mollitia eligendi. Eum possimus consequuntur omnis sunt occaecati. Alias fugiat aut et officiis possimus quisquam omnis. Dignissimos nobis qui cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4ac7735335411740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4ac7735335411740000", "comment_id"=>"530cb4ac7735335411720000", "id"=>"530cb4ac7735335411730000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411770000'), "name"=>"Cloyd White", "reference"=>"Adam Walter", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411750000'), "author_name"=>"Hudson Hodkiewicz", "content"=>["Sed magni odio distinctio qui laborum quae. Laborum voluptatem eaque mollitia alias inventore voluptatum esse. Aut fuga ut mollitia sit aliquid illo. Incidunt suscipit minima voluptate ut. Nobis minus mollitia a quia quo."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411760000'), "author_name"=>"Cora Wyman", "content"=>["Deserunt non rerum. Aut quibusdam architecto sit sunt. Quaerat et ut rerum tempora nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb4ac7735335411770000", "comment_id"=>"530cb4ac7735335411750000", "id"=>"530cb4ac7735335411760000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354117a0000'), "name"=>"Viviane Kunde", "reference"=>"Torey Fahey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411780000'), "author_name"=>"Annalise Schaefer III", "content"=>["Enim quia iusto. Est et quia velit aspernatur sed ab. Non consequatur autem."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411790000'), "author_name"=>"Miss Carmel Reichert", "content"=>["Nemo est ut neque aut nesciunt. Temporibus autem autem aliquid distinctio. Explicabo et vitae quaerat magni. Reprehenderit recusandae veritatis ad possimus natus modi adipisci. Repellat ipsum qui sequi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5887ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb4ac77353354117a0000", "comment_id"=>"530cb4ac7735335411780000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354117d0000'), "name"=>"Ora Hagenes", "reference"=>"Crystal Littel IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354117b0000'), "author_name"=>"Esteban Emmerich", "content"=>["Voluptatum magni eaque eos. Nobis dolore ullam voluptas. Aspernatur dignissimos quis labore voluptates nam. Nisi consectetur qui sed perferendis magni est occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354117c0000'), "author_name"=>"Bernard Hackett", "content"=>["Ipsum quasi veritatis quae est ipsam. Consequuntur qui in sapiente ratione tenetur. Sunt explicabo iste et temporibus veniam officia. Aperiam dolorem voluptatem commodi molestiae voluptatum ea laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb4ac77353354117d0000", "comment_id"=>"530cb4ac77353354117b0000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411800000'), "name"=>"Francesca Hilll", "reference"=>"Cecilia Schimmel Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354117e0000'), "author_name"=>"Leilani Hansen", "content"=>["Exercitationem reprehenderit qui aut vel molestias. Non nisi rerum. Et temporibus omnis natus modi dolorem ad at. Quam repellat necessitatibus consequuntur accusamus. Qui veritatis praesentium molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac77353354117f0000'), "author_name"=>"Althea Hagenes", "content"=>["Neque explicabo ut id optio veritatis laboriosam nihil. Sit doloremque aut sed autem est. Pariatur veritatis inventore rerum est et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb4ac7735335411800000", "comment_id"=>"530cb4ac77353354117e0000", "id"=>"530cb4ac77353354117f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411830000'), "name"=>"Mossie Stamm", "reference"=>"Vivienne Mayer", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411810000'), "author_name"=>"Mireille Koepp", "content"=>["Dolore quia et aut eius iste. Veritatis accusantium sint impedit nostrum. Iste nostrum laboriosam asperiores sunt."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411820000'), "author_name"=>"Lisa Wiza", "content"=>["Vel dolores nisi ea eum. Est labore minus. Rerum laboriosam veritatis perferendis doloremque. Quo consequatur ullam culpa porro. Molestiae quia sequi sed cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb4ac7735335411830000", "comment_id"=>"530cb4ac7735335411810000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411860000'), "name"=>"Mac Wiegand III", "reference"=>"Ms. Boris Oberbrunner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411840000'), "author_name"=>"Cali Crona", "content"=>["Quas et inventore sequi fugiat minima. Accusamus quos et est consectetur et commodi unde. Modi sed quasi."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411850000'), "author_name"=>"Eloy Ryan II", "content"=>["Et consectetur et vel aperiam ea. Quidem similique saepe eius et. Modi itaque cum similique et autem nihil. Corporis cum tenetur velit nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb4ac7735335411860000", "comment_id"=>"530cb4ac7735335411840000", "id"=>"530cb4ac7735335411850000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411890000'), "name"=>"Miss Karley Rice", "reference"=>"Rosalee Ritchie", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411870000'), "author_name"=>"Samara Reinger", "content"=>["Et et nemo quod. Natus consectetur atque et consequatur et. Ducimus accusamus voluptas aliquid tenetur. Voluptate sed consequuntur natus. Dolores est et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4ac7735335411880000'), "author_name"=>"Dorian Berge DDS", "content"=>["Maxime sint dolorem eligendi non eveniet sed. In neque ad ut doloremque quis voluptas. Eaque quae aperiam. Velit et fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4ac7735335411880000", "product_id"=>"530cb4ac7735335411890000", "comment_id"=>"530cb4ac7735335411870000"} 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('530cb4ac77353354118a0000'), "firstname"=>"Roma", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1955ms 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('530cb4ac77353354118b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Redirected to http://test.host/users/530cb4ac77353354118b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1973ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354118c0000'), "firstname"=>"Omer", "lastname"=>"Ebert"}] 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.1693ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb4ac77353354118c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac77353354118c0000')} 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('530cb4ac77353354118c0000')} 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.1879ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354118d0000'), "firstname"=>"Rick", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb4ac77353354118d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac77353354118d0000')} 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.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('530cb4ac77353354118e0000'), "firstname"=>"Nolan", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms 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.3300ms Completed 200 OK in 9ms (Views: 8.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac77353354118f0000'), "firstname"=>"Modesta", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ac7735335411900000'), "firstname"=>"Lula", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb4ac7735335411900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac7735335411900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms 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('530cb4ac7735335411910000'), "firstname"=>"Cyrus", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb4ac7735335411910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ac7735335411910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms Unpermitted parameters: name Redirected to http://test.host/users/530cb4ac7735335411910000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms 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.3189ms 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.3114ms 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.3058ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b8773533543a000000'), "firstname"=>"Marian", "lastname"=>"Kub"}] 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.2249ms 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('530cb4b8773533543a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.5341ms Redirected to http://test.host/admin/administrator Completed 302 Found in 22ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1855ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b8773533543a020000'), "firstname"=>"Ismael", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb4b8773533543a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b8773533543a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a030000'), "firstname"=>"Opal", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a040000'), "firstname"=>"Hipolito", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb4b9773533543a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b9773533543a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a050000'), "firstname"=>"Cathryn", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb4b9773533543a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b9773533543a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a060000'), "name"=>"Cory Marvin IV", "reference"=>"Adrianna Littel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a070000'), "author_name"=>"Leanna Mohr", "content"=>["Consectetur iusto consequatur expedita aut vitae facilis in. Sed aut neque occaecati voluptas. Ipsa eveniet corrupti et est in eligendi laudantium. Qui labore quis ratione vitae cupiditate dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4b9773533543a060000", "id"=>"530cb4b9773533543a070000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a080000'), "name"=>"Treva Kihn", "reference"=>"Marco Kirlin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a090000'), "author_name"=>"Mortimer Jenkins", "content"=>["Facere eum officia officiis quos provident mollitia. Reprehenderit eaque labore quidem tempore qui. Consequatur laudantium culpa dolore voluptatem aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb4b9773533543a080000", "id"=>"530cb4b9773533543a090000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a0a0000'), "name"=>"Reagan Satterfield", "reference"=>"Karen Wiza MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a0b0000'), "author_name"=>"Conner Koepp", "content"=>["Ratione similique quis quidem suscipit hic nostrum. Itaque libero et rerum voluptatibus vel. Esse error mollitia tempora impedit omnis aut nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb4b9773533543a0a0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a0c0000'), "name"=>"Yadira Shields MD", "reference"=>"Mrs. Caesar Thompson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a0d0000'), "author_name"=>"Ms. Urban Barton", "content"=>["Et facere aut dicta repellendus. Qui ratione illum unde nostrum. Molestias aliquid atque quidem qui voluptas ullam. Nobis eum omnis vel vel. Rerum aut ut asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb4b9773533543a0c0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a0e0000'), "name"=>"Moses McCullough", "reference"=>"Annamae Weissnat", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a0f0000'), "author_name"=>"Arturo O'Conner", "content"=>["Illum sunt doloribus non. Molestiae magni velit culpa. Neque incidunt dignissimos aut deserunt tenetur dolorem ipsa. Ut quae aliquam doloribus enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb4b9773533543a0e0000", "id"=>"530cb4b9773533543a0f0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a100000'), "name"=>"Mathilde Bradtke", "reference"=>"Madelyn Hintz III", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a110000'), "author_name"=>"Elbert Breitenberg", "content"=>["Dolorum et provident natus est et est fuga. Ea et consequatur. Ut nobis sapiente asperiores et beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4b9773533543a110000", "product_id"=>"530cb4b9773533543a100000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a120000'), "name"=>"Miss Cortez Hilll", "reference"=>"Jace Streich", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a130000'), "firstname"=>"Deontae", "lastname"=>"Wehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a130000", "product_id"=>"530cb4b9773533543a120000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a140000'), "name"=>"Antwon Shields IV", "reference"=>"Juliana Rath", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a150000'), "firstname"=>"Jesse", "lastname"=>"Corwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb4b9773533543a140000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a160000'), "name"=>"Jamaal Dibbert", "reference"=>"Mrs. Mackenzie Schinner", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a170000'), "firstname"=>"Llewellyn", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb4b9773533543a170000", "product_id"=>"530cb4b9773533543a160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a180000'), "name"=>"Leland Kassulke", "reference"=>"Elvis Bahringer", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a190000'), "firstname"=>"Dax", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb4b9773533543a190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb4b9773533543a180000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a1a0000'), "name"=>"Desiree Bogan", "reference"=>"Rhoda Parker", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9550ms 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('530cb4b9773533543a1b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Redirected to http://test.host/admin/products/530cb4b9773533543a1b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2102ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a1c0000'), "name"=>"Amya Greenholt", "reference"=>"Arnold Harber", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1770ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb4b9773533543a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a1c0000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1889ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a1d0000'), "name"=>"Harvey Morissette", "reference"=>"Lance Wiegand", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a1d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a1d0000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a1e0000'), "name"=>"Elizabeth Price", "reference"=>"Edison Hand", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms 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.4979ms Completed 200 OK in 11ms (Views: 10.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a1f0000'), "name"=>"Clarabelle Hahn", "reference"=>"Owen Torphy", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms 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.0ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a220000'), "name"=>"Bridie Lindgren II", "reference"=>"Clyde Steuber", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb4b9773533543a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms 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('530cb4b9773533543a230000'), "name"=>"Mrs. Chaz Watsica", "reference"=>"Lura Windler", "quantity"=>"6"}] 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"=>"530cb4b9773533543a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a230000')} 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('530cb4b9773533543a230000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Redirected to http://test.host/admin/products/530cb4b9773533543a230000 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('530cb4b9773533543a240000'), "firstname"=>"Nakia", "lastname"=>"Ondricka"}] 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=>"admin_users", :query=>{}} runtime: 0.1734ms 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('530cb4b9773533543a250000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms Redirected to http://test.host/admin/users/530cb4b9773533543a250000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1890ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a260000'), "firstname"=>"Ardith", "lastname"=>"McKenzie"}] 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=>"admin_users", :query=>{}} runtime: 0.1691ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb4b9773533543a260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4b9773533543a260000')} 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('530cb4b9773533543a260000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms 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.1821ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a270000'), "firstname"=>"Dane", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4b9773533543a270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb4b9773533543a280000'), "firstname"=>"Jeremy", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms 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.3086ms 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('530cb4b9773533543a290000'), "firstname"=>"Dion", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms 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('530cb4b9773533543a2a0000'), "firstname"=>"Dell", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb4b9773533543a2a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4b9773533543a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms 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('530cb4b9773533543a2b0000'), "firstname"=>"Gavin", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb4b9773533543a2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4b9773533543a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb4b9773533543a2b0000 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('530cb4b9773533543a2c0000'), "firstname"=>"Darren", "lastname"=>"Hermiston"}] 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=>"administrators", :query=>{}} runtime: 0.1851ms 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('530cb4b9773533543a2d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms 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.1964ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a2e0000'), "firstname"=>"Alvina", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a2e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b9773533543a2e0000')} 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.7ms) Completed 200 OK in 7ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a2f0000'), "firstname"=>"Kiel", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a300000'), "firstname"=>"Lydia", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb4b9773533543a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b9773533543a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a310000'), "firstname"=>"Laisha", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb4b9773533543a310000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb4b9773533543a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms 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('530cb4b9773533543a320000'), "name"=>"Dr. Arely Torp", "reference"=>"Cleo Langworth", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a330000'), "author_name"=>"Beverly Satterfield", "content"=>["Voluptates culpa et laborum eum. Alias aut voluptate sint nam error. Dolor quia magnam nemo aspernatur delectus neque. Et voluptatem sed a dolores nihil culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb4b9773533543a320000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a340000'), "name"=>"Clovis Considine", "reference"=>"Neha Shanahan", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a350000'), "author_name"=>"Arlo Moore", "content"=>["Adipisci quia architecto fuga deserunt ea et error. Et voluptatum est velit harum aliquid. Aut repellat vitae ut officiis. Enim sit officia quo."]}]}] 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('530cb4b9773533543a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4b9773533543a340000", "id"=>"530cb4b9773533543a350000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a360000'), "name"=>"Sylvia Hayes", "reference"=>"Dr. Herminia Baumbach", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a370000'), "author_name"=>"Trisha Kemmer", "content"=>["Ipsa placeat maxime ducimus incidunt. Laboriosam error porro nihil dolor alias a autem. Ut nihil magnam. Ut blanditiis velit dolores quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb4b9773533543a360000", "id"=>"530cb4b9773533543a370000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a380000'), "name"=>"Coby Conn I", "reference"=>"Tobin Batz", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a390000'), "author_name"=>"Amani Brakus IV", "content"=>["Odit provident distinctio explicabo sint corrupti reiciendis. Sit facere quasi ea. Et accusamus labore vero occaecati nesciunt cupiditate corrupti. Maiores corrupti aperiam tempore sunt quas quia. Porro neque possimus iusto omnis dolores aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb4b9773533543a380000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a3a0000'), "name"=>"Tanner Beier", "reference"=>"Evangeline Kirlin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a3b0000'), "author_name"=>"Jo Runolfsdottir", "content"=>["Ipsam alias pariatur eos eum sapiente. Dolores nam molestias quaerat dolores sit. Est omnis ducimus nihil necessitatibus aspernatur id doloremque. Autem neque et aperiam recusandae. Est perferendis molestias ratione dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb4b9773533543a3a0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a3c0000'), "name"=>"Brenden Daniel", "reference"=>"Clay Weimann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a3d0000'), "author_name"=>"Ana Rempel", "content"=>["Dolorum dolorem possimus nulla cumque et et quos. Atque deleniti reprehenderit qui dolor asperiores. Aut dolore cum quas laborum autem. Accusamus maiores recusandae id consequatur sit. Ullam eum eveniet nihil dicta voluptates quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb4b9773533543a3c0000", "id"=>"530cb4b9773533543a3d0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a3e0000'), "name"=>"Keanu Miller", "reference"=>"Mr. Cordia Mertz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a3f0000'), "author_name"=>"Desmond Grant", "content"=>["Possimus neque voluptatum optio fuga sed. Et nihil sit similique voluptatem perferendis aut ut. Facilis aliquid dolor eum voluptatem sed iste modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb4b9773533543a3e0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a400000'), "name"=>"Prince Franecki", "reference"=>"Al Prohaska", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a410000'), "author_name"=>"Cydney Gaylord", "content"=>["Quo sunt ratione vitae. Omnis et aut ex quae enim quibusdam rem. Nihil deserunt consectetur eum est qui adipisci. Temporibus nam sit vero et et. Et sunt minima aliquid id eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb4b9773533543a400000", "id"=>"530cb4b9773533543a410000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a420000'), "name"=>"Johathan MacGyver MD", "reference"=>"Corbin Turcotte", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a430000'), "author_name"=>"Clifton Williamson", "content"=>["Sit labore non eum ut perspiciatis voluptates harum. Voluptatem consequatur est. Perspiciatis quasi minima. Ullam aliquid omnis accusantium deserunt est aut. Dolorem eligendi officiis in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4b9773533543a430000", "product_id"=>"530cb4b9773533543a420000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a440000'), "firstname"=>"Reese", "lastname"=>"Rodriguez"}] 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.1756ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a450000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Redirected to http://test.host/admin/clients/530cb4b9773533543a450000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1913ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a460000'), "firstname"=>"Alyson", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms 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"=>"530cb4b9773533543a460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a460000')} 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('530cb4b9773533543a460000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms 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.1820ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a470000'), "firstname"=>"Brennon", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 11ms (Views: 7.7ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a480000'), "firstname"=>"Nat", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms 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('530cb4b9773533543a490000'), "firstname"=>"Leila", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a4a0000'), "firstname"=>"Lauriane", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb4b9773533543a4a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms 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('530cb4b9773533543a4b0000'), "firstname"=>"Mitchel", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb4b9773533543a4b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a4b0000')} 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('530cb4b9773533543a4b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Redirected to http://test.host/admin/clients/530cb4b9773533543a4b0000 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('530cb4b9773533543a4c0000'), "firstname"=>"Nash", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms 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('530cb4b9773533543a4d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Redirected to http://test.host/clients/530cb4b9773533543a4d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1806ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a4e0000'), "firstname"=>"Robbie", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1628ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb4b9773533543a4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a4e0000')} 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.1927ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a4f0000'), "firstname"=>"Hortense", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a4f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms 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('530cb4b9773533543a500000'), "firstname"=>"Caleigh", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms 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('530cb4b9773533543a510000'), "firstname"=>"Kaycee", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms 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('530cb4b9773533543a520000'), "firstname"=>"Marty", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb4b9773533543a520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms 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('530cb4b9773533543a530000'), "firstname"=>"Bernhard", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9753ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb4b9773533543a530000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb4b9773533543a530000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms Redirected to http://test.host/clients/530cb4b9773533543a530000 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('530cb4b9773533543a540000'), "name"=>"Sarah Gottlieb", "reference"=>"Zachary Spinka DDS", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a550000'), "firstname"=>"Kaylee", "lastname"=>"Erdman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb4b9773533543a540000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a560000'), "name"=>"Mrs. Alva Rice", "reference"=>"Aric Hilpert", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a570000'), "firstname"=>"Natasha", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a570000", "product_id"=>"530cb4b9773533543a560000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a580000'), "name"=>"Viva Champlin", "reference"=>"Magnus Yost MD", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a590000'), "firstname"=>"Colten", "lastname"=>"Cummings"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb4b9773533543a580000"} Completed 500 Internal Server Error in 33ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a5a0000'), "name"=>"Devan McKenzie III", "reference"=>"Katelynn Bailey IV", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a5b0000'), "firstname"=>"Lavon", "lastname"=>"Zulauf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb4b9773533543a5b0000", "product_id"=>"530cb4b9773533543a5a0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a5c0000'), "name"=>"Mrs. Guillermo Marks", "reference"=>"Vivian Torp", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb4b9773533543a5d0000'), "firstname"=>"Emily", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb4b9773533543a5d0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb4b9773533543a5c0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a5e0000'), "name"=>"Wilhelm Hessel", "reference"=>"Ms. Brielle Blanda", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4046ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2518ms 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('530cb4b9773533543a5f0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Redirected to http://test.host/products/530cb4b9773533543a5f0000 Completed 302 Found in 3ms 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('530cb4b9773533543a600000'), "name"=>"Allan Erdman", "reference"=>"Orpha Hauck", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1944ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb4b9773533543a600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a600000')} 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('530cb4b9773533543a600000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms 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.1854ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a610000'), "name"=>"Zoie Spinka", "reference"=>"Dr. Sidney Lockman", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb4b9773533543a610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a610000')} 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 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a620000'), "name"=>"Ms. Camila Torphy", "reference"=>"Cordia Murphy", "quantity"=>"1"}] 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.7626ms Completed 200 OK in 21ms (Views: 20.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a630000'), "name"=>"Myra Miller", "reference"=>"Beth Rohan Jr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms 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.7290ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a640000'), "name"=>"Wilhelmine Emmerich", "reference"=>"Miss Bart Breitenberg", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb4b9773533543a640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms 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('530cb4b9773533543a650000'), "name"=>"Miss Lisandro Zboncak", "reference"=>"Dixie Maggio", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb4b9773533543a670000'), "name"=>"Ms. Jerry Luettgen", "reference"=>"Miss Alycia Heaney", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb4b9773533543a670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a680000'), "name"=>"Baylee Jacobson", "reference"=>"Itzel Becker", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1739ms 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('530cb4b9773533543a690000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a6a0000'), "name"=>"Eulah Mueller", "reference"=>"Maiya Weissnat", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb4b9773533543a6a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.4645ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a6a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms Completed 200 OK in 28ms (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('530cb4b9773533543a6b0000'), "name"=>"Malcolm Durgan", "reference"=>"Ms. Reymundo Turner", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms 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('530cb4b9773533543a6d0000'), "name"=>"Anissa Stoltenberg III", "reference"=>"Antwon Raynor", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb4b9773533543a6d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a6d0000')} 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('530cb4b9773533543a6d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms 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('530cb4b9773533543a6e0000'), "name"=>"Maeve Jacobi", "reference"=>"Miss Bianka Langosh", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb4b9773533543a6e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a6e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms Redirected to http://test.host/products/530cb4b9773533543a6e0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a710000'), "name"=>"Fannie Kautzer", "reference"=>"Toy Wyman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a6f0000'), "author_name"=>"Austin Schuppe", "content"=>["Ea sit enim iusto. Ea quis ut natus blanditiis eum. Fugit optio expedita deserunt."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a700000'), "author_name"=>"Ernestina Schmitt", "content"=>["Eos dignissimos numquam. Laborum provident autem ipsum et est. Assumenda ab eaque fuga vel omnis non quis. Eligendi placeat voluptatem ipsa cupiditate."]}]}]}] 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('530cb4b9773533543a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb4b9773533543a710000", "comment_id"=>"530cb4b9773533543a6f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a740000'), "name"=>"Annie Veum", "reference"=>"Arlene Runte", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a720000'), "author_name"=>"Ronaldo Schulist", "content"=>["Tempora ut totam eos cumque. Deserunt possimus quaerat exercitationem et ea consequatur. Voluptatem voluptates adipisci voluptas hic. At dolorem odio dolor officiis non possimus asperiores. Suscipit similique rerum accusamus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a730000'), "author_name"=>"Deontae Hirthe PhD", "content"=>["Quaerat omnis dicta ut nesciunt. Esse molestiae aliquam quis ratione. Numquam dignissimos consequatur et deleniti sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb4b9773533543a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb4b9773533543a740000", "comment_id"=>"530cb4b9773533543a720000", "id"=>"530cb4b9773533543a730000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a770000'), "name"=>"Dylan Grant", "reference"=>"Arnulfo Fahey", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a750000'), "author_name"=>"Trinity Wiegand PhD", "content"=>["Eaque cumque deserunt quia dolore omnis quo. Dicta vel commodi velit. Tempore velit adipisci nam quia mollitia cum. Sit velit voluptas ea nam. Sapiente explicabo quis eum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a760000'), "author_name"=>"Rashad Becker", "content"=>["Sint quis provident quos aut itaque. Aut autem rerum suscipit sequi. Harum nihil qui dicta maxime."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb4b9773533543a770000", "comment_id"=>"530cb4b9773533543a750000", "id"=>"530cb4b9773533543a760000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a7a0000'), "name"=>"Jamil Conroy Sr.", "reference"=>"Carter Goldner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a780000'), "author_name"=>"Kieran Renner", "content"=>["Eos nesciunt quisquam delectus assumenda libero. Culpa eius blanditiis ut veritatis nostrum et. Dignissimos est facilis sit et. Vel est temporibus. Dolore vel et sit voluptas possimus dicta pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a790000'), "author_name"=>"Clyde Mayer", "content"=>["Neque ducimus rem corporis dolores facere sed et. Ea non tempora vel repellat dolorum assumenda vero. Cumque earum distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb4b9773533543a7a0000", "comment_id"=>"530cb4b9773533543a780000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a7d0000'), "name"=>"Flossie Kozey", "reference"=>"Hipolito Gerlach", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a7b0000'), "author_name"=>"Arvel Marquardt", "content"=>["Voluptatum quae ut aut excepturi odio. Nisi qui temporibus reprehenderit deserunt eum. Animi et nesciunt aut. Quia dolores quidem quod magni fugit molestiae temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a7c0000'), "author_name"=>"Sidney Barton", "content"=>["Ut reprehenderit repellendus. Dolores temporibus ad amet ut et. Autem voluptate sapiente fugiat. Rem quia rerum quam iste harum. Labore vel earum aliquam et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4108ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb4b9773533543a7d0000", "comment_id"=>"530cb4b9773533543a7b0000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a800000'), "name"=>"Jamarcus Dicki PhD", "reference"=>"Delta Hauck", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a7e0000'), "author_name"=>"Mrs. Darrick Heathcote", "content"=>["Similique eveniet explicabo aliquam non quis. Modi minima commodi. Distinctio rem temporibus mollitia possimus et nihil laudantium. Similique placeat nihil voluptatem debitis accusantium et odio. Modi aut laborum unde inventore mollitia error a."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a7f0000'), "author_name"=>"Lora DuBuque", "content"=>["Est minima est quis eum numquam atque. Id rerum velit. In error itaque sapiente culpa ea ut. In earum et voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb4b9773533543a800000", "comment_id"=>"530cb4b9773533543a7e0000", "id"=>"530cb4b9773533543a7f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a830000'), "name"=>"Destini Ebert DVM", "reference"=>"Darian Feeney", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a810000'), "author_name"=>"Dr. Myles Stehr", "content"=>["Iure dolor quaerat et in explicabo aut. Iste omnis culpa nobis reprehenderit nihil cumque qui. Dolorem voluptate id sunt mollitia qui. Omnis aut fugit inventore voluptatem similique minus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a820000'), "author_name"=>"Mr. Maryse Kessler", "content"=>["Harum reprehenderit magnam ab qui. Voluptatem eligendi ipsa. Earum blanditiis assumenda quam aut repellat. Assumenda fugiat nisi sint nesciunt. Hic possimus voluptatem repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb4b9773533543a830000", "comment_id"=>"530cb4b9773533543a810000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a860000'), "name"=>"Bert Robel II", "reference"=>"Ricky Quigley III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a840000'), "author_name"=>"Libby Balistreri", "content"=>["Neque facilis quidem culpa iusto doloribus optio. Voluptatibus aut labore deleniti. Assumenda eveniet qui molestias. Minima et quos. Aliquid quibusdam vel sunt provident."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a850000'), "author_name"=>"Naomie Crona", "content"=>["Neque architecto tenetur accusamus et quia ad. Magni delectus excepturi consectetur aut et. Exercitationem voluptas enim blanditiis voluptatum. Qui fugiat adipisci ducimus voluptates reprehenderit deserunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb4b9773533543a860000", "comment_id"=>"530cb4b9773533543a840000", "id"=>"530cb4b9773533543a850000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb4b9773533543a890000'), "name"=>"Kaycee Reichel I", "reference"=>"Bailey Bednar", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a870000'), "author_name"=>"Evert Zemlak", "content"=>["Magni qui ex voluptas repudiandae. Et consequatur dicta numquam ut voluptatem. Neque amet incidunt sunt veniam sequi. Eos sed et earum odit cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('530cb4b9773533543a880000'), "author_name"=>"Mr. Percival Reilly", "content"=>["Omnis repellendus sit cum minus. Et impedit eligendi repellat eius ab. Quasi sed dolorem vel incidunt. Harum magnam odio ad ea. Dolorem exercitationem facere aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb4b9773533543a880000", "product_id"=>"530cb4b9773533543a890000", "comment_id"=>"530cb4b9773533543a870000"} 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('530cb4b9773533543a8a0000'), "firstname"=>"Jacinto", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1577ms 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('530cb4ba773533543a8b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms Redirected to http://test.host/users/530cb4ba773533543a8b0000 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('530cb4ba773533543a8c0000'), "firstname"=>"Kailey", "lastname"=>"Harber"}] 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=>"admin_users", :query=>{}} runtime: 0.1535ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb4ba773533543a8c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ba773533543a8c0000')} 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('530cb4ba773533543a8c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms 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.1629ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ba773533543a8d0000'), "firstname"=>"Randy", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb4ba773533543a8d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ba773533543a8d0000')} 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.4ms) 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('530cb4ba773533543a8e0000'), "firstname"=>"Otilia", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms 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.3111ms Completed 200 OK in 9ms (Views: 8.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ba773533543a8f0000'), "firstname"=>"Mohammed", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms 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: 4.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb4ba773533543a900000'), "firstname"=>"Kayley", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb4ba773533543a900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ba773533543a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms 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('530cb4ba773533543a910000'), "firstname"=>"Agustina", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb4ba773533543a910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb4ba773533543a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Unpermitted parameters: name Redirected to http://test.host/users/530cb4ba773533543a910000 Completed 302 Found in 2ms 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.3581ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5122ms 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.3324ms 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.3036ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5277735335476000000'), "firstname"=>"Camila", "lastname"=>"Schmitt"}] 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=>"administrators", :query=>{}} runtime: 0.2308ms 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('530cb5277735335476010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms 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.2453ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5277735335476020000'), "firstname"=>"Karley", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb5277735335476020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5277735335476020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5277735335476030000'), "firstname"=>"Benton", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9909ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5277735335476040000'), "firstname"=>"Obie", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb5277735335476040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5277735335476040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5277735335476050000'), "firstname"=>"Roma", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb5277735335476050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5277735335476050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476060000'), "name"=>"Dion Lehner", "reference"=>"Rosendo Welch II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb5277735335476070000'), "author_name"=>"Elliott Nienow", "content"=>["Veritatis nostrum ut et voluptas voluptatibus. Dignissimos libero amet officiis necessitatibus ut. Ducimus consequatur occaecati odio et ut ullam. Delectus unde illo quia et officia. Nihil earum pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5277735335476060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5277735335476060000", "id"=>"530cb5277735335476070000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476080000'), "name"=>"Mrs. Lenora Kohler", "reference"=>"Lilly Bogan IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb5277735335476090000'), "author_name"=>"Arnold Runolfsdottir", "content"=>["Doloremque tenetur voluptatem ea vel. Cupiditate voluptas qui repellat numquam quis vel. Eum sit est. Delectus doloremque commodi. Libero est illo rerum eligendi ratione ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb5277735335476080000", "id"=>"530cb5277735335476090000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52777353354760a0000'), "name"=>"Clara Gerhold", "reference"=>"Courtney Schiller", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb52777353354760b0000'), "author_name"=>"Darwin Brekke", "content"=>["Id et ut officiis in adipisci possimus. Placeat itaque eligendi minima inventore. Et nobis molestias necessitatibus quia. Mollitia velit earum omnis odit saepe autem expedita. Omnis dignissimos facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb52777353354760a0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52777353354760c0000'), "name"=>"Estell Roberts", "reference"=>"Brennan Reinger", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb52777353354760d0000'), "author_name"=>"Dimitri Abernathy I", "content"=>["Ratione nostrum sunt et dolor amet alias. Saepe dolore amet ullam quia doloremque est facere. Fugit omnis quia totam. Ex suscipit dolorem eum. Repellendus laboriosam rerum rerum perferendis nam officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb52777353354760c0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52777353354760e0000'), "name"=>"Presley Mertz III", "reference"=>"Myrtie Ankunding", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb52777353354760f0000'), "author_name"=>"Mark Langosh", "content"=>["Aliquam nulla perspiciatis. Ut facere explicabo temporibus praesentium. Voluptatem eius maxime quia. Itaque mollitia laborum consequuntur culpa voluptatem eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6123ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb52777353354760e0000", "id"=>"530cb52777353354760f0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476100000'), "name"=>"Violette Streich", "reference"=>"Dasia Haley", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb5277735335476110000'), "author_name"=>"Mrs. Weston Considine", "content"=>["Sint nihil quia ducimus. In repudiandae eos similique voluptatem. Mollitia occaecati dicta officia laudantium laboriosam. Rerum enim repudiandae quo ullam neque est eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5277735335476110000", "product_id"=>"530cb5277735335476100000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476120000'), "name"=>"Cheyenne Hilpert Sr.", "reference"=>"Keanu Moen", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb5277735335476130000'), "firstname"=>"Juvenal", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb5277735335476130000", "product_id"=>"530cb5277735335476120000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476140000'), "name"=>"Carmine Schuster", "reference"=>"Zechariah Collins", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb5277735335476150000'), "firstname"=>"Jewel", "lastname"=>"Sawayn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb5277735335476140000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476160000'), "name"=>"Holden Dooley", "reference"=>"Ms. Norene Abshire", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb5277735335476170000'), "firstname"=>"Kaylie", "lastname"=>"Haag"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb5277735335476170000", "product_id"=>"530cb5277735335476160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5277735335476180000'), "name"=>"Breana Kerluke Sr.", "reference"=>"Jorge Gusikowski", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb5277735335476190000'), "firstname"=>"Larissa", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb5277735335476190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb5277735335476180000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52777353354761a0000'), "name"=>"Mr. Eda Medhurst", "reference"=>"Turner Boehm", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1653ms 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('530cb52877353354761b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Redirected to http://test.host/admin/products/530cb52877353354761b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1799ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354761c0000'), "name"=>"Adolf Jenkins", "reference"=>"Miss Roscoe Parisian", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1604ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb52877353354761c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354761c0000')} 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('530cb52877353354761c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms 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.1702ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354761d0000'), "name"=>"Jadyn Lind IV", "reference"=>"Mrs. Kayden Stiedemann", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb52877353354761d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354761d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354761e0000'), "name"=>"Sterling Maggio PhD", "reference"=>"Kody Eichmann", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms 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.4846ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354761f0000'), "name"=>"Ned Leuschke", "reference"=>"Halie Wolf", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 19ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476220000'), "name"=>"Trever Lemke", "reference"=>"Clare Gutkowski PhD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb5287735335476220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms 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('530cb5287735335476230000'), "name"=>"Ms. Dario Thompson", "reference"=>"Idella Sawayn", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb5287735335476230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476230000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Redirected to http://test.host/admin/products/530cb5287735335476230000 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('530cb5287735335476240000'), "firstname"=>"Larue", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1598ms 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('530cb5287735335476250000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms Redirected to http://test.host/admin/users/530cb5287735335476250000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1785ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5287735335476260000'), "firstname"=>"Roger", "lastname"=>"Lynch"}] 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=>"admin_users", :query=>{}} runtime: 0.1524ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb5287735335476260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5287735335476260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5287735335476260000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms 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.1671ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5287735335476270000'), "firstname"=>"Finn", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb5287735335476270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5287735335476270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms 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('530cb5287735335476280000'), "firstname"=>"Tamia", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms 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.2917ms 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('530cb5287735335476290000'), "firstname"=>"Josiah", "lastname"=>"Lueilwitz"}] 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.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('530cb52877353354762a0000'), "firstname"=>"Luis", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb52877353354762a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb52877353354762a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms 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('530cb52877353354762b0000'), "firstname"=>"Shanelle", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb52877353354762b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb52877353354762b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb52877353354762b0000 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('530cb52877353354762c0000'), "firstname"=>"Ada", "lastname"=>"Hartmann"}] 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=>"administrators", :query=>{}} runtime: 0.1637ms 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('530cb52877353354762d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms 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.1780ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb52877353354762e0000'), "firstname"=>"Jairo", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb52877353354762e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb52877353354762e0000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb52877353354762f0000'), "firstname"=>"Emmitt", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5287735335476300000'), "firstname"=>"Devonte", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb5287735335476300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5287735335476300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5287735335476310000'), "firstname"=>"Broderick", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb5287735335476310000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5287735335476310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms 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('530cb5287735335476320000'), "name"=>"Vicenta Prosacco DDS", "reference"=>"Cristopher Quigley", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476330000'), "author_name"=>"Skyla Considine", "content"=>["Est eaque amet consequuntur ea. Non vero consequatur facere asperiores. Veritatis quia facilis et officiis asperiores aut deserunt. Est maiores dolores laboriosam aut illo in. Culpa doloribus neque modi rerum ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476320000')} 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"=>"530cb5287735335476320000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476340000'), "name"=>"Dr. Alek Robel", "reference"=>"Abbie Bradtke", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476350000'), "author_name"=>"Rhea McClure", "content"=>["Et omnis praesentium et. Repellat eligendi voluptatum accusantium. Veritatis delectus nesciunt labore voluptatem et quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5287735335476340000", "id"=>"530cb5287735335476350000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476360000'), "name"=>"Hershel Maggio", "reference"=>"Maegan Senger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476370000'), "author_name"=>"Mae Wilkinson", "content"=>["Mollitia aut eius ut eaque quas quia voluptatem. Ut sed et et molestias. Impedit aut et consequatur laboriosam expedita est. Ipsam ratione sed quos. Voluptatem quam eos sit ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb5287735335476360000", "id"=>"530cb5287735335476370000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476380000'), "name"=>"Thad Grant", "reference"=>"Mrs. Naomi Simonis", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476390000'), "author_name"=>"Ismael Kilback", "content"=>["Laboriosam distinctio occaecati tempora fuga. Tenetur vitae eaque vel et accusantium. Eum necessitatibus repellendus natus vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb5287735335476380000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354763a0000'), "name"=>"Royce Considine", "reference"=>"Zachariah Goldner II", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354763b0000'), "author_name"=>"Hester Frami", "content"=>["Deserunt maxime ullam. Ea officiis non suscipit saepe quasi. Esse voluptatum molestiae sed. Dolor culpa dicta odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb52877353354763a0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354763c0000'), "name"=>"Annetta Schowalter", "reference"=>"Madalyn Kuhlman", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354763d0000'), "author_name"=>"Fredy Emard", "content"=>["At maiores veniam. Sint earum odio ut ea ipsam. Sit ea possimus illum dicta error. Voluptatem et sit est autem atque rerum. Ut animi consequuntur est doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5558ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb52877353354763c0000", "id"=>"530cb52877353354763d0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354763e0000'), "name"=>"Era Herzog I", "reference"=>"Rhianna Mueller IV", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354763f0000'), "author_name"=>"Alize Beer", "content"=>["Minima consequatur veniam qui quo. Nulla at commodi voluptas. Aut repudiandae eveniet qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb52877353354763e0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476400000'), "name"=>"Mrs. Alexis Heathcote", "reference"=>"Fabiola Olson IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476410000'), "author_name"=>"Roma Thiel", "content"=>["Adipisci assumenda repellendus at. Consequatur ea perferendis voluptatem veniam. Tempora aut itaque sit magni et saepe consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb5287735335476400000", "id"=>"530cb5287735335476410000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476420000'), "name"=>"Dejah Denesik II", "reference"=>"Libbie Moen", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476430000'), "author_name"=>"Mrs. Ahmed Pagac", "content"=>["Officia enim sint asperiores non illum aut. Quod ut quidem ut placeat fugit. Corporis voluptas necessitatibus quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5287735335476430000", "product_id"=>"530cb5287735335476420000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5287735335476440000'), "firstname"=>"Maryam", "lastname"=>"Ferry"}] 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=>"clients", :query=>{}} runtime: 0.1622ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5287735335476450000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/admin/clients/530cb5287735335476450000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1725ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5287735335476460000'), "firstname"=>"Alejandra", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1508ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb5287735335476460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476460000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms 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.8962ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5287735335476470000'), "firstname"=>"Lavada", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb5287735335476470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 11ms (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('530cb5287735335476480000'), "firstname"=>"Korey", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms 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('530cb5287735335476490000'), "firstname"=>"Chaz", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms 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('530cb52877353354764a0000'), "firstname"=>"Dwight", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb52877353354764a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530cb52877353354764b0000'), "firstname"=>"Audreanne", "lastname"=>"Padberg"}] 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"=>"530cb52877353354764b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms Redirected to http://test.host/admin/clients/530cb52877353354764b0000 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('530cb52877353354764c0000'), "firstname"=>"Teresa", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1623ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb52877353354764d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms Redirected to http://test.host/clients/530cb52877353354764d0000 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('530cb52877353354764e0000'), "firstname"=>"Hudson", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1579ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb52877353354764e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms 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.1618ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb52877353354764f0000'), "firstname"=>"Erling", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb52877353354764f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb52877353354764f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530cb5287735335476500000'), "firstname"=>"Nathaniel", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms 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('530cb5287735335476510000'), "firstname"=>"Emiliano", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms 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('530cb5287735335476520000'), "firstname"=>"Dallas", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb5287735335476520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5287735335476530000'), "firstname"=>"Taurean", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb5287735335476530000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5287735335476530000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms Redirected to http://test.host/clients/530cb5287735335476530000 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('530cb5287735335476540000'), "name"=>"Mikayla Bergstrom", "reference"=>"Jarred Bode I", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb5287735335476550000'), "firstname"=>"Marilou", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb5287735335476540000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476560000'), "name"=>"Lorna Connelly", "reference"=>"Celia Grimes DVM", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb5287735335476570000'), "firstname"=>"Louisa", "lastname"=>"Kuhn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb5287735335476570000", "product_id"=>"530cb5287735335476560000"} Completed 500 Internal Server Error in 0ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476580000'), "name"=>"Renee Mitchell", "reference"=>"Leatha Nikolaus", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb5287735335476590000'), "firstname"=>"Isaac", "lastname"=>"Hettinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb5287735335476580000"} Completed 500 Internal Server Error in 33ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354765a0000'), "name"=>"Sadye Wolf", "reference"=>"Kelvin Mayer", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb52877353354765b0000'), "firstname"=>"Lacy", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb52877353354765b0000", "product_id"=>"530cb52877353354765a0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354765c0000'), "name"=>"Brianne Stokes", "reference"=>"Janessa Greenfelder I", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb52877353354765d0000'), "firstname"=>"Jerrold", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb52877353354765d0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb52877353354765c0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354765e0000'), "name"=>"Zoe Kerluke", "reference"=>"Alyson Johns", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1631ms 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('530cb52877353354765f0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Redirected to http://test.host/products/530cb52877353354765f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476600000'), "name"=>"Lora Moen", "reference"=>"Alberto Zemlak", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1583ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb5287735335476600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476600000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms 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.1705ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476610000'), "name"=>"Muhammad Dicki", "reference"=>"Sincere Effertz", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb5287735335476610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476620000'), "name"=>"Oral Ferry", "reference"=>"Matt White", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms 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.8080ms Completed 200 OK in 21ms (Views: 20.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476630000'), "name"=>"Darron Larson", "reference"=>"Susana Weber", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms 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.7029ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476640000'), "name"=>"Miss Marlon Kub", "reference"=>"Jeffery Durgan V", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb5287735335476640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms 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('530cb5287735335476650000'), "name"=>"Gertrude Herman", "reference"=>"Mr. Jerome Bergnaum", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476670000'), "name"=>"Douglas Watsica", "reference"=>"Giuseppe McLaughlin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb5287735335476670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476680000'), "name"=>"Lloyd Padberg", "reference"=>"Cristian Corkery", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1575ms 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('530cb5287735335476690000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1630ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354766a0000'), "name"=>"Jaunita Kunde", "reference"=>"Maryse Pacocha PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb52877353354766a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354766a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354766a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms 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('530cb52877353354766b0000'), "name"=>"Lew Hilll", "reference"=>"Americo Huels", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms 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('530cb52877353354766d0000'), "name"=>"Fritz Prohaska", "reference"=>"Tavares Kuhic", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb52877353354766d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354766d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354766d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms 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('530cb52877353354766e0000'), "name"=>"Porter Davis", "reference"=>"Amelia Lehner", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb52877353354766e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb52877353354766e0000')} 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('530cb52877353354766e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Redirected to http://test.host/products/530cb52877353354766e0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476710000'), "name"=>"Lauretta Sanford Sr.", "reference"=>"Durward Simonis III", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354766f0000'), "author_name"=>"Nelda Quigley", "content"=>["Est fugit et dolor nihil ut laudantium autem. Veritatis dolorem totam. Quam id nihil fugit qui. Cum sed ex corporis accusamus accusantium doloribus molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476700000'), "author_name"=>"Bettie Padberg", "content"=>["Excepturi vitae error et. Praesentium porro impedit et omnis est. Non laboriosam sit dolorum qui dolore. Ab consequatur quaerat molestiae nulla dolorum. Culpa nihil porro eos molestias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5287735335476710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 32.4452ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb5287735335476710000", "comment_id"=>"530cb52877353354766f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476740000'), "name"=>"Alexandre McKenzie", "reference"=>"Regan Bogisich", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476720000'), "author_name"=>"Mohammad Grant", "content"=>["Amet sed aperiam blanditiis expedita. Impedit eos cumque quis. Recusandae dolore sapiente magni sunt. Neque asperiores sapiente facere nesciunt quis. Alias dolorem error accusantium qui rerum maxime aut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476730000'), "author_name"=>"Miss Tyrese Lowe", "content"=>["Quidem sit et ipsa. Nobis error commodi quas rerum. Dignissimos qui incidunt itaque aut dolorum. Voluptatem officiis ex enim quam est dolorum."]}]}]}] 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('530cb5287735335476740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5287735335476740000", "comment_id"=>"530cb5287735335476720000", "id"=>"530cb5287735335476730000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476770000'), "name"=>"Ana Borer V", "reference"=>"Wade Vandervort", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476750000'), "author_name"=>"Miss Maxie Corkery", "content"=>["Iste suscipit ad aspernatur nobis ea fuga. Molestiae quia rerum officiis. Ipsum aliquid tempore et exercitationem. Dolorem vel error velit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476760000'), "author_name"=>"Adolf Kertzmann V", "content"=>["Qui similique saepe tenetur molestiae. Repellendus dicta et eum ipsum praesentium natus. Perspiciatis et aut ea quod exercitationem voluptatum rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb5287735335476770000", "comment_id"=>"530cb5287735335476750000", "id"=>"530cb5287735335476760000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354767a0000'), "name"=>"Mrs. Joanie Bechtelar", "reference"=>"Cletus Davis", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476780000'), "author_name"=>"Brett Schmeler", "content"=>["Numquam est libero. Aut reprehenderit enim quia. Aut dignissimos perspiciatis unde sit. Accusamus quaerat nam est vitae aut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476790000'), "author_name"=>"Dr. Hailey Lind", "content"=>["Totam mollitia facilis. Qui quibusdam earum voluptas. Rerum fugiat sunt voluptatem. Velit eligendi est. Quasi officia inventore sit iusto aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb52877353354767a0000", "comment_id"=>"530cb5287735335476780000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb52877353354767d0000'), "name"=>"Rebeca Collier", "reference"=>"Camren Rogahn Jr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354767b0000'), "author_name"=>"Alan Mayert", "content"=>["Recusandae omnis et dolores. Perspiciatis iusto ea ullam ut placeat doloribus. Non et aut deserunt perferendis modi maiores nihil. Dolores maxime ut nisi aut. Nam non dolor est."], "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354767c0000'), "author_name"=>"Guido Littel", "content"=>["Maiores natus commodi molestias dolor repellendus officiis occaecati. Aperiam labore autem. Aliquam iste labore. Ut eius iure alias repellendus odit. Non et nihil aut numquam iusto debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb52877353354767d0000", "comment_id"=>"530cb52877353354767b0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476800000'), "name"=>"Tierra Marvin", "reference"=>"Myrna Jast", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354767e0000'), "author_name"=>"Orin Okuneva", "content"=>["Facere sed voluptate assumenda distinctio nulla numquam in. Placeat necessitatibus sit id sed. Voluptatibus mollitia culpa facilis. Illo dignissimos voluptas et non unde voluptatem et. Neque quaerat laborum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb52877353354767f0000'), "author_name"=>"Boris Schoen", "content"=>["Dolorum doloremque iusto eos molestiae harum. Voluptas rerum quia. Sed occaecati corrupti sed. Ab qui consectetur dolorum facere modi. Molestiae dolor non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb5287735335476800000", "comment_id"=>"530cb52877353354767e0000", "id"=>"530cb52877353354767f0000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476830000'), "name"=>"Dr. Leo Schuster", "reference"=>"Valentine Kuphal", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476810000'), "author_name"=>"Domenico Strosin", "content"=>["Culpa et molestiae rerum. Id nesciunt dolorum. Blanditiis labore voluptatem voluptatum facilis. Vitae voluptatum nesciunt. A nulla porro beatae sunt consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476820000'), "author_name"=>"Ericka Kuhlman", "content"=>["Facere non repellat non aut vero tempore eligendi. Placeat enim quidem rerum. Adipisci quia et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb5287735335476830000", "comment_id"=>"530cb5287735335476810000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476860000'), "name"=>"Clair Friesen", "reference"=>"Miss Hubert O'Kon", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476840000'), "author_name"=>"Luis Bergstrom MD", "content"=>["Quis quidem mollitia eum et officiis ut deserunt. Molestiae nulla quis ratione quo fuga. Eos hic dolorum dignissimos adipisci."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476850000'), "author_name"=>"Leanne Kohler", "content"=>["Est laudantium et blanditiis porro aperiam ratione. Provident possimus non odit. Alias animi reiciendis. Labore nulla cupiditate ut et ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb5287735335476860000", "comment_id"=>"530cb5287735335476840000", "id"=>"530cb5287735335476850000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5287735335476890000'), "name"=>"Ms. Regan Gulgowski", "reference"=>"Johnson Corkery PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476870000'), "author_name"=>"Lemuel Dooley", "content"=>["Eaque inventore quae quis sed in assumenda vero. Est mollitia tenetur distinctio debitis aut praesentium explicabo. Voluptate est rerum atque earum. Dolorum blanditiis magni fugiat consectetur vero odit excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5287735335476880000'), "author_name"=>"Niko Luettgen", "content"=>["Omnis optio eaque labore libero autem sunt error. Voluptas voluptate dolorem eaque. Consequatur perferendis enim magni et similique ducimus. Doloribus dolorem quae non. Occaecati voluptatem est et voluptas qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5287735335476880000", "product_id"=>"530cb5287735335476890000", "comment_id"=>"530cb5287735335476870000"} 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('530cb52877353354768a0000'), "firstname"=>"Calista", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms 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('530cb52877353354768b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms Redirected to http://test.host/users/530cb52877353354768b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1988ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb52877353354768c0000'), "firstname"=>"Chyna", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7378ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1543ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb52877353354768c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb52877353354768c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb52877353354768c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms 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.1634ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb52877353354768d0000'), "firstname"=>"Juana", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb52877353354768d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb52877353354768d0000')} 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.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('530cb52877353354768e0000'), "firstname"=>"Katherine", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms 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.3284ms Completed 200 OK in 9ms (Views: 8.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb52877353354768f0000'), "firstname"=>"Stephany", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5287735335476900000'), "firstname"=>"Carson", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb5287735335476900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5287735335476900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms 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('530cb5287735335476910000'), "firstname"=>"Lottie", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb5287735335476910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5287735335476910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms Unpermitted parameters: name Redirected to http://test.host/users/530cb5287735335476910000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7211ms MOPED: 127.0.0.1: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.4575ms 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.2574ms 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.2386ms 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('530cb54477353354a2000000'), "firstname"=>"Elvis", "lastname"=>"Graham"}] 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=>"administrators", :query=>{}} runtime: 0.1658ms 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('530cb54477353354a2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms 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.1814ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2020000'), "firstname"=>"Kyla", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb54477353354a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54477353354a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2030000'), "firstname"=>"Loma", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2040000'), "firstname"=>"Alexandra", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb54477353354a2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54477353354a2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2050000'), "firstname"=>"Heloise", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb54477353354a2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54477353354a2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2060000'), "name"=>"Alexanne Goldner IV", "reference"=>"Ed Halvorson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a2070000'), "author_name"=>"Dominique Haley Jr.", "content"=>["Quasi quas rerum ut. Laudantium velit tempora architecto repellat blanditiis dolor. Repudiandae et debitis accusamus. Adipisci est ratione laboriosam. Consequuntur doloremque assumenda et quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54477353354a2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb54477353354a2060000", "id"=>"530cb54477353354a2070000"} 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('530cb54477353354a2080000'), "name"=>"Russ Herman", "reference"=>"Miss Lucile Mertz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a2090000'), "author_name"=>"Lambert Romaguera", "content"=>["Deleniti qui ipsa magni inventore occaecati qui. Eum quas voluptatem. Nulla eos doloremque laudantium dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb54477353354a2080000", "id"=>"530cb54477353354a2090000"} 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('530cb54477353354a20a0000'), "name"=>"Dr. Savannah Schinner", "reference"=>"Bill Kirlin DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a20b0000'), "author_name"=>"Hannah Boyer", "content"=>["Nesciunt est nobis voluptatem beatae ut sed necessitatibus. Consequuntur sunt et at quos et. Autem sed consequatur excepturi. Inventore expedita dolorum officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb54477353354a20a0000"} 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('530cb54477353354a20c0000'), "name"=>"Jannie Dooley", "reference"=>"Casimir Schoen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a20d0000'), "author_name"=>"Joannie Wiza", "content"=>["Vitae autem enim quas omnis commodi et sapiente. Quidem quod blanditiis iusto optio. Minima eum quia eos. Repellendus tempore velit occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb54477353354a20c0000"} 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('530cb54477353354a20e0000'), "name"=>"Madisyn Jast", "reference"=>"Ms. Celestino Dicki", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a20f0000'), "author_name"=>"Allen Russel", "content"=>["Quisquam quam est harum cupiditate error quo. Qui omnis est praesentium dolorum porro incidunt numquam. Animi omnis fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5767ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb54477353354a20e0000", "id"=>"530cb54477353354a20f0000"} Completed 500 Internal Server Error in 30ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2100000'), "name"=>"Gilda Hagenes", "reference"=>"Dion Moen DDS", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb54477353354a2110000'), "author_name"=>"Kitty Mraz IV", "content"=>["Est sed quia beatae et eius ullam. Nostrum et inventore velit suscipit voluptatem adipisci omnis. Similique optio quos quod assumenda repellat. Officiis eius ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb54477353354a2110000", "product_id"=>"530cb54477353354a2100000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54477353354a2120000'), "name"=>"Johnathan Marks", "reference"=>"Mr. Clemmie Auer", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb54477353354a2130000'), "firstname"=>"Emelia", "lastname"=>"Ullrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9167ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb54477353354a2130000", "product_id"=>"530cb54477353354a2120000"} 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('530cb54477353354a2140000'), "name"=>"Mitchell Kirlin IV", "reference"=>"Dayana Ledner", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb54477353354a2150000'), "firstname"=>"Kenna", "lastname"=>"Howe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb54477353354a2140000"} 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('530cb54477353354a2160000'), "name"=>"Ephraim Moen Sr.", "reference"=>"Leda Koch IV", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb54477353354a2170000'), "firstname"=>"Marco", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb54477353354a2170000", "product_id"=>"530cb54477353354a2160000"} 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('530cb54477353354a2180000'), "name"=>"Enola Olson DVM", "reference"=>"Oscar Rau", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb54477353354a2190000'), "firstname"=>"Mercedes", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb54477353354a2190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb54477353354a2180000"} 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('530cb54577353354a21a0000'), "name"=>"Shane Klein", "reference"=>"Armani Streich DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1810ms 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('530cb54577353354a21b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Redirected to http://test.host/admin/products/530cb54577353354a21b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2245ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a21c0000'), "name"=>"Jason Funk", "reference"=>"Mathias Rogahn", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1614ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb54577353354a21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a21c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms 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.1715ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a21d0000'), "name"=>"Macie Ferry", "reference"=>"Mr. Annabelle Senger", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb54577353354a21d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a21d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a21e0000'), "name"=>"Mr. Marcella Upton", "reference"=>"Golden Mante", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms 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.4786ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a21f0000'), "name"=>"Hipolito Dietrich", "reference"=>"Brady Crooks", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2220000'), "name"=>"Mrs. Selena Schneider", "reference"=>"Raquel Walter", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb54577353354a2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms 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('530cb54577353354a2230000'), "name"=>"Jerad Gislason", "reference"=>"Esmeralda Kuhn", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb54577353354a2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2230000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms Redirected to http://test.host/admin/products/530cb54577353354a2230000 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('530cb54577353354a2240000'), "firstname"=>"Blanca", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1569ms 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('530cb54577353354a2250000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Redirected to http://test.host/admin/users/530cb54577353354a2250000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1689ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2260000'), "firstname"=>"Hilton", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1536ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb54577353354a2260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54577353354a2260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54577353354a2260000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms 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.1613ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2270000'), "firstname"=>"Baby", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb54577353354a2270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54577353354a2270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('530cb54577353354a2280000'), "firstname"=>"Sonya", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms 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.2917ms 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('530cb54577353354a2290000'), "firstname"=>"Dena", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms 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: 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('530cb54577353354a22a0000'), "firstname"=>"Madilyn", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb54577353354a22a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54577353354a22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms Completed 200 OK in 35ms (Views: 33.6ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54577353354a22b0000'), "firstname"=>"Graham", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb54577353354a22b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54577353354a22b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb54577353354a22b0000 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('530cb54577353354a22c0000'), "firstname"=>"Sheridan", "lastname"=>"Wisoky"}] 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=>"administrators", :query=>{}} runtime: 0.1630ms 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('530cb54577353354a22d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms 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.1772ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54577353354a22e0000'), "firstname"=>"Destany", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb54577353354a22e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54577353354a22e0000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54577353354a22f0000'), "firstname"=>"Angel", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2300000'), "firstname"=>"Florine", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb54577353354a2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54577353354a2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2310000'), "firstname"=>"Durward", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb54577353354a2310000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb54577353354a2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms 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('530cb54577353354a2320000'), "name"=>"Winona Hettinger", "reference"=>"Aidan Bernhard", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2330000'), "author_name"=>"Deion Kozey", "content"=>["Autem aut molestiae harum ducimus non. Commodi ut fugit quia. Laudantium quibusdam nobis. Facilis omnis quos soluta quia id voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb54577353354a2320000"} 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('530cb54577353354a2340000'), "name"=>"Collin Thompson", "reference"=>"Tiffany Hahn", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2350000'), "author_name"=>"Candido Ferry III", "content"=>["Minus dolorum aperiam ut esse. Autem deserunt sint ut sed quibusdam. Eveniet aliquam dolorem quis error rerum distinctio. Distinctio modi veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb54577353354a2340000", "id"=>"530cb54577353354a2350000"} 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('530cb54577353354a2360000'), "name"=>"Shakira Marvin MD", "reference"=>"Dagmar Gerhold Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2370000'), "author_name"=>"Isabella Gibson", "content"=>["Et qui quaerat ut sunt culpa totam. At quo velit vero dolor rerum. In nostrum nihil. Laudantium eum qui. Sit dolores animi praesentium non ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9437ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb54577353354a2360000", "id"=>"530cb54577353354a2370000"} 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('530cb54577353354a2380000'), "name"=>"Clifton Hahn PhD", "reference"=>"Edyth Labadie DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2390000'), "author_name"=>"Delphine Leuschke", "content"=>["Doloribus expedita ut rerum inventore enim iste. Dolores repellat ut nesciunt qui. Atque aliquam laborum non. Iste eius totam dolor ut veritatis pariatur enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb54577353354a2380000"} Completed 500 Internal Server Error in 2ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a23a0000'), "name"=>"Fiona Dach", "reference"=>"Ms. Sarina Koss", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a23b0000'), "author_name"=>"Joanne Cartwright", "content"=>["Ut perferendis fuga repudiandae modi sint in. Quos vero ea veniam assumenda. Soluta nisi iusto repudiandae. Molestiae esse saepe est omnis officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb54577353354a23a0000"} Completed 500 Internal Server Error in 4ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a23c0000'), "name"=>"Colt Pfeffer MD", "reference"=>"Daryl Beer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a23d0000'), "author_name"=>"Eulalia Treutel DDS", "content"=>["Qui quisquam illum impedit. Consequatur inventore est natus est deserunt. Repudiandae officia recusandae dolores assumenda natus illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb54577353354a23c0000", "id"=>"530cb54577353354a23d0000"} Completed 500 Internal Server Error in 4ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a23e0000'), "name"=>"Marianna Cronin", "reference"=>"Caden Haley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a23f0000'), "author_name"=>"Cletus Watsica", "content"=>["Aspernatur deserunt eius minima quod reiciendis. Mollitia sequi eligendi commodi esse. Hic aut quam et. Voluptas blanditiis ullam voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb54577353354a23e0000"} 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('530cb54577353354a2400000'), "name"=>"Eusebio Schoen", "reference"=>"Tressa Schamberger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2410000'), "author_name"=>"Niko Zboncak", "content"=>["Minus unde libero eaque quasi fuga dolor. Delectus et porro maiores culpa. Minima adipisci qui laboriosam libero praesentium tempore sint. Non ut in consequatur quo aut dolorem aut. Occaecati voluptatibus cum omnis quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5640ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb54577353354a2400000", "id"=>"530cb54577353354a2410000"} 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('530cb54577353354a2420000'), "name"=>"Maxie Weimann MD", "reference"=>"Heaven Labadie II", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2430000'), "author_name"=>"Vivian Koch", "content"=>["Modi magni veniam natus magnam voluptas sit. Sequi sit fugiat. Pariatur nulla fugit aut. Tenetur harum neque possimus necessitatibus voluptatum praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb54577353354a2430000", "product_id"=>"530cb54577353354a2420000"} 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('530cb54577353354a2440000'), "firstname"=>"Francisca", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms 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('530cb54577353354a2450000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/admin/clients/530cb54577353354a2450000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1716ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2460000'), "firstname"=>"Jettie", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1548ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb54577353354a2460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2460000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms 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.1619ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2470000'), "firstname"=>"Ruthie", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb54577353354a2470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 7.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2480000'), "firstname"=>"Bertha", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('530cb54577353354a2490000'), "firstname"=>"Granville", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0511ms 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('530cb54577353354a24a0000'), "firstname"=>"Marcelle", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb54577353354a24a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms 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('530cb54577353354a24b0000'), "firstname"=>"Daisy", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb54577353354a24b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Redirected to http://test.host/admin/clients/530cb54577353354a24b0000 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('530cb54577353354a24c0000'), "firstname"=>"Brian", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1564ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a24d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms Redirected to http://test.host/clients/530cb54577353354a24d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1702ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a24e0000'), "firstname"=>"Louvenia", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1467ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb54577353354a24e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms 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.1623ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a24f0000'), "firstname"=>"Avis", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb54577353354a24f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a24f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms 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('530cb54577353354a2500000'), "firstname"=>"Ali", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2510000'), "firstname"=>"Brannon", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms 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('530cb54577353354a2520000'), "firstname"=>"Ezequiel", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb54577353354a2520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2530000'), "firstname"=>"Neha", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb54577353354a2530000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb54577353354a2530000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms Redirected to http://test.host/clients/530cb54577353354a2530000 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('530cb54577353354a2540000'), "name"=>"Ewell Ziemann", "reference"=>"Dr. Dawn Rath", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb54577353354a2550000'), "firstname"=>"Isaias", "lastname"=>"Kutch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb54577353354a2540000"} 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('530cb54577353354a2560000'), "name"=>"Bart Graham", "reference"=>"Joana Jenkins", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb54577353354a2570000'), "firstname"=>"Domenick", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb54577353354a2570000", "product_id"=>"530cb54577353354a2560000"} 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('530cb54577353354a2580000'), "name"=>"Mikel Zulauf", "reference"=>"Isidro Jones", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb54577353354a2590000'), "firstname"=>"Jacklyn", "lastname"=>"Barrows"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb54577353354a2580000"} 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('530cb54577353354a25a0000'), "name"=>"Erich Quigley", "reference"=>"Gabriella Wilderman", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb54577353354a25b0000'), "firstname"=>"Claud", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb54577353354a25b0000", "product_id"=>"530cb54577353354a25a0000"} 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('530cb54577353354a25c0000'), "name"=>"Maya Hegmann MD", "reference"=>"Mona Rutherford", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb54577353354a25d0000'), "firstname"=>"Werner", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb54577353354a25d0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb54577353354a25c0000"} 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('530cb54577353354a25e0000'), "name"=>"Lelia Cremin", "reference"=>"Antone Conn", "quantity"=>"3"}] 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.1657ms 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('530cb54577353354a25f0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Redirected to http://test.host/products/530cb54577353354a25f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2600000'), "name"=>"Jamir Wunsch", "reference"=>"Ms. Louvenia Casper", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1634ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb54577353354a2600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2600000')} 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('530cb54577353354a2600000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms 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.1639ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2610000'), "name"=>"Marcelle Green II", "reference"=>"Stella Krajcik", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb54577353354a2610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) 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('530cb54577353354a2620000'), "name"=>"Malika Hyatt", "reference"=>"Monserrate Anderson II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8734ms 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.7507ms Completed 200 OK in 21ms (Views: 20.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2630000'), "name"=>"Demond Johnston", "reference"=>"Ebony Friesen IV", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms 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.7572ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2640000'), "name"=>"Natalia Koch", "reference"=>"Price Zemlak", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb54577353354a2640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms 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('530cb54577353354a2650000'), "name"=>"Donato Schultz", "reference"=>"Carissa Howe", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2670000'), "name"=>"Randall Paucek", "reference"=>"Sabrina Torphy DDS", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb54577353354a2670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2680000'), "name"=>"Dr. Alia Jast", "reference"=>"Kameron Champlin", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1584ms 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('530cb54577353354a2690000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms 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('530cb54577353354a26a0000'), "name"=>"Ewell Lowe", "reference"=>"Erika Kihn", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb54577353354a26a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms 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('530cb54577353354a26b0000'), "name"=>"Lonnie Stoltenberg I", "reference"=>"Miss Weston Bruen", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms 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('530cb54577353354a26d0000'), "name"=>"Asia Barrows", "reference"=>"Willy Cartwright", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb54577353354a26d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Completed 202 Accepted in 30ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a26e0000'), "name"=>"Al Ullrich", "reference"=>"Miss Bud Hettinger", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7742ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb54577353354a26e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a26e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms Redirected to http://test.host/products/530cb54577353354a26e0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2710000'), "name"=>"Jacques Dicki", "reference"=>"Clair Metz V", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a26f0000'), "author_name"=>"Javon Cassin", "content"=>["Beatae amet veniam nostrum natus. Quia sit magnam inventore et optio. Nulla odio qui ducimus et illo."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2700000'), "author_name"=>"Cecilia Lockman", "content"=>["Vero et cum et porro quasi. Id nisi vero fugiat voluptas cumque laboriosam. Quod sapiente ut et voluptas recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb54577353354a2710000", "comment_id"=>"530cb54577353354a26f0000"} Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2740000'), "name"=>"Dr. Neil Stroman", "reference"=>"Bernadette Schultz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2720000'), "author_name"=>"Ebony Shanahan", "content"=>["Enim omnis explicabo eum porro. Dolores corrupti voluptas ut. Commodi earum aliquid quibusdam eaque corrupti. Qui non ea eos labore minima rem iste. Dolor eligendi odio minus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2730000'), "author_name"=>"Valentine Gusikowski", "content"=>["Nihil doloribus asperiores fugit corporis deleniti. Delectus alias et sunt reiciendis rerum. Inventore perspiciatis quam nostrum optio sit. Qui a laboriosam officia sunt. Deleniti soluta ex optio dolorem esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb54577353354a2740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb54577353354a2740000", "comment_id"=>"530cb54577353354a2720000", "id"=>"530cb54577353354a2730000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2770000'), "name"=>"Trever Konopelski", "reference"=>"Bria Kemmer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2750000'), "author_name"=>"Jena Blick", "content"=>["Temporibus nam facere. Quam ut et non beatae earum. Aperiam error vel qui explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2760000'), "author_name"=>"Lavern Bashirian", "content"=>["Voluptatem minima numquam quam suscipit aut et. Voluptatibus et ea qui voluptatum omnis aut. Praesentium voluptas ex laboriosam aut et molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb54577353354a2770000", "comment_id"=>"530cb54577353354a2750000", "id"=>"530cb54577353354a2760000"} Completed 500 Internal Server Error in 2ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a27a0000'), "name"=>"Ewald Swift", "reference"=>"Keven Becker I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2780000'), "author_name"=>"Ines Zulauf", "content"=>["Maiores aperiam inventore qui distinctio eum sit. Illo quaerat voluptates omnis. Commodi officia vitae est earum. Sunt fugit ut earum ipsam corporis laudantium. Veritatis nihil asperiores aut perferendis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a2790000'), "author_name"=>"Dr. Marlin Green", "content"=>["Dolorum neque magnam quod nihil illum. Quibusdam nobis alias. Et aut consequuntur voluptas cupiditate excepturi eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb54577353354a27a0000", "comment_id"=>"530cb54577353354a2780000"} Completed 500 Internal Server Error in 30ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a27d0000'), "name"=>"Lue Larkin", "reference"=>"Dr. Kenna Senger", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a27b0000'), "author_name"=>"Lysanne Reilly", "content"=>["Quaerat sed sit id. Consequatur hic distinctio quibusdam. Sint tenetur dolor veniam dolorum consequuntur consectetur rerum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a27c0000'), "author_name"=>"Freeda Eichmann", "content"=>["Et cum nihil ut. Nostrum necessitatibus ipsum et inventore fugiat distinctio. Nobis ut magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb54577353354a27d0000", "comment_id"=>"530cb54577353354a27b0000"} Completed 500 Internal Server Error in 5ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54577353354a2800000'), "name"=>"Florine Treutel DVM", "reference"=>"Mara Fadel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a27e0000'), "author_name"=>"Audra Moore II", "content"=>["Et est eum quidem esse fuga. Nihil vel sunt vero. Velit ex sed nesciunt iure sapiente similique incidunt. Similique est maiores eius aut hic."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54577353354a27f0000'), "author_name"=>"Ari Davis", "content"=>["Voluptatem incidunt aut sit. Est modi provident aspernatur excepturi. Ea quasi similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb54577353354a2800000", "comment_id"=>"530cb54577353354a27e0000", "id"=>"530cb54577353354a27f0000"} Completed 500 Internal Server Error in 5ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54677353354a2830000'), "name"=>"Marianne Ritchie", "reference"=>"Melody Bergnaum", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2810000'), "author_name"=>"Dion Rohan", "content"=>["Dolorem voluptas cumque. Iusto in provident iure aut. Aut ut nesciunt eligendi repudiandae. Fugit quaerat voluptatem molestiae harum quos sequi. Atque dolorem eaque dignissimos unde ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2820000'), "author_name"=>"Noel Roob III", "content"=>["Est eius corrupti voluptas earum nemo dolor. Et consectetur consequatur qui velit maiores. Aperiam cumque est voluptates aut est et animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5489ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb54677353354a2830000", "comment_id"=>"530cb54677353354a2810000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54677353354a2860000'), "name"=>"Mrs. Maye Doyle", "reference"=>"Casey O'Hara", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2840000'), "author_name"=>"Margarita Bartoletti III", "content"=>["Pariatur atque aut. Odit id dolor saepe laboriosam dolorem. Cupiditate eius minima sequi eos voluptatem fugit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2850000'), "author_name"=>"Mathilde Hauck", "content"=>["Veritatis magnam nam ratione ut voluptas cum velit. Numquam voluptas est. Aliquid sit dolore fuga eius a."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4936ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb54677353354a2860000", "comment_id"=>"530cb54677353354a2840000", "id"=>"530cb54677353354a2850000"} Completed 500 Internal Server Error in 2ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb54677353354a2890000'), "name"=>"Trey Pollich", "reference"=>"Javon Heller", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2870000'), "author_name"=>"Santino Kohler", "content"=>["Labore aliquam facilis consequatur. Sint quia facilis perspiciatis est architecto sit. Corporis minus facilis et ipsa rem."], "comments"=>[{"_id"=>BSON::ObjectId('530cb54677353354a2880000'), "author_name"=>"Nathen Muller", "content"=>["Voluptas minima ut. Eos molestias atque veniam. Id quas possimus voluptatem et. Ut quo optio totam culpa praesentium aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb54677353354a2880000", "product_id"=>"530cb54677353354a2890000", "comment_id"=>"530cb54677353354a2870000"} Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54677353354a28a0000'), "firstname"=>"Lonzo", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1638ms 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('530cb54677353354a28b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/users/530cb54677353354a28b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54677353354a28c0000'), "firstname"=>"Jonas", "lastname"=>"Monahan"}] 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.1597ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb54677353354a28c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54677353354a28c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54677353354a28c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms 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.1657ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54677353354a28d0000'), "firstname"=>"Jettie", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb54677353354a28d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54677353354a28d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('530cb54677353354a28e0000'), "firstname"=>"Jameson", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms 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.3369ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb54677353354a28f0000'), "firstname"=>"Alana", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb54677353354a2900000'), "firstname"=>"Jameson", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb54677353354a2900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54677353354a2900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms 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('530cb54677353354a2910000'), "firstname"=>"Concepcion", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb54677353354a2910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb54677353354a2910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms Unpermitted parameters: name Redirected to http://test.host/users/530cb54677353354a2910000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms 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.3192ms 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.3192ms 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.3113ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd000000'), "firstname"=>"Ova", "lastname"=>"Swaniawski"}] 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=>"administrators", :query=>{}} runtime: 0.2267ms 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('530cb58377353354dd010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.4130ms Redirected to http://test.host/admin/administrator Completed 302 Found in 19ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1942ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd020000'), "firstname"=>"Lorena", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb58377353354dd020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd030000'), "firstname"=>"Verdie", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms 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: 4.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd040000'), "firstname"=>"Rex", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb58377353354dd040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd050000'), "firstname"=>"Duane", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb58377353354dd050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd060000'), "name"=>"Carter Crist", "reference"=>"Mallory Renner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd070000'), "author_name"=>"Friedrich Mraz", "content"=>["Sit sed et rerum praesentium animi. Aut aut doloribus suscipit consectetur. Eveniet sequi in voluptas incidunt aspernatur non. Quam qui animi eveniet non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb58377353354dd060000", "id"=>"530cb58377353354dd070000"} 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('530cb58377353354dd080000'), "name"=>"Armand Bartell", "reference"=>"Alf Crona", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd090000'), "author_name"=>"Miss June Friesen", "content"=>["Et veritatis ea eum. Amet tenetur at neque tempore quasi. Maiores fugit quasi et ut eos. Ipsa voluptatem adipisci. Quia dicta eaque in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb58377353354dd080000", "id"=>"530cb58377353354dd090000"} Completed 500 Internal Server Error in 0ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd0a0000'), "name"=>"Elouise Mann", "reference"=>"Bennie Metz", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd0b0000'), "author_name"=>"Krystal Hermann", "content"=>["Quis minima modi aspernatur at magnam. Ipsa hic vitae. Ab atque omnis vero. Non itaque eos ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb58377353354dd0a0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd0c0000'), "name"=>"Osvaldo Littel", "reference"=>"Johnson Herzog MD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd0d0000'), "author_name"=>"Reed Padberg", "content"=>["Quas ad est necessitatibus. Recusandae dolor eos natus. Et consectetur a totam quaerat ex. Necessitatibus qui quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb58377353354dd0c0000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd0e0000'), "name"=>"Margarett Morissette", "reference"=>"Kendra Kling", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd0f0000'), "author_name"=>"Miss Winfield Hoeger", "content"=>["Ipsa omnis nisi dolorem cupiditate. Quis aut voluptates maiores dolores et dicta. Cupiditate voluptatibus molestias doloribus. Est ab laudantium voluptas enim consequuntur vero. Nihil sunt adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb58377353354dd0e0000", "id"=>"530cb58377353354dd0f0000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd100000'), "name"=>"Javonte Balistreri", "reference"=>"Winifred King", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd110000'), "author_name"=>"Vincenzo Effertz", "content"=>["Qui in enim numquam architecto nisi rerum ullam. A laborum quod. Dicta sit ut cumque. Cupiditate ipsam facere impedit sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb58377353354dd110000", "product_id"=>"530cb58377353354dd100000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd120000'), "name"=>"Katelyn Klein", "reference"=>"Dr. Megane Anderson", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb58377353354dd130000'), "firstname"=>"Johnpaul", "lastname"=>"Cremin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb58377353354dd130000", "product_id"=>"530cb58377353354dd120000"} 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('530cb58377353354dd140000'), "name"=>"Evelyn Schamberger I", "reference"=>"Mariah Halvorson", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb58377353354dd150000'), "firstname"=>"Gayle", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb58377353354dd140000"} Completed 500 Internal Server Error in 0ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd160000'), "name"=>"Deja Harber IV", "reference"=>"Ernest Murray", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb58377353354dd170000'), "firstname"=>"Eveline", "lastname"=>"Wolff"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb58377353354dd170000", "product_id"=>"530cb58377353354dd160000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd180000'), "name"=>"Julie Corkery Sr.", "reference"=>"Ismael Deckow", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb58377353354dd190000'), "firstname"=>"Annamarie", "lastname"=>"Purdy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb58377353354dd190000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb58377353354dd180000"} Completed 500 Internal Server Error in 0ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd1a0000'), "name"=>"Waldo Abbott", "reference"=>"Rogers Braun II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9686ms 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('530cb58377353354dd1b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Redirected to http://test.host/admin/products/530cb58377353354dd1b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1895ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd1c0000'), "name"=>"Mya Macejkovic", "reference"=>"Dr. Queen Weber", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms 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"=>"530cb58377353354dd1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd1c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms 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.1749ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd1d0000'), "name"=>"Jensen Hills", "reference"=>"Amy Treutel", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb58377353354dd1d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd1e0000'), "name"=>"Antonetta Ledner", "reference"=>"Darius Frami", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms 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.4774ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd1f0000'), "name"=>"Dr. Thelma Abbott", "reference"=>"Hettie Anderson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd220000'), "name"=>"Jorge Mraz", "reference"=>"Nicholas Lindgren DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb58377353354dd220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms 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('530cb58377353354dd230000'), "name"=>"Alene Kunze", "reference"=>"Okey Wiegand", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb58377353354dd230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd230000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Redirected to http://test.host/admin/products/530cb58377353354dd230000 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('530cb58377353354dd240000'), "firstname"=>"Isai", "lastname"=>"Kris"}] 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.1702ms 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('530cb58377353354dd250000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Redirected to http://test.host/admin/users/530cb58377353354dd250000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1787ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd260000'), "firstname"=>"Deborah", "lastname"=>"Shields"}] 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=>"admin_users", :query=>{}} runtime: 0.1522ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb58377353354dd260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58377353354dd260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58377353354dd260000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms 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('530cb58377353354dd270000'), "firstname"=>"Logan", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb58377353354dd270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58377353354dd270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb58377353354dd280000'), "firstname"=>"Chadrick", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8087ms 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.2902ms 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('530cb58377353354dd290000'), "firstname"=>"Claire", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms 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('530cb58377353354dd2a0000'), "firstname"=>"Cheyanne", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb58377353354dd2a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58377353354dd2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms 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('530cb58377353354dd2b0000'), "firstname"=>"Amya", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb58377353354dd2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58377353354dd2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb58377353354dd2b0000 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('530cb58377353354dd2c0000'), "firstname"=>"Herminio", "lastname"=>"Rodriguez"}] 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=>"administrators", :query=>{}} runtime: 0.1640ms 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('530cb58377353354dd2d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms 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.1837ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd2e0000'), "firstname"=>"Adele", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb58377353354dd2e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd2f0000'), "firstname"=>"Reanna", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd300000'), "firstname"=>"Carmen", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb58377353354dd300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd310000'), "firstname"=>"Wyatt", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb58377353354dd310000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb58377353354dd310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms 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('530cb58377353354dd320000'), "name"=>"Andreane Weissnat", "reference"=>"Larry Boyer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd330000'), "author_name"=>"Dovie Hagenes", "content"=>["Porro quaerat labore ut maxime. Eos vero voluptatem velit. Accusamus ratione dolore et. Est sapiente ipsa occaecati dolor nemo et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb58377353354dd320000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd320000')} 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('530cb58377353354dd320000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb58377353354dd340000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Redirected to http://test.host/products/530cb58377353354dd320000/comments/530cb58377353354dd340000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd350000'), "name"=>"Meaghan O'Hara", "reference"=>"Ryann Dicki", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd360000'), "author_name"=>"Cleveland Bahringer", "content"=>["Sint maxime officiis commodi possimus qui. Occaecati quia dignissimos dolorum nisi omnis aut. Ab fuga qui reprehenderit eligendi ut ratione. Doloremque modi quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb58377353354dd350000", "id"=>"530cb58377353354dd360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd350000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb58377353354dd360000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Redirected to http://test.host/products/530cb58377353354dd350000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd370000'), "name"=>"Marcelino Moen", "reference"=>"Adela Beahan", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd380000'), "author_name"=>"Foster Connelly Jr.", "content"=>["Accusantium deserunt aspernatur aut hic. Distinctio ut placeat qui doloremque odit voluptatem enim. Et iusto tenetur. Atque suscipit sint. Repellendus nesciunt cum optio repellat quis quidem eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb58377353354dd370000", "id"=>"530cb58377353354dd380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd370000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58377353354dd390000'), "name"=>"Adella Gutmann", "reference"=>"Mrs. Saige Conroy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb58377353354dd3a0000'), "author_name"=>"Kamron Wintheiser PhD", "content"=>["Non dolor in. Doloremque et veritatis. Quod repudiandae error vel molestias aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb58377353354dd390000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58377353354dd390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd3b0000'), "name"=>"Mrs. Theodore Gorczany", "reference"=>"Kory Hauck", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd3c0000'), "author_name"=>"Esther Kutch", "content"=>["Eum molestiae et ipsum ipsam quod nemo recusandae. Qui beatae amet. Eos cupiditate aliquam officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb58477353354dd3b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd3d0000'), "name"=>"Aurelie Ziemann", "reference"=>"Augusta Turner", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd3e0000'), "author_name"=>"Trystan Quigley", "content"=>["Eius aliquam eos sed beatae eveniet. Non cumque eius pariatur libero sed consectetur sunt. Quam sunt quia. Nihil nihil eligendi nesciunt alias quibusdam illo rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb58477353354dd3d0000", "id"=>"530cb58477353354dd3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms 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('530cb58477353354dd3f0000'), "name"=>"Zack Mueller II", "reference"=>"Modesto Dooley", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd400000'), "author_name"=>"Davion Kessler PhD", "content"=>["Fugiat et tempore in. Qui quia maxime laudantium quae quia sunt praesentium. Qui qui totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb58477353354dd3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd3f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd410000'), "name"=>"Unique Schamberger", "reference"=>"Idell Langosh", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd420000'), "author_name"=>"Ernestine Lynch", "content"=>["Consequatur id quam delectus perspiciatis corporis molestiae quisquam. Consequatur veniam voluptatem qui aut laboriosam voluptas. Doloremque sed voluptatum quis illo quos dignissimos modi. Quidem sit veniam aperiam rerum et natus eos. Reprehenderit adipisci ad."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb58477353354dd410000", "id"=>"530cb58477353354dd420000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd430000'), "name"=>"Bertram Purdy", "reference"=>"Ms. Thalia Koepp", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd440000'), "author_name"=>"Trey Krajcik", "content"=>["Aperiam voluptas incidunt excepturi. Architecto aut dolores voluptate nihil cumque. Praesentium delectus tempore exercitationem consequatur ut iure quaerat. Omnis rerum rerum vel deleniti placeat quia. Molestiae autem quod sed ratione facere quis quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb58477353354dd440000", "product_id"=>"530cb58477353354dd430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd430000'), "comments._id"=>BSON::ObjectId('530cb58477353354dd440000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Redirected to http://test.host/products/530cb58477353354dd430000/comments/530cb58477353354dd440000 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('530cb58477353354dd450000'), "firstname"=>"Leonard", "lastname"=>"Waelchi"}] 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.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('530cb58477353354dd460000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Redirected to http://test.host/admin/clients/530cb58477353354dd460000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2021ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd470000'), "firstname"=>"Sean", "lastname"=>"Morar"}] 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.1791ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb58477353354dd470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd470000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms 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.1901ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd480000'), "firstname"=>"Modesta", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb58477353354dd480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb58477353354dd490000'), "firstname"=>"Jalen", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms 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('530cb58477353354dd4a0000'), "firstname"=>"Keeley", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms 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('530cb58477353354dd4b0000'), "firstname"=>"Kelsi", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb58477353354dd4b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms 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('530cb58477353354dd4c0000'), "firstname"=>"Finn", "lastname"=>"Blick"}] 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"=>"530cb58477353354dd4c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd4c0000')} 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('530cb58477353354dd4c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/admin/clients/530cb58477353354dd4c0000 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('530cb58477353354dd4d0000'), "firstname"=>"Georgette", "lastname"=>"Cummerata"}] 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.1557ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd4e0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Redirected to http://test.host/clients/530cb58477353354dd4e0000 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('530cb58477353354dd4f0000'), "firstname"=>"Megane", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms 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"=>"530cb58477353354dd4f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd4f0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4519ms 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.1725ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd500000'), "firstname"=>"William", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb58477353354dd500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms 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('530cb58477353354dd510000'), "firstname"=>"Celestino", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms 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('530cb58477353354dd520000'), "firstname"=>"Marcelino", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd530000'), "firstname"=>"Leonard", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb58477353354dd530000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd540000'), "firstname"=>"Stuart", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb58477353354dd540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb58477353354dd540000')} 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('530cb58477353354dd540000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms Redirected to http://test.host/clients/530cb58477353354dd540000 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('530cb58477353354dd550000'), "name"=>"Bud Boyer DDS", "reference"=>"Kaylah Homenick", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd560000'), "firstname"=>"Wilson", "lastname"=>"Kirlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb58477353354dd550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd550000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd550000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd570000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms Redirected to http://test.host/products/530cb58477353354dd550000/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('530cb58477353354dd580000'), "name"=>"Verona Collins I", "reference"=>"Dr. Kennith Schuppe", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd590000'), "firstname"=>"Terrence", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb58477353354dd590000", "product_id"=>"530cb58477353354dd580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd5a0000'), "name"=>"Mrs. Emmanuelle Torp", "reference"=>"Eda Corwin DVM", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd5b0000'), "firstname"=>"Esther", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb58477353354dd5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd5a0000')} 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 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd5c0000'), "name"=>"Miss Joy Grimes", "reference"=>"Garnett Lemke", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd5d0000'), "firstname"=>"Arthur", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb58477353354dd5d0000", "product_id"=>"530cb58477353354dd5c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd5e0000'), "name"=>"Joshua Stracke", "reference"=>"Murphy Rempel", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb58477353354dd5f0000'), "firstname"=>"Benton", "lastname"=>"Satterfield"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb58477353354dd5f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb58477353354dd5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms Unpermitted parameters: name Redirected to http://test.host/products/530cb58477353354dd5e0000/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('530cb58477353354dd600000'), "name"=>"Scarlett Kautzer", "reference"=>"Mr. Noah Jast", "quantity"=>"8"}] 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.1624ms 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('530cb58477353354dd610000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3204ms Redirected to http://test.host/products/530cb58477353354dd610000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd620000'), "name"=>"Sandy Krajcik", "reference"=>"Ferne Gleason", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1511ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb58477353354dd620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd620000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms 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.1655ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd630000'), "name"=>"Mazie Dicki", "reference"=>"Charley Schultz MD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb58477353354dd630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb58477353354dd640000'), "name"=>"Selmer Powlowski", "reference"=>"Laurine Brakus", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms 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.6913ms Completed 200 OK in 21ms (Views: 20.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd650000'), "name"=>"Brenda DuBuque", "reference"=>"Ana Larkin", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms 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.6790ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd660000'), "name"=>"Marcelino Bergnaum PhD", "reference"=>"Burley Will", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.7191ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb58477353354dd660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms 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('530cb58477353354dd670000'), "name"=>"Dr. Solon Ryan", "reference"=>"Alaina Klein", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 6ms (Views: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd690000'), "name"=>"Tessie Ruecker", "reference"=>"Heloise Hand MD", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb58477353354dd690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd6a0000'), "name"=>"Kristian Frami", "reference"=>"Gregory Sipes DVM", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1557ms 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('530cb58477353354dd6b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1631ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd6c0000'), "name"=>"Mr. Precious O'Reilly", "reference"=>"Mr. Gudrun Bruen", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb58477353354dd6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd6c0000')} 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('530cb58477353354dd6c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms 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('530cb58477353354dd6d0000'), "name"=>"Cordell McClure", "reference"=>"Miss Lauretta Wintheiser", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms 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('530cb58477353354dd6f0000'), "name"=>"Kattie Wunsch", "reference"=>"Caleigh Bartoletti", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb58477353354dd6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd6f0000')} 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('530cb58477353354dd6f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms 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('530cb58477353354dd700000'), "name"=>"Ms. Tiffany Weissnat", "reference"=>"Reece DuBuque", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 35.0826ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb58477353354dd700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd700000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Redirected to http://test.host/products/530cb58477353354dd700000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd730000'), "name"=>"Ms. Annamarie Kohler", "reference"=>"Alan Dooley MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd710000'), "author_name"=>"Mercedes Gottlieb", "content"=>["Qui id dolor velit et. Minus voluptatem nostrum assumenda quia non sequi. Porro quia amet et omnis iure enim in."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd720000'), "author_name"=>"Rollin Gottlieb V", "content"=>["Dolore mollitia sint incidunt distinctio inventore earum. Dolores consequatur reiciendis. Numquam explicabo ut ad hic ea et illo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb58477353354dd730000", "comment_id"=>"530cb58477353354dd710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd760000'), "name"=>"Freida Howell Jr.", "reference"=>"Myrtie Pollich", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd740000'), "author_name"=>"Dr. Thurman Glover", "content"=>["Earum exercitationem corporis nemo non aut. Reprehenderit dolorum sunt. In quisquam a laborum nihil ut. Velit est natus laudantium eum ut. Nisi eius id cum sapiente vero."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd750000'), "author_name"=>"Bernadine Dooley", "content"=>["Sunt nam ipsam voluptatibus dolor quo. Accusantium et odio quos deserunt rem. Est dolores veniam ab ipsa. Iusto laboriosam ut ipsum vel sed quis tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb58477353354dd760000", "comment_id"=>"530cb58477353354dd740000", "id"=>"530cb58477353354dd750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd790000'), "name"=>"Maud Parisian", "reference"=>"Opal Skiles", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd770000'), "author_name"=>"Roma Kilback", "content"=>["Quo hic est et est qui. Aut voluptatum porro. Optio enim et sed eum mollitia inventore."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd780000'), "author_name"=>"Markus Koch", "content"=>["Quis ipsa inventore. Repellendus repellat quam placeat fugiat molestias delectus error. Reprehenderit dolor distinctio. Voluptatem ratione commodi inventore et. Minima voluptas aut placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb58477353354dd790000", "comment_id"=>"530cb58477353354dd770000", "id"=>"530cb58477353354dd780000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Completed 500 Internal Server Error in 1ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd7c0000'), "name"=>"Jayce Conroy", "reference"=>"Dr. Savanna Price", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd7a0000'), "author_name"=>"Casimir Kling", "content"=>["Aliquam doloribus officiis. Ex deleniti est veritatis. Laborum odio quisquam sed. Voluptas et commodi. Consectetur quia ullam error alias voluptates eius provident."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd7b0000'), "author_name"=>"Mrs. Percival Farrell", "content"=>["Autem et et. Molestiae dolor itaque quo qui praesentium assumenda. Quia vel aut magni qui nisi nobis. Mollitia odit nihil consequuntur voluptatibus facere enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb58477353354dd7c0000", "comment_id"=>"530cb58477353354dd7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Completed 500 Internal Server Error in 1ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd7f0000'), "name"=>"Carole Stroman", "reference"=>"Della Leuschke", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd7d0000'), "author_name"=>"Mr. Delores Yundt", "content"=>["Ut fuga autem voluptatum. Dolore non debitis aut cumque est qui. Fuga nostrum id dignissimos officia rerum voluptatem. Repudiandae dolor quia ipsum reprehenderit fuga."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd7e0000'), "author_name"=>"Brody Bartell", "content"=>["Impedit et qui ut odit aut illum et. Eaque consequatur deserunt eius esse unde assumenda. Provident iusto dolorem. Eos est officiis impedit nisi assumenda non quidem. Vero sit sunt ex laboriosam dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb58477353354dd7f0000", "comment_id"=>"530cb58477353354dd7d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd820000'), "name"=>"Izaiah Lesch", "reference"=>"Jennifer Hayes", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd800000'), "author_name"=>"Addison Douglas", "content"=>["Quia non similique et consequatur libero atque dignissimos. Voluptates rerum sapiente numquam ad quae. Possimus est repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd810000'), "author_name"=>"Hildegard Altenwerth", "content"=>["Sed quas velit accusantium. Voluptate nemo quibusdam neque. Aut sequi nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb58477353354dd820000", "comment_id"=>"530cb58477353354dd800000", "id"=>"530cb58477353354dd810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd850000'), "name"=>"Colby Shields", "reference"=>"Jayda Murazik", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd830000'), "author_name"=>"Tania Skiles", "content"=>["Vitae iusto aut ut vel. Nihil corrupti aliquid ut et fuga. Tempore eveniet aspernatur laboriosam reprehenderit placeat. Qui sapiente fuga non consequatur eum eligendi."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd840000'), "author_name"=>"Keon Huel II", "content"=>["Ducimus quia provident illo ad amet. Excepturi et et eum perspiciatis nam rem facilis. Veritatis laboriosam inventore error. Blanditiis dignissimos est voluptatem sit hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb58477353354dd850000", "comment_id"=>"530cb58477353354dd830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd880000'), "name"=>"Ms. Jarrett Deckow", "reference"=>"Mrs. Antwan Connelly", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd860000'), "author_name"=>"Yoshiko Waters Jr.", "content"=>["Autem vel et veritatis laborum repellendus. Inventore aliquam consequatur totam. Suscipit aperiam hic. Cupiditate harum deleniti facilis qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd870000'), "author_name"=>"Leonie Keeling", "content"=>["Labore quia voluptatem animi similique est nam. Soluta id expedita voluptas qui. Deserunt dolores ab et. Consequuntur distinctio dolorum fugiat consectetur corrupti. Nesciunt maxime soluta quis asperiores culpa fugit dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb58477353354dd880000", "comment_id"=>"530cb58477353354dd860000", "id"=>"530cb58477353354dd870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms Completed 500 Internal Server Error in 1ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd8b0000'), "name"=>"Rylan Windler PhD", "reference"=>"Rahul O'Reilly MD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd890000'), "author_name"=>"Cloyd Moen PhD", "content"=>["Explicabo aut non corrupti alias corporis excepturi hic. Soluta ea nostrum sit accusamus numquam. Sint consequatur natus voluptatem sed non cumque. Dolores ipsa at ut quae deleniti error tenetur. Facere totam aspernatur sunt ut soluta."], "comments"=>[{"_id"=>BSON::ObjectId('530cb58477353354dd8a0000'), "author_name"=>"Lily Crooks", "content"=>["Qui velit aliquid temporibus amet sit sed. Illo quibusdam consequuntur dolor quidem est natus. Voluptate soluta ut. Animi dolor praesentium doloremque quibusdam tempora eligendi. Et possimus eum esse veritatis distinctio nihil vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb58477353354dd8a0000", "product_id"=>"530cb58477353354dd8b0000", "comment_id"=>"530cb58477353354dd890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb58477353354dd8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd8c0000'), "firstname"=>"Murl", "lastname"=>"Schoen"}] 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.1575ms 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('530cb58477353354dd8d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Redirected to http://test.host/users/530cb58477353354dd8d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1692ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd8e0000'), "firstname"=>"Isaiah", "lastname"=>"Schinner"}] 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=>"admin_users", :query=>{}} runtime: 0.1527ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb58477353354dd8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58477353354dd8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58477353354dd8e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9870ms 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.1586ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd8f0000'), "firstname"=>"Trevor", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb58477353354dd8f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58477353354dd8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('530cb58477353354dd900000'), "firstname"=>"Dan", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms 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.3234ms Completed 200 OK in 35ms (Views: 34.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd910000'), "firstname"=>"Lilian", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd920000'), "firstname"=>"Giles", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb58477353354dd920000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58477353354dd920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb58477353354dd930000'), "firstname"=>"Kali", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb58477353354dd930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb58477353354dd930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms Unpermitted parameters: name Redirected to http://test.host/users/530cb58477353354dd930000 Completed 302 Found in 2ms 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.3513ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.9980ms 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.3169ms 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.3364ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573000000'), "firstname"=>"Sierra", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2292ms 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('530cb5f97735335573010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms 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.2382ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573020000'), "firstname"=>"Jamar", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb5f97735335573020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5f97735335573020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573030000'), "firstname"=>"Jazmin", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573040000'), "firstname"=>"Penelope", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb5f97735335573040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5f97735335573040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573050000'), "firstname"=>"Clara", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb5f97735335573050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5f97735335573050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms 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('530cb5f97735335573060000'), "name"=>"Baron Abernathy", "reference"=>"Chanelle Hettinger", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f97735335573070000'), "author_name"=>"Tristin Stoltenberg MD", "content"=>["Asperiores recusandae labore et et odit quaerat consequatur. Sit qui ullam itaque aut nemo. Repudiandae expedita facere enim rem. Vero aut fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb5f97735335573060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573060000')} 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('530cb5f97735335573060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb5f97735335573080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Redirected to http://test.host/admin/products/530cb5f97735335573060000/comments/530cb5f97735335573080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573090000'), "name"=>"Adrien Runolfsson", "reference"=>"Kathleen Hoeger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f977353355730a0000'), "author_name"=>"Miss Collin Miller", "content"=>["Aut rerum ullam ipsam at dolorem. Ea expedita sequi asperiores. Laborum necessitatibus et repudiandae aut rem impedit suscipit. Quia consequatur amet tenetur animi sit velit expedita. Id nihil aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5f97735335573090000", "id"=>"530cb5f977353355730a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb5f977353355730a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms Redirected to http://test.host/admin/products/530cb5f97735335573090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f977353355730b0000'), "name"=>"Carley Adams", "reference"=>"Kaleigh Dare", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f977353355730c0000'), "author_name"=>"Shany Hilpert", "content"=>["Assumenda accusantium minima nesciunt autem labore. Corrupti quaerat pariatur officia nulla iure est. Ut est ea consequuntur quaerat sint aperiam. Quisquam voluptate commodi omnis ad cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb5f977353355730b0000", "id"=>"530cb5f977353355730c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355730b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f977353355730d0000'), "name"=>"Miss Nicole Nader", "reference"=>"Dahlia Erdman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f977353355730e0000'), "author_name"=>"Kurtis Carter Sr.", "content"=>["Velit et quis. Repellat sint quibusdam corporis cupiditate natus voluptatem et. Consequatur rerum est. Alias est nobis iure omnis et similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb5f977353355730d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355730d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f977353355730f0000'), "name"=>"Lon Lakin", "reference"=>"Jaydon Parisian", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f97735335573100000'), "author_name"=>"Rodger Ullrich", "content"=>["Tempore dolorum occaecati. Aut expedita provident. Quos qui maxime ducimus atque tempora suscipit nulla. Quas at et quia. Aperiam corrupti rerum autem laborum molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb5f977353355730f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355730f0000')} 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: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573110000'), "name"=>"Eveline Ward", "reference"=>"Vivienne Robel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f97735335573120000'), "author_name"=>"Aglae Pollich", "content"=>["Velit fuga et dicta quibusdam ut aut deleniti. Doloremque dolore quae error perspiciatis. Vitae sed qui nobis praesentium. Alias saepe repellat. Quibusdam aut suscipit minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb5f97735335573110000", "id"=>"530cb5f97735335573120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573130000'), "name"=>"Sherman Lubowitz", "reference"=>"Mr. Alfonzo Nicolas", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb5f97735335573140000'), "author_name"=>"Citlalli Davis", "content"=>["Aut dolores nihil occaecati. Occaecati soluta quam qui consequatur ut mollitia. Sit accusamus eveniet necessitatibus porro explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5f97735335573140000", "product_id"=>"530cb5f97735335573130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573130000'), "comments._id"=>BSON::ObjectId('530cb5f97735335573140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Redirected to http://test.host/admin/products/530cb5f97735335573130000/comments/530cb5f97735335573140000 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('530cb5f97735335573150000'), "name"=>"Mrs. Karli Schumm", "reference"=>"Else Hoppe", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb5f97735335573160000'), "firstname"=>"Kris", "lastname"=>"Bergstrom"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb5f97735335573150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573150000')} 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('530cb5f97735335573150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb5f97735335573170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms Redirected to http://test.host/admin/products/530cb5f97735335573150000/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('530cb5f97735335573180000'), "name"=>"Abby Mraz", "reference"=>"Jerad Kuvalis", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb5f97735335573190000'), "firstname"=>"Dedric", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb5f97735335573190000", "product_id"=>"530cb5f97735335573180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f977353355731a0000'), "name"=>"Lou Sauer", "reference"=>"Ms. Mabel Reichel", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb5f977353355731b0000'), "firstname"=>"Blanca", "lastname"=>"Homenick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb5f977353355731a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355731a0000')} 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.3ms) 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('530cb5f977353355731c0000'), "name"=>"Tommie Schmitt DDS", "reference"=>"Ms. Thalia Simonis", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb5f977353355731d0000'), "firstname"=>"Newton", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb5f977353355731d0000", "product_id"=>"530cb5f977353355731c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355731c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f977353355731e0000'), "name"=>"Annette Schulist DVM", "reference"=>"Freda Harvey", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb5f977353355731f0000'), "firstname"=>"Aryanna", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb5f977353355731f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb5f977353355731e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f977353355731e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb5f977353355731e0000/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('530cb5f97735335573200000'), "name"=>"Wayne Deckow", "reference"=>"Rossie Kozey", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms 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('530cb5f97735335573210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Redirected to http://test.host/admin/products/530cb5f97735335573210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5f97735335573220000'), "name"=>"Heloise Wilderman", "reference"=>"Mohammed Kub DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1539ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb5f97735335573220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5f97735335573220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms 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.1737ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573230000'), "name"=>"Ms. Amely Lind", "reference"=>"Elvie Streich", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb5fa7735335573230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573230000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573240000'), "name"=>"Levi Becker", "reference"=>"Dahlia Bernier", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms 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.4914ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573250000'), "name"=>"Patrick MacGyver", "reference"=>"Crawford Frami", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573280000'), "name"=>"Everardo Jacobs", "reference"=>"Miss Herbert Rogahn", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb5fa7735335573280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530cb5fa7735335573290000'), "name"=>"Nettie Heaney", "reference"=>"Orlo Bartell Sr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb5fa7735335573290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573290000')} 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('530cb5fa7735335573290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Redirected to http://test.host/admin/products/530cb5fa7735335573290000 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('530cb5fa77353355732a0000'), "firstname"=>"Filomena", "lastname"=>"Hoppe"}] 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.1584ms 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('530cb5fa77353355732b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms Redirected to http://test.host/admin/users/530cb5fa77353355732b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1724ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355732c0000'), "firstname"=>"Harmony", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1506ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb5fa77353355732c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa77353355732c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa77353355732c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms 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.1685ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355732d0000'), "firstname"=>"Dolores", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb5fa77353355732d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa77353355732d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb5fa77353355732e0000'), "firstname"=>"Matilda", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms 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: 30.1228ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355732f0000'), "firstname"=>"Rosina", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573300000'), "firstname"=>"Jeffry", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb5fa7735335573300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms 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('530cb5fa7735335573310000'), "firstname"=>"Devan", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb5fa7735335573310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb5fa7735335573310000 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('530cb5fa7735335573320000'), "firstname"=>"Kaitlyn", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1614ms 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('530cb5fa7735335573330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms 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.1789ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573340000'), "firstname"=>"Ladarius", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb5fa7735335573340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5fa7735335573340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573350000'), "firstname"=>"Jasmin", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573360000'), "firstname"=>"Janis", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb5fa7735335573360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5fa7735335573360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573370000'), "firstname"=>"Dawn", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb5fa7735335573370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb5fa7735335573370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms 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('530cb5fa7735335573380000'), "name"=>"Emery Wuckert", "reference"=>"Mrs. Kevin Graham", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573390000'), "author_name"=>"Lamar Mayert Sr.", "content"=>["Voluptatum quis et voluptates numquam unde. Exercitationem magnam maxime harum rerum. Doloribus laboriosam sed est asperiores mollitia qui. Quidem ab minus. Nostrum est fugit delectus magni cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb5fa7735335573380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573380000')} 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('530cb5fa7735335573380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb5fa77353355733a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Redirected to http://test.host/products/530cb5fa7735335573380000/comments/530cb5fa77353355733a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355733b0000'), "name"=>"Willa Hermiston I", "reference"=>"Dr. Dorcas Conn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355733c0000'), "author_name"=>"Annette Ernser", "content"=>["Dolorem voluptatem sed ut quibusdam officia autem. Quibusdam animi mollitia qui. Ut voluptates odio repellat inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355733b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5fa77353355733b0000", "id"=>"530cb5fa77353355733c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355733b0000')} 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('530cb5fa77353355733b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb5fa77353355733c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms Redirected to http://test.host/products/530cb5fa77353355733b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355733b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355733d0000'), "name"=>"Miss Alessandro Brekke", "reference"=>"Jed Schaefer II", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355733e0000'), "author_name"=>"Miss Dina Ortiz", "content"=>["Ad dolorem officia beatae reiciendis voluptas voluptatibus molestiae. Commodi quae cumque voluptatem minus tempora. Hic error et. Laboriosam et explicabo reprehenderit. Sunt ut est ipsum tenetur libero quia maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb5fa77353355733d0000", "id"=>"530cb5fa77353355733e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355733d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355733f0000'), "name"=>"Ahmed Runolfsson", "reference"=>"Malcolm Botsford", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573400000'), "author_name"=>"Selmer Berge", "content"=>["Placeat harum esse vel eos aspernatur maxime et. Ullam sint ut quia ratione numquam eum iure. Perspiciatis dolorum sunt hic repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb5fa77353355733f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355733f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573410000'), "name"=>"Lois Konopelski", "reference"=>"Junior Abshire", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573420000'), "author_name"=>"Miss Dedric Bechtelar", "content"=>["Eum nesciunt et error cumque eos nihil adipisci. Qui aliquid commodi. Aspernatur itaque exercitationem deserunt nemo quasi quisquam. Culpa aut sint sit porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb5fa7735335573410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573430000'), "name"=>"Eva Kertzmann", "reference"=>"Shakira Jones", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573440000'), "author_name"=>"Kaley Glover", "content"=>["Molestias veritatis illo. Et fugit et et officia blanditiis ullam corrupti. Aut tempore enim cupiditate architecto non consequatur. Repellat accusantium quia. Dolorem est quo rem quia ducimus sed pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb5fa7735335573430000", "id"=>"530cb5fa7735335573440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms 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('530cb5fa7735335573450000'), "name"=>"Sigmund Buckridge MD", "reference"=>"Zula Lemke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573460000'), "author_name"=>"Queenie Green", "content"=>["Numquam praesentium voluptas provident sit id incidunt distinctio. Iste sint odit. Est labore et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb5fa7735335573450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573470000'), "name"=>"Margot Legros", "reference"=>"Lourdes Lang", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573480000'), "author_name"=>"Frederic Schroeder", "content"=>["Veritatis excepturi accusamus cumque quia. Ducimus autem ab. Odit eos distinctio in voluptatem aliquam. Iste doloremque quia error illo quas exercitationem in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb5fa7735335573470000", "id"=>"530cb5fa7735335573480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 29ms (Views: 27.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573490000'), "name"=>"Beatrice Pfeffer", "reference"=>"Retha Lind", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355734a0000'), "author_name"=>"Lindsey Rippin", "content"=>["Et earum a. In expedita beatae qui. Earum consequatur molestiae maxime perspiciatis voluptas laboriosam. Temporibus aut iure architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5fa77353355734a0000", "product_id"=>"530cb5fa7735335573490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573490000'), "comments._id"=>BSON::ObjectId('530cb5fa77353355734a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Redirected to http://test.host/products/530cb5fa7735335573490000/comments/530cb5fa77353355734a0000 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('530cb5fa77353355734b0000'), "firstname"=>"Cade", "lastname"=>"Hamill"}] 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.1663ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355734c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Redirected to http://test.host/admin/clients/530cb5fa77353355734c0000 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('530cb5fa77353355734d0000'), "firstname"=>"Henry", "lastname"=>"Hansen"}] 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=>"clients", :query=>{}} runtime: 0.1568ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb5fa77353355734d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa77353355734d0000')} 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('530cb5fa77353355734d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms 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.1652ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355734e0000'), "firstname"=>"Connie", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb5fa77353355734e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa77353355734e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms 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('530cb5fa77353355734f0000'), "firstname"=>"Dulce", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms 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('530cb5fa7735335573500000'), "firstname"=>"Paxton", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms 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.7ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573510000'), "firstname"=>"Joe", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb5fa7735335573510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms 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('530cb5fa7735335573520000'), "firstname"=>"Kamren", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb5fa7735335573520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Redirected to http://test.host/admin/clients/530cb5fa7735335573520000 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('530cb5fa7735335573530000'), "firstname"=>"Doyle", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1520ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Redirected to http://test.host/clients/530cb5fa7735335573540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573550000'), "firstname"=>"Orrin", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms 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"=>"530cb5fa7735335573550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms 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.1600ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573560000'), "firstname"=>"Nakia", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb5fa7735335573560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530cb5fa7735335573570000'), "firstname"=>"Kennedy", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573580000'), "firstname"=>"Herta", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 38ms (Views: 37.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573590000'), "firstname"=>"Esta", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb5fa7735335573590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa7735335573590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms 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('530cb5fa77353355735a0000'), "firstname"=>"Rebekah", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb5fa77353355735a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa77353355735a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb5fa77353355735a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms Redirected to http://test.host/clients/530cb5fa77353355735a0000 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('530cb5fa77353355735b0000'), "name"=>"Shawna Parisian", "reference"=>"Miss Frida McCullough", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb5fa77353355735c0000'), "firstname"=>"Maia", "lastname"=>"Schowalter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb5fa77353355735b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355735b0000')} 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('530cb5fa77353355735b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355735b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb5fa77353355735d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms Redirected to http://test.host/products/530cb5fa77353355735b0000/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('530cb5fa77353355735e0000'), "name"=>"Michel Ritchie", "reference"=>"Coty Feest", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb5fa77353355735f0000'), "firstname"=>"Heath", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb5fa77353355735f0000", "product_id"=>"530cb5fa77353355735e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355735e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573600000'), "name"=>"Mrs. Nicolette Watsica", "reference"=>"Arch Kihn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb5fa7735335573610000'), "firstname"=>"Nickolas", "lastname"=>"Kutch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb5fa7735335573600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573620000'), "name"=>"Bernadine Hyatt", "reference"=>"Ms. Jimmie Huel", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb5fa7735335573630000'), "firstname"=>"Tiara", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb5fa7735335573630000", "product_id"=>"530cb5fa7735335573620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573640000'), "name"=>"Chelsey Oberbrunner DVM", "reference"=>"Elijah Lebsack", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb5fa7735335573650000'), "firstname"=>"Madonna", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb5fa7735335573650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb5fa7735335573640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Unpermitted parameters: name Redirected to http://test.host/products/530cb5fa7735335573640000/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('530cb5fa7735335573660000'), "name"=>"Colt Ruecker II", "reference"=>"Connor Schmeler Sr.", "quantity"=>"1"}] 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=>"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('530cb5fa7735335573670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Redirected to http://test.host/products/530cb5fa7735335573670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1703ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573680000'), "name"=>"Shemar Mraz", "reference"=>"Warren Zboncak", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1557ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb5fa7735335573680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573680000')} 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('530cb5fa7735335573680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms 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.1646ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573690000'), "name"=>"Ms. Gia Ernser", "reference"=>"Tracy Reilly", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb5fa7735335573690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 9ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355736a0000'), "name"=>"Ms. Jabari Hickle", "reference"=>"Retha Dach", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms 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.7337ms Completed 200 OK in 48ms (Views: 47.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355736b0000'), "name"=>"Ebba McCullough", "reference"=>"Anya Nikolaus", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms 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.7507ms 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('530cb5fa77353355736c0000'), "name"=>"Reggie Lehner Jr.", "reference"=>"Mrs. Merle Morissette", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb5fa77353355736c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355736c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms 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('530cb5fa77353355736d0000'), "name"=>"Carlotta Abernathy", "reference"=>"Brandy Roob", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms 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.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355736f0000'), "name"=>"Katheryn Reinger", "reference"=>"Randal Murray", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb5fa77353355736f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355736f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573700000'), "name"=>"Chelsey Ferry II", "reference"=>"Leopoldo Vandervort", "quantity"=>"3"}] 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.1623ms 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('530cb5fa7735335573710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1686ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573720000'), "name"=>"Mr. Elsie Hoeger", "reference"=>"Tomas Thompson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb5fa7735335573720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573720000')} 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('530cb5fa7735335573720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms 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('530cb5fa7735335573730000'), "name"=>"Steve Larson", "reference"=>"Joaquin Emard", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms 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('530cb5fa7735335573750000'), "name"=>"Santa Daugherty", "reference"=>"Micheal Roob", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb5fa7735335573750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms 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('530cb5fa7735335573760000'), "name"=>"Benny Strosin", "reference"=>"Scottie Hane", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb5fa7735335573760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms Redirected to http://test.host/products/530cb5fa7735335573760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573790000'), "name"=>"Hillard Bechtelar", "reference"=>"Miss Dorcas Hand", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573770000'), "author_name"=>"Margarett Lehner PhD", "content"=>["Quasi dignissimos beatae earum consequatur ipsam reprehenderit. Voluptatum consequatur exercitationem in et accusantium. Hic laboriosam alias qui est quo tempore. Omnis inventore aut voluptatem sit alias."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573780000'), "author_name"=>"Theodore Beer PhD", "content"=>["Culpa occaecati quia rerum et cum. Mollitia consectetur iure vero sed deserunt praesentium nihil. Earum qui repudiandae odio repellat ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb5fa7735335573790000", "comment_id"=>"530cb5fa7735335573770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355737c0000'), "name"=>"Lenora Fay", "reference"=>"Ivy Schneider IV", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355737a0000'), "author_name"=>"Karina Lemke DVM", "content"=>["Consequatur omnis soluta officia dignissimos. Dolor enim quam quis modi cum odit sint. Sunt reiciendis velit dolorem et. Nesciunt laborum ut voluptate dicta mollitia voluptatum ut. Eaque eligendi sapiente est."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355737b0000'), "author_name"=>"Lafayette Bode", "content"=>["Omnis beatae aperiam dolorem esse magnam pariatur enim. Omnis harum vero. Et repellat quia et autem. Iste nisi accusamus rerum. Soluta non vel molestiae et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355737c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb5fa77353355737c0000", "comment_id"=>"530cb5fa77353355737a0000", "id"=>"530cb5fa77353355737b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355737c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355737f0000'), "name"=>"Hailie Jast", "reference"=>"Sterling Kertzmann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355737d0000'), "author_name"=>"Ms. Libbie Feeney", "content"=>["Velit error est illum sunt et doloremque. Aliquid voluptas tenetur laboriosam ratione odio. Hic pariatur ipsam. Est illum consequuntur vitae officiis nihil. Earum dolor et voluptatem ea."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355737e0000'), "author_name"=>"Moises Doyle", "content"=>["Aperiam harum qui. Praesentium voluptatem sunt eum. Possimus ex eum aperiam fugit rerum aut. Et consectetur quas. Eius dolorum officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2734ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb5fa77353355737f0000", "comment_id"=>"530cb5fa77353355737d0000", "id"=>"530cb5fa77353355737e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355737f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms Completed 500 Internal Server Error in 2ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573820000'), "name"=>"Lance Bayer", "reference"=>"Chanel Schultz I", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573800000'), "author_name"=>"Manley Hickle", "content"=>["Et labore aspernatur alias ut aut et. Magni voluptatem repudiandae mollitia earum. Quidem incidunt autem impedit laborum. Qui tenetur quia."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573810000'), "author_name"=>"Ole Hirthe", "content"=>["Et molestias odio fugiat delectus ut rerum. Aliquid temporibus porro tempora neque consequuntur sequi dolores. Necessitatibus molestiae earum velit omnis deserunt explicabo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb5fa7735335573820000", "comment_id"=>"530cb5fa7735335573800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms Completed 500 Internal Server Error in 1ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573850000'), "name"=>"Jayson Kub", "reference"=>"Mrs. Kaley Hoeger", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573830000'), "author_name"=>"Mr. Sim Morissette", "content"=>["Eligendi aut et. Et error sunt illo perspiciatis. Delectus est libero."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573840000'), "author_name"=>"Jasen Bogisich", "content"=>["Est neque omnis voluptatem doloremque. Deleniti ea sunt et harum nulla qui voluptatem. Qui et porro rerum quisquam consequatur. Voluptas harum mollitia quia eius labore sunt nostrum. Omnis sequi maiores consequatur eaque eum eos et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb5fa7735335573850000", "comment_id"=>"530cb5fa7735335573830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573880000'), "name"=>"Sadye Batz", "reference"=>"Beau Tromp PhD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573860000'), "author_name"=>"Opal Koch MD", "content"=>["Dignissimos aut quaerat quasi rerum impedit. Officiis sint fugiat libero magni. Libero sed delectus minus est blanditiis totam non. Atque vel dolores sint natus. Rerum quae porro exercitationem sapiente nam."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573870000'), "author_name"=>"Davion Predovic", "content"=>["Accusamus non consequatur sunt molestiae et. Cumque veniam vel dolor tempore voluptatum est. Et numquam error ipsum corrupti. Incidunt rerum consequuntur aliquam adipisci corporis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb5fa7735335573880000", "comment_id"=>"530cb5fa7735335573860000", "id"=>"530cb5fa7735335573870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355738b0000'), "name"=>"Jaylen Pacocha", "reference"=>"Mr. Ora Stiedemann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573890000'), "author_name"=>"Mrs. Karianne Schroeder", "content"=>["Ipsa eveniet fuga amet esse quis optio voluptatibus. Qui ipsam molestias. Quis sint culpa."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355738a0000'), "author_name"=>"Miss Cary Ward", "content"=>["Numquam blanditiis velit sunt consequatur et. Necessitatibus est voluptas et ut beatae amet. Aut pariatur cum id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb5fa77353355738b0000", "comment_id"=>"530cb5fa7735335573890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355738b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa77353355738e0000'), "name"=>"Rachelle Dach Sr.", "reference"=>"Briana Padberg", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355738c0000'), "author_name"=>"Armand Kautzer", "content"=>["Sed animi assumenda. Quasi totam eveniet eum distinctio voluptates. Nihil ex deleniti nam consequatur veritatis. Quisquam ea sed asperiores labore mollitia perspiciatis. Molestias sit dolorum velit at quaerat."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355738d0000'), "author_name"=>"Melody Ondricka", "content"=>["Ducimus itaque enim provident eveniet numquam minus nihil. Cupiditate non sed accusamus voluptate. Voluptas dolores voluptatem quisquam laborum dolores debitis placeat. Aperiam odio atque fugit unde voluptatum. Vel sapiente ab eaque labore cupiditate laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb5fa77353355738e0000", "comment_id"=>"530cb5fa77353355738c0000", "id"=>"530cb5fa77353355738d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa77353355738e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms Completed 500 Internal Server Error in 1ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573910000'), "name"=>"Mrs. Orin Armstrong", "reference"=>"Jason Lesch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa77353355738f0000'), "author_name"=>"Arianna Swaniawski", "content"=>["In ipsa vel in. Ipsa vitae hic mollitia soluta. Quia velit voluptatibus est voluptas dolorem sit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb5fa7735335573900000'), "author_name"=>"Bonita Roob MD", "content"=>["Eos pariatur repellat. Voluptate autem eos. Maiores ab sapiente consequatur velit. Sed eum architecto impedit. Voluptatem quo adipisci illo voluptatem architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb5fa7735335573900000", "product_id"=>"530cb5fa7735335573910000", "comment_id"=>"530cb5fa77353355738f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb5fa7735335573910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573920000'), "firstname"=>"Kathleen", "lastname"=>"Mraz"}] 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.1605ms 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('530cb5fa7735335573930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Redirected to http://test.host/users/530cb5fa7735335573930000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2270ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573940000'), "firstname"=>"Dimitri", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1616ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb5fa7735335573940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573940000')} 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('530cb5fa7735335573940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms 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.1687ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573950000'), "firstname"=>"Andy", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb5fa7735335573950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms 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('530cb5fa7735335573960000'), "firstname"=>"Orie", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms 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 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb5fa7735335573970000'), "firstname"=>"Fermin", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms 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('530cb5fa7735335573980000'), "firstname"=>"Mayra", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb5fa7735335573980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms 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('530cb5fa7735335573990000'), "firstname"=>"Luisa", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb5fa7735335573990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb5fa7735335573990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms Unpermitted parameters: name Redirected to http://test.host/users/530cb5fa7735335573990000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms 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.3184ms 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.3118ms 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.3058ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7000000'), "firstname"=>"Ricardo", "lastname"=>"Steuber"}] 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=>"administrators", :query=>{}} runtime: 0.2265ms 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('530cb63277353355a7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms 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.2420ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7020000'), "firstname"=>"Milford", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb63277353355a7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb63277353355a7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7030000'), "firstname"=>"Linnie", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7040000'), "firstname"=>"Fannie", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb63277353355a7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb63277353355a7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7050000'), "firstname"=>"Abby", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb63277353355a7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb63277353355a7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms 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('530cb63277353355a7060000'), "name"=>"Wava Connelly", "reference"=>"Joshua Hudson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a7070000'), "author_name"=>"Tressie Gibson", "content"=>["A non nisi mollitia sit minus eum. Ut facilis aut et. Quis adipisci pariatur est impedit nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb63277353355a7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb63277353355a7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms Redirected to http://test.host/admin/products/530cb63277353355a7060000/comments/530cb63277353355a7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7090000'), "name"=>"Ms. Jordan Gorczany", "reference"=>"Ole Hamill", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a70a0000'), "author_name"=>"Stanton Feest", "content"=>["Qui aliquid quisquam modi. Voluptas enim earum ab eum est. Deleniti aliquam voluptates necessitatibus iure sint ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb63277353355a7090000", "id"=>"530cb63277353355a70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb63277353355a70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Redirected to http://test.host/admin/products/530cb63277353355a7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb63277353355a70b0000'), "name"=>"Mr. Andy Quitzon", "reference"=>"Sister Cormier", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a70c0000'), "author_name"=>"Asa Yundt DDS", "content"=>["Non dolorem omnis ipsam odio id architecto. Ut aut distinctio. Rerum est totam eum deserunt. Et aut voluptatibus veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb63277353355a70b0000", "id"=>"530cb63277353355a70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a70b0000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb63277353355a70d0000'), "name"=>"Alejandrin Hand", "reference"=>"Ruby Spencer DVM", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a70e0000'), "author_name"=>"Alba Olson", "content"=>["Qui eum similique quam autem nesciunt. Dolor aut nam ipsam autem. Asperiores quod veritatis voluptas velit sed fugiat perspiciatis. Similique incidunt assumenda aut eligendi et quis consequatur. Rerum consequatur nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb63277353355a70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb63277353355a70f0000'), "name"=>"Miss Taryn Stiedemann", "reference"=>"Kraig Muller", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a7100000'), "author_name"=>"Erika Prosacco", "content"=>["Qui repellat est. Culpa architecto et aliquam sequi est ipsum impedit. Possimus deserunt rerum temporibus architecto quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb63277353355a70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb63277353355a7110000'), "name"=>"Payton Lueilwitz", "reference"=>"Sarina Rodriguez", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb63277353355a7120000'), "author_name"=>"Kiana Dibbert IV", "content"=>["Rerum omnis officia placeat temporibus. Architecto reprehenderit similique consectetur ullam et. Totam enim assumenda. Eaque expedita et nobis est perferendis. Omnis earum aut commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb63277353355a7110000", "id"=>"530cb63277353355a7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb63277353355a7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Completed 200 OK in 20964ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64777353355a7130000'), "name"=>"Manuel Nolan Sr.", "reference"=>"Laney Weissnat", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb64777353355a7140000'), "author_name"=>"Daphney Hyatt", "content"=>["Eum modi mollitia culpa necessitatibus quo molestias. Et cupiditate ut odio quisquam aut. Deserunt accusantium quia dolor debitis culpa. Quia quia omnis. Alias ipsum dolor fuga est ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb64777353355a7140000", "product_id"=>"530cb64777353355a7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7130000'), "comments._id"=>BSON::ObjectId('530cb64777353355a7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5003ms Redirected to http://test.host/admin/products/530cb64777353355a7130000/comments/530cb64777353355a7140000 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('530cb64777353355a7150000'), "name"=>"Geoffrey Spencer", "reference"=>"Kaylah Dicki", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb64777353355a7160000'), "firstname"=>"Catharine", "lastname"=>"Schulist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb64777353355a7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb64777353355a7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms Redirected to http://test.host/admin/products/530cb64777353355a7150000/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('530cb64777353355a7180000'), "name"=>"Sibyl Herman", "reference"=>"Bartholome Lehner", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb64777353355a7190000'), "firstname"=>"Tyshawn", "lastname"=>"Quitzon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 374.2717ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb64777353355a7190000", "product_id"=>"530cb64777353355a7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64777353355a71a0000'), "name"=>"Nils Denesik", "reference"=>"Jed Waters II", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb64777353355a71b0000'), "firstname"=>"Horace", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb64777353355a71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a71a0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64777353355a71c0000'), "name"=>"Dr. Arlene Dickinson", "reference"=>"Mckenzie Rosenbaum", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb64777353355a71d0000'), "firstname"=>"Dee", "lastname"=>"Pouros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb64777353355a71d0000", "product_id"=>"530cb64777353355a71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64777353355a71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Completed 200 OK in 3565ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a71e0000'), "name"=>"Selena Runolfsdottir", "reference"=>"Beau Emmerich", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb64b77353355a71f0000'), "firstname"=>"Woodrow", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb64b77353355a71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb64b77353355a71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb64b77353355a71e0000/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('530cb64b77353355a7200000'), "name"=>"Ms. Magdalena Durgan", "reference"=>"Eleanore Yost", "quantity"=>"6"}] 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.2290ms 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('530cb64b77353355a7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/admin/products/530cb64b77353355a7210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2390ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7220000'), "name"=>"Vidal Bergnaum", "reference"=>"Mr. Hans Schaefer", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1849ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb64b77353355a7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7220000')} 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={"_id"=>BSON::ObjectId('530cb64b77353355a7220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1906ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7230000'), "name"=>"Constance Kautzer", "reference"=>"Tamia Barrows", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb64b77353355a7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7240000'), "name"=>"Brendon Grimes", "reference"=>"Franz Anderson II", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms 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.5339ms Completed 200 OK in 13ms (Views: 12.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7250000'), "name"=>"Timmothy Champlin", "reference"=>"Mary Barton DDS", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7280000'), "name"=>"Llewellyn Barrows III", "reference"=>"Jarrell Lebsack", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb64b77353355a7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms 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('530cb64b77353355a7290000'), "name"=>"Aidan Blick", "reference"=>"Eleanore Renner", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb64b77353355a7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms Redirected to http://test.host/admin/products/530cb64b77353355a7290000 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('530cb64b77353355a72a0000'), "firstname"=>"Madelyn", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.2210ms 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('530cb64b77353355a72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Redirected to http://test.host/admin/users/530cb64b77353355a72b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a72c0000'), "firstname"=>"Joany", "lastname"=>"Cronin"}] 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=>"admin_users", :query=>{}} runtime: 0.2186ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb64b77353355a72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb64b77353355a72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb64b77353355a72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms 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.1840ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a72d0000'), "firstname"=>"Felton", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb64b77353355a72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb64b77353355a72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms 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('530cb64b77353355a72e0000'), "firstname"=>"Carlie", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms 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 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('530cb64b77353355a72f0000'), "firstname"=>"Reid", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.2ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7300000'), "firstname"=>"Maribel", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb64b77353355a7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb64b77353355a7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms Completed 200 OK in 5ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7310000'), "firstname"=>"Anderson", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb64b77353355a7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb64b77353355a7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb64b77353355a7310000 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('530cb64b77353355a7320000'), "firstname"=>"Issac", "lastname"=>"Schultz"}] 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=>"administrators", :query=>{}} runtime: 0.1651ms 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('530cb64b77353355a7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms 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.1713ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7340000'), "firstname"=>"Toby", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb64b77353355a7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb64b77353355a7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7350000'), "firstname"=>"Sydnie", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7360000'), "firstname"=>"Wilton", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb64b77353355a7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb64b77353355a7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7370000'), "firstname"=>"Roslyn", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb64b77353355a7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb64b77353355a7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms 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('530cb64b77353355a7380000'), "name"=>"Miss Evangeline Grimes", "reference"=>"Mrs. Jordi Frami", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a7390000'), "author_name"=>"Serena Langworth", "content"=>["Modi aliquid voluptas rerum. Fuga perferendis ducimus eveniet est asperiores ullam. Possimus iure corporis tempora dolorem cumque explicabo. Id vel dolore aliquid quisquam voluptas labore. Voluptas aut cumque et eligendi laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7380000')} 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"=>"530cb64b77353355a7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7380000')} 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('530cb64b77353355a7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb64b77353355a73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Redirected to http://test.host/products/530cb64b77353355a7380000/comments/530cb64b77353355a73a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a73b0000'), "name"=>"Delmer Shanahan", "reference"=>"Mrs. Treva Huels", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a73c0000'), "author_name"=>"Kay Wunsch PhD", "content"=>["At fuga fugiat aut ut autem atque dolor. Asperiores quis quia deserunt voluptatem nobis. Sunt aliquam in sit ex est voluptatum. Dolores dignissimos similique qui eaque illo. Eum eaque ullam voluptates qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb64b77353355a73b0000", "id"=>"530cb64b77353355a73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a73b0000')} 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('530cb64b77353355a73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb64b77353355a73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms Redirected to http://test.host/products/530cb64b77353355a73b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a73d0000'), "name"=>"Liza Daugherty", "reference"=>"Kurt Murphy", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a73e0000'), "author_name"=>"Anna Schowalter", "content"=>["Fugit quam dolorum provident non iure. Esse sit accusamus ea officia. Eveniet et et nam unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb64b77353355a73d0000", "id"=>"530cb64b77353355a73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a73f0000'), "name"=>"Julian Bogan", "reference"=>"Lexi MacGyver", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a7400000'), "author_name"=>"Tressie Bradtke", "content"=>["Blanditiis excepturi sunt accusantium quia. Quod voluptas error dolorem exercitationem natus veritatis. Incidunt ipsam saepe dolores repellendus numquam voluptatem. Eius laboriosam maxime deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb64b77353355a73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7410000'), "name"=>"Michelle Turcotte", "reference"=>"Coy Heathcote", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a7420000'), "author_name"=>"Jarred Connelly", "content"=>["Dignissimos odit sit veniam vel voluptatum. Ipsum quia qui non deleniti. Rerum ab enim voluptates ipsam repudiandae autem odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb64b77353355a7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4058ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb64b77353355a7430000'), "name"=>"Don Stamm", "reference"=>"Camron Swaniawski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb64b77353355a7440000'), "author_name"=>"Justina Mayer", "content"=>["Enim dolores blanditiis. Et et ipsam deleniti distinctio soluta. Magni earum nemo illo sint voluptates et. Et officia possimus qui. Maiores ipsa eum aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb64b77353355a7430000", "id"=>"530cb64b77353355a7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb64b77353355a7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms Completed 500 Internal Server Error in 139755ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6d777353355a7450000'), "name"=>"Krista Becker", "reference"=>"Ayana Willms", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb6d777353355a7460000'), "author_name"=>"Alana Nikolaus", "content"=>["Quaerat incidunt qui non alias sit. Est est dolore sit asperiores maiores nobis qui. Occaecati nam sed. Dicta odio qui adipisci. Voluptatem iste perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb6d777353355a7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6d777353355a7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 4.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6d777353355a7470000'), "name"=>"Orville Sawayn IV", "reference"=>"Cheyenne Beer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb6d777353355a7480000'), "author_name"=>"Ted Kozey", "content"=>["Dolores enim tempora molestiae aut fugiat. Voluptates nulla cumque itaque qui doloribus et. Sed reprehenderit inventore sunt ipsa soluta nisi quam. Asperiores aut dolore. Possimus ratione placeat est libero corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb6d777353355a7470000", "id"=>"530cb6d777353355a7480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6d777353355a7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms Completed 200 OK in 3251ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a7490000'), "name"=>"Dayton Larkin", "reference"=>"Theodore Konopelski", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb6da77353355a74a0000'), "author_name"=>"Sidney Ziemann", "content"=>["Molestias magnam quo vel asperiores autem quas. Temporibus excepturi autem. Reiciendis quo quidem nesciunt exercitationem. Voluptas consequatur asperiores laboriosam necessitatibus porro. Itaque provident libero quia ab assumenda placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb6da77353355a74a0000", "product_id"=>"530cb6da77353355a7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6da77353355a7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6da77353355a7490000'), "comments._id"=>BSON::ObjectId('530cb6da77353355a74a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms Redirected to http://test.host/products/530cb6da77353355a7490000/comments/530cb6da77353355a74a0000 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('530cb6da77353355a74b0000'), "firstname"=>"Fletcher", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.0152ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1850ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a74c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Redirected to http://test.host/admin/clients/530cb6da77353355a74c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1849ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a74d0000'), "firstname"=>"Amelia", "lastname"=>"Heathcote"}] 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=>"clients", :query=>{}} runtime: 0.1584ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb6da77353355a74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a74d0000')} 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('530cb6da77353355a74d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms 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.1702ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a74e0000'), "firstname"=>"Millie", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb6da77353355a74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb6da77353355a74f0000'), "firstname"=>"Lucienne", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms 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('530cb6da77353355a7500000'), "firstname"=>"Charley", "lastname"=>"Hills"}] 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.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('530cb6da77353355a7510000'), "firstname"=>"Karlee", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb6da77353355a7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms 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('530cb6da77353355a7520000'), "firstname"=>"Beulah", "lastname"=>"Quigley"}] 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"=>"530cb6da77353355a7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Redirected to http://test.host/admin/clients/530cb6da77353355a7520000 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('530cb6da77353355a7530000'), "firstname"=>"Orlo", "lastname"=>"Fritsch"}] 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.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('530cb6da77353355a7540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms Redirected to http://test.host/clients/530cb6da77353355a7540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1886ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a7550000'), "firstname"=>"Madie", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1673ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb6da77353355a7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms 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.1790ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6da77353355a7560000'), "firstname"=>"Annie", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb6da77353355a7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6da77353355a7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms 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('530cb6db77353355a7570000'), "firstname"=>"Dana", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6db77353355a7580000'), "firstname"=>"Lisa", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7938ms 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('530cb6db77353355a7590000'), "firstname"=>"Wellington", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb6db77353355a7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6db77353355a7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms Completed 200 OK in 4ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6db77353355a75a0000'), "firstname"=>"Francesca", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb6db77353355a75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6db77353355a75a0000')} 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('530cb6db77353355a75a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Redirected to http://test.host/clients/530cb6db77353355a75a0000 Completed 302 Found in 29ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6db77353355a75b0000'), "name"=>"Manuela Crooks", "reference"=>"Scarlett Schowalter", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb6db77353355a75c0000'), "firstname"=>"Terrance", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb6db77353355a75b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a75b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a75b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb6db77353355a75d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms Redirected to http://test.host/products/530cb6db77353355a75b0000/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('530cb6db77353355a75e0000'), "name"=>"Tanner Torphy", "reference"=>"Nels Wiza DDS", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb6db77353355a75f0000'), "firstname"=>"Braxton", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb6db77353355a75f0000", "product_id"=>"530cb6db77353355a75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a75e0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6db77353355a7600000'), "name"=>"Nola O'Kon", "reference"=>"Miss Kennedi Frami", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb6db77353355a7610000'), "firstname"=>"Aniya", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb6db77353355a7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6db77353355a7620000'), "name"=>"Miss Jerel Beahan", "reference"=>"Helena McGlynn", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb6db77353355a7630000'), "firstname"=>"Enrique", "lastname"=>"Rutherford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb6db77353355a7630000", "product_id"=>"530cb6db77353355a7620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6db77353355a7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4346ms Completed 200 OK in 904ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7640000'), "name"=>"Laurie Turner", "reference"=>"Macy Jacobi Jr.", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb6dc77353355a7650000'), "firstname"=>"Allene", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb6dc77353355a7650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb6dc77353355a7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Unpermitted parameters: name Redirected to http://test.host/products/530cb6dc77353355a7640000/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('530cb6dc77353355a7660000'), "name"=>"Franco Rath", "reference"=>"Mrs. Porter Mertz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.3551ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2800ms 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('530cb6dc77353355a7670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4924ms Redirected to http://test.host/products/530cb6dc77353355a7670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2460ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7680000'), "name"=>"Kenny Boyle V", "reference"=>"Ocie Cole", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.2215ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb6dc77353355a7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7680000')} 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('530cb6dc77353355a7680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms 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('530cb6dc77353355a7690000'), "name"=>"Ignatius Kertzmann", "reference"=>"Miss Gaylord Mraz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb6dc77353355a7690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a76a0000'), "name"=>"Tania Hirthe", "reference"=>"Lauretta Feeney", "quantity"=>"3"}] 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.7782ms Completed 200 OK in 22ms (Views: 21.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a76b0000'), "name"=>"Christa Hickle", "reference"=>"Abraham Lesch", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms 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.7717ms 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('530cb6dc77353355a76c0000'), "name"=>"Larue Leannon Sr.", "reference"=>"Rhianna West", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb6dc77353355a76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a76c0000')} 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('530cb6dc77353355a76d0000'), "name"=>"Charlie Langosh I", "reference"=>"Hattie Rosenbaum", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a76f0000'), "name"=>"Victoria O'Keefe MD", "reference"=>"Leon Krajcik", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb6dc77353355a76f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7700000'), "name"=>"Wendell Kemmer", "reference"=>"Haleigh Nienow", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2221ms 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('530cb6dc77353355a7710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2036ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7720000'), "name"=>"Merlin Stanton", "reference"=>"Kayleigh Okuneva", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb6dc77353355a7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms 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('530cb6dc77353355a7730000'), "name"=>"Jovan Beatty I", "reference"=>"Miss Miles Kemmer", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms 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('530cb6dc77353355a7750000'), "name"=>"Darrin Conroy PhD", "reference"=>"Arnulfo Price", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb6dc77353355a7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7750000')} 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('530cb6dc77353355a7750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms 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('530cb6dc77353355a7760000'), "name"=>"Bell Lindgren II", "reference"=>"Amalia Donnelly", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb6dc77353355a7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Redirected to http://test.host/products/530cb6dc77353355a7760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7790000'), "name"=>"Aurelio Toy", "reference"=>"Angela Larkin", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7770000'), "author_name"=>"Lera Fritsch I", "content"=>["Autem voluptatem voluptate excepturi ut. Eum beatae delectus pariatur aut possimus veritatis. Quia facilis tempora aut voluptatem consequatur voluptates ut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7780000'), "author_name"=>"Shaina Bradtke", "content"=>["Vero quaerat recusandae nemo eaque. Et illo cupiditate. Eveniet quos eos aliquid eum officiis accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb6dc77353355a7790000", "comment_id"=>"530cb6dc77353355a7770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a77c0000'), "name"=>"Theresa Howell", "reference"=>"Clementina Kohler V", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a77a0000'), "author_name"=>"Amira Jakubowski", "content"=>["Qui nisi ab rerum recusandae velit. Optio rem qui recusandae voluptatem molestiae. Illo et itaque iure corrupti sapiente vero. Iure labore minus atque dicta consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a77b0000'), "author_name"=>"Makenna Cronin Sr.", "content"=>["Fugit non vero hic est corporis cumque. Qui aut incidunt quia. Facilis illo commodi harum doloribus. Recusandae pariatur sint a dolor occaecati repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb6dc77353355a77c0000", "comment_id"=>"530cb6dc77353355a77a0000", "id"=>"530cb6dc77353355a77b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a77f0000'), "name"=>"Dr. Carissa Jacobs", "reference"=>"Katelynn Windler", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a77d0000'), "author_name"=>"Ms. Gabrielle Cruickshank", "content"=>["Mollitia debitis quidem odio quos qui ut eveniet. Odio voluptas laudantium ut. Amet itaque repellat. Magni qui mollitia deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a77e0000'), "author_name"=>"Terrence Ondricka", "content"=>["Est ducimus omnis eum quis. Minus assumenda harum ratione facilis quaerat. Vitae voluptas similique. Dignissimos ut dolor. Omnis libero sint earum asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb6dc77353355a77f0000", "comment_id"=>"530cb6dc77353355a77d0000", "id"=>"530cb6dc77353355a77e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a77f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms Completed 500 Internal Server Error in 2ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7820000'), "name"=>"Jan Gutkowski", "reference"=>"Mr. Orlo Bernhard", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7800000'), "author_name"=>"Miss Stacy Ratke", "content"=>["Quo esse porro aliquam. Sunt consectetur quaerat consequatur consequuntur iure voluptates cum. Omnis et dolores dolor. Provident est veniam enim necessitatibus et commodi consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7810000'), "author_name"=>"Amara Brekke", "content"=>["Non natus dolor ut voluptatem aperiam voluptatibus quam. Vero et maiores hic dolorem aliquid. Nihil neque quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4293ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb6dc77353355a7820000", "comment_id"=>"530cb6dc77353355a7800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Completed 500 Internal Server Error in 2ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7850000'), "name"=>"Miss Clementine Ankunding", "reference"=>"Raul Rodriguez", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7830000'), "author_name"=>"Timmothy Von", "content"=>["Quo perferendis commodi dolorem mollitia. Est nulla dolore vitae ratione labore saepe nostrum. Corrupti qui voluptatem tempore et ratione molestiae non. Minima doloremque quo quod commodi dolore est."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7840000'), "author_name"=>"Opal Bailey", "content"=>["Consequuntur possimus sed. Est non dolores. Qui nisi fuga recusandae veritatis. Qui dolores ratione asperiores vero repudiandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb6dc77353355a7850000", "comment_id"=>"530cb6dc77353355a7830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dc77353355a7880000'), "name"=>"Dorothea Hermann", "reference"=>"Wanda Koss", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7860000'), "author_name"=>"Terry Bogisich MD", "content"=>["Ut quisquam consequatur nesciunt ducimus eligendi ipsa. Eum nam sed non vel eum delectus. Explicabo ut eligendi iusto numquam."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dc77353355a7870000'), "author_name"=>"Carleton Zemlak", "content"=>["Voluptatibus dolorum sunt. Est dolorum id cumque nisi. Ipsam maiores ad quia minus inventore vel. Natus quis aperiam quo. Deserunt est nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb6dc77353355a7880000", "comment_id"=>"530cb6dc77353355a7860000", "id"=>"530cb6dc77353355a7870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dc77353355a7880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4464ms Completed 500 Internal Server Error in 903ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dd77353355a78b0000'), "name"=>"Talon Runolfsson", "reference"=>"Hayden Hayes Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dd77353355a7890000'), "author_name"=>"Miss Verlie Marquardt", "content"=>["Eum fugiat placeat quisquam occaecati. Labore facilis perferendis et earum sed corrupti deleniti. Atque ea molestias voluptatem reiciendis. Qui eius modi provident facere fugiat ipsam molestias."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dd77353355a78a0000'), "author_name"=>"Miss Lavada Vandervort", "content"=>["Id velit ut reiciendis dolor. Assumenda ad est iste. Ea adipisci quis dolores totam aut nobis ipsa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb6dd77353355a78b0000", "comment_id"=>"530cb6dd77353355a7890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dd77353355a78b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6dd77353355a78e0000'), "name"=>"Wilfrid Auer", "reference"=>"Ike Wilderman Sr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6dd77353355a78c0000'), "author_name"=>"Maverick Lockman", "content"=>["Velit aut est id molestiae est libero repudiandae. Voluptate voluptas ea sint quam omnis ut doloremque. Exercitationem quisquam fuga. Quam accusantium odit aliquid dolores voluptas omnis et. Consequuntur ex magnam voluptatem et quas laborum consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6dd77353355a78d0000'), "author_name"=>"Ellsworth Wilderman", "content"=>["Expedita quidem error et nihil voluptatem excepturi. Amet tempora itaque adipisci enim. Natus exercitationem assumenda ipsa autem omnis nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.8377ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb6dd77353355a78e0000", "comment_id"=>"530cb6dd77353355a78c0000", "id"=>"530cb6dd77353355a78d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6dd77353355a78e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4431ms Completed 500 Internal Server Error in 833ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6de77353355a7910000'), "name"=>"Joseph Reichel", "reference"=>"Abelardo Beier", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6de77353355a78f0000'), "author_name"=>"Lydia Ratke", "content"=>["Enim modi nam maxime. Omnis perferendis aut. Sed commodi esse quam consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6de77353355a7900000'), "author_name"=>"Norene Jakubowski", "content"=>["Eligendi earum ipsa. Praesentium id reiciendis. Ut magni nihil. Ut veritatis qui tempora et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb6de77353355a7900000", "product_id"=>"530cb6de77353355a7910000", "comment_id"=>"530cb6de77353355a78f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6de77353355a7910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6de77353355a7920000'), "firstname"=>"Makayla", "lastname"=>"Brown"}] 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=>"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('530cb6de77353355a7930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Redirected to http://test.host/users/530cb6de77353355a7930000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2416ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6de77353355a7940000'), "firstname"=>"Samir", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms 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"=>"530cb6de77353355a7940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6de77353355a7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6de77353355a7940000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1987ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6de77353355a7950000'), "firstname"=>"Reuben", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb6de77353355a7950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6de77353355a7950000')} 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.5ms) 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('530cb6de77353355a7960000'), "firstname"=>"Cedrick", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms 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 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6de77353355a7970000'), "firstname"=>"Kyle", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb6de77353355a7980000'), "firstname"=>"Duncan", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb6de77353355a7980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6de77353355a7980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms 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('530cb6de77353355a7990000'), "firstname"=>"Delaney", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb6de77353355a7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6de77353355a7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Unpermitted parameters: name Redirected to http://test.host/users/530cb6de77353355a7990000 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.3519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5256ms 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.3192ms 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.3090ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc000000'), "firstname"=>"Alexane", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2358ms 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('530cb6e877353355fc010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms 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.2456ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc020000'), "firstname"=>"Kaitlyn", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc030000'), "firstname"=>"Coty", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc040000'), "firstname"=>"Diamond", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb6e877353355fc040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc050000'), "firstname"=>"Meagan", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb6e877353355fc050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc050000')} 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('530cb6e877353355fc060000'), "name"=>"Eudora Stiedemann", "reference"=>"Paxton Bosco", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc070000'), "author_name"=>"Braden Ondricka", "content"=>["Fuga qui tempore iusto. Beatae quisquam quis vel sit suscipit et. Dolorem illum officiis est fuga. Tempore quos quae id. Expedita velit ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb6e877353355fc060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Redirected to http://test.host/admin/products/530cb6e877353355fc060000/comments/530cb6e877353355fc080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc090000'), "name"=>"Paul Kunde", "reference"=>"Ottis Gerhold", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc0a0000'), "author_name"=>"Alva Pagac", "content"=>["Corporis tempore consectetur ut sed corrupti at in. Sed assumenda ut vel in corrupti sunt sapiente. Aut quo distinctio laboriosam. Ipsam rerum sed ad sed et officiis. Non amet vel rerum natus molestias doloremque qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb6e877353355fc090000", "id"=>"530cb6e877353355fc0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc090000')} 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('530cb6e877353355fc090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Redirected to http://test.host/admin/products/530cb6e877353355fc090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc0b0000'), "name"=>"Ryley Farrell", "reference"=>"Eleazar Ankunding", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc0c0000'), "author_name"=>"Cassie Lindgren", "content"=>["Consequuntur quia blanditiis dignissimos. Quis nihil vel nulla fugiat fuga laudantium cum. Sint repudiandae harum hic ea et illum quis. Inventore minus excepturi nesciunt corrupti consectetur expedita ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb6e877353355fc0b0000", "id"=>"530cb6e877353355fc0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc0b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc0d0000'), "name"=>"Erika Stokes Sr.", "reference"=>"Georgianna Jakubowski", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc0e0000'), "author_name"=>"Enoch Morar", "content"=>["Repudiandae modi quaerat nesciunt. Non at id. Voluptatem rerum velit in quam facilis. Ipsam ut quo quaerat eum laborum. Totam tempora sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb6e877353355fc0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc0f0000'), "name"=>"Kale Robel", "reference"=>"Clair Leuschke", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc100000'), "author_name"=>"Jaleel Morissette", "content"=>["Dolorem blanditiis omnis distinctio. Soluta quia distinctio blanditiis eligendi asperiores dolorem dolores. Quidem et atque quas qui cum corrupti voluptatum. Qui optio repudiandae quas doloremque sint. Reiciendis autem et itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb6e877353355fc0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc110000'), "name"=>"Jena Mraz", "reference"=>"Miss Keagan Jerde", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc120000'), "author_name"=>"Danny Goodwin V", "content"=>["Laborum sint molestiae maiores ex. Rerum ad adipisci ut corrupti. Alias dolor rerum cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb6e877353355fc110000", "id"=>"530cb6e877353355fc120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc130000'), "name"=>"Candida Brown", "reference"=>"Dayton Bahringer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc140000'), "author_name"=>"Ms. Adele Mosciski", "content"=>["Sed accusantium itaque voluptas reprehenderit dolorum et. Hic consequatur praesentium ut voluptatem ratione officiis. Quis qui non magnam blanditiis amet illo. Quo sed nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb6e877353355fc140000", "product_id"=>"530cb6e877353355fc130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc130000')} 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('530cb6e877353355fc130000'), "comments._id"=>BSON::ObjectId('530cb6e877353355fc140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Redirected to http://test.host/admin/products/530cb6e877353355fc130000/comments/530cb6e877353355fc140000 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('530cb6e877353355fc150000'), "name"=>"Magnolia Mayer III", "reference"=>"Uriel Bergnaum", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc160000'), "firstname"=>"Sage", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb6e877353355fc150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc150000')} 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('530cb6e877353355fc150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms Redirected to http://test.host/admin/products/530cb6e877353355fc150000/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('530cb6e877353355fc180000'), "name"=>"Theodora Koch", "reference"=>"Dr. Alvena Wunsch", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc190000'), "firstname"=>"Lexus", "lastname"=>"Ernser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc190000", "product_id"=>"530cb6e877353355fc180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc1a0000'), "name"=>"Horacio Shields", "reference"=>"Carli Waters", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc1b0000'), "firstname"=>"Jayce", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb6e877353355fc1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc1a0000')} 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.3ms) Completed 200 OK in 7ms (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('530cb6e877353355fc1c0000'), "name"=>"Ms. Dylan Becker", "reference"=>"Myrna Upton", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc1d0000'), "firstname"=>"Marlene", "lastname"=>"O'Kon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb6e877353355fc1d0000", "product_id"=>"530cb6e877353355fc1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc1e0000'), "name"=>"Ricardo Bernier", "reference"=>"Ms. Rebekah Donnelly", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc1f0000'), "firstname"=>"Renee", "lastname"=>"Wisozk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb6e877353355fc1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb6e877353355fc1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb6e877353355fc1e0000/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('530cb6e877353355fc200000'), "name"=>"Rosalinda Okuneva", "reference"=>"Cassie Moore", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1623ms 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('530cb6e877353355fc210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Redirected to http://test.host/admin/products/530cb6e877353355fc210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1787ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc220000'), "name"=>"Carroll Bechtelar", "reference"=>"Darryl Hayes", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1562ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb6e877353355fc220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms 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.2207ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc230000'), "name"=>"Rachael Olson", "reference"=>"Herta Kertzmann Jr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc240000'), "name"=>"Jeromy Gutkowski", "reference"=>"Mrs. Madelyn Dickens", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms 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.4960ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc250000'), "name"=>"Mr. Hyman Effertz", "reference"=>"Nick Waelchi", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc280000'), "name"=>"Eugenia Casper II", "reference"=>"Alexandria Considine", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb6e877353355fc280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms 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('530cb6e877353355fc290000'), "name"=>"America Daniel", "reference"=>"Milton Pfeffer", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb6e877353355fc290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc290000')} 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('530cb6e877353355fc290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms Redirected to http://test.host/admin/products/530cb6e877353355fc290000 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('530cb6e877353355fc2a0000'), "firstname"=>"Vada", "lastname"=>"Graham"}] 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.1577ms 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('530cb6e877353355fc2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms Redirected to http://test.host/admin/users/530cb6e877353355fc2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1698ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc2c0000'), "firstname"=>"Sabryna", "lastname"=>"Zieme"}] 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=>"admin_users", :query=>{}} runtime: 0.1510ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb6e877353355fc2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e877353355fc2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e877353355fc2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms 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.1594ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc2d0000'), "firstname"=>"Helen", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e877353355fc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc2e0000'), "firstname"=>"Gerardo", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms 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.2932ms Completed 200 OK in 38ms (Views: 37.5ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc2f0000'), "firstname"=>"Doris", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms 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: 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('530cb6e877353355fc300000'), "firstname"=>"Dell", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb6e877353355fc300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e877353355fc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms 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('530cb6e877353355fc310000'), "firstname"=>"Israel", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb6e877353355fc310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e877353355fc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb6e877353355fc310000 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('530cb6e877353355fc320000'), "firstname"=>"Bailee", "lastname"=>"Hessel"}] 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.1692ms 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('530cb6e877353355fc330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms 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.1702ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc340000'), "firstname"=>"Jamel", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc350000'), "firstname"=>"Hoyt", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc360000'), "firstname"=>"Catalina", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb6e877353355fc360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc370000'), "firstname"=>"Helmer", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb6e877353355fc370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb6e877353355fc370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms 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('530cb6e877353355fc380000'), "name"=>"Jamar Williamson", "reference"=>"Erick Tromp V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc390000'), "author_name"=>"Meredith Wiegand", "content"=>["Exercitationem dolor repellat consequuntur consequatur esse culpa amet. Qui placeat sit et soluta ad. Sed aliquam aut nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb6e877353355fc380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc380000')} 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('530cb6e877353355fc380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms Redirected to http://test.host/products/530cb6e877353355fc380000/comments/530cb6e877353355fc3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc3b0000'), "name"=>"Mr. Dean Rowe", "reference"=>"Thurman Tremblay", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc3c0000'), "author_name"=>"Mae Reynolds Jr.", "content"=>["Quia et minima porro earum. Maiores sapiente maxime harum. Atque molestias nam. Qui officiis accusamus aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb6e877353355fc3b0000", "id"=>"530cb6e877353355fc3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Redirected to http://test.host/products/530cb6e877353355fc3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc3d0000'), "name"=>"Malachi McClure", "reference"=>"Ned Turcotte", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc3e0000'), "author_name"=>"Mrs. Quinton Mitchell", "content"=>["Vitae ut aspernatur at earum dolores consequatur doloremque. Laudantium quo unde iste eius sed. Perspiciatis et eius et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb6e877353355fc3d0000", "id"=>"530cb6e877353355fc3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc3f0000'), "name"=>"Mr. Felicita Harris", "reference"=>"Cody Haag", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc400000'), "author_name"=>"Rahsaan Welch", "content"=>["Deserunt dolore neque qui corporis. Qui vitae molestiae laudantium quo rerum omnis quod. Quod impedit laboriosam explicabo. Ea debitis ut. Nihil dolores et ipsam facilis quia mollitia maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb6e877353355fc3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc410000'), "name"=>"Cloyd Schowalter", "reference"=>"Preston Nolan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc420000'), "author_name"=>"Fritz Watsica", "content"=>["Voluptatem exercitationem ipsum voluptatibus dolor. Occaecati nisi et est. Est voluptatibus quia illo hic rerum minus. Et tempora voluptas commodi error molestiae assumenda sequi. Ab voluptatem facilis tempora est impedit omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb6e877353355fc410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc430000'), "name"=>"Mayra Kreiger", "reference"=>"Conner Stanton", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc440000'), "author_name"=>"Adrain Sanford", "content"=>["Rem distinctio voluptatem. Nulla aut omnis vel laboriosam esse voluptatem. Inventore non pariatur fugiat. Culpa ipsum sint dolorum incidunt debitis reiciendis. Voluptatem consequatur voluptas doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb6e877353355fc430000", "id"=>"530cb6e877353355fc440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc450000'), "name"=>"Madeline Tremblay", "reference"=>"Mrs. Vinnie Grimes", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc460000'), "author_name"=>"Dell Okuneva", "content"=>["Possimus impedit qui ut. Commodi voluptates impedit. Iusto et tenetur voluptate aut. Exercitationem aspernatur sequi ducimus quo. Tenetur sit explicabo sed enim est iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb6e877353355fc450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc470000'), "name"=>"Miss Faustino Huel", "reference"=>"Mrs. Selena Jones", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc480000'), "author_name"=>"Petra Wuckert", "content"=>["Exercitationem rem illum sed. Reprehenderit quisquam dolorem dolore et aliquid quos tempora. Qui amet id. Soluta quisquam unde dolorem quos et. Aliquid qui incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb6e877353355fc470000", "id"=>"530cb6e877353355fc480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc490000'), "name"=>"Camille Stracke", "reference"=>"Lester Smith", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e877353355fc4a0000'), "author_name"=>"Bernie Rau", "content"=>["Repudiandae velit ut consequatur explicabo et. Praesentium provident blanditiis minima perspiciatis sit eaque doloremque. Odit inventore suscipit nemo ut sint mollitia. Expedita voluptas labore id dolorum dolores dolorem vel. Id maiores voluptas officia corporis."]}]}] 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"=>"530cb6e877353355fc4a0000", "product_id"=>"530cb6e877353355fc490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4367ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc490000'), "comments._id"=>BSON::ObjectId('530cb6e877353355fc4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms Redirected to http://test.host/products/530cb6e877353355fc490000/comments/530cb6e877353355fc4a0000 Completed 302 Found in 39ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc4b0000'), "firstname"=>"Elnora", "lastname"=>"Runte"}] 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=>"clients", :query=>{}} runtime: 0.1682ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms Redirected to http://test.host/admin/clients/530cb6e877353355fc4c0000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc4d0000'), "firstname"=>"Kamryn", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1550ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb6e877353355fc4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc4d0000')} 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('530cb6e877353355fc4d0000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1756ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc4e0000'), "firstname"=>"Mazie", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms 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('530cb6e877353355fc4f0000'), "firstname"=>"Yazmin", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms 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('530cb6e877353355fc500000'), "firstname"=>"Gussie", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms 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('530cb6e877353355fc510000'), "firstname"=>"King", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb6e877353355fc510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms 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('530cb6e877353355fc520000'), "firstname"=>"Retha", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb6e877353355fc520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc520000')} 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('530cb6e877353355fc520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms Redirected to http://test.host/admin/clients/530cb6e877353355fc520000 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('530cb6e877353355fc530000'), "firstname"=>"Orion", "lastname"=>"Bruen"}] 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.1580ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms Redirected to http://test.host/clients/530cb6e877353355fc540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1667ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc550000'), "firstname"=>"Ida", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1504ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb6e877353355fc550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms 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.1584ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc560000'), "firstname"=>"Liza", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530cb6e877353355fc570000'), "firstname"=>"Aaron", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc580000'), "firstname"=>"Keyshawn", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc590000'), "firstname"=>"Dexter", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.4721ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb6e877353355fc590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms Completed 200 OK in 6ms (Views: 2.3ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc5a0000'), "firstname"=>"Larry", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb6e877353355fc5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb6e877353355fc5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms Redirected to http://test.host/clients/530cb6e877353355fc5a0000 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('530cb6e877353355fc5b0000'), "name"=>"Horace Klein", "reference"=>"Lucile Aufderhar", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc5c0000'), "firstname"=>"Adolphus", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb6e877353355fc5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc5b0000')} 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('530cb6e877353355fc5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms Redirected to http://test.host/products/530cb6e877353355fc5b0000/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('530cb6e877353355fc5e0000'), "name"=>"Valentin Jacobson", "reference"=>"Hildegard Mann", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc5f0000'), "firstname"=>"Giles", "lastname"=>"Lynch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc5f0000", "product_id"=>"530cb6e877353355fc5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc600000'), "name"=>"Grant Hand", "reference"=>"Jamison Predovic", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc610000'), "firstname"=>"Celestine", "lastname"=>"Hintz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb6e877353355fc600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc620000'), "name"=>"Ms. Darrion Hilll", "reference"=>"Lolita Willms", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc630000'), "firstname"=>"Connie", "lastname"=>"Herman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8308ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb6e877353355fc630000", "product_id"=>"530cb6e877353355fc620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc640000'), "name"=>"Levi Brakus DVM", "reference"=>"Ms. Erin Corwin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb6e877353355fc650000'), "firstname"=>"Bernhard", "lastname"=>"Klein"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb6e877353355fc650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb6e877353355fc640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Unpermitted parameters: name Redirected to http://test.host/products/530cb6e877353355fc640000/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('530cb6e877353355fc660000'), "name"=>"Palma Mraz", "reference"=>"Delpha Lakin V", "quantity"=>"3"}] 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.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('530cb6e877353355fc670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms Redirected to http://test.host/products/530cb6e877353355fc670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1796ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc680000'), "name"=>"Albert Bogan IV", "reference"=>"Brooklyn Lebsack", "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.1757ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb6e877353355fc680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc680000')} 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('530cb6e877353355fc680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms 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.1819ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e877353355fc690000'), "name"=>"Litzy Weimann", "reference"=>"Talia Langworth DDS", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb6e877353355fc690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e877353355fc690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb6e877353355fc6a0000'), "name"=>"Jose Kunde Jr.", "reference"=>"Justine Russel", "quantity"=>"8"}] 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.7820ms Completed 200 OK in 48ms (Views: 47.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc6b0000'), "name"=>"Eleonore Terry", "reference"=>"Marianne Schneider", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms 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.7702ms 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('530cb6e977353355fc6c0000'), "name"=>"Rebekah Wunsch", "reference"=>"Lupe Abshire MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6145ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb6e977353355fc6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms Completed 200 OK in 36ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc6d0000'), "name"=>"Cody Hand", "reference"=>"Linda Kris", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms 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.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc6f0000'), "name"=>"Mrs. Bette O'Reilly", "reference"=>"Ola Cassin", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb6e977353355fc6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc700000'), "name"=>"Kayla Hegmann", "reference"=>"Gunnar Ratke", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1837ms 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('530cb6e977353355fc710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1909ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc720000'), "name"=>"Abigale Prohaska", "reference"=>"Roberto Schmidt DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb6e977353355fc720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc720000')} 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('530cb6e977353355fc720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms 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('530cb6e977353355fc730000'), "name"=>"Seth Gutmann", "reference"=>"Payton Dare III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms 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('530cb6e977353355fc750000'), "name"=>"Gracie Gerlach", "reference"=>"Savanna O'Keefe", "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"=>"530cb6e977353355fc750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc750000')} 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('530cb6e977353355fc750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms 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('530cb6e977353355fc760000'), "name"=>"Dominic Terry", "reference"=>"Dion Hilll I", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb6e977353355fc760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms Redirected to http://test.host/products/530cb6e977353355fc760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc790000'), "name"=>"Rubye Morar", "reference"=>"Domenico Reichel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc770000'), "author_name"=>"Bradly Marks", "content"=>["Libero eum et. Placeat veniam cum eaque fugit voluptate. Velit magni ipsam id facilis. Doloremque aut voluptas ratione id. Est officia sapiente provident doloremque ut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc780000'), "author_name"=>"Kenton Feest", "content"=>["Quae error voluptatem. Sint nisi mollitia ratione iste ut magnam. Ipsam reprehenderit doloribus ad placeat et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb6e977353355fc790000", "comment_id"=>"530cb6e977353355fc770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc7c0000'), "name"=>"Caden Schumm", "reference"=>"Miguel Sporer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc7a0000'), "author_name"=>"Mr. Javon Hilll", "content"=>["Perferendis laborum velit suscipit neque. Sapiente eos voluptatem velit. Repellat nobis pariatur libero. Officiis sit recusandae natus velit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc7b0000'), "author_name"=>"Dr. Ambrose Christiansen", "content"=>["Minus eum debitis. Doloribus saepe quam nam similique provident. Qui pariatur rerum ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb6e977353355fc7c0000", "comment_id"=>"530cb6e977353355fc7a0000", "id"=>"530cb6e977353355fc7b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc7f0000'), "name"=>"Emilie Quitzon", "reference"=>"Jordane Vandervort", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc7d0000'), "author_name"=>"Alessandra McLaughlin", "content"=>["Magnam eos in repellat aliquam. Et consectetur laborum quia natus. Rerum qui soluta in accusantium. Velit odit sequi nesciunt necessitatibus non ea. Deserunt voluptas delectus velit molestias consequuntur rerum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc7e0000'), "author_name"=>"Allie Schimmel", "content"=>["Incidunt itaque sapiente temporibus optio nihil. Recusandae officiis totam voluptates voluptas ipsam ut quo. Quae repellendus nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb6e977353355fc7f0000", "comment_id"=>"530cb6e977353355fc7d0000", "id"=>"530cb6e977353355fc7e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms Completed 500 Internal Server Error in 1ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc820000'), "name"=>"Angie Halvorson Sr.", "reference"=>"Minnie Fritsch", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc800000'), "author_name"=>"Bernadine McLaughlin", "content"=>["Et fugit laudantium atque. Corporis dignissimos fugit itaque aliquid excepturi. Ad aut illum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc810000'), "author_name"=>"Raven Runolfsson", "content"=>["Porro atque adipisci corporis eum pariatur rerum ut. Fugiat ea sed dolores tenetur illum ad. Sit omnis fuga voluptas quos sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb6e977353355fc820000", "comment_id"=>"530cb6e977353355fc800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Completed 500 Internal Server Error in 2ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc850000'), "name"=>"Anastacio Effertz", "reference"=>"Miss Blair Kutch", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc830000'), "author_name"=>"Nasir Kulas", "content"=>["Debitis assumenda incidunt et vel est ab. Omnis animi voluptas odio nam maxime earum. Et ea voluptatum vitae corporis ut fugit ut. Perspiciatis sed nobis sint nihil occaecati vero a."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc840000'), "author_name"=>"Ashlynn DuBuque PhD", "content"=>["Molestiae quia dignissimos sed id facere et placeat. Sit iste voluptatem et. Et odio repellendus. Quia deserunt perferendis qui quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb6e977353355fc850000", "comment_id"=>"530cb6e977353355fc830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc880000'), "name"=>"Foster Schowalter", "reference"=>"Ms. Desiree Nikolaus", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc860000'), "author_name"=>"Mrs. Darrell McClure", "content"=>["Praesentium modi ut laboriosam nobis iste quis sint. Molestias voluptatem iste magnam iusto. Accusantium vel tempore laborum odit nihil. Suscipit aut in saepe dolorum. Reprehenderit ut dolor neque et non omnis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc870000'), "author_name"=>"Harvey Cassin", "content"=>["Impedit aliquam et error. Occaecati totam libero magnam vel. Quo sit ad nam exercitationem dolore sint. Deleniti est aperiam dolorem voluptas et porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb6e977353355fc880000", "comment_id"=>"530cb6e977353355fc860000", "id"=>"530cb6e977353355fc870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc8b0000'), "name"=>"Rachel Shields", "reference"=>"Alivia Cummings", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc890000'), "author_name"=>"Pearline Casper", "content"=>["Doloribus est pariatur odio et exercitationem occaecati. Totam sed error id eum sunt. Voluptatem et debitis rerum nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc8a0000'), "author_name"=>"Kendra Bruen II", "content"=>["Consectetur vel fugiat. Et reprehenderit odit dolores eos. Rerum laborum consequatur pariatur perspiciatis qui. Officiis excepturi a aut consequatur voluptatem alias error. Quos quasi corrupti velit aut aspernatur quis accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb6e977353355fc8b0000", "comment_id"=>"530cb6e977353355fc890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc8e0000'), "name"=>"Cyril Okuneva", "reference"=>"Ward Larkin V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc8c0000'), "author_name"=>"Reagan Reinger", "content"=>["Dolores nobis aliquid. Velit ex beatae. Temporibus veritatis ut quam fugit. Ut sed aspernatur laborum placeat."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc8d0000'), "author_name"=>"Vada Blanda", "content"=>["Et voluptatem omnis. Dignissimos ipsam occaecati nobis accusamus. Occaecati ad animi iusto. Rerum iusto ipsum aut dolorum laudantium. Id necessitatibus rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb6e977353355fc8e0000", "comment_id"=>"530cb6e977353355fc8c0000", "id"=>"530cb6e977353355fc8d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms Completed 500 Internal Server Error in 1ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc910000'), "name"=>"Mrs. Shane Kirlin", "reference"=>"Reyna Marquardt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc8f0000'), "author_name"=>"Elisha Zulauf III", "content"=>["Aut dignissimos soluta ab ea error tenetur. Et omnis tempora est est. Aut tenetur et qui. Illum aut tenetur asperiores odio. Voluptas laborum iure exercitationem atque saepe dolor."], "comments"=>[{"_id"=>BSON::ObjectId('530cb6e977353355fc900000'), "author_name"=>"Melisa Wolff", "content"=>["Consequatur assumenda adipisci. Libero occaecati maxime eum impedit vel consequuntur temporibus. Et enim voluptas ipsam qui magni vero. Possimus pariatur et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb6e977353355fc900000", "product_id"=>"530cb6e977353355fc910000", "comment_id"=>"530cb6e977353355fc8f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb6e977353355fc910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc920000'), "firstname"=>"Rylan", "lastname"=>"Schinner"}] 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.1774ms 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('530cb6e977353355fc930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Redirected to http://test.host/users/530cb6e977353355fc930000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc940000'), "firstname"=>"Edgar", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.5192ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2931ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb6e977353355fc940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e977353355fc940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e977353355fc940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms 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.1867ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc950000'), "firstname"=>"Cheyanne", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb6e977353355fc950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e977353355fc950000')} 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 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('530cb6e977353355fc960000'), "firstname"=>"Montana", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms 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.3553ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb6e977353355fc970000'), "firstname"=>"Clay", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms 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('530cb6e977353355fc980000'), "firstname"=>"Tobin", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb6e977353355fc980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e977353355fc980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms 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('530cb6e977353355fc990000'), "firstname"=>"Joannie", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb6e977353355fc990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb6e977353355fc990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Unpermitted parameters: name Redirected to http://test.host/users/530cb6e977353355fc990000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms 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.3206ms 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.3130ms 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.3039ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb7097735335628000000'), "firstname"=>"Jerrold", "lastname"=>"Williamson"}] 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=>"administrators", :query=>{}} runtime: 0.2283ms 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('530cb7097735335628010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms 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.2413ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb7097735335628020000'), "firstname"=>"Ena", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb7097735335628020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb7097735335628020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb7097735335628030000'), "firstname"=>"Kurtis", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1796ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb7097735335628040000'), "firstname"=>"Jaquelin", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb7097735335628040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb7097735335628040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb7097735335628050000'), "firstname"=>"Everette", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb7097735335628050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb7097735335628050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms 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('530cb7097735335628060000'), "name"=>"Nat Eichmann PhD", "reference"=>"Chadrick Feeney", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb7097735335628070000'), "author_name"=>"Cristian Feest I", "content"=>["Quasi libero ab eligendi et occaecati quaerat aut. Exercitationem aut nesciunt. Natus ipsam eligendi beatae dolor molestiae et. Sunt sit praesentium autem quidem qui. Sint nobis accusamus sequi nulla culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb7097735335628060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628060000')} 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('530cb7097735335628060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb7097735335628080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms Redirected to http://test.host/admin/products/530cb7097735335628060000/comments/530cb7097735335628080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb7097735335628090000'), "name"=>"Domenick Kemmer Jr.", "reference"=>"Tracy Von PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb70977353356280a0000'), "author_name"=>"Winston Weber", "content"=>["Consequuntur aut rem fuga laboriosam. Laboriosam omnis quis earum provident deleniti id. Voluptatem maiores quis. Numquam placeat omnis culpa mollitia eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb7097735335628090000", "id"=>"530cb70977353356280a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628090000')} 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('530cb7097735335628090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb70977353356280a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/admin/products/530cb7097735335628090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb7097735335628090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70977353356280b0000'), "name"=>"Felicity Dibbert", "reference"=>"Bell Johns Jr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb70977353356280c0000'), "author_name"=>"Martin Wunsch", "content"=>["Assumenda fugiat autem ab ipsum eum eveniet et. Vitae molestiae culpa. Quasi a quisquam consequatur laborum. Atque vero blanditiis nobis dolores ut alias. Voluptates officiis illum labore sit ullam ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6617ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb70977353356280b0000", "id"=>"530cb70977353356280c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70977353356280b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356280d0000'), "name"=>"Miss Yazmin Dooley", "reference"=>"Shyanne Sanford", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a77353356280e0000'), "author_name"=>"Dr. Efrain Kunze", "content"=>["Beatae sed eaque non commodi iste. Adipisci soluta et cupiditate necessitatibus sequi eos. Ullam fuga et in corporis ab iste. Quo corrupti dicta ullam soluta vel cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb70a77353356280d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356280d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356280f0000'), "name"=>"Rhoda Hessel", "reference"=>"Koby Schinner", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628100000'), "author_name"=>"Mr. Autumn Anderson", "content"=>["Nihil dolore ea occaecati consequuntur velit. Commodi modi minus magni. Quia eum voluptas at dolorem aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb70a77353356280f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356280f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628110000'), "name"=>"Telly Kuphal", "reference"=>"Ms. Kimberly Homenick", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628120000'), "author_name"=>"Noemy Quigley", "content"=>["Voluptas cupiditate sequi laboriosam incidunt non atque. Dolor omnis in laboriosam. Omnis molestias aut veritatis et sit sit. Natus exercitationem eius quam molestiae cupiditate aut velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb70a7735335628110000", "id"=>"530cb70a7735335628120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628130000'), "name"=>"Valerie Larson", "reference"=>"Marvin Schulist III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628140000'), "author_name"=>"Fleta Kuphal Jr.", "content"=>["Voluptate ut sunt. Mollitia pariatur qui soluta. Illum deserunt similique exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb70a7735335628140000", "product_id"=>"530cb70a7735335628130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628130000'), "comments._id"=>BSON::ObjectId('530cb70a7735335628140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Redirected to http://test.host/admin/products/530cb70a7735335628130000/comments/530cb70a7735335628140000 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('530cb70a7735335628150000'), "name"=>"Jaeden Herman", "reference"=>"Addie Zieme", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628160000'), "firstname"=>"Therese", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb70a7735335628150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms Redirected to http://test.host/admin/products/530cb70a7735335628150000/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('530cb70a7735335628180000'), "name"=>"Carol Thompson", "reference"=>"Jaylon White", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628190000'), "firstname"=>"Madalyn", "lastname"=>"Adams"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb70a7735335628190000", "product_id"=>"530cb70a7735335628180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.0ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356281a0000'), "name"=>"Lora Emmerich IV", "reference"=>"Hazel Reilly", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356281b0000'), "firstname"=>"Tristian", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb70a77353356281a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356281a0000')} 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.3ms) 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('530cb70a77353356281c0000'), "name"=>"Orlo Purdy", "reference"=>"Aliza Kris", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356281d0000'), "firstname"=>"Jose", "lastname"=>"Crist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb70a77353356281d0000", "product_id"=>"530cb70a77353356281c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356281c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356281e0000'), "name"=>"Haylie Erdman Sr.", "reference"=>"Fred Zemlak Jr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356281f0000'), "firstname"=>"Angelica", "lastname"=>"Muller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb70a77353356281f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb70a77353356281e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356281e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb70a77353356281e0000/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('530cb70a7735335628200000'), "name"=>"Levi Heaney", "reference"=>"Hattie Hintz", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms 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"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms Redirected to http://test.host/admin/products/530cb70a7735335628210000 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('530cb70a7735335628220000'), "name"=>"Cordell Bruen", "reference"=>"Bonita Hauck", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1731ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb70a7735335628220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628220000')} 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('530cb70a7735335628220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms 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('530cb70a7735335628230000'), "name"=>"Luis Douglas", "reference"=>"Ms. Dario Borer", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb70a7735335628230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628240000'), "name"=>"Irving Abernathy", "reference"=>"Hal Mills", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms 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.5145ms Completed 200 OK in 12ms (Views: 11.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628250000'), "name"=>"Tony Wisozk", "reference"=>"Mr. Jeramie Hyatt", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628280000'), "name"=>"Rodolfo Senger II", "reference"=>"Mollie Williamson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb70a7735335628280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms 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('530cb70a7735335628290000'), "name"=>"Joy Bahringer I", "reference"=>"Marlon Kilback", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb70a7735335628290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628290000')} 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('530cb70a7735335628290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms Redirected to http://test.host/admin/products/530cb70a7735335628290000 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('530cb70a77353356282a0000'), "firstname"=>"Vallie", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1757ms 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('530cb70a77353356282b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms Redirected to http://test.host/admin/users/530cb70a77353356282b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb70a77353356282c0000'), "firstname"=>"Marlen", "lastname"=>"Watsica"}] 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=>"admin_users", :query=>{}} runtime: 0.1683ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb70a77353356282c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb70a77353356282c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb70a77353356282c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms 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.1828ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb70a77353356282d0000'), "firstname"=>"Ariel", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb70a77353356282d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb70a77353356282d0000')} 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.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('530cb70a77353356282e0000'), "firstname"=>"Silas", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms 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: 30.1230ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb70a77353356282f0000'), "firstname"=>"Taylor", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628300000'), "firstname"=>"Lyric", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb70a7735335628300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb70a7735335628300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms 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('530cb70a7735335628310000'), "firstname"=>"Leopoldo", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9590ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb70a7735335628310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb70a7735335628310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb70a7735335628310000 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('530cb70a7735335628320000'), "firstname"=>"Brent", "lastname"=>"Feest"}] 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=>"administrators", :query=>{}} runtime: 0.1789ms 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('530cb70a7735335628330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms 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.1884ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628340000'), "firstname"=>"Sydney", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb70a7735335628340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb70a7735335628340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628350000'), "firstname"=>"Alanis", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628360000'), "firstname"=>"Akeem", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb70a7735335628360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb70a7735335628360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628370000'), "firstname"=>"Kennedy", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb70a7735335628370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb70a7735335628370000')} 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 ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628380000'), "name"=>"Susie Swaniawski", "reference"=>"Werner Fahey", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628390000'), "author_name"=>"Jasmin Halvorson V", "content"=>["Voluptatem adipisci et asperiores esse. Praesentium aliquid inventore eveniet recusandae expedita illum sit. Earum libero minima sint itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb70a7735335628380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb70a77353356283a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms Redirected to http://test.host/products/530cb70a7735335628380000/comments/530cb70a77353356283a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628380000')} 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('530cb70a77353356283b0000'), "name"=>"Melvina Rolfson", "reference"=>"Sheridan Fritsch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a77353356283c0000'), "author_name"=>"Haylie Graham", "content"=>["Officia sequi et. Dolorum aut nulla. Quos doloribus numquam. Dicta inventore reiciendis distinctio impedit similique et sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb70a77353356283b0000", "id"=>"530cb70a77353356283c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb70a77353356283c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms Redirected to http://test.host/products/530cb70a77353356283b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356283d0000'), "name"=>"Carolyne Sawayn", "reference"=>"Mikayla Auer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a77353356283e0000'), "author_name"=>"Dorcas Schroeder", "content"=>["Rerum eum illo architecto id. Necessitatibus possimus sed veniam quos voluptatum. Et non ut perferendis. Repellat occaecati accusantium eveniet deleniti veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb70a77353356283d0000", "id"=>"530cb70a77353356283e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356283f0000'), "name"=>"Kurtis Stehr", "reference"=>"Vernon Carroll", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628400000'), "author_name"=>"Miss Noe Huel", "content"=>["Non iure enim. Culpa ut sed dignissimos natus dolorem alias beatae. Aspernatur architecto ipsum nam. Sequi maxime nesciunt excepturi optio. Unde hic vel in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb70a77353356283f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356283f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628410000'), "name"=>"Freeda Nikolaus", "reference"=>"Gaylord Rodriguez", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628420000'), "author_name"=>"Dave Marvin", "content"=>["Necessitatibus nobis deleniti eaque nihil et distinctio rerum. Placeat ea doloribus repellat quia voluptatem. Nesciunt repellendus dicta corporis. Esse hic quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb70a7735335628410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628430000'), "name"=>"Reggie Flatley", "reference"=>"Lizeth Mueller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628440000'), "author_name"=>"Mrs. Dovie Wiza", "content"=>["Eligendi quasi itaque molestias rerum praesentium similique ut. Minima quo voluptate. Suscipit ut molestias molestiae et amet. Autem cum dolor eveniet incidunt beatae reprehenderit sed. Consectetur adipisci ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5213ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb70a7735335628430000", "id"=>"530cb70a7735335628440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628450000'), "name"=>"Miguel Kuhlman Jr.", "reference"=>"Sabryna Sipes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628460000'), "author_name"=>"Soledad Oberbrunner", "content"=>["Consequuntur quaerat ex dolorem explicabo hic. Sed asperiores consequatur et rerum pariatur quasi. Animi laboriosam mollitia sequi est. Neque saepe excepturi quos odio incidunt fugiat dolorum. Suscipit sapiente eius ut et corrupti eligendi error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb70a7735335628450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628470000'), "name"=>"Nadia Klocko", "reference"=>"Mr. Skyla Kihn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628480000'), "author_name"=>"Miss Randi Shanahan", "content"=>["Eveniet eaque corporis qui. Maxime ratione eum praesentium dicta ea voluptatum consequatur. Minima quos molestias est. Similique odit modi accusamus autem quisquam incidunt eum. Facere vel consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb70a7735335628470000", "id"=>"530cb70a7735335628480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628490000'), "name"=>"Dr. Scottie Bins", "reference"=>"Arden Haley", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a77353356284a0000'), "author_name"=>"Ms. Heidi Tromp", "content"=>["Earum est non. Corporis voluptas est doloremque voluptatem. Corrupti magni harum consequatur quisquam dolor ab. Quibusdam aut accusantium asperiores. Inventore non quasi ea laboriosam harum vitae sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb70a77353356284a0000", "product_id"=>"530cb70a7735335628490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628490000'), "comments._id"=>BSON::ObjectId('530cb70a77353356284a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms Redirected to http://test.host/products/530cb70a7735335628490000/comments/530cb70a77353356284a0000 Completed 302 Found in 41ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a77353356284b0000'), "firstname"=>"Albert", "lastname"=>"Schimmel"}] 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=>"clients", :query=>{}} runtime: 0.1677ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a77353356284c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Redirected to http://test.host/admin/clients/530cb70a77353356284c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2017ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a77353356284d0000'), "firstname"=>"Clement", "lastname"=>"Franecki"}] 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=>"clients", :query=>{}} runtime: 0.1522ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb70a77353356284d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a77353356284d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a77353356284d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms 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.1683ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a77353356284e0000'), "firstname"=>"Pascale", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb70a77353356284e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a77353356284e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms 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('530cb70a77353356284f0000'), "firstname"=>"Vilma", "lastname"=>"Wuckert"}] 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.3007ms 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('530cb70a7735335628500000'), "firstname"=>"Cheyanne", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms 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('530cb70a7735335628510000'), "firstname"=>"Jonathan", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb70a7735335628510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms 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('530cb70a7735335628520000'), "firstname"=>"Melissa", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb70a7735335628520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628520000')} 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('530cb70a7735335628520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms Redirected to http://test.host/admin/clients/530cb70a7735335628520000 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('530cb70a7735335628530000'), "firstname"=>"Madilyn", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1731ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Redirected to http://test.host/clients/530cb70a7735335628540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1659ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628550000'), "firstname"=>"Irma", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1445ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb70a7735335628550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms 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('530cb70a7735335628560000'), "firstname"=>"Berenice", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb70a7735335628560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530cb70a7735335628570000'), "firstname"=>"Ozella", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628580000'), "firstname"=>"Dewayne", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7683ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628590000'), "firstname"=>"Hershel", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb70a7735335628590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a7735335628590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms Completed 200 OK in 6ms (Views: 2.3ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb70a77353356285a0000'), "firstname"=>"Lukas", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb70a77353356285a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a77353356285a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb70a77353356285a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Redirected to http://test.host/clients/530cb70a77353356285a0000 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('530cb70a77353356285b0000'), "name"=>"Mr. Luna Erdman", "reference"=>"Lee Nikolaus", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356285c0000'), "firstname"=>"Geovany", "lastname"=>"Dicki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb70a77353356285b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356285b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356285b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356285b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356285d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms Redirected to http://test.host/products/530cb70a77353356285b0000/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('530cb70a77353356285e0000'), "name"=>"Eudora Brekke", "reference"=>"Brice Rohan", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb70a77353356285f0000'), "firstname"=>"Antonio", "lastname"=>"Olson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb70a77353356285f0000", "product_id"=>"530cb70a77353356285e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356285e0000')} 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: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628600000'), "name"=>"Mr. Myra Morissette", "reference"=>"Sierra Fritsch", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628610000'), "firstname"=>"Hilbert", "lastname"=>"Spencer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb70a7735335628600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628620000'), "name"=>"Catalina Funk II", "reference"=>"Lelah Zulauf", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628630000'), "firstname"=>"Lula", "lastname"=>"Berge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb70a7735335628630000", "product_id"=>"530cb70a7735335628620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628640000'), "name"=>"Jailyn Block", "reference"=>"Bobbie Ritchie", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb70a7735335628650000'), "firstname"=>"Jackeline", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb70a7735335628650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb70a7735335628640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Unpermitted parameters: name Redirected to http://test.host/products/530cb70a7735335628640000/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('530cb70a7735335628660000'), "name"=>"Mr. Loyal Stroman", "reference"=>"Brielle Kris", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1598ms 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('530cb70a7735335628670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Redirected to http://test.host/products/530cb70a7735335628670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1953ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628680000'), "name"=>"Quinten Miller", "reference"=>"Skye Schmeler", "quantity"=>"5"}] 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.1530ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb70a7735335628680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms 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.1593ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628690000'), "name"=>"Ms. Natalia Ledner", "reference"=>"Shayna Pfeffer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb70a7735335628690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb70a77353356286a0000'), "name"=>"Dr. Kenyon Jakubowski", "reference"=>"Verdie Smitham Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms 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.7622ms Completed 200 OK in 48ms (Views: 47.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a77353356286b0000'), "name"=>"Kade Kunze DDS", "reference"=>"Ms. Amos Vandervort", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms 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.7820ms 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('530cb70a77353356286c0000'), "name"=>"Alicia Hoppe", "reference"=>"Alaina Donnelly", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb70a77353356286c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356286c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms 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('530cb70a77353356286d0000'), "name"=>"Ms. Roberto Schaefer", "reference"=>"Filomena Block", "quantity"=>"0"}] 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.3ms) 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('530cb70a77353356286f0000'), "name"=>"Kristopher Ernser", "reference"=>"Thurman Abbott", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb70a77353356286f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a77353356286f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Completed 200 OK in 4ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628700000'), "name"=>"Audrey Romaguera IV", "reference"=>"Giovanny Murazik", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1627ms 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('530cb70a7735335628710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1649ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628720000'), "name"=>"Raoul Nicolas", "reference"=>"Preston Marquardt DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb70a7735335628720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628720000')} 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('530cb70a7735335628720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms 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('530cb70a7735335628730000'), "name"=>"Price Yundt I", "reference"=>"Hilbert Wiegand", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms 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('530cb70a7735335628750000'), "name"=>"Teagan Anderson", "reference"=>"Janelle Herman", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb70a7735335628750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms 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('530cb70a7735335628760000'), "name"=>"Juana Smitham", "reference"=>"Cornelius Howell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb70a7735335628760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms Redirected to http://test.host/products/530cb70a7735335628760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb70a7735335628790000'), "name"=>"Jason Block", "reference"=>"Irving Kreiger", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628770000'), "author_name"=>"Kennith Hintz", "content"=>["Optio earum officiis dolor aut exercitationem ad. Modi eveniet nobis quisquam est est corporis. Et id corrupti."], "comments"=>[{"_id"=>BSON::ObjectId('530cb70a7735335628780000'), "author_name"=>"Mozelle Nader", "content"=>["Officiis fugiat delectus accusantium adipisci ut quis est. Numquam omnis assumenda. Ut debitis maxime molestiae ad. Culpa minima error quos ipsa laudantium quo consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb70a7735335628790000", "comment_id"=>"530cb70a7735335628770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb70a7735335628790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Completed 500 Internal Server Error in 431122ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8ba77353356287c0000'), "name"=>"Hulda Kreiger", "reference"=>"Edmond Bode", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb8ba77353356287a0000'), "author_name"=>"Mckenzie Lockman", "content"=>["Expedita quaerat odio ex. Nostrum et deserunt voluptatem recusandae. Et officiis ullam voluptatem aut excepturi molestiae et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8ba77353356287b0000'), "author_name"=>"Hiram Wolf I", "content"=>["Vitae laborum consequatur nostrum hic enim quam amet. Quisquam inventore expedita dignissimos nam fuga dolorum. Totam doloribus dicta cupiditate voluptatem nulla. Enim deleniti quia. Quibusdam voluptas eos beatae quos quis vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8ba77353356287c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb8ba77353356287c0000", "comment_id"=>"530cb8ba77353356287a0000", "id"=>"530cb8ba77353356287b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8ba77353356287c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Completed 500 Internal Server Error in 2345ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bc77353356287f0000'), "name"=>"Kayla Gusikowski", "reference"=>"Lloyd Hansen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc77353356287d0000'), "author_name"=>"Delaney Metz I", "content"=>["Illo sit necessitatibus. Necessitatibus qui nam numquam dolores saepe est sapiente. Velit vel optio mollitia maiores labore. Maiores id dolor. Eius asperiores incidunt et explicabo dolor et illo."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc77353356287e0000'), "author_name"=>"Miss Effie Bauch", "content"=>["Nemo enim veniam. Illo voluptas eaque aperiam et qui qui. Quaerat veritatis rem quis fugit ad quas. Non eligendi totam itaque earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5057ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb8bc77353356287f0000", "comment_id"=>"530cb8bc77353356287d0000", "id"=>"530cb8bc77353356287e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bc77353356287f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4065ms Completed 500 Internal Server Error in 114ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bc7735335628820000'), "name"=>"Letitia Bashirian", "reference"=>"Dr. Adela Senger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628800000'), "author_name"=>"Robb Spinka", "content"=>["Quo illum recusandae voluptatum aspernatur ratione rerum. Voluptatem laboriosam ipsam est. Laborum molestias aperiam accusantium."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628810000'), "author_name"=>"Eunice Haag", "content"=>["Sit animi tempora ut rerum. Ducimus totam exercitationem blanditiis aliquam. Et sequi molestias aut officia. Possimus eveniet tempore et quidem minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb8bc7735335628820000", "comment_id"=>"530cb8bc7735335628800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bc7735335628820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4047ms Completed 500 Internal Server Error in 178ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bc7735335628850000'), "name"=>"Walker O'Conner III", "reference"=>"Emil Schmitt IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628830000'), "author_name"=>"Sterling King DVM", "content"=>["Impedit et quae. Ut aut corrupti sed a et et. Dolores quo qui cum dolor est temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628840000'), "author_name"=>"Dina Treutel", "content"=>["Aperiam velit ducimus est sed saepe. Quis molestiae suscipit quibusdam molestiae. Soluta maiores consequatur error sunt maxime ut quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb8bc7735335628850000", "comment_id"=>"530cb8bc7735335628830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bc7735335628850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms Completed 500 Internal Server Error in 207ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bc7735335628880000'), "name"=>"Tristin Anderson", "reference"=>"Mr. Whitney Schultz", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628860000'), "author_name"=>"Roberta Borer", "content"=>["Libero quia ducimus beatae. Vel amet et. Atque modi delectus sunt quia suscipit ut impedit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bc7735335628870000'), "author_name"=>"Rafael Ferry", "content"=>["Quas voluptatibus eveniet consequuntur blanditiis consectetur. Magni repudiandae enim velit quae ex non. Optio qui dolore quis. Qui asperiores est. Id quibusdam officiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb8bc7735335628880000", "comment_id"=>"530cb8bc7735335628860000", "id"=>"530cb8bc7735335628870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bc7735335628880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms Completed 500 Internal Server Error in 177ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bd77353356288b0000'), "name"=>"Cruz Leffler", "reference"=>"Dorcas McClure", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd7735335628890000'), "author_name"=>"Rogers Terry DDS", "content"=>["Corrupti qui non in maxime et aut voluptatibus. Et aut sit nihil iusto beatae ullam modi. Dolores enim sit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd77353356288a0000'), "author_name"=>"Chadd Doyle", "content"=>["Ut iusto sequi. Voluptas autem quo. Quaerat ut sapiente. Eos et quo hic aperiam laborum. Sunt alias consequatur quasi et rerum neque suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb8bd77353356288b0000", "comment_id"=>"530cb8bd7735335628890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bd77353356288b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms Completed 500 Internal Server Error in 178ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bd77353356288e0000'), "name"=>"Colleen Wilderman Jr.", "reference"=>"Marcella Murphy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd77353356288c0000'), "author_name"=>"Elmira Koelpin V", "content"=>["Nihil repellat qui. Architecto numquam quo. Ut est vel illum rerum quia est sed."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd77353356288d0000'), "author_name"=>"Kari Smith", "content"=>["Dolores magnam modi vitae. Qui sit et reprehenderit. Qui excepturi ducimus repudiandae dignissimos autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb8bd77353356288e0000", "comment_id"=>"530cb8bd77353356288c0000", "id"=>"530cb8bd77353356288d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bd77353356288e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms Completed 500 Internal Server Error in 205ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8bd7735335628910000'), "name"=>"Chester Halvorson", "reference"=>"Bartholome Konopelski I", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd77353356288f0000'), "author_name"=>"Damion Veum Sr.", "content"=>["Eveniet similique incidunt. Quod id non ratione facere possimus temporibus accusantium. Illo molestiae velit sint laboriosam veniam et similique. Vero ea adipisci cum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8bd7735335628900000'), "author_name"=>"Murl Hilll Jr.", "content"=>["Delectus qui aperiam aut quidem. Iusto iure ad pariatur veritatis. Velit voluptas et doloremque. Possimus illo et et ad. Vel occaecati tempora non saepe sint qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb8bd7735335628900000", "product_id"=>"530cb8bd7735335628910000", "comment_id"=>"530cb8bd77353356288f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8bd7735335628910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4221ms Completed 500 Internal Server Error in 179ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8bd7735335628920000'), "firstname"=>"Matt", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2184ms 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('530cb8bd7735335628930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Redirected to http://test.host/users/530cb8bd7735335628930000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2474ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8bd7735335628940000'), "firstname"=>"Lennie", "lastname"=>"Will"}] 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.2097ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb8bd7735335628940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8bd7735335628940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8bd7735335628940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms 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.1716ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8bd7735335628950000'), "firstname"=>"Wilford", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb8bd7735335628950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8bd7735335628950000')} 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 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('530cb8bd7735335628960000'), "firstname"=>"Owen", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms 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.3485ms Completed 200 OK in 9ms (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('530cb8bd7735335628970000'), "firstname"=>"Boris", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms 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('530cb8bd7735335628980000'), "firstname"=>"Emily", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb8bd7735335628980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8bd7735335628980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Completed 200 OK in 3ms (Views: 2.4ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8bd7735335628990000'), "firstname"=>"Phoebe", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb8bd7735335628990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8bd7735335628990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Unpermitted parameters: name Redirected to http://test.host/users/530cb8bd7735335628990000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5273ms 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.3250ms 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.3441ms 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.3437ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb000000'), "firstname"=>"Cathrine", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2276ms 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('530cb8c277353356bb010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms 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.2437ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb020000'), "firstname"=>"Retha", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb8c277353356bb020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 25ms (Views: 23.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb030000'), "firstname"=>"Stephany", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5097ms 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.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb040000'), "firstname"=>"Jazmyne", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb8c277353356bb040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms 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('530cb8c277353356bb050000'), "firstname"=>"Malvina", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb8c277353356bb050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms 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('530cb8c277353356bb060000'), "name"=>"Mack Price", "reference"=>"Makayla Marks", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb070000'), "author_name"=>"Paul Dicki", "content"=>["Pariatur debitis facere nesciunt. Totam aut deleniti. Et id necessitatibus. Atque nihil et labore commodi. Quis officia id vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb8c277353356bb060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb060000')} 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('530cb8c277353356bb060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms Redirected to http://test.host/admin/products/530cb8c277353356bb060000/comments/530cb8c277353356bb080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb090000'), "name"=>"Ms. Vincenza Ortiz", "reference"=>"Stephon Price", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb0a0000'), "author_name"=>"Dorris Bradtke", "content"=>["Ex aut iste labore eum impedit. Repellat molestiae minus blanditiis ut modi ea. Nostrum eos quam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb8c277353356bb090000", "id"=>"530cb8c277353356bb0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb090000')} 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('530cb8c277353356bb090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms Redirected to http://test.host/admin/products/530cb8c277353356bb090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb0b0000'), "name"=>"Elroy Considine", "reference"=>"Earnest Witting", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb0c0000'), "author_name"=>"Domenica Stanton", "content"=>["Dicta aliquam molestiae iste sunt velit excepturi. Eligendi temporibus aut placeat reprehenderit. Similique quibusdam consectetur fugiat amet quas qui quidem. Nobis quidem ea voluptas corporis. Inventore velit sunt dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb8c277353356bb0b0000", "id"=>"530cb8c277353356bb0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb0b0000')} 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.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb0d0000'), "name"=>"Dr. Nicholas Shields", "reference"=>"Lilla Wolf", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb0e0000'), "author_name"=>"Alisha Tremblay", "content"=>["Exercitationem ut et ratione accusamus eum aliquid. Molestiae ex beatae nisi suscipit omnis dignissimos. Aliquam quo quod rerum. Quo earum sequi sed quos ipsa occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb8c277353356bb0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb0f0000'), "name"=>"Ivy Bartoletti MD", "reference"=>"Kenna Armstrong", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb100000'), "author_name"=>"Freda Mohr", "content"=>["Ducimus tempore nihil vitae molestias eligendi labore sint. Rerum officiis maiores nam sequi voluptatem unde aut. Tempore aut laborum animi. Vero et vel. Atque non voluptatibus et tempore voluptas blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb8c277353356bb0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb0f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb110000'), "name"=>"Rico Schmidt", "reference"=>"Remington Murray", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb120000'), "author_name"=>"Justus Kiehn", "content"=>["Et possimus amet. Qui voluptas officia reprehenderit non itaque facilis. Molestias similique tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb8c277353356bb110000", "id"=>"530cb8c277353356bb120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb130000'), "name"=>"Alanis Smitham", "reference"=>"Amanda Kling Sr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb140000'), "author_name"=>"Keshaun Lueilwitz DVM", "content"=>["Eligendi praesentium fugiat pariatur earum sapiente quasi. Consequatur beatae non reiciendis alias repudiandae sit ut. Explicabo facilis cumque maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb8c277353356bb140000", "product_id"=>"530cb8c277353356bb130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb130000')} 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('530cb8c277353356bb130000'), "comments._id"=>BSON::ObjectId('530cb8c277353356bb140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Redirected to http://test.host/admin/products/530cb8c277353356bb130000/comments/530cb8c277353356bb140000 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('530cb8c277353356bb150000'), "name"=>"Mr. Adella Rodriguez", "reference"=>"Germaine Gusikowski", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb160000'), "firstname"=>"Aubree", "lastname"=>"Volkman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb8c277353356bb150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb150000')} 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('530cb8c277353356bb150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms Redirected to http://test.host/admin/products/530cb8c277353356bb150000/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('530cb8c277353356bb180000'), "name"=>"Wayne Grant V", "reference"=>"Alexandre Gerhold", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb190000'), "firstname"=>"Ezra", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb8c277353356bb190000", "product_id"=>"530cb8c277353356bb180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb1a0000'), "name"=>"Domenico Lowe", "reference"=>"Dominic Prohaska", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb1b0000'), "firstname"=>"Naomi", "lastname"=>"Greenholt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb8c277353356bb1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb1a0000')} 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.3ms) Completed 200 OK in 7ms (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('530cb8c277353356bb1c0000'), "name"=>"Maya Torp", "reference"=>"Sidney Oberbrunner DVM", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb1d0000'), "firstname"=>"Joanie", "lastname"=>"Gulgowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb8c277353356bb1d0000", "product_id"=>"530cb8c277353356bb1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb1e0000'), "name"=>"Jovany Balistreri", "reference"=>"Brain Hessel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb1f0000'), "firstname"=>"Alexandrea", "lastname"=>"Dickens"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb8c277353356bb1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb8c277353356bb1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb8c277353356bb1e0000/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('530cb8c277353356bb200000'), "name"=>"Narciso Spencer MD", "reference"=>"Loren Runte", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1602ms 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('530cb8c277353356bb210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Redirected to http://test.host/admin/products/530cb8c277353356bb210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1758ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb220000'), "name"=>"Broderick Jakubowski", "reference"=>"Angeline Murazik", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1528ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb8c277353356bb220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms 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.1693ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb230000'), "name"=>"Dr. Sherman Kunde", "reference"=>"Kaylin Spinka", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb8c277353356bb230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb240000'), "name"=>"Domingo Kutch", "reference"=>"Miss Malcolm Rolfson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms 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.4898ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb250000'), "name"=>"Miss Alexandrine Gerhold", "reference"=>"Lia Hackett", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb280000'), "name"=>"Fredy McDermott", "reference"=>"Horace Luettgen", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb8c277353356bb280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms 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('530cb8c277353356bb290000'), "name"=>"Vena Feil DDS", "reference"=>"Zita Farrell", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb8c277353356bb290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Redirected to http://test.host/admin/products/530cb8c277353356bb290000 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('530cb8c277353356bb2a0000'), "firstname"=>"Justine", "lastname"=>"Mertz"}] 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.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('530cb8c277353356bb2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms Redirected to http://test.host/admin/users/530cb8c277353356bb2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1667ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb2c0000'), "firstname"=>"Cedrick", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1507ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb8c277353356bb2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8c277353356bb2c0000')} 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('530cb8c277353356bb2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms 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.1618ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb2d0000'), "firstname"=>"Clark", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb8c277353356bb2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8c277353356bb2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms 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('530cb8c277353356bb2e0000'), "firstname"=>"Kian", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms 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.2881ms Completed 200 OK in 38ms (Views: 37.5ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb2f0000'), "firstname"=>"Kari", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms 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: 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('530cb8c277353356bb300000'), "firstname"=>"Kellie", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4518ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb8c277353356bb300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8c277353356bb300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb310000'), "firstname"=>"Breanne", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb8c277353356bb310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb8c277353356bb310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb8c277353356bb310000 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('530cb8c277353356bb320000'), "firstname"=>"Sandy", "lastname"=>"Smitham"}] 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=>"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('530cb8c277353356bb330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms 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.2159ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb340000'), "firstname"=>"Adriana", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb8c277353356bb340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb350000'), "firstname"=>"Clemmie", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb360000'), "firstname"=>"Ismael", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb8c277353356bb360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb370000'), "firstname"=>"Jannie", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb8c277353356bb370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb8c277353356bb370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms 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('530cb8c277353356bb380000'), "name"=>"Kyleigh Nitzsche", "reference"=>"Linwood Parker DVM", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb390000'), "author_name"=>"Winnifred Buckridge", "content"=>["Et eligendi cupiditate eius tempore maiores illo libero. Sequi quia reprehenderit est et vitae. Rem omnis laboriosam rerum. Consequatur minima et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb8c277353356bb380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms Redirected to http://test.host/products/530cb8c277353356bb380000/comments/530cb8c277353356bb3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb3b0000'), "name"=>"Martina Ferry", "reference"=>"Paula Wuckert", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb3c0000'), "author_name"=>"Miss Erick Schiller", "content"=>["Error qui quo vel. Aut libero expedita cum. Delectus vitae reiciendis. Dolores velit ut tempora similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb8c277353356bb3b0000", "id"=>"530cb8c277353356bb3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb3b0000')} 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('530cb8c277353356bb3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb8c277353356bb3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms Redirected to http://test.host/products/530cb8c277353356bb3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb3d0000'), "name"=>"Mae O'Keefe", "reference"=>"Osbaldo Walker", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb3e0000'), "author_name"=>"Oren Pfannerstill", "content"=>["Dolores similique dignissimos necessitatibus ut occaecati ea. Aut rem dolor minima et sequi dolor animi. Fuga accusamus odit nemo. Deserunt dolores dolorem assumenda qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb8c277353356bb3d0000", "id"=>"530cb8c277353356bb3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb3f0000'), "name"=>"Ophelia Murray PhD", "reference"=>"Grant Bahringer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb400000'), "author_name"=>"Madilyn Cole", "content"=>["Et ut incidunt magni laboriosam hic vel. Ex occaecati exercitationem est esse. Molestiae nostrum tenetur repellendus molestiae voluptatibus dolores assumenda. Perspiciatis saepe et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb8c277353356bb3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb410000'), "name"=>"Ronaldo Crist", "reference"=>"Elyssa Kautzer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb420000'), "author_name"=>"Ayana Abbott", "content"=>["Voluptatem quibusdam nihil. Ducimus esse accusantium doloremque. Incidunt dolorem architecto et nihil quo. Et ea minima. Et rem eos nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5652ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb8c277353356bb410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb430000'), "name"=>"Wilton Kuhn", "reference"=>"Abelardo Ward", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb440000'), "author_name"=>"Louie Mraz", "content"=>["Enim ad porro aut nemo. Voluptatem quo nulla. Asperiores iure numquam perferendis ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb8c277353356bb430000", "id"=>"530cb8c277353356bb440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb450000'), "name"=>"Alec Homenick Sr.", "reference"=>"Katrine Dare", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb460000'), "author_name"=>"Courtney Cole Sr.", "content"=>["Consequatur quaerat quisquam qui cupiditate et ea soluta. Voluptas animi est voluptatem cupiditate. Officiis ab debitis rerum eligendi nihil atque. Consequatur tempore qui. Numquam consequatur quidem ullam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb8c277353356bb450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb470000'), "name"=>"Nick Botsford", "reference"=>"Loraine Ward IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb480000'), "author_name"=>"Ms. Maida Herman", "content"=>["Ut ab possimus. Eos et qui omnis. Sint saepe sint inventore sunt et aperiam. Sit eum sit ducimus consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb8c277353356bb470000", "id"=>"530cb8c277353356bb480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c277353356bb490000'), "name"=>"Isobel Skiles", "reference"=>"Orion Wilderman", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c277353356bb4a0000'), "author_name"=>"Pasquale Hayes", "content"=>["Quo aut ab. Reprehenderit eius inventore. Eveniet sapiente dolore in culpa. Officia autem necessitatibus. Ea quo sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb8c277353356bb4a0000", "product_id"=>"530cb8c277353356bb490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c277353356bb490000')} 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('530cb8c277353356bb490000'), "comments._id"=>BSON::ObjectId('530cb8c277353356bb4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5601ms Redirected to http://test.host/products/530cb8c277353356bb490000/comments/530cb8c277353356bb4a0000 Completed 302 Found in 39ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb4b0000'), "firstname"=>"Ora", "lastname"=>"Littel"}] 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.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('530cb8c377353356bb4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Redirected to http://test.host/admin/clients/530cb8c377353356bb4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2278ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb4d0000'), "firstname"=>"Jeanette", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1810ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb8c377353356bb4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb4d0000')} 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('530cb8c377353356bb4d0000')} 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 3ms 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('530cb8c377353356bb4e0000'), "firstname"=>"Ricky", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb8c377353356bb4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('530cb8c377353356bb4f0000'), "firstname"=>"Hermann", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('530cb8c377353356bb500000'), "firstname"=>"Maggie", "lastname"=>"Raynor"}] 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 (1.9ms) 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('530cb8c377353356bb510000'), "firstname"=>"Drake", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb8c377353356bb510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms 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('530cb8c377353356bb520000'), "firstname"=>"Zoe", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb8c377353356bb520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms Redirected to http://test.host/admin/clients/530cb8c377353356bb520000 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('530cb8c377353356bb530000'), "firstname"=>"Theresa", "lastname"=>"Marquardt"}] 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=>"clients", :query=>{}} runtime: 0.1758ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms Redirected to http://test.host/clients/530cb8c377353356bb540000 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('530cb8c377353356bb550000'), "firstname"=>"Maiya", "lastname"=>"Macejkovic"}] 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.1684ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb8c377353356bb550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb550000')} 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('530cb8c377353356bb550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms 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.1787ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb560000'), "firstname"=>"Chester", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb8c377353356bb560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb560000')} 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.0ms) 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('530cb8c377353356bb570000'), "firstname"=>"Theresa", "lastname"=>"Fahey"}] 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.3671ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb580000'), "firstname"=>"Sigrid", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb590000'), "firstname"=>"Ubaldo", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb8c377353356bb590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb5a0000'), "firstname"=>"Collin", "lastname"=>"Nikolaus"}] 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"=>"530cb8c377353356bb5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb8c377353356bb5a0000')} 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('530cb8c377353356bb5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms Redirected to http://test.host/clients/530cb8c377353356bb5a0000 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('530cb8c377353356bb5b0000'), "name"=>"Tina Ruecker", "reference"=>"Willie Hessel MD", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb5c0000'), "firstname"=>"Jayme", "lastname"=>"Weimann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb8c377353356bb5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb5b0000')} 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('530cb8c377353356bb5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms Redirected to http://test.host/products/530cb8c377353356bb5b0000/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('530cb8c377353356bb5e0000'), "name"=>"Dillon Bernhard", "reference"=>"Saul Larkin DDS", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb5f0000'), "firstname"=>"Julio", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb8c377353356bb5f0000", "product_id"=>"530cb8c377353356bb5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb600000'), "name"=>"Mr. Karl Rutherford", "reference"=>"Cordelia Kshlerin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb610000'), "firstname"=>"Diana", "lastname"=>"Cruickshank"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb8c377353356bb600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb620000'), "name"=>"Kory Sipes", "reference"=>"Crawford Dickens", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb630000'), "firstname"=>"Celestine", "lastname"=>"Littel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb8c377353356bb630000", "product_id"=>"530cb8c377353356bb620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb640000'), "name"=>"Angelo Beatty", "reference"=>"Alec Kuphal", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb8c377353356bb650000'), "firstname"=>"Gunner", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9817ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb8c377353356bb650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb8c377353356bb640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Unpermitted parameters: name Redirected to http://test.host/products/530cb8c377353356bb640000/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('530cb8c377353356bb660000'), "name"=>"Desiree Reichert", "reference"=>"Seth Homenick", "quantity"=>"7"}] 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.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('530cb8c377353356bb670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms Redirected to http://test.host/products/530cb8c377353356bb670000 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('530cb8c377353356bb680000'), "name"=>"Glennie Waelchi", "reference"=>"Lonzo Mueller", "quantity"=>"6"}] 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.1713ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb8c377353356bb680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb680000')} 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('530cb8c377353356bb680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms 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('530cb8c377353356bb690000'), "name"=>"Ernestina Gorczany", "reference"=>"Dawn Shanahan", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb8c377353356bb690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb8c377353356bb6a0000'), "name"=>"Mr. Joey DuBuque", "reference"=>"Corene Jacobson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms 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.7479ms Completed 200 OK in 48ms (Views: 47.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb6b0000'), "name"=>"Kamryn Shanahan", "reference"=>"Mr. Garland Muller", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms 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.7686ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb6c0000'), "name"=>"Mrs. Justine Orn", "reference"=>"Glen Rowe", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb8c377353356bb6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms 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('530cb8c377353356bb6d0000'), "name"=>"Marisol Fisher", "reference"=>"Mr. Casandra Gibson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms 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.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb6f0000'), "name"=>"Dejuan Muller", "reference"=>"Tyson Prohaska", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb8c377353356bb6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb700000'), "name"=>"Freda Ernser", "reference"=>"Jimmy Legros", "quantity"=>"8"}] 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.1652ms 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('530cb8c377353356bb710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1699ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb720000'), "name"=>"Lynn Davis", "reference"=>"Theodore Hessel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb8c377353356bb720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms 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('530cb8c377353356bb730000'), "name"=>"Yvonne Bailey", "reference"=>"Karli Corkery I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms 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('530cb8c377353356bb750000'), "name"=>"Fatima Ondricka DVM", "reference"=>"Elda Grimes II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb8c377353356bb750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms 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('530cb8c377353356bb760000'), "name"=>"Grayce Welch", "reference"=>"Savanah Rohan", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb8c377353356bb760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms Redirected to http://test.host/products/530cb8c377353356bb760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8c377353356bb790000'), "name"=>"Alene Glover", "reference"=>"Ethan Gottlieb V", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8c377353356bb770000'), "author_name"=>"Carmine Emard", "content"=>["Dignissimos eos dolorem nihil. Aspernatur impedit ea architecto occaecati similique fugit. Accusantium doloribus qui ratione hic quis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8c377353356bb780000'), "author_name"=>"Kayden Kunze", "content"=>["Sit et maiores ea harum placeat. Ut et aut sint unde voluptatem voluptatem. Praesentium quos quidem saepe. Architecto et voluptates sed corporis magni autem eum. Enim sed doloremque vitae aliquid repellendus veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb8c377353356bb790000", "comment_id"=>"530cb8c377353356bb770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb790000'), "comments._id"=>BSON::ObjectId('530cb8c377353356bb770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb8f677353356bb7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6217ms Redirected to http://test.host/products/530cb8c377353356bb790000/comments/530cb8c377353356bb770000/comments/530cb8f677353356bb7a0000 Completed 302 Found in 50978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8c377353356bb790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8f677353356bb7d0000'), "name"=>"Rafaela Wiza", "reference"=>"Mrs. Camryn Kautzer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb8f677353356bb7b0000'), "author_name"=>"Madilyn Yundt I", "content"=>["Eaque cupiditate numquam sint sunt id dolor fugiat. Atque odit quam voluptatem et. Laborum id delectus mollitia enim aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8f677353356bb7c0000'), "author_name"=>"Ed Larkin", "content"=>["Laudantium iure fugit laborum accusantium et occaecati aut. Necessitatibus dolores perspiciatis voluptatem qui ut. Sunt quasi cupiditate saepe. Porro quisquam rem veniam dolorem voluptas cumque beatae. Doloribus sunt quae minima nisi officiis cum rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8f677353356bb7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb8f677353356bb7d0000", "comment_id"=>"530cb8f677353356bb7b0000", "id"=>"530cb8f677353356bb7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8f677353356bb7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8f677353356bb7d0000'), "comments._id"=>BSON::ObjectId('530cb8f677353356bb7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb8f677353356bb7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6221ms Redirected to http://test.host/products/530cb8f677353356bb7d0000/comments/530cb8f677353356bb7b0000/comments Completed 302 Found in 5039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8f677353356bb7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8fb77353356bb800000'), "name"=>"Miss Lawson Stehr", "reference"=>"Simeon Dach", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb8fb77353356bb7e0000'), "author_name"=>"Danielle Wolff", "content"=>["Eum numquam consequatur. Dolor doloremque delectus dolorum nam corrupti accusamus qui. Tempora aut at impedit autem pariatur rem nisi. Natus quia rerum illo quam doloremque doloribus provident. Doloremque non aut quae accusantium quis cum necessitatibus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8fb77353356bb7f0000'), "author_name"=>"Marion Schmitt", "content"=>["Officia laboriosam iste et aut ipsum. Sunt est sed quo. Quod commodi asperiores rerum et modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb8fb77353356bb800000", "comment_id"=>"530cb8fb77353356bb7e0000", "id"=>"530cb8fb77353356bb7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8fb77353356bb800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 929ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8fc77353356bb830000'), "name"=>"Oscar Hagenes", "reference"=>"Ila Dach II", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb8fc77353356bb810000'), "author_name"=>"Carlotta Quitzon DVM", "content"=>["Sit rerum ea sed dolorem odio doloribus qui. Veritatis accusamus voluptatem magni minima labore minus ab. Corrupti inventore nihil et quis quia."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8fc77353356bb820000'), "author_name"=>"Rossie Glover", "content"=>["Optio numquam animi voluptatem a quam repellat aliquam. Est explicabo nam possimus ratione. Ut ut possimus temporibus eum assumenda. Fugiat quia corrupti rerum optio enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb8fc77353356bb830000", "comment_id"=>"530cb8fc77353356bb810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8fc77353356bb830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms Completed 200 OK in 645ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8fd77353356bb860000'), "name"=>"Rosalyn Bailey", "reference"=>"Lee Hamill", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb8fd77353356bb840000'), "author_name"=>"Alexandra Oberbrunner", "content"=>["Ea aut ut. At pariatur sit. Voluptatibus commodi sit. Et voluptates quibusdam optio aliquid perferendis magni."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8fd77353356bb850000'), "author_name"=>"Chauncey Bradtke", "content"=>["Est dolore voluptatem ut quaerat et inventore. Iure aut magni. Temporibus amet officiis. Fuga eum similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb8fd77353356bb860000", "comment_id"=>"530cb8fd77353356bb840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8fd77353356bb860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms Completed 200 OK in 518ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8fd77353356bb890000'), "name"=>"Kenton Davis", "reference"=>"Mrs. Electa Zboncak", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb8fd77353356bb870000'), "author_name"=>"Al Kassulke Sr.", "content"=>["Dolor suscipit commodi eum dolorem ut. Accusamus nam doloremque. Sit ut nihil sint corrupti facere hic eligendi. Dolores culpa ducimus ullam doloremque ut ut nisi."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8fd77353356bb880000'), "author_name"=>"Kacey Kuphal", "content"=>["Rem assumenda odit quia porro quis. Non consequuntur voluptatibus ab voluptatem facilis sit. Pariatur error maxime in voluptatum eos et. Sint delectus enim veniam quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb8fd77353356bb890000", "comment_id"=>"530cb8fd77353356bb870000", "id"=>"530cb8fd77353356bb880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8fd77353356bb890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4244ms Completed 200 OK in 593ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb8fe77353356bb8c0000'), "name"=>"Lorenzo Kuhn", "reference"=>"Arlo Bartell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb8fe77353356bb8a0000'), "author_name"=>"Ardella Spinka", "content"=>["Possimus voluptatibus neque dolores. Deserunt quidem accusamus atque dolorum mollitia sit. Quisquam laudantium voluptas fugiat omnis debitis. A eligendi quidem. Unde id ut magni ut culpa corporis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb8fe77353356bb8b0000'), "author_name"=>"Darien Hyatt", "content"=>["Ea aspernatur maiores amet debitis inventore sed ad. Iste nihil rerum consectetur aut maxime est. Dolor consequatur enim ipsa omnis libero eaque laborum. Ut at numquam itaque rem. Ab est labore mollitia nihil id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5134ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb8fe77353356bb8c0000", "comment_id"=>"530cb8fe77353356bb8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb8fe77353356bb8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 1972ms (Views: 4.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb8f0000'), "name"=>"Serenity Will", "reference"=>"Jarrod Price", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb90077353356bb8d0000'), "author_name"=>"Leola Weimann", "content"=>["Mollitia ut est odit illo. Rem id eos a quidem quisquam occaecati at. Necessitatibus maxime suscipit repellat enim. Quia dolorem ut et minus suscipit. Iure id repellendus corporis vitae eos debitis delectus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90077353356bb8e0000'), "author_name"=>"Frankie Gerhold", "content"=>["Mollitia qui non quae. Qui aut quaerat quo. Non sint temporibus omnis. Rerum laborum quas ut fuga molestiae dolores culpa. Iure suscipit doloribus velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5444ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb90077353356bb8f0000", "comment_id"=>"530cb90077353356bb8d0000", "id"=>"530cb90077353356bb8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90077353356bb8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4313ms Completed 200 OK in 137ms (Views: 3.3ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb920000'), "name"=>"Ellie Moen", "reference"=>"Macey Turcotte", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb90077353356bb900000'), "author_name"=>"Vella Walter II", "content"=>["Consequatur enim adipisci eum qui reprehenderit voluptatem. Consequatur possimus voluptatem. Eos dolores sit quam. Ut eum officia occaecati et pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90077353356bb910000'), "author_name"=>"Lucious Bogisich Sr.", "content"=>["Sapiente aspernatur delectus corporis. Magni ut et ipsa. Iusto amet porro impedit. Minima aut quia vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb90077353356bb910000", "product_id"=>"530cb90077353356bb920000", "comment_id"=>"530cb90077353356bb900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90077353356bb920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90077353356bb920000'), "comments._id"=>BSON::ObjectId('530cb90077353356bb900000'), "comments.0.comments._id"=>BSON::ObjectId('530cb90077353356bb910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6348ms Redirected to http://test.host/products/530cb90077353356bb920000/comments/530cb90077353356bb900000/comments/530cb90077353356bb910000 Completed 302 Found in 181ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb930000'), "firstname"=>"Penelope", "lastname"=>"Langosh"}] 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.2280ms 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('530cb90077353356bb940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Redirected to http://test.host/users/530cb90077353356bb940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2452ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb950000'), "firstname"=>"Laila", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2188ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb90077353356bb950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90077353356bb950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90077353356bb950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms 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('530cb90077353356bb960000'), "firstname"=>"Kennedy", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb90077353356bb960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90077353356bb960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 42ms (Views: 40.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb970000'), "firstname"=>"Bobby", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.4434ms 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.4132ms 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('530cb90077353356bb980000'), "firstname"=>"Kellen", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms 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.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90077353356bb990000'), "firstname"=>"Elwin", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb90077353356bb990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90077353356bb990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms 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('530cb90077353356bb9a0000'), "firstname"=>"Madisyn", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb90077353356bb9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90077353356bb9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms Unpermitted parameters: name Redirected to http://test.host/users/530cb90077353356bb9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5533ms 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.3196ms 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 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.3349ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9097735335700000000'), "firstname"=>"Alyce", "lastname"=>"Senger"}] 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=>"administrators", :query=>{}} runtime: 0.2372ms 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('530cb9097735335700010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms 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.2420ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9097735335700020000'), "firstname"=>"Izaiah", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9097735335700020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9097735335700020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9097735335700030000'), "firstname"=>"Cheyanne", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9097735335700040000'), "firstname"=>"Billie", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb9097735335700040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9097735335700040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9097735335700050000'), "firstname"=>"Chelsie", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb9097735335700050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9097735335700050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms 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('530cb9097735335700060000'), "name"=>"Madeline Quigley", "reference"=>"Denis Reichel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9097735335700070000'), "author_name"=>"Rocio Barrows", "content"=>["Adipisci ut vero quo. Similique odit impedit vel ex accusamus autem. Quaerat iure sequi temporibus voluptas maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9097735335700060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700060000')} 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('530cb9097735335700060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9097735335700080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Redirected to http://test.host/admin/products/530cb9097735335700060000/comments/530cb9097735335700080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9097735335700090000'), "name"=>"Monty Dooley", "reference"=>"Miller Stamm", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb90977353357000a0000'), "author_name"=>"Mr. Thelma Considine", "content"=>["Voluptatem labore et et molestiae optio. Rerum ipsam voluptate quasi dolor nam. Inventore aut sed in id. Sit voluptatem autem illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9097735335700090000", "id"=>"530cb90977353357000a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb90977353357000a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Redirected to http://test.host/admin/products/530cb9097735335700090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90977353357000b0000'), "name"=>"Bonita Rohan", "reference"=>"Kamron Rohan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb90977353357000c0000'), "author_name"=>"Horace Beatty II", "content"=>["Aut distinctio id nesciunt repellendus nemo. Aut delectus modi voluptas sunt. Exercitationem omnis esse in odit. Ipsa voluptatem voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb90977353357000b0000", "id"=>"530cb90977353357000c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357000b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90977353357000d0000'), "name"=>"Wyman Adams", "reference"=>"Raquel Witting", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb90977353357000e0000'), "author_name"=>"Mr. Anne Prosacco", "content"=>["Id aut quia consectetur incidunt. Odit reprehenderit incidunt voluptates. Incidunt ut facere quisquam ullam porro hic voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb90977353357000d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357000d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90977353357000f0000'), "name"=>"Carter Carter", "reference"=>"Juvenal Jenkins I", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb9097735335700100000'), "author_name"=>"Granville Kunde", "content"=>["Placeat eos sed est aperiam. Aut dolores ullam. Laboriosam explicabo dicta exercitationem voluptatem doloribus et iste. Inventore est voluptas possimus ullam facilis. Maiores officia laboriosam reprehenderit velit quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb90977353357000f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357000f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9097735335700110000'), "name"=>"Marlin Volkman", "reference"=>"Dr. Braxton Herzog", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9097735335700120000'), "author_name"=>"Frederique Huel", "content"=>["Vero tenetur nisi officia. Unde architecto voluptates deserunt voluptatem veniam. Aut excepturi ab id in ratione quas nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb9097735335700110000", "id"=>"530cb9097735335700120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9097735335700130000'), "name"=>"Ophelia Eichmann", "reference"=>"Dr. Ines Bailey", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9097735335700140000'), "author_name"=>"Cletus Yundt", "content"=>["Ullam aperiam dolorum delectus et similique. Incidunt repellat dolore suscipit a. Doloremque esse exercitationem tempore nulla animi error. Rerum dolor repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9097735335700140000", "product_id"=>"530cb9097735335700130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700130000')} 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('530cb9097735335700130000'), "comments._id"=>BSON::ObjectId('530cb9097735335700140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms Redirected to http://test.host/admin/products/530cb9097735335700130000/comments/530cb9097735335700140000 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('530cb9097735335700150000'), "name"=>"Devan Ratke V", "reference"=>"Queenie Volkman", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb9097735335700160000'), "firstname"=>"Jensen", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb9097735335700150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9097735335700170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms Redirected to http://test.host/admin/products/530cb9097735335700150000/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('530cb9097735335700180000'), "name"=>"Ike Durgan DVM", "reference"=>"Alexzander Brekke", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb9097735335700190000'), "firstname"=>"Kane", "lastname"=>"Hayes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb9097735335700190000", "product_id"=>"530cb9097735335700180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90977353357001a0000'), "name"=>"Lillie Schumm", "reference"=>"Mrs. Emilia Shields", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb90977353357001b0000'), "firstname"=>"Roxanne", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb90977353357001a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357001a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (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('530cb90977353357001c0000'), "name"=>"Paige Hoppe IV", "reference"=>"Mr. Bobbie Dooley", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb90977353357001d0000'), "firstname"=>"Eda", "lastname"=>"Heller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb90977353357001d0000", "product_id"=>"530cb90977353357001c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357001c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90977353357001e0000'), "name"=>"Eladio Wilderman III", "reference"=>"Kayley Schimmel", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb90977353357001f0000'), "firstname"=>"Libby", "lastname"=>"VonRueden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb90977353357001f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb90977353357001e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90977353357001e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb90977353357001e0000/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('530cb9097735335700200000'), "name"=>"Kylie Bartoletti II", "reference"=>"Arjun Lubowitz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1602ms 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('530cb9097735335700210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms Redirected to http://test.host/admin/products/530cb9097735335700210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1712ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9097735335700220000'), "name"=>"Ms. Laila Hilll", "reference"=>"Dr. Laney Schuppe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1567ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb9097735335700220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9097735335700220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1350ms 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.1961ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700230000'), "name"=>"Jasmin Dach", "reference"=>"Adeline Crona", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb90a7735335700230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700240000'), "name"=>"Miss Price Conroy", "reference"=>"Sydnie Rempel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms 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.4831ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700250000'), "name"=>"Vanessa Hammes", "reference"=>"Raphael Schmeler", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700280000'), "name"=>"Mr. Lane Beahan", "reference"=>"Felipe Mohr", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb90a7735335700280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms 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('530cb90a7735335700290000'), "name"=>"Nikita Jacobs", "reference"=>"Dr. Ardith Fritsch", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb90a7735335700290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Redirected to http://test.host/admin/products/530cb90a7735335700290000 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('530cb90a77353357002a0000'), "firstname"=>"Phoebe", "lastname"=>"Zieme"}] 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=>"admin_users", :query=>{}} runtime: 0.1621ms 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('530cb90a77353357002b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Redirected to http://test.host/admin/users/530cb90a77353357002b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1728ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a77353357002c0000'), "firstname"=>"Jermaine", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1530ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb90a77353357002c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a77353357002c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a77353357002c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms 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.1629ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a77353357002d0000'), "firstname"=>"Marco", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb90a77353357002d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a77353357002d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb90a77353357002e0000'), "firstname"=>"Louisa", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms 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 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a77353357002f0000'), "firstname"=>"Kirsten", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700300000'), "firstname"=>"Giuseppe", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb90a7735335700300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a7735335700300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms 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('530cb90a7735335700310000'), "firstname"=>"Dayana", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb90a7735335700310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a7735335700310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb90a7735335700310000 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('530cb90a7735335700320000'), "firstname"=>"Ahmed", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1623ms 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('530cb90a7735335700330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms 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.1713ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700340000'), "firstname"=>"Annamae", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb90a7735335700340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb90a7735335700340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700350000'), "firstname"=>"Jamal", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700360000'), "firstname"=>"Marguerite", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb90a7735335700360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb90a7735335700360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700370000'), "firstname"=>"Bradly", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb90a7735335700370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb90a7735335700370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms 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('530cb90a7735335700380000'), "name"=>"Mrs. Neil Conroy", "reference"=>"Lorenzo Becker", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700390000'), "author_name"=>"Lourdes Welch", "content"=>["Natus quo minima quasi distinctio unde. Et et ut delectus. Corrupti ducimus asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb90a7735335700380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700380000')} 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('530cb90a7735335700380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb90a77353357003a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms Redirected to http://test.host/products/530cb90a7735335700380000/comments/530cb90a77353357003a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1962ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357003b0000'), "name"=>"Gordon Rempel", "reference"=>"Andreane Jaskolski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357003c0000'), "author_name"=>"Mitchel Dietrich", "content"=>["Ea et sunt. Omnis impedit dolore aliquid porro explicabo. Id ratione aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357003b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb90a77353357003b0000", "id"=>"530cb90a77353357003c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357003b0000')} 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('530cb90a77353357003b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb90a77353357003c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms Redirected to http://test.host/products/530cb90a77353357003b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357003b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357003d0000'), "name"=>"Leilani Schinner IV", "reference"=>"Betsy Lockman", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357003e0000'), "author_name"=>"Jermain Pouros", "content"=>["Distinctio quo et est a soluta enim aut. Quia consectetur iusto quo. Nostrum placeat dolorem modi quod eaque quisquam. Ad est possimus temporibus quod. Nesciunt deserunt aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb90a77353357003d0000", "id"=>"530cb90a77353357003e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357003d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357003f0000'), "name"=>"Nils Mitchell", "reference"=>"Luella Rogahn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700400000'), "author_name"=>"Nia Homenick", "content"=>["Molestiae quae distinctio. Eveniet sit praesentium voluptas tenetur assumenda aut impedit. Est quasi beatae et nihil culpa ab. Velit tempora quaerat corrupti illum voluptate facilis iusto. Recusandae esse corporis minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb90a77353357003f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357003f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700410000'), "name"=>"Ms. Beryl Parisian", "reference"=>"Miss Kallie Zemlak", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700420000'), "author_name"=>"Rosina Corwin", "content"=>["Omnis pariatur repellat eum quia hic minus. Voluptatem unde est iste repudiandae quia eius. Consequatur molestiae necessitatibus est. Harum enim quasi quibusdam. Et quo dolore aut ex at temporibus qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb90a7735335700410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700430000'), "name"=>"Cleveland Lind", "reference"=>"Ms. Kevon Schowalter", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700440000'), "author_name"=>"Mrs. Gia Gusikowski", "content"=>["Reiciendis ut quam quod in. Perferendis recusandae quas tempore. Ipsam voluptatibus et veniam. Optio molestiae quas natus ipsam quia. Officiis sapiente recusandae natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb90a7735335700430000", "id"=>"530cb90a7735335700440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700450000'), "name"=>"Lucienne Hahn", "reference"=>"Alan Schneider MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700460000'), "author_name"=>"Jaeden Treutel", "content"=>["Sequi nobis est qui at sit beatae. Autem sequi libero. Dolor vitae architecto odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb90a7735335700450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700470000'), "name"=>"Ms. Sammie Okuneva", "reference"=>"Mr. Buck Stehr", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700480000'), "author_name"=>"Joana Gerhold", "content"=>["Tempora itaque aliquam. Debitis reiciendis quo perspiciatis laboriosam. Quia dolorem dolor et amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb90a7735335700470000", "id"=>"530cb90a7735335700480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700490000'), "name"=>"Mrs. Felicia Kulas", "reference"=>"Manuela McCullough", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357004a0000'), "author_name"=>"Dr. Timothy Roob", "content"=>["Omnis qui sunt optio consequuntur sint voluptatibus. Aspernatur nobis facilis nostrum quidem voluptatem ex dignissimos. Quibusdam reprehenderit laudantium autem vero hic facilis. Vitae minima ut. Cum aut possimus nisi ipsa autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb90a77353357004a0000", "product_id"=>"530cb90a7735335700490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700490000')} 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('530cb90a7735335700490000'), "comments._id"=>BSON::ObjectId('530cb90a77353357004a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms Redirected to http://test.host/products/530cb90a7735335700490000/comments/530cb90a77353357004a0000 Completed 302 Found in 40ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a77353357004b0000'), "firstname"=>"Rusty", "lastname"=>"White"}] 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=>"clients", :query=>{}} runtime: 0.1662ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a77353357004c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Redirected to http://test.host/admin/clients/530cb90a77353357004c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1826ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a77353357004d0000'), "firstname"=>"Bonnie", "lastname"=>"Mosciski"}] 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=>"clients", :query=>{}} runtime: 0.1603ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb90a77353357004d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a77353357004d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a77353357004d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms 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.1690ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a77353357004e0000'), "firstname"=>"Liliane", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb90a77353357004e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a77353357004e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb90a77353357004f0000'), "firstname"=>"Lillie", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3069ms 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('530cb90a7735335700500000'), "firstname"=>"Scotty", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 7.5ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700510000'), "firstname"=>"Floy", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb90a7735335700510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a7735335700510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms 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('530cb90a7735335700520000'), "firstname"=>"Adela", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb90a7735335700520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a7735335700520000')} 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('530cb90a7735335700520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Redirected to http://test.host/admin/clients/530cb90a7735335700520000 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('530cb90a7735335700530000'), "firstname"=>"Royce", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms 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('530cb90a7735335700540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms Redirected to http://test.host/clients/530cb90a7735335700540000 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_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700550000'), "firstname"=>"Angelica", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms 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"=>"530cb90a7735335700550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a7735335700550000')} 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('530cb90a7735335700550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms 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('530cb90a7735335700560000'), "firstname"=>"Esta", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb90a7735335700560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a7735335700560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('530cb90a7735335700570000'), "firstname"=>"Georgiana", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms 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('530cb90a7735335700580000'), "firstname"=>"Jocelyn", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700590000'), "firstname"=>"Gunnar", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb90a7735335700590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a7735335700590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb90a77353357005a0000'), "firstname"=>"Gina", "lastname"=>"Ledner"}] 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"=>"530cb90a77353357005a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb90a77353357005a0000')} 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('530cb90a77353357005a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Redirected to http://test.host/clients/530cb90a77353357005a0000 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('530cb90a77353357005b0000'), "name"=>"Trey Herzog", "reference"=>"Felipa Murray", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb90a77353357005c0000'), "firstname"=>"Jerry", "lastname"=>"Funk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb90a77353357005b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357005b0000')} 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('530cb90a77353357005b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4503ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357005b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb90a77353357005d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms Redirected to http://test.host/products/530cb90a77353357005b0000/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('530cb90a77353357005e0000'), "name"=>"Mr. Judge Ortiz", "reference"=>"Adelle D'Amore", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb90a77353357005f0000'), "firstname"=>"Tiara", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb90a77353357005f0000", "product_id"=>"530cb90a77353357005e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357005e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700600000'), "name"=>"Daniela Dibbert DDS", "reference"=>"Dr. Gloria Schulist", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb90a7735335700610000'), "firstname"=>"Jerald", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb90a7735335700600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700620000'), "name"=>"Mrs. Michele Nienow", "reference"=>"Christina Dickinson", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb90a7735335700630000'), "firstname"=>"Norene", "lastname"=>"Bogan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb90a7735335700630000", "product_id"=>"530cb90a7735335700620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700640000'), "name"=>"Vicente Price", "reference"=>"Eudora Schultz", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb90a7735335700650000'), "firstname"=>"Nathanael", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb90a7735335700650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb90a7735335700640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms Unpermitted parameters: name Redirected to http://test.host/products/530cb90a7735335700640000/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('530cb90a7735335700660000'), "name"=>"Sedrick Littel", "reference"=>"Loyce Leannon", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1812ms 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('530cb90a7735335700670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Redirected to http://test.host/products/530cb90a7735335700670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1946ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700680000'), "name"=>"Mae Pfeffer", "reference"=>"Orlando D'Amore", "quantity"=>"4"}] 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.1752ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb90a7735335700680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms 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.1798ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700690000'), "name"=>"Angelica Dach", "reference"=>"Paige Stiedemann", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb90a7735335700690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb90a77353357006a0000'), "name"=>"Cielo Walker", "reference"=>"Mr. Paris Brakus", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms 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.7547ms Completed 200 OK in 48ms (Views: 47.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357006b0000'), "name"=>"Antonina Hermiston", "reference"=>"Vivianne Effertz DDS", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms 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.8023ms 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('530cb90a77353357006c0000'), "name"=>"Susanna Klein", "reference"=>"Meggie Smith", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb90a77353357006c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357006c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms 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('530cb90a77353357006d0000'), "name"=>"Electa Stamm", "reference"=>"Cydney Douglas", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms 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.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357006f0000'), "name"=>"Mr. Jalyn Ullrich", "reference"=>"Jasen Marks", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb90a77353357006f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357006f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700700000'), "name"=>"Novella Reichert", "reference"=>"Jaclyn Hartmann", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1813ms 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('530cb90a7735335700710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1882ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700720000'), "name"=>"Nelson Denesik", "reference"=>"Edward Upton", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb90a7735335700720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms 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('530cb90a7735335700730000'), "name"=>"Hillard Bahringer MD", "reference"=>"Gino White", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms 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('530cb90a7735335700750000'), "name"=>"Alverta Predovic DVM", "reference"=>"Avery Schroeder PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb90a7735335700750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700750000')} 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('530cb90a7735335700750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5473ms Completed 202 Accepted in 8ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700760000'), "name"=>"Ahmed Graham", "reference"=>"Alan Corkery", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb90a7735335700760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700760000')} 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('530cb90a7735335700760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms Redirected to http://test.host/products/530cb90a7735335700760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700790000'), "name"=>"Miss Clemens Gerlach", "reference"=>"Dylan Kozey II", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700770000'), "author_name"=>"Marilyne Christiansen", "content"=>["Veritatis dolorem possimus aut eum est dolores. Veritatis voluptate in distinctio qui debitis eum. Pariatur saepe sint laudantium ea suscipit. Veniam amet et quia impedit cupiditate eveniet excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700780000'), "author_name"=>"Maryam Douglas", "content"=>["Et odit beatae aliquam quae perspiciatis. Eveniet eos dolor earum. Porro ea itaque. Neque magni aut tenetur maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb90a7735335700790000", "comment_id"=>"530cb90a7735335700770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700790000'), "comments._id"=>BSON::ObjectId('530cb90a7735335700770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb90a77353357007a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms Redirected to http://test.host/products/530cb90a7735335700790000/comments/530cb90a7735335700770000/comments/530cb90a77353357007a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357007d0000'), "name"=>"Alexa Langosh MD", "reference"=>"Shayna Watsica", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357007b0000'), "author_name"=>"Waino Murazik", "content"=>["Expedita aut quos saepe error. Minima est eius at fugiat et. Pariatur itaque et sunt aliquam. Harum sit aperiam consequatur laudantium est enim. Sit perspiciatis asperiores eum id placeat."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357007c0000'), "author_name"=>"Miss Elise Kessler", "content"=>["Quidem non consequatur est iure qui. Quia perferendis facilis et hic reiciendis. Laboriosam neque eos excepturi corrupti quo. Placeat rem voluptate velit. Dolores magnam quam reiciendis mollitia et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357007d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb90a77353357007d0000", "comment_id"=>"530cb90a77353357007b0000", "id"=>"530cb90a77353357007c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357007d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357007d0000'), "comments._id"=>BSON::ObjectId('530cb90a77353357007b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb90a77353357007c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Redirected to http://test.host/products/530cb90a77353357007d0000/comments/530cb90a77353357007b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357007d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700800000'), "name"=>"Dr. Shemar Wiza", "reference"=>"Mrs. Zoie Romaguera", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357007e0000'), "author_name"=>"Margarita Nitzsche", "content"=>["Velit dolorum molestiae dolores inventore odio explicabo voluptas. Saepe vero nisi ab non sit. Porro consequuntur recusandae in. Aut rem iste adipisci inventore eum et ad."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357007f0000'), "author_name"=>"Elliot Gleichner", "content"=>["Suscipit rerum dolorem optio maiores. Sed ullam in nihil. Sed ullam eaque. Illum sapiente pariatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb90a7735335700800000", "comment_id"=>"530cb90a77353357007e0000", "id"=>"530cb90a77353357007f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700830000'), "name"=>"Miss Zander D'Amore", "reference"=>"Mrs. Orlo Jacobson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700810000'), "author_name"=>"Eulah Paucek", "content"=>["Fugiat veritatis laudantium. Eum et minus. Voluptatem sint dolores et et consequatur perferendis repellat."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700820000'), "author_name"=>"Dr. Minnie Bashirian", "content"=>["Optio magnam adipisci aut ut. Tempore illum iusto harum rerum. Cumque quos sed iste dolorem error maiores non. Recusandae similique eaque saepe velit et. Quia ullam officiis suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb90a7735335700830000", "comment_id"=>"530cb90a7735335700810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700860000'), "name"=>"Theresia Feil Jr.", "reference"=>"Bernard Davis", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700840000'), "author_name"=>"Sonia Fisher DVM", "content"=>["Velit fugit facere dolorem. Dicta veniam earum et porro velit qui ipsa. Quae eligendi totam. Quae totam minus aut adipisci molestiae ipsa. Pariatur explicabo qui eos hic consequatur omnis sunt."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700850000'), "author_name"=>"Lorenz Sipes", "content"=>["Commodi et similique sequi. Dolore non officia ratione et nulla similique. Omnis voluptatem architecto nemo eum accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb90a7735335700860000", "comment_id"=>"530cb90a7735335700840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700890000'), "name"=>"Einar Mosciski", "reference"=>"Leo Treutel I", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700870000'), "author_name"=>"Garrison Stracke", "content"=>["Ex rerum officia sed velit nesciunt. Sapiente voluptatem ipsa. Commodi ut suscipit debitis officia ullam dolore. Veritatis sed dolores error."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700880000'), "author_name"=>"Ethan Reilly", "content"=>["Aut culpa vitae necessitatibus deserunt. Dolorem est fuga cum libero error dolores. Est laboriosam ipsum quisquam omnis aut doloremque. Tenetur ipsam voluptatem modi porro aliquid cum. Asperiores quos sit soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb90a7735335700890000", "comment_id"=>"530cb90a7735335700870000", "id"=>"530cb90a7735335700880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357008c0000'), "name"=>"Mrs. Elwin Harber", "reference"=>"Cristian Langworth", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357008a0000'), "author_name"=>"Destiny Kuvalis", "content"=>["Nihil in consectetur aut repudiandae quia. Labore laborum praesentium voluptas doloribus perferendis. Magni cumque aliquid labore."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357008b0000'), "author_name"=>"Hosea Rosenbaum", "content"=>["Saepe consectetur dignissimos ut vitae. Ad voluptatem nam ea adipisci eum magni ullam. Iusto dolor qui velit nobis odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb90a77353357008c0000", "comment_id"=>"530cb90a77353357008a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357008c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.9344ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 33ms (Views: 4.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a77353357008f0000'), "name"=>"Mrs. Jasper Goldner", "reference"=>"Nickolas Jacobi", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357008d0000'), "author_name"=>"Americo Rice", "content"=>["Rerum distinctio molestiae ab itaque maiores vero voluptatem. Et autem omnis nulla. Perferendis delectus dicta laborum adipisci. Dignissimos qui nulla optio et error itaque."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a77353357008e0000'), "author_name"=>"Everette Crist", "content"=>["Quidem laborum omnis natus quia totam sequi vitae. Sed delectus nulla. Officia doloribus molestiae. Eos ad vitae rerum dolore beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb90a77353357008f0000", "comment_id"=>"530cb90a77353357008d0000", "id"=>"530cb90a77353357008e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a77353357008f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700920000'), "name"=>"Matteo Treutel", "reference"=>"Fern Gulgowski PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700900000'), "author_name"=>"Osbaldo Berge", "content"=>["Ipsa ipsam quidem eligendi. Consectetur consequatur eos qui voluptatibus aut aut ut. In laudantium nesciunt voluptatem beatae. Autem reprehenderit quas ut aut ut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb90a7735335700910000'), "author_name"=>"Darrell Wuckert", "content"=>["Mollitia cum natus consequatur aperiam. Blanditiis recusandae in rerum et doloremque quasi. Tempora quia qui excepturi enim est voluptatem. Sit enim perferendis error deleniti praesentium. Vel voluptates eum fugit porro eum in praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb90a7735335700910000", "product_id"=>"530cb90a7735335700920000", "comment_id"=>"530cb90a7735335700900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb90a7735335700920000')} 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('530cb90a7735335700920000'), "comments._id"=>BSON::ObjectId('530cb90a7735335700900000'), "comments.0.comments._id"=>BSON::ObjectId('530cb90a7735335700910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Redirected to http://test.host/products/530cb90a7735335700920000/comments/530cb90a7735335700900000/comments/530cb90a7735335700910000 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('530cb90a7735335700930000'), "firstname"=>"Simeon", "lastname"=>"Feeney"}] 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.1680ms 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('530cb90a7735335700940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms Redirected to http://test.host/users/530cb90a7735335700940000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700950000'), "firstname"=>"Modesto", "lastname"=>"Brown"}] 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=>"admin_users", :query=>{}} runtime: 0.1591ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb90a7735335700950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a7735335700950000')} 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('530cb90a7735335700950000')} 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.1628ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700960000'), "firstname"=>"Fritz", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb90a7735335700960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a7735335700960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530cb90a7735335700970000'), "firstname"=>"Vladimir", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms 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.3647ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb90a7735335700980000'), "firstname"=>"Shaun", "lastname"=>"Swift"}] 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.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('530cb90a7735335700990000'), "firstname"=>"Raleigh", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb90a7735335700990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a7735335700990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms 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('530cb90a77353357009a0000'), "firstname"=>"Ruthe", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb90a77353357009a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb90a77353357009a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms Unpermitted parameters: name Redirected to http://test.host/users/530cb90a77353357009a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms 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.3157ms 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.3105ms 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.3048ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728000000'), "firstname"=>"Kacey", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2408ms 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('530cb9167735335728010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms 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.2658ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728020000'), "firstname"=>"Elda", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9167735335728020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728030000'), "firstname"=>"Mireille", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728040000'), "firstname"=>"Jaydon", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb9167735335728040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728050000'), "firstname"=>"Brian", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb9167735335728050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530cb9167735335728060000'), "name"=>"Leora Emard", "reference"=>"Mariela Wuckert", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728070000'), "author_name"=>"Caleigh Auer", "content"=>["Tempora qui consectetur odio sunt rem. Sit qui rerum deleniti. Amet laborum velit fuga placeat. Fugit perspiciatis minima. Rerum deserunt ut."]}]}] 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('530cb9167735335728060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9167735335728060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728060000')} 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('530cb9167735335728060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9167735335728080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Redirected to http://test.host/admin/products/530cb9167735335728060000/comments/530cb9167735335728080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728090000'), "name"=>"Francisca Hartmann", "reference"=>"Mr. Cassandra Lowe", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357280a0000'), "author_name"=>"Iva Hirthe", "content"=>["Commodi sint sunt fugiat veritatis odit molestias rem. Eligendi maiores dicta fugit ipsa reprehenderit consequuntur sapiente. Non non dolorem facere praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9167735335728090000", "id"=>"530cb91677353357280a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728090000')} 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('530cb9167735335728090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb91677353357280a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Redirected to http://test.host/admin/products/530cb9167735335728090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1920ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357280b0000'), "name"=>"Dr. Sarai Veum", "reference"=>"Estel Raynor", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357280c0000'), "author_name"=>"Maxine Renner", "content"=>["Ex et suscipit aut. Illo earum et commodi corporis sed sequi incidunt. Laudantium voluptatem modi nemo id. Deleniti modi reiciendis voluptatibus accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb91677353357280b0000", "id"=>"530cb91677353357280c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357280b0000')} 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 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357280d0000'), "name"=>"Dr. Sherwood Wiza", "reference"=>"Mr. Ruth Kiehn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357280e0000'), "author_name"=>"Kariane Goldner", "content"=>["Laboriosam asperiores nostrum vel delectus. Veritatis hic autem cumque delectus velit commodi nihil. Nulla delectus deserunt iure. Ut rem debitis odio sapiente. Vel quidem laborum placeat odit provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb91677353357280d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357280d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357280f0000'), "name"=>"Tyra Collier", "reference"=>"Mozelle Kohler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728100000'), "author_name"=>"Noe Mitchell", "content"=>["Qui tempore eos consequatur quo. Aliquam rem vitae non blanditiis dolores iste illum. Aperiam non quod fugit sapiente qui. Voluptas libero vel deleniti. Similique dolores rerum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb91677353357280f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357280f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728110000'), "name"=>"Mr. Karen Padberg", "reference"=>"Gage Windler DVM", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728120000'), "author_name"=>"Mr. Federico Feeney", "content"=>["Nulla et sed deserunt alias quia. Modi illo distinctio velit reiciendis. Nam repellat voluptatem ut nihil recusandae. Repudiandae quasi cupiditate iste ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb9167735335728110000", "id"=>"530cb9167735335728120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728130000'), "name"=>"Russel Abbott", "reference"=>"Estelle Gleason", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728140000'), "author_name"=>"Ernestine Kirlin DVM", "content"=>["Consequatur a voluptatem numquam tempora. Rerum a alias. Necessitatibus qui voluptatum delectus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9167735335728140000", "product_id"=>"530cb9167735335728130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728130000'), "comments._id"=>BSON::ObjectId('530cb9167735335728140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Redirected to http://test.host/admin/products/530cb9167735335728130000/comments/530cb9167735335728140000 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('530cb9167735335728150000'), "name"=>"Clemens Nikolaus", "reference"=>"Dr. Josephine Hyatt", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb9167735335728160000'), "firstname"=>"Eda", "lastname"=>"Bogan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb9167735335728150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9167735335728170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms Redirected to http://test.host/admin/products/530cb9167735335728150000/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('530cb9167735335728180000'), "name"=>"Lexus Dach", "reference"=>"Julien Considine", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb9167735335728190000'), "firstname"=>"Hubert", "lastname"=>"Grady"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb9167735335728190000", "product_id"=>"530cb9167735335728180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357281a0000'), "name"=>"Garret Rodriguez DVM", "reference"=>"Lacy Predovic", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb91677353357281b0000'), "firstname"=>"Hailie", "lastname"=>"Jacobs"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb91677353357281a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357281a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357281c0000'), "name"=>"Clement Block MD", "reference"=>"Ms. Name Stark", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb91677353357281d0000'), "firstname"=>"Maritza", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb91677353357281d0000", "product_id"=>"530cb91677353357281c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357281c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357281e0000'), "name"=>"Linnea Cassin", "reference"=>"Leilani Kshlerin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb91677353357281f0000'), "firstname"=>"Priscilla", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb91677353357281f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb91677353357281e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357281e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb91677353357281e0000/manager Completed 302 Found in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728200000'), "name"=>"Miss Jeramy Mertz", "reference"=>"Miss Keara Flatley", "quantity"=>"8"}] 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.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('530cb9167735335728210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Redirected to http://test.host/admin/products/530cb9167735335728210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728220000'), "name"=>"Alexis Mueller", "reference"=>"Jeffry Schmitt", "quantity"=>"0"}] 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.1760ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb9167735335728220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728220000')} 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('530cb9167735335728220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.8036ms Redirected to http://test.host/admin/products Completed 302 Found in 15ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2003ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728230000'), "name"=>"Sonia Ritchie", "reference"=>"Dewitt Kozey", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb9167735335728230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728240000'), "name"=>"Dr. Holly Watsica", "reference"=>"Pierre Pfannerstill", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms 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.5449ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728250000'), "name"=>"Jaleel Franecki Sr.", "reference"=>"Natalia Berge IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728280000'), "name"=>"Scarlett Hammes", "reference"=>"Hilbert Bahringer", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb9167735335728280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms 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('530cb9167735335728290000'), "name"=>"Vincenza Hintz", "reference"=>"Brenden Bauch", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9167735335728290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728290000')} 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('530cb9167735335728290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Redirected to http://test.host/admin/products/530cb9167735335728290000 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('530cb91677353357282a0000'), "firstname"=>"Cleora", "lastname"=>"Crona"}] 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('530cb91677353357282b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Redirected to http://test.host/admin/users/530cb91677353357282b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1978ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb91677353357282c0000'), "firstname"=>"Fern", "lastname"=>"Auer"}] 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=>"admin_users", :query=>{}} runtime: 0.1736ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb91677353357282c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb91677353357282c0000')} 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('530cb91677353357282c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms 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.1797ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb91677353357282d0000'), "firstname"=>"Nannie", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb91677353357282d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb91677353357282d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('530cb91677353357282e0000'), "firstname"=>"Treva", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms 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.3973ms Completed 200 OK in 38ms (Views: 37.8ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb91677353357282f0000'), "firstname"=>"Nova", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9167735335728300000'), "firstname"=>"Jakob", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb9167735335728300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9167735335728300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9167735335728310000'), "firstname"=>"Adolph", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb9167735335728310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9167735335728310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb9167735335728310000 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('530cb9167735335728320000'), "firstname"=>"Gustave", "lastname"=>"Feil"}] 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=>"administrators", :query=>{}} runtime: 0.1667ms 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('530cb9167735335728330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms 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.1879ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728340000'), "firstname"=>"Shanon", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9167735335728340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728350000'), "firstname"=>"Kari", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728360000'), "firstname"=>"Sim", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb9167735335728360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9167735335728370000'), "firstname"=>"Jairo", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb9167735335728370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9167735335728370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms 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('530cb9167735335728380000'), "name"=>"Mr. Cindy Klein", "reference"=>"Elliott Denesik II", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728390000'), "author_name"=>"Piper Bailey I", "content"=>["Architecto deleniti fugit. Natus fugit molestiae voluptatem distinctio est consequuntur. Quisquam aut reiciendis occaecati optio necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9167735335728380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728380000')} 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('530cb9167735335728380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb91677353357283a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5349ms Redirected to http://test.host/products/530cb9167735335728380000/comments/530cb91677353357283a0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357283b0000'), "name"=>"Nickolas Kunde", "reference"=>"Marshall Langosh", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357283c0000'), "author_name"=>"Ezra Kreiger", "content"=>["Rem et laudantium. Alias commodi recusandae omnis. Quidem qui ut aperiam doloremque animi. Sint veniam hic. Libero pariatur et dolores suscipit sit deleniti dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357283b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb91677353357283b0000", "id"=>"530cb91677353357283c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357283b0000')} 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('530cb91677353357283b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb91677353357283c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/products/530cb91677353357283b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357283b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357283d0000'), "name"=>"Loma Cremin", "reference"=>"Mack Green", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357283e0000'), "author_name"=>"Forrest Runolfsson", "content"=>["Et placeat in perspiciatis id recusandae. Qui quas aut optio rem. Rerum accusamus sed est distinctio. Vel dignissimos enim quisquam rerum quis. Error consequatur voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb91677353357283d0000", "id"=>"530cb91677353357283e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357283d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91677353357283f0000'), "name"=>"Nyasia Hickle", "reference"=>"Pink Hickle", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728400000'), "author_name"=>"Justice Hessel", "content"=>["Sunt quo eos sit. Laudantium id ipsa occaecati. Voluptatem consequatur error tempore eos voluptas saepe consectetur. Dolorem nesciunt voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb91677353357283f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91677353357283f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728410000'), "name"=>"Oral Hegmann Jr.", "reference"=>"Ms. Freddy Simonis", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728420000'), "author_name"=>"Nina Hauck", "content"=>["Velit inventore minus sint rerum. Corrupti deserunt expedita totam consequatur. Et eligendi aut magni numquam architecto. Ut deleniti rem aut accusamus asperiores doloribus. Earum nihil necessitatibus ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb9167735335728410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728430000'), "name"=>"Austin Vandervort PhD", "reference"=>"Mazie Gorczany I", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728440000'), "author_name"=>"Magdalena Nader", "content"=>["Molestias doloribus maxime quis. Et in recusandae dolorem exercitationem tenetur ad. Voluptas quia sunt tempora animi eum ad. Voluptatem quibusdam doloremque accusamus corrupti et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb9167735335728430000", "id"=>"530cb9167735335728440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728450000'), "name"=>"Emma Borer", "reference"=>"Maureen Huel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728460000'), "author_name"=>"Miss Kian Schuppe", "content"=>["Aut libero perferendis quaerat doloribus est delectus voluptates. Alias aliquid cupiditate exercitationem repellendus rem. Aut voluptatem nisi iure. Voluptas ut repudiandae quaerat rerum maxime doloremque. Quia quia non est quis tempore qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb9167735335728450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728470000'), "name"=>"Ms. Green Durgan", "reference"=>"Brannon Ortiz", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb9167735335728480000'), "author_name"=>"Mr. Titus Jacobs", "content"=>["Tenetur eveniet enim. Molestias voluptatem sunt explicabo sit. Omnis aliquam nemo. Pariatur delectus fuga quas suscipit quisquam repellendus. Repellendus ea ut suscipit corporis quos voluptatibus aperiam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb9167735335728470000", "id"=>"530cb9167735335728480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms Completed 200 OK in 30ms (Views: 27.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9167735335728490000'), "name"=>"Edmund Gusikowski", "reference"=>"Susanna Jast", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb91677353357284a0000'), "author_name"=>"Eino Greenfelder", "content"=>["Inventore quia aliquid. Deleniti aliquam ullam recusandae pariatur qui tempora praesentium. Nemo repellat et recusandae dolorem corporis consequatur. Possimus aspernatur blanditiis qui et culpa totam voluptas. Rerum laboriosam non repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb91677353357284a0000", "product_id"=>"530cb9167735335728490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9167735335728490000')} 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('530cb9167735335728490000'), "comments._id"=>BSON::ObjectId('530cb91677353357284a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms Redirected to http://test.host/products/530cb9167735335728490000/comments/530cb91677353357284a0000 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('530cb91677353357284b0000'), "firstname"=>"Zetta", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1855ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb91677353357284c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Redirected to http://test.host/admin/clients/530cb91677353357284c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2160ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb91677353357284d0000'), "firstname"=>"Matilde", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms 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"=>"530cb91677353357284d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb91677353357284d0000')} 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('530cb91677353357284d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms 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.1831ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb91677353357284e0000'), "firstname"=>"Bell", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb91677353357284e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb91677353357284e0000')} 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.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('530cb91677353357284f0000'), "firstname"=>"Ettie", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('530cb9167735335728500000'), "firstname"=>"Baron", "lastname"=>"Goyette"}] 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 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('530cb9167735335728510000'), "firstname"=>"Jaqueline", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7267ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9167735335728510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9167735335728510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms 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('530cb9167735335728520000'), "firstname"=>"Salma", "lastname"=>"Hand"}] 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"=>"530cb9167735335728520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9167735335728520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9167735335728520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/admin/clients/530cb9167735335728520000 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('530cb9167735335728530000'), "firstname"=>"Griffin", "lastname"=>"Runolfsdottir"}] 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.1766ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9167735335728540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Redirected to http://test.host/clients/530cb9167735335728540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9167735335728550000'), "firstname"=>"Braulio", "lastname"=>"Durgan"}] 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.1677ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb9167735335728550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9167735335728550000')} 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('530cb9167735335728550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms 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('530cb9167735335728560000'), "firstname"=>"Graham", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb9167735335728560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9167735335728560000')} 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.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('530cb9167735335728570000'), "firstname"=>"Lenore", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9167735335728580000'), "firstname"=>"Isaias", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb9177735335728590000'), "firstname"=>"Fermin", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9177735335728590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9177735335728590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb91777353357285a0000'), "firstname"=>"Ferne", "lastname"=>"McDermott"}] 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"=>"530cb91777353357285a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb91777353357285a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb91777353357285a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms Redirected to http://test.host/clients/530cb91777353357285a0000 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('530cb91777353357285b0000'), "name"=>"Arielle Parker PhD", "reference"=>"Mr. Aletha Carter", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb91777353357285c0000'), "firstname"=>"Jerad", "lastname"=>"Ritchie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb91777353357285b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357285b0000')} 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('530cb91777353357285b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357285b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb91777353357285d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms Redirected to http://test.host/products/530cb91777353357285b0000/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('530cb91777353357285e0000'), "name"=>"Omer Doyle", "reference"=>"Madelyn Bauch", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb91777353357285f0000'), "firstname"=>"Keyon", "lastname"=>"Kuhlman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb91777353357285f0000", "product_id"=>"530cb91777353357285e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357285e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728600000'), "name"=>"Rickie Watsica", "reference"=>"Noble Schumm DVM", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb9177735335728610000'), "firstname"=>"Hallie", "lastname"=>"Mraz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb9177735335728600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728620000'), "name"=>"Dr. Kelley Windler", "reference"=>"Cruz Kuhn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb9177735335728630000'), "firstname"=>"Fred", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb9177735335728630000", "product_id"=>"530cb9177735335728620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728640000'), "name"=>"Dr. Alia Hintz", "reference"=>"Gabrielle Homenick", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb9177735335728650000'), "firstname"=>"Celia", "lastname"=>"Moore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb9177735335728650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb9177735335728640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Unpermitted parameters: name Redirected to http://test.host/products/530cb9177735335728640000/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('530cb9177735335728660000'), "name"=>"Mallie Bernier", "reference"=>"Miss Patsy Schultz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1791ms 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('530cb9177735335728670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Redirected to http://test.host/products/530cb9177735335728670000 Completed 302 Found in 3ms 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('530cb9177735335728680000'), "name"=>"Davin Kuhic", "reference"=>"Narciso Funk", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb9177735335728680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms 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('530cb9177735335728690000'), "name"=>"Kaya Fahey Jr.", "reference"=>"Korey Kassulke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb9177735335728690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb91777353357286a0000'), "name"=>"Sim Walker", "reference"=>"Mr. Shad Bartell", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms 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.7868ms Completed 200 OK in 48ms (Views: 47.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91777353357286b0000'), "name"=>"Jordy Keeling", "reference"=>"Gay Kris", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms 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.7747ms 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('530cb91777353357286c0000'), "name"=>"Chloe Emard", "reference"=>"Lorenz Rolfson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb91777353357286c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357286c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms 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('530cb91777353357286d0000'), "name"=>"Shanelle Nader", "reference"=>"Esmeralda Dare DDS", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms 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.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91777353357286f0000'), "name"=>"Robb Ledner", "reference"=>"Merle McCullough", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb91777353357286f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357286f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728700000'), "name"=>"Cyril Hauck", "reference"=>"Mr. Shanie Von", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1807ms 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('530cb9177735335728710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms 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('530cb9177735335728720000'), "name"=>"Yasmine Marquardt", "reference"=>"Leo Krajcik", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb9177735335728720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728720000')} 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('530cb9177735335728720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms 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('530cb9177735335728730000'), "name"=>"Marian Smitham", "reference"=>"Sarai Hessel IV", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1928ms 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('530cb9177735335728750000'), "name"=>"Karianne Murray", "reference"=>"Andres Labadie", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9177735335728750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728750000')} 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('530cb9177735335728750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms 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('530cb9177735335728760000'), "name"=>"Cayla Jacobson", "reference"=>"Adell Bode", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9177735335728760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms Redirected to http://test.host/products/530cb9177735335728760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728790000'), "name"=>"Lee Padberg", "reference"=>"Mr. Adrianna Orn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728770000'), "author_name"=>"Remington Jones V", "content"=>["Et velit sit possimus autem. Molestiae in quia sed corporis cupiditate dolor. Eum deleniti facilis rerum quia omnis perspiciatis impedit. In dolor quis ipsa autem nihil nemo. Aperiam possimus numquam et excepturi sit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728780000'), "author_name"=>"Colton Stamm", "content"=>["Tempore fuga incidunt voluptas voluptatem. Aperiam sequi dolore nihil totam iste provident quo. Impedit tenetur voluptate natus repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9177735335728790000", "comment_id"=>"530cb9177735335728770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728790000')} 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('530cb9177735335728790000'), "comments._id"=>BSON::ObjectId('530cb9177735335728770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb91777353357287a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Redirected to http://test.host/products/530cb9177735335728790000/comments/530cb9177735335728770000/comments/530cb91777353357287a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91777353357287d0000'), "name"=>"Dr. Talia Sauer", "reference"=>"Ashley Konopelski", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357287b0000'), "author_name"=>"Loraine Smitham", "content"=>["Explicabo saepe repellat occaecati inventore accusamus rem velit. Rerum magni culpa itaque corporis vero quia. Consequuntur sit dolor sed omnis ut ex. Facere laborum ipsam ut veniam."], "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357287c0000'), "author_name"=>"Rhiannon Klocko", "content"=>["Ut vel odio quisquam et sunt et. Non sit eum. Occaecati quidem eligendi ipsum eius. Et et ea neque. Et repellat assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357287d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb91777353357287d0000", "comment_id"=>"530cb91777353357287b0000", "id"=>"530cb91777353357287c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357287d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357287d0000'), "comments._id"=>BSON::ObjectId('530cb91777353357287b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb91777353357287c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Redirected to http://test.host/products/530cb91777353357287d0000/comments/530cb91777353357287b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357287d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728800000'), "name"=>"Tressie Jacobi", "reference"=>"Osvaldo Huel", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357287e0000'), "author_name"=>"Ericka Green", "content"=>["Aut voluptatem eveniet earum atque itaque et eligendi. Quo quibusdam vel eum. Vitae voluptatem porro fuga explicabo minima distinctio earum. Dolorem corporis sequi officiis odit. Aut blanditiis repellat illum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357287f0000'), "author_name"=>"Destinee Leuschke", "content"=>["Provident consequatur qui tempore aperiam dolorem sequi et. Doloremque voluptates deleniti eaque voluptas perferendis voluptatem. Officia rerum aliquam quia provident animi fugiat. Sit sit qui quod dolor magni quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb9177735335728800000", "comment_id"=>"530cb91777353357287e0000", "id"=>"530cb91777353357287f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728800000')} 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.6ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728830000'), "name"=>"Onie Fisher", "reference"=>"Bonnie Collins MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728810000'), "author_name"=>"Arno Jast", "content"=>["Unde qui beatae et. Et doloremque aut fuga voluptatibus quibusdam. Aut minus velit et aliquid nemo rerum. Ea cupiditate consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728820000'), "author_name"=>"Ned Corkery", "content"=>["At dolorum sit mollitia quos esse quis. Ad dignissimos omnis doloremque dolorem aperiam est. Iste dolorum autem rerum velit quos voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb9177735335728830000", "comment_id"=>"530cb9177735335728810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728860000'), "name"=>"Brendan Haag Sr.", "reference"=>"Titus Wiza", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728840000'), "author_name"=>"Lilyan Mraz IV", "content"=>["Libero sunt quis. Ex qui qui maxime. Sequi sint et neque dolorum iste aut. Quis voluptate inventore. Asperiores distinctio illo earum eos dicta."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728850000'), "author_name"=>"Bernita Shanahan", "content"=>["Qui doloribus nam quo dolores dolorem. Enim voluptas distinctio. Iure sit similique. Et sed occaecati velit repudiandae sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb9177735335728860000", "comment_id"=>"530cb9177735335728840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728890000'), "name"=>"Dessie Daugherty", "reference"=>"Ellsworth Towne", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728870000'), "author_name"=>"Kennedi Gottlieb", "content"=>["Quia distinctio et est sint odit voluptatum ratione. Fugit veritatis repudiandae omnis officiis aut quasi quia. Minima ut qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728880000'), "author_name"=>"Marcellus Robel", "content"=>["Voluptas nisi assumenda et quae incidunt quidem. Ut tenetur voluptatem nisi mollitia id ex vitae. Illum asperiores inventore. Nihil aspernatur culpa earum quia voluptatem alias possimus. Facere ducimus voluptas quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb9177735335728890000", "comment_id"=>"530cb9177735335728870000", "id"=>"530cb9177735335728880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91777353357288c0000'), "name"=>"Diana Zemlak V", "reference"=>"Ms. Dustin Kuhic", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357288a0000'), "author_name"=>"Lindsay Kemmer", "content"=>["Voluptate dolorum voluptates perferendis ea dolorem quod. Laudantium odio non maiores perferendis. Sequi tempore hic ad natus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357288b0000'), "author_name"=>"Arvel Gibson", "content"=>["Consequatur dolores dolor. Quod vel omnis culpa odio at. Nulla qui sed non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb91777353357288c0000", "comment_id"=>"530cb91777353357288a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357288c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb91777353357288f0000'), "name"=>"Jamie Stoltenberg", "reference"=>"Dr. Charlie Witting", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357288d0000'), "author_name"=>"Cora Goyette", "content"=>["Voluptatem laboriosam repudiandae est commodi delectus voluptas sed. Incidunt perferendis sunt sint molestiae molestias. Sunt ipsum quo assumenda quasi. Ducimus enim est repellendus dolor sit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb91777353357288e0000'), "author_name"=>"Lucienne Schamberger", "content"=>["Non aliquam dolores et tempore non similique quis. Esse consectetur quia explicabo quos. Architecto voluptatibus asperiores modi sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb91777353357288f0000", "comment_id"=>"530cb91777353357288d0000", "id"=>"530cb91777353357288e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb91777353357288f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9177735335728920000'), "name"=>"Lexus Berge", "reference"=>"Tobin Crist", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728900000'), "author_name"=>"Miss Desmond Bogan", "content"=>["Quia architecto est. Similique officia eum repellat quam qui est facilis. Tempora qui vero fugit."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9177735335728910000'), "author_name"=>"Zack Hartmann MD", "content"=>["Quia ipsa esse deleniti. Quidem occaecati odio beatae. Et non libero. Delectus eligendi quos sit voluptatem iure voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9177735335728910000", "product_id"=>"530cb9177735335728920000", "comment_id"=>"530cb9177735335728900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9177735335728920000'), "comments._id"=>BSON::ObjectId('530cb9177735335728900000'), "comments.0.comments._id"=>BSON::ObjectId('530cb9177735335728910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Redirected to http://test.host/products/530cb9177735335728920000/comments/530cb9177735335728900000/comments/530cb9177735335728910000 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('530cb9177735335728930000'), "firstname"=>"Ardella", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms 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('530cb9177735335728940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Redirected to http://test.host/users/530cb9177735335728940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2072ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9177735335728950000'), "firstname"=>"Brad", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms 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"=>"530cb9177735335728950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9177735335728950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9177735335728950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms 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.1957ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9177735335728960000'), "firstname"=>"Elta", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb9177735335728960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9177735335728960000')} 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.5ms) 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('530cb9177735335728970000'), "firstname"=>"Gretchen", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms 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.3413ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9177735335728980000'), "firstname"=>"Kevin", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb9177735335728990000'), "firstname"=>"Lucy", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb9177735335728990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9177735335728990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms 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('530cb91777353357289a0000'), "firstname"=>"Madisen", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb91777353357289a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb91777353357289a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Unpermitted parameters: name Redirected to http://test.host/users/530cb91777353357289a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms 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.3208ms 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.3177ms 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.3063ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b877353357b1000000'), "firstname"=>"Casey", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2072ms 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('530cb9b877353357b1010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms 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.2413ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b877353357b1020000'), "firstname"=>"Judge", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9b877353357b1020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b877353357b1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 19.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b877353357b1030000'), "firstname"=>"Dorothea", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8148ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b877353357b1040000'), "firstname"=>"Reginald", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb9b877353357b1040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b877353357b1040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b877353357b1050000'), "firstname"=>"Saul", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb9b877353357b1050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b877353357b1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms 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('530cb9b977353357b1060000'), "name"=>"Deonte Wilkinson", "reference"=>"Dr. Chaya Kling", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1070000'), "author_name"=>"Amber Kunze", "content"=>["Ex quo ut. Ut voluptas deserunt. Ut ut qui autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9b977353357b1060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1060000')} 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('530cb9b977353357b1060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms Redirected to http://test.host/admin/products/530cb9b977353357b1060000/comments/530cb9b977353357b1080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1090000'), "name"=>"Eldon Cassin", "reference"=>"Cielo Spencer DVM", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b10a0000'), "author_name"=>"Wilhelm Murphy", "content"=>["Quo explicabo molestiae cumque et. Rerum consequatur ducimus vero recusandae. Qui eius et dolorem tenetur a eum inventore. Odit harum quis sunt quia et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2063ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9b977353357b1090000", "id"=>"530cb9b977353357b10a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9b977353357b10a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Redirected to http://test.host/admin/products/530cb9b977353357b1090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b10b0000'), "name"=>"Eve Veum", "reference"=>"Miss Henderson Schultz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b10c0000'), "author_name"=>"Mrs. Kale Hegmann", "content"=>["Voluptatum voluptate et sequi consequuntur voluptatibus sit ut. Dolore aspernatur enim earum id culpa sapiente rem. Nemo perspiciatis laboriosam facilis et et. Consequuntur eos excepturi quae facere est minima. Est nostrum reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1706ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb9b977353357b10b0000", "id"=>"530cb9b977353357b10c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b10b0000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b10d0000'), "name"=>"Peggie Von", "reference"=>"Cary McClure", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b10e0000'), "author_name"=>"Timmothy Davis", "content"=>["Nihil velit ut doloribus. Laudantium itaque quisquam quis. Provident qui amet est quam. Magnam et optio ut. In ipsum culpa sed dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb9b977353357b10d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b10f0000'), "name"=>"Floy Hodkiewicz", "reference"=>"Ms. Helena Nikolaus", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1100000'), "author_name"=>"Sibyl McCullough", "content"=>["Omnis ut quis. Qui placeat eum mollitia dolores aspernatur minima. Aut est sint commodi autem tempora ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb9b977353357b10f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1110000'), "name"=>"Gladyce Christiansen", "reference"=>"Lindsay Hudson V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1120000'), "author_name"=>"Luz Hansen", "content"=>["Fuga repudiandae voluptas maxime et. Tenetur velit qui sed. Deserunt quia quia tenetur enim provident est. Qui vel voluptatum facilis laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb9b977353357b1110000", "id"=>"530cb9b977353357b1120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1130000'), "name"=>"Arlene Klein", "reference"=>"Shana Stokes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1140000'), "author_name"=>"Rahul Kassulke", "content"=>["Voluptas sapiente cupiditate harum aspernatur aut nulla. Natus et quibusdam minima. Aliquid hic atque sed. Ut consequatur et aut dicta ea ut sunt. Error voluptate aspernatur maiores voluptatem dolorum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9b977353357b1140000", "product_id"=>"530cb9b977353357b1130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1130000'), "comments._id"=>BSON::ObjectId('530cb9b977353357b1140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms Redirected to http://test.host/admin/products/530cb9b977353357b1130000/comments/530cb9b977353357b1140000 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('530cb9b977353357b1150000'), "name"=>"Greyson Osinski", "reference"=>"Kariane Murazik", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1160000'), "firstname"=>"Kristin", "lastname"=>"Simonis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb9b977353357b1150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Redirected to http://test.host/admin/products/530cb9b977353357b1150000/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('530cb9b977353357b1180000'), "name"=>"Zoey Rath DDS", "reference"=>"Mr. Kenya Schulist", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1190000'), "firstname"=>"Irving", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb9b977353357b1190000", "product_id"=>"530cb9b977353357b1180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b11a0000'), "name"=>"Marisa Kling PhD", "reference"=>"Enrique Abshire V", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b11b0000'), "firstname"=>"Enrique", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb9b977353357b11a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b11c0000'), "name"=>"Mrs. Jamil Moen", "reference"=>"Mrs. Theodora Bogan", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b11d0000'), "firstname"=>"Armand", "lastname"=>"Brekke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb9b977353357b11d0000", "product_id"=>"530cb9b977353357b11c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b11e0000'), "name"=>"Wendy McKenzie IV", "reference"=>"Ralph Gulgowski", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b11f0000'), "firstname"=>"Susana", "lastname"=>"Denesik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb9b977353357b11f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb9b977353357b11e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb9b977353357b11e0000/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('530cb9b977353357b1200000'), "name"=>"Leif Kuhic", "reference"=>"Maritza Kuphal", "quantity"=>"8"}] 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.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('530cb9b977353357b1210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Redirected to http://test.host/admin/products/530cb9b977353357b1210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1220000'), "name"=>"Ms. Katlyn Gottlieb", "reference"=>"Rickie Roob", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1758ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb9b977353357b1220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms 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('530cb9b977353357b1230000'), "name"=>"Edmund Walter MD", "reference"=>"Paxton Kessler", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb9b977353357b1230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1240000'), "name"=>"Stefanie Beahan", "reference"=>"Ines Deckow MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms 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.5151ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1250000'), "name"=>"Hanna Dietrich", "reference"=>"Laverna Bogan", "quantity"=>"8"}] 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.6ms) Completed 200 OK in 21ms (Views: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1280000'), "name"=>"Rafaela Harber", "reference"=>"Camila Goyette MD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb9b977353357b1280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms 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('530cb9b977353357b1290000'), "name"=>"Dusty Mayert", "reference"=>"Amelie Smitham", "quantity"=>"1"}] 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"=>"530cb9b977353357b1290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1290000')} 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('530cb9b977353357b1290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Redirected to http://test.host/admin/products/530cb9b977353357b1290000 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('530cb9b977353357b12a0000'), "firstname"=>"Yasmin", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1745ms 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('530cb9b977353357b12b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Redirected to http://test.host/admin/users/530cb9b977353357b12b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1876ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b12c0000'), "firstname"=>"Lavina", "lastname"=>"Schaden"}] 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=>"admin_users", :query=>{}} runtime: 0.1727ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb9b977353357b12c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9b977353357b12c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9b977353357b12c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms 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.1795ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b12d0000'), "firstname"=>"Donato", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb9b977353357b12d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9b977353357b12d0000')} 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.7ms) Completed 200 OK in 7ms (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('530cb9b977353357b12e0000'), "firstname"=>"Elza", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms 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.4244ms Completed 200 OK in 38ms (Views: 37.8ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b12f0000'), "firstname"=>"Yadira", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1300000'), "firstname"=>"Mike", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb9b977353357b1300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9b977353357b1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1310000'), "firstname"=>"Perry", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7137ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb9b977353357b1310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9b977353357b1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb9b977353357b1310000 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('530cb9b977353357b1320000'), "firstname"=>"Lloyd", "lastname"=>"Breitenberg"}] 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=>"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('530cb9b977353357b1330000'), "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.1924ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1340000'), "firstname"=>"Tina", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9b977353357b1340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b977353357b1340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1350000'), "firstname"=>"Carissa", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1360000'), "firstname"=>"Alta", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb9b977353357b1360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b977353357b1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1370000'), "firstname"=>"Berniece", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb9b977353357b1370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9b977353357b1370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms 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('530cb9b977353357b1380000'), "name"=>"Clay Spencer DVM", "reference"=>"Zola Kuhlman V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1390000'), "author_name"=>"Erica Legros", "content"=>["Unde deleniti deserunt. Hic odio quis. Tempore voluptatem quo enim et blanditiis impedit. Omnis laboriosam non suscipit doloremque nobis fuga debitis. Deserunt et aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9b977353357b1380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9b977353357b13a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms Redirected to http://test.host/products/530cb9b977353357b1380000/comments/530cb9b977353357b13a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b13b0000'), "name"=>"Christa Kiehn", "reference"=>"Micah Zulauf DDS", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b13c0000'), "author_name"=>"Jose Pfannerstill", "content"=>["Aut quas quasi eaque perferendis fugit nobis. Sequi facilis ratione eum. Omnis voluptatum ad consequatur minima facilis cumque. Voluptatibus perspiciatis quia reprehenderit. Quia similique vero amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2002ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9b977353357b13b0000", "id"=>"530cb9b977353357b13c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b13b0000')} 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('530cb9b977353357b13b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9b977353357b13c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Redirected to http://test.host/products/530cb9b977353357b13b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b13d0000'), "name"=>"Beaulah Mann", "reference"=>"Vincenzo Wuckert IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b13e0000'), "author_name"=>"Filomena Kovacek", "content"=>["Expedita voluptatibus similique placeat consequuntur commodi molestiae. Rerum dolorem est laborum sunt. Soluta praesentium labore sit accusantium consequatur. Est dicta placeat impedit est aut in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb9b977353357b13d0000", "id"=>"530cb9b977353357b13e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b13d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b13f0000'), "name"=>"Malachi Kertzmann", "reference"=>"Mrs. Armani Sauer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1400000'), "author_name"=>"Sallie Stiedemann", "content"=>["Cumque est labore dolore voluptatum unde saepe. Possimus ea nulla quia aut libero temporibus et. Earum sit ex neque. Rerum excepturi corrupti et. Nihil nobis rerum alias et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb9b977353357b13f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b13f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1410000'), "name"=>"Jeffry Orn", "reference"=>"Julia Leuschke", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1420000'), "author_name"=>"Herman Stoltenberg", "content"=>["Aut voluptas enim saepe cumque molestias. Quia hic et. Voluptas ut sed ex non fuga ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb9b977353357b1410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1430000'), "name"=>"Arielle Upton", "reference"=>"Dorian Cartwright", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1440000'), "author_name"=>"Jarrett Watsica", "content"=>["Culpa provident maiores quia dicta. Et quasi alias labore corrupti. Tempore porro alias pariatur non rem esse aut. Harum eos maxime officiis asperiores voluptatem quos adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2040ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb9b977353357b1430000", "id"=>"530cb9b977353357b1440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1450000'), "name"=>"Sterling Boyle III", "reference"=>"Mitchel Carroll", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1460000'), "author_name"=>"Bulah Eichmann", "content"=>["Aut sed dolorem. Temporibus nobis aliquid hic doloremque. Accusamus consequatur est labore quibusdam. Et dicta odit voluptatem quia. Illo optio quisquam repudiandae commodi modi soluta dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb9b977353357b1450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1470000'), "name"=>"Yvette Stamm MD", "reference"=>"Mrs. Ryleigh Kilback", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b1480000'), "author_name"=>"Dejah Willms", "content"=>["Pariatur voluptatem et minus aut et porro. Error repellat et dolores facere est. Repellat explicabo tenetur nisi esse sed magni. Alias corrupti minima. Iusto quidem aut ut dolorem minus alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb9b977353357b1470000", "id"=>"530cb9b977353357b1480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Completed 200 OK in 30ms (Views: 27.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1490000'), "name"=>"Horacio Senger", "reference"=>"Mr. Oswaldo Wilkinson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9b977353357b14a0000'), "author_name"=>"Miss Rey Donnelly", "content"=>["Voluptas qui id omnis molestiae. Minus perferendis magni qui natus voluptatem voluptatem. Enim voluptatem et dolorum. Deserunt nam distinctio quia qui ea quia laudantium. Cupiditate fugit maxime fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9b977353357b14a0000", "product_id"=>"530cb9b977353357b1490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1490000'), "comments._id"=>BSON::ObjectId('530cb9b977353357b14a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Redirected to http://test.host/products/530cb9b977353357b1490000/comments/530cb9b977353357b14a0000 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('530cb9b977353357b14b0000'), "firstname"=>"Curt", "lastname"=>"VonRueden"}] 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=>"clients", :query=>{}} runtime: 0.2278ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b14c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Redirected to http://test.host/admin/clients/530cb9b977353357b14c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2500ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b14d0000'), "firstname"=>"Marisa", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2391ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb9b977353357b14d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b14d0000')} 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('530cb9b977353357b14d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms 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.2482ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b14e0000'), "firstname"=>"Blaise", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb9b977353357b14e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530cb9b977353357b14f0000'), "firstname"=>"Tanner", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms 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('530cb9b977353357b1500000'), "firstname"=>"Joe", "lastname"=>"Grant"}] 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 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('530cb9b977353357b1510000'), "firstname"=>"Cristina", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9b977353357b1510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b1510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms 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('530cb9b977353357b1520000'), "firstname"=>"Ephraim", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb9b977353357b1520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b1520000')} 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('530cb9b977353357b1520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms Redirected to http://test.host/admin/clients/530cb9b977353357b1520000 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('530cb9b977353357b1530000'), "firstname"=>"Lindsey", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1740ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/clients/530cb9b977353357b1540000 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('530cb9b977353357b1550000'), "firstname"=>"Gianni", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1657ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb9b977353357b1550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b1550000')} 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('530cb9b977353357b1550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms 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('530cb9b977353357b1560000'), "firstname"=>"Jamison", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb9b977353357b1560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b1560000')} 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 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('530cb9b977353357b1570000'), "firstname"=>"Lincoln", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1580000'), "firstname"=>"Easton", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1590000'), "firstname"=>"Maurice", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9b977353357b1590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b1590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b15a0000'), "firstname"=>"Patsy", "lastname"=>"Hodkiewicz"}] 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"=>"530cb9b977353357b15a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b15a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9b977353357b15a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms Redirected to http://test.host/clients/530cb9b977353357b15a0000 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('530cb9b977353357b15b0000'), "name"=>"Michale Okuneva", "reference"=>"Mr. Casey Streich", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b15c0000'), "firstname"=>"Roselyn", "lastname"=>"Kunze"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb9b977353357b15b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b15b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b15b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b15b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b15d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms Redirected to http://test.host/products/530cb9b977353357b15b0000/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('530cb9b977353357b15e0000'), "name"=>"Chaya Luettgen", "reference"=>"Creola Price Sr.", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b15f0000'), "firstname"=>"Jamey", "lastname"=>"Rogahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb9b977353357b15f0000", "product_id"=>"530cb9b977353357b15e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b15e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1600000'), "name"=>"Camilla Baumbach", "reference"=>"Kaylin Anderson", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1610000'), "firstname"=>"Kendra", "lastname"=>"Keebler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb9b977353357b1600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1620000'), "name"=>"Alexanne Kuphal DVM", "reference"=>"Emory Langosh", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1630000'), "firstname"=>"Marta", "lastname"=>"Yost"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb9b977353357b1630000", "product_id"=>"530cb9b977353357b1620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1640000'), "name"=>"Joana Adams V", "reference"=>"Abbie Dickens V", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb9b977353357b1650000'), "firstname"=>"Hilton", "lastname"=>"Paucek"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5412ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb9b977353357b1650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb9b977353357b1640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms Unpermitted parameters: name Redirected to http://test.host/products/530cb9b977353357b1640000/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('530cb9b977353357b1660000'), "name"=>"Arjun Cruickshank", "reference"=>"Mr. Jenifer Schaefer", "quantity"=>"6"}] 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.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('530cb9b977353357b1670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Redirected to http://test.host/products/530cb9b977353357b1670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1880ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1680000'), "name"=>"Jon Moore", "reference"=>"Maia Flatley", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1652ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb9b977353357b1680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms 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.1788ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1690000'), "name"=>"Violet Purdy", "reference"=>"Cody Stamm", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb9b977353357b1690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b16a0000'), "name"=>"Luisa Jerde", "reference"=>"Karlie Nienow Jr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms 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.7735ms Completed 200 OK in 48ms (Views: 47.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b16b0000'), "name"=>"Dane Conn", "reference"=>"Misty Schmidt", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms 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.7915ms 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('530cb9b977353357b16c0000'), "name"=>"Cheyanne Ondricka", "reference"=>"Margarita Mertz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb9b977353357b16c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b16c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms 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('530cb9b977353357b16d0000'), "name"=>"Edythe Rogahn Sr.", "reference"=>"Favian Reilly DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms 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.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b16f0000'), "name"=>"Mrs. Dallin Aufderhar", "reference"=>"Desiree Kassulke", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb9b977353357b16f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b16f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1700000'), "name"=>"Brenda Roob", "reference"=>"Kaylie Rau", "quantity"=>"7"}] 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.1805ms 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('530cb9b977353357b1710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9b977353357b1720000'), "name"=>"Dolly Mertz", "reference"=>"Shea Herzog Sr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb9b977353357b1720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1720000')} 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('530cb9b977353357b1720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms 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('530cb9b977353357b1730000'), "name"=>"Lizzie Watsica", "reference"=>"Mr. Price Abshire", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms 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('530cb9b977353357b1750000'), "name"=>"Aletha Toy", "reference"=>"Tristin Brekke III", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9b977353357b1750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms 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('530cb9b977353357b1760000'), "name"=>"Skylar Feeney", "reference"=>"Chanel Brekke PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9b977353357b1760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9b977353357b1760000')} 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('530cb9b977353357b1760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms Redirected to http://test.host/products/530cb9b977353357b1760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1790000'), "name"=>"Marlin Bosco", "reference"=>"Bernadette Runolfsson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1770000'), "author_name"=>"Savion Schroeder DDS", "content"=>["Maiores temporibus deleniti possimus autem ea qui. Tenetur eum sit ipsum. Libero veritatis voluptas at laborum ea fugit ratione."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1780000'), "author_name"=>"Maybell Gleichner", "content"=>["Animi aut ut saepe maxime possimus dolorem. Voluptate ipsum eaque atque omnis. Laborum minima nobis quaerat quia et enim quo. Nesciunt ratione ea. Quo corporis reiciendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9ba77353357b1790000", "comment_id"=>"530cb9ba77353357b1770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1790000'), "comments._id"=>BSON::ObjectId('530cb9ba77353357b1770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb9ba77353357b17a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms Redirected to http://test.host/products/530cb9ba77353357b1790000/comments/530cb9ba77353357b1770000/comments/530cb9ba77353357b17a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b17d0000'), "name"=>"Johnnie Flatley", "reference"=>"Carmel Christiansen", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b17b0000'), "author_name"=>"Orland Bradtke PhD", "content"=>["Aliquid non deserunt doloribus quia. Fugit veritatis quia quia maiores quis quae. Et quaerat et aspernatur veritatis. Qui voluptatem iste quis cupiditate itaque. Minima neque iure numquam velit aliquid molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b17c0000'), "author_name"=>"Asha Hammes", "content"=>["Corrupti labore esse. Quia eius quos nemo. Quia et ullam vel. Culpa omnis velit et quaerat aut nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9ba77353357b17d0000", "comment_id"=>"530cb9ba77353357b17b0000", "id"=>"530cb9ba77353357b17c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b17d0000'), "comments._id"=>BSON::ObjectId('530cb9ba77353357b17b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb9ba77353357b17c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Redirected to http://test.host/products/530cb9ba77353357b17d0000/comments/530cb9ba77353357b17b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1800000'), "name"=>"Carol Gerlach", "reference"=>"Leonora Leannon", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b17e0000'), "author_name"=>"Neva Reichert", "content"=>["Quaerat harum omnis fuga sunt non ut. Distinctio voluptas ratione deleniti cum eos illo asperiores. Maiores aut expedita commodi ut dignissimos aut ut. Harum iusto dolores."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b17f0000'), "author_name"=>"Mr. Reuben Howell", "content"=>["Voluptatem non et sequi dolore omnis. Praesentium dolores necessitatibus dolorum omnis aliquid dicta. Temporibus voluptate porro quidem veritatis est labore autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb9ba77353357b1800000", "comment_id"=>"530cb9ba77353357b17e0000", "id"=>"530cb9ba77353357b17f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1800000')} 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 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1830000'), "name"=>"Alison Marvin", "reference"=>"Mr. Maybelle Hayes", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1810000'), "author_name"=>"Trenton Leffler", "content"=>["Vel rem blanditiis corrupti labore. Nisi ut suscipit labore. Et sit aut voluptatem voluptas sunt. Non quaerat architecto distinctio repellat reprehenderit dolorem cumque."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1820000'), "author_name"=>"Chandler Kuhlman", "content"=>["Omnis quaerat eligendi quibusdam consequatur necessitatibus. Velit nihil recusandae. Porro odit aut dolore consequatur dolorem sapiente. Sapiente dicta adipisci quis sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5522ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb9ba77353357b1830000", "comment_id"=>"530cb9ba77353357b1810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1860000'), "name"=>"Belle Doyle", "reference"=>"Dr. Rosalee Johns", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1840000'), "author_name"=>"Max Schulist", "content"=>["Aperiam suscipit molestias expedita ut quae placeat quo. Quam quae et vero sequi molestiae qui molestias. Quo sit harum qui et quidem et ea. Dolorem rerum omnis ex aliquid reiciendis. Sit quae corrupti omnis sunt asperiores voluptatem autem."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1850000'), "author_name"=>"Tyshawn Kiehn", "content"=>["Aut et explicabo quibusdam atque. Ut possimus incidunt ut. Quae architecto ipsam aut. Eos itaque consequatur. Eligendi ea nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb9ba77353357b1860000", "comment_id"=>"530cb9ba77353357b1840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1890000'), "name"=>"Gavin Hudson PhD", "reference"=>"Esther Spinka", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1870000'), "author_name"=>"Gregoria Carroll", "content"=>["Saepe debitis sint voluptas dolorem nesciunt odit. Asperiores recusandae officia. Dolorum nobis illo beatae rem dicta aut accusamus. Sed eius modi similique a non. Delectus rerum omnis odit ad perferendis nesciunt."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1880000'), "author_name"=>"Madison Corkery", "content"=>["Quasi dolore nesciunt provident dolorum deserunt quas. Sint autem at dolor ullam ut. Sit sapiente unde ut qui tempora et. Totam similique officiis omnis id et molestiae et. Nostrum voluptatem et voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb9ba77353357b1890000", "comment_id"=>"530cb9ba77353357b1870000", "id"=>"530cb9ba77353357b1880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b18c0000'), "name"=>"Nicholas Howell", "reference"=>"Kristin Effertz", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b18a0000'), "author_name"=>"Melany Smitham", "content"=>["Dignissimos explicabo nulla neque. Tempora laborum dolor maiores reprehenderit incidunt officiis odio. Facilis voluptas dolorem et harum dolorum sit sit. Assumenda accusamus est vel voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b18b0000'), "author_name"=>"Mr. Alva Langosh", "content"=>["Architecto perferendis vel veniam qui. Nihil quas dolorem non. Ullam accusantium quo dolorum aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb9ba77353357b18c0000", "comment_id"=>"530cb9ba77353357b18a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b18c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b18f0000'), "name"=>"Emilia Dickens", "reference"=>"Berry Sipes", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b18d0000'), "author_name"=>"Alverta Yost", "content"=>["Aliquid praesentium dolorum tenetur nesciunt sint ea. Excepturi eum odit cupiditate sequi sint culpa tempora. Perferendis iste quis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b18e0000'), "author_name"=>"Dr. Bennie Daniel", "content"=>["Velit voluptas sint non et voluptatem cumque. Ab molestias enim. Totam et amet ratione tenetur. Ea fuga molestias distinctio possimus molestiae sit et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb9ba77353357b18f0000", "comment_id"=>"530cb9ba77353357b18d0000", "id"=>"530cb9ba77353357b18e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b18f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms Completed 200 OK in 6ms (Views: 3.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1920000'), "name"=>"Edd Ledner I", "reference"=>"Miss Nicolette Orn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1900000'), "author_name"=>"Garrison Schuster", "content"=>["Quis sit nesciunt reprehenderit ratione fuga nulla. Ad quia assumenda. Voluptatem hic veniam natus. Aut labore expedita autem impedit. Accusamus sed assumenda eum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9ba77353357b1910000'), "author_name"=>"Kaley Prohaska", "content"=>["Iure voluptates excepturi. Iusto dolores consequatur pariatur inventore ut. Autem id eos laborum impedit consequatur blanditiis esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9ba77353357b1910000", "product_id"=>"530cb9ba77353357b1920000", "comment_id"=>"530cb9ba77353357b1900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1920000')} 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('530cb9ba77353357b1920000'), "comments._id"=>BSON::ObjectId('530cb9ba77353357b1900000'), "comments.0.comments._id"=>BSON::ObjectId('530cb9ba77353357b1910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1816ms Redirected to http://test.host/products/530cb9ba77353357b1920000/comments/530cb9ba77353357b1900000/comments/530cb9ba77353357b1910000 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('530cb9ba77353357b1930000'), "firstname"=>"Mya", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2352ms 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('530cb9ba77353357b1940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Redirected to http://test.host/users/530cb9ba77353357b1940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2279ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1950000'), "firstname"=>"Norene", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms 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"=>"530cb9ba77353357b1950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1950000')} 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('530cb9ba77353357b1950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms 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.1819ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1960000'), "firstname"=>"Rodger", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb9ba77353357b1960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1960000')} 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 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('530cb9ba77353357b1970000'), "firstname"=>"Daron", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms 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 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b1980000'), "firstname"=>"Carson", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cb9ba77353357b1990000'), "firstname"=>"Dorris", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb9ba77353357b1990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9ba77353357b1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Completed 200 OK in 4ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9ba77353357b19a0000'), "firstname"=>"Cordelia", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb9ba77353357b19a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9ba77353357b19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Unpermitted parameters: name Redirected to http://test.host/users/530cb9ba77353357b19a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms 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.3231ms 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 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.3080ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3000000'), "firstname"=>"Janae", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2263ms 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('530cb9fa77353357e3010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms 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.2397ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3020000'), "firstname"=>"Alysha", "lastname"=>"Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e3020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3030000'), "firstname"=>"Jeremy", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3040000'), "firstname"=>"Waldo", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3050000'), "firstname"=>"Antwon", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cb9fa77353357e3050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms 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('530cb9fa77353357e3060000'), "name"=>"Juliet Bahringer Jr.", "reference"=>"Tyshawn MacGyver", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3070000'), "author_name"=>"Orval Cummerata", "content"=>["Debitis ratione harum. Vel corporis nihil voluptas aperiam fuga. Repellat sit rerum corrupti officiis debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9fa77353357e3060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3060000')} 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('530cb9fa77353357e3060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e3080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms Redirected to http://test.host/admin/products/530cb9fa77353357e3060000/comments/530cb9fa77353357e3080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3090000'), "name"=>"Mrs. Alvina Skiles", "reference"=>"Maximillian Swaniawski II", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e30a0000'), "author_name"=>"Mr. Edythe McLaughlin", "content"=>["Voluptatem quasi est in veritatis. Quia sed id quos vitae. Ex alias autem laboriosam optio quibusdam provident sapiente. Consequuntur aut minus. Earum occaecati tempore facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9fa77353357e3090000", "id"=>"530cb9fa77353357e30a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e30a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Redirected to http://test.host/admin/products/530cb9fa77353357e3090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e30b0000'), "name"=>"Janelle McCullough", "reference"=>"Aubrey Emard", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e30c0000'), "author_name"=>"Kassandra Mueller", "content"=>["Nihil dolores reiciendis. Doloremque et est modi. Corrupti laudantium cum sint nulla eum quasi veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cb9fa77353357e30b0000", "id"=>"530cb9fa77353357e30c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e30b0000')} 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 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e30d0000'), "name"=>"Mrs. Marge Bashirian", "reference"=>"Mrs. Silas McDermott", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e30e0000'), "author_name"=>"Skylar Reichert", "content"=>["Nesciunt cumque aut a. Illum eos voluptatibus alias suscipit ea et quae. Cupiditate placeat iusto et quia rem natus officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cb9fa77353357e30d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e30f0000'), "name"=>"Skylar Wisozk V", "reference"=>"Terence Wuckert", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3100000'), "author_name"=>"Rosalyn Dooley", "content"=>["Ad ex itaque inventore sint. Neque quia ut debitis. Occaecati distinctio labore commodi quaerat rerum. Eligendi voluptatem mollitia tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cb9fa77353357e30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3110000'), "name"=>"Dr. Roxane Weissnat", "reference"=>"Earlene Reynolds", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3120000'), "author_name"=>"Mr. Guido Cummerata", "content"=>["Sunt illo numquam alias quia tempore a. Velit delectus autem dicta consequuntur omnis laborum. Ratione iste est molestiae. Architecto ducimus nostrum eveniet qui placeat omnis rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cb9fa77353357e3110000", "id"=>"530cb9fa77353357e3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3130000'), "name"=>"Luisa Stehr", "reference"=>"Camren Mosciski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3140000'), "author_name"=>"Emil Hayes V", "content"=>["Necessitatibus nam rerum sunt. Vero ad minima rerum dicta non. Soluta et veritatis qui qui maxime. Voluptatum exercitationem sequi. Quisquam ullam aut ipsam animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5280ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9fa77353357e3140000", "product_id"=>"530cb9fa77353357e3130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3130000')} 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('530cb9fa77353357e3130000'), "comments._id"=>BSON::ObjectId('530cb9fa77353357e3140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Redirected to http://test.host/admin/products/530cb9fa77353357e3130000/comments/530cb9fa77353357e3140000 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('530cb9fa77353357e3150000'), "name"=>"Clara Frami", "reference"=>"Miss Elvera Gulgowski", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e3160000'), "firstname"=>"Samir", "lastname"=>"Gerlach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cb9fa77353357e3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e3170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms Redirected to http://test.host/admin/products/530cb9fa77353357e3150000/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('530cb9fa77353357e3180000'), "name"=>"Missouri Zieme DVM", "reference"=>"Ms. Kendall Mayer", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e3190000'), "firstname"=>"Jovani", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e3190000", "product_id"=>"530cb9fa77353357e3180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e31a0000'), "name"=>"Norval Bartoletti", "reference"=>"Cali Vandervort", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e31b0000'), "firstname"=>"Floy", "lastname"=>"Boyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cb9fa77353357e31a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e31a0000')} 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.3ms) Completed 200 OK in 7ms (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('530cb9fa77353357e31c0000'), "name"=>"Birdie Willms", "reference"=>"Joana Wilderman", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e31d0000'), "firstname"=>"Mohammad", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cb9fa77353357e31d0000", "product_id"=>"530cb9fa77353357e31c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e31e0000'), "name"=>"Xzavier Lowe", "reference"=>"Benny Boehm", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e31f0000'), "firstname"=>"Ines", "lastname"=>"Runte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cb9fa77353357e31f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb9fa77353357e31e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e31e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cb9fa77353357e31e0000/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('530cb9fa77353357e3200000'), "name"=>"Malika Trantow", "reference"=>"Onie O'Reilly", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms 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('530cb9fa77353357e3210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Redirected to http://test.host/admin/products/530cb9fa77353357e3210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1726ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3220000'), "name"=>"Raul Abshire III", "reference"=>"Elinor Lang", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1692ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cb9fa77353357e3220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3220000')} 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={"_id"=>BSON::ObjectId('530cb9fa77353357e3220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms 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.1730ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3230000'), "name"=>"Einar Hermiston DDS", "reference"=>"Maud Kling", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e3230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3240000'), "name"=>"Linwood Hirthe", "reference"=>"Sterling Skiles", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms 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.4975ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3250000'), "name"=>"Rhett Jacobson", "reference"=>"Haley Boehm", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3280000'), "name"=>"Amya Treutel", "reference"=>"Kasandra Dickinson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms 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('530cb9fa77353357e3290000'), "name"=>"Fermin Kemmer", "reference"=>"Madison Stokes", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9fa77353357e3290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Redirected to http://test.host/admin/products/530cb9fa77353357e3290000 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('530cb9fa77353357e32a0000'), "firstname"=>"Griffin", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1571ms 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('530cb9fa77353357e32b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms Redirected to http://test.host/admin/users/530cb9fa77353357e32b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1732ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e32c0000'), "firstname"=>"Nichole", "lastname"=>"Kautzer"}] 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=>"admin_users", :query=>{}} runtime: 0.1495ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cb9fa77353357e32c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fa77353357e32c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fa77353357e32c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms 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.2003ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e32d0000'), "firstname"=>"Genesis", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5661ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e32d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fa77353357e32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms 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('530cb9fa77353357e32e0000'), "firstname"=>"Alford", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms 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.2898ms Completed 200 OK in 38ms (Views: 37.5ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e32f0000'), "firstname"=>"Aditya", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms 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: 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('530cb9fa77353357e3300000'), "firstname"=>"Bobby", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms 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('530cb9fa77353357e3310000'), "firstname"=>"Ruthe", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb9fa77353357e3310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cb9fa77353357e3310000 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('530cb9fa77353357e3320000'), "firstname"=>"Garrison", "lastname"=>"Denesik"}] 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=>"administrators", :query=>{}} runtime: 0.2339ms 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('530cb9fa77353357e3330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms 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.2252ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3340000'), "firstname"=>"Ariel", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e3340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3350000'), "firstname"=>"Kip", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3360000'), "firstname"=>"Selina", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7554ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3370000'), "firstname"=>"Adan", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cb9fa77353357e3370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms 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('530cb9fa77353357e3380000'), "name"=>"Ena Cremin", "reference"=>"Vernie Predovic", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3390000'), "author_name"=>"Emil Willms", "content"=>["Magnam qui quod culpa quo blanditiis rerum occaecati. Ea reprehenderit debitis reiciendis aliquid est in. Nulla numquam nihil pariatur voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9fa77353357e3380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3380000')} 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('530cb9fa77353357e3380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e33a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms Redirected to http://test.host/products/530cb9fa77353357e3380000/comments/530cb9fa77353357e33a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e33b0000'), "name"=>"Mr. Bennie Denesik", "reference"=>"Shakira Altenwerth", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e33c0000'), "author_name"=>"Terrance Marvin", "content"=>["Est voluptatum placeat aut. Aperiam facilis voluptatem non qui accusamus. Nostrum quibusdam aspernatur excepturi est distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e33b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9fa77353357e33b0000", "id"=>"530cb9fa77353357e33c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e33b0000')} 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('530cb9fa77353357e33b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cb9fa77353357e33c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms Redirected to http://test.host/products/530cb9fa77353357e33b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e33b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e33d0000'), "name"=>"Kenya Kshlerin II", "reference"=>"Morton Lynch", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e33e0000'), "author_name"=>"Ms. Ewell Robel", "content"=>["Quas eveniet optio natus corrupti et. Qui dicta nam qui reprehenderit laborum est. Quo voluptatem similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cb9fa77353357e33d0000", "id"=>"530cb9fa77353357e33e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e33d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e33f0000'), "name"=>"Sylvan Boehm", "reference"=>"Dena Boehm", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3400000'), "author_name"=>"Al Schroeder", "content"=>["Dicta aut eos ex illo minima qui et. Autem ut praesentium modi nobis ipsam quisquam. Et ullam enim praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cb9fa77353357e33f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e33f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3410000'), "name"=>"Pamela Balistreri", "reference"=>"Bridgette Reichel", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3420000'), "author_name"=>"Henry Towne", "content"=>["Molestiae sit occaecati quae similique dolore velit blanditiis. Consequatur qui dolorem eveniet possimus dolorum. Deserunt aut est. Magni quod hic et aut porro ex voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cb9fa77353357e3410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3430000'), "name"=>"Gerson Willms", "reference"=>"Kenna Williamson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3440000'), "author_name"=>"Carleton Pouros", "content"=>["Saepe vitae cupiditate quia consequatur. Asperiores quasi nam itaque enim eaque recusandae aut. Consequatur vel placeat voluptate illum eaque ut dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cb9fa77353357e3430000", "id"=>"530cb9fa77353357e3440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3450000'), "name"=>"Hipolito Muller", "reference"=>"Laila Gislason", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3460000'), "author_name"=>"Matteo Heller", "content"=>["Dolorem ratione aut quia. Inventore corporis ut. Illum eveniet voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cb9fa77353357e3450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3470000'), "name"=>"Hilbert Hyatt DVM", "reference"=>"Lucio Stamm", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e3480000'), "author_name"=>"Ella Lakin", "content"=>["Eum ipsum nisi quia. Quo voluptate maxime. Voluptas sed eaque qui aut vero. Dolor et veritatis assumenda molestiae nemo perspiciatis. Laboriosam ut excepturi eum repellat eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cb9fa77353357e3470000", "id"=>"530cb9fa77353357e3480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3490000'), "name"=>"Mrs. Carroll Kohler", "reference"=>"Melvina McCullough", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fa77353357e34a0000'), "author_name"=>"Santiago West", "content"=>["Ducimus nisi ut non eveniet. A molestiae voluptates aliquam repudiandae cupiditate aspernatur. Sed omnis corporis alias asperiores sint culpa dicta. Hic distinctio qui autem a quia fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9fa77353357e34a0000", "product_id"=>"530cb9fa77353357e3490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3490000')} 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('530cb9fa77353357e3490000'), "comments._id"=>BSON::ObjectId('530cb9fa77353357e34a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Redirected to http://test.host/products/530cb9fa77353357e3490000/comments/530cb9fa77353357e34a0000 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('530cb9fa77353357e34b0000'), "firstname"=>"Manuela", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms 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('530cb9fa77353357e34c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Redirected to http://test.host/admin/clients/530cb9fa77353357e34c0000 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('530cb9fa77353357e34d0000'), "firstname"=>"Margaret", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms 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"=>"530cb9fa77353357e34d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e34d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e34d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms 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.1854ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e34e0000'), "firstname"=>"Enrico", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e34e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e34e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms 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('530cb9fa77353357e34f0000'), "firstname"=>"Maud", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms 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('530cb9fa77353357e3500000'), "firstname"=>"Kasandra", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3510000'), "firstname"=>"Darrion", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms 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('530cb9fa77353357e3520000'), "firstname"=>"Erich", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb9fa77353357e3520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Redirected to http://test.host/admin/clients/530cb9fa77353357e3520000 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('530cb9fa77353357e3530000'), "firstname"=>"Martin", "lastname"=>"Bailey"}] 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.1722ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms Redirected to http://test.host/clients/530cb9fa77353357e3540000 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('530cb9fa77353357e3550000'), "firstname"=>"Brant", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1655ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cb9fa77353357e3550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms 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('530cb9fa77353357e3560000'), "firstname"=>"Burnice", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cb9fa77353357e3560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3560000')} 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.0ms) 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('530cb9fa77353357e3570000'), "firstname"=>"Sadye", "lastname"=>"Pouros"}] 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.3510ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9fa77353357e3580000'), "firstname"=>"Katharina", "lastname"=>"Stamm"}] 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.8ms) 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('530cb9fa77353357e3590000'), "firstname"=>"Ken", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cb9fa77353357e3590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fa77353357e3590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Completed 200 OK in 35ms (Views: 33.5ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e35a0000'), "firstname"=>"Hanna", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cb9fb77353357e35a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fb77353357e35a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cb9fb77353357e35a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms Redirected to http://test.host/clients/530cb9fb77353357e35a0000 Completed 302 Found in 5ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e35b0000'), "name"=>"Dr. Jada Balistreri", "reference"=>"Bradly Dietrich", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e35c0000'), "firstname"=>"Palma", "lastname"=>"Gerhold"}}] 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"=>"530cb9fb77353357e35b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e35b0000')} 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('530cb9fb77353357e35b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e35b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e35d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms Redirected to http://test.host/products/530cb9fb77353357e35b0000/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('530cb9fb77353357e35e0000'), "name"=>"Garret Watsica", "reference"=>"Abbey Strosin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e35f0000'), "firstname"=>"Rebeca", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cb9fb77353357e35f0000", "product_id"=>"530cb9fb77353357e35e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e35e0000')} 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.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3600000'), "name"=>"Kayleigh Spencer Jr.", "reference"=>"Jess Altenwerth", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e3610000'), "firstname"=>"Athena", "lastname"=>"Dietrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cb9fb77353357e3600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3620000'), "name"=>"Yasmine Kshlerin Jr.", "reference"=>"Darrell Rippin", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e3630000'), "firstname"=>"Leopoldo", "lastname"=>"Kozey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cb9fb77353357e3630000", "product_id"=>"530cb9fb77353357e3620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3640000'), "name"=>"Connie Smith", "reference"=>"Alessandra Wiegand", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e3650000'), "firstname"=>"Burley", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cb9fb77353357e3650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cb9fb77353357e3640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Unpermitted parameters: name Redirected to http://test.host/products/530cb9fb77353357e3640000/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('530cb9fb77353357e3660000'), "name"=>"Ashtyn Predovic", "reference"=>"Curt Stark", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1804ms 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('530cb9fb77353357e3670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Redirected to http://test.host/products/530cb9fb77353357e3670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1930ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3680000'), "name"=>"Miss Marianne Heaney", "reference"=>"Marlin Douglas II", "quantity"=>"8"}] 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.1699ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530cb9fb77353357e3680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3680000')} 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('530cb9fb77353357e3680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms 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('530cb9fb77353357e3690000'), "name"=>"Miss Ignacio Harvey", "reference"=>"Mae Walsh", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cb9fb77353357e3690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cb9fb77353357e36a0000'), "name"=>"Riley Roberts", "reference"=>"Teagan Bartell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms 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.7685ms Completed 200 OK in 48ms (Views: 47.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e36b0000'), "name"=>"Jon Cremin", "reference"=>"Maxwell Turner", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms 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.7839ms 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('530cb9fb77353357e36c0000'), "name"=>"Mozelle Shanahan", "reference"=>"Orpha Huels", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cb9fb77353357e36c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e36c0000')} 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('530cb9fb77353357e36d0000'), "name"=>"Margaretta Graham", "reference"=>"Ariane Botsford I", "quantity"=>"7"}] 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.3ms) 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('530cb9fb77353357e36f0000'), "name"=>"Ms. Aliyah Mosciski", "reference"=>"Kimberly Jacobson II", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cb9fb77353357e36f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e36f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3700000'), "name"=>"Leslie Durgan II", "reference"=>"Isom Kuhn", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5543ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1739ms 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('530cb9fb77353357e3710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms 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('530cb9fb77353357e3720000'), "name"=>"Bettye Marquardt", "reference"=>"Janelle Glover", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cb9fb77353357e3720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3720000')} 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('530cb9fb77353357e3720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms 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('530cb9fb77353357e3730000'), "name"=>"Loraine Kerluke", "reference"=>"Mr. Jaeden Durgan", "quantity"=>"5"}] 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('530cb9fb77353357e3750000'), "name"=>"Zackery Swift", "reference"=>"Osbaldo Marvin", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9fb77353357e3750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3750000')} 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('530cb9fb77353357e3750000')} 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('530cb9fb77353357e3760000'), "name"=>"Leslie Ziemann", "reference"=>"Annabell Harvey", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cb9fb77353357e3760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3760000')} 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('530cb9fb77353357e3760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms Redirected to http://test.host/products/530cb9fb77353357e3760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3790000'), "name"=>"Jarrod Nitzsche", "reference"=>"Jennings Shanahan V", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3770000'), "author_name"=>"Allen Dicki", "content"=>["Adipisci voluptate aut et. Et vitae et nihil ea. Quia quia atque cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3780000'), "author_name"=>"Yoshiko Mante", "content"=>["Ea qui velit soluta consequatur culpa. Id dolor dolore consequatur. Autem quas quisquam dolor quidem quia. Provident libero aliquam repellat cupiditate quia eligendi architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cb9fb77353357e3790000", "comment_id"=>"530cb9fb77353357e3770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3790000')} 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('530cb9fb77353357e3790000'), "comments._id"=>BSON::ObjectId('530cb9fb77353357e3770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e37a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms Redirected to http://test.host/products/530cb9fb77353357e3790000/comments/530cb9fb77353357e3770000/comments/530cb9fb77353357e37a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e37d0000'), "name"=>"Arjun Schaden", "reference"=>"Miss Jed Thompson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e37b0000'), "author_name"=>"Evalyn Schaden", "content"=>["Neque quibusdam laboriosam saepe nulla necessitatibus pariatur. Libero in omnis deleniti. Nam id deserunt sunt voluptatem et reiciendis. Consequuntur soluta est qui ipsum vitae iusto. Ad quidem dolor quod repellat enim qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e37c0000'), "author_name"=>"Mrs. Rupert Hammes", "content"=>["Voluptas consequatur ea porro aut impedit dolores. Occaecati sed placeat quam. Voluptas repudiandae qui dolorum tenetur minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e37d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cb9fb77353357e37d0000", "comment_id"=>"530cb9fb77353357e37b0000", "id"=>"530cb9fb77353357e37c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e37d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e37d0000'), "comments._id"=>BSON::ObjectId('530cb9fb77353357e37b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cb9fb77353357e37c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Redirected to http://test.host/products/530cb9fb77353357e37d0000/comments/530cb9fb77353357e37b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e37d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3800000'), "name"=>"Nathan Toy", "reference"=>"Magdalen Swaniawski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e37e0000'), "author_name"=>"Teresa Denesik PhD", "content"=>["Ab at vel atque suscipit. Quae non saepe maxime dolore ipsa non. Eveniet aliquam nobis neque et omnis. Eum deleniti non eum unde enim adipisci aut."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e37f0000'), "author_name"=>"Reba Schmidt III", "content"=>["Aspernatur fugit qui dolor in. Voluptatum repellendus nostrum cumque. Quibusdam ratione aut dolore sunt quia. Occaecati sint eos enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cb9fb77353357e3800000", "comment_id"=>"530cb9fb77353357e37e0000", "id"=>"530cb9fb77353357e37f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3800000')} 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.5ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3830000'), "name"=>"Ms. Tad Lehner", "reference"=>"Shawn Rosenbaum DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3810000'), "author_name"=>"Jett Bechtelar", "content"=>["Fugit consectetur omnis nisi atque corrupti quo. Doloremque omnis a. Ipsam in ex maxime et dignissimos qui quis."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3820000'), "author_name"=>"Kayley Durgan", "content"=>["Et rerum error tempore. Beatae quo est. Aut eum a totam tempore porro aliquid. Optio architecto autem dolores recusandae porro quia. Tempora harum vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cb9fb77353357e3830000", "comment_id"=>"530cb9fb77353357e3810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3860000'), "name"=>"Alexanne Batz III", "reference"=>"Eugene Auer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3840000'), "author_name"=>"Mrs. Lamar Beatty", "content"=>["Illum aut ut. Quia velit quo et rem facilis tempora eaque. Sed consectetur minus quidem beatae. Aut vel quo ut. Et dolores dolor nesciunt est voluptatem est eum."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3850000'), "author_name"=>"Gregory Emmerich", "content"=>["Vero alias quisquam. Et libero quod. Praesentium beatae dolorem. Repellendus repellat aut quis a."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cb9fb77353357e3860000", "comment_id"=>"530cb9fb77353357e3840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3890000'), "name"=>"Jordane Schoen", "reference"=>"Abbigail Considine", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3870000'), "author_name"=>"Jonas Gutkowski", "content"=>["Quisquam dolor neque consequatur dolorum ut rem mollitia. Itaque aut iure in repellendus voluptas. Et ipsum odio ex. Quia dolorem odio non rerum. Cum ipsum vero."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3880000'), "author_name"=>"Maryjane King", "content"=>["Fugiat adipisci ea ut eos. In autem aut. Occaecati nisi quia. Quo repellat perspiciatis est quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cb9fb77353357e3890000", "comment_id"=>"530cb9fb77353357e3870000", "id"=>"530cb9fb77353357e3880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e38c0000'), "name"=>"Breana Weissnat", "reference"=>"Reed Orn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e38a0000'), "author_name"=>"Savion Mueller Jr.", "content"=>["Ullam repudiandae voluptatem delectus quia animi quod neque. Neque quia laudantium non. Omnis sed porro. Quas et tenetur vel magni. Mollitia itaque maiores est."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e38b0000'), "author_name"=>"Mrs. Vladimir Treutel", "content"=>["Provident dignissimos ducimus reprehenderit aperiam mollitia. Reiciendis voluptatem natus eum adipisci quisquam ratione. Facilis eos nobis reiciendis voluptatem. Adipisci explicabo eos nihil reiciendis voluptate qui eum. Expedita itaque minus voluptates."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6331ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cb9fb77353357e38c0000", "comment_id"=>"530cb9fb77353357e38a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e38c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.8ms) Completed 200 OK in 32ms (Views: 29.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e38f0000'), "name"=>"Zoe Kertzmann DDS", "reference"=>"Retha Wilderman", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e38d0000'), "author_name"=>"Colleen Barton", "content"=>["Numquam officiis a sint consequuntur adipisci ab. In sunt est amet sapiente aut dignissimos. Explicabo omnis eaque est velit. Qui eum voluptate non. Quo non illum rerum consequatur sapiente."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e38e0000'), "author_name"=>"Reinhold Bernhard", "content"=>["Alias sint vel. Aut hic commodi iusto. Dicta exercitationem eos omnis explicabo amet sit unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4790ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cb9fb77353357e38f0000", "comment_id"=>"530cb9fb77353357e38d0000", "id"=>"530cb9fb77353357e38e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e38f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3069ms Completed 200 OK in 5ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3920000'), "name"=>"Garnett Hilpert", "reference"=>"Darrick Cronin", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3900000'), "author_name"=>"Ms. Elisha Pagac", "content"=>["Quia numquam quaerat pariatur. Architecto dolore rerum id quidem enim ea in. Non explicabo ipsam qui quas et."], "comments"=>[{"_id"=>BSON::ObjectId('530cb9fb77353357e3910000'), "author_name"=>"Jarrett Lynch", "content"=>["Aliquam accusamus placeat quis repellat quas sed. Quo fugit et et ut nihil porro. Expedita non maiores sapiente ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cb9fb77353357e3910000", "product_id"=>"530cb9fb77353357e3920000", "comment_id"=>"530cb9fb77353357e3900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3920000'), "comments._id"=>BSON::ObjectId('530cb9fb77353357e3900000'), "comments.0.comments._id"=>BSON::ObjectId('530cb9fb77353357e3910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Redirected to http://test.host/products/530cb9fb77353357e3920000/comments/530cb9fb77353357e3900000/comments/530cb9fb77353357e3910000 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('530cb9fb77353357e3930000'), "firstname"=>"Jerald", "lastname"=>"Koepp"}] 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=>"admin_users", :query=>{}} runtime: 33.9187ms 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('530cb9fb77353357e3940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6840ms Redirected to http://test.host/users/530cb9fb77353357e3940000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2478ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3950000'), "firstname"=>"Shawn", "lastname"=>"Boyer"}] 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=>"admin_users", :query=>{}} runtime: 0.2049ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cb9fb77353357e3950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3950000')} 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.1874ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3960000'), "firstname"=>"Imani", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cb9fb77353357e3960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3960000')} 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 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('530cb9fb77353357e3970000'), "firstname"=>"Daryl", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms 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.3515ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cb9fb77353357e3980000'), "firstname"=>"Danika", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms 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('530cb9fb77353357e3990000'), "firstname"=>"Ervin", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cb9fb77353357e3990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fb77353357e3990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms 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('530cb9fb77353357e39a0000'), "firstname"=>"Kennith", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cb9fb77353357e39a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cb9fb77353357e39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Unpermitted parameters: name Redirected to http://test.host/users/530cb9fb77353357e39a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms 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.3208ms 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.3123ms 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.3070ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b000000'), "firstname"=>"Merle", "lastname"=>"Reynolds"}] 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=>"administrators", :query=>{}} runtime: 0.2248ms 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('530cba06773533580b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms 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.2443ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b020000'), "firstname"=>"Gardner", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530cba06773533580b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b030000'), "firstname"=>"Albina", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b040000'), "firstname"=>"Bernard", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530cba06773533580b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b050000'), "firstname"=>"Augustine", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.8559ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530cba06773533580b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms 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('530cba06773533580b060000'), "name"=>"Idell Moore V", "reference"=>"Ezekiel Lindgren Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b070000'), "author_name"=>"Eulalia Koelpin III", "content"=>["Numquam ut nostrum esse modi. Nisi autem explicabo laborum. Quas voluptate voluptas expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cba06773533580b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cba06773533580b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms Redirected to http://test.host/admin/products/530cba06773533580b060000/comments/530cba06773533580b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b090000'), "name"=>"Queenie Quigley", "reference"=>"Kali Littel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b0a0000'), "author_name"=>"Frank Kling", "content"=>["In eius numquam. Facere adipisci ea ducimus voluptatem at ipsa eos. Possimus perferendis est minima dolor numquam laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530cba06773533580b090000", "id"=>"530cba06773533580b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cba06773533580b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Redirected to http://test.host/admin/products/530cba06773533580b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b0b0000'), "name"=>"Velda Waelchi III", "reference"=>"Linnie O'Keefe", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b0c0000'), "author_name"=>"Laron Feil", "content"=>["A et velit molestiae eveniet aut iusto. Saepe molestiae omnis sed fugit nemo numquam. Ab tempore autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530cba06773533580b0b0000", "id"=>"530cba06773533580b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b0d0000'), "name"=>"Blaze Langworth", "reference"=>"Leonardo Stamm", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b0e0000'), "author_name"=>"Mustafa Mueller", "content"=>["Nostrum ea eligendi. Dicta recusandae explicabo consequatur vero nihil. Modi autem laudantium sit placeat voluptatem qui. Deleniti autem dolore omnis at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0140ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530cba06773533580b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b0f0000'), "name"=>"Louvenia Hegmann", "reference"=>"Callie Skiles", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b100000'), "author_name"=>"Olen Balistreri", "content"=>["Et omnis delectus aut asperiores error. Totam rem voluptatem ut nemo hic nobis. Ut natus ab quo voluptas. Odit dolor iste doloribus odio nesciunt aliquid numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530cba06773533580b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b110000'), "name"=>"Dayna Ritchie", "reference"=>"Ms. Ellsworth Towne", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b120000'), "author_name"=>"Alford Fahey", "content"=>["Eum et eum rerum architecto ducimus nobis quis. Est qui vitae voluptatem. Magni sequi et doloremque. Sunt eveniet magnam. Distinctio et nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530cba06773533580b110000", "id"=>"530cba06773533580b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b130000'), "name"=>"Miss Brionna Kris", "reference"=>"Mr. Tina Boyle", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b140000'), "author_name"=>"Toney Ledner", "content"=>["Corrupti et neque. Quod saepe adipisci ad perspiciatis totam. Voluptatem consectetur debitis eius aspernatur rem. Illum odio tenetur dolore dolores voluptas magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cba06773533580b140000", "product_id"=>"530cba06773533580b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b130000'), "comments._id"=>BSON::ObjectId('530cba06773533580b140000')} 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/530cba06773533580b130000/comments/530cba06773533580b140000 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('530cba06773533580b150000'), "name"=>"Elisa Olson", "reference"=>"Rosetta Feil", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b160000'), "firstname"=>"Anika", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cba06773533580b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms Redirected to http://test.host/admin/products/530cba06773533580b150000/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('530cba06773533580b180000'), "name"=>"Dr. Jermey Medhurst", "reference"=>"Bernadette Pagac MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b190000'), "firstname"=>"Georgiana", "lastname"=>"Hauck"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530cba06773533580b190000", "product_id"=>"530cba06773533580b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b1a0000'), "name"=>"Monica Bernhard", "reference"=>"Orlando Armstrong III", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b1b0000'), "firstname"=>"Floyd", "lastname"=>"Raynor"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530cba06773533580b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('530cba06773533580b1c0000'), "name"=>"Santiago Toy", "reference"=>"Douglas Dietrich", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b1d0000'), "firstname"=>"Zachariah", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530cba06773533580b1d0000", "product_id"=>"530cba06773533580b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b1e0000'), "name"=>"Holly Frami", "reference"=>"Rusty Zboncak", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530cba06773533580b1f0000'), "firstname"=>"Woodrow", "lastname"=>"Hammes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530cba06773533580b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cba06773533580b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530cba06773533580b1e0000/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('530cba06773533580b200000'), "name"=>"Queenie Schamberger", "reference"=>"Mrs. Korey Cronin", "quantity"=>"6"}] 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.1781ms 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('530cba06773533580b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Redirected to http://test.host/admin/products/530cba06773533580b210000 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('530cba06773533580b220000'), "name"=>"Kailyn Dietrich", "reference"=>"Everette Mosciski", "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.1737ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530cba06773533580b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b220000')} 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('530cba06773533580b220000')} 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 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('530cba06773533580b230000'), "name"=>"Yazmin Davis", "reference"=>"Dock Buckridge IV", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530cba06773533580b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b240000'), "name"=>"Melyna Waters", "reference"=>"Beau Runolfsson DDS", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms 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.4987ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b250000'), "name"=>"Jamaal Hartmann", "reference"=>"Fausto Gorczany", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms 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: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b280000'), "name"=>"Antone Considine", "reference"=>"Bonita Dickinson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1666ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530cba06773533580b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms 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('530cba06773533580b290000'), "name"=>"Norbert Kutch MD", "reference"=>"Estelle Murazik IV", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cba06773533580b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Redirected to http://test.host/admin/products/530cba06773533580b290000 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('530cba06773533580b2a0000'), "firstname"=>"Leonora", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2122ms 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('530cba06773533580b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Redirected to http://test.host/admin/users/530cba06773533580b2b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba06773533580b2c0000'), "firstname"=>"Madeline", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1712ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530cba06773533580b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba06773533580b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba06773533580b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms 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.1800ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba06773533580b2d0000'), "firstname"=>"Dangelo", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530cba06773533580b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba06773533580b2d0000')} 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.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('530cba06773533580b2e0000'), "firstname"=>"Zakary", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms 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.3042ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba06773533580b2f0000'), "firstname"=>"Lizeth", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms 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: 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('530cba06773533580b300000'), "firstname"=>"Gabriel", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530cba06773533580b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba06773533580b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms 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('530cba06773533580b310000'), "firstname"=>"Kristoffer", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cba06773533580b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba06773533580b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530cba06773533580b310000 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('530cba06773533580b320000'), "firstname"=>"Zoey", "lastname"=>"Lindgren"}] 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=>"administrators", :query=>{}} runtime: 0.1730ms 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('530cba06773533580b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms 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.1704ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b340000'), "firstname"=>"Zack", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530cba06773533580b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b340000')} 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.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b350000'), "firstname"=>"Nels", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b360000'), "firstname"=>"Milan", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530cba06773533580b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530cba06773533580b370000'), "firstname"=>"Nickolas", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530cba06773533580b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530cba06773533580b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms 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('530cba06773533580b380000'), "name"=>"Mrs. Bradly Brown", "reference"=>"Christopher Kutch", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b390000'), "author_name"=>"Riley Kris", "content"=>["Voluptatum voluptas maiores porro. Mollitia aut sit alias recusandae nesciunt et nisi. Aliquam dolores voluptas culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cba06773533580b380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b380000')} 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('530cba06773533580b380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530cba06773533580b3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/products/530cba06773533580b380000/comments/530cba06773533580b3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b3b0000'), "name"=>"Maya Smitham", "reference"=>"Mr. Suzanne Shanahan", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b3c0000'), "author_name"=>"Mrs. Calista Balistreri", "content"=>["Quaerat molestiae praesentium et vitae. Quas assumenda aspernatur. Enim impedit recusandae. Eligendi voluptatum voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530cba06773533580b3b0000", "id"=>"530cba06773533580b3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b3b0000')} 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('530cba06773533580b3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530cba06773533580b3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms Redirected to http://test.host/products/530cba06773533580b3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b3d0000'), "name"=>"Mrs. Alfonso Mante", "reference"=>"Miguel Jacobs", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b3e0000'), "author_name"=>"Willa Wolf", "content"=>["Sint impedit quo cupiditate sit consequatur sequi. Explicabo numquam aperiam ipsum architecto quam. Enim magnam velit eius. Sunt laudantium non aut ut a perferendis voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530cba06773533580b3d0000", "id"=>"530cba06773533580b3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b3d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b3f0000'), "name"=>"Madyson Ryan", "reference"=>"Edwin Bartell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b400000'), "author_name"=>"Stuart Leuschke DDS", "content"=>["Quia nam maxime. Voluptatem quis sed. Eius non et et deleniti autem voluptatem ullam. Quia nulla deserunt nam. Sed corporis aut harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530cba06773533580b3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b410000'), "name"=>"Justyn Hand", "reference"=>"Dale Smith V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b420000'), "author_name"=>"Jerrod Wolf DDS", "content"=>["Fugit dolor nihil voluptatibus voluptas. Soluta eos temporibus dignissimos maiores. Tempora eos autem modi sapiente laborum aliquam. Consequuntur esse et. Odio similique doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530cba06773533580b410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b430000'), "name"=>"Mr. Jeanie Swift", "reference"=>"Hoyt Koepp", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b440000'), "author_name"=>"Shane McLaughlin", "content"=>["Et et et deleniti cum aut laboriosam omnis. Voluptatem beatae sed et soluta praesentium. Modi natus eveniet aut velit aliquid. Quis inventore quisquam qui vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530cba06773533580b430000", "id"=>"530cba06773533580b440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b450000'), "name"=>"Mrs. Corine Dach", "reference"=>"Giuseppe Lubowitz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b460000'), "author_name"=>"Elian Bergstrom", "content"=>["Perferendis eius quia dicta dolorum tempore. Et quidem consequatur nulla provident et. Accusantium provident id asperiores et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530cba06773533580b450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b450000')} 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: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b470000'), "name"=>"Penelope Mitchell", "reference"=>"Santino Labadie Jr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b480000'), "author_name"=>"Marty Brekke", "content"=>["Nemo occaecati et enim assumenda ipsum. Aut commodi delectus et qui et molestiae assumenda. Iure dolores at doloremque deserunt molestiae esse impedit. Accusantium et repellendus enim nostrum sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530cba06773533580b470000", "id"=>"530cba06773533580b480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba06773533580b490000'), "name"=>"Dr. Mallory Lueilwitz", "reference"=>"Philip Carter Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cba06773533580b4a0000'), "author_name"=>"Nestor Legros Sr.", "content"=>["Accusamus blanditiis aut molestiae deserunt quia nulla. Porro debitis ratione sit architecto. Sit aliquam commodi alias. Exercitationem et est recusandae nesciunt reprehenderit. Eius sapiente voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cba06773533580b4a0000", "product_id"=>"530cba06773533580b490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba06773533580b490000'), "comments._id"=>BSON::ObjectId('530cba06773533580b4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms Redirected to http://test.host/products/530cba06773533580b490000/comments/530cba06773533580b4a0000 Completed 302 Found in 40ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba06773533580b4b0000'), "firstname"=>"Michale", "lastname"=>"Batz"}] 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.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('530cba06773533580b4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3653ms Redirected to http://test.host/admin/clients/530cba06773533580b4c0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2044ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b4d0000'), "firstname"=>"Jeramy", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1551ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cba07773533580b4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms 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.1741ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b4e0000'), "firstname"=>"Dessie", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cba07773533580b4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b4e0000')} 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.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('530cba07773533580b4f0000'), "firstname"=>"Alysson", "lastname"=>"Davis"}] 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.2955ms 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('530cba07773533580b500000'), "firstname"=>"Jaclyn", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms 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('530cba07773533580b510000'), "firstname"=>"Elizabeth", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cba07773533580b510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms 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('530cba07773533580b520000'), "firstname"=>"Rey", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cba07773533580b520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Redirected to http://test.host/admin/clients/530cba07773533580b520000 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('530cba07773533580b530000'), "firstname"=>"Ernie", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1544ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms Redirected to http://test.host/clients/530cba07773533580b540000 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('530cba07773533580b550000'), "firstname"=>"Simone", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1463ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530cba07773533580b550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms 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.1610ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b560000'), "firstname"=>"Zaria", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530cba07773533580b560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b560000')} 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.0ms) 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('530cba07773533580b570000'), "firstname"=>"Meta", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms 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('530cba07773533580b580000'), "firstname"=>"Laurie", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b590000'), "firstname"=>"Laurence", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.2752ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530cba07773533580b590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530cba07773533580b5a0000'), "firstname"=>"Jayme", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530cba07773533580b5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530cba07773533580b5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Redirected to http://test.host/clients/530cba07773533580b5a0000 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('530cba07773533580b5b0000'), "name"=>"Mr. Katlyn Connelly", "reference"=>"Willie Ullrich", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b5c0000'), "firstname"=>"Santino", "lastname"=>"Ebert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530cba07773533580b5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b5b0000')} 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('530cba07773533580b5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms Redirected to http://test.host/products/530cba07773533580b5b0000/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('530cba07773533580b5e0000'), "name"=>"Jerry Corwin", "reference"=>"Nathen Mante DDS", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b5f0000'), "firstname"=>"Pasquale", "lastname"=>"Wehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530cba07773533580b5f0000", "product_id"=>"530cba07773533580b5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b600000'), "name"=>"Celestine Schuster", "reference"=>"Declan Bashirian", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b610000'), "firstname"=>"Avis", "lastname"=>"Runte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530cba07773533580b600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b620000'), "name"=>"Adaline Kulas", "reference"=>"Mrs. Pablo Daugherty", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b630000'), "firstname"=>"Taryn", "lastname"=>"Abshire"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530cba07773533580b630000", "product_id"=>"530cba07773533580b620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b640000'), "name"=>"Roosevelt Fay", "reference"=>"Maxie Kessler", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530cba07773533580b650000'), "firstname"=>"Jesse", "lastname"=>"Bernhard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530cba07773533580b650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530cba07773533580b640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms Unpermitted parameters: name Redirected to http://test.host/products/530cba07773533580b640000/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('530cba07773533580b660000'), "name"=>"Dr. Marshall Gleichner", "reference"=>"Susana Reichel II", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.9088ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1703ms 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('530cba07773533580b670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Redirected to http://test.host/products/530cba07773533580b670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1717ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b680000'), "name"=>"Beatrice Stehr", "reference"=>"Mrs. Elbert Hudson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms 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"=>"530cba07773533580b680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b680000')} 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={"_id"=>BSON::ObjectId('530cba07773533580b680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms 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.1622ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b690000'), "name"=>"Hank Lesch", "reference"=>"Sylvia Lueilwitz", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530cba07773533580b690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530cba07773533580b6a0000'), "name"=>"Mrs. Assunta Huels", "reference"=>"Earline Kuhlman", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms 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.7342ms Completed 200 OK in 48ms (Views: 47.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b6b0000'), "name"=>"Vince Stehr", "reference"=>"Peter Zulauf", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms 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.7434ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b6c0000'), "name"=>"Raquel Collins III", "reference"=>"Kennith Block", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530cba07773533580b6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms Completed 200 OK in 35ms (Views: 33.5ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b6d0000'), "name"=>"Miss Ransom Jacobs", "reference"=>"Zane Glover", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms 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.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b6f0000'), "name"=>"Jett Monahan V", "reference"=>"Hattie Pacocha", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530cba07773533580b6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b700000'), "name"=>"Abby Mayert MD", "reference"=>"Else Deckow", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1618ms 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('530cba07773533580b710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1645ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b720000'), "name"=>"Katrine Padberg", "reference"=>"Mr. Victoria Kshlerin", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530cba07773533580b720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms 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('530cba07773533580b730000'), "name"=>"Piper Parisian", "reference"=>"Hiram Bogan", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms 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('530cba07773533580b750000'), "name"=>"Mrs. Sylvan Cartwright", "reference"=>"Thea Mayer", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cba07773533580b750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms 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('530cba07773533580b760000'), "name"=>"Miss Ansley Schoen", "reference"=>"Dr. Gladys Ryan", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530cba07773533580b760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms Redirected to http://test.host/products/530cba07773533580b760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b790000'), "name"=>"Lila Walsh", "reference"=>"Oran Ward V", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b770000'), "author_name"=>"Darby Kuhlman III", "content"=>["Excepturi et consequatur laboriosam sit. Voluptas pariatur eligendi similique quis odit nihil. Dolore natus omnis molestias aut vel a. Eos enim quaerat sit. Ut magni qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b780000'), "author_name"=>"Gussie Schneider", "content"=>["Aperiam vero in consequatur est nam alias. Id neque quam eveniet ipsam. Soluta ut ullam corporis quia vel autem nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530cba07773533580b790000", "comment_id"=>"530cba07773533580b770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b790000')} 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('530cba07773533580b790000'), "comments._id"=>BSON::ObjectId('530cba07773533580b770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cba07773533580b7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Redirected to http://test.host/products/530cba07773533580b790000/comments/530cba07773533580b770000/comments/530cba07773533580b7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b7d0000'), "name"=>"Brenden Rolfson", "reference"=>"Virgil Berge", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b7b0000'), "author_name"=>"Sylvester Kling", "content"=>["Doloribus incidunt neque. Similique consequuntur aut fugiat aut reprehenderit. Aut porro qui iste labore ea. Consequatur animi consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b7c0000'), "author_name"=>"Adolph Fisher", "content"=>["Rerum voluptas perspiciatis ut voluptate culpa eum est. Unde dignissimos optio quia aut voluptatem qui. Quaerat vel ullam cum et harum quo. Facilis veritatis id et vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1979ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530cba07773533580b7d0000", "comment_id"=>"530cba07773533580b7b0000", "id"=>"530cba07773533580b7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b7d0000'), "comments._id"=>BSON::ObjectId('530cba07773533580b7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530cba07773533580b7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Redirected to http://test.host/products/530cba07773533580b7d0000/comments/530cba07773533580b7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b800000'), "name"=>"Christophe Kassulke Jr.", "reference"=>"Mr. Estrella Runolfsson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b7e0000'), "author_name"=>"Mr. Collin Orn", "content"=>["Omnis dignissimos ut autem. Consequatur et nulla deleniti enim soluta officiis esse. Laborum rem minima dolorem optio."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b7f0000'), "author_name"=>"Mrs. Lawson Goodwin", "content"=>["Totam tempore perferendis est et. Possimus aut numquam laboriosam qui. Nam labore ipsam odio. Qui soluta inventore id et dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530cba07773533580b800000", "comment_id"=>"530cba07773533580b7e0000", "id"=>"530cba07773533580b7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b830000'), "name"=>"Grant Schowalter", "reference"=>"Stanton Spencer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b810000'), "author_name"=>"Colton O'Keefe", "content"=>["Eos laborum ratione. Autem est nostrum aliquam in. Dignissimos a tempora et. Odit nostrum aut qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b820000'), "author_name"=>"Mr. Reba Ward", "content"=>["Earum iste aut. Exercitationem architecto asperiores quidem magnam consequatur voluptate. Nam tempora animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530cba07773533580b830000", "comment_id"=>"530cba07773533580b810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b860000'), "name"=>"Bret Torp III", "reference"=>"Callie Schuster", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b840000'), "author_name"=>"Valerie Auer", "content"=>["Soluta sed et. Esse consequuntur saepe non eos veritatis et eum. Nam harum quam. Eum sed sit rem et ut et sit."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b850000'), "author_name"=>"Dixie Olson", "content"=>["Asperiores ab corporis. Dolor ratione nesciunt quia vero in. Fuga est aspernatur non recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530cba07773533580b860000", "comment_id"=>"530cba07773533580b840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b890000'), "name"=>"Beaulah Beer", "reference"=>"Santa Lehner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b870000'), "author_name"=>"Ms. Doyle Ferry", "content"=>["Sint modi voluptates reiciendis quam unde. Temporibus consequatur officiis fugiat natus nobis dolorum. Id assumenda sequi totam ratione."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b880000'), "author_name"=>"Emile Hoppe", "content"=>["Quos soluta tenetur sit doloribus et. Dolor quae ducimus quo nam facilis inventore. Aperiam fugiat quia quo dolore aspernatur. Perspiciatis eveniet exercitationem sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530cba07773533580b890000", "comment_id"=>"530cba07773533580b870000", "id"=>"530cba07773533580b880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b8c0000'), "name"=>"Rebekah Stark", "reference"=>"Jerald Wiza III", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b8a0000'), "author_name"=>"Rossie Greenfelder", "content"=>["Aliquid voluptatibus ipsam ut totam explicabo. Labore distinctio impedit neque qui beatae quia nihil. Dolor sequi ut optio. Voluptates vel commodi quaerat ut. Vel blanditiis voluptate totam."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b8b0000'), "author_name"=>"Pierce Harris", "content"=>["Facere quibusdam labore quisquam. Est voluptatibus minima est. Nam magni dolor accusantium laborum et. Officiis quia dicta et maiores. Et placeat est ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530cba07773533580b8c0000", "comment_id"=>"530cba07773533580b8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b8c0000')} 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.2ms) Completed 200 OK in 33ms (Views: 4.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b8f0000'), "name"=>"Jacynthe Langosh", "reference"=>"Haylee Thompson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b8d0000'), "author_name"=>"Ms. Rodrigo Schimmel", "content"=>["Voluptatem quo est eligendi. Reprehenderit eveniet voluptatum iste aut et. Ipsam in odio error quod consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b8e0000'), "author_name"=>"Imelda Wunsch PhD", "content"=>["Non aut eligendi. Natus earum atque in. Eligendi aliquid debitis nesciunt qui fugiat reprehenderit. Voluptatibus quaerat quia id. Inventore totam voluptatem eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530cba07773533580b8f0000", "comment_id"=>"530cba07773533580b8d0000", "id"=>"530cba07773533580b8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530cba07773533580b920000'), "name"=>"Nora Olson", "reference"=>"Beulah Schulist V", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b900000'), "author_name"=>"Vesta Adams II", "content"=>["Minima quia dicta pariatur amet. Dolore saepe sequi ut blanditiis consectetur sit. Nulla provident qui."], "comments"=>[{"_id"=>BSON::ObjectId('530cba07773533580b910000'), "author_name"=>"Teagan Schamberger IV", "content"=>["Repellat fugiat sint illum et delectus. Et consequatur possimus. Rerum nisi rem provident id. Quia sunt aut aliquid qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530cba07773533580b910000", "product_id"=>"530cba07773533580b920000", "comment_id"=>"530cba07773533580b900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530cba07773533580b920000'), "comments._id"=>BSON::ObjectId('530cba07773533580b900000'), "comments.0.comments._id"=>BSON::ObjectId('530cba07773533580b910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Redirected to http://test.host/products/530cba07773533580b920000/comments/530cba07773533580b900000/comments/530cba07773533580b910000 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('530cba07773533580b930000'), "firstname"=>"Amir", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3969ms 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('530cba07773533580b940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Redirected to http://test.host/users/530cba07773533580b940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba07773533580b950000'), "firstname"=>"Roslyn", "lastname"=>"Gulgowski"}] 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=>"admin_users", :query=>{}} runtime: 0.1592ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530cba07773533580b950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba07773533580b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba07773533580b950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms 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.1667ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba07773533580b960000'), "firstname"=>"Claud", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530cba07773533580b960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba07773533580b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530cba07773533580b970000'), "firstname"=>"Rowland", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms 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 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530cba07773533580b980000'), "firstname"=>"Eddie", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530cba07773533580b990000'), "firstname"=>"Dale", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by UsersController#show as HTML Parameters: {"id"=>"530cba07773533580b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba07773533580b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms 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('530cba07773533580b9a0000'), "firstname"=>"Quinten", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530cba07773533580b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530cba07773533580b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms Unpermitted parameters: name Redirected to http://test.host/users/530cba07773533580b9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5653ms 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.3237ms 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.3271ms 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.3120ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de000000'), "firstname"=>"Clarissa", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2172ms 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('530da5dd77353312de010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms 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.2452ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de020000'), "firstname"=>"Cassidy", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530da5dd77353312de020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de030000'), "firstname"=>"Lue", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9698ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de040000'), "firstname"=>"Soledad", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530da5dd77353312de040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de050000'), "firstname"=>"Dessie", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530da5dd77353312de050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms 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('530da5dd77353312de060000'), "name"=>"Ms. Esperanza Heidenreich", "reference"=>"Marilou Feest", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de070000'), "author_name"=>"Idell Nader", "content"=>["Repellendus odit omnis officiis aspernatur. Est adipisci quo. Provident neque consequatur doloribus mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530da5dd77353312de060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530da5dd77353312de080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms Redirected to http://test.host/admin/products/530da5dd77353312de060000/comments/530da5dd77353312de080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de090000'), "name"=>"Leta Zemlak PhD", "reference"=>"Mrs. Joyce Romaguera", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de0a0000'), "author_name"=>"Major Dickinson", "content"=>["Quia illo suscipit. Voluptatibus ea placeat. Eveniet distinctio velit accusamus pariatur consequuntur et nisi. Aut dolores recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530da5dd77353312de090000", "id"=>"530da5dd77353312de0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530da5dd77353312de0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Redirected to http://test.host/admin/products/530da5dd77353312de090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de0b0000'), "name"=>"Ross Boyle", "reference"=>"Mrs. Gay Stehr", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de0c0000'), "author_name"=>"Miss Alda Gibson", "content"=>["Vel est odio sequi ea. Laborum quia ipsum. Enim tempora qui sequi quod deleniti perferendis dolore. Et ullam qui aut sint porro ea. Doloribus ullam nisi voluptas nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8563ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530da5dd77353312de0b0000", "id"=>"530da5dd77353312de0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de0d0000'), "name"=>"Ms. Antonina McClure", "reference"=>"Issac Haag IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de0e0000'), "author_name"=>"Clinton Balistreri", "content"=>["Possimus assumenda voluptatem nam tempore numquam non. Similique voluptatem et aut soluta enim voluptatibus atque. Qui optio dolor nostrum. Iure ea minima ut aut aut. Aliquam odio id aut minima expedita et ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530da5dd77353312de0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de0f0000'), "name"=>"Ollie Pacocha", "reference"=>"Brendan Wunsch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de100000'), "author_name"=>"Lamont Block", "content"=>["Fugit rerum est libero voluptas blanditiis similique dolore. Non ipsa adipisci laudantium nulla rem iure et. Nesciunt aliquam in voluptates tempore. Doloribus soluta vel quia voluptatem mollitia et. Unde accusantium consectetur ipsa eaque dicta ullam reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530da5dd77353312de0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de110000'), "name"=>"Alexane Hegmann", "reference"=>"Maxine Thompson", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de120000'), "author_name"=>"Kaylee Prosacco", "content"=>["Nobis quas ullam sapiente iste voluptas. Rem consequatur dolor aut dolores. Fugiat amet explicabo hic. Nemo cupiditate consequatur. Doloribus dolor sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530da5dd77353312de110000", "id"=>"530da5dd77353312de120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de130000'), "name"=>"Herta Sawayn", "reference"=>"Jonathon Bins", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de140000'), "author_name"=>"Mrs. Mariela Hessel", "content"=>["Occaecati est inventore in harum magni rerum doloribus. Id explicabo enim amet et in recusandae. Officiis repudiandae provident quidem sapiente in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530da5dd77353312de140000", "product_id"=>"530da5dd77353312de130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de130000'), "comments._id"=>BSON::ObjectId('530da5dd77353312de140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms Redirected to http://test.host/admin/products/530da5dd77353312de130000/comments/530da5dd77353312de140000 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('530da5dd77353312de150000'), "name"=>"Shanny Rogahn", "reference"=>"Tevin Johnston", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de160000'), "firstname"=>"Richmond", "lastname"=>"Muller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530da5dd77353312de150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms Redirected to http://test.host/admin/products/530da5dd77353312de150000/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('530da5dd77353312de180000'), "name"=>"Ms. Coby Blick", "reference"=>"Dr. Madelyn Schmeler", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de190000'), "firstname"=>"Macey", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530da5dd77353312de190000", "product_id"=>"530da5dd77353312de180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de180000')} 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.8ms) Completed 200 OK in 38ms (Views: 36.0ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de1a0000'), "name"=>"Harry Deckow", "reference"=>"Dr. Dariana Predovic", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de1b0000'), "firstname"=>"Mario", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530da5dd77353312de1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 4.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de1c0000'), "name"=>"Erika Casper", "reference"=>"Oral Gottlieb", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de1d0000'), "firstname"=>"Beulah", "lastname"=>"O'Hara"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530da5dd77353312de1d0000", "product_id"=>"530da5dd77353312de1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de1e0000'), "name"=>"Braden Wunsch", "reference"=>"Alexzander Hegmann", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530da5dd77353312de1f0000'), "firstname"=>"Mariam", "lastname"=>"VonRueden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530da5dd77353312de1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530da5dd77353312de1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530da5dd77353312de1e0000/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('530da5dd77353312de200000'), "name"=>"Christop Quitzon", "reference"=>"Brody Turcotte", "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.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('530da5dd77353312de210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms Redirected to http://test.host/admin/products/530da5dd77353312de210000 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('530da5dd77353312de220000'), "name"=>"Miss Nathan Rolfson", "reference"=>"Mrs. Dedric Kautzer", "quantity"=>"0"}] 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.1740ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530da5dd77353312de220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de220000')} 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('530da5dd77353312de220000')} 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 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('530da5dd77353312de230000'), "name"=>"Mr. Derek Reichert", "reference"=>"Austyn McDermott", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530da5dd77353312de230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de240000'), "name"=>"Cayla Kulas", "reference"=>"Herbert Ortiz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms 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.5221ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de250000'), "name"=>"Newell Zboncak", "reference"=>"Kayden Davis", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de280000'), "name"=>"Trace D'Amore", "reference"=>"Rosalee Bergnaum", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530da5dd77353312de280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms 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('530da5dd77353312de290000'), "name"=>"Kristoffer Murphy III", "reference"=>"Marlen Schoen", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530da5dd77353312de290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/admin/products/530da5dd77353312de290000 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('530da5dd77353312de2a0000'), "firstname"=>"Marcellus", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms 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('530da5dd77353312de2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms Redirected to http://test.host/admin/users/530da5dd77353312de2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1843ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de2c0000'), "firstname"=>"Kira", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1697ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530da5dd77353312de2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5dd77353312de2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5dd77353312de2c0000')} 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 3ms 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('530da5dd77353312de2d0000'), "firstname"=>"Dillan", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530da5dd77353312de2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5dd77353312de2d0000')} 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 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('530da5dd77353312de2e0000'), "firstname"=>"Josefina", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms 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 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('530da5dd77353312de2f0000'), "firstname"=>"Myrtis", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms 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: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de300000'), "firstname"=>"Tyrell", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530da5dd77353312de300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5dd77353312de300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de310000'), "firstname"=>"Wallace", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7354ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530da5dd77353312de310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5dd77353312de310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530da5dd77353312de310000 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('530da5dd77353312de320000'), "firstname"=>"Sebastian", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms 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('530da5dd77353312de330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms 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.2222ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de340000'), "firstname"=>"Van", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530da5dd77353312de340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de350000'), "firstname"=>"Hilma", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de360000'), "firstname"=>"Haylie", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530da5dd77353312de360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de370000'), "firstname"=>"Vivian", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530da5dd77353312de370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530da5dd77353312de370000')} 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 ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de380000'), "name"=>"Catherine Grady", "reference"=>"Ms. Merle Steuber", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de390000'), "author_name"=>"Tom Will", "content"=>["Ad placeat quo in eaque. Molestiae at quaerat id ullam. Dolorem est consectetur consequatur est. Mollitia rerum ratione omnis blanditiis impedit. Earum aliquid dignissimos accusantium."]}]}] 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('530da5dd77353312de380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530da5dd77353312de380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530da5dd77353312de3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Redirected to http://test.host/products/530da5dd77353312de380000/comments/530da5dd77353312de3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de3b0000'), "name"=>"Willie Deckow Sr.", "reference"=>"Corbin Osinski", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de3c0000'), "author_name"=>"Cordelia Metz Jr.", "content"=>["Voluptatem consequatur qui. Mollitia voluptas deleniti doloremque. Omnis aut sed quisquam. Illo alias quibusdam eos sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530da5dd77353312de3b0000", "id"=>"530da5dd77353312de3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de3b0000')} 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('530da5dd77353312de3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530da5dd77353312de3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms Redirected to http://test.host/products/530da5dd77353312de3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de3d0000'), "name"=>"Georgiana Goyette", "reference"=>"Cecile Powlowski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de3e0000'), "author_name"=>"Reta Douglas", "content"=>["Delectus voluptas quia blanditiis itaque dicta quo voluptatem. Ut id natus. Ipsum autem cumque perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530da5dd77353312de3d0000", "id"=>"530da5dd77353312de3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de3d0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de3f0000'), "name"=>"Danielle Hartmann", "reference"=>"Dr. Jedidiah Schuppe", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de400000'), "author_name"=>"Nelle Heller II", "content"=>["Et quibusdam rerum voluptatem praesentium dolore. Possimus id aliquam quia quam non. Sit facilis error a veniam et eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530da5dd77353312de3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de410000'), "name"=>"Ms. Krista Ernser", "reference"=>"Dr. Lambert Wyman", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de420000'), "author_name"=>"Dayne Bartell", "content"=>["Id officiis quia. Qui quam nemo officia mollitia minus hic. Sunt harum cupiditate deleniti non. Natus voluptatum qui voluptas quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530da5dd77353312de410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de430000'), "name"=>"Dr. Alba Kuphal", "reference"=>"Susie Kilback", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de440000'), "author_name"=>"Chaz Wunsch", "content"=>["Quia enim totam qui nam id. Modi quo minima distinctio officia quia ab doloremque. Sint voluptatem aspernatur vero atque suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1723ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530da5dd77353312de430000", "id"=>"530da5dd77353312de440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de450000'), "name"=>"Duane Schuppe", "reference"=>"Ms. Vincenza Doyle", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de460000'), "author_name"=>"Mrs. Evelyn Emmerich", "content"=>["Accusamus fugit non dolorum pariatur sit architecto. Consectetur ut vitae autem. Ducimus fugit eum ea minus quam. Nesciunt minus ut enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530da5dd77353312de450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5dd77353312de470000'), "name"=>"Miss Rosella Kozey", "reference"=>"Dr. Arlene Abbott", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530da5dd77353312de480000'), "author_name"=>"Seamus Dibbert", "content"=>["Veritatis quaerat iste eos aliquid accusamus fugit. Omnis quia aut. Quam a omnis repellat aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530da5dd77353312de470000", "id"=>"530da5dd77353312de480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5dd77353312de470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms Completed 200 OK in 30ms (Views: 27.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de490000'), "name"=>"Skye Graham", "reference"=>"Mireille Kuhn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de4a0000'), "author_name"=>"Ms. Jarrod Bauch", "content"=>["Inventore dolor aut eos quae totam eum quam. Nihil est earum qui provident. Voluptatem optio iste est. Et fugit beatae veniam deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530da5de77353312de4a0000", "product_id"=>"530da5de77353312de490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de490000'), "comments._id"=>BSON::ObjectId('530da5de77353312de4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5869ms Redirected to http://test.host/products/530da5de77353312de490000/comments/530da5de77353312de4a0000 Completed 302 Found in 41ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de4b0000'), "firstname"=>"Kelly", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2323ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/admin/clients/530da5de77353312de4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2712ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de4d0000'), "firstname"=>"Mandy", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms 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"=>"530da5de77353312de4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms 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.1924ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de4e0000'), "firstname"=>"Vicenta", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530da5de77353312de4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('530da5de77353312de4f0000'), "firstname"=>"Lucy", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by Iord::GenericController#index as HTML MOPED: 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.7ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de500000'), "firstname"=>"Johan", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms 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('530da5de77353312de510000'), "firstname"=>"Ahmad", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530da5de77353312de510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms 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('530da5de77353312de520000'), "firstname"=>"Lurline", "lastname"=>"Vandervort"}] 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"=>"530da5de77353312de520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de520000')} 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('530da5de77353312de520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Redirected to http://test.host/admin/clients/530da5de77353312de520000 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('530da5de77353312de530000'), "firstname"=>"Brent", "lastname"=>"Schuppe"}] 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=>"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('530da5de77353312de540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms Redirected to http://test.host/clients/530da5de77353312de540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de550000'), "firstname"=>"Jocelyn", "lastname"=>"Stroman"}] 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.1611ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530da5de77353312de550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms 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('530da5de77353312de560000'), "firstname"=>"Edwardo", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530da5de77353312de560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de560000')} 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.0ms) 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('530da5de77353312de570000'), "firstname"=>"Katlynn", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de580000'), "firstname"=>"Ewald", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('530da5de77353312de590000'), "firstname"=>"Malinda", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530da5de77353312de590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms Completed 200 OK in 6ms (Views: 2.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530da5de77353312de5a0000'), "firstname"=>"Sherman", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530da5de77353312de5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530da5de77353312de5a0000')} 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('530da5de77353312de5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms Redirected to http://test.host/clients/530da5de77353312de5a0000 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('530da5de77353312de5b0000'), "name"=>"Oda Stracke", "reference"=>"Rosalind McGlynn", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de5c0000'), "firstname"=>"Lou", "lastname"=>"Waters"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530da5de77353312de5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms Redirected to http://test.host/products/530da5de77353312de5b0000/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('530da5de77353312de5e0000'), "name"=>"Liza Cruickshank", "reference"=>"Ms. Derrick DuBuque", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de5f0000'), "firstname"=>"Agnes", "lastname"=>"Smith"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530da5de77353312de5f0000", "product_id"=>"530da5de77353312de5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de600000'), "name"=>"Adelia Schroeder", "reference"=>"Mr. Elisa Gutmann", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de610000'), "firstname"=>"Davin", "lastname"=>"Herman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530da5de77353312de600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de620000'), "name"=>"Ms. Leonie Upton", "reference"=>"Katarina Bechtelar", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de630000'), "firstname"=>"Jessie", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530da5de77353312de630000", "product_id"=>"530da5de77353312de620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de640000'), "name"=>"Miss Bertha Maggio", "reference"=>"Perry Murazik", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530da5de77353312de650000'), "firstname"=>"Dexter", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7879ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530da5de77353312de650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530da5de77353312de640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Unpermitted parameters: name Redirected to http://test.host/products/530da5de77353312de640000/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('530da5de77353312de660000'), "name"=>"Keshawn Weimann", "reference"=>"Sheldon Spinka Sr.", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1999ms 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('530da5de77353312de670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Redirected to http://test.host/products/530da5de77353312de670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1957ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de680000'), "name"=>"Mr. Cordie Hane", "reference"=>"Novella Gutkowski", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1732ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530da5de77353312de680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms 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('530da5de77353312de690000'), "name"=>"Nia Cormier", "reference"=>"Madisyn Gleichner", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530da5de77353312de690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de690000')} 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.5ms) 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('530da5de77353312de6a0000'), "name"=>"Ariane Crona", "reference"=>"Mrs. Elmer Romaguera", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms 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.7808ms Completed 200 OK in 48ms (Views: 47.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de6b0000'), "name"=>"Kip Russel DDS", "reference"=>"Norval McGlynn", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms 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.7636ms 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('530da5de77353312de6c0000'), "name"=>"Juwan Osinski V", "reference"=>"Cali Green Sr.", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530da5de77353312de6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Completed 200 OK in 35ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de6d0000'), "name"=>"Lavon Aufderhar", "reference"=>"Mrs. Adalberto Strosin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms 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.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de6f0000'), "name"=>"Moriah Barton", "reference"=>"Bud Kris", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530da5de77353312de6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de700000'), "name"=>"Sam Yundt", "reference"=>"Rocio Ratke", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1791ms 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('530da5de77353312de710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms 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('530da5de77353312de720000'), "name"=>"Mrs. Sarai Mann", "reference"=>"Jeffery Cummings", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530da5de77353312de720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de720000')} 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('530da5de77353312de720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms 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('530da5de77353312de730000'), "name"=>"Cayla Quigley", "reference"=>"Delphine Kihn", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms 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('530da5de77353312de750000'), "name"=>"Jerry Rempel III", "reference"=>"Dylan Crist DDS", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530da5de77353312de750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms 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('530da5de77353312de760000'), "name"=>"Grayson Walker", "reference"=>"Jameson Kessler", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530da5de77353312de760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de760000')} 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('530da5de77353312de760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms Redirected to http://test.host/products/530da5de77353312de760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de790000'), "name"=>"Florencio Gerlach", "reference"=>"Dr. Buford Hauck", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de770000'), "author_name"=>"Ocie Torphy", "content"=>["Est deleniti qui cumque possimus eaque quia. Totam sed delectus. Quaerat hic natus eum rem maiores quibusdam aliquam. Ut nulla sint voluptates quis quia beatae reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de780000'), "author_name"=>"Ernesto O'Connell", "content"=>["Est dolorem quis occaecati tempora ducimus. Provident et quis voluptas sapiente qui ut et. Et enim in. In voluptatibus quia eum tempora. Quisquam et enim est neque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530da5de77353312de790000", "comment_id"=>"530da5de77353312de770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de790000'), "comments._id"=>BSON::ObjectId('530da5de77353312de770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530da5de77353312de7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Redirected to http://test.host/products/530da5de77353312de790000/comments/530da5de77353312de770000/comments/530da5de77353312de7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de7d0000'), "name"=>"Sarai Schroeder", "reference"=>"Mylene Abernathy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de7b0000'), "author_name"=>"Baby Conn", "content"=>["Necessitatibus nostrum qui molestiae eius cumque. Maiores repudiandae occaecati tenetur asperiores alias dolorem dolorem. Sit eos nostrum expedita voluptates nesciunt aut qui. Repellendus quis quisquam aut est quia. Ut ipsum nisi eaque omnis laudantium."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de7c0000'), "author_name"=>"Ottilie Macejkovic", "content"=>["Ab voluptatibus sed ut quos. Totam beatae in deleniti repellat repudiandae. Est impedit iusto et aperiam qui dolor. Deleniti nostrum ducimus in. Expedita eos aperiam est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530da5de77353312de7d0000", "comment_id"=>"530da5de77353312de7b0000", "id"=>"530da5de77353312de7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de7d0000'), "comments._id"=>BSON::ObjectId('530da5de77353312de7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530da5de77353312de7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9571ms Redirected to http://test.host/products/530da5de77353312de7d0000/comments/530da5de77353312de7b0000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de800000'), "name"=>"Francisco Carter", "reference"=>"Ansley Orn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de7e0000'), "author_name"=>"Gerald Mayert", "content"=>["Qui amet fugiat quasi reprehenderit veritatis officiis. Qui consequatur ad. Sed incidunt recusandae. Perspiciatis unde omnis dolorum et."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de7f0000'), "author_name"=>"Martina West I", "content"=>["Ducimus praesentium eveniet mollitia pariatur hic dicta. Aut placeat nostrum voluptatem. Exercitationem quia et enim. Magni quos ratione quia quas dicta nihil officiis. Incidunt ipsa et fugit voluptas modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530da5de77353312de800000", "comment_id"=>"530da5de77353312de7e0000", "id"=>"530da5de77353312de7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de830000'), "name"=>"Joanie Herzog", "reference"=>"Laverna Ruecker DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de810000'), "author_name"=>"Aracely Littel", "content"=>["Aut maiores esse fugit. Totam iste numquam possimus accusantium doloribus natus. Rerum architecto et dolorem necessitatibus repudiandae. Veniam sit nam error ab."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de820000'), "author_name"=>"Estella Hand", "content"=>["Doloremque quia odio. Sunt aut corporis voluptatem. Rerum quas illum harum praesentium. Adipisci corrupti et consequatur. Temporibus earum nesciunt sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530da5de77353312de830000", "comment_id"=>"530da5de77353312de810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de860000'), "name"=>"Mr. Elian Larson", "reference"=>"Keanu Beatty", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de840000'), "author_name"=>"Ms. Ole Barton", "content"=>["Maxime quia similique velit labore in ut quas. Harum ad est atque. Repellendus eos esse omnis laborum. Dolore molestiae sunt laudantium numquam error doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de850000'), "author_name"=>"Rhoda Prosacco", "content"=>["Magni provident ullam ipsa exercitationem totam saepe eos. Animi possimus adipisci laborum iure. Aut autem accusantium sit quis aut dolor ut. Deserunt sed quos accusamus quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530da5de77353312de860000", "comment_id"=>"530da5de77353312de840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de890000'), "name"=>"Alia Medhurst DDS", "reference"=>"Macie Kerluke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de870000'), "author_name"=>"Ms. Sean Klein", "content"=>["Omnis eos inventore doloribus sequi sapiente omnis quis. Soluta fugit sunt consequatur eius quasi molestiae ut. Sunt qui rem id omnis. Non est eum commodi."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de880000'), "author_name"=>"Eladio Cassin", "content"=>["Repudiandae deserunt voluptatem ut nam. Maxime ea omnis. Et tempore accusamus ut rerum. Est pariatur quas sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530da5de77353312de890000", "comment_id"=>"530da5de77353312de870000", "id"=>"530da5de77353312de880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de8c0000'), "name"=>"Alyson Bauch", "reference"=>"Miss Kassandra Hoppe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de8a0000'), "author_name"=>"Jazmyn Wunsch", "content"=>["Ducimus sit soluta. Omnis cupiditate repudiandae temporibus placeat. Eaque blanditiis sint nam corporis eum. Facilis suscipit nulla alias."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de8b0000'), "author_name"=>"Ms. Sabryna McKenzie", "content"=>["Rerum id provident omnis veniam. Ipsam quam voluptas aperiam quo omnis. Deleniti est enim similique. Velit vero porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530da5de77353312de8c0000", "comment_id"=>"530da5de77353312de8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 33ms (Views: 4.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de8f0000'), "name"=>"Haley Terry DVM", "reference"=>"Mr. Delfina Toy", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de8d0000'), "author_name"=>"Frieda Green", "content"=>["Quos eaque quisquam. Sunt corporis quam. Et nobis aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de8e0000'), "author_name"=>"Avery Simonis", "content"=>["Ipsum harum similique velit dicta. Voluptatibus modi voluptas. Est molestiae temporibus ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530da5de77353312de8f0000", "comment_id"=>"530da5de77353312de8d0000", "id"=>"530da5de77353312de8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530da5de77353312de920000'), "name"=>"Miss Cruz Parker", "reference"=>"Josefa VonRueden", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de900000'), "author_name"=>"Mrs. Ryder Torphy", "content"=>["Similique cum consequatur esse delectus unde non. Reiciendis minus harum. Accusamus voluptas ut qui labore dolores qui. Culpa facere et esse qui fugit vel."], "comments"=>[{"_id"=>BSON::ObjectId('530da5de77353312de910000'), "author_name"=>"Kaitlyn Zulauf", "content"=>["Enim nesciunt deleniti totam voluptatibus voluptatem. Aliquam consequatur vel aut at officiis. Doloremque necessitatibus sed provident omnis incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530da5de77353312de910000", "product_id"=>"530da5de77353312de920000", "comment_id"=>"530da5de77353312de900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530da5de77353312de920000'), "comments._id"=>BSON::ObjectId('530da5de77353312de900000'), "comments.0.comments._id"=>BSON::ObjectId('530da5de77353312de910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2536ms Redirected to http://test.host/products/530da5de77353312de920000/comments/530da5de77353312de900000/comments/530da5de77353312de910000 Completed 302 Found in 11ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5de77353312de930000'), "firstname"=>"Camren", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2294ms 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('530da5de77353312de940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms Redirected to http://test.host/users/530da5de77353312de940000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2832ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5de77353312de950000'), "firstname"=>"Vallie", "lastname"=>"Weber"}] 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=>"admin_users", :query=>{}} runtime: 0.2393ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530da5de77353312de950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5de77353312de950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4183ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5de77353312de950000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2380ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5de77353312de960000'), "firstname"=>"Vincenzo", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530da5de77353312de960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5de77353312de960000')} 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 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('530da5de77353312de970000'), "firstname"=>"Ryleigh", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms 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.3594ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530da5de77353312de980000'), "firstname"=>"Maryam", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('530da5de77353312de990000'), "firstname"=>"Laney", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by UsersController#show as HTML Parameters: {"id"=>"530da5de77353312de990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5de77353312de990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms 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('530da5de77353312de9a0000'), "firstname"=>"Kay", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530da5de77353312de9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530da5de77353312de9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Unpermitted parameters: name Redirected to http://test.host/users/530da5de77353312de9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3831ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms 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.3505ms 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.3194ms 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.3440ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff000000'), "firstname"=>"Mayra", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2281ms 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('530dc96677353322ff010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms 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.2478ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff020000'), "firstname"=>"Myrna", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530dc96677353322ff020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff030000'), "firstname"=>"Shannon", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.0043ms 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: 4.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff040000'), "firstname"=>"Lavada", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530dc96677353322ff040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff050000'), "firstname"=>"Carolyn", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530dc96677353322ff050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms 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('530dc96677353322ff060000'), "name"=>"Miss Joanie Batz", "reference"=>"Moriah O'Conner", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff070000'), "author_name"=>"Dr. Lucius Mayert", "content"=>["A et et consectetur alias aut possimus quo. Velit voluptatem ut nostrum praesentium omnis. Repudiandae laudantium qui. Voluptatem doloribus ut placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530dc96677353322ff060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530dc96677353322ff080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Redirected to http://test.host/admin/products/530dc96677353322ff060000/comments/530dc96677353322ff080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff090000'), "name"=>"Marcelino Sporer II", "reference"=>"Kendrick Nolan", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff0a0000'), "author_name"=>"Dr. Layne Durgan", "content"=>["Sit doloribus nihil dolores eligendi amet. At a non. Sit nesciunt dolor optio voluptas non. Amet voluptate rerum libero harum esse placeat beatae. Enim sint et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530dc96677353322ff090000", "id"=>"530dc96677353322ff0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff090000')} 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('530dc96677353322ff090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530dc96677353322ff0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Redirected to http://test.host/admin/products/530dc96677353322ff090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff0b0000'), "name"=>"Mr. Orie Ernser", "reference"=>"Annamarie McClure", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff0c0000'), "author_name"=>"Anastacio Bashirian", "content"=>["Sint aut culpa laborum recusandae odio. Corporis nesciunt est magni voluptates odio. Dolor modi consequuntur. Voluptatem odio dolorem incidunt voluptas labore dignissimos adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9745ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530dc96677353322ff0b0000", "id"=>"530dc96677353322ff0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff0d0000'), "name"=>"Hyman Gleason", "reference"=>"Hoyt Wolff III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff0e0000'), "author_name"=>"Nathan Witting", "content"=>["Animi quod magni impedit sit quibusdam quia facilis. Quasi ea quaerat. Non nobis velit doloremque. Est odit consequatur tempora. Iste voluptatum provident voluptatem est expedita placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530dc96677353322ff0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff0f0000'), "name"=>"Miss Ashley Ankunding", "reference"=>"Zella Schmeler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff100000'), "author_name"=>"Alia Jerde DVM", "content"=>["Suscipit amet ratione ut rerum. Eum illum enim nihil aut quo. Cum quis maiores necessitatibus repellat aut. Minus libero mollitia sit et nemo nesciunt ut. Laudantium ratione qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530dc96677353322ff0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff110000'), "name"=>"Alivia Deckow", "reference"=>"Omari Donnelly MD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff120000'), "author_name"=>"Ms. Judge Reilly", "content"=>["Nobis exercitationem ipsa excepturi similique libero. Explicabo vel omnis est cum vitae. Similique accusamus hic porro quam. Qui architecto autem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530dc96677353322ff110000", "id"=>"530dc96677353322ff120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff130000'), "name"=>"Mrs. Gabriella Lubowitz", "reference"=>"Dixie Wuckert", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff140000'), "author_name"=>"Ena Nikolaus", "content"=>["Voluptatibus excepturi voluptate pariatur fugiat veniam. Eveniet voluptas quod nam praesentium. Vel enim exercitationem dolor quia minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530dc96677353322ff140000", "product_id"=>"530dc96677353322ff130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff130000'), "comments._id"=>BSON::ObjectId('530dc96677353322ff140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Redirected to http://test.host/admin/products/530dc96677353322ff130000/comments/530dc96677353322ff140000 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('530dc96677353322ff150000'), "name"=>"Brianne Trantow", "reference"=>"Kennith Spencer", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff160000'), "firstname"=>"Dorian", "lastname"=>"Bins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530dc96677353322ff150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms Redirected to http://test.host/admin/products/530dc96677353322ff150000/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('530dc96677353322ff180000'), "name"=>"Alan Fadel", "reference"=>"Ford Reichel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff190000'), "firstname"=>"Adelle", "lastname"=>"Ward"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530dc96677353322ff190000", "product_id"=>"530dc96677353322ff180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 38ms (Views: 36.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff1a0000'), "name"=>"Freeda Parker", "reference"=>"Javier Vandervort", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff1b0000'), "firstname"=>"Fabian", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530dc96677353322ff1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff1a0000')} 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.3ms) Completed 200 OK in 6ms (Views: 4.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff1c0000'), "name"=>"Miss Landen Padberg", "reference"=>"Deondre Schuster Jr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff1d0000'), "firstname"=>"Marlen", "lastname"=>"Quigley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530dc96677353322ff1d0000", "product_id"=>"530dc96677353322ff1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff1e0000'), "name"=>"Larue Price I", "reference"=>"Delia Grant", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530dc96677353322ff1f0000'), "firstname"=>"Demond", "lastname"=>"Mosciski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530dc96677353322ff1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530dc96677353322ff1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530dc96677353322ff1e0000/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('530dc96677353322ff200000'), "name"=>"Savanah Schamberger", "reference"=>"Brooks Rempel IV", "quantity"=>"5"}] 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.1846ms 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('530dc96677353322ff210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Redirected to http://test.host/admin/products/530dc96677353322ff210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1898ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff220000'), "name"=>"Esta Lockman", "reference"=>"Lauretta Nicolas", "quantity"=>"5"}] 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.1784ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530dc96677353322ff220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff220000')} 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('530dc96677353322ff220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms 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.1908ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff230000'), "name"=>"Brent Witting", "reference"=>"Theo Spinka", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530dc96677353322ff230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff240000'), "name"=>"Mrs. Anahi Bosco", "reference"=>"Carrie Reinger V", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms 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.5268ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff250000'), "name"=>"Tad Watsica", "reference"=>"Serena Little", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff280000'), "name"=>"Ms. Noelia Herman", "reference"=>"Ms. Madison Hagenes", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530dc96677353322ff280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms 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('530dc96677353322ff290000'), "name"=>"Autumn Stoltenberg", "reference"=>"Estelle Abbott", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530dc96677353322ff290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff290000')} 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('530dc96677353322ff290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Redirected to http://test.host/admin/products/530dc96677353322ff290000 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('530dc96677353322ff2a0000'), "firstname"=>"Scot", "lastname"=>"Cruickshank"}] 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=>"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('530dc96677353322ff2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Redirected to http://test.host/admin/users/530dc96677353322ff2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1981ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff2c0000'), "firstname"=>"Candida", "lastname"=>"Farrell"}] 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.1713ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530dc96677353322ff2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96677353322ff2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96677353322ff2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms 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.1917ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff2d0000'), "firstname"=>"Evangeline", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530dc96677353322ff2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96677353322ff2d0000')} 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.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('530dc96677353322ff2e0000'), "firstname"=>"Ezra", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms 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.3699ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff2f0000'), "firstname"=>"Mariah", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms 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: 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('530dc96677353322ff300000'), "firstname"=>"Roslyn", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530dc96677353322ff300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96677353322ff300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms 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('530dc96677353322ff310000'), "firstname"=>"Hazle", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530dc96677353322ff310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96677353322ff310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530dc96677353322ff310000 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('530dc96677353322ff320000'), "firstname"=>"Clementine", "lastname"=>"Schultz"}] 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=>"administrators", :query=>{}} runtime: 0.1804ms 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('530dc96677353322ff330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms 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_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff340000'), "firstname"=>"Sonny", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530dc96677353322ff340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff350000'), "firstname"=>"Edyth", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff360000'), "firstname"=>"Kamren", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530dc96677353322ff360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff370000'), "firstname"=>"Virgil", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530dc96677353322ff370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530dc96677353322ff370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530dc96677353322ff380000'), "name"=>"Santiago Klocko", "reference"=>"Kennedy Wyman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff390000'), "author_name"=>"Johathan Beahan", "content"=>["Consequatur at facilis. Quam delectus voluptate. Provident inventore et id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530dc96677353322ff380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530dc96677353322ff3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Redirected to http://test.host/products/530dc96677353322ff380000/comments/530dc96677353322ff3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff3b0000'), "name"=>"Mr. Maurice Botsford", "reference"=>"Alva Herzog", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff3c0000'), "author_name"=>"Myrtice Lind", "content"=>["Pariatur placeat quis vero nemo velit. Molestiae qui qui ab placeat. Ipsum rem numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530dc96677353322ff3b0000", "id"=>"530dc96677353322ff3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff3b0000')} 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('530dc96677353322ff3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530dc96677353322ff3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms Redirected to http://test.host/products/530dc96677353322ff3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff3d0000'), "name"=>"Ashly Crooks", "reference"=>"Orion Bogisich", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff3e0000'), "author_name"=>"Waino West", "content"=>["Ut cum aut earum ad. Qui rerum cumque ducimus ratione commodi facere. Vel qui doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530dc96677353322ff3d0000", "id"=>"530dc96677353322ff3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff3f0000'), "name"=>"Justina Huel", "reference"=>"Jadyn Ebert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff400000'), "author_name"=>"Mr. Nayeli Franecki", "content"=>["Eos dolores quas. Fugit dolore est excepturi. Facilis aut voluptatem nihil quaerat ea id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530dc96677353322ff3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff410000'), "name"=>"Mr. Jody Trantow", "reference"=>"Eliane Bogisich", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff420000'), "author_name"=>"Sydnie Schumm", "content"=>["Vel illo voluptatem quo dolores dolorum sunt. Nostrum eligendi dolor. Ut ex recusandae molestias neque doloribus unde. Dicta nostrum consequatur. Minus et est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530dc96677353322ff410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff430000'), "name"=>"Lee Padberg", "reference"=>"Erica Kulas", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff440000'), "author_name"=>"Orpha Wolff Sr.", "content"=>["Aspernatur et repudiandae dolorem sequi. Saepe ut aut rem enim excepturi maiores. Et dicta dolore est sunt. Delectus harum repudiandae enim deleniti non expedita. Quam velit voluptatem quo hic voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5188ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530dc96677353322ff430000", "id"=>"530dc96677353322ff440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff450000'), "name"=>"Glen Williamson", "reference"=>"Rasheed Farrell", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff460000'), "author_name"=>"Estelle Breitenberg III", "content"=>["Consequatur error inventore corporis ut sequi in. Voluptatibus delectus dolorem quis repudiandae sint accusantium ex. Sint suscipit quasi asperiores qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530dc96677353322ff450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff470000'), "name"=>"Ernestina Fay", "reference"=>"Armani Raynor", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff480000'), "author_name"=>"Ms. Foster Armstrong", "content"=>["Quaerat tenetur aliquid pariatur dolor. Adipisci dolores provident quam illum recusandae odio. Eius ut beatae possimus occaecati et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530dc96677353322ff470000", "id"=>"530dc96677353322ff480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff490000'), "name"=>"Sage Runolfsdottir", "reference"=>"Mr. Alec Maggio", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530dc96677353322ff4a0000'), "author_name"=>"Orlando Abbott", "content"=>["Voluptas magni id velit dolorem consequatur. Iste ratione consectetur in incidunt. Amet quis expedita. Voluptatem ipsam ut non quia sequi autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530dc96677353322ff4a0000", "product_id"=>"530dc96677353322ff490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96677353322ff490000')} 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('530dc96677353322ff490000'), "comments._id"=>BSON::ObjectId('530dc96677353322ff4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5761ms Redirected to http://test.host/products/530dc96677353322ff490000/comments/530dc96677353322ff4a0000 Completed 302 Found in 39ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff4b0000'), "firstname"=>"Nathanael", "lastname"=>"Walter"}] 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.2099ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Redirected to http://test.host/admin/clients/530dc96677353322ff4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2055ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff4d0000'), "firstname"=>"Adaline", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1751ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530dc96677353322ff4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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.1855ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff4e0000'), "firstname"=>"Hermann", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530dc96677353322ff4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff4e0000')} 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.1ms) 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('530dc96677353322ff4f0000'), "firstname"=>"Allison", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms 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('530dc96677353322ff500000'), "firstname"=>"Maxwell", "lastname"=>"Schiller"}] 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.9ms) 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('530dc96677353322ff510000'), "firstname"=>"Greta", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530dc96677353322ff510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms 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('530dc96677353322ff520000'), "firstname"=>"Wilton", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530dc96677353322ff520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms Redirected to http://test.host/admin/clients/530dc96677353322ff520000 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('530dc96677353322ff530000'), "firstname"=>"Ted", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1741ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms Redirected to http://test.host/clients/530dc96677353322ff540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1734ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff550000'), "firstname"=>"Brycen", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms 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"=>"530dc96677353322ff550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff550000')} 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('530dc96677353322ff550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms 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.1767ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff560000'), "firstname"=>"Sharon", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530dc96677353322ff560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff560000')} 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.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('530dc96677353322ff570000'), "firstname"=>"Elda", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3815ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff580000'), "firstname"=>"Diamond", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96677353322ff590000'), "firstname"=>"Wilfredo", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530dc96677353322ff590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96677353322ff590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms Completed 200 OK in 6ms (Views: 2.5ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff5a0000'), "firstname"=>"Alphonso", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530dc96777353322ff5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530dc96777353322ff5a0000')} 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('530dc96777353322ff5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms Redirected to http://test.host/clients/530dc96777353322ff5a0000 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('530dc96777353322ff5b0000'), "name"=>"Reginald Feeney", "reference"=>"Maureen Streich PhD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff5c0000'), "firstname"=>"Zetta", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530dc96777353322ff5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms Redirected to http://test.host/products/530dc96777353322ff5b0000/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('530dc96777353322ff5e0000'), "name"=>"Hilario Lang", "reference"=>"Mervin Feil", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff5f0000'), "firstname"=>"Elvera", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530dc96777353322ff5f0000", "product_id"=>"530dc96777353322ff5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff600000'), "name"=>"Liza Metz", "reference"=>"Dasia Labadie", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff610000'), "firstname"=>"Archibald", "lastname"=>"Prosacco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530dc96777353322ff600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff620000'), "name"=>"Rickie Krajcik", "reference"=>"Mrs. Juwan Nolan", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff630000'), "firstname"=>"Annamarie", "lastname"=>"Reichel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530dc96777353322ff630000", "product_id"=>"530dc96777353322ff620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff640000'), "name"=>"Alicia Monahan", "reference"=>"Pinkie Hamill", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530dc96777353322ff650000'), "firstname"=>"Brayan", "lastname"=>"Hagenes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2351ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530dc96777353322ff650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530dc96777353322ff640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms Unpermitted parameters: name Redirected to http://test.host/products/530dc96777353322ff640000/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('530dc96777353322ff660000'), "name"=>"Chadd Gulgowski", "reference"=>"Willard Runolfsdottir", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.2249ms 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('530dc96777353322ff670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Redirected to http://test.host/products/530dc96777353322ff670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2228ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff680000'), "name"=>"Queenie Jacobs", "reference"=>"Willy Kozey", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1733ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530dc96777353322ff680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff680000')} 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('530dc96777353322ff680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms 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.1676ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff690000'), "name"=>"Francesco Huel", "reference"=>"Eulah Kshlerin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530dc96777353322ff690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff690000')} 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.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff6a0000'), "name"=>"Braxton Aufderhar", "reference"=>"Reina Abernathy Sr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms 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.7548ms Completed 200 OK in 52ms (Views: 51.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff6b0000'), "name"=>"Delaney Rippin", "reference"=>"Bennett Wisozk III", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms 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.7794ms 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('530dc96777353322ff6c0000'), "name"=>"Brock Hills", "reference"=>"Favian Kuhlman MD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4417ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530dc96777353322ff6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms 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('530dc96777353322ff6d0000'), "name"=>"Ms. Gordon Batz", "reference"=>"Clark Hermiston", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6048ms 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.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff6f0000'), "name"=>"Ardella Boehm", "reference"=>"Arianna Deckow DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530dc96777353322ff6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff700000'), "name"=>"Hailey Spencer DDS", "reference"=>"Mrs. Damian Collier", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms 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('530dc96777353322ff710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms 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('530dc96777353322ff720000'), "name"=>"Antonina Quitzon", "reference"=>"Dr. Viviane Mills", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530dc96777353322ff720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff720000')} 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('530dc96777353322ff720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms 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('530dc96777353322ff730000'), "name"=>"Miss Nils Ziemann", "reference"=>"Westley Jakubowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms 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('530dc96777353322ff750000'), "name"=>"Maddison Gerhold", "reference"=>"Sylvan Sawayn", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530dc96777353322ff750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff750000')} 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('530dc96777353322ff750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms 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('530dc96777353322ff760000'), "name"=>"Rossie Beahan I", "reference"=>"Isac Simonis", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530dc96777353322ff760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms Redirected to http://test.host/products/530dc96777353322ff760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff790000'), "name"=>"Tate Jast", "reference"=>"Rosina McLaughlin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff770000'), "author_name"=>"Maybell Murazik", "content"=>["Aut ut eligendi et ducimus. Vero reprehenderit eos dolore velit ipsam doloribus hic. Ut adipisci et commodi laudantium rerum ex sit."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff780000'), "author_name"=>"Hailey Boyer", "content"=>["Aut incidunt nisi. Harum sunt est numquam sed voluptas natus nulla. Ratione ab fugit dignissimos. Odio molestiae ab animi facere ducimus debitis. Aut quia id sed modi iste assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530dc96777353322ff790000", "comment_id"=>"530dc96777353322ff770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff790000'), "comments._id"=>BSON::ObjectId('530dc96777353322ff770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530dc96777353322ff7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6426ms Redirected to http://test.host/products/530dc96777353322ff790000/comments/530dc96777353322ff770000/comments/530dc96777353322ff7a0000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff7d0000'), "name"=>"Darryl Rodriguez", "reference"=>"Norval Krajcik", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff7b0000'), "author_name"=>"Armani Lakin", "content"=>["Dolorem nihil voluptate. Totam fugiat rerum qui quis perspiciatis deleniti. Mollitia incidunt voluptate quidem debitis amet nemo. Rem aut non ut sit."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff7c0000'), "author_name"=>"Greg Pouros", "content"=>["Corporis quisquam ut ut velit. Debitis excepturi reprehenderit et. Soluta enim dicta quia esse itaque aut culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530dc96777353322ff7d0000", "comment_id"=>"530dc96777353322ff7b0000", "id"=>"530dc96777353322ff7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff7d0000'), "comments._id"=>BSON::ObjectId('530dc96777353322ff7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530dc96777353322ff7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Redirected to http://test.host/products/530dc96777353322ff7d0000/comments/530dc96777353322ff7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff800000'), "name"=>"Monica Renner", "reference"=>"Hailey Jaskolski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff7e0000'), "author_name"=>"Heather Howell", "content"=>["Eos ut unde quisquam. Quae magnam id. Voluptas sequi ipsum illum est. Ut quasi placeat sequi."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff7f0000'), "author_name"=>"Dalton McCullough", "content"=>["Aut provident eveniet magnam est. Id et illum. Omnis placeat doloribus et suscipit aspernatur. Dolorum illo iusto voluptates ipsa modi occaecati sint. Laborum aut labore est est quaerat tenetur porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530dc96777353322ff800000", "comment_id"=>"530dc96777353322ff7e0000", "id"=>"530dc96777353322ff7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff830000'), "name"=>"Kimberly Hackett", "reference"=>"Taya Kreiger", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff810000'), "author_name"=>"Johann O'Hara", "content"=>["Qui possimus ratione iste blanditiis quaerat voluptatem. Fuga velit et labore est aut minus deleniti. Laborum veniam similique ut est laboriosam ut. Quia nihil soluta velit sed iure praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff820000'), "author_name"=>"Evan Hilll Sr.", "content"=>["Molestias dolores pariatur neque voluptatem esse ut qui. Suscipit rerum id est doloremque vel. Placeat quis aut autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530dc96777353322ff830000", "comment_id"=>"530dc96777353322ff810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff860000'), "name"=>"Bennett Bogan DDS", "reference"=>"Lexi Shields IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff840000'), "author_name"=>"Geo Lemke III", "content"=>["Eveniet et in. Sed tempora nisi. Voluptas aspernatur ea ipsum deleniti odio. Sed vero eaque qui."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff850000'), "author_name"=>"Mr. Jessy Harvey", "content"=>["Pariatur magnam et quis. Dolor et natus modi rerum. Qui totam aperiam et corporis est distinctio excepturi. Culpa et sit. Voluptatem illo reprehenderit maxime."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530dc96777353322ff860000", "comment_id"=>"530dc96777353322ff840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff890000'), "name"=>"Maybell Beer", "reference"=>"Vanessa Willms", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff870000'), "author_name"=>"Cruz Mitchell III", "content"=>["Voluptatem dolorem repellendus aliquid voluptatem esse quasi velit. Vero temporibus molestiae ut. Mollitia et neque sit earum modi accusantium nihil."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff880000'), "author_name"=>"Mrs. Mathias Runolfsdottir", "content"=>["Delectus dolores ad. Facere explicabo sint quae. Doloribus repudiandae voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530dc96777353322ff890000", "comment_id"=>"530dc96777353322ff870000", "id"=>"530dc96777353322ff880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff8c0000'), "name"=>"Anderson Cummings", "reference"=>"Gino Gibson", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff8a0000'), "author_name"=>"Hassie Stiedemann", "content"=>["Velit repellendus voluptatem voluptatem. Non et accusamus qui ipsa labore eius. Nobis in ipsum sed iste neque aperiam molestias. Voluptates illum dolores beatae quo veniam fugit enim. Consectetur iure aut."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff8b0000'), "author_name"=>"Florence Hackett", "content"=>["Id iusto impedit sapiente et. Veritatis vero accusantium aliquid voluptate eum. Possimus dolorem nisi officiis at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530dc96777353322ff8c0000", "comment_id"=>"530dc96777353322ff8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 33ms (Views: 30.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff8f0000'), "name"=>"Rhoda Murphy", "reference"=>"Morton Carter", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff8d0000'), "author_name"=>"Samson Reinger", "content"=>["Repellendus ullam sint laboriosam dicta impedit dolor. Iusto culpa exercitationem eveniet sed. Dolor explicabo eligendi quibusdam minima. Est non doloremque numquam illum. Eum eaque unde voluptatum sed."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff8e0000'), "author_name"=>"Ludie Deckow", "content"=>["Facilis ratione consequatur sit laborum. Quia occaecati magni consequatur iusto recusandae. Cupiditate harum maiores architecto laudantium. Est ab consequatur facilis itaque fugit ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530dc96777353322ff8f0000", "comment_id"=>"530dc96777353322ff8d0000", "id"=>"530dc96777353322ff8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3466ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff920000'), "name"=>"Madilyn Greenfelder", "reference"=>"Rocky Daugherty", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff900000'), "author_name"=>"Earline Wisoky IV", "content"=>["Excepturi soluta unde labore ab voluptatem veniam repudiandae. Expedita sunt et quasi adipisci fugit. Cum praesentium consequatur reiciendis nobis. Ipsum dolorum dolores cupiditate qui. Maiores accusantium sit iure."], "comments"=>[{"_id"=>BSON::ObjectId('530dc96777353322ff910000'), "author_name"=>"Juliana Ebert", "content"=>["Est facilis exercitationem non voluptatibus tenetur voluptatem. Quis a ex ab quia cumque quae cum. Excepturi molestias temporibus enim accusamus. Aperiam et veniam ex perferendis. Ex occaecati facere aliquam ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6074ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530dc96777353322ff910000", "product_id"=>"530dc96777353322ff920000", "comment_id"=>"530dc96777353322ff900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530dc96777353322ff920000'), "comments._id"=>BSON::ObjectId('530dc96777353322ff900000'), "comments.0.comments._id"=>BSON::ObjectId('530dc96777353322ff910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5503ms Redirected to http://test.host/products/530dc96777353322ff920000/comments/530dc96777353322ff900000/comments/530dc96777353322ff910000 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('530dc96777353322ff930000'), "firstname"=>"Norbert", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms 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('530dc96777353322ff940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Redirected to http://test.host/users/530dc96777353322ff940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2445ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff950000'), "firstname"=>"Rahul", "lastname"=>"Bernhard"}] 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=>"admin_users", :query=>{}} runtime: 0.2266ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530dc96777353322ff950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96777353322ff950000')} 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('530dc96777353322ff950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms 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.2516ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff960000'), "firstname"=>"Estella", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530dc96777353322ff960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96777353322ff960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('530dc96777353322ff970000'), "firstname"=>"Kristoffer", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms 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.3662ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff980000'), "firstname"=>"Alta", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms 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.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530dc96777353322ff990000'), "firstname"=>"Joseph", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by UsersController#show as HTML Parameters: {"id"=>"530dc96777353322ff990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96777353322ff990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms 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('530dc96777353322ff9a0000'), "firstname"=>"Major", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7624ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530dc96777353322ff9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530dc96777353322ff9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms Unpermitted parameters: name Redirected to http://test.host/users/530dc96777353322ff9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms 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.3180ms 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.3201ms 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.2569ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070000000'), "firstname"=>"Mellie", "lastname"=>"Stoltenberg"}] 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.1637ms 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('530ef6977735335070010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms 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.1811ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070020000'), "firstname"=>"Braxton", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530ef6977735335070020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070030000'), "firstname"=>"Naomie", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6413ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070040000'), "firstname"=>"David", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530ef6977735335070040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070050000'), "firstname"=>"Lon", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530ef6977735335070050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms 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('530ef6977735335070060000'), "name"=>"Madisen Thiel", "reference"=>"Juanita Wilkinson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070070000'), "author_name"=>"Lukas Brown IV", "content"=>["Nesciunt nulla voluptatem. Velit voluptates ut. In fugiat facere ea iure excepturi. Illo blanditiis rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef6977735335070060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef6977735335070080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Redirected to http://test.host/admin/products/530ef6977735335070060000/comments/530ef6977735335070080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070090000'), "name"=>"Dana Ankunding", "reference"=>"Albina Quigley", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350700a0000'), "author_name"=>"Tiffany Wiza", "content"=>["Saepe quam enim. Unde sed et saepe et eos explicabo laborum. Aut amet eum laudantium aut. Nostrum et iste earum reprehenderit. Fuga nemo cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef6977735335070090000", "id"=>"530ef69777353350700a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070090000')} 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('530ef6977735335070090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef69777353350700a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Redirected to http://test.host/admin/products/530ef6977735335070090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350700b0000'), "name"=>"Jessy Miller I", "reference"=>"Maida Leuschke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350700c0000'), "author_name"=>"Tyler Brown", "content"=>["Tenetur et dolorem ut magnam. Cupiditate facilis ipsa corporis eius omnis nemo. Dolores deleniti in nesciunt ut. Vitae magni nihil quod facere ut. Aliquid non quisquam nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530ef69777353350700b0000", "id"=>"530ef69777353350700c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350700b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350700d0000'), "name"=>"Kane White", "reference"=>"Miss Kacie Wilkinson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350700e0000'), "author_name"=>"Chet Morar", "content"=>["Quia perspiciatis expedita. Qui et sunt voluptas qui id. Occaecati consequatur blanditiis libero labore minima dolorem eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530ef69777353350700d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350700d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350700f0000'), "name"=>"Hermann Schamberger", "reference"=>"Liliane Quitzon", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070100000'), "author_name"=>"Dr. Mustafa Borer", "content"=>["Ipsam cumque ut autem. Ullam mollitia non quaerat. Unde asperiores repudiandae ipsam repellendus et in voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530ef69777353350700f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350700f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070110000'), "name"=>"Keira Hahn", "reference"=>"Patrick Koch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070120000'), "author_name"=>"Mylene Greenfelder", "content"=>["Quia velit quis illum. Omnis rerum deleniti dolorum adipisci animi. Et numquam placeat nemo ad consequatur. Expedita aut ullam occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2242ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530ef6977735335070110000", "id"=>"530ef6977735335070120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070130000'), "name"=>"Loyal Rippin", "reference"=>"Theresia Medhurst Sr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070140000'), "author_name"=>"Ms. Leanna Schuppe", "content"=>["Nostrum ut placeat facere officia fugiat eligendi est. Dolor assumenda enim et dolor. Ipsum cupiditate aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef6977735335070140000", "product_id"=>"530ef6977735335070130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070130000'), "comments._id"=>BSON::ObjectId('530ef6977735335070140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Redirected to http://test.host/admin/products/530ef6977735335070130000/comments/530ef6977735335070140000 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('530ef6977735335070150000'), "name"=>"Marquis Lemke", "reference"=>"Jolie Ortiz III", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070160000'), "firstname"=>"Kim", "lastname"=>"Stroman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef6977735335070150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms Redirected to http://test.host/admin/products/530ef6977735335070150000/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('530ef6977735335070180000'), "name"=>"Jarvis Kessler", "reference"=>"Ms. Evie Klein", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070190000'), "firstname"=>"Loren", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530ef6977735335070190000", "product_id"=>"530ef6977735335070180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070180000')} 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 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350701a0000'), "name"=>"Clementine Kihn", "reference"=>"Loyce Hoppe II", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530ef69777353350701b0000'), "firstname"=>"Arlie", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530ef69777353350701a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350701a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.7ms) Completed 200 OK in 36ms (Views: 34.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350701c0000'), "name"=>"Ms. Haven Dach", "reference"=>"Molly Mills", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef69777353350701d0000'), "firstname"=>"Ervin", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1446ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530ef69777353350701d0000", "product_id"=>"530ef69777353350701c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350701c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350701e0000'), "name"=>"Piper Ryan", "reference"=>"Heath Brakus MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef69777353350701f0000'), "firstname"=>"Jadon", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530ef69777353350701f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef69777353350701e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350701e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530ef69777353350701e0000/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('530ef6977735335070200000'), "name"=>"Ms. Ali Casper", "reference"=>"Logan Lubowitz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1794ms 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('530ef6977735335070210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Redirected to http://test.host/admin/products/530ef6977735335070210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070220000'), "name"=>"Matt Keeling", "reference"=>"Miss Schuyler Herman", "quantity"=>"3"}] 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.1768ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530ef6977735335070220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070220000')} 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('530ef6977735335070220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms 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.1889ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070230000'), "name"=>"Rebekah Tromp Jr.", "reference"=>"Mr. Winifred Kessler", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530ef6977735335070230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070230000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070240000'), "name"=>"Amara Volkman", "reference"=>"Emil Becker", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms 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.5385ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070250000'), "name"=>"Iliana Mertz DDS", "reference"=>"Stevie Zboncak IV", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms 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: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070280000'), "name"=>"Dr. Giles Marvin", "reference"=>"Shany Bailey", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530ef6977735335070280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms 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('530ef6977735335070290000'), "name"=>"Devyn Schinner", "reference"=>"Ora Lindgren", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef6977735335070290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms Redirected to http://test.host/admin/products/530ef6977735335070290000 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('530ef69777353350702a0000'), "firstname"=>"Clementina", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms 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('530ef69777353350702b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Redirected to http://test.host/admin/users/530ef69777353350702b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1912ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef69777353350702c0000'), "firstname"=>"Eliezer", "lastname"=>"Baumbach"}] 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=>"admin_users", :query=>{}} runtime: 0.1678ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530ef69777353350702c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef69777353350702c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef69777353350702c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms 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.1875ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef69777353350702d0000'), "firstname"=>"Edwardo", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530ef69777353350702d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef69777353350702d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms 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('530ef69777353350702e0000'), "firstname"=>"Jaclyn", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms 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.3296ms 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('530ef69777353350702f0000'), "firstname"=>"Jake", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 37ms (Views: 36.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef6977735335070300000'), "firstname"=>"Sheridan", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530ef6977735335070300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6977735335070300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef6977735335070310000'), "firstname"=>"Antonetta", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef6977735335070310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6977735335070310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530ef6977735335070310000 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('530ef6977735335070320000'), "firstname"=>"Vanessa", "lastname"=>"Deckow"}] 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=>"administrators", :query=>{}} runtime: 0.1713ms 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('530ef6977735335070330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms 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.1721ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070340000'), "firstname"=>"Anika", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530ef6977735335070340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070350000'), "firstname"=>"Eliseo", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070360000'), "firstname"=>"Jordi", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530ef6977735335070360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef6977735335070370000'), "firstname"=>"Alene", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530ef6977735335070370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef6977735335070370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms 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('530ef6977735335070380000'), "name"=>"Florence Pacocha MD", "reference"=>"Arely Morar", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070390000'), "author_name"=>"Cleo Schulist", "content"=>["Consequatur facilis corrupti ipsam ut consequatur cumque soluta. Quaerat vel recusandae et amet voluptate explicabo. Ut consectetur ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef6977735335070380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070380000')} 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('530ef6977735335070380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef69777353350703a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Redirected to http://test.host/products/530ef6977735335070380000/comments/530ef69777353350703a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350703b0000'), "name"=>"Felix Pfeffer", "reference"=>"Alayna Heathcote", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350703c0000'), "author_name"=>"Nikolas Kilback", "content"=>["Commodi laborum necessitatibus sed nobis ut. Illo quod non. Accusantium harum libero corporis ipsam. Eligendi eum eos eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350703b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef69777353350703b0000", "id"=>"530ef69777353350703c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350703b0000')} 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('530ef69777353350703b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef69777353350703c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Redirected to http://test.host/products/530ef69777353350703b0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350703b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350703d0000'), "name"=>"Maxine Hermiston", "reference"=>"Ruby Glover III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350703e0000'), "author_name"=>"Dariana Harber", "content"=>["Velit optio adipisci. Aliquam eum aut ex quia libero qui a. Voluptatibus esse sunt ut magnam sed est earum. Mollitia sed fugiat earum est quis sint nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530ef69777353350703d0000", "id"=>"530ef69777353350703e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350703d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350703f0000'), "name"=>"Carmel Jerde", "reference"=>"Nick Hudson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070400000'), "author_name"=>"Kiel Schinner", "content"=>["Aliquam qui iure nisi molestiae ut. Enim possimus iusto. Nulla possimus delectus corrupti dolore architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530ef69777353350703f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350703f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070410000'), "name"=>"Dr. Thaddeus Hermann", "reference"=>"Orville Barrows", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070420000'), "author_name"=>"Kelsie Schroeder", "content"=>["Qui nostrum consectetur asperiores quaerat. Voluptatem alias quaerat quidem ipsa qui sed. Sed cupiditate aliquid est architecto voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530ef6977735335070410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070430000'), "name"=>"Royal Hoppe", "reference"=>"Dr. Matilde Mueller", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070440000'), "author_name"=>"Torey Brekke", "content"=>["Qui fugiat esse aut voluptatum voluptatem et. Nisi similique dolore quas eaque. Laborum iusto et sint dolorum corrupti numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530ef6977735335070430000", "id"=>"530ef6977735335070440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070450000'), "name"=>"Mrs. Flavie Kshlerin", "reference"=>"Albert Douglas", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070460000'), "author_name"=>"Edd Beer", "content"=>["Amet a in error hic. Est quo quidem. Sed consequatur et assumenda hic voluptatibus eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530ef6977735335070450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070470000'), "name"=>"Kathryne Rolfson", "reference"=>"Ole Schimmel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef6977735335070480000'), "author_name"=>"Emily Reinger", "content"=>["Et odio consequatur ratione. Molestiae voluptatem non saepe sunt. Quia enim suscipit quisquam. Enim delectus fugiat odio mollitia. Voluptatem voluptas assumenda a sit consequuntur dolorem illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530ef6977735335070470000", "id"=>"530ef6977735335070480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070490000'), "name"=>"Elissa Heller", "reference"=>"Clarabelle Kunze", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef69777353350704a0000'), "author_name"=>"Miss Kellen Hayes", "content"=>["Aperiam modi ipsa. Iure quis necessitatibus. Sint repellat earum voluptatibus vero non sed animi. Ex non sapiente et ratione et. Est quis cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef69777353350704a0000", "product_id"=>"530ef6977735335070490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070490000')} 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('530ef6977735335070490000'), "comments._id"=>BSON::ObjectId('530ef69777353350704a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms Redirected to http://test.host/products/530ef6977735335070490000/comments/530ef69777353350704a0000 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('530ef69777353350704b0000'), "firstname"=>"William", "lastname"=>"Harris"}] 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=>"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('530ef69777353350704c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms Redirected to http://test.host/admin/clients/530ef69777353350704c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2030ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef69777353350704d0000'), "firstname"=>"Lavada", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms 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"=>"530ef69777353350704d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef69777353350704d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef69777353350704d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms 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.1920ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef69777353350704e0000'), "firstname"=>"Elisa", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef69777353350704e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef69777353350704e0000')} 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.1ms) 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('530ef69777353350704f0000'), "firstname"=>"Madisyn", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms 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('530ef6977735335070500000'), "firstname"=>"Albina", "lastname"=>"Hirthe"}] 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.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('530ef6977735335070510000'), "firstname"=>"Ransom", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef6977735335070510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef6977735335070510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms 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('530ef6977735335070520000'), "firstname"=>"Hellen", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ef6977735335070520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef6977735335070520000')} 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('530ef6977735335070520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms Redirected to http://test.host/admin/clients/530ef6977735335070520000 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('530ef6977735335070530000'), "firstname"=>"Flavio", "lastname"=>"Keeling"}] 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.1522ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef6977735335070540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms Redirected to http://test.host/clients/530ef6977735335070540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1624ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef6977735335070550000'), "firstname"=>"Abby", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1457ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530ef6977735335070550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef6977735335070550000')} 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('530ef6977735335070550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms 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.1601ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef6977735335070560000'), "firstname"=>"Alyce", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef6977735335070560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef6977735335070560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms 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('530ef6977735335070570000'), "firstname"=>"Genevieve", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3416ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef6977735335070580000'), "firstname"=>"Ole", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef6977735335070590000'), "firstname"=>"Silas", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef6977735335070590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef6977735335070590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef69777353350705a0000'), "firstname"=>"Oren", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ef69777353350705a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef69777353350705a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef69777353350705a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms Redirected to http://test.host/clients/530ef69777353350705a0000 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('530ef69777353350705b0000'), "name"=>"Eldora Gutmann", "reference"=>"Kyle Cartwright", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530ef69777353350705c0000'), "firstname"=>"Abby", "lastname"=>"Yost"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef69777353350705b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350705b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350705b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350705b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ef69777353350705d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms Redirected to http://test.host/products/530ef69777353350705b0000/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('530ef69777353350705e0000'), "name"=>"Andres Waelchi", "reference"=>"Eva Schmitt", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530ef69777353350705f0000'), "firstname"=>"Jaden", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530ef69777353350705f0000", "product_id"=>"530ef69777353350705e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69777353350705e0000')} 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.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070600000'), "name"=>"Brett Mann", "reference"=>"Luz Spencer", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070610000'), "firstname"=>"Fanny", "lastname"=>"Spencer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530ef6977735335070600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070620000'), "name"=>"Porter Gutkowski", "reference"=>"Danika King", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070630000'), "firstname"=>"Bell", "lastname"=>"Rowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530ef6977735335070630000", "product_id"=>"530ef6977735335070620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070640000'), "name"=>"Miss Ima Klein", "reference"=>"Sim Kuphal Sr.", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ef6977735335070650000'), "firstname"=>"Luther", "lastname"=>"Koepp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530ef6977735335070650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef6977735335070640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Unpermitted parameters: name Redirected to http://test.host/products/530ef6977735335070640000/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('530ef6977735335070660000'), "name"=>"Susana Aufderhar", "reference"=>"Remington Koch", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1594ms 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('530ef6977735335070670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/products/530ef6977735335070670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1758ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070680000'), "name"=>"Mrs. Carmel Walsh", "reference"=>"Creola Von", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1523ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530ef6977735335070680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070680000')} 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('530ef6977735335070680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms 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.1697ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6977735335070690000'), "name"=>"Cade Bradtke", "reference"=>"Vallie McCullough", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530ef6977735335070690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6977735335070690000')} 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.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69777353350706a0000'), "name"=>"Abbigail Wyman IV", "reference"=>"Leo Steuber II", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms 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.7472ms Completed 200 OK in 21ms (Views: 21.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69877353350706b0000'), "name"=>"Isidro Schoen", "reference"=>"Armand Harber", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms 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.8533ms 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('530ef69877353350706c0000'), "name"=>"Reyna Balistreri", "reference"=>"Kenton Hoeger", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530ef69877353350706c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350706c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms 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('530ef69877353350706d0000'), "name"=>"Ms. Alva Abbott", "reference"=>"Sigmund Effertz", "quantity"=>"3"}] 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.1ms) 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('530ef69877353350706f0000'), "name"=>"Jamey Olson", "reference"=>"Wellington Cummerata", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530ef69877353350706f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350706f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms 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('530ef6987735335070700000'), "name"=>"Shayne Pacocha", "reference"=>"Jerrod Collier", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1627ms 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('530ef6987735335070710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1806ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070720000'), "name"=>"Colten Kuvalis I", "reference"=>"Maiya Macejkovic", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530ef6987735335070720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070720000')} 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('530ef6987735335070720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms 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('530ef6987735335070730000'), "name"=>"Magdalen Abbott", "reference"=>"Moises Jacobs MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms 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('530ef6987735335070750000'), "name"=>"Elody Kuvalis", "reference"=>"Ms. Rosalyn Dach", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef6987735335070750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms 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('530ef6987735335070760000'), "name"=>"Mr. Matilde Hintz", "reference"=>"Major Tromp", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef6987735335070760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms Redirected to http://test.host/products/530ef6987735335070760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070790000'), "name"=>"Chaim Harvey Sr.", "reference"=>"Buford Mayer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070770000'), "author_name"=>"Lexus Windler", "content"=>["Sed et ut omnis. Doloremque repellat nihil. Aut aut nihil voluptatem repellendus sit. Omnis ex dolores eum eos voluptatem saepe ut. Nemo et dolores neque reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070780000'), "author_name"=>"Franz Medhurst I", "content"=>["Libero nobis et necessitatibus consectetur non magni illum. Reprehenderit officia et molestiae at. Velit quas doloremque quo totam at reiciendis. Cumque saepe tenetur debitis quis quia quam. Nihil error neque ut sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef6987735335070790000", "comment_id"=>"530ef6987735335070770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070790000')} 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('530ef6987735335070790000'), "comments._id"=>BSON::ObjectId('530ef6987735335070770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530ef69877353350707a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Redirected to http://test.host/products/530ef6987735335070790000/comments/530ef6987735335070770000/comments/530ef69877353350707a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69877353350707d0000'), "name"=>"Leslie Jaskolski", "reference"=>"Bailee Satterfield", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350707b0000'), "author_name"=>"Ms. Destany Schulist", "content"=>["Sapiente quia consectetur qui et iste quaerat. Qui itaque minima voluptatem aliquam sequi natus corporis. Illum eum expedita. Enim iure inventore labore voluptatibus aut id."], "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350707c0000'), "author_name"=>"Cristal Vandervort", "content"=>["Aspernatur est sequi et ut corporis autem et. Dolores earum ea. Beatae voluptatem ex doloremque. Est in fugiat nesciunt velit aut consectetur laboriosam."]}]}]}] 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('530ef69877353350707d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530ef69877353350707d0000", "comment_id"=>"530ef69877353350707b0000", "id"=>"530ef69877353350707c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350707d0000')} 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('530ef69877353350707d0000'), "comments._id"=>BSON::ObjectId('530ef69877353350707b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530ef69877353350707c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Redirected to http://test.host/products/530ef69877353350707d0000/comments/530ef69877353350707b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350707d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070800000'), "name"=>"Carmelo Heathcote", "reference"=>"Dr. Devan Bernhard", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350707e0000'), "author_name"=>"Estevan Greenfelder", "content"=>["Commodi aut nobis cumque delectus. Eligendi velit aut ex deleniti maiores itaque. Dolorem praesentium nihil."], "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350707f0000'), "author_name"=>"Jamison Botsford", "content"=>["Commodi repudiandae excepturi et debitis corrupti accusamus quia. Eaque aut vel natus itaque. Veniam dolor ut corrupti officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530ef6987735335070800000", "comment_id"=>"530ef69877353350707e0000", "id"=>"530ef69877353350707f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070800000')} 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.7ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070830000'), "name"=>"Kirsten Ankunding", "reference"=>"Viviane Sporer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070810000'), "author_name"=>"Josiane Bins Sr.", "content"=>["Commodi eius rerum unde occaecati. Omnis est animi ut voluptatibus soluta quia. Praesentium animi cum deserunt vel doloremque aut. Ea quibusdam minus ut adipisci est sint officia."], "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070820000'), "author_name"=>"Noble Boyle", "content"=>["Repellat in non officia error qui pariatur. Aut sunt rerum explicabo id. Esse nisi sit sunt sit animi. Ab officiis quisquam dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530ef6987735335070830000", "comment_id"=>"530ef6987735335070810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070860000'), "name"=>"Maxie Marvin", "reference"=>"Brionna Larkin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070840000'), "author_name"=>"Dino Turner", "content"=>["Velit sit et ex in vel odit ut. Voluptatibus aut quibusdam. Culpa reprehenderit autem. Culpa provident eum maxime a veritatis non vitae."], "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070850000'), "author_name"=>"Eugenia Murray", "content"=>["Sapiente ipsum voluptatibus. Voluptates accusantium ab. Exercitationem natus in aut doloribus numquam placeat. Expedita delectus occaecati provident non velit quibusdam quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530ef6987735335070860000", "comment_id"=>"530ef6987735335070840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070890000'), "name"=>"Hailee McLaughlin", "reference"=>"Dr. Nicholas Gleichner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070870000'), "author_name"=>"Reinhold Cruickshank", "content"=>["Eos dicta minus doloribus aperiam magni ipsa ducimus. Dolores molestiae aut. Quas natus tempore facere consequatur qui sapiente id."], "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070880000'), "author_name"=>"Ward Cronin MD", "content"=>["Praesentium animi maxime magnam voluptas. Placeat eveniet corporis debitis consectetur. Omnis iure et nulla. Maxime voluptates non voluptatum amet qui. Eveniet saepe earum tempore inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530ef6987735335070890000", "comment_id"=>"530ef6987735335070870000", "id"=>"530ef6987735335070880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69877353350708c0000'), "name"=>"Summer Bins", "reference"=>"Wilma Huel PhD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350708a0000'), "author_name"=>"Tianna Parisian", "content"=>["Et reiciendis nobis quasi quos. Eum eius tenetur quia hic modi ut. Molestiae repudiandae aliquam et quisquam. In ut et saepe odio sint praesentium. Illum nobis ut id."], "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350708b0000'), "author_name"=>"Lilla Orn", "content"=>["Dolorum ut eligendi aspernatur necessitatibus accusamus. Dignissimos eveniet maiores nihil nam alias ipsa unde. Odit voluptatibus esse dolores sequi qui earum voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530ef69877353350708c0000", "comment_id"=>"530ef69877353350708a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350708c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef69877353350708f0000'), "name"=>"Deven Little", "reference"=>"Maggie Crist", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350708d0000'), "author_name"=>"Amos Runolfsdottir", "content"=>["Nobis rerum earum. Rerum quam aliquam nobis et. Ut culpa unde tempore voluptatem. Eos quo soluta exercitationem aperiam repellendus deleniti reiciendis. Dolor reiciendis fugiat blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('530ef69877353350708e0000'), "author_name"=>"Lukas Wiegand", "content"=>["Quia ad debitis. Eos sit doloremque est qui repellendus beatae sed. Impedit delectus ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4824ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530ef69877353350708f0000", "comment_id"=>"530ef69877353350708d0000", "id"=>"530ef69877353350708e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef69877353350708f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef6987735335070920000'), "name"=>"Nicolette Kerluke", "reference"=>"Anjali Berge", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070900000'), "author_name"=>"Francesca Schinner II", "content"=>["Est rem perspiciatis blanditiis illo. Earum quod qui vero nihil laboriosam hic. Accusamus nemo quis. Magnam omnis dolor dolorem architecto ex quia eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('530ef6987735335070910000'), "author_name"=>"Dane Streich", "content"=>["Quod corrupti aperiam sit mollitia animi. Quia sint tempore. Qui et rem rerum deleniti et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef6987735335070910000", "product_id"=>"530ef6987735335070920000", "comment_id"=>"530ef6987735335070900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef6987735335070920000')} 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('530ef6987735335070920000'), "comments._id"=>BSON::ObjectId('530ef6987735335070900000'), "comments.0.comments._id"=>BSON::ObjectId('530ef6987735335070910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms Redirected to http://test.host/products/530ef6987735335070920000/comments/530ef6987735335070900000/comments/530ef6987735335070910000 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('530ef6987735335070930000'), "firstname"=>"Tito", "lastname"=>"Wunsch"}] 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.1560ms 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('530ef6987735335070940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7211ms Redirected to http://test.host/users/530ef6987735335070940000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2702ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef6987735335070950000'), "firstname"=>"Clint", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1507ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530ef6987735335070950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6987735335070950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6987735335070950000')} 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 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('530ef6987735335070960000'), "firstname"=>"Rosendo", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530ef6987735335070960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6987735335070960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530ef6987735335070970000'), "firstname"=>"Shaun", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms 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.3601ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef6987735335070980000'), "firstname"=>"Karley", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms 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('530ef6987735335070990000'), "firstname"=>"Torey", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by UsersController#show as HTML Parameters: {"id"=>"530ef6987735335070990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef6987735335070990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms 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('530ef69877353350709a0000'), "firstname"=>"Lamar", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef69877353350709a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef69877353350709a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms Unpermitted parameters: name Redirected to http://test.host/users/530ef69877353350709a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms 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.3141ms 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.3083ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb000000'), "firstname"=>"George", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 89.4658ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2593ms 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('530ef9d777353356fb010000'), "firstname"=>"Janie", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb010000"} 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('530ef9d777353356fb020000'), "firstname"=>"Dusty", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms 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('530ef9d777353356fb030000'), "firstname"=>"Freida", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530ef9d777353356fb030000"} 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('530ef9d777353356fb040000'), "firstname"=>"Floy", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530ef9d777353356fb040000", "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('530ef9d777353356fb050000'), "name"=>"Lura Harber", "reference"=>"Wyman Ondricka", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb060000'), "author_name"=>"Tressa McCullough", "content"=>["Atque consequatur est laboriosam delectus. Ab officia esse et odit iure fuga pariatur. Delectus omnis eum ea inventore neque. Ut quisquam aut sint ipsa magni et doloribus. Sint et ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9d777353356fb050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms 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('530ef9d777353356fb070000'), "name"=>"Ayden Hessel", "reference"=>"Stan Dicki", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb080000'), "author_name"=>"Anais Kunde I", "content"=>["Dolorem vel distinctio libero ducimus deserunt quas et. Nihil eos iure et repudiandae. At qui ab voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9d777353356fb070000", "id"=>"530ef9d777353356fb080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms 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('530ef9d777353356fb090000'), "name"=>"Dayne Ankunding", "reference"=>"Luisa Stamm", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb0a0000'), "author_name"=>"Isadore Deckow", "content"=>["Voluptatem et ut sunt et ipsa ad impedit. Adipisci dolor sed. Voluptas et deserunt aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530ef9d777353356fb090000", "id"=>"530ef9d777353356fb0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms 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('530ef9d777353356fb0b0000'), "name"=>"Mohamed Larson", "reference"=>"Gus Halvorson DDS", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb0c0000'), "author_name"=>"Janessa Mayer", "content"=>["Id iure ut repellat facere cum. Voluptate et qui. Mollitia ratione quia sunt qui autem. Velit et nihil officia quo. Explicabo totam quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530ef9d777353356fb0b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms 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('530ef9d777353356fb0d0000'), "name"=>"Miss Meredith Stracke", "reference"=>"Dee Gorczany", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb0e0000'), "author_name"=>"Justus Luettgen", "content"=>["Quia non tenetur atque est qui. Totam voluptas aliquam tempora in alias nihil. Assumenda rem laboriosam velit ut. Minus at facere numquam reiciendis omnis. Fugiat quibusdam nesciunt temporibus veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530ef9d777353356fb0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms 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('530ef9d777353356fb0f0000'), "name"=>"Bailee Blanda", "reference"=>"Rosalee Skiles I", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb100000'), "author_name"=>"Kolby Nienow", "content"=>["Provident et sapiente quibusdam pariatur non numquam quia. Soluta earum et. Assumenda incidunt aut eos distinctio inventore. Quo quo soluta voluptas fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530ef9d777353356fb0f0000", "id"=>"530ef9d777353356fb100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4011ms Completed 500 Internal Server Error in 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb110000'), "name"=>"Elaina Hills", "reference"=>"Kian Ziemann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb120000'), "author_name"=>"Mrs. Anderson Von", "content"=>["Eum voluptate qui tempora enim autem. Incidunt sed suscipit veniam expedita velit cupiditate. Consequatur ut quis ut. Iusto voluptatum porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9d777353356fb120000", "product_id"=>"530ef9d777353356fb110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms 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('530ef9d777353356fb130000'), "name"=>"Jarrett Sauer", "reference"=>"Audie Russel", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb140000'), "firstname"=>"Joanny", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef9d777353356fb130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms 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('530ef9d777353356fb150000'), "name"=>"Jonathan Sanford V", "reference"=>"Davonte Spencer", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb160000'), "firstname"=>"Vada", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb160000", "product_id"=>"530ef9d777353356fb150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms 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('530ef9d777353356fb170000'), "name"=>"Taylor Funk", "reference"=>"Monte Dicki", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb180000'), "firstname"=>"Elian", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530ef9d777353356fb170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms 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('530ef9d777353356fb190000'), "name"=>"Ada Larkin", "reference"=>"Mrs. Margarette Satterfield", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb1a0000'), "firstname"=>"Halie", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530ef9d777353356fb1a0000", "product_id"=>"530ef9d777353356fb190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms 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('530ef9d777353356fb1b0000'), "name"=>"Edgardo Wilderman", "reference"=>"Dr. Melvin Schumm", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb1c0000'), "firstname"=>"Aniya", "lastname"=>"Schinner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530ef9d777353356fb1c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef9d777353356fb1b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms 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('530ef9d777353356fb1d0000'), "name"=>"Garry Kiehn Jr.", "reference"=>"Liza Buckridge", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1659ms 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('530ef9d777353356fb1e0000'), "name"=>"Miss Carlotta Klocko", "reference"=>"Emelie Pouros", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms 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"=>"530ef9d777353356fb1e0000"} 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('530ef9d777353356fb1f0000'), "name"=>"Sim Hirthe", "reference"=>"Ralph Renner", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb1f0000"} 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('530ef9d777353356fb200000'), "name"=>"Alana Grady", "reference"=>"Ted Torphy", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms 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('530ef9d777353356fb210000'), "name"=>"Jedediah Haley DVM", "reference"=>"Lilyan Corkery", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms 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('530ef9d777353356fb220000'), "name"=>"Rashad Hirthe", "reference"=>"Gwendolyn Hamill", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3253ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530ef9d777353356fb220000"} 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('530ef9d777353356fb230000'), "name"=>"Dr. Guiseppe Brakus", "reference"=>"Shany Walter", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9d777353356fb230000"} 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('530ef9d777353356fb240000'), "firstname"=>"Peyton", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2009ms 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('530ef9d777353356fb250000'), "firstname"=>"Zelda", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1767ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530ef9d777353356fb250000"} 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('530ef9d777353356fb260000'), "firstname"=>"Peter", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb260000"} 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('530ef9d777353356fb270000'), "firstname"=>"Emmanuel", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms 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('530ef9d777353356fb280000'), "firstname"=>"Kylee", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by Admin::UsersController#new as HTML Completed 500 Internal Server Error in 2ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb290000'), "firstname"=>"Genoveva", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530ef9d777353356fb290000"} 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('530ef9d777353356fb2a0000'), "firstname"=>"Ellis", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef9d777353356fb2a0000"} 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('530ef9d777353356fb2b0000'), "firstname"=>"Billy", "lastname"=>"McLaughlin"}] 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=>"administrators", :query=>{}} runtime: 0.1710ms 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('530ef9d777353356fb2c0000'), "firstname"=>"Larue", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb2c0000"} 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('530ef9d777353356fb2d0000'), "firstname"=>"Lorena", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms 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('530ef9d777353356fb2e0000'), "firstname"=>"Wilhelm", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530ef9d777353356fb2e0000"} 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('530ef9d777353356fb2f0000'), "firstname"=>"Deborah", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530ef9d777353356fb2f0000", "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('530ef9d777353356fb300000'), "name"=>"Rickey Green V", "reference"=>"Guy Cruickshank", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb310000'), "author_name"=>"Vaughn Wuckert", "content"=>["Quisquam et at labore voluptas quasi. Dicta aperiam praesentium est consequatur ipsa deleniti. Eligendi ut itaque aliquid eos sit harum minus."]}]}] 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('530ef9d777353356fb300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9d777353356fb300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms 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('530ef9d777353356fb320000'), "name"=>"Mossie Murphy", "reference"=>"Mr. Amparo Senger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb330000'), "author_name"=>"Rebeca Davis", "content"=>["Et nam quae accusantium voluptas. Rerum sequi eius optio aperiam et praesentium sapiente. Voluptate temporibus voluptatibus ullam assumenda explicabo fugit. Voluptatem temporibus illo exercitationem facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9d777353356fb320000", "id"=>"530ef9d777353356fb330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms 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('530ef9d777353356fb340000'), "name"=>"Myrtle Fahey DDS", "reference"=>"Grover Reichel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb350000'), "author_name"=>"Corbin Stiedemann", "content"=>["Reiciendis porro sint ipsam natus veritatis quia maxime. Sequi nihil voluptatibus. Ut aliquid adipisci velit neque quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530ef9d777353356fb340000", "id"=>"530ef9d777353356fb350000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms 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('530ef9d777353356fb360000'), "name"=>"August Windler", "reference"=>"Ransom Bogisich", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb370000'), "author_name"=>"Paige Satterfield", "content"=>["Eius voluptatem libero nam et. Expedita sit velit consectetur est facere et. Nam sequi tenetur voluptas mollitia est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530ef9d777353356fb360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms Completed 500 Internal Server Error in 2ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb380000'), "name"=>"Colt Stehr", "reference"=>"Paolo Berge", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb390000'), "author_name"=>"Kennedi Reilly", "content"=>["Eos voluptas molestiae iusto vero. Perferendis et qui sed ut. Ad hic rerum. Aliquid nulla ex eius cumque dolore non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530ef9d777353356fb380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Completed 500 Internal Server Error in 3ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb3a0000'), "name"=>"Amya Wintheiser", "reference"=>"Lisa Beier", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb3b0000'), "author_name"=>"Gisselle Grady", "content"=>["Atque inventore porro ut a quo aperiam mollitia. Dolores aliquam sit. Rem voluptate doloribus ducimus. Incidunt neque molestias tenetur dolore sit ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530ef9d777353356fb3a0000", "id"=>"530ef9d777353356fb3b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms 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('530ef9d777353356fb3c0000'), "name"=>"Amy Gusikowski", "reference"=>"Kenton Rath", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb3d0000'), "author_name"=>"Caleigh McCullough DVM", "content"=>["Enim id consequatur consectetur. Officiis voluptatem adipisci ab culpa repudiandae facere enim. Ipsa inventore quo. Voluptas aut ratione. Fugit animi labore quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530ef9d777353356fb3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms 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('530ef9d777353356fb3e0000'), "name"=>"Lamar Jacobs", "reference"=>"Tristian Carter", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb3f0000'), "author_name"=>"Miss Adell Schuster", "content"=>["Omnis ducimus recusandae et nihil. Blanditiis consequatur voluptatum et est in impedit. Omnis voluptatem ut perspiciatis. Quos in sint qui commodi delectus voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530ef9d777353356fb3e0000", "id"=>"530ef9d777353356fb3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms 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('530ef9d777353356fb400000'), "name"=>"Ulices Heller", "reference"=>"Garnett Eichmann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d777353356fb410000'), "author_name"=>"Tamara Rosenbaum IV", "content"=>["Et autem molestiae optio. Maxime eum quam quos. Consectetur placeat ab ut voluptatem eius sit necessitatibus. Quia nihil ipsam delectus. Similique autem atque ut quia quis dolor rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9d777353356fb410000", "product_id"=>"530ef9d777353356fb400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms 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('530ef9d777353356fb420000'), "firstname"=>"Ed", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9068ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2601ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb430000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Redirected to http://test.host/admin/clients/530ef9d777353356fb430000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2480ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb440000'), "firstname"=>"Efrain", "lastname"=>"Swift"}] 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.1773ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530ef9d777353356fb440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb440000')} 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.2033ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb450000'), "firstname"=>"Ahmed", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 23ms (Views: 21.6ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb460000'), "firstname"=>"Lucas", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4425ms Completed 200 OK in 11ms (Views: 9.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb470000'), "firstname"=>"Kacie", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb480000'), "firstname"=>"Isaias", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef9d777353356fb480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms 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('530ef9d777353356fb490000'), "firstname"=>"Arthur", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ef9d777353356fb490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb490000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/admin/clients/530ef9d777353356fb490000 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('530ef9d777353356fb4a0000'), "firstname"=>"Noelia", "lastname"=>"Stehr"}] 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.1557ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb4b0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms Redirected to http://test.host/clients/530ef9d777353356fb4b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1999ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb4c0000'), "firstname"=>"Ivah", "lastname"=>"Schamberger"}] 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.1452ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"530ef9d777353356fb4c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb4c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms 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.1610ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb4d0000'), "firstname"=>"Myles", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms 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('530ef9d777353356fb4e0000'), "firstname"=>"Abigale", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms Completed 200 OK in 10ms (Views: 9.3ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb4f0000'), "firstname"=>"Sonya", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms 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('530ef9d777353356fb500000'), "firstname"=>"Winnifred", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef9d777353356fb500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9d777353356fb510000'), "firstname"=>"Sabina", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ef9d777353356fb510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9d777353356fb510000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms Redirected to http://test.host/clients/530ef9d777353356fb510000 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('530ef9d777353356fb520000'), "name"=>"Cesar Monahan", "reference"=>"Noe McDermott", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb530000'), "firstname"=>"Hazel", "lastname"=>"Prohaska"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef9d777353356fb520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms 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('530ef9d777353356fb540000'), "name"=>"Bernita Purdy", "reference"=>"Trevor Stark", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb550000'), "firstname"=>"Hobart", "lastname"=>"Schumm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530ef9d777353356fb550000", "product_id"=>"530ef9d777353356fb540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms 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('530ef9d777353356fb560000'), "name"=>"Ali Kovacek", "reference"=>"Alexys Bednar", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb570000'), "firstname"=>"Noel", "lastname"=>"Herman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530ef9d777353356fb560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms 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('530ef9d777353356fb580000'), "name"=>"Franco Dickens", "reference"=>"Hazle Weissnat Sr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb590000'), "firstname"=>"Jimmie", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9386ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530ef9d777353356fb590000", "product_id"=>"530ef9d777353356fb580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms 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('530ef9d777353356fb5a0000'), "name"=>"Uriah Ortiz", "reference"=>"Ralph Goyette", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9d777353356fb5b0000'), "firstname"=>"Susan", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530ef9d777353356fb5b0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef9d777353356fb5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d777353356fb5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms 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('530ef9d877353356fb5c0000'), "name"=>"Jayne Gerlach", "reference"=>"Aurore Hoppe", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1786ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello"}} Completed 500 Internal Server Error in 34ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb5d0000'), "name"=>"Ms. Tristin Marvin", "reference"=>"Amya Daniel MD", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1896ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530ef9d877353356fb5d0000"} 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('530ef9d877353356fb5e0000'), "name"=>"Jessika Will", "reference"=>"Gwen Dietrich", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1380ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530ef9d877353356fb5e0000"} 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('530ef9d877353356fb5f0000'), "name"=>"Marlen Hudson", "reference"=>"Consuelo Roob", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms 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('530ef9d877353356fb600000'), "name"=>"Abner Hoeger", "reference"=>"Jarrod Kuhn", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms 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('530ef9d877353356fb610000'), "name"=>"Myrtis Murray", "reference"=>"Kimberly Muller", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530ef9d877353356fb610000"} 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('530ef9d877353356fb620000'), "name"=>"Gerard O'Connell", "reference"=>"Velva Davis", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms 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('530ef9d877353356fb630000'), "name"=>"Johann Hartmann", "reference"=>"Kadin Bode IV", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530ef9d877353356fb630000"} 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('530ef9d877353356fb640000'), "name"=>"Salvador Bednar", "reference"=>"Magnus Bernier", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1853ms 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('530ef9d877353356fb650000'), "name"=>"Laurianne Graham I", "reference"=>"Jade Mann MD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530ef9d877353356fb650000"} Completed 500 Internal Server Error in 1ms --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb660000'), "name"=>"Tess Ullrich DDS", "reference"=>"Cesar Larson", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms 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('530ef9d877353356fb670000'), "name"=>"Garnet Morissette", "reference"=>"Erick Wiza", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9d877353356fb670000"} 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('530ef9d877353356fb680000'), "name"=>"Brendon Lindgren", "reference"=>"Tyra Nolan", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9d877353356fb680000"} Completed 500 Internal Server Error in 0ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb6b0000'), "name"=>"Mr. Cleveland Powlowski", "reference"=>"Minerva Mraz", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb690000'), "author_name"=>"Johnnie Johnston DVM", "content"=>["Eos qui consequatur. Quam corrupti repudiandae et quisquam. Et architecto vel. Aut voluptatem sed dolorum enim quasi. Repudiandae vitae nostrum non."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb6a0000'), "author_name"=>"Manley Walker", "content"=>["Fugit distinctio quia eaque magnam est molestiae in. Vero rerum ut voluptates iusto. Sint et repellendus neque dolorum mollitia. Odit ab ex dolor accusantium. Maiores adipisci officiis sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9d877353356fb6b0000", "comment_id"=>"530ef9d877353356fb690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb6e0000'), "name"=>"Jordon Mills", "reference"=>"Breana Nicolas", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb6c0000'), "author_name"=>"Daphney Feil", "content"=>["Rem temporibus optio ut quo ipsa vel doloremque. Velit optio reprehenderit aspernatur. Quasi cum libero suscipit quia."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb6d0000'), "author_name"=>"Chesley Ziemann", "content"=>["Ea ex accusamus delectus ducimus non illo. Consequatur non sapiente molestias cum accusamus. Illo ipsum vel molestiae placeat molestiae consequatur porro. Doloremque quis consectetur delectus velit nam minima unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9d877353356fb6e0000", "comment_id"=>"530ef9d877353356fb6c0000", "id"=>"530ef9d877353356fb6d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb710000'), "name"=>"Miss Aliyah Feest", "reference"=>"Owen Lueilwitz", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb6f0000'), "author_name"=>"Bradly Bernhard", "content"=>["Corporis nulla minima ut delectus. Reprehenderit aut atque magnam rerum nostrum laborum. Delectus esse non ex quas. Aspernatur id autem eos minima."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb700000'), "author_name"=>"Laron Bogisich", "content"=>["Deleniti et id. Perferendis fugiat ut occaecati odit voluptatem et ut. Deserunt impedit qui voluptates. Sed et sed ut. Sed ex tempora dolores maxime consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530ef9d877353356fb710000", "comment_id"=>"530ef9d877353356fb6f0000", "id"=>"530ef9d877353356fb700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Completed 500 Internal Server Error in 2ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb740000'), "name"=>"Juston Nikolaus", "reference"=>"Miss Ricardo Aufderhar", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb720000'), "author_name"=>"Danny Hirthe", "content"=>["Sed quia assumenda minus maxime soluta sit. Voluptatem vel voluptatibus libero. Neque reiciendis asperiores rerum."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb730000'), "author_name"=>"Ms. Narciso Douglas", "content"=>["Culpa consectetur sed ad porro. Non quia incidunt sed autem repudiandae fugiat voluptatem. Nostrum sunt deleniti assumenda debitis ipsum exercitationem odit. Et cupiditate dolorum deleniti itaque enim. Rerum velit laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530ef9d877353356fb740000", "comment_id"=>"530ef9d877353356fb720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Completed 500 Internal Server Error in 2ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb770000'), "name"=>"Darian Lakin", "reference"=>"Matt Lowe", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb750000'), "author_name"=>"Eryn Glover", "content"=>["Quia error itaque in. Quaerat enim quod voluptatum. Unde voluptatem commodi. In nisi odio voluptas qui dolorem occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb760000'), "author_name"=>"Junius Kilback", "content"=>["Eius ipsam nisi et et mollitia in. Nemo dolorem illo magnam. Itaque velit nihil aut. Quaerat animi asperiores minima illum architecto sint. Ipsa nobis ea facilis eum aut cum sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530ef9d877353356fb770000", "comment_id"=>"530ef9d877353356fb750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms Completed 500 Internal Server Error in 2ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb7a0000'), "name"=>"Layla Rempel II", "reference"=>"Mrs. Luigi Lesch", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb780000'), "author_name"=>"Delilah Gaylord", "content"=>["Veniam asperiores est. Rerum id ullam aperiam fugit assumenda voluptatem iure. Provident sed error."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb790000'), "author_name"=>"Emmett Mueller", "content"=>["Quis iste cum explicabo delectus excepturi necessitatibus dolores. Voluptas excepturi et quia maiores non. Ut ex voluptas voluptatum et tempore repellendus. Maiores aut et quas voluptatem voluptas et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530ef9d877353356fb7a0000", "comment_id"=>"530ef9d877353356fb780000", "id"=>"530ef9d877353356fb790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms Completed 500 Internal Server Error in 2ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb7d0000'), "name"=>"Josue Larson", "reference"=>"Dr. Maia Abbott", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb7b0000'), "author_name"=>"Zella Kerluke", "content"=>["Aut eum quis consequatur amet quia labore. Voluptas dolor sequi nam eaque dolorem. Iure qui sunt ipsum consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb7c0000'), "author_name"=>"Crawford Cassin IV", "content"=>["Eos totam sint corrupti eius ipsam. Temporibus provident natus et sint. Repellat aspernatur odit sit ipsa possimus. Deleniti porro eos suscipit impedit rem omnis. Earum nesciunt at excepturi molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8140ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530ef9d877353356fb7d0000", "comment_id"=>"530ef9d877353356fb7b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb800000'), "name"=>"Archibald Tremblay", "reference"=>"Marshall Will Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb7e0000'), "author_name"=>"Lilyan Emmerich Sr.", "content"=>["Cupiditate quia et minus enim similique occaecati odit. Sed et dicta aut consequatur ullam qui. Sed amet eum sapiente."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb7f0000'), "author_name"=>"Maximus Marks", "content"=>["Sint vero est iusto consequuntur quia ut. At consequatur commodi doloribus quasi et. Voluptas voluptas ut neque sint vero. Dolores iure nihil accusantium doloremque consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5318ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530ef9d877353356fb800000", "comment_id"=>"530ef9d877353356fb7e0000", "id"=>"530ef9d877353356fb7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms Completed 500 Internal Server Error in 2ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb830000'), "name"=>"Thad Towne V", "reference"=>"Wiley Altenwerth", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb810000'), "author_name"=>"King Pfeffer", "content"=>["Laborum reiciendis omnis impedit. Totam itaque nam. Laudantium fugit sunt ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9d877353356fb820000'), "author_name"=>"Letha Reynolds", "content"=>["Eveniet sunt tenetur qui vel illum reprehenderit. Voluptatem et quas. Et non dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4856ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9d877353356fb820000", "product_id"=>"530ef9d877353356fb830000", "comment_id"=>"530ef9d877353356fb810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9d877353356fb830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Completed 500 Internal Server Error in 3ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9d877353356fb840000'), "firstname"=>"Brennan", "lastname"=>"Stark"}] 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.1903ms 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('530ef9d877353356fb850000'), "firstname"=>"Keely", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1825ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530ef9d877353356fb850000"} 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('530ef9d877353356fb860000'), "firstname"=>"Magnolia", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530ef9d877353356fb860000"} 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('530ef9d877353356fb870000'), "firstname"=>"Darrel", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms 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('530ef9d877353356fb880000'), "firstname"=>"Hailee", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5470ms 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('530ef9d877353356fb890000'), "firstname"=>"Stefanie", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Processing by UsersController#show as HTML Parameters: {"id"=>"530ef9d877353356fb890000"} 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('530ef9d877353356fb8a0000'), "firstname"=>"Joshuah", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef9d877353356fb8a0000"} Completed 500 Internal Server Error in 0ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5469ms 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.3208ms 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.3168ms 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.3040ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745000000'), "firstname"=>"Arielle", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2628ms 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('530ef9ee7735335745010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.5877ms Redirected to http://test.host/admin/administrator Completed 302 Found in 17ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2561ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745020000'), "firstname"=>"Jimmy", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"530ef9ee7735335745020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ee7735335745020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745030000'), "firstname"=>"Marisol", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745040000'), "firstname"=>"Carleton", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"530ef9ee7735335745040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ee7735335745040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745050000'), "firstname"=>"Linnea", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"530ef9ee7735335745050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ee7735335745050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms 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('530ef9ee7735335745060000'), "name"=>"Dimitri Kiehn Jr.", "reference"=>"Tracy Bauch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee7735335745070000'), "author_name"=>"Oswald O'Connell PhD", "content"=>["Aut rerum et. Sint facere id aut magni voluptatibus ut dolorum. Illo incidunt ut. Vero qui sequi nesciunt ipsam sapiente ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9ee7735335745060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745060000')} 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('530ef9ee7735335745060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef9ee7735335745080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms Redirected to http://test.host/admin/products/530ef9ee7735335745060000/comments/530ef9ee7735335745080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745090000'), "name"=>"Brad Lang", "reference"=>"Queenie Keeling", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee77353357450a0000'), "author_name"=>"Lauren Farrell", "content"=>["Voluptatem alias optio. Delectus et saepe est quo. Quam minima sapiente dolor dolorum. Et ad nesciunt reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9ee7735335745090000", "id"=>"530ef9ee77353357450a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745090000')} 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('530ef9ee7735335745090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef9ee77353357450a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Redirected to http://test.host/admin/products/530ef9ee7735335745090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee77353357450b0000'), "name"=>"Anahi Daugherty", "reference"=>"Tristian Yost", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee77353357450c0000'), "author_name"=>"Autumn Schroeder", "content"=>["Ut aliquid possimus nam ut recusandae qui. Ut et itaque impedit quisquam tempora hic. Inventore atque porro nihil sit. Et eum ab sed ratione. Minus id quidem natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"530ef9ee77353357450b0000", "id"=>"530ef9ee77353357450c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee77353357450b0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee77353357450d0000'), "name"=>"Felicita Schinner PhD", "reference"=>"Rodrick Feeney", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee77353357450e0000'), "author_name"=>"Ms. Litzy Jakubowski", "content"=>["Deserunt neque voluptas natus non. Eum nihil aliquam saepe ipsa accusamus quo. Excepturi provident aut officia ipsum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"530ef9ee77353357450d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee77353357450d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee77353357450f0000'), "name"=>"Wilton Kiehn", "reference"=>"Erik Beahan DDS", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee7735335745100000'), "author_name"=>"Ashly Legros", "content"=>["In animi aut illum accusantium. Ut quaerat consectetur. Ullam aut autem doloremque. Rem delectus qui saepe optio eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"530ef9ee77353357450f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee77353357450f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745110000'), "name"=>"Claire Schroeder", "reference"=>"Lurline Larkin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee7735335745120000'), "author_name"=>"Mr. Angelo Daniel", "content"=>["Dolorum sed ducimus iste voluptas iusto. In et et voluptas. Et autem non animi aliquid enim. Voluptates voluptas adipisci voluptas non nobis aut ea. Porro ut et labore quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"530ef9ee7735335745110000", "id"=>"530ef9ee7735335745120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee7735335745130000'), "name"=>"Yessenia Cassin", "reference"=>"Beth Reynolds", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ee7735335745140000'), "author_name"=>"Litzy Bartell", "content"=>["Sit facere voluptatem facilis tempora. Commodi deleniti id occaecati voluptatem ex aperiam asperiores. Voluptate natus velit explicabo error fugit voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9ee7735335745140000", "product_id"=>"530ef9ee7735335745130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745130000'), "comments._id"=>BSON::ObjectId('530ef9ee7735335745140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Redirected to http://test.host/admin/products/530ef9ee7735335745130000/comments/530ef9ee7735335745140000 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('530ef9ee7735335745150000'), "name"=>"Mr. Clotilde Doyle", "reference"=>"Alford Cummings", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530ef9ee7735335745160000'), "firstname"=>"Cynthia", "lastname"=>"Kuphal"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef9ee7735335745150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745150000')} 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('530ef9ee7735335745150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ef9ee7735335745170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Redirected to http://test.host/admin/products/530ef9ee7735335745150000/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('530ef9ee7735335745180000'), "name"=>"Carolyne Hills", "reference"=>"Astrid Kihn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9ee7735335745190000'), "firstname"=>"Deshawn", "lastname"=>"Jacobson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6049ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"530ef9ee7735335745190000", "product_id"=>"530ef9ee7735335745180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee7735335745180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ee77353357451a0000'), "name"=>"Candida Harvey", "reference"=>"Aditya Koch", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ef9ee77353357451b0000'), "firstname"=>"Imelda", "lastname"=>"Langosh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"530ef9ee77353357451a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ee77353357451a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.7ms) Completed 200 OK in 37ms (Views: 35.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357451c0000'), "name"=>"Vivienne Auer", "reference"=>"Werner Mayer", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef77353357451d0000'), "firstname"=>"Reinhold", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"530ef9ef77353357451d0000", "product_id"=>"530ef9ef77353357451c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357451c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357451e0000'), "name"=>"Michelle Weissnat", "reference"=>"Oswaldo Mertz Sr.", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef77353357451f0000'), "firstname"=>"Milford", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"530ef9ef77353357451f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef9ef77353357451e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357451e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms Unpermitted parameters: name Redirected to http://test.host/admin/products/530ef9ef77353357451e0000/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('530ef9ef7735335745200000'), "name"=>"Preston Robel", "reference"=>"Dr. Nya Streich", "quantity"=>"8"}] 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=>"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('530ef9ef7735335745210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Redirected to http://test.host/admin/products/530ef9ef7735335745210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2477ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745220000'), "name"=>"Murphy Fisher", "reference"=>"Kaycee Kunde", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1791ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"530ef9ef7735335745220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745220000')} 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('530ef9ef7735335745220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms 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.2030ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745230000'), "name"=>"Grayce Boyer", "reference"=>"Henri Strosin", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"530ef9ef7735335745230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745240000'), "name"=>"Misael Cassin", "reference"=>"Russel Rempel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3893ms 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.5470ms Completed 200 OK in 12ms (Views: 11.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745250000'), "name"=>"Cornelius Stiedemann", "reference"=>"Camden Kunze", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms 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: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745280000'), "name"=>"Jarrett Reilly IV", "reference"=>"Rossie Schoen", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"530ef9ef7735335745280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms 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('530ef9ef7735335745290000'), "name"=>"Aaliyah Pollich", "reference"=>"Frederik Koepp", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9ef7735335745290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745290000')} 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('530ef9ef7735335745290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Redirected to http://test.host/admin/products/530ef9ef7735335745290000 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('530ef9ef77353357452a0000'), "firstname"=>"Bernadette", "lastname"=>"Langosh"}] 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=>"admin_users", :query=>{}} runtime: 0.1620ms 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('530ef9ef77353357452b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms Redirected to http://test.host/admin/users/530ef9ef77353357452b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2093ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357452c0000'), "firstname"=>"Danny", "lastname"=>"Jaskolski"}] 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.1572ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"530ef9ef77353357452c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9ef77353357452c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9ef77353357452c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms 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.1675ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357452d0000'), "firstname"=>"Mervin", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"530ef9ef77353357452d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9ef77353357452d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms 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('530ef9ef77353357452e0000'), "firstname"=>"Amelia", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms 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.2934ms Completed 200 OK in 6ms (Views: 5.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357452f0000'), "firstname"=>"Anya", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 36ms (Views: 36.0ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745300000'), "firstname"=>"Reese", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"530ef9ef7735335745300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9ef7735335745300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745310000'), "firstname"=>"Tyrell", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef9ef7735335745310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9ef7735335745310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Unpermitted parameters: name Redirected to http://test.host/admin/users/530ef9ef7735335745310000 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('530ef9ef7735335745320000'), "firstname"=>"Diamond", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1599ms 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('530ef9ef7735335745330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms 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.1716ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745340000'), "firstname"=>"Jordane", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"530ef9ef7735335745340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ef7735335745340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745350000'), "firstname"=>"Vallie", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745360000'), "firstname"=>"Dolores", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"530ef9ef7735335745360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ef7735335745360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745370000'), "firstname"=>"Iva", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"530ef9ef7735335745370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ef9ef7735335745370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms 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('530ef9ef7735335745380000'), "name"=>"Salvatore Osinski", "reference"=>"Raegan Runolfsson", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745390000'), "author_name"=>"Brandi Predovic", "content"=>["Ab aperiam necessitatibus facilis. Corrupti voluptas cumque ad omnis sapiente. Sit incidunt eos porro similique rerum cumque doloribus. Dicta rerum ut sapiente delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9ef7735335745380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef9ef77353357453a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Redirected to http://test.host/products/530ef9ef7735335745380000/comments/530ef9ef77353357453a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357453b0000'), "name"=>"Walton Powlowski", "reference"=>"Jaycee Wolff DDS", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357453c0000'), "author_name"=>"Dan Ondricka I", "content"=>["At nihil sed dolorem. Quaerat numquam et culpa iure. Quasi nesciunt eos. Rerum quaerat alias id neque molestias maiores tempora. Eligendi eum est vel et iusto qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357453b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9ef77353357453b0000", "id"=>"530ef9ef77353357453c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357453b0000')} 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('530ef9ef77353357453b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ef9ef77353357453c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Redirected to http://test.host/products/530ef9ef77353357453b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357453b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357453d0000'), "name"=>"Barbara O'Hara", "reference"=>"Ms. Mary Fay", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357453e0000'), "author_name"=>"Seth Wuckert IV", "content"=>["Maxime ratione nemo ipsa sit magnam tempora et. Sunt laborum dolorem. Similique id sed. Consequatur nihil quaerat laborum cupiditate dolor ut voluptas. Quibusdam aut quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6090ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"530ef9ef77353357453d0000", "id"=>"530ef9ef77353357453e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357453d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357453f0000'), "name"=>"Winfield Pfeffer", "reference"=>"Dr. Derrick Brekke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745400000'), "author_name"=>"Doug Hoppe IV", "content"=>["Aliquid facilis et et ipsa quas odio nulla. Deserunt nihil est eos quia atque et explicabo. Officia et esse illum autem. Alias et nesciunt voluptas et earum qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"530ef9ef77353357453f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357453f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745410000'), "name"=>"Mrs. Tyshawn Witting", "reference"=>"Braden Erdman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745420000'), "author_name"=>"Miss Alena Graham", "content"=>["Repudiandae sed distinctio voluptatem quidem fuga officiis voluptate. Doloribus dolor ratione. Est rerum cum. Officiis dolorum ex ut dignissimos est. Aut perferendis harum neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"530ef9ef7735335745410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745430000'), "name"=>"Norberto Hahn", "reference"=>"Aiyana Nienow", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745440000'), "author_name"=>"Dawson Morar", "content"=>["Eius molestiae architecto illum deserunt blanditiis quo sed. Deserunt praesentium omnis a occaecati doloribus. Maxime distinctio quasi inventore ut delectus voluptas id. Vero accusamus fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"530ef9ef7735335745430000", "id"=>"530ef9ef7735335745440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745450000'), "name"=>"Lauryn Kassulke", "reference"=>"Buck Kub III", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745460000'), "author_name"=>"Joseph Rohan", "content"=>["Harum consectetur qui voluptatem. Molestiae ea velit laboriosam eius aliquid distinctio. Ut est quas molestias quos. Sed blanditiis repudiandae quas ut. Facere rem a eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"530ef9ef7735335745450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745470000'), "name"=>"Garett Medhurst", "reference"=>"Ashleigh Emmerich MD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745480000'), "author_name"=>"Florida Schmidt", "content"=>["Id nulla in vel consequatur eum voluptatem autem. Architecto aut sit aspernatur voluptas. Possimus asperiores sed aut velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"530ef9ef7735335745470000", "id"=>"530ef9ef7735335745480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745490000'), "name"=>"Darwin Gulgowski", "reference"=>"Guadalupe Weber", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357454a0000'), "author_name"=>"Alf Cartwright", "content"=>["Asperiores eos ut repellendus non. Quo excepturi dolorum sapiente vitae. In totam aspernatur est sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9ef77353357454a0000", "product_id"=>"530ef9ef7735335745490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745490000')} 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('530ef9ef7735335745490000'), "comments._id"=>BSON::ObjectId('530ef9ef77353357454a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5507ms Redirected to http://test.host/products/530ef9ef7735335745490000/comments/530ef9ef77353357454a0000 Completed 302 Found in 31ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357454b0000'), "firstname"=>"Blanche", "lastname"=>"Kshlerin"}] 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=>"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('530ef9ef77353357454c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Redirected to http://test.host/admin/clients/530ef9ef77353357454c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2276ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357454d0000'), "firstname"=>"Felton", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms 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"=>"530ef9ef77353357454d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef77353357454d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef77353357454d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms 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.1898ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357454e0000'), "firstname"=>"Angelo", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef9ef77353357454e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef77353357454e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('530ef9ef77353357454f0000'), "firstname"=>"Julien", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms 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('530ef9ef7735335745500000'), "firstname"=>"Jamaal", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms 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('530ef9ef7735335745510000'), "firstname"=>"Pasquale", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef9ef7735335745510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms 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('530ef9ef7735335745520000'), "firstname"=>"Javier", "lastname"=>"Koepp"}] 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"=>"530ef9ef7735335745520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms Redirected to http://test.host/admin/clients/530ef9ef7735335745520000 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('530ef9ef7735335745530000'), "firstname"=>"Nickolas", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0104ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2251ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Redirected to http://test.host/clients/530ef9ef7735335745540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745550000'), "firstname"=>"Nyah", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms 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"=>"530ef9ef7735335745550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745550000')} 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('530ef9ef7735335745550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms 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.1619ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745560000'), "firstname"=>"Dorian", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"530ef9ef7735335745560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms 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('530ef9ef7735335745570000'), "firstname"=>"Cecil", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms Completed 200 OK in 9ms (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('530ef9ef7735335745580000'), "firstname"=>"Herman", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745590000'), "firstname"=>"Elyse", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"530ef9ef7735335745590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef7735335745590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357455a0000'), "firstname"=>"Madilyn", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530ef9ef77353357455a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530ef9ef77353357455a0000')} 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('530ef9ef77353357455a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms Redirected to http://test.host/clients/530ef9ef77353357455a0000 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('530ef9ef77353357455b0000'), "name"=>"Maryse Mayert", "reference"=>"Brooks Kertzmann PhD", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef77353357455c0000'), "firstname"=>"Price", "lastname"=>"Quitzon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ef9ef77353357455b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357455b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357455b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357455b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ef9ef77353357455d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms Redirected to http://test.host/products/530ef9ef77353357455b0000/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('530ef9ef77353357455e0000'), "name"=>"Roosevelt Lubowitz", "reference"=>"Bernardo Fahey", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef77353357455f0000'), "firstname"=>"Rocky", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"530ef9ef77353357455f0000", "product_id"=>"530ef9ef77353357455e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357455e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745600000'), "name"=>"Pansy Emmerich", "reference"=>"Tiara Frami", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef7735335745610000'), "firstname"=>"Alda", "lastname"=>"Cormier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"530ef9ef7735335745600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745620000'), "name"=>"Brandon Russel", "reference"=>"Barbara Thompson", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef7735335745630000'), "firstname"=>"Belle", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by ManagersController#show as HTML Parameters: {"id"=>"530ef9ef7735335745630000", "product_id"=>"530ef9ef7735335745620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745640000'), "name"=>"German McGlynn III", "reference"=>"Raegan Medhurst", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('530ef9ef7735335745650000'), "firstname"=>"Mateo", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by ManagersController#update as HTML Parameters: {"id"=>"530ef9ef7735335745650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530ef9ef7735335745640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms Unpermitted parameters: name Redirected to http://test.host/products/530ef9ef7735335745640000/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('530ef9ef7735335745660000'), "name"=>"Katheryn Schoen", "reference"=>"Corrine Breitenberg", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1641ms 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('530ef9ef7735335745670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Redirected to http://test.host/products/530ef9ef7735335745670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1766ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745680000'), "name"=>"Sheridan Hilll", "reference"=>"Mrs. Alexandro Carroll", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1542ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"530ef9ef7735335745680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms 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.1649ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745690000'), "name"=>"Mariela Howell I", "reference"=>"Ewell Cormier", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"530ef9ef7735335745690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('530ef9ef77353357456a0000'), "name"=>"Bartholome Ratke", "reference"=>"Shaylee Jacobson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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.7606ms Completed 200 OK in 22ms (Views: 21.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357456b0000'), "name"=>"Madilyn Harvey", "reference"=>"Luisa Lesch I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms 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.7594ms 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('530ef9ef77353357456c0000'), "name"=>"Wilfred Ryan II", "reference"=>"Mrs. Susanna Wolff", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Processing by ProductsController#show as JSON Parameters: {"id"=>"530ef9ef77353357456c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357456c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms 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('530ef9ef77353357456d0000'), "name"=>"Jaren Bahringer", "reference"=>"Tamia Kessler", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.6ms) Completed 200 OK in 41ms (Views: 39.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357456f0000'), "name"=>"Jazlyn Oberbrunner", "reference"=>"Delphine Abshire", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by ProductsController#show as HTML Parameters: {"id"=>"530ef9ef77353357456f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357456f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745700000'), "name"=>"Adolfo Lind", "reference"=>"Mohammad Veum", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6941ms 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('530ef9ef7735335745710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2126ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745720000'), "name"=>"Kaitlyn Kozey I", "reference"=>"Sabryna Treutel", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"530ef9ef7735335745720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms 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('530ef9ef7735335745730000'), "name"=>"Mr. Dahlia Jacobson", "reference"=>"Carley Lemke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms 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('530ef9ef7735335745750000'), "name"=>"Justina Rau MD", "reference"=>"Guillermo Jacobs", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9ef7735335745750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745750000')} 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('530ef9ef7735335745750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms 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('530ef9ef7735335745760000'), "name"=>"Raquel Flatley", "reference"=>"Maxime Luettgen", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530ef9ef7735335745760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms Redirected to http://test.host/products/530ef9ef7735335745760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745790000'), "name"=>"Miss Olin Wolf", "reference"=>"Maud Carter Jr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745770000'), "author_name"=>"Kathleen Hirthe", "content"=>["Est iure et qui autem et et. Excepturi eveniet minima. Reiciendis dolore facere non aut ab quisquam. Possimus facilis molestias. Sit cum ab totam hic."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745780000'), "author_name"=>"Yvette Doyle", "content"=>["Sit molestiae dignissimos repudiandae alias. Dolores officia aut sed recusandae molestiae aperiam. Alias modi fugiat. Et aut commodi qui accusantium necessitatibus quia modi. Nesciunt veritatis aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ef9ef7735335745790000", "comment_id"=>"530ef9ef7735335745770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745790000'), "comments._id"=>BSON::ObjectId('530ef9ef7735335745770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530ef9ef77353357457a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Redirected to http://test.host/products/530ef9ef7735335745790000/comments/530ef9ef7735335745770000/comments/530ef9ef77353357457a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357457d0000'), "name"=>"Grady Mann", "reference"=>"Elton Champlin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357457b0000'), "author_name"=>"Miss Mylene Mosciski", "content"=>["Corporis ab a impedit ullam aliquid dolorem. Magnam laboriosam expedita reiciendis est et aspernatur. Est suscipit numquam explicabo dolore eveniet. Consectetur ea autem."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357457c0000'), "author_name"=>"Marlene Lang V", "content"=>["Voluptatem totam consequatur voluptatem fugit temporibus earum. Ea sint aspernatur quae exercitationem perspiciatis. Provident sed eum et dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357457d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"530ef9ef77353357457d0000", "comment_id"=>"530ef9ef77353357457b0000", "id"=>"530ef9ef77353357457c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357457d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357457d0000'), "comments._id"=>BSON::ObjectId('530ef9ef77353357457b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('530ef9ef77353357457c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Redirected to http://test.host/products/530ef9ef77353357457d0000/comments/530ef9ef77353357457b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357457d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745800000'), "name"=>"Linwood Larkin", "reference"=>"Price Luettgen", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357457e0000'), "author_name"=>"Bette Bergnaum", "content"=>["Tempora deserunt inventore doloremque. Voluptas repellat molestiae. A nostrum dignissimos atque aut labore. Odit dolores recusandae quia in. Est velit nam ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357457f0000'), "author_name"=>"Carolyne Pfannerstill", "content"=>["Voluptatem debitis assumenda tempore tempora et qui. Architecto repellat excepturi at. Eaque repudiandae laboriosam voluptas. Reiciendis consequatur aut vel soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"530ef9ef7735335745800000", "comment_id"=>"530ef9ef77353357457e0000", "id"=>"530ef9ef77353357457f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745830000'), "name"=>"Nathaniel Mann Jr.", "reference"=>"Abbie Treutel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745810000'), "author_name"=>"Roxanne Kreiger", "content"=>["Aut cum aliquam blanditiis. Magni alias est praesentium officiis est blanditiis. Aut molestiae eos et reiciendis occaecati. Et sunt nihil numquam facere praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745820000'), "author_name"=>"Mrs. Garret Moen", "content"=>["Adipisci ut distinctio. Et veniam ratione accusamus voluptas libero. Consectetur asperiores aliquam voluptas esse sapiente veritatis. Fugit temporibus qui rerum velit. Ipsa ullam ex quia quidem et fugiat vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"530ef9ef7735335745830000", "comment_id"=>"530ef9ef7735335745810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745860000'), "name"=>"Ms. Nat Bartell", "reference"=>"Amina Spinka", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745840000'), "author_name"=>"Stephen Schaden PhD", "content"=>["Minus perferendis tenetur facilis natus nobis dolorum iusto. Id quidem sed eaque consequatur ex velit. Explicabo velit maxime nostrum dolores provident officia."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745850000'), "author_name"=>"Syble Gutmann", "content"=>["Et expedita assumenda consectetur. Ipsa laborum error officiis itaque dignissimos esse. Est eum suscipit corporis nam. Sit veritatis perferendis. Qui debitis doloribus praesentium et vero quam adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"530ef9ef7735335745860000", "comment_id"=>"530ef9ef7735335745840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef7735335745890000'), "name"=>"Esperanza Fay V", "reference"=>"Maximus Prosacco", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745870000'), "author_name"=>"Dameon Williamson", "content"=>["Sequi id cum. Asperiores tenetur dolor voluptatem facere totam vel. Blanditiis optio ut cupiditate voluptates. Voluptates autem accusantium molestiae a nisi."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef7735335745880000'), "author_name"=>"Ms. Heaven Ward", "content"=>["Soluta sit est vel doloribus. Blanditiis veniam voluptatem officia quia. Non sit et molestiae fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"530ef9ef7735335745890000", "comment_id"=>"530ef9ef7735335745870000", "id"=>"530ef9ef7735335745880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef7735335745890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357458c0000'), "name"=>"Fausto Roberts", "reference"=>"Kristoffer Mertz PhD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357458a0000'), "author_name"=>"Tierra Schmeler", "content"=>["Odit quas consequatur odio. Ut sit voluptatibus est autem. Repellendus quo voluptatem rerum animi atque. Et tempore doloribus voluptatibus qui ratione culpa. Sed cumque repellendus praesentium iure ullam voluptatem sit."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357458b0000'), "author_name"=>"Roxanne McGlynn MD", "content"=>["Officiis ut rem non quisquam quam quas. Nam neque est quibusdam ut. Numquam qui et. Libero et dolorem laborum. Quidem asperiores accusantium cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6746ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"530ef9ef77353357458c0000", "comment_id"=>"530ef9ef77353357458a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357458c0000')} 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.0ms) Completed 200 OK in 32ms (Views: 29.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9ef77353357458f0000'), "name"=>"Mrs. Kelsie Leffler", "reference"=>"Tomas Schinner", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357458d0000'), "author_name"=>"Verdie Kohler", "content"=>["Eligendi et eum voluptas. Repellendus atque est dolores veniam natus fugiat. Quod laborum non error. Ex quidem assumenda voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9ef77353357458e0000'), "author_name"=>"Ms. Madalyn Raynor", "content"=>["Voluptatem saepe aut omnis voluptas dolorem nihil. Rerum velit qui voluptatem mollitia ullam id. Ad quibusdam doloribus voluptas et. Omnis quia quo veniam qui rerum aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5036ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"530ef9ef77353357458f0000", "comment_id"=>"530ef9ef77353357458d0000", "id"=>"530ef9ef77353357458e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9ef77353357458f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ef9f07735335745920000'), "name"=>"Aiyana Hauck", "reference"=>"Mrs. Carmel Barton", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ef9f07735335745900000'), "author_name"=>"Hector Zboncak", "content"=>["Beatae a asperiores. Vitae aliquid doloremque minus quam omnis ut non. Tempora non voluptatem. Ea harum voluptatem et nam. Vel nesciunt laborum ullam saepe."], "comments"=>[{"_id"=>BSON::ObjectId('530ef9f07735335745910000'), "author_name"=>"Montana Upton", "content"=>["Et praesentium dolorem. Voluptas qui sed ullam quis architecto iste. Ut vero eum facilis magni culpa saepe. Quo omnis vero. Sed quo officiis ea aliquid et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ef9f07735335745910000", "product_id"=>"530ef9f07735335745920000", "comment_id"=>"530ef9f07735335745900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9f07735335745920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ef9f07735335745920000'), "comments._id"=>BSON::ObjectId('530ef9f07735335745900000'), "comments.0.comments._id"=>BSON::ObjectId('530ef9f07735335745910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Redirected to http://test.host/products/530ef9f07735335745920000/comments/530ef9f07735335745900000/comments/530ef9f07735335745910000 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('530ef9f07735335745930000'), "firstname"=>"Beau", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms 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('530ef9f07735335745940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2577ms Redirected to http://test.host/users/530ef9f07735335745940000 Completed 302 Found in 41ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3014ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9f07735335745950000'), "firstname"=>"Esther", "lastname"=>"Robel"}] 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.1972ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"530ef9f07735335745950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9f07735335745950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9f07735335745950000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2178ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9f07735335745960000'), "firstname"=>"Orville", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms Processing by UsersController#edit as HTML Parameters: {"id"=>"530ef9f07735335745960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9f07735335745960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('530ef9f07735335745970000'), "firstname"=>"Walter", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms 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 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530ef9f07735335745980000'), "firstname"=>"Kaycee", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms 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('530ef9f07735335745990000'), "firstname"=>"Kelsie", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by UsersController#show as HTML Parameters: {"id"=>"530ef9f07735335745990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9f07735335745990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('530ef9f077353357459a0000'), "firstname"=>"Nya", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530ef9f077353357459a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530ef9f077353357459a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Unpermitted parameters: name Redirected to http://test.host/users/530ef9f077353357459a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.8875ms 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.1629ms 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.8565ms 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.4880ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7000000'), "firstname"=>"Ellsworth", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2294ms 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('5314457277353312c7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms 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.2467ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7020000'), "firstname"=>"Amely", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5314457277353312c7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.0ms) Completed 200 OK in 121ms (Views: 119.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7030000'), "firstname"=>"Davin", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7040000'), "firstname"=>"Justine", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5314457277353312c7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7050000'), "firstname"=>"Meagan", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5314457277353312c7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms 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('5314457277353312c7060000'), "name"=>"Keara Turcotte", "reference"=>"Leola Larkin PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7070000'), "author_name"=>"Ms. Harry Wiegand", "content"=>["Nihil aut expedita. Modi nemo architecto nihil neque mollitia. Molestiae explicabo nobis aliquam qui et autem odio. Reiciendis voluptatem fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314457277353312c7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314457277353312c7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7090000'), "name"=>"Adrain Fay", "reference"=>"Sigurd O'Kon", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c70a0000'), "author_name"=>"Mr. Gerda Strosin", "content"=>["Est optio aut. Pariatur ut et esse. Reiciendis rerum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5314457277353312c7090000", "id"=>"5314457277353312c70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314457277353312c70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c70b0000'), "name"=>"Kasey Schulist", "reference"=>"Brady McKenzie", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c70c0000'), "author_name"=>"Laila Stiedemann PhD", "content"=>["Doloremque voluptatibus ab et sequi. Et omnis voluptas voluptas eum. Quaerat dignissimos voluptas. Qui et dolores eos qui voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314457277353312c70b0000", "id"=>"5314457277353312c70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.4ms) 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('5314457277353312c70d0000'), "name"=>"Antonia Mante", "reference"=>"Eloise Fritsch", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c70e0000'), "author_name"=>"Gerhard Gutmann", "content"=>["Error autem nam numquam repellendus sed. Est quia in qui ut ut illum repellat. Alias pariatur qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314457277353312c70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c70f0000'), "name"=>"Myrtice Romaguera", "reference"=>"Ms. Alaina Macejkovic", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7100000'), "author_name"=>"Golden Rosenbaum PhD", "content"=>["Maxime tenetur id illo ut iure officiis. Id rem magni praesentium nisi alias unde dolor. Maiores nobis suscipit ipsum blanditiis sit. Ut qui necessitatibus minus quae. Eligendi voluptatem dolorem est rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314457277353312c70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c70f0000')} 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 500 Internal Server Error in 8ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7120000'), "name"=>"Kaleigh Kutch", "reference"=>"Gregoria Murazik", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7130000'), "author_name"=>"Otho Weimann Jr.", "content"=>["Facere enim qui ut consequuntur sed explicabo. Ipsum nesciunt quia pariatur perferendis. Quas accusamus repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314457277353312c7120000", "id"=>"5314457277353312c7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms Completed 500 Internal Server Error in 39ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7140000'), "name"=>"Vicenta Koepp DDS", "reference"=>"Benedict Medhurst", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7150000'), "author_name"=>"Laury Considine", "content"=>["Sint natus optio qui dolor sed ullam omnis. Dignissimos minus sed consequuntur voluptatem. Aut possimus enim molestias. Consectetur et dolor labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314457277353312c7150000", "product_id"=>"5314457277353312c7140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7140000'), "comments._id"=>BSON::ObjectId('5314457277353312c7150000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Completed 500 Internal Server Error in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7160000'), "name"=>"Vergie Schamberger DVM", "reference"=>"Orrin Pfannerstill", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314457277353312c7170000'), "firstname"=>"Eulah", "lastname"=>"Mann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314457277353312c7160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4097ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7160000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7160000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314457277353312c7180000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms Completed 500 Internal Server Error in 34ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7190000'), "name"=>"Talon Swift", "reference"=>"Luigi Johnson", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314457277353312c71a0000'), "firstname"=>"Etha", "lastname"=>"O'Hara"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1758ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314457277353312c71a0000", "product_id"=>"5314457277353312c7190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms) Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c71b0000'), "name"=>"Cathrine Cronin", "reference"=>"Adelia Lueilwitz", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314457277353312c71c0000'), "firstname"=>"Nina", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314457277353312c71b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c71b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms) Completed 500 Internal Server Error in 36ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c71e0000'), "name"=>"Sheldon Heller", "reference"=>"Shaniya Leannon", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5314457277353312c71f0000'), "firstname"=>"Rosella", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314457277353312c71f0000", "product_id"=>"5314457277353312c71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Completed 500 Internal Server Error in 12ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7200000'), "name"=>"Bethel Ortiz", "reference"=>"Jayne Kunze", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5314457277353312c7210000'), "firstname"=>"Kenyon", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314457277353312c7210000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314457277353312c7200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Unpermitted parameters: name Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7220000'), "name"=>"Juwan Lesch", "reference"=>"Johnathan Runolfsson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1863ms 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('5314457277353312c7230000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Redirected to http://test.host/admin/products/5314457277353312c7230000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2025ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7240000'), "name"=>"Sebastian Anderson", "reference"=>"Dr. Milford Schmitt", "quantity"=>"8"}] 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.1812ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314457277353312c7240000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7240000')} 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('5314457277353312c7240000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7250000'), "name"=>"Chelsey Connelly", "reference"=>"Vincenzo Quigley", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314457277353312c7250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.2ms) Completed 500 Internal Server Error in 10ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7260000'), "name"=>"Mrs. Graham Smith", "reference"=>"Vladimir Konopelski DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms 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.5190ms Completed 200 OK in 40ms (Views: 39.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7270000'), "name"=>"Dr. Ollie Parker", "reference"=>"Rodger Kulas", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms 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: 5.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c72a0000'), "name"=>"Theo Cartwright", "reference"=>"Hunter Swaniawski MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314457277353312c72a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c72a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 500 Internal Server Error in 12ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c72b0000'), "name"=>"Trystan Lehner", "reference"=>"Ladarius Torphy", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314457277353312c72b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c72b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c72b0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Completed 500 Internal Server Error in 33ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457277353312c72c0000'), "firstname"=>"Adaline", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1790ms 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('5314457277353312c72d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms Redirected to http://test.host/admin/users/5314457277353312c72d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1976ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457277353312c72e0000'), "firstname"=>"Grayson", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms 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"=>"5314457277353312c72e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457277353312c72e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457277353312c72e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms Completed 500 Internal Server Error in 4ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457277353312c72f0000'), "firstname"=>"Breana", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314457277353312c72f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457277353312c72f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.7ms) 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('5314457277353312c7300000'), "firstname"=>"Velda", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms 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.3335ms Completed 200 OK in 6ms (Views: 5.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457277353312c7310000'), "firstname"=>"Rusty", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) 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('5314457277353312c7320000'), "firstname"=>"Emerson", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314457277353312c7320000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457277353312c7320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms 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('5314457277353312c7330000'), "firstname"=>"Treva", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314457277353312c7330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457277353312c7330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Unpermitted parameters: name Completed 500 Internal Server Error in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7340000'), "firstname"=>"Jarred", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1816ms 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('5314457277353312c7350000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms 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('5314457277353312c7360000'), "firstname"=>"Dalton", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314457277353312c7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7360000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7370000'), "firstname"=>"Rosella", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7380000'), "firstname"=>"Hailie", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5314457277353312c7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314457277353312c7390000'), "firstname"=>"Clifford", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5314457277353312c7390000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314457277353312c7390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms 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('5314457277353312c73a0000'), "name"=>"Mr. Laron Becker", "reference"=>"Ms. Sheila Cormier", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c73b0000'), "author_name"=>"Dangelo Von", "content"=>["Eius ipsum ducimus laboriosam distinctio est. Et aliquam inventore nostrum occaecati aut incidunt. Dolores inventore voluptatibus repellendus non. Quia repellat soluta non quam mollitia error qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314457277353312c73a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73a0000')} 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('5314457277353312c73a0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314457277353312c73c0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Completed 500 Internal Server Error in 34ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c73d0000'), "name"=>"Ahmed Connelly", "reference"=>"Ms. Kayley Nicolas", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c73e0000'), "author_name"=>"Oran Wehner", "content"=>["Error voluptatem impedit adipisci odit ipsum. Dolor et fugit. Ab nobis nisi quidem. Ducimus ullam animi. Asperiores ipsa quisquam numquam voluptatem earum inventore reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314457277353312c73d0000", "id"=>"5314457277353312c73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73d0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314457277353312c73e0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Completed 500 Internal Server Error in 5ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c73f0000'), "name"=>"Lauren Crooks", "reference"=>"Alisha Lakin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7400000'), "author_name"=>"Zoie Champlin", "content"=>["Autem eum id culpa animi est necessitatibus est. Optio est veniam est consequatur dicta incidunt quibusdam. Nihil dolorem officiis vel esse. Voluptas consequatur autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314457277353312c73f0000", "id"=>"5314457277353312c7400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.1ms) Completed 500 Internal Server Error in 41ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457277353312c7410000'), "name"=>"Fae Howe", "reference"=>"Ava Rodriguez", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314457277353312c7420000'), "author_name"=>"Kavon Legros", "content"=>["Sit cupiditate doloribus perferendis quia labore possimus est. Et vel labore magni. Repellendus dolor consectetur dolor nisi ut dolores debitis. Animi officiis doloremque ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4790ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5314457277353312c7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457277353312c7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms Completed 500 Internal Server Error in 43ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7430000'), "name"=>"Macey Ruecker DVM", "reference"=>"Meagan Dibbert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7440000'), "author_name"=>"Lavinia Sporer", "content"=>["Officiis incidunt pariatur a aliquam perferendis nobis blanditiis. Mollitia iste et laboriosam adipisci ipsa soluta. Ab ut omnis ut possimus aut odio. Aut id nulla ratione odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5314457377353312c7430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7450000'), "name"=>"Delilah Osinski", "reference"=>"Eunice Hilpert", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7460000'), "author_name"=>"Neoma Schaefer", "content"=>["Consequuntur nulla illum quae modi. Quisquam dolorum omnis unde commodi nisi architecto. Rerum omnis unde optio. Itaque quia dignissimos ratione debitis expedita sed excepturi. Laudantium nostrum iste suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5314457377353312c7450000", "id"=>"5314457377353312c7460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7470000'), "name"=>"Orion Keebler", "reference"=>"Destany Harris Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7480000'), "author_name"=>"Katheryn Schmitt", "content"=>["Consequuntur accusantium aut incidunt sit. Necessitatibus ad et pariatur. Maxime voluptatem accusamus voluptate similique. Eius molestias voluptatum odit quo et ut. Sit rem nobis molestias aut perferendis et numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5314457377353312c7470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.7ms) Completed 500 Internal Server Error in 39ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c74a0000'), "name"=>"Delta Walker", "reference"=>"Triston Labadie", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c74b0000'), "author_name"=>"Retha Gleichner", "content"=>["Est ea hic et dolor. Dolorum impedit ut dolores ex nam placeat aut. Vel fugiat possimus impedit animi. Laboriosam qui non corporis tempora animi. Adipisci et dolorum perferendis maiores maxime eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314457377353312c74a0000", "id"=>"5314457377353312c74b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Completed 500 Internal Server Error in 43ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c74c0000'), "name"=>"Miss Miles Stracke", "reference"=>"Mrs. Shana Hermann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c74d0000'), "author_name"=>"Dr. Alexandra Rice", "content"=>["Omnis est ex pariatur rerum aut qui nihil. Officiis alias est. Occaecati voluptatem et soluta culpa. Vel laboriosam eos quia fugiat aspernatur fugit architecto. Vitae qui cum itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314457377353312c74d0000", "product_id"=>"5314457377353312c74c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c74c0000')} 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('5314457377353312c74c0000'), "comments._id"=>BSON::ObjectId('5314457377353312c74d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Completed 500 Internal Server Error in 8ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c74e0000'), "firstname"=>"Jaren", "lastname"=>"Crooks"}] 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=>"clients", :query=>{}} runtime: 0.1858ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c74f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Redirected to http://test.host/admin/clients/5314457377353312c74f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2016ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c7500000'), "firstname"=>"Aylin", "lastname"=>"Bauch"}] 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.1774ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314457377353312c7500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7500000')} 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('5314457377353312c7500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms 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.1861ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c7510000'), "firstname"=>"Celine", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314457377353312c7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('5314457377353312c7520000'), "firstname"=>"Tyson", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms 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('5314457377353312c7530000'), "firstname"=>"Adrianna", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms 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('5314457377353312c7540000'), "firstname"=>"Jarrod", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314457377353312c7540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms 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('5314457377353312c7550000'), "firstname"=>"Norberto", "lastname"=>"Emard"}] 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"=>"5314457377353312c7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7550000')} 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('5314457377353312c7550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms Redirected to http://test.host/admin/clients/5314457377353312c7550000 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('5314457377353312c7560000'), "firstname"=>"Lera", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms 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('5314457377353312c7570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms Redirected to http://test.host/clients/5314457377353312c7570000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1762ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c7580000'), "firstname"=>"Ardith", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1519ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314457377353312c7580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms 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.1586ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c7590000'), "firstname"=>"Madalyn", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314457377353312c7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('5314457377353312c75a0000'), "firstname"=>"Francisco", "lastname"=>"Kuvalis"}] 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.3344ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c75b0000'), "firstname"=>"Ashton", "lastname"=>"Hickle"}] 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.8ms) 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('5314457377353312c75c0000'), "firstname"=>"Isabelle", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314457377353312c75c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c75c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314457377353312c75d0000'), "firstname"=>"Ronny", "lastname"=>"Homenick"}] 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"=>"5314457377353312c75d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c75d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314457377353312c75d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms Redirected to http://test.host/clients/5314457377353312c75d0000 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('5314457377353312c75e0000'), "name"=>"Dariana Rice", "reference"=>"Roy Dietrich", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5314457377353312c75f0000'), "firstname"=>"Phyllis", "lastname"=>"Gutmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314457377353312c75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c75e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c75e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314457377353312c7600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms Completed 500 Internal Server Error in 7ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7610000'), "name"=>"Elisabeth Lehner IV", "reference"=>"Keegan Smith", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314457377353312c7620000'), "firstname"=>"Casimer", "lastname"=>"Stehr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5314457377353312c7620000", "product_id"=>"5314457377353312c7610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.8ms) Completed 500 Internal Server Error in 43ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7630000'), "name"=>"Henry Cummerata", "reference"=>"Sonia Johnson", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314457377353312c7640000'), "firstname"=>"Jace", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5314457377353312c7630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.0ms) Completed 500 Internal Server Error in 40ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7660000'), "name"=>"Doug Rath", "reference"=>"Mittie Anderson PhD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5314457377353312c7670000'), "firstname"=>"Maya", "lastname"=>"Weber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5314457377353312c7670000", "product_id"=>"5314457377353312c7660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms Completed 500 Internal Server Error in 45ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7680000'), "name"=>"Stephanie Hodkiewicz", "reference"=>"Hailee Carroll MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314457377353312c7690000'), "firstname"=>"Laura", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5314457377353312c7690000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314457377353312c7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Unpermitted parameters: name Completed 500 Internal Server Error in 5ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c76a0000'), "name"=>"Alysa Konopelski", "reference"=>"Alayna Nader I", "quantity"=>"6"}] 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.1610ms 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('5314457377353312c76b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Redirected to http://test.host/products/5314457377353312c76b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1734ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c76c0000'), "name"=>"Mrs. Rhoda Krajcik", "reference"=>"Leanna Schneider", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1568ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5314457377353312c76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c76c0000')} 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('5314457377353312c76c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms Completed 500 Internal Server Error in 5ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c76d0000'), "name"=>"Ashtyn Rodriguez", "reference"=>"Henderson Abshire Jr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4969ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314457377353312c76d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c76d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.4ms) Completed 500 Internal Server Error in 42ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c76e0000'), "name"=>"Jude Kuhic", "reference"=>"Demario Hand", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms 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.7712ms Completed 200 OK in 22ms (Views: 21.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c76f0000'), "name"=>"Nathan Stokes", "reference"=>"Damian Corwin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms 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.7149ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7700000'), "name"=>"Alana Gleason", "reference"=>"Zakary Brown", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5314457377353312c7700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms 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('5314457377353312c7710000'), "name"=>"Garnet Rogahn", "reference"=>"Aglae Jacobi", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 7ms (Views: 5.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7730000'), "name"=>"Triston Aufderhar", "reference"=>"Jenifer Glover", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5314457377353312c7730000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms Completed 500 Internal Server Error in 47ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7740000'), "name"=>"Theron Bernier", "reference"=>"Miss Felicity Hessel", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1619ms 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('5314457377353312c7750000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1729ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7760000'), "name"=>"Laila Hilpert", "reference"=>"Cassidy Feil", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5314457377353312c7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7760000')} 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('5314457377353312c7760000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms 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('5314457377353312c7770000'), "name"=>"Hiram Breitenberg", "reference"=>"Kelton Flatley", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms 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('5314457377353312c7790000'), "name"=>"Grant Corkery", "reference"=>"Melvin Moore Jr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314457377353312c7790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms 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('5314457377353312c77a0000'), "name"=>"Cody Schaden", "reference"=>"Desmond Hermiston", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314457377353312c77a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c77a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms Completed 500 Internal Server Error in 34ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c77d0000'), "name"=>"Autumn Reilly", "reference"=>"Evelyn Kozey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c77b0000'), "author_name"=>"Mrs. Jaquelin Schuppe", "content"=>["Quasi dolores voluptatem. Harum sit perspiciatis eos rem et vel. Voluptates nihil quo temporibus aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c77c0000'), "author_name"=>"Madeline Weber", "content"=>["Sunt ut ipsa molestiae. Adipisci nesciunt dolorem dolore nihil. Consequatur officiis inventore. Recusandae culpa nam qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314457377353312c77d0000", "comment_id"=>"5314457377353312c77b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c77d0000')} 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('5314457377353312c77d0000'), "comments._id"=>BSON::ObjectId('5314457377353312c77b0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314457377353312c77e0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms Completed 500 Internal Server Error in 7ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7810000'), "name"=>"Ocie Terry", "reference"=>"Kris Botsford", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c77f0000'), "author_name"=>"Vaughn Luettgen", "content"=>["Possimus amet aut animi et perferendis et. Error et exercitationem corrupti omnis dolor. Officiis a eum sint nulla modi illum. Cumque accusamus aperiam rerum quo. Quam quae eligendi ea."], "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7800000'), "author_name"=>"Presley Lemke", "content"=>["Dolor et reprehenderit voluptate. Aspernatur possimus dolor nihil modi. Rerum eaque ut recusandae modi delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5314457377353312c7810000", "comment_id"=>"5314457377353312c77f0000", "id"=>"5314457377353312c7800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7810000'), "comments._id"=>BSON::ObjectId('5314457377353312c77f0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314457377353312c7800000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Completed 500 Internal Server Error in 6ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7840000'), "name"=>"Nolan Carroll MD", "reference"=>"Jedidiah Raynor", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7820000'), "author_name"=>"Samson Schroeder", "content"=>["Neque consectetur aperiam. Necessitatibus debitis doloremque amet mollitia quidem nisi. Voluptatem eos ut aut voluptatum dolore placeat aut. Consequuntur laboriosam omnis."], "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7830000'), "author_name"=>"Vivian Mohr", "content"=>["Excepturi non ipsum repudiandae voluptatem ratione dignissimos est. Mollitia quia reiciendis quas consequatur tenetur. At dolores sit quia et quia. Delectus rerum perspiciatis ut laboriosam aliquam. Et est provident officia odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5314457377353312c7840000", "comment_id"=>"5314457377353312c7820000", "id"=>"5314457377353312c7830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.8ms) Completed 500 Internal Server Error in 44ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457377353312c7870000'), "name"=>"Augustine Metz", "reference"=>"Daniela Yundt", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7850000'), "author_name"=>"Leonardo King", "content"=>["Magnam beatae id esse nisi delectus quidem. Possimus et facilis eos quasi expedita consequatur. Amet voluptatem autem velit facilis."], "comments"=>[{"_id"=>BSON::ObjectId('5314457377353312c7860000'), "author_name"=>"Kraig Zieme I", "content"=>["Ratione at totam iste iusto. Molestiae voluptatum laudantium facilis sit nam quis. Deleniti qui nostrum nisi qui dolores quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5314457377353312c7870000", "comment_id"=>"5314457377353312c7850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457377353312c7870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms Completed 500 Internal Server Error in 47ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457477353312c78a0000'), "name"=>"Malcolm Baumbach", "reference"=>"Cloyd Smith", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7880000'), "author_name"=>"Ike Herzog", "content"=>["Est aut unde facere ducimus. Ea odio quibusdam. Qui laudantium eos illum natus tempore et dolorem. Saepe ut ipsam sit. Voluptates rerum reiciendis quasi dignissimos eaque."], "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7890000'), "author_name"=>"Eldon Harvey", "content"=>["Commodi expedita in nobis reprehenderit molestiae blanditiis. At rerum accusamus ipsum incidunt non aspernatur non. Quo in odio modi neque dolorem culpa ad. Voluptatibus aliquam ullam. Omnis cum eos omnis quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314457477353312c78a0000", "comment_id"=>"5314457477353312c7880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c78a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457477353312c78d0000'), "name"=>"Therese Murazik", "reference"=>"Darby Orn", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c78b0000'), "author_name"=>"Wyman Runte Sr.", "content"=>["Eveniet deserunt alias fugiat blanditiis repudiandae et sed. Consectetur numquam soluta similique. Dolorem nam est vero molestiae quibusdam sapiente. Et porro voluptatem quia omnis deserunt rem in. Aperiam cum odio a amet."], "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c78c0000'), "author_name"=>"Eloise Pagac", "content"=>["Nobis ut rerum quidem. Ut officiis explicabo nemo. Eius est et ducimus soluta. Ratione possimus pariatur earum aut nemo. Nulla fugit laudantium quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314457477353312c78d0000", "comment_id"=>"5314457477353312c78b0000", "id"=>"5314457477353312c78c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c78d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457477353312c7900000'), "name"=>"Tevin Ledner", "reference"=>"Greyson Heller DDS", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c78e0000'), "author_name"=>"Caroline Treutel", "content"=>["Earum autem delectus accusantium deleniti. Asperiores necessitatibus pariatur similique vel tenetur iusto. Voluptatem porro in. Eius mollitia dolor eligendi voluptas ipsam et qui."], "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c78f0000'), "author_name"=>"Dr. Emilia Trantow", "content"=>["Facere ducimus et laboriosam. Dolore sit earum ipsa. Ea eos fugit ut aperiam inventore quo. Nostrum laboriosam et soluta maxime ut optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5314457477353312c7900000", "comment_id"=>"5314457477353312c78e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c7900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.2ms) Completed 500 Internal Server Error in 43ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457477353312c7940000'), "name"=>"Lisandro Farrell", "reference"=>"Chyna Heathcote V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7920000'), "author_name"=>"Kiera Casper", "content"=>["Magni et tempora. Qui expedita modi cupiditate aliquid autem ratione ut. Aut sed consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7930000'), "author_name"=>"Asia Cassin DDS", "content"=>["Natus eum rerum reiciendis dolores. Optio officiis sapiente qui ut. Vel et delectus. Occaecati vel consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5314457477353312c7940000", "comment_id"=>"5314457477353312c7920000", "id"=>"5314457477353312c7930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms Completed 500 Internal Server Error in 76ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314457477353312c7970000'), "name"=>"Grayce Rutherford", "reference"=>"Douglas Kuphal", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7950000'), "author_name"=>"Dashawn Blanda MD", "content"=>["Alias consequatur error illum. Est odio perspiciatis asperiores laudantium occaecati. Eius quibusdam error nihil reiciendis quod odio. Voluptatem sit omnis nihil."], "comments"=>[{"_id"=>BSON::ObjectId('5314457477353312c7960000'), "author_name"=>"Coby Klein", "content"=>["Distinctio iste et. Et consequuntur a et eius. Deserunt soluta corporis reprehenderit ut rerum. Ut aspernatur id alias quia enim numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314457477353312c7960000", "product_id"=>"5314457477353312c7970000", "comment_id"=>"5314457477353312c7950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c7970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314457477353312c7970000'), "comments._id"=>BSON::ObjectId('5314457477353312c7950000'), "comments.0.comments._id"=>BSON::ObjectId('5314457477353312c7960000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8216ms Completed 500 Internal Server Error in 11ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457477353312c7980000'), "firstname"=>"Clotilde", "lastname"=>"Torp"}] 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.1661ms 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('5314457477353312c7990000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Redirected to http://test.host/users/5314457477353312c7990000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1737ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457477353312c79a0000'), "firstname"=>"Casimer", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1565ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314457477353312c79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457477353312c79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457477353312c79a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms Completed 500 Internal Server Error in 33ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457477353312c79b0000'), "firstname"=>"Chadrick", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314457477353312c79b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457477353312c79b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.9ms) 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('5314457477353312c79c0000'), "firstname"=>"Abagail", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms 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.3508ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457477353312c79d0000'), "firstname"=>"Manley", "lastname"=>"Schoen"}] 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.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('5314457477353312c79e0000'), "firstname"=>"Zoe", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314457477353312c79e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457477353312c79e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Completed 500 Internal Server Error in 47ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314457477353312c79f0000'), "firstname"=>"Berry", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314457477353312c79f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314457477353312c79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms Unpermitted parameters: name Completed 500 Internal Server Error in 5ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms 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.3233ms 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.3137ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531445e87735331315000000'), "firstname"=>"Lauriane", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2290ms 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('531445ee7735331315010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Redirected to http://test.host/admin/administrator Completed 302 Found in 6038ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2466ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531445ee7735331315020000'), "firstname"=>"Prince", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"531445ee7735331315020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531445ee7735331315020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4144ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.6ms) Completed 200 OK in 1859ms (Views: 49.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531445f07735331315030000'), "firstname"=>"Haskell", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 1363ms (Views: 4.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531445f27735331315040000'), "firstname"=>"Eric", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"531445f27735331315040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531445f27735331315040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms Completed 200 OK in 868ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531445f37735331315050000'), "firstname"=>"Blaze", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"531445f37735331315050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531445f37735331315050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4305ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 835ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531445f37735331315060000'), "name"=>"Erick Tillman", "reference"=>"Harvey Zboncak", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531445f37735331315070000'), "author_name"=>"Wilfredo Russel", "content"=>["Aut veniam maiores et aliquid quia iure aut. Quidem in ab veniam animi ducimus. Velit qui et qui consequuntur voluptatem ea dolorem. Dolores inventore quidem officia libero ut ut corporis. Culpa sunt beatae dolore expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f37735331315060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531445f37735331315060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f37735331315060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f37735331315060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('531445f47735331315080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms Completed 500 Internal Server Error in 830ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531445f47735331315090000'), "name"=>"Zoie Okuneva", "reference"=>"Mr. Henderson Leffler", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('531445f477353313150a0000'), "author_name"=>"Katherine O'Keefe V", "content"=>["Minima vero ea incidunt. Minima eum dignissimos et repudiandae et. Illum nemo voluptatem. Velit ut aut illo quis blanditiis architecto rem. Non ipsum repellendus et non eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f47735331315090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"531445f47735331315090000", "id"=>"531445f477353313150a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f47735331315090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531445f47735331315090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('531445f477353313150a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms Completed 500 Internal Server Error in 56619ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d77353313150b0000'), "name"=>"Terrill Friesen", "reference"=>"Jeffry Connelly", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314462d77353313150c0000'), "author_name"=>"Cydney O'Keefe", "content"=>["At debitis veniam. Fugiat placeat dolor eos non rerum corporis. Corrupti et veritatis fuga possimus est aperiam. Rerum amet quia sapiente reprehenderit nihil dolores. Distinctio laborum sunt illum nesciunt quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314462d77353313150b0000", "id"=>"5314462d77353313150c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d77353313150b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.2ms) Completed 500 Internal Server Error in 98ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d77353313150d0000'), "name"=>"Hulda Mertz", "reference"=>"Eloy Leannon", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314462d77353313150e0000'), "author_name"=>"Maybelle Monahan", "content"=>["Provident maiores quibusdam et aut nihil est deserunt. Ut eos tempore. Nobis enim adipisci. Ipsam libero qui vitae qui eos vel delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.5339ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314462d77353313150d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d77353313150d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Completed 500 Internal Server Error in 98ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d77353313150f0000'), "name"=>"Drake Weissnat", "reference"=>"Dr. Benedict Adams", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314462d7735331315100000'), "author_name"=>"Clare Spencer", "content"=>["Iusto debitis veniam ratione doloribus. Vel sed sed similique aperiam voluptatibus quia animi. Itaque repellat et corporis id rerum occaecati dolores. Corrupti aut et illum dolores est fugit. Aut ea velit aspernatur deleniti incidunt in ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9361ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314462d77353313150f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d77353313150f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms) Completed 500 Internal Server Error in 96ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d7735331315120000'), "name"=>"Sarah Wolf I", "reference"=>"Xander Kuhn", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314462d7735331315130000'), "author_name"=>"Mrs. Syble Hauck", "content"=>["Enim optio rem. Iure illo sed culpa. Expedita enim qui odio nostrum. Ad eum explicabo voluptatum. Voluptas qui velit omnis illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314462d7735331315120000", "id"=>"5314462d7735331315130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms Completed 500 Internal Server Error in 99ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d7735331315140000'), "name"=>"Lupe Stiedemann", "reference"=>"Mrs. Rosie Douglas", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314462d7735331315150000'), "author_name"=>"Dulce Jacobson", "content"=>["Non doloremque enim illum est. Rerum et sit. Aliquam aliquid itaque labore vel omnis dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314462d7735331315150000", "product_id"=>"5314462d7735331315140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315140000'), "comments._id"=>BSON::ObjectId('5314462d7735331315150000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms Completed 500 Internal Server Error in 92ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462d7735331315160000'), "name"=>"Lambert Luettgen", "reference"=>"Ally Hane PhD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314462d7735331315170000'), "firstname"=>"Betty", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1797ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314462d7735331315160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315160000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462d7735331315160000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314462e7735331315180000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms Completed 500 Internal Server Error in 96ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315190000'), "name"=>"Faye Cartwright", "reference"=>"Kiley DuBuque", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314462e77353313151a0000'), "firstname"=>"Trenton", "lastname"=>"Hoppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8350ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314462e77353313151a0000", "product_id"=>"5314462e7735331315190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e7735331315190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.0ms) Completed 500 Internal Server Error in 97ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e77353313151b0000'), "name"=>"Beryl Daniel", "reference"=>"Dave Miller", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314462e77353313151c0000'), "firstname"=>"Hal", "lastname"=>"Haag"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9812ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314462e77353313151b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e77353313151b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 500 Internal Server Error in 97ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e77353313151e0000'), "name"=>"Ettie Dietrich", "reference"=>"Dane Wolff", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314462e77353313151f0000'), "firstname"=>"Calista", "lastname"=>"Howe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5505ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314462e77353313151f0000", "product_id"=>"5314462e77353313151e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e77353313151e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms Completed 500 Internal Server Error in 100ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315200000'), "name"=>"Makenzie Bosco", "reference"=>"Eloisa Leuschke", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314462e7735331315210000'), "firstname"=>"Julio", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6772ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314462e7735331315210000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314462e7735331315200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e7735331315200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms Unpermitted parameters: name Completed 500 Internal Server Error in 61ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315220000'), "name"=>"Keaton Nolan", "reference"=>"Dario O'Hara II", "quantity"=>"5"}] 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.3559ms 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('5314462e7735331315230000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms Redirected to http://test.host/admin/products/5314462e7735331315230000 Completed 302 Found in 58ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3213ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315240000'), "name"=>"Abbey Muller", "reference"=>"Marta Haag PhD", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1931ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314462e7735331315240000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e7735331315240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4871ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e7735331315240000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms Completed 500 Internal Server Error in 76ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315250000'), "name"=>"Billy Mann", "reference"=>"Jamar Murazik", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314462e7735331315250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e7735331315250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4734ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.7ms) Completed 500 Internal Server Error in 94ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315260000'), "name"=>"Uriel Ortiz", "reference"=>"Raoul Koch", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5028ms 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.6368ms Completed 200 OK in 152ms (Views: 44.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462e7735331315270000'), "name"=>"Maryam Schamberger", "reference"=>"Susan Metz", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5672ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 74ms (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('5314462e77353313152a0000'), "name"=>"Nellie McGlynn Sr.", "reference"=>"Mr. Letha Hintz", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314462e77353313152a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462e77353313152a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 500 Internal Server Error in 103ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314462f77353313152b0000'), "name"=>"Margaret Rippin", "reference"=>"Isobel Kub", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314462f77353313152b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462f77353313152b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4644ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314462f77353313152b0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms Completed 500 Internal Server Error in 60ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314462f77353313152c0000'), "firstname"=>"Catalina", "lastname"=>"Gerhold"}] 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.1825ms 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('5314462f77353313152d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Redirected to http://test.host/admin/users/5314462f77353313152d0000 Completed 302 Found in 62ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4210ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314462f77353313152e0000'), "firstname"=>"Cicero", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2533ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5314462f77353313152e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314462f77353313152e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4783ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314462f77353313152e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Completed 500 Internal Server Error in 87ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314462f77353313152f0000'), "firstname"=>"Llewellyn", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314462f77353313152f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314462f77353313152f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4117ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.2ms) Completed 500 Internal Server Error in 99ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314462f7735331315300000'), "firstname"=>"Mackenzie", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms 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.4437ms Completed 200 OK in 79ms (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('5314462f7735331315310000'), "firstname"=>"Trystan", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 119ms (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('5314462f7735331315320000'), "firstname"=>"Alessandro", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314462f7735331315320000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314462f7735331315320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4519ms Completed 500 Internal Server Error in 130ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314462f7735331315330000'), "firstname"=>"Benton", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314462f7735331315330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314462f7735331315330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4732ms Unpermitted parameters: name Completed 500 Internal Server Error in 59ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314462f7735331315340000'), "firstname"=>"Shayna", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2293ms 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('5314462f7735331315350000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5820ms Redirected to http://test.host/administrator Completed 302 Found in 98ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3309ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314462f7735331315360000'), "firstname"=>"Giuseppe", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314462f7735331315360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314462f7735331315360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4903ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 93ms (Views: 6.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446307735331315370000'), "firstname"=>"Ara", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 87ms (Views: 4.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446307735331315380000'), "firstname"=>"Chelsie", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"531446307735331315380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446307735331315380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4631ms Completed 200 OK in 122ms (Views: 35.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446307735331315390000'), "firstname"=>"Veda", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"531446307735331315390000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446307735331315390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 57ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463077353313153a0000'), "name"=>"Scottie Hettinger V", "reference"=>"Marshall Blick", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314463077353313153b0000'), "author_name"=>"Zetta Rath", "content"=>["Molestiae modi occaecati velit molestias sed maxime doloremque. Nihil consequatur eos laudantium quaerat blanditiis eaque. Aspernatur maxime tempora non. Unde et aspernatur totam est molestias exercitationem accusamus. Eos voluptas eaque eveniet consequatur recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4213ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314463077353313153a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4183ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153a0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314463077353313153c0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5735ms Completed 500 Internal Server Error in 141ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463077353313153d0000'), "name"=>"Renee Murphy", "reference"=>"Maiya Cummings", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314463077353313153e0000'), "author_name"=>"Nichole Luettgen", "content"=>["Error dolorum consectetur rerum quia unde exercitationem veniam. Odio voluptas et autem magnam explicabo. Sunt libero odio iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314463077353313153d0000", "id"=>"5314463077353313153e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153d0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314463077353313153e0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Completed 500 Internal Server Error in 62ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463077353313153f0000'), "name"=>"Adriana Crist", "reference"=>"Albertha Abbott", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('531446307735331315400000'), "author_name"=>"Ms. April Ortiz", "content"=>["Et beatae quis est officia doloremque reprehenderit. Ullam illo eaque laborum architecto. Eum voluptas doloremque quia quasi accusantium ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314463077353313153f0000", "id"=>"531446307735331315400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463077353313153f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (41.0ms) Completed 500 Internal Server Error in 104ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446307735331315410000'), "name"=>"Wilson Cartwright", "reference"=>"Mr. Julia Leffler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531446307735331315420000'), "author_name"=>"Bud Waters", "content"=>["Ex pariatur dolor earum. Molestias magnam omnis. Dolorum veniam consequatur iusto quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5134ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"531446307735331315410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446307735331315410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Completed 500 Internal Server Error in 108ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446307735331315430000'), "name"=>"Ms. Javonte Langosh", "reference"=>"Oral Fritsch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('531446307735331315440000'), "author_name"=>"Miss Garret Lind", "content"=>["Provident sunt quasi alias assumenda rerum. Quia dolore molestias. Molestias voluptatibus occaecati. Laboriosam fuga quasi quo voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"531446307735331315430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446307735331315430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms Completed 200 OK in 92ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446307735331315450000'), "name"=>"Kory Labadie DVM", "reference"=>"Dahlia Lang", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531446307735331315460000'), "author_name"=>"Emely Gaylord Jr.", "content"=>["Voluptatum temporibus tempore. Ea quam veritatis accusamus optio. Incidunt dolorem assumenda ducimus doloribus recusandae id laboriosam. Vero accusantium cupiditate molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"531446307735331315450000", "id"=>"531446307735331315460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446307735331315450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms Completed 200 OK in 60ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446317735331315470000'), "name"=>"Ms. Myra Feest", "reference"=>"Mauricio Friesen IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('531446317735331315480000'), "author_name"=>"Fleta Gerhold", "content"=>["Eveniet officia autem eligendi architecto. Tempore esse repellendus et quia fugiat quas. Aut ullam soluta eveniet dolorum exercitationem eligendi. Occaecati aut ipsum quam incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3070ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"531446317735331315470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446317735331315470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (40.9ms) Completed 500 Internal Server Error in 136ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463177353313154a0000'), "name"=>"Juana Farrell", "reference"=>"Edwardo Johnson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314463177353313154b0000'), "author_name"=>"Tanner Deckow Jr.", "content"=>["Cum et quidem quos nihil. Expedita minus deleniti qui et velit corporis eum. Debitis porro quisquam aut. Eaque et ut sed laudantium natus unde commodi. Et et tenetur qui inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5704ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314463177353313154a0000", "id"=>"5314463177353313154b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463177353313154a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Completed 500 Internal Server Error in 106ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463177353313154c0000'), "name"=>"Ruby Greenholt", "reference"=>"Ms. Heath McLaughlin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314463177353313154d0000'), "author_name"=>"Myah Toy", "content"=>["At ratione provident et. Et est quo vel. Dolorum sunt eos voluptates quia veritatis et velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314463177353313154d0000", "product_id"=>"5314463177353313154c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463177353313154c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463177353313154c0000'), "comments._id"=>BSON::ObjectId('5314463177353313154d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5407ms Completed 500 Internal Server Error in 98ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314463177353313154e0000'), "firstname"=>"Deven", "lastname"=>"Hartmann"}] 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=>"clients", :query=>{}} runtime: 0.2034ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314463177353313154f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms Redirected to http://test.host/admin/clients/5314463177353313154f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1791ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315500000'), "firstname"=>"Rachel", "lastname"=>"Renner"}] 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.1554ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"531446317735331315500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms 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.2696ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315510000'), "firstname"=>"Deion", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"531446317735331315510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) 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('531446317735331315520000'), "firstname"=>"Emie", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms 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('531446317735331315530000'), "firstname"=>"Makenzie", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315540000'), "firstname"=>"Kailyn", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"531446317735331315540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315550000'), "firstname"=>"Edgar", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"531446317735331315550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms Redirected to http://test.host/admin/clients/531446317735331315550000 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('531446317735331315560000'), "firstname"=>"Noble", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1589ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms Redirected to http://test.host/clients/531446317735331315570000 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('531446317735331315580000'), "firstname"=>"Jasper", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms 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"=>"531446317735331315580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms 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.1625ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446317735331315590000'), "firstname"=>"Reyes", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"531446317735331315590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446317735331315590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('5314463177353313155a0000'), "firstname"=>"Alden", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314463177353313155b0000'), "firstname"=>"Chasity", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314463177353313155c0000'), "firstname"=>"Daisy", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314463177353313155c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314463177353313155c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314463177353313155d0000'), "firstname"=>"Gretchen", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314463177353313155d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314463177353313155d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314463177353313155d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms Redirected to http://test.host/clients/5314463177353313155d0000 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('5314463177353313155e0000'), "name"=>"Meaghan Haley", "reference"=>"Oren Bayer", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314463177353313155f0000'), "firstname"=>"Korey", "lastname"=>"Nitzsche"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314463177353313155e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463177353313155e0000')} 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('5314463177353313155e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463177353313155e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('531446317735331315600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms Completed 500 Internal Server Error in 96ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446317735331315610000'), "name"=>"Mrs. Maverick Howe", "reference"=>"Kristian Zboncak", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('531446317735331315620000'), "firstname"=>"Dereck", "lastname"=>"Stokes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8246ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"531446317735331315620000", "product_id"=>"531446317735331315610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446317735331315610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (10.2ms) Completed 500 Internal Server Error in 105ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446317735331315630000'), "name"=>"Therese Denesik", "reference"=>"Dr. Myra Anderson", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('531446317735331315640000'), "firstname"=>"Cooper", "lastname"=>"Wisoky"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"531446317735331315630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446317735331315630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (42.4ms) Completed 500 Internal Server Error in 140ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446317735331315660000'), "name"=>"Aron Boyle", "reference"=>"Dedrick Kiehn", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531446317735331315670000'), "firstname"=>"Ezra", "lastname"=>"O'Connell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms Processing by ManagersController#show as HTML Parameters: {"id"=>"531446317735331315670000", "product_id"=>"531446317735331315660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446317735331315660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms Completed 500 Internal Server Error in 111ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446327735331315680000'), "name"=>"Enos Rosenbaum", "reference"=>"Kallie Blanda", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('531446327735331315690000'), "firstname"=>"Jayson", "lastname"=>"Flatley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms Processing by ManagersController#update as HTML Parameters: {"id"=>"531446327735331315690000", "manager"=>{"name"=>"Hello"}, "product_id"=>"531446327735331315680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446327735331315680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Unpermitted parameters: name Completed 500 Internal Server Error in 92ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463277353313156a0000'), "name"=>"Mrs. Naomi Schaefer", "reference"=>"Brenden Abbott II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1606ms 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('5314463277353313156b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms Redirected to http://test.host/products/5314463277353313156b0000 Completed 302 Found in 93ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463277353313156c0000'), "name"=>"Lexi Stamm PhD", "reference"=>"Mireille Tillman", "quantity"=>"7"}] 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.1640ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5314463277353313156c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463277353313156c0000')} 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={"_id"=>BSON::ObjectId('5314463277353313156c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms Completed 500 Internal Server Error in 60ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463277353313156d0000'), "name"=>"Cedrick Hauck", "reference"=>"Adam Gaylord I", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314463277353313156d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463277353313156d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4227ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (43.4ms) Completed 500 Internal Server Error in 112ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463277353313156e0000'), "name"=>"Darryl Ebert", "reference"=>"Garth Deckow I", "quantity"=>"8"}] 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.9010ms Completed 200 OK in 129ms (Views: 60.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463277353313156f0000'), "name"=>"Mrs. Lou Witting", "reference"=>"Mrs. Dillon Bernhard", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms 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.8114ms Completed 200 OK in 63ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446327735331315700000'), "name"=>"Antonietta Brown", "reference"=>"Samir Krajcik", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by ProductsController#show as JSON Parameters: {"id"=>"531446327735331315700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446327735331315700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms Completed 200 OK in 60ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446327735331315710000'), "name"=>"Laura Jacobson", "reference"=>"Miss Lydia Kutch", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 91ms (Views: 6.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446327735331315730000'), "name"=>"Kiana Hammes", "reference"=>"Gertrude Rath", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by ProductsController#show as HTML Parameters: {"id"=>"531446327735331315730000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446327735331315730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4382ms Completed 500 Internal Server Error in 163ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446327735331315740000'), "name"=>"Jannie Shields", "reference"=>"Sanford D'Amore", "quantity"=>"3"}] 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.1658ms 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('531446337735331315750000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Completed 201 Created in 61ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446337735331315760000'), "name"=>"Ezekiel Schroeder", "reference"=>"Marc Luettgen I", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"531446337735331315760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4285ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315760000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Completed 200 OK in 66ms (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('531446337735331315770000'), "name"=>"Miss Keara Schoen", "reference"=>"Mr. Lonnie Baumbach", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 118ms (Views: 0.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446337735331315790000'), "name"=>"Alvina Hodkiewicz Jr.", "reference"=>"Ms. Newton Fahey", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"531446337735331315790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4601ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms Completed 202 Accepted in 89ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463377353313157a0000'), "name"=>"Adrian Legros", "reference"=>"Richard Marvin", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.6128ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314463377353313157a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313157a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313157a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms Completed 500 Internal Server Error in 72ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463377353313157d0000'), "name"=>"Martine Schowalter", "reference"=>"Jarred Mann", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314463377353313157b0000'), "author_name"=>"Bianka Barrows", "content"=>["Voluptas nihil omnis ipsam voluptatum voluptates. Tempore dignissimos ut suscipit. Dolorem optio repudiandae labore qui praesentium nihil. Facilis commodi culpa eos dignissimos quo."], "comments"=>[{"_id"=>BSON::ObjectId('5314463377353313157c0000'), "author_name"=>"Mr. Andreanne Corwin", "content"=>["Odit et tempora minus. Nisi explicabo blanditiis et. Fuga quis nihil aut. Ea laborum sed enim ullam deleniti et in. Enim aliquid consequatur et enim ut saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313157d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314463377353313157d0000", "comment_id"=>"5314463377353313157b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313157d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313157d0000'), "comments._id"=>BSON::ObjectId('5314463377353313157b0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314463377353313157e0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6319ms Completed 500 Internal Server Error in 72ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446337735331315810000'), "name"=>"Amelia Ryan", "reference"=>"Mr. River Dickinson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314463377353313157f0000'), "author_name"=>"Josephine Greenholt I", "content"=>["Et est perferendis alias asperiores. Cupiditate officia mollitia quia enim et excepturi. Adipisci hic dolorem occaecati quia molestias quo. Tempore et autem consequatur magni dolorum nobis illum. Sequi modi in aliquam molestiae quae quia illum."], "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315800000'), "author_name"=>"Gust Pfannerstill", "content"=>["Est necessitatibus aut. Et illum delectus ut autem modi temporibus. Minima voluptatem repellendus alias qui veniam possimus. Est laboriosam sit ex quos tempora occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"531446337735331315810000", "comment_id"=>"5314463377353313157f0000", "id"=>"531446337735331315800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315810000')} 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('531446337735331315810000'), "comments._id"=>BSON::ObjectId('5314463377353313157f0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('531446337735331315800000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6593ms Completed 500 Internal Server Error in 71ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446337735331315840000'), "name"=>"Sherwood Hills", "reference"=>"Grover Blanda Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315820000'), "author_name"=>"Jaylon Anderson", "content"=>["Aut totam incidunt. Fugit aut voluptatem ut dolor. Ad laudantium et."], "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315830000'), "author_name"=>"Travis Torp", "content"=>["Quaerat fuga et qui doloremque. Eos animi velit iste dolores repellendus dolorum. Et repellat qui quos aliquid. Rerum magni deleniti rerum deserunt occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1839ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"531446337735331315840000", "comment_id"=>"531446337735331315820000", "id"=>"531446337735331315830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4313ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (45.6ms) Completed 500 Internal Server Error in 143ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446337735331315870000'), "name"=>"Dr. Warren Feeney", "reference"=>"Guy Hessel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315850000'), "author_name"=>"Miss Mekhi Block", "content"=>["Et eius consequuntur vitae dolorem sunt. Harum tempora assumenda optio. Officia qui doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315860000'), "author_name"=>"Avis Wehner", "content"=>["Sequi distinctio qui corporis id quos dolores aut. Et ut eum aut sequi cum. Ipsum consequatur tempora autem nam consequatur cum. Et possimus qui molestias eum. A labore ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5160ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"531446337735331315870000", "comment_id"=>"531446337735331315850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446337735331315870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms Completed 500 Internal Server Error in 113ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463377353313158a0000'), "name"=>"Ottis Waelchi", "reference"=>"Kayley Bahringer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315880000'), "author_name"=>"Melvina Nicolas", "content"=>["Explicabo optio ut eum voluptas possimus labore. Rerum omnis quae. Iste corporis est ipsam omnis voluptas enim."], "comments"=>[{"_id"=>BSON::ObjectId('531446337735331315890000'), "author_name"=>"Lizzie Toy", "content"=>["Consequatur quo quaerat sapiente. Non voluptatem amet ex recusandae. Neque et odio veritatis ut rem quasi culpa. Et et eos maiores sequi doloribus enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5416ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314463377353313158a0000", "comment_id"=>"531446337735331315880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463377353313158a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4822ms Completed 200 OK in 63ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314463477353313158d0000'), "name"=>"Ellen Fay", "reference"=>"Vivien Grimes", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314463477353313158b0000'), "author_name"=>"Mr. Beryl Wuckert", "content"=>["Aspernatur ut voluptatem vitae doloribus veniam eius. Dignissimos veritatis earum laborum corporis minus omnis. Sunt mollitia asperiores. Repellendus est dolores aut ipsa quo et at."], "comments"=>[{"_id"=>BSON::ObjectId('5314463477353313158c0000'), "author_name"=>"Dagmar Gleichner", "content"=>["Sed libero ipsam minus. Et asperiores possimus unde reiciendis tenetur assumenda iste. Modi voluptatem laboriosam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314463477353313158d0000", "comment_id"=>"5314463477353313158b0000", "id"=>"5314463477353313158c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314463477353313158d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3257ms Completed 200 OK in 61ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446347735331315900000'), "name"=>"Evan Hagenes", "reference"=>"Elna Erdman", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314463477353313158e0000'), "author_name"=>"Angelica Ullrich", "content"=>["Ex praesentium laudantium natus in voluptatem neque ea. Optio sed est impedit neque rerum nobis. Sit cupiditate velit. Sit est dignissimos quia non accusantium."], "comments"=>[{"_id"=>BSON::ObjectId('5314463477353313158f0000'), "author_name"=>"Roberta Maggio", "content"=>["Qui saepe perspiciatis dolorem recusandae. Voluptas neque fugiat repellendus nihil deleniti vel quisquam. Sint numquam quam. Quis aut voluptates. Velit voluptas nihil enim iste et quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"531446347735331315900000", "comment_id"=>"5314463477353313158e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446347735331315900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (43.8ms) Completed 500 Internal Server Error in 142ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446347735331315940000'), "name"=>"Dr. Chyna Klocko", "reference"=>"Mr. Felicity Spinka", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446347735331315920000'), "author_name"=>"Newton Hand", "content"=>["Dignissimos sed laudantium fugit qui voluptatem quidem maiores. Aut repellendus sunt est aut quas voluptatem. Sunt alias nihil."], "comments"=>[{"_id"=>BSON::ObjectId('531446347735331315930000'), "author_name"=>"Spencer Braun", "content"=>["Repudiandae illo aut excepturi qui dolores tenetur cumque. Non ab qui pariatur. Omnis ut est perferendis placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5101ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"531446347735331315940000", "comment_id"=>"531446347735331315920000", "id"=>"531446347735331315930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446347735331315940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms Completed 500 Internal Server Error in 146ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446347735331315970000'), "name"=>"Emmie Johns", "reference"=>"Jesus Hudson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446347735331315950000'), "author_name"=>"Marlin Dach", "content"=>["Praesentium non neque quisquam vel iste rerum et. Veritatis consequatur nulla distinctio labore temporibus. Dolorem nisi debitis id consequatur voluptas eligendi esse. Vel expedita omnis. Quaerat at quia ducimus non dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('531446347735331315960000'), "author_name"=>"Nicola Howell", "content"=>["Vero recusandae provident dolor animi debitis modi soluta. Tempora totam et nisi quasi autem doloribus et. Enim nisi illo doloremque eos maxime cumque et. Non id saepe omnis et. Dolorem ducimus assumenda ut quisquam iure voluptatem praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5374ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531446347735331315960000", "product_id"=>"531446347735331315970000", "comment_id"=>"531446347735331315950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446347735331315970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446347735331315970000'), "comments._id"=>BSON::ObjectId('531446347735331315950000'), "comments.0.comments._id"=>BSON::ObjectId('531446347735331315960000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6129ms Completed 500 Internal Server Error in 67ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446347735331315980000'), "firstname"=>"Jayden", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2241ms 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('531446347735331315990000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Redirected to http://test.host/users/531446347735331315990000 Completed 302 Found in 61ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2383ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314463477353313159a0000'), "firstname"=>"Adaline", "lastname"=>"Barton"}] 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=>"admin_users", :query=>{}} runtime: 0.2272ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314463477353313159a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314463477353313159a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314463477353313159a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Completed 500 Internal Server Error in 71ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314463477353313159b0000'), "firstname"=>"Nils", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314463477353313159b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314463477353313159b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (42.8ms) Completed 500 Internal Server Error in 138ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314463477353313159c0000'), "firstname"=>"Aurelia", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms 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.4715ms Completed 200 OK in 67ms (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('5314463477353313159d0000'), "firstname"=>"Mathias", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 62ms (Views: 4.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314463477353313159e0000'), "firstname"=>"Ned", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314463477353313159e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314463477353313159e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms Completed 500 Internal Server Error in 134ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314463577353313159f0000'), "firstname"=>"Elza", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314463577353313159f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314463577353313159f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms Unpermitted parameters: name Completed 500 Internal Server Error in 94ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms 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.2403ms 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.2523ms 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.2228ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314464b7735331359000000'), "firstname"=>"Lonnie", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1689ms 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('531446517735331359010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5052ms Redirected to http://test.host/admin/administrator Completed 302 Found in 6660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2428ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446517735331359020000'), "firstname"=>"Esteban", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"531446517735331359020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446517735331359020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 391ms (Views: 49.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446527735331359030000'), "firstname"=>"Felton", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 186ms (Views: 4.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446527735331359040000'), "firstname"=>"Manley", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"531446527735331359040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446527735331359040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms Completed 200 OK in 224ms (Views: 2.8ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446527735331359050000'), "firstname"=>"Monte", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"531446527735331359050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446527735331359050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3782ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 231ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446537735331359060000'), "name"=>"Sammie Hayes", "reference"=>"Ally Heathcote IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446537735331359070000'), "author_name"=>"Amiya Hane II", "content"=>["Perspiciatis adipisci error praesentium enim. Perferendis amet error quia. Sit voluptates itaque aut quod. Pariatur recusandae voluptatibus et non ex incidunt minima. Possimus corrupti doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446537735331359060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531446537735331359060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446537735331359060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446537735331359060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('531446587735331359080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Completed 500 Internal Server Error in 5187ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446587735331359090000'), "name"=>"Ms. Isobel Auer", "reference"=>"Dr. Micaela Wunsch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314465877353313590a0000'), "author_name"=>"Hollie Greenholt", "content"=>["Vel id iste. Rerum nihil quas minus quisquam dolores architecto. Iure possimus animi consequatur molestiae. Voluptate perspiciatis occaecati omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446587735331359090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"531446587735331359090000", "id"=>"5314465877353313590a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446587735331359090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446587735331359090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314465877353313590a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5455ms Completed 500 Internal Server Error in 1921ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a77353313590b0000'), "name"=>"Miss Tatyana Murray", "reference"=>"Ava Bartoletti", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314465a77353313590c0000'), "author_name"=>"Alize Lindgren", "content"=>["Inventore expedita amet officiis repellat aut et omnis. Accusamus voluptates beatae quia quaerat. Quo quae sed. Necessitatibus blanditiis esse sit in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314465a77353313590b0000", "id"=>"5314465a77353313590c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a77353313590b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.1ms) Completed 500 Internal Server Error in 101ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a77353313590d0000'), "name"=>"Juwan Abernathy III", "reference"=>"Eliseo Collins Jr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314465a77353313590e0000'), "author_name"=>"Cloyd Gutmann", "content"=>["Unde voluptate nostrum itaque corporis hic. Deleniti velit tempora. Veniam necessitatibus magni ut est. Impedit voluptatem maxime molestiae fugiat ut aut ea. Nisi ut quibusdam voluptatem autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314465a77353313590d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a77353313590d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4648ms Completed 500 Internal Server Error in 101ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a77353313590f0000'), "name"=>"Ceasar Hermann", "reference"=>"Alba Okuneva", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314465a7735331359100000'), "author_name"=>"Kiarra Wiza", "content"=>["Aperiam mollitia aliquid ducimus. Assumenda non voluptas qui provident. Et id laudantium in dignissimos repellat. Accusamus illum est molestias sit. Et a occaecati numquam corporis facilis vel expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0918ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314465a77353313590f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a77353313590f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.3ms) Completed 500 Internal Server Error in 100ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a7735331359120000'), "name"=>"Eddie Volkman", "reference"=>"Fernando Koelpin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314465a7735331359130000'), "author_name"=>"Curt Hagenes", "content"=>["Est ut hic fuga molestiae. Numquam voluptatibus maxime ratione sunt esse minus sed. Voluptatibus occaecati sint earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.4771ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314465a7735331359120000", "id"=>"5314465a7735331359130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4302ms Completed 500 Internal Server Error in 97ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a7735331359140000'), "name"=>"Emely Dare", "reference"=>"Dr. Lorenz D'Amore", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314465a7735331359150000'), "author_name"=>"Jett Deckow", "content"=>["Minima tempora et accusantium qui totam. Soluta aliquid velit facere in. In sint ut commodi impedit. Sunt sit totam dolor ipsum quasi debitis minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.4932ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314465a7735331359150000", "product_id"=>"5314465a7735331359140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359140000'), "comments._id"=>BSON::ObjectId('5314465a7735331359150000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6274ms Completed 500 Internal Server Error in 57ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a7735331359160000'), "name"=>"Kathryne Jerde", "reference"=>"Lila Yundt III", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314465a7735331359170000'), "firstname"=>"Pablo", "lastname"=>"Rau"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314465a7735331359160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4313ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359160000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359160000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314465a7735331359180000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms Completed 500 Internal Server Error in 58ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a7735331359190000'), "name"=>"Amina Howell II", "reference"=>"Tre Ebert V", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314465a77353313591a0000'), "firstname"=>"Rodger", "lastname"=>"Waelchi"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314465a77353313591a0000", "product_id"=>"5314465a7735331359190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a7735331359190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.1ms) Completed 500 Internal Server Error in 91ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465a77353313591b0000'), "name"=>"Tomasa Smith", "reference"=>"Percy Kihn", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314465a77353313591c0000'), "firstname"=>"Rico", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314465a77353313591b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465a77353313591b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.2ms) Completed 500 Internal Server Error in 94ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b77353313591e0000'), "name"=>"Israel Johnson DDS", "reference"=>"Consuelo Rice", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314465b77353313591f0000'), "firstname"=>"Nikko", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314465b77353313591f0000", "product_id"=>"5314465b77353313591e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b77353313591e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Completed 500 Internal Server Error in 100ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359200000'), "name"=>"Ms. Luigi Langosh", "reference"=>"Ryley Mitchell", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314465b7735331359210000'), "firstname"=>"Gwendolyn", "lastname"=>"Larson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314465b7735331359210000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314465b7735331359200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b7735331359200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4715ms Unpermitted parameters: name Completed 500 Internal Server Error in 59ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359220000'), "name"=>"Emery Mraz", "reference"=>"Ms. Orville Ullrich", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2340ms 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('5314465b7735331359230000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5589ms Redirected to http://test.host/admin/products/5314465b7735331359230000 Completed 302 Found in 56ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3452ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359240000'), "name"=>"Ofelia Greenfelder Jr.", "reference"=>"Vivienne Herzog", "quantity"=>"3"}] 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.2071ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314465b7735331359240000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b7735331359240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b7735331359240000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Redirected to http://test.host/admin/products Completed 302 Found in 71ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2952ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359250000'), "name"=>"Ophelia Stehr", "reference"=>"Priscilla Hudson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314465b7735331359250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b7735331359250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4324ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 92ms (Views: 7.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359260000'), "name"=>"Lew Rogahn DDS", "reference"=>"Quentin Klocko", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms 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.6404ms Completed 200 OK in 122ms (Views: 12.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b7735331359270000'), "name"=>"Jake Corkery", "reference"=>"Martina Cremin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 95ms (Views: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b77353313592a0000'), "name"=>"Noe Veum", "reference"=>"Baby Gleichner PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314465b77353313592a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b77353313592a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4798ms Completed 200 OK in 70ms (Views: 3.0ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465b77353313592b0000'), "name"=>"Kamron Quigley", "reference"=>"Lillie Ebert Jr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314465b77353313592b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b77353313592b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5159ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465b77353313592b0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms Redirected to http://test.host/admin/products/5314465b77353313592b0000 Completed 302 Found in 88ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314465b77353313592c0000'), "firstname"=>"Kasandra", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3878ms 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('5314465b77353313592d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms Redirected to http://test.host/admin/users/5314465b77353313592d0000 Completed 302 Found in 76ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3165ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314465b77353313592e0000'), "firstname"=>"Coty", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2250ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5314465b77353313592e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314465b77353313592e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4499ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314465b77353313592e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Redirected to http://test.host/admin/users Completed 302 Found in 86ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2939ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314465c77353313592f0000'), "firstname"=>"Joey", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314465c77353313592f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314465c77353313592f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4455ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 92ms (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('5314465c7735331359300000'), "firstname"=>"Carmella", "lastname"=>"Kilback"}] 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.4481ms Completed 200 OK in 149ms (Views: 39.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314465c7735331359310000'), "firstname"=>"Hilton", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 59ms (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('5314465c7735331359320000'), "firstname"=>"Marta", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314465c7735331359320000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314465c7735331359320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4822ms Completed 200 OK in 82ms (Views: 3.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314465c7735331359330000'), "firstname"=>"Eleanora", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314465c7735331359330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314465c7735331359330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4807ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5314465c7735331359330000 Completed 302 Found in 86ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314465c7735331359340000'), "firstname"=>"Ida", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2246ms 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('5314465c7735331359350000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5924ms Redirected to http://test.host/administrator Completed 302 Found in 111ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3262ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314465c7735331359360000'), "firstname"=>"Garrett", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314465c7735331359360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314465c7735331359360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4489ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 62ms (Views: 6.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314465c7735331359370000'), "firstname"=>"Estrella", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 114ms (Views: 4.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314465c7735331359380000'), "firstname"=>"Monte", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5314465c7735331359380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314465c7735331359380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5134ms Completed 200 OK in 87ms (Views: 2.9ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314465c7735331359390000'), "firstname"=>"Marisol", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5314465c7735331359390000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314465c7735331359390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4737ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 86ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d77353313593a0000'), "name"=>"Ms. Sandy Gislason", "reference"=>"Chanel Considine", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314465d77353313593b0000'), "author_name"=>"Leola Waelchi", "content"=>["Rem voluptate nam qui ducimus voluptates repudiandae suscipit. Corporis vel repudiandae dolor optio. Voluptas autem ea ea. Praesentium omnis fuga qui voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4863ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314465d77353313593a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4215ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593a0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314465d77353313593c0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5813ms Completed 500 Internal Server Error in 73ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d77353313593d0000'), "name"=>"Laurel Wolff", "reference"=>"Vergie Becker", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314465d77353313593e0000'), "author_name"=>"Prince Strosin", "content"=>["Sint necessitatibus assumenda sint et. Aut quo odio sunt sint dolorem sequi consequatur. Vel molestiae asperiores et dolore aut excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314465d77353313593d0000", "id"=>"5314465d77353313593e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593d0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314465d77353313593e0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms Completed 500 Internal Server Error in 97ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d77353313593f0000'), "name"=>"Diamond Bernhard", "reference"=>"Monique Gutmann", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314465d7735331359400000'), "author_name"=>"Braeden Rice", "content"=>["Provident praesentium eum quae molestiae fugiat tenetur. Dicta praesentium inventore. A commodi consequatur non modi et. Vel quis voluptas vitae id soluta nam explicabo. Minus quis ullam autem eum nam veniam odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314465d77353313593f0000", "id"=>"5314465d7735331359400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313593f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.0ms) Completed 500 Internal Server Error in 113ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d7735331359410000'), "name"=>"Beulah Bogan", "reference"=>"Vicente Cummerata", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314465d7735331359420000'), "author_name"=>"Dr. Jamison Prohaska", "content"=>["Saepe facilis autem et. Quasi dignissimos quia rerum. Quibusdam officiis eum voluptas odio maxime eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5327ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5314465d7735331359410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d7735331359410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms Completed 500 Internal Server Error in 139ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d7735331359430000'), "name"=>"Coby Heller", "reference"=>"Kaitlin Kihn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314465d7735331359440000'), "author_name"=>"Mrs. Misty Keebler", "content"=>["Harum quae quisquam quia perferendis beatae ea quasi. Voluptas maiores pariatur. Et sunt dolor doloribus dolore autem ut. Aut non sint repellat fuga vel. Eum itaque minima eos nihil praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5061ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5314465d7735331359430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d7735331359430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4817ms Completed 200 OK in 60ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d7735331359450000'), "name"=>"Lavina Hand", "reference"=>"Patsy Hills", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314465d7735331359460000'), "author_name"=>"Hardy McGlynn", "content"=>["Laboriosam omnis temporibus. Beatae officia sequi dolorem ratione. Voluptas velit vitae dolorem repellat et tempore ipsam. Aliquam perferendis non nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5314465d7735331359450000", "id"=>"5314465d7735331359460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d7735331359450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms Completed 200 OK in 92ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d7735331359470000'), "name"=>"Schuyler O'Hara", "reference"=>"Janick Douglas IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314465d7735331359480000'), "author_name"=>"Annamae Wunsch III", "content"=>["Non dolore est voluptas ut aut. Maiores labore et cum enim. Consectetur sequi libero esse quia voluptatem. Porro ut eveniet rem dolores architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5042ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5314465d7735331359470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d7735331359470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (41.0ms) Completed 500 Internal Server Error in 104ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d77353313594a0000'), "name"=>"Kariane Mayer II", "reference"=>"Willis Purdy Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314465d77353313594b0000'), "author_name"=>"Rashad Bartell", "content"=>["Ratione maxime ex et magnam ipsa ullam et. Deleniti eius natus quis quia. Exercitationem consequatur voluptatem doloribus eveniet. Quibusdam pariatur perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5213ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314465d77353313594a0000", "id"=>"5314465d77353313594b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313594a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4863ms Completed 500 Internal Server Error in 106ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465d77353313594c0000'), "name"=>"Manuel Sawayn", "reference"=>"Camren Doyle", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314465d77353313594d0000'), "author_name"=>"Dan Wiegand", "content"=>["Pariatur ad exercitationem. Possimus dolor magni ullam et veritatis. Dolore doloribus nisi eveniet. Adipisci ut porro debitis atque et est eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314465d77353313594d0000", "product_id"=>"5314465d77353313594c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313594c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465d77353313594c0000'), "comments._id"=>BSON::ObjectId('5314465d77353313594d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5920ms Completed 500 Internal Server Error in 65ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e77353313594e0000'), "firstname"=>"Turner", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.6397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3075ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e77353313594f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Redirected to http://test.host/admin/clients/5314465e77353313594f0000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3912ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359500000'), "firstname"=>"Makayla", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2567ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314465e7735331359500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms 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.2031ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359510000'), "firstname"=>"Carlos", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314465e7735331359510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359510000')} 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.5ms) 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('5314465e7735331359520000'), "firstname"=>"Tom", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms 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('5314465e7735331359530000'), "firstname"=>"Eunice", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359540000'), "firstname"=>"Jody", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314465e7735331359540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms 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('5314465e7735331359550000'), "firstname"=>"John", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314465e7735331359550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8425ms Redirected to http://test.host/admin/clients/5314465e7735331359550000 Completed 302 Found in 8ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359560000'), "firstname"=>"Ashley", "lastname"=>"Lang"}] 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.2237ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Redirected to http://test.host/clients/5314465e7735331359570000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2379ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e7735331359580000'), "firstname"=>"Abdullah", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms 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"=>"5314465e7735331359580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms 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('5314465e7735331359590000'), "firstname"=>"Karley", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314465e7735331359590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e7735331359590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms 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('5314465e77353313595a0000'), "firstname"=>"Kelsi", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms Completed 200 OK in 9ms (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('5314465e77353313595b0000'), "firstname"=>"Cristal", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms 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.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e77353313595c0000'), "firstname"=>"Lois", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314465e77353313595c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e77353313595c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Completed 200 OK in 4ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314465e77353313595d0000'), "firstname"=>"Armand", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314465e77353313595d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314465e77353313595d0000')} 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('5314465e77353313595d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Redirected to http://test.host/clients/5314465e77353313595d0000 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('5314465e77353313595e0000'), "name"=>"Mr. Monty Herzog", "reference"=>"Ms. Kathlyn Feest", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314465e77353313595f0000'), "firstname"=>"Belle", "lastname"=>"McClure"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314465e77353313595e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e77353313595e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e77353313595e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e77353313595e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314465e7735331359600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms Completed 500 Internal Server Error in 101ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e7735331359610000'), "name"=>"Yvette Stamm", "reference"=>"Mr. Brady Marks", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314465e7735331359620000'), "firstname"=>"Emery", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5314465e7735331359620000", "product_id"=>"5314465e7735331359610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e7735331359610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.7ms) Completed 500 Internal Server Error in 109ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e7735331359630000'), "name"=>"Howard Murray", "reference"=>"Eldora Kiehn", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5314465e7735331359640000'), "firstname"=>"Mitchell", "lastname"=>"Kulas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5314465e7735331359630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e7735331359630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (44.6ms) Completed 500 Internal Server Error in 145ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e7735331359660000'), "name"=>"Sienna Reilly", "reference"=>"Sadye Heidenreich", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314465e7735331359670000'), "firstname"=>"Kieran", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5258ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5314465e7735331359670000", "product_id"=>"5314465e7735331359660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e7735331359660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms Completed 500 Internal Server Error in 110ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e7735331359680000'), "name"=>"Edwardo Barton", "reference"=>"Marlon Ondricka", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5314465e7735331359690000'), "firstname"=>"Imogene", "lastname"=>"Mayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.0299ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5314465e7735331359690000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314465e7735331359680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e7735331359680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms Unpermitted parameters: name Completed 500 Internal Server Error in 93ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e77353313596a0000'), "name"=>"Garland Rath", "reference"=>"Margie Spinka", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6813ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2321ms 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('5314465e77353313596b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms Redirected to http://test.host/products/5314465e77353313596b0000 Completed 302 Found in 57ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2489ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465e77353313596c0000'), "name"=>"Ms. Quinton Greenfelder", "reference"=>"Lula Bahringer", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2689ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5314465e77353313596c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e77353313596c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465e77353313596c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms Redirected to http://test.host/products Completed 302 Found in 59ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f77353313596d0000'), "name"=>"Marguerite Anderson", "reference"=>"Deontae Kutch", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314465f77353313596d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f77353313596d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 70ms (Views: 7.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f77353313596e0000'), "name"=>"Amy Cormier", "reference"=>"Amelia Goyette MD", "quantity"=>"4"}] 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.9010ms Completed 200 OK in 101ms (Views: 22.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f77353313596f0000'), "name"=>"Lafayette Cormier PhD", "reference"=>"Mario White", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms 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: 1.0206ms Completed 200 OK in 99ms (Views: 2.2ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359700000'), "name"=>"Rory Eichmann V", "reference"=>"Yoshiko Hermiston", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5314465f7735331359700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5058ms Completed 200 OK in 83ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359710000'), "name"=>"Alize Smitham", "reference"=>"Hailey O'Connell II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 92ms (Views: 5.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359730000'), "name"=>"Jonathon Stokes", "reference"=>"Miss Ashly Lind", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5314465f7735331359730000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4324ms Completed 200 OK in 88ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359740000'), "name"=>"Otis Zulauf", "reference"=>"Kallie Murazik", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms 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('5314465f7735331359750000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5639ms Completed 201 Created in 112ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3058ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359760000'), "name"=>"Ashton Mills", "reference"=>"Llewellyn Wunsch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8967ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5314465f7735331359760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4631ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359760000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms Completed 200 OK in 61ms (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('5314465f7735331359770000'), "name"=>"Lorenzo Lueilwitz", "reference"=>"Tanner Crona DDS", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 80ms (Views: 0.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f7735331359790000'), "name"=>"Johnathon Stokes", "reference"=>"Miss Kayleigh Wyman", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314465f7735331359790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4884ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f7735331359790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Completed 202 Accepted in 89ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314465f77353313597a0000'), "name"=>"Mr. Rudy Beahan", "reference"=>"Alessia Hoppe", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314465f77353313597a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f77353313597a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314465f77353313597a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6590ms Redirected to http://test.host/products/5314465f77353313597a0000 Completed 302 Found in 115ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314466077353313597d0000'), "name"=>"Laury Brekke IV", "reference"=>"Miss General Corwin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313597b0000'), "author_name"=>"Ryder Lehner IV", "content"=>["Corrupti quis minima consequatur quibusdam eaque facilis ex. Cupiditate corrupti dolor nostrum. Est saepe et voluptas autem dolorum consequatur. Quam adipisci voluptatem amet consequatur sit. Et a molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313597c0000'), "author_name"=>"Leonel Jacobs", "content"=>["Quibusdam qui facere ipsum. Omnis nam accusantium sapiente vero earum ut. Illum totam repellat qui sed officiis qui eius."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314466077353313597d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314466077353313597d0000", "comment_id"=>"5314466077353313597b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314466077353313597d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4942ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314466077353313597d0000'), "comments._id"=>BSON::ObjectId('5314466077353313597b0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314466077353313597e0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6419ms Completed 500 Internal Server Error in 102ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446607735331359810000'), "name"=>"Lorenzo Stoltenberg", "reference"=>"Camilla Lebsack", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313597f0000'), "author_name"=>"Monte Purdy", "content"=>["Rerum deleniti autem. Rem dolore atque veniam iste error sunt delectus. Ipsa dolores beatae sit enim delectus quisquam quo."], "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359800000'), "author_name"=>"Floy Harber", "content"=>["Perspiciatis dignissimos in necessitatibus deleniti. Unde nobis voluptas aut et. Ut nisi magni placeat. Dolor quia aut porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"531446607735331359810000", "comment_id"=>"5314466077353313597f0000", "id"=>"531446607735331359800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359810000'), "comments._id"=>BSON::ObjectId('5314466077353313597f0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('531446607735331359800000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms Completed 500 Internal Server Error in 102ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446607735331359840000'), "name"=>"Agnes Leffler", "reference"=>"Hiram Bernhard DVM", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359820000'), "author_name"=>"Ramon Balistreri", "content"=>["Quae corrupti ducimus illum enim. Mollitia saepe consequatur ad quae qui esse ab. Possimus aspernatur eveniet corporis et repellendus consequatur. Voluptas molestiae est quaerat ut et."], "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359830000'), "author_name"=>"Karine Davis DVM", "content"=>["Repellendus sed ipsa quia voluptatem. Deleniti est blanditiis aut reprehenderit repudiandae voluptatem. Officiis quia odit laudantium tempore quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"531446607735331359840000", "comment_id"=>"531446607735331359820000", "id"=>"531446607735331359830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4202ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (10.8ms) Completed 500 Internal Server Error in 107ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446607735331359870000'), "name"=>"Tyreek Champlin DDS", "reference"=>"Christ Pfeffer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359850000'), "author_name"=>"Tomasa Volkman", "content"=>["Perspiciatis quia consequuntur est distinctio amet cupiditate aliquid. Earum sed doloribus aliquid dolores consequatur dicta occaecati. Nisi rerum veritatis ipsam. Illo sed dolorem officiis distinctio id blanditiis commodi."], "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359860000'), "author_name"=>"Ms. Simone Wilderman", "content"=>["Nisi ipsum doloribus aut. Laboriosam quae nobis est delectus odio inventore. Sit odit beatae omnis deleniti. Reiciendis temporibus modi eveniet sed sed blanditiis exercitationem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5760ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"531446607735331359870000", "comment_id"=>"531446607735331359850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms Completed 500 Internal Server Error in 146ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314466077353313598a0000'), "name"=>"Emanuel Mueller", "reference"=>"Jaren Kuvalis", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359880000'), "author_name"=>"Era Steuber", "content"=>["Consectetur dolorem ea et. Et sequi eligendi expedita consequatur ullam in placeat. Quidem earum pariatur id assumenda modi. Quo labore ea et molestias accusamus. Laboriosam unde incidunt facilis sit."], "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359890000'), "author_name"=>"Vernie Gleason", "content"=>["Facilis libero cumque ut. Eum culpa est illo consequatur reprehenderit voluptatem. Minima expedita provident vel officiis laborum aut doloremque. Officia dicta inventore et quisquam nulla at numquam. Ex sit quis autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5313ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314466077353313598a0000", "comment_id"=>"531446607735331359880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314466077353313598a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms Completed 200 OK in 93ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314466077353313598d0000'), "name"=>"Darrin Balistreri", "reference"=>"Flavie Marks", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313598b0000'), "author_name"=>"Mr. Robb Murray", "content"=>["Possimus quo aut. Eligendi deserunt nobis fugiat et. At et perferendis totam saepe. Esse eveniet porro cupiditate quia."], "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313598c0000'), "author_name"=>"Tamara Wolff", "content"=>["Asperiores placeat aut. Aut impedit voluptatem sapiente ut. Nulla autem reprehenderit inventore iusto error reiciendis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314466077353313598d0000", "comment_id"=>"5314466077353313598b0000", "id"=>"5314466077353313598c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314466077353313598d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms Completed 200 OK in 62ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446607735331359900000'), "name"=>"Jack Waters MD", "reference"=>"Eldridge Thiel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313598e0000'), "author_name"=>"Montana Cole", "content"=>["Omnis neque ut esse mollitia. Consequatur soluta voluptatem sit numquam vitae sunt omnis. Voluptatem laudantium ipsam. Quia cumque sed sit."], "comments"=>[{"_id"=>BSON::ObjectId('5314466077353313598f0000'), "author_name"=>"Dora Hessel", "content"=>["Dolor id ipsam quae. Quisquam nesciunt totam fugiat odit est. Quod nihil quam quis quia dolore et illo. Sed occaecati molestiae autem hic culpa quia. Maiores incidunt repellendus id minima at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"531446607735331359900000", "comment_id"=>"5314466077353313598e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4778ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (41.9ms) Completed 500 Internal Server Error in 141ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446607735331359940000'), "name"=>"Brett Beier", "reference"=>"Nikita Altenwerth", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359920000'), "author_name"=>"Colten Sawayn", "content"=>["Tempora voluptatum nihil. Eligendi voluptatibus debitis consequatur. Fugiat beatae porro voluptatem. Facilis mollitia molestias qui odio adipisci reiciendis. Nesciunt tempora eligendi quisquam."], "comments"=>[{"_id"=>BSON::ObjectId('531446607735331359930000'), "author_name"=>"Ms. Gillian Spencer", "content"=>["Non delectus qui. Et quia quaerat corrupti quod amet architecto repellendus. Sed in temporibus dolorem. Accusamus quia similique magnam blanditiis. Sunt adipisci vero autem ut voluptates libero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5357ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"531446607735331359940000", "comment_id"=>"531446607735331359920000", "id"=>"531446607735331359930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446607735331359940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms Completed 500 Internal Server Error in 115ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446617735331359970000'), "name"=>"Blake Bartoletti", "reference"=>"Ole Raynor II", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446617735331359950000'), "author_name"=>"Sunny Sawayn DVM", "content"=>["Blanditiis sint nihil. Est animi a fugit odit et ut. Sunt ducimus totam eligendi consequatur fuga optio."], "comments"=>[{"_id"=>BSON::ObjectId('531446617735331359960000'), "author_name"=>"Abigail Lindgren", "content"=>["Sunt assumenda ut aliquid doloremque officia ut. Nesciunt molestiae quasi qui doloribus omnis laborum amet. Vero ea illo et error quisquam. Et labore eaque vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531446617735331359960000", "product_id"=>"531446617735331359970000", "comment_id"=>"531446617735331359950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446617735331359970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446617735331359970000'), "comments._id"=>BSON::ObjectId('531446617735331359950000'), "comments.0.comments._id"=>BSON::ObjectId('531446617735331359960000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6230ms Completed 500 Internal Server Error in 100ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446617735331359980000'), "firstname"=>"Eusebio", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6874ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2404ms 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('531446617735331359990000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Redirected to http://test.host/users/531446617735331359990000 Completed 302 Found in 61ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2149ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314466177353313599a0000'), "firstname"=>"Tianna", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2030ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314466177353313599a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314466177353313599a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4462ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314466177353313599a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms Redirected to http://test.host/users Completed 302 Found in 93ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2944ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314466177353313599b0000'), "firstname"=>"Rossie", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314466177353313599b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314466177353313599b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4373ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 63ms (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('5314466177353313599c0000'), "firstname"=>"Simone", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms 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.4599ms Completed 200 OK in 90ms (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('5314466177353313599d0000'), "firstname"=>"Ora", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6521ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 109ms (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('5314466177353313599e0000'), "firstname"=>"Jairo", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314466177353313599e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314466177353313599e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms Completed 200 OK in 87ms (Views: 3.5ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314466177353313599f0000'), "firstname"=>"Monique", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314466177353313599f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314466177353313599f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms Unpermitted parameters: name Redirected to http://test.host/users/5314466177353313599f0000 Completed 302 Found in 94ms 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.3559ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5586ms 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.3174ms 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.3129ms 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.3061ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144666773533138d000000'), "firstname"=>"Madge", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2299ms 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('53144666773533138d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms 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.2519ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144666773533138d020000'), "firstname"=>"Ellen", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53144666773533138d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144666773533138d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 21ms (Views: 19.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144666773533138d030000'), "firstname"=>"Irwin", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms 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: 4.2ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144666773533138d040000'), "firstname"=>"Antonetta", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53144666773533138d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144666773533138d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144666773533138d050000'), "firstname"=>"Gwen", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53144666773533138d050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144666773533138d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms 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('53144666773533138d060000'), "name"=>"Geovanny Walker DVM", "reference"=>"Mrs. Julia O'Kon", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d070000'), "author_name"=>"Kaitlyn Gutkowski", "content"=>["Esse culpa earum placeat ut magnam. Et magnam et dolor facere hic eaque animi. Repellat eum aut voluptas fugiat totam sit. Vitae id quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d060000')} 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"=>"53144666773533138d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d060000')} 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('53144666773533138d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53144666773533138d080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d090000'), "name"=>"Garrett Mayer", "reference"=>"Janie Legros", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d0a0000'), "author_name"=>"Madonna Nikolaus", "content"=>["Tenetur in deleniti commodi. Omnis ullam molestias porro iusto. Alias quia qui tempora placeat repellat ut. Temporibus consequatur sequi et et quia assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53144666773533138d090000", "id"=>"53144666773533138d0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53144666773533138d0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d0b0000'), "name"=>"Eula Weber", "reference"=>"Bennie Jast", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d0c0000'), "author_name"=>"Eliza Cronin", "content"=>["Eos molestiae inventore culpa ullam. Autem non at quis. Possimus et odit. Qui nisi quae animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53144666773533138d0b0000", "id"=>"53144666773533138d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.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('53144666773533138d0d0000'), "name"=>"Carmelo Stanton", "reference"=>"Violette Abbott", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d0e0000'), "author_name"=>"Ryann Goldner DVM", "content"=>["Sunt tempore totam numquam. Enim et eos dolorum. Quia maxime minus. Quis voluptates illum. Unde magnam est natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53144666773533138d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d0f0000'), "name"=>"Eldridge Connelly", "reference"=>"Sigmund Satterfield", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d100000'), "author_name"=>"Cordelia Will", "content"=>["Ipsam cum officiis. Quis voluptates harum in autem. Reiciendis sint in. Non ipsum facere sed beatae odit error. Molestiae earum qui et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53144666773533138d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 500 Internal Server Error in 9ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d120000'), "name"=>"Elnora Mann", "reference"=>"Eladio Romaguera", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d130000'), "author_name"=>"Ms. Rachael Hoppe", "content"=>["Quis corporis tempore ratione rerum iure quia. Perferendis reiciendis fugit at ut quia. Et minus provident id qui dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53144666773533138d120000", "id"=>"53144666773533138d130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms Completed 500 Internal Server Error in 40ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d140000'), "name"=>"Lavern Braun", "reference"=>"Mikayla Feest", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53144666773533138d150000'), "author_name"=>"Vada Casper DVM", "content"=>["In corporis iste quo quasi accusamus. Quaerat possimus vero aliquid quidem. Nihil libero quia aliquam a eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53144666773533138d150000", "product_id"=>"53144666773533138d140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d140000'), "comments._id"=>BSON::ObjectId('53144666773533138d150000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Completed 500 Internal Server Error in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d160000'), "name"=>"Sally Hodkiewicz", "reference"=>"Miss Jaylen Stark", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53144666773533138d170000'), "firstname"=>"Madalyn", "lastname"=>"Jaskolski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53144666773533138d160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d160000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d160000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53144666773533138d180000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Completed 500 Internal Server Error in 35ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d190000'), "name"=>"Mrs. Mittie Doyle", "reference"=>"Ismael Skiles", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53144666773533138d1a0000'), "firstname"=>"Denis", "lastname"=>"Homenick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53144666773533138d1a0000", "product_id"=>"53144666773533138d190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.1ms) Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d1b0000'), "name"=>"Ayana Hand", "reference"=>"Manley Feeney", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53144666773533138d1c0000'), "firstname"=>"Blanche", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53144666773533138d1b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.9ms) Completed 500 Internal Server Error in 37ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d1e0000'), "name"=>"Lee Robel", "reference"=>"Sarina Prohaska III", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53144666773533138d1f0000'), "firstname"=>"Santos", "lastname"=>"Kuhic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53144666773533138d1f0000", "product_id"=>"53144666773533138d1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms Completed 500 Internal Server Error in 12ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144666773533138d200000'), "name"=>"Lester Quitzon", "reference"=>"Lauriane Tillman", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53144666773533138d210000'), "firstname"=>"Arvid", "lastname"=>"Hahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53144666773533138d210000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53144666773533138d200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144666773533138d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms Unpermitted parameters: name Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d220000'), "name"=>"Wendell Witting Sr.", "reference"=>"Velva Deckow", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.2226ms 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('53144667773533138d230000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Redirected to http://test.host/admin/products/53144667773533138d230000 Completed 302 Found in 3ms 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('53144667773533138d240000'), "name"=>"Adelia Adams", "reference"=>"Pat Weber MD", "quantity"=>"7"}] 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.1800ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53144667773533138d240000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d240000')} 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('53144667773533138d240000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms 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.1965ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d250000'), "name"=>"Aida Crona", "reference"=>"Louie Bashirian I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53144667773533138d250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d250000')} 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.7ms) Completed 200 OK in 9ms (Views: 7.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d260000'), "name"=>"Dannie Kiehn", "reference"=>"Miss Kraig Ondricka", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms 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.5620ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d270000'), "name"=>"Genevieve Lindgren", "reference"=>"Flossie Sauer", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8290ms 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: 5.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d2a0000'), "name"=>"Donavon O'Reilly V", "reference"=>"Domenica Lubowitz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53144667773533138d2a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms 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('53144667773533138d2b0000'), "name"=>"Tom Stoltenberg PhD", "reference"=>"Corrine Bailey", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53144667773533138d2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d2b0000')} 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('53144667773533138d2b0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Redirected to http://test.host/admin/products/53144667773533138d2b0000 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('53144667773533138d2c0000'), "firstname"=>"Jodie", "lastname"=>"Fadel"}] 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.2150ms 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('53144667773533138d2d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms Redirected to http://test.host/admin/users/53144667773533138d2d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2108ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144667773533138d2e0000'), "firstname"=>"Gonzalo", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1965ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53144667773533138d2e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144667773533138d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144667773533138d2e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms 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.1957ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144667773533138d2f0000'), "firstname"=>"Winston", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53144667773533138d2f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144667773533138d2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144667773533138d300000'), "firstname"=>"Enid", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms 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.3122ms 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('53144667773533138d310000'), "firstname"=>"Rosemary", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms 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: 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('53144667773533138d320000'), "firstname"=>"Arvilla", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53144667773533138d320000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144667773533138d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms 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('53144667773533138d330000'), "firstname"=>"Jay", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53144667773533138d330000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144667773533138d330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53144667773533138d330000 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('53144667773533138d340000'), "firstname"=>"Everett", "lastname"=>"Bosco"}] 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=>"administrators", :query=>{}} runtime: 0.2327ms 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('53144667773533138d350000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms 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.2161ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144667773533138d360000'), "firstname"=>"Frieda", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53144667773533138d360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144667773533138d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144667773533138d370000'), "firstname"=>"Baby", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144667773533138d380000'), "firstname"=>"Arne", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53144667773533138d380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144667773533138d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53144667773533138d390000'), "firstname"=>"Tate", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53144667773533138d390000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53144667773533138d390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms 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('53144667773533138d3a0000'), "name"=>"Daron Cormier", "reference"=>"Evie Gerlach", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d3b0000'), "author_name"=>"Anibal Hilll", "content"=>["Id quia quos consequatur sequi. Atque illo at qui et impedit est. Sequi maxime laborum et ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53144667773533138d3a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3a0000')} 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('53144667773533138d3a0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53144667773533138d3c0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms Completed 500 Internal Server Error in 6ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d3d0000'), "name"=>"Miss Evie Lueilwitz", "reference"=>"Lera Grady", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d3e0000'), "author_name"=>"Gaston Kuhlman DVM", "content"=>["Harum dicta quidem sunt quia magnam sit. Est tenetur odio repudiandae. Explicabo occaecati sed quia cupiditate quae minus officia. Et optio perspiciatis mollitia quo reiciendis voluptas. Excepturi harum blanditiis quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53144667773533138d3d0000", "id"=>"53144667773533138d3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3d0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53144667773533138d3e0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms Completed 500 Internal Server Error in 5ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d3f0000'), "name"=>"Major Predovic", "reference"=>"Jacquelyn Koepp", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d400000'), "author_name"=>"Percy Cronin", "content"=>["Sint explicabo eligendi voluptate. Quaerat perferendis corrupti ipsum nesciunt. Voluptatem id fuga nam aut. Enim incidunt repellendus accusamus. Harum consequuntur esse rem natus perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5052ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53144667773533138d3f0000", "id"=>"53144667773533138d400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (8.5ms) Completed 500 Internal Server Error in 14ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d410000'), "name"=>"Archibald Torphy V", "reference"=>"Dr. Lorine Klein", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d420000'), "author_name"=>"Gladyce Rice", "content"=>["Ut natus est eveniet. Iure omnis quasi a odio sunt. Veritatis veniam est ab vel itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53144667773533138d410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms Completed 500 Internal Server Error in 72ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d430000'), "name"=>"Ms. Darrion Stroman", "reference"=>"Bonita Keebler", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d440000'), "author_name"=>"Frankie Cassin Jr.", "content"=>["Est repudiandae qui provident rem doloremque. Commodi voluptatem laudantium. Aperiam aut ut voluptates aut quia tempora vitae. Eligendi sit molestiae. Rerum velit recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53144667773533138d430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d450000'), "name"=>"Favian Kreiger", "reference"=>"Lottie Beier DDS", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d460000'), "author_name"=>"Mrs. Montana Jenkins", "content"=>["Reiciendis fuga dolore temporibus qui natus molestiae pariatur. Aliquid consequatur nihil dolores nam sit. Molestias illo labore tenetur quis qui. Alias voluptas accusamus ipsam facere quia. Molestiae nam quidem aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53144667773533138d450000", "id"=>"53144667773533138d460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d470000'), "name"=>"Mrs. Oswald Schmeler", "reference"=>"Miss Opal Reinger", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d480000'), "author_name"=>"Jacky Hand", "content"=>["Dolores sed eveniet voluptates. Sint dolor sed. Aut reiciendis et velit ratione impedit et est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53144667773533138d470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (8.3ms) Completed 500 Internal Server Error in 12ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d4a0000'), "name"=>"Evangeline Muller", "reference"=>"Coby Feest", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d4b0000'), "author_name"=>"Lauriane Jerde", "content"=>["Reprehenderit minus ut voluptas velit est sapiente aut. Porro ipsam sed velit. Molestiae temporibus voluptates deserunt et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53144667773533138d4a0000", "id"=>"53144667773533138d4b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Completed 500 Internal Server Error in 72ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d4c0000'), "name"=>"Eriberto Gerlach Sr.", "reference"=>"Loraine Harvey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53144667773533138d4d0000'), "author_name"=>"Doris Waters", "content"=>["Perspiciatis neque perferendis ratione temporibus non qui ad. Rerum aut ut cum. Assumenda soluta quis illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53144667773533138d4d0000", "product_id"=>"53144667773533138d4c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d4c0000'), "comments._id"=>BSON::ObjectId('53144667773533138d4d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Completed 500 Internal Server Error in 8ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d4e0000'), "firstname"=>"Donny", "lastname"=>"Wisozk"}] 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=>"clients", :query=>{}} runtime: 0.2069ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d4f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Redirected to http://test.host/admin/clients/53144667773533138d4f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1934ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d500000'), "firstname"=>"Claudie", "lastname"=>"Keebler"}] 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=>"clients", :query=>{}} runtime: 0.1732ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53144667773533138d500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms 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.1760ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d510000'), "firstname"=>"Nicolas", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53144667773533138d510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('53144667773533138d520000'), "firstname"=>"Robb", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms 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('53144667773533138d530000'), "firstname"=>"Elmer", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d540000'), "firstname"=>"Garland", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53144667773533138d540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms 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('53144667773533138d550000'), "firstname"=>"Elsie", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53144667773533138d550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d550000')} 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('53144667773533138d550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Redirected to http://test.host/admin/clients/53144667773533138d550000 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('53144667773533138d560000'), "firstname"=>"Candido", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms 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('53144667773533138d570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms Redirected to http://test.host/clients/53144667773533138d570000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1778ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d580000'), "firstname"=>"Dandre", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1598ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53144667773533138d580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms 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.1641ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d590000'), "firstname"=>"Olin", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53144667773533138d590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (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('53144667773533138d5a0000'), "firstname"=>"Thomas", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms 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('53144667773533138d5b0000'), "firstname"=>"Alana", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53144667773533138d5c0000'), "firstname"=>"Carrie", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53144667773533138d5c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53144667773533138d5d0000'), "firstname"=>"Stefan", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53144667773533138d5d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53144667773533138d5d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms Redirected to http://test.host/clients/53144667773533138d5d0000 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('53144667773533138d5e0000'), "name"=>"Ethel Powlowski", "reference"=>"Shana Koss DDS", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53144667773533138d5f0000'), "firstname"=>"Elyssa", "lastname"=>"Johnston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53144667773533138d5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d5e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.7441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d5e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53144667773533138d600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms Completed 500 Internal Server Error in 20ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d610000'), "name"=>"Merlin Weber DVM", "reference"=>"Gerardo Langosh", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53144667773533138d620000'), "firstname"=>"Emilia", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53144667773533138d620000", "product_id"=>"53144667773533138d610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.4ms) Completed 500 Internal Server Error in 14ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d630000'), "name"=>"Regan Spencer", "reference"=>"Jaydon Connelly", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53144667773533138d640000'), "firstname"=>"Jermey", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53144667773533138d630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.3ms) Completed 500 Internal Server Error in 42ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d660000'), "name"=>"Nicole Fisher III", "reference"=>"Jorge Witting", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53144667773533138d670000'), "firstname"=>"Pearline", "lastname"=>"Langosh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53144667773533138d670000", "product_id"=>"53144667773533138d660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Completed 500 Internal Server Error in 74ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d680000'), "name"=>"Michale Sporer", "reference"=>"Hanna Paucek", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53144667773533138d690000'), "firstname"=>"Ruth", "lastname"=>"Hyatt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53144667773533138d690000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53144667773533138d680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Unpermitted parameters: name Completed 500 Internal Server Error in 5ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d6a0000'), "name"=>"Ms. Della Murazik", "reference"=>"Carlee Kirlin", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2071ms 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('53144667773533138d6b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8858ms Redirected to http://test.host/products/53144667773533138d6b0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2810ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d6c0000'), "name"=>"Jaida Lubowitz", "reference"=>"Annamae Metz", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.2491ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53144667773533138d6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d6c0000')} 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={"_id"=>BSON::ObjectId('53144667773533138d6c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms 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.2468ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d6d0000'), "name"=>"Kaden Leannon", "reference"=>"Dandre Stiedemann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53144667773533138d6d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144667773533138d6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 9ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d6e0000'), "name"=>"Zachariah Farrell", "reference"=>"Braulio Hand", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms 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.7837ms Completed 200 OK in 22ms (Views: 21.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144667773533138d6f0000'), "name"=>"Helen Hilpert", "reference"=>"Rosemarie Boyle", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms 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: 32.4818ms Completed 200 OK in 38ms (Views: 2.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d700000'), "name"=>"Cathryn Mertz", "reference"=>"Yolanda Friesen", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53144668773533138d700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms 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('53144668773533138d710000'), "name"=>"Miss Tara Lemke", "reference"=>"Abelardo Dare", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms 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: 5.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d730000'), "name"=>"Vito Powlowski", "reference"=>"Cruz Shields", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3658ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53144668773533138d730000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d740000'), "name"=>"Mike Gerlach", "reference"=>"Mr. Newton Mueller", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2432ms 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('53144668773533138d750000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2056ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d760000'), "name"=>"Velva Farrell", "reference"=>"Shea Ferry II", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53144668773533138d760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d760000')} 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('53144668773533138d760000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms 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('53144668773533138d770000'), "name"=>"Kennith Schumm", "reference"=>"Randy Wolff V", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms 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('53144668773533138d790000'), "name"=>"Miss Leonardo Raynor", "reference"=>"Kari Leuschke PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53144668773533138d790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms 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('53144668773533138d7a0000'), "name"=>"Emmalee Morissette", "reference"=>"Elfrieda Waters", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53144668773533138d7a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d7a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms Redirected to http://test.host/products/53144668773533138d7a0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d7d0000'), "name"=>"Jefferey Jacobi", "reference"=>"Jasmin Kunze", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d7b0000'), "author_name"=>"Malvina Hamill", "content"=>["Ut officiis nam ab sit. Suscipit in quia neque. Dolores corporis consectetur labore cum."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d7c0000'), "author_name"=>"Mrs. Scotty Bode", "content"=>["Ea nihil deserunt. Deleniti et repudiandae dolore consequuntur consectetur. Delectus architecto eligendi. Eum eos magnam quam quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53144668773533138d7d0000", "comment_id"=>"53144668773533138d7b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d7d0000'), "comments._id"=>BSON::ObjectId('53144668773533138d7b0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53144668773533138d7e0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Completed 500 Internal Server Error in 7ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d810000'), "name"=>"Lew Conroy DVM", "reference"=>"Albin Williamson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d7f0000'), "author_name"=>"Jenifer Yost", "content"=>["Velit illum facilis eum. Suscipit deleniti earum quae dolorem esse. Praesentium ab velit et fugit atque ad aspernatur. Expedita iusto aut non inventore est accusamus et. Sunt nisi praesentium quia tenetur ipsa officia omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d800000'), "author_name"=>"Marcellus Reynolds", "content"=>["Animi autem in. Nam quod rerum mollitia sapiente quos qui. Ab consequatur facilis quaerat provident accusantium. Enim libero molestiae pariatur. Quam dicta nemo est mollitia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53144668773533138d810000", "comment_id"=>"53144668773533138d7f0000", "id"=>"53144668773533138d800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d810000'), "comments._id"=>BSON::ObjectId('53144668773533138d7f0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53144668773533138d800000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Completed 500 Internal Server Error in 39ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d840000'), "name"=>"Vladimir Hartmann", "reference"=>"Asia Grant", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d820000'), "author_name"=>"Madaline Harris", "content"=>["Repudiandae adipisci eligendi. Ullam odit est eum. Iusto natus totam corporis. Rerum nemo odit voluptas doloribus. Ut et nihil eum qui error."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d830000'), "author_name"=>"Marquise Johns", "content"=>["Et architecto veritatis error recusandae voluptate. At et et nostrum praesentium vel facere. Et dolor quasi ut impedit nihil sit. In consequatur repudiandae incidunt esse. Minus voluptas beatae aut iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53144668773533138d840000", "comment_id"=>"53144668773533138d820000", "id"=>"53144668773533138d830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.8ms) Completed 500 Internal Server Error in 45ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d870000'), "name"=>"Arlie Graham", "reference"=>"Montana Douglas", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d850000'), "author_name"=>"Vallie Bode", "content"=>["Velit eos ut rem perspiciatis repudiandae. Omnis dignissimos quia. Sint eius deserunt cumque officia et tempore inventore."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d860000'), "author_name"=>"Delmer Thiel", "content"=>["Aut porro quo et dolorum est. Omnis corporis aut ut eaque cumque nostrum. Vero recusandae libero aut. Nesciunt quos aut in sit dicta dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53144668773533138d870000", "comment_id"=>"53144668773533138d850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Completed 500 Internal Server Error in 48ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d8a0000'), "name"=>"Shea Harris PhD", "reference"=>"Kathlyn Becker", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d880000'), "author_name"=>"Miss River Feest", "content"=>["Aliquam impedit minus id rerum. Ut consequatur incidunt et delectus omnis. Aut laborum voluptas in amet sit sunt. Aut at suscipit. Exercitationem id sit."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d890000'), "author_name"=>"Paris Glover", "content"=>["Soluta et quo et. Eos iste aperiam quam quia voluptatem ea. Voluptates corrupti omnis. Ut repellendus magnam atque et. Quam eos libero doloremque unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53144668773533138d8a0000", "comment_id"=>"53144668773533138d880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d8d0000'), "name"=>"Jovany Rippin", "reference"=>"Dr. Kacie Hodkiewicz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d8b0000'), "author_name"=>"Abner Okuneva II", "content"=>["Placeat repudiandae repellendus. Molestiae molestias repellat eveniet natus. Quia non consequatur ad minus laboriosam enim."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d8c0000'), "author_name"=>"Roscoe Lowe II", "content"=>["Voluptatem dolor enim aliquam officia. Eaque veniam rerum placeat sit. Aspernatur velit eum non dolores. Consequatur deleniti qui. Magnam quae blanditiis quo iste numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53144668773533138d8d0000", "comment_id"=>"53144668773533138d8b0000", "id"=>"53144668773533138d8c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d900000'), "name"=>"Abraham O'Hara Jr.", "reference"=>"Roslyn Denesik", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d8e0000'), "author_name"=>"Amie Bogan", "content"=>["Reiciendis quae commodi laborum. Dolorem at distinctio ab eveniet sed. Aspernatur quos quasi quis enim non. Voluptates distinctio culpa."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d8f0000'), "author_name"=>"Alivia Labadie", "content"=>["Aut nostrum error tempore necessitatibus. Quasi beatae excepturi aut mollitia. Perferendis eaque eos ut et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53144668773533138d900000", "comment_id"=>"53144668773533138d8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (40.4ms) Completed 500 Internal Server Error in 44ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d940000'), "name"=>"Madisyn Wunsch", "reference"=>"Kevon Schmitt", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d920000'), "author_name"=>"Britney Barrows", "content"=>["Voluptate saepe voluptas vel voluptatem voluptatem. Deserunt optio quis. Aut deserunt voluptatem ut quis. Perspiciatis consequuntur hic commodi. Ab cumque enim consectetur perspiciatis vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d930000'), "author_name"=>"Miss Griffin Brakus", "content"=>["Qui distinctio corporis aut id. Quos quia saepe enim dolore quidem. Quibusdam recusandae dicta explicabo impedit nesciunt et modi. Consectetur recusandae explicabo. Laboriosam ut omnis commodi delectus nisi architecto voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53144668773533138d940000", "comment_id"=>"53144668773533138d920000", "id"=>"53144668773533138d930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 500 Internal Server Error in 77ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53144668773533138d970000'), "name"=>"Kamryn Farrell", "reference"=>"Shanon Crooks", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d950000'), "author_name"=>"Mr. Providenci Wunsch", "content"=>["Earum nihil tempora delectus eos illum quos. Illo quo ut id vel sit cum sit. Id qui illo quam. Ipsum nam aliquid magnam laudantium placeat."], "comments"=>[{"_id"=>BSON::ObjectId('53144668773533138d960000'), "author_name"=>"Shanel O'Kon DVM", "content"=>["Molestiae sit quasi harum laborum. Quaerat voluptatibus laudantium quisquam. Veritatis nobis est culpa doloremque aut voluptas repellat. Veritatis fugit quisquam vel aut unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53144668773533138d960000", "product_id"=>"53144668773533138d970000", "comment_id"=>"53144668773533138d950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53144668773533138d970000')} 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('53144668773533138d970000'), "comments._id"=>BSON::ObjectId('53144668773533138d950000'), "comments.0.comments._id"=>BSON::ObjectId('53144668773533138d960000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Completed 500 Internal Server Error in 9ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144668773533138d980000'), "firstname"=>"Bethel", "lastname"=>"Baumbach"}] 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.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('53144668773533138d990000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Redirected to http://test.host/users/53144668773533138d990000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2023ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144668773533138d9a0000'), "firstname"=>"Joshua", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms 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"=>"53144668773533138d9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144668773533138d9a0000')} 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('53144668773533138d9a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms 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('53144668773533138d9b0000'), "firstname"=>"Ottilie", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53144668773533138d9b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144668773533138d9b0000')} 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.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('53144668773533138d9c0000'), "firstname"=>"Malachi", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms 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.3528ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144668773533138d9d0000'), "firstname"=>"Araceli", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0438ms 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: 3.9ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53144668773533138d9e0000'), "firstname"=>"Turner", "lastname"=>"Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by UsersController#show as HTML Parameters: {"id"=>"53144668773533138d9e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144668773533138d9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms 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('53144668773533138d9f0000'), "firstname"=>"Della", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53144668773533138d9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53144668773533138d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Unpermitted parameters: name Redirected to http://test.host/users/53144668773533138d9f0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms 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.3137ms 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.3474ms 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.3011ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468577353313b8000000'), "firstname"=>"Janet", "lastname"=>"Wintheiser"}] 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=>"administrators", :query=>{}} runtime: 0.2274ms 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('5314468577353313b8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms 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.2441ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468577353313b8020000'), "firstname"=>"Javon", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5314468577353313b8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468577353313b8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468577353313b8030000'), "firstname"=>"Isidro", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms 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: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468577353313b8040000'), "firstname"=>"Skye", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5314468577353313b8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468577353313b8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468577353313b8050000'), "firstname"=>"Jacynthe", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5314468577353313b8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468577353313b8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms 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('5314468577353313b8060000'), "name"=>"Florence Daniel I", "reference"=>"Jeremy Rodriguez", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b8070000'), "author_name"=>"Wendy Conn", "content"=>["Quasi libero non aut accusamus est minima. Aut architecto tempora consequatur sed numquam. Reiciendis accusamus modi temporibus fugit aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314468577353313b8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314468577353313b8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Redirected to http://test.host/admin/products/5314468577353313b8060000/comments/5314468577353313b8080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b8090000'), "name"=>"Anastasia Mraz", "reference"=>"Aubrey Kuphal", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b80a0000'), "author_name"=>"Reginald McLaughlin", "content"=>["Beatae voluptatem qui ex. Nisi dolorem nihil recusandae. Voluptatem praesentium nihil quia sunt. Eligendi est est occaecati sequi. Dolores illo laboriosam quia laudantium velit natus sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5314468577353313b8090000", "id"=>"5314468577353313b80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314468577353313b80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Redirected to http://test.host/admin/products/5314468577353313b8090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b80b0000'), "name"=>"Leland Balistreri", "reference"=>"Kallie Kling PhD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b80c0000'), "author_name"=>"Roberta Purdy", "content"=>["Dignissimos sed rem. Et quos dicta. Quia aliquam illo minima exercitationem qui quia. Voluptates culpa consectetur velit. Voluptas sed nulla minus qui doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314468577353313b80b0000", "id"=>"5314468577353313b80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b80b0000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b80d0000'), "name"=>"Eino Mann", "reference"=>"Sandrine O'Conner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b80e0000'), "author_name"=>"Ida Lueilwitz", "content"=>["Voluptas voluptatibus libero aliquid ut fugit et accusantium. Est est vel odit ut ea itaque optio. Laboriosam non iure sint numquam maxime eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314468577353313b80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b80f0000'), "name"=>"Ramon Hoeger II", "reference"=>"Elissa Prohaska DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b8100000'), "author_name"=>"Grayson Kovacek", "content"=>["Quod ea velit nihil facere veniam quos rerum. Maiores et vero mollitia expedita eum atque illo. Dolor est voluptas voluptatem sapiente et ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314468577353313b80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b80f0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b8110000'), "name"=>"Jarret Pacocha", "reference"=>"Brianne Nikolaus II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b8120000'), "author_name"=>"Jessika Renner", "content"=>["Blanditiis aut consequatur. Porro nisi optio sint eum omnis autem. Quo et sed nihil expedita sit tenetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314468577353313b8110000", "id"=>"5314468577353313b8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468577353313b8130000'), "name"=>"Mariela Weber", "reference"=>"Deondre Senger III", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314468577353313b8140000'), "author_name"=>"Carli Mann", "content"=>["Consequatur cupiditate sint ut itaque dignissimos ut. Sed reprehenderit nesciunt. Eos alias quibusdam minima autem porro. Quo sapiente doloribus esse amet voluptatibus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3191ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314468577353313b8140000", "product_id"=>"5314468577353313b8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8130000')} 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('5314468577353313b8130000'), "comments._id"=>BSON::ObjectId('5314468577353313b8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms Redirected to http://test.host/admin/products/5314468577353313b8130000/comments/5314468577353313b8140000 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('5314468577353313b8150000'), "name"=>"Thomas Mertz", "reference"=>"Syble Rempel", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5314468577353313b8160000'), "firstname"=>"Madyson", "lastname"=>"Hermiston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314468577353313b8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3655ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314468577353313b8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms Redirected to http://test.host/admin/products/5314468577353313b8150000/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('5314468577353313b8180000'), "name"=>"Israel Batz Sr.", "reference"=>"Amber King", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314468577353313b8190000'), "firstname"=>"Jerrell", "lastname"=>"Willms"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314468577353313b8190000", "product_id"=>"5314468577353313b8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468577353313b8180000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b81a0000'), "name"=>"Zelma Goldner", "reference"=>"Carrie Mayert V", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b81b0000'), "firstname"=>"Chelsea", "lastname"=>"Kuhlman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5337ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314468677353313b81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b81c0000'), "name"=>"Tia Gutmann", "reference"=>"Daniella Gusikowski", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b81d0000'), "firstname"=>"Sim", "lastname"=>"Thiel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314468677353313b81d0000", "product_id"=>"5314468677353313b81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b81e0000'), "name"=>"Jalen Botsford", "reference"=>"Elta White", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b81f0000'), "firstname"=>"Carolina", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7477ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314468677353313b81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314468677353313b81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5314468677353313b81e0000/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('5314468677353313b8200000'), "name"=>"Elinore Langworth", "reference"=>"Baron Haley DDS", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.2013ms 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('5314468677353313b8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/admin/products/5314468677353313b8210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1876ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8220000'), "name"=>"Alexandro Mertz III", "reference"=>"Darron Reynolds", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1755ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314468677353313b8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms 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.1797ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8230000'), "name"=>"Kelvin Gaylord", "reference"=>"Anthony Swaniawski", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314468677353313b8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8240000'), "name"=>"Tyrese Runte", "reference"=>"Jany Vandervort", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms 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.5029ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8250000'), "name"=>"Florida Spinka", "reference"=>"Wyman Torp", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms 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: 5.1ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8280000'), "name"=>"Krista McGlynn", "reference"=>"Mrs. Jarvis Farrell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314468677353313b8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms 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('5314468677353313b8290000'), "name"=>"Ms. Billy Gerhold", "reference"=>"Marietta Walsh", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314468677353313b8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Redirected to http://test.host/admin/products/5314468677353313b8290000 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('5314468677353313b82a0000'), "firstname"=>"Cordell", "lastname"=>"Lehner"}] 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.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('5314468677353313b82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0481ms Redirected to http://test.host/admin/users/5314468677353313b82b0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2537ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468677353313b82c0000'), "firstname"=>"Jalen", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1939ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5314468677353313b82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468677353313b82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468677353313b82c0000')} 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.1962ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468677353313b82d0000'), "firstname"=>"Gabriel", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314468677353313b82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468677353313b82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms 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('5314468677353313b82e0000'), "firstname"=>"Madelyn", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms 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.3768ms Completed 200 OK in 40ms (Views: 39.4ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468677353313b82f0000'), "firstname"=>"Cassandra", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) 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('5314468677353313b8300000'), "firstname"=>"Reina", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314468677353313b8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468677353313b8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms 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('5314468677353313b8310000'), "firstname"=>"Deven", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314468677353313b8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468677353313b8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5314468677353313b8310000 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('5314468677353313b8320000'), "firstname"=>"Myrtle", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2175ms 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('5314468677353313b8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms 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.2056ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468677353313b8340000'), "firstname"=>"Austin", "lastname"=>"Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314468677353313b8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468677353313b8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468677353313b8350000'), "firstname"=>"Roger", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3648ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468677353313b8360000'), "firstname"=>"Orpha", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5314468677353313b8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468677353313b8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314468677353313b8370000'), "firstname"=>"Edgardo", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5314468677353313b8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314468677353313b8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms 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('5314468677353313b8380000'), "name"=>"Clyde Tromp I", "reference"=>"Jasmin Nicolas", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8390000'), "author_name"=>"Iva McCullough", "content"=>["Maxime nihil voluptatem repellat quia illo rerum quidem. Quia accusamus fugit. Repellendus sed vero fugiat. Sint blanditiis voluptatem quo laboriosam aut doloremque omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314468677353313b8380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314468677353313b83a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Redirected to http://test.host/products/5314468677353313b8380000/comments/5314468677353313b83a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b83b0000'), "name"=>"Ashley Robel", "reference"=>"Celine Spencer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b83c0000'), "author_name"=>"Mrs. Lafayette Wyman", "content"=>["Qui accusantium cum reprehenderit illo. Facilis corporis et temporibus dolorem. Ut ut nostrum odio voluptas velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314468677353313b83b0000", "id"=>"5314468677353313b83c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b83b0000')} 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('5314468677353313b83b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314468677353313b83c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Redirected to http://test.host/products/5314468677353313b83b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b83d0000'), "name"=>"Rodrigo Hudson", "reference"=>"Wilburn Ankunding", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b83e0000'), "author_name"=>"Meagan Gorczany IV", "content"=>["Ex quo impedit sint alias repellat id. Possimus qui soluta perferendis atque facilis amet adipisci. Doloribus impedit nisi. Voluptas debitis non repellat voluptatem vel et laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314468677353313b83d0000", "id"=>"5314468677353313b83e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b83f0000'), "name"=>"Mrs. Ewald Jast", "reference"=>"Kevin Dicki", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8400000'), "author_name"=>"Eleanora Spinka", "content"=>["Et placeat aut nihil ex. At labore molestias rerum. Provident nobis reprehenderit accusantium voluptate sunt rem. Quisquam aut officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5314468677353313b83f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8410000'), "name"=>"Jevon Braun MD", "reference"=>"Devan Grant", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8420000'), "author_name"=>"Jayce Sipes", "content"=>["Quas ratione temporibus. Repellendus odio ab. Fugiat debitis dolores quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5314468677353313b8410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8430000'), "name"=>"Juston Hirthe PhD", "reference"=>"Hiram Dickinson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8440000'), "author_name"=>"Sydnie Greenfelder", "content"=>["Dolore rem voluptatum. Tempore culpa et ut voluptates quisquam error delectus. Dolor illum similique facilis dolor ut perferendis omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5314468677353313b8430000", "id"=>"5314468677353313b8440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8450000'), "name"=>"Lambert Franecki I", "reference"=>"Trace Deckow", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8460000'), "author_name"=>"Brandyn Hartmann V", "content"=>["Recusandae excepturi quod repudiandae nisi dolores. Adipisci minima assumenda consectetur. Sed dolore earum nam nihil aperiam. Omnis odio ipsum adipisci voluptatum aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5314468677353313b8450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8470000'), "name"=>"Shyanne Altenwerth", "reference"=>"Merritt Raynor", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8480000'), "author_name"=>"Audrey Erdman", "content"=>["Nisi aut voluptatem vitae. Ut non quaerat enim sint ab delectus odit. Quisquam cumque consequuntur amet vel dignissimos voluptatem. Aperiam voluptatem voluptas non repellendus velit aspernatur et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314468677353313b8470000", "id"=>"5314468677353313b8480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms Completed 200 OK in 31ms (Views: 29.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8490000'), "name"=>"Estell Monahan", "reference"=>"Malika Batz Sr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b84a0000'), "author_name"=>"Colten Dibbert", "content"=>["Dolores exercitationem cumque. Iure nisi quisquam nemo occaecati eligendi nihil. Et odit aut cumque quae est ratione nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314468677353313b84a0000", "product_id"=>"5314468677353313b8490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8490000'), "comments._id"=>BSON::ObjectId('5314468677353313b84a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms Redirected to http://test.host/products/5314468677353313b8490000/comments/5314468677353313b84a0000 Completed 302 Found in 40ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b84b0000'), "firstname"=>"Emmett", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms 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('5314468677353313b84c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Redirected to http://test.host/admin/clients/5314468677353313b84c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1997ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b84d0000'), "firstname"=>"Irving", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1814ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314468677353313b84d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b84d0000')} 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('5314468677353313b84d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms 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.1766ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b84e0000'), "firstname"=>"Alyson", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8870ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314468677353313b84e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('5314468677353313b84f0000'), "firstname"=>"Nona", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms 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('5314468677353313b8500000'), "firstname"=>"Norma", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8510000'), "firstname"=>"Trisha", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314468677353313b8510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms 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('5314468677353313b8520000'), "firstname"=>"Ayla", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314468677353313b8520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms Redirected to http://test.host/admin/clients/5314468677353313b8520000 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('5314468677353313b8530000'), "firstname"=>"Andrew", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1709ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms Redirected to http://test.host/clients/5314468677353313b8540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1728ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8550000'), "firstname"=>"Boris", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1586ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314468677353313b8550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms 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.1666ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8560000'), "firstname"=>"Reese", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314468677353313b8560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms 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('5314468677353313b8570000'), "firstname"=>"Kaela", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8580000'), "firstname"=>"Federico", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b8590000'), "firstname"=>"Spencer", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314468677353313b8590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Completed 200 OK in 6ms (Views: 2.5ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314468677353313b85a0000'), "firstname"=>"Elliott", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314468677353313b85a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314468677353313b85a0000')} 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('5314468677353313b85a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms Redirected to http://test.host/clients/5314468677353313b85a0000 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('5314468677353313b85b0000'), "name"=>"Erica Pfannerstill PhD", "reference"=>"Alyson Bins", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b85c0000'), "firstname"=>"Micah", "lastname"=>"Durgan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314468677353313b85b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b85b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b85b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314468677353313b85d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms Redirected to http://test.host/products/5314468677353313b85b0000/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('5314468677353313b85e0000'), "name"=>"Bridie Schmitt", "reference"=>"Jameson McDermott", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b85f0000'), "firstname"=>"Brenna", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5314468677353313b85f0000", "product_id"=>"5314468677353313b85e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8600000'), "name"=>"Paul Kuhic", "reference"=>"Josefina Hilpert", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b8610000'), "firstname"=>"Lloyd", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5314468677353313b8600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8620000'), "name"=>"Osbaldo Pouros", "reference"=>"Gerda Beatty", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b8630000'), "firstname"=>"Damaris", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5314468677353313b8630000", "product_id"=>"5314468677353313b8620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8640000'), "name"=>"Alysson Wiza", "reference"=>"Lexie Legros", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314468677353313b8650000'), "firstname"=>"Darryl", "lastname"=>"Jacobi"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5314468677353313b8650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314468677353313b8640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Unpermitted parameters: name Redirected to http://test.host/products/5314468677353313b8640000/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('5314468677353313b8660000'), "name"=>"Norwood Klocko", "reference"=>"Prince Corkery", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1949ms 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('5314468677353313b8670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Redirected to http://test.host/products/5314468677353313b8670000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8680000'), "name"=>"Mr. Amos Walter", "reference"=>"Tristin Mueller", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0516ms 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"=>"5314468677353313b8680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms 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.2265ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8690000'), "name"=>"Lelia Flatley MD", "reference"=>"Mrs. Stone Watsica", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314468677353313b8690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 9ms (Views: 7.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b86a0000'), "name"=>"Emely Weimann", "reference"=>"Ms. Caleb Runolfsson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms 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.7622ms Completed 200 OK in 49ms (Views: 48.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b86b0000'), "name"=>"Mrs. Louvenia Prosacco", "reference"=>"Roy Hodkiewicz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms 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.8408ms 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('5314468677353313b86c0000'), "name"=>"Effie Wyman", "reference"=>"Leila Rogahn Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5314468677353313b86c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b86c0000')} 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('5314468677353313b86d0000'), "name"=>"Antonia Schowalter", "reference"=>"Miss Forest Hermiston", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms 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.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b86f0000'), "name"=>"Landen Fay", "reference"=>"Vladimir Auer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5314468677353313b86f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8700000'), "name"=>"Elmira Torp", "reference"=>"Dr. Markus Jacobs", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1963ms 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('5314468677353313b8710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1940ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8720000'), "name"=>"Carmelo Lakin", "reference"=>"Miss Nolan Padberg", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5314468677353313b8720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8720000')} 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('5314468677353313b8730000'), "name"=>"Fredy Dickinson", "reference"=>"Ms. Jimmy Abbott", "quantity"=>"5"}] 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('5314468677353313b8750000'), "name"=>"Caleigh Corkery", "reference"=>"Miss Imani Christiansen", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314468677353313b8750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8750000')} 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('5314468677353313b8750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms 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('5314468677353313b8760000'), "name"=>"Berta Conn", "reference"=>"Cooper Kuhn", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314468677353313b8760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Redirected to http://test.host/products/5314468677353313b8760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8790000'), "name"=>"Collin Toy", "reference"=>"Lauren Kunde", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8770000'), "author_name"=>"Jammie Oberbrunner", "content"=>["Sequi aut optio aut non ut quo. Eos sit nam possimus cum sequi. Et rerum amet occaecati perspiciatis et. Laboriosam nemo quo voluptates officia qui. Eos velit ut esse est."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8780000'), "author_name"=>"Issac Weissnat", "content"=>["Aut sed nisi necessitatibus. Tempore voluptatem voluptatem quos enim. Ea consectetur quos et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314468677353313b8790000", "comment_id"=>"5314468677353313b8770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8790000')} 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('5314468677353313b8790000'), "comments._id"=>BSON::ObjectId('5314468677353313b8770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314468677353313b87a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms Redirected to http://test.host/products/5314468677353313b8790000/comments/5314468677353313b8770000/comments/5314468677353313b87a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b87d0000'), "name"=>"Mr. Afton Wuckert", "reference"=>"Mary Strosin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b87b0000'), "author_name"=>"Dudley Gorczany", "content"=>["Ea nulla sequi. Eligendi et eius et mollitia. Officiis consequatur quos occaecati tenetur architecto aut."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b87c0000'), "author_name"=>"Kiel Johnston", "content"=>["Voluptatem harum dolores sit eaque. Voluptates libero eveniet laborum ab. Earum labore repellat magni ex itaque similique. Laborum blanditiis enim eaque molestiae doloremque a qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5314468677353313b87d0000", "comment_id"=>"5314468677353313b87b0000", "id"=>"5314468677353313b87c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b87d0000'), "comments._id"=>BSON::ObjectId('5314468677353313b87b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314468677353313b87c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Redirected to http://test.host/products/5314468677353313b87d0000/comments/5314468677353313b87b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8800000'), "name"=>"Cydney Vandervort", "reference"=>"Alice Stoltenberg", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b87e0000'), "author_name"=>"Valentin Metz", "content"=>["Error deserunt suscipit ut quo ut optio voluptate. Nam consectetur qui et reprehenderit ut. Sint et repellat."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b87f0000'), "author_name"=>"Chesley Spencer", "content"=>["Enim dicta minus recusandae provident rerum harum ratione. Dolores pariatur veniam. Adipisci qui quod. Eaque atque qui vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5314468677353313b8800000", "comment_id"=>"5314468677353313b87e0000", "id"=>"5314468677353313b87f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8800000')} 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.7ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8830000'), "name"=>"Wilford Heller", "reference"=>"Jeffry O'Hara", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8810000'), "author_name"=>"Ms. Maudie Wisozk", "content"=>["Quod porro fuga odit asperiores. Laudantium qui occaecati quisquam magnam facere voluptas. Provident eaque deleniti ullam dolorem eos temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8820000'), "author_name"=>"Arvel Dickens MD", "content"=>["Dolorum aliquam laboriosam est tenetur voluptatum. Eius recusandae dolorem. Sit quia aut unde impedit. Ea omnis alias officia explicabo vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5314468677353313b8830000", "comment_id"=>"5314468677353313b8810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8860000'), "name"=>"Oren Mueller", "reference"=>"Hester Lind III", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8840000'), "author_name"=>"Melyssa Ryan", "content"=>["Vel deleniti architecto illo est. Vel aut eaque. Quidem sunt dolore sint qui sed est nostrum. Omnis delectus quam. Quia vel ratione sequi et."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8850000'), "author_name"=>"Ahmed Rutherford", "content"=>["Rerum id qui velit rerum est. Quia ullam doloremque deserunt enim dolore consequatur neque. Culpa ea ut possimus atque. Modi perferendis quo soluta repellat. Consequuntur et dolorem aliquam qui occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314468677353313b8860000", "comment_id"=>"5314468677353313b8840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b8890000'), "name"=>"Valerie Fay", "reference"=>"Aliya Walsh", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8870000'), "author_name"=>"Garett Boyer", "content"=>["Quisquam quia doloremque architecto quod porro quam nostrum. Ratione aperiam in commodi sunt necessitatibus. Voluptatem omnis quia labore et. Voluptatem dignissimos ea est non libero."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b8880000'), "author_name"=>"Allene Bechtelar", "content"=>["Est expedita maxime fugit perspiciatis. Eum et officia sit asperiores expedita perferendis amet. Laboriosam unde qui perferendis est adipisci. Laborum sint provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314468677353313b8890000", "comment_id"=>"5314468677353313b8870000", "id"=>"5314468677353313b8880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468677353313b88c0000'), "name"=>"Raoul Hills", "reference"=>"Emmie Glover", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b88a0000'), "author_name"=>"Lisette Pagac Jr.", "content"=>["Alias voluptatem recusandae saepe est ut. Consequuntur non quia hic explicabo quis. Sit voluptate eaque aut architecto qui. Dolores ex sed laborum. Voluptatibus aut vero enim placeat perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('5314468677353313b88b0000'), "author_name"=>"Dr. Yesenia Konopelski", "content"=>["Ullam totam sunt distinctio maiores quo ab. Libero error ea cupiditate atque. Eligendi cumque sed qui aut sapiente autem inventore. Est ut et id autem. Corporis quo architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5314468677353313b88c0000", "comment_id"=>"5314468677353313b88a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468677353313b88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468777353313b88f0000'), "name"=>"Kevon Price", "reference"=>"Ms. Jasen Dooley", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314468777353313b88d0000'), "author_name"=>"Clifton Mayer III", "content"=>["Inventore sunt incidunt vel. Quia culpa magnam eius consectetur sequi nemo quidem. Atque debitis consequatur quam laboriosam et et."], "comments"=>[{"_id"=>BSON::ObjectId('5314468777353313b88e0000'), "author_name"=>"Ms. Furman Jacobi", "content"=>["Voluptatem consequatur quas sit et. Nesciunt laboriosam et. Molestiae non porro nihil eaque dolore. Esse reiciendis consequatur. Autem aperiam aut veritatis rerum qui quae tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5314468777353313b88f0000", "comment_id"=>"5314468777353313b88d0000", "id"=>"5314468777353313b88e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468777353313b88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314468777353313b8920000'), "name"=>"Mrs. Oran Lindgren", "reference"=>"Zoe Keebler MD", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314468777353313b8900000'), "author_name"=>"Mrs. Freeman Hane", "content"=>["Asperiores quasi sunt tempore alias dicta. Reiciendis necessitatibus aut fuga repellendus. Omnis dignissimos maiores."], "comments"=>[{"_id"=>BSON::ObjectId('5314468777353313b8910000'), "author_name"=>"Dr. Ada Collier", "content"=>["Voluptas aliquid quae eligendi et quis sint. Et est quo. Nihil laudantium quas illo vitae. Perspiciatis veniam saepe nemo asperiores iste non iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314468777353313b8910000", "product_id"=>"5314468777353313b8920000", "comment_id"=>"5314468777353313b8900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468777353313b8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314468777353313b8920000'), "comments._id"=>BSON::ObjectId('5314468777353313b8900000'), "comments.0.comments._id"=>BSON::ObjectId('5314468777353313b8910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms Redirected to http://test.host/products/5314468777353313b8920000/comments/5314468777353313b8900000/comments/5314468777353313b8910000 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('5314468777353313b8930000'), "firstname"=>"Tod", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2371ms 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('5314468777353313b8940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms Redirected to http://test.host/users/5314468777353313b8940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2187ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468777353313b8950000'), "firstname"=>"Lurline", "lastname"=>"Larkin"}] 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=>"admin_users", :query=>{}} runtime: 0.1760ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314468777353313b8950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468777353313b8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468777353313b8950000')} 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.1915ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468777353313b8960000'), "firstname"=>"Leslie", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314468777353313b8960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468777353313b8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('5314468777353313b8970000'), "firstname"=>"Odessa", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms 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.3485ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468777353313b8980000'), "firstname"=>"Georgiana", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms 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: 3.9ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314468777353313b8990000'), "firstname"=>"Jackson", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314468777353313b8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468777353313b8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms 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('5314468777353313b89a0000'), "firstname"=>"Amani", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314468777353313b89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314468777353313b89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Unpermitted parameters: name Redirected to http://test.host/users/5314468777353313b89a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms 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.3176ms 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.3390ms 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.3325ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469d773533145c000000'), "firstname"=>"Verner", "lastname"=>"Durgan"}] 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=>"administrators", :query=>{}} runtime: 0.2857ms 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('5314469d773533145c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms 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.2620ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469d773533145c020000'), "firstname"=>"Ettie", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5314469d773533145c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469d773533145c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 22ms (Views: 20.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469d773533145c030000'), "firstname"=>"Wilfredo", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.9339ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.2ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469d773533145c040000'), "firstname"=>"Stacy", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5314469d773533145c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469d773533145c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469d773533145c050000'), "firstname"=>"Taylor", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5314469d773533145c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469d773533145c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms 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('5314469e773533145c060000'), "name"=>"Giles Upton V", "reference"=>"Freda Hirthe", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c070000'), "author_name"=>"Catalina Weissnat DDS", "content"=>["Id expedita voluptate non. Fugit hic qui commodi rerum harum iste. Qui saepe commodi voluptatem recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314469e773533145c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314469e773533145c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Redirected to http://test.host/admin/products/5314469e773533145c060000/comments/5314469e773533145c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c090000'), "name"=>"Hillard Cummerata Jr.", "reference"=>"Kay Senger", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c0a0000'), "author_name"=>"Ms. Francesca Von", "content"=>["Aspernatur maiores aut qui quis impedit. Optio repellendus labore sunt nesciunt consectetur sit. Quibusdam suscipit aliquid et illum. In quis aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5314469e773533145c090000", "id"=>"5314469e773533145c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c090000')} 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('5314469e773533145c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314469e773533145c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms Redirected to http://test.host/admin/products/5314469e773533145c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c0b0000'), "name"=>"Braxton Reichel", "reference"=>"Julius Vandervort", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c0c0000'), "author_name"=>"Marcus Thiel", "content"=>["Dolorem qui autem voluptatibus reprehenderit. Aut repellendus dolores. Aliquid est cum vel et distinctio sit numquam. Repellendus alias aut nam magni hic corporis possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5707ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314469e773533145c0b0000", "id"=>"5314469e773533145c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c0b0000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c0d0000'), "name"=>"Douglas Abshire", "reference"=>"Orrin Rutherford V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c0e0000'), "author_name"=>"Lilly Bartoletti MD", "content"=>["Ut a est officia voluptatem. Aut sunt neque labore fugiat est. Aut impedit sapiente repellendus quia ea alias. Sint quis harum ea. Non nesciunt hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314469e773533145c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c0f0000'), "name"=>"Mr. Bette Shields", "reference"=>"Sydnee Hettinger", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c100000'), "author_name"=>"Ms. Nikko Connelly", "content"=>["Nesciunt exercitationem voluptatem. Laborum nihil quam dolores explicabo ea. Vitae porro sed aut debitis ratione. Sequi deleniti modi ducimus rem totam dicta quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314469e773533145c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c110000'), "name"=>"Maximo Senger", "reference"=>"Henderson Wyman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c120000'), "author_name"=>"Michel VonRueden", "content"=>["Tempore quasi ut fugit reiciendis sint sunt. Et et autem occaecati nulla cumque aut praesentium. Tenetur at commodi corporis nihil facilis. Minima est aut vel consequatur eveniet delectus quisquam. Molestiae ad voluptatem laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314469e773533145c110000", "id"=>"5314469e773533145c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c130000'), "name"=>"Edwardo Kozey DDS", "reference"=>"Thaddeus Stamm", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c140000'), "author_name"=>"Jaquelin Ortiz", "content"=>["Aliquid doloremque ullam quas blanditiis consequatur qui. Magnam laudantium sit eaque asperiores. Dignissimos aut dolor. Sapiente officiis autem et nam reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314469e773533145c140000", "product_id"=>"5314469e773533145c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c130000'), "comments._id"=>BSON::ObjectId('5314469e773533145c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Redirected to http://test.host/admin/products/5314469e773533145c130000/comments/5314469e773533145c140000 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('5314469e773533145c150000'), "name"=>"Lonny Ullrich", "reference"=>"Erick Stanton", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c160000'), "firstname"=>"Bo", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314469e773533145c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms Redirected to http://test.host/admin/products/5314469e773533145c150000/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('5314469e773533145c180000'), "name"=>"Anastacio Labadie DVM", "reference"=>"Marilou Stiedemann", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c190000'), "firstname"=>"Cathryn", "lastname"=>"Prohaska"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314469e773533145c190000", "product_id"=>"5314469e773533145c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c1a0000'), "name"=>"Mrs. Phyllis Effertz", "reference"=>"Tom Goyette", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c1b0000'), "firstname"=>"Clemens", "lastname"=>"Rath"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314469e773533145c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 38ms (Views: 36.2ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c1c0000'), "name"=>"Geovanny Kutch", "reference"=>"Winifred Torp", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c1d0000'), "firstname"=>"Naomie", "lastname"=>"Christiansen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314469e773533145c1d0000", "product_id"=>"5314469e773533145c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c1e0000'), "name"=>"Jameson Satterfield", "reference"=>"Verla Bechtelar Sr.", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c1f0000'), "firstname"=>"Robin", "lastname"=>"Witting"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314469e773533145c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314469e773533145c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5314469e773533145c1e0000/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('5314469e773533145c200000'), "name"=>"Brandi Pfeffer", "reference"=>"Mrs. Kailyn Orn", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms 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('5314469e773533145c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Redirected to http://test.host/admin/products/5314469e773533145c210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1893ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c220000'), "name"=>"Melyna Lebsack", "reference"=>"Mrs. Bailee Weissnat", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1752ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314469e773533145c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c230000'), "name"=>"Rosetta Lynch Jr.", "reference"=>"Amara McKenzie", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314469e773533145c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c230000')} 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.6ms) Completed 200 OK in 9ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c240000'), "name"=>"Eleazar Romaguera", "reference"=>"Damian O'Connell II", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms 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.5042ms Completed 200 OK in 12ms (Views: 11.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c250000'), "name"=>"Ena Armstrong", "reference"=>"Fletcher Witting", "quantity"=>"4"}] 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 (3.0ms) Completed 200 OK in 22ms (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('5314469e773533145c280000'), "name"=>"Juwan Waters", "reference"=>"Murphy Reinger", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314469e773533145c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms 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('5314469e773533145c290000'), "name"=>"Natalia Ebert", "reference"=>"Dr. Janae Johnson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314469e773533145c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms Redirected to http://test.host/admin/products/5314469e773533145c290000 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('5314469e773533145c2a0000'), "firstname"=>"Sterling", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1703ms 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('5314469e773533145c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms Redirected to http://test.host/admin/users/5314469e773533145c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1721ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469e773533145c2c0000'), "firstname"=>"Noel", "lastname"=>"Bogan"}] 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=>"admin_users", :query=>{}} runtime: 0.1525ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5314469e773533145c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469e773533145c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469e773533145c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms 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.1507ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469e773533145c2d0000'), "firstname"=>"Amya", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314469e773533145c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469e773533145c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) 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('5314469e773533145c2e0000'), "firstname"=>"Myrl", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms 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.2818ms 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('5314469e773533145c2f0000'), "firstname"=>"Maxie", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 6.9ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469e773533145c300000'), "firstname"=>"Kirk", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3027ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314469e773533145c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469e773533145c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms 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('5314469e773533145c310000'), "firstname"=>"Taya", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314469e773533145c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469e773533145c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5314469e773533145c310000 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('5314469e773533145c320000'), "firstname"=>"Danny", "lastname"=>"Wisozk"}] 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=>"administrators", :query=>{}} runtime: 0.2614ms 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('5314469e773533145c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms 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.2445ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469e773533145c340000'), "firstname"=>"Maryjane", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314469e773533145c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469e773533145c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469e773533145c350000'), "firstname"=>"Sadye", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms 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: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469e773533145c360000'), "firstname"=>"Columbus", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5314469e773533145c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469e773533145c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314469e773533145c370000'), "firstname"=>"Kaleb", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5314469e773533145c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314469e773533145c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms 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('5314469e773533145c380000'), "name"=>"Ms. Heber Weimann", "reference"=>"Ray Littel", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c390000'), "author_name"=>"Myles Stanton", "content"=>["Alias sed error. Nulla quae excepturi magnam dolores. Qui doloribus in non facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314469e773533145c380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314469e773533145c3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Redirected to http://test.host/products/5314469e773533145c380000/comments/5314469e773533145c3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c3b0000'), "name"=>"Mozelle Friesen", "reference"=>"Geovany White DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c3c0000'), "author_name"=>"Immanuel Lueilwitz IV", "content"=>["Impedit dolorum sequi quod qui vel. Iusto molestiae sint dolore voluptas quaerat ut delectus. Quae ut et earum qui. Placeat amet eos fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314469e773533145c3b0000", "id"=>"5314469e773533145c3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314469e773533145c3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Redirected to http://test.host/products/5314469e773533145c3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3b0000')} 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('5314469e773533145c3d0000'), "name"=>"Vella Carroll", "reference"=>"Noel Pacocha", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c3e0000'), "author_name"=>"Ursula Kessler", "content"=>["Dolores vel et. Rerum ut quasi optio. Aliquid eligendi delectus est velit placeat cupiditate. Eius delectus est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314469e773533145c3d0000", "id"=>"5314469e773533145c3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c3f0000'), "name"=>"Gracie Kassulke", "reference"=>"Barrett Schultz", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c400000'), "author_name"=>"Kiel Schmeler", "content"=>["Sed odio incidunt harum similique maiores. Quasi fugiat minima qui beatae. Ad quia harum unde sed nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5314469e773533145c3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c410000'), "name"=>"Benedict Toy", "reference"=>"Baylee Hoeger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c420000'), "author_name"=>"Vinnie Gulgowski", "content"=>["Ad velit hic est ea. Autem facilis saepe. Excepturi voluptatem id quidem ut. Ut omnis reiciendis deleniti impedit unde. Sit quas necessitatibus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2536ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5314469e773533145c410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c430000'), "name"=>"Dangelo Christiansen", "reference"=>"Kyler O'Conner IV", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c440000'), "author_name"=>"Miss Petra Schmitt", "content"=>["Quis qui iusto culpa et. Molestias voluptates occaecati. Quis voluptatem sapiente consequatur et vel doloribus mollitia. Reprehenderit dolorum facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5314469e773533145c430000", "id"=>"5314469e773533145c440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c450000'), "name"=>"Regan Trantow", "reference"=>"Anna Krajcik", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c460000'), "author_name"=>"Hortense Lowe", "content"=>["Nulla aut labore. Deleniti dignissimos delectus. Et ducimus consequatur repellendus. Sit voluptatem natus doloremque possimus omnis consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5314469e773533145c450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c470000'), "name"=>"Israel Mraz", "reference"=>"Mr. Annalise Weissnat", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c480000'), "author_name"=>"Emilia Jenkins", "content"=>["Est repellendus doloremque omnis excepturi. Et fuga magnam neque libero consequatur. Et distinctio suscipit ut molestias eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314469e773533145c470000", "id"=>"5314469e773533145c480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c490000'), "name"=>"Thea Lakin", "reference"=>"Daron Steuber II", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314469e773533145c4a0000'), "author_name"=>"Aaliyah Casper", "content"=>["Eos est ipsum eligendi in eaque. Eum quisquam debitis omnis. Sunt beatae velit enim earum. Officia nulla et et. Maiores nam dolore voluptas totam sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314469e773533145c4a0000", "product_id"=>"5314469e773533145c490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c490000'), "comments._id"=>BSON::ObjectId('5314469e773533145c4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms Redirected to http://test.host/products/5314469e773533145c490000/comments/5314469e773533145c4a0000 Completed 302 Found in 33ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c4b0000'), "firstname"=>"Hannah", "lastname"=>"Donnelly"}] 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=>"clients", :query=>{}} runtime: 0.2339ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Redirected to http://test.host/admin/clients/5314469e773533145c4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2148ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c4d0000'), "firstname"=>"Quentin", "lastname"=>"MacGyver"}] 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=>"clients", :query=>{}} runtime: 0.2004ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314469e773533145c4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms 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.1979ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c4e0000'), "firstname"=>"Guy", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314469e773533145c4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('5314469e773533145c4f0000'), "firstname"=>"Aidan", "lastname"=>"Cummings"}] 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.2949ms 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('5314469e773533145c500000'), "firstname"=>"Flossie", "lastname"=>"Spencer"}] 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 (2.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c510000'), "firstname"=>"Zora", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314469e773533145c510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms 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('5314469e773533145c520000'), "firstname"=>"Connor", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314469e773533145c520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Redirected to http://test.host/admin/clients/5314469e773533145c520000 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('5314469e773533145c530000'), "firstname"=>"Francesco", "lastname"=>"Jacobi"}] 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.1967ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Redirected to http://test.host/clients/5314469e773533145c540000 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('5314469e773533145c550000'), "firstname"=>"Cornelius", "lastname"=>"Rosenbaum"}] 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.1848ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314469e773533145c550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c550000')} 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.1864ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c560000'), "firstname"=>"Grover", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314469e773533145c560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c570000'), "firstname"=>"Celestine", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms Completed 200 OK in 10ms (Views: 9.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c580000'), "firstname"=>"Raymond", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms 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: 3.9ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c590000'), "firstname"=>"Aurelio", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314469e773533145c590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314469e773533145c5a0000'), "firstname"=>"Tavares", "lastname"=>"Runolfsson"}] 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"=>"5314469e773533145c5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314469e773533145c5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms Redirected to http://test.host/clients/5314469e773533145c5a0000 Completed 302 Found in 39ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c5b0000'), "name"=>"Devin Dibbert", "reference"=>"Miss Juston Glover", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c5c0000'), "firstname"=>"Cicero", "lastname"=>"Hintz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314469e773533145c5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8944ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms Redirected to http://test.host/products/5314469e773533145c5b0000/manager Completed 302 Found in 7ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c5e0000'), "name"=>"Santos Ryan", "reference"=>"Napoleon Gerlach", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c5f0000'), "firstname"=>"Chelsey", "lastname"=>"Runte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5314469e773533145c5f0000", "product_id"=>"5314469e773533145c5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c5e0000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c600000'), "name"=>"Rafaela Nienow", "reference"=>"Consuelo Denesik", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c610000'), "firstname"=>"Breana", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5314469e773533145c600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c600000')} 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.2ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c620000'), "name"=>"Karson Borer I", "reference"=>"Mrs. Erwin Donnelly", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c630000'), "firstname"=>"Briana", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5314469e773533145c630000", "product_id"=>"5314469e773533145c620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c640000'), "name"=>"Miss Stefanie Thompson", "reference"=>"Mr. Misty Bogan", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5314469e773533145c650000'), "firstname"=>"Braxton", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5314469e773533145c650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314469e773533145c640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms Unpermitted parameters: name Redirected to http://test.host/products/5314469e773533145c640000/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('5314469e773533145c660000'), "name"=>"Gust Reynolds Sr.", "reference"=>"Astrid Erdman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2155ms 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('5314469e773533145c670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Redirected to http://test.host/products/5314469e773533145c670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2152ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c680000'), "name"=>"Dino Balistreri", "reference"=>"Kaci Hermann", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.2221ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5314469e773533145c680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c680000')} 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('5314469e773533145c680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms 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.1914ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c690000'), "name"=>"Garnett Zemlak", "reference"=>"Rene VonRueden Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314469e773533145c690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 9ms (Views: 7.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c6a0000'), "name"=>"Jeffery Medhurst", "reference"=>"Mr. Syble Aufderhar", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms 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.7537ms Completed 200 OK in 49ms (Views: 48.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c6b0000'), "name"=>"Conor Rath", "reference"=>"Mr. Richmond Stiedemann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms 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.9614ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469e773533145c6c0000'), "name"=>"Eladio Kerluke", "reference"=>"Valentine Beahan", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5314469e773533145c6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469e773533145c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms 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('5314469e773533145c6d0000'), "name"=>"Garret Fay", "reference"=>"Toney Kuhic V", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.7ms) Completed 200 OK in 43ms (Views: 42.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c6f0000'), "name"=>"Benjamin Orn", "reference"=>"Tyreek Nader", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5314469f773533145c6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c700000'), "name"=>"Nigel Ruecker IV", "reference"=>"Dr. Preston Walker", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2105ms 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('5314469f773533145c710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Completed 201 Created in 3ms (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('5314469f773533145c720000'), "name"=>"Adolph Blick V", "reference"=>"Baby Koss", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5314469f773533145c720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c720000')} 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('5314469f773533145c720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms 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('5314469f773533145c730000'), "name"=>"Jadon Sawayn", "reference"=>"Luna Wunsch I", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3607ms 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('5314469f773533145c750000'), "name"=>"Aida Gulgowski", "reference"=>"Westley Marks", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314469f773533145c750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms 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('5314469f773533145c760000'), "name"=>"Eugene Lind", "reference"=>"Roosevelt Bednar", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314469f773533145c760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms Redirected to http://test.host/products/5314469f773533145c760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c790000'), "name"=>"Erica Mraz DDS", "reference"=>"Laurine Stiedemann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c770000'), "author_name"=>"Ed Mante", "content"=>["Nihil ad ut blanditiis incidunt. Rem aut quod nostrum suscipit voluptas voluptatum. Aut dolor ducimus reprehenderit doloribus. Aliquam ut necessitatibus numquam exercitationem. Dolore quia est numquam exercitationem omnis."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c780000'), "author_name"=>"Ms. Rosario Skiles", "content"=>["Laborum eum quo. Non omnis sunt voluptatem impedit. Ullam maxime perferendis impedit. Officia deleniti nesciunt accusamus excepturi fuga dolor facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314469f773533145c790000", "comment_id"=>"5314469f773533145c770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c790000'), "comments._id"=>BSON::ObjectId('5314469f773533145c770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314469f773533145c7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Redirected to http://test.host/products/5314469f773533145c790000/comments/5314469f773533145c770000/comments/5314469f773533145c7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c7d0000'), "name"=>"Dewayne Huels", "reference"=>"Mr. Rico Sanford", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c7b0000'), "author_name"=>"Dr. Loraine Feil", "content"=>["Sed ipsa quae. Quia in nihil aut consequatur. Rerum ipsa perferendis ex fugiat aliquid non est."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c7c0000'), "author_name"=>"Paolo McCullough", "content"=>["A aut quisquam. Molestiae est consequatur aliquid deserunt delectus. Quaerat et quos qui consequatur adipisci amet rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5314469f773533145c7d0000", "comment_id"=>"5314469f773533145c7b0000", "id"=>"5314469f773533145c7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c7d0000')} 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('5314469f773533145c7d0000'), "comments._id"=>BSON::ObjectId('5314469f773533145c7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314469f773533145c7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Redirected to http://test.host/products/5314469f773533145c7d0000/comments/5314469f773533145c7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c800000'), "name"=>"Miss Tanner Boyer", "reference"=>"Demond Langworth", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c7e0000'), "author_name"=>"Chelsea Upton", "content"=>["Eum quod tempore et commodi nesciunt. Ipsam voluptas dolor similique itaque corrupti nihil. Ut voluptatem sit. Sunt nemo magnam."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c7f0000'), "author_name"=>"Thomas Mraz", "content"=>["Dolores at asperiores maxime. Culpa quibusdam tempore et. Excepturi ut dolores culpa est. Ut numquam odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5314469f773533145c800000", "comment_id"=>"5314469f773533145c7e0000", "id"=>"5314469f773533145c7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c830000'), "name"=>"Keith Goldner V", "reference"=>"Nigel Monahan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c810000'), "author_name"=>"Kelsie Schamberger", "content"=>["Voluptatem enim quos aut. Unde nulla totam placeat. Expedita laborum et. Ipsam dolor aut eum ea laborum sed. Quia illo dolorem explicabo odio ipsum doloremque omnis."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c820000'), "author_name"=>"John Satterfield", "content"=>["Laboriosam quis quos et aliquam ex. Omnis reiciendis pariatur nesciunt. Soluta maiores earum ipsa perspiciatis. Qui iste nostrum. Nulla consequatur et velit et omnis ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5314469f773533145c830000", "comment_id"=>"5314469f773533145c810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c860000'), "name"=>"Aimee Mayer", "reference"=>"Darby Grady", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c840000'), "author_name"=>"Orpha Bartell", "content"=>["Veniam et voluptates laboriosam inventore. Et quia fugit in molestias adipisci. Iusto accusantium nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c850000'), "author_name"=>"Mortimer Wiza", "content"=>["Ab et cupiditate rerum dolorem. Modi sit et nemo recusandae optio minus. Qui totam laudantium ab repellat aut blanditiis nesciunt. Unde dolorum ut fugiat non et. Hic sunt ex et reiciendis vel eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314469f773533145c860000", "comment_id"=>"5314469f773533145c840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c890000'), "name"=>"Louie Quigley", "reference"=>"Tevin Bogan", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c870000'), "author_name"=>"Terrence Robel Sr.", "content"=>["Est ut qui fugiat enim in placeat. Fugit quia iusto natus expedita tempora. Saepe quae dignissimos veniam."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c880000'), "author_name"=>"Walton Schaden", "content"=>["Laudantium perferendis neque. Quo in et. Aliquam voluptas maiores ea quibusdam. Cupiditate et totam sed porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314469f773533145c890000", "comment_id"=>"5314469f773533145c870000", "id"=>"5314469f773533145c880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c8c0000'), "name"=>"Stanford Welch", "reference"=>"Annamarie Tremblay", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c8a0000'), "author_name"=>"Isaiah DuBuque", "content"=>["Id et aut voluptatem. Inventore est aliquid minima. Sed illum incidunt."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c8b0000'), "author_name"=>"Gail Stamm", "content"=>["A sit ipsum possimus voluptas. Mollitia labore autem suscipit ipsam ratione consequatur. Ea rerum quaerat cumque porro. Eius et dolorem voluptate tenetur. Libero repellat perspiciatis nam consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5314469f773533145c8c0000", "comment_id"=>"5314469f773533145c8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.0ms) Completed 200 OK in 34ms (Views: 31.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c8f0000'), "name"=>"Mr. Violette Gislason", "reference"=>"Neha Medhurst", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c8d0000'), "author_name"=>"Lilliana Mosciski", "content"=>["Facilis natus quibusdam tempora quis. Voluptas animi alias ut. Est culpa dolorem quas commodi sit molestias illum. Ut reiciendis nihil iusto itaque officiis quibusdam accusamus."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c8e0000'), "author_name"=>"Marcel Farrell MD", "content"=>["Dolor officiis laudantium fugiat et. Eum porro quibusdam officia quia et. Repellendus quis qui ullam libero earum. Officia ut accusantium est qui veritatis quis nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5314469f773533145c8f0000", "comment_id"=>"5314469f773533145c8d0000", "id"=>"5314469f773533145c8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314469f773533145c920000'), "name"=>"Dr. Erwin Buckridge", "reference"=>"Travis Morissette", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c900000'), "author_name"=>"Conor Sanford", "content"=>["In qui quia dolore sint vel. Sint libero ab a eum et. Deserunt aut iusto libero. Nesciunt esse ut perferendis et. Corrupti sunt vel laudantium."], "comments"=>[{"_id"=>BSON::ObjectId('5314469f773533145c910000'), "author_name"=>"Bailey Funk DDS", "content"=>["Quod id odit exercitationem. Necessitatibus molestiae et porro facilis praesentium quibusdam non. Autem nihil praesentium vel cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314469f773533145c910000", "product_id"=>"5314469f773533145c920000", "comment_id"=>"5314469f773533145c900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314469f773533145c920000')} 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('5314469f773533145c920000'), "comments._id"=>BSON::ObjectId('5314469f773533145c900000'), "comments.0.comments._id"=>BSON::ObjectId('5314469f773533145c910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms Redirected to http://test.host/products/5314469f773533145c920000/comments/5314469f773533145c900000/comments/5314469f773533145c910000 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('5314469f773533145c930000'), "firstname"=>"Tess", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2068ms 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('5314469f773533145c940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Redirected to http://test.host/users/5314469f773533145c940000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469f773533145c950000'), "firstname"=>"Anabel", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1880ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314469f773533145c950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469f773533145c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469f773533145c950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8839ms 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.1824ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469f773533145c960000'), "firstname"=>"Benjamin", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314469f773533145c960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469f773533145c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('5314469f773533145c970000'), "firstname"=>"Opal", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms 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.3149ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314469f773533145c980000'), "firstname"=>"Rusty", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms 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('5314469f773533145c990000'), "firstname"=>"Elinore", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314469f773533145c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469f773533145c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms 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('5314469f773533145c9a0000'), "firstname"=>"Trisha", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314469f773533145c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314469f773533145c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Unpermitted parameters: name Redirected to http://test.host/users/5314469f773533145c9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4106ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6069ms 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.3613ms 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.3832ms 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.3297ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489000000'), "firstname"=>"Abel", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2798ms 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('531446c37735331489010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms 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.2623ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489020000'), "firstname"=>"Sandrine", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"531446c37735331489020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 22ms (Views: 20.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489030000'), "firstname"=>"Arlie", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4757ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489040000'), "firstname"=>"Kennedy", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"531446c37735331489040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489050000'), "firstname"=>"Sincere", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"531446c37735331489050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms 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('531446c37735331489060000'), "name"=>"Miracle Abshire", "reference"=>"Skye Ritchie", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531446c37735331489070000'), "author_name"=>"Janick Hickle", "content"=>["Eum quaerat ratione a aliquam. Et voluptatem non aliquid officia pariatur quia. Sunt vel perferendis sint modi sed odio dicta. Suscipit ad et mollitia quae reprehenderit voluptatem. Voluptate inventore dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531446c37735331489060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('531446c37735331489080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Redirected to http://test.host/admin/products/531446c37735331489060000/comments/531446c37735331489080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489090000'), "name"=>"Taya Koch V", "reference"=>"Mrs. Janessa Cormier", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531446c377353314890a0000'), "author_name"=>"Josephine Cummerata", "content"=>["Ea iste aliquam enim illo et sint. Sunt at quasi molestias non autem praesentium saepe. Id architecto vel adipisci est placeat earum repellendus. Voluptatum excepturi sed sapiente odit dolores perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"531446c37735331489090000", "id"=>"531446c377353314890a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489090000')} 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('531446c37735331489090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('531446c377353314890a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Redirected to http://test.host/admin/products/531446c37735331489090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314890b0000'), "name"=>"Roma Kreiger", "reference"=>"Layne Zieme V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531446c377353314890c0000'), "author_name"=>"Mrs. Chester Moore", "content"=>["Incidunt ut voluptates. Sit ea aut dolor laboriosam qui sunt. Delectus consequatur voluptas. Nemo dolore aliquid eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"531446c377353314890b0000", "id"=>"531446c377353314890c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314890b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314890d0000'), "name"=>"Beau Erdman II", "reference"=>"Madison Borer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('531446c377353314890e0000'), "author_name"=>"Nils Paucek Jr.", "content"=>["Recusandae excepturi incidunt nisi aliquid ut quisquam at. Voluptate voluptates voluptatem aut et. Quia perferendis facilis aliquid quis excepturi aut. Dolorem aliquam accusantium dolores id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"531446c377353314890d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314890d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314890f0000'), "name"=>"Armani Padberg", "reference"=>"Gisselle Lynch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446c37735331489100000'), "author_name"=>"Christy Spinka", "content"=>["Cum molestias alias repellendus tenetur. Corporis sed error ratione voluptate id id voluptas. Molestias omnis quia et. Dolores sint quae enim id. Ullam omnis doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"531446c377353314890f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314890f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489110000'), "name"=>"Lorine Schmitt", "reference"=>"Candido MacGyver", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('531446c37735331489120000'), "author_name"=>"Jerrold Rath", "content"=>["Reiciendis pariatur tempora ut laborum cumque. Aut iusto inventore atque. Iusto quo quia necessitatibus quaerat ut vitae suscipit. Qui fuga dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"531446c37735331489110000", "id"=>"531446c37735331489120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489130000'), "name"=>"Jason Bode", "reference"=>"Andre Hackett Jr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c37735331489140000'), "author_name"=>"Leonora Wuckert", "content"=>["Vitae voluptatum velit non. Ab enim laboriosam qui hic dolore. Veniam qui fuga est ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531446c37735331489140000", "product_id"=>"531446c37735331489130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489130000')} 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('531446c37735331489130000'), "comments._id"=>BSON::ObjectId('531446c37735331489140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Redirected to http://test.host/admin/products/531446c37735331489130000/comments/531446c37735331489140000 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('531446c37735331489150000'), "name"=>"Santos Gutkowski", "reference"=>"Gordon Green", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531446c37735331489160000'), "firstname"=>"Mackenzie", "lastname"=>"Rau"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"531446c37735331489150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489150000')} 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('531446c37735331489150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('531446c37735331489170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms Redirected to http://test.host/admin/products/531446c37735331489150000/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('531446c37735331489180000'), "name"=>"Elnora Sanford", "reference"=>"Dr. Adell Bauch", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531446c37735331489190000'), "firstname"=>"Harold", "lastname"=>"Haley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"531446c37735331489190000", "product_id"=>"531446c37735331489180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489180000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314891a0000'), "name"=>"Dolly Lynch", "reference"=>"Lisandro Douglas", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('531446c377353314891b0000'), "firstname"=>"Lyric", "lastname"=>"Anderson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"531446c377353314891a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314891a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.7ms) Completed 200 OK in 38ms (Views: 36.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314891c0000'), "name"=>"Alvena Swaniawski", "reference"=>"Easter Thompson", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('531446c377353314891d0000'), "firstname"=>"Trevion", "lastname"=>"Balistreri"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"531446c377353314891d0000", "product_id"=>"531446c377353314891c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314891c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314891e0000'), "name"=>"Miss Orlando Gerhold", "reference"=>"Garry Turner", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('531446c377353314891f0000'), "firstname"=>"Jennings", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4595ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"531446c377353314891f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"531446c377353314891e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314891e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Unpermitted parameters: name Redirected to http://test.host/admin/products/531446c377353314891e0000/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('531446c37735331489200000'), "name"=>"Alverta Carroll", "reference"=>"Miss Layla Farrell", "quantity"=>"0"}] 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.2400ms 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('531446c37735331489210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms Redirected to http://test.host/admin/products/531446c37735331489210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2106ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489220000'), "name"=>"Karlie Goldner", "reference"=>"Tristian Bosco", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1957ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"531446c37735331489220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms 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.2167ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489230000'), "name"=>"Wiley Ullrich", "reference"=>"Ms. Brisa Mante", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"531446c37735331489230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489230000')} 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.6ms) Completed 200 OK in 8ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489240000'), "name"=>"Amari Bruen", "reference"=>"Margarett Padberg", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms 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.5155ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489250000'), "name"=>"Jerome Leuschke", "reference"=>"Shirley Corwin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms 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: 5.1ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c37735331489280000'), "name"=>"Dylan Weimann", "reference"=>"Deangelo Abshire", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"531446c37735331489280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms 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('531446c37735331489290000'), "name"=>"Shanny Dare", "reference"=>"Krystal Heaney", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"531446c37735331489290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489290000')} 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('531446c37735331489290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Redirected to http://test.host/admin/products/531446c37735331489290000 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('531446c377353314892a0000'), "firstname"=>"Kade", "lastname"=>"Kiehn"}] 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.2120ms 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('531446c377353314892b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0340ms Redirected to http://test.host/admin/users/531446c377353314892b0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2201ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c377353314892c0000'), "firstname"=>"Tavares", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1824ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"531446c377353314892c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c377353314892c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c377353314892c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms 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.1867ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c377353314892d0000'), "firstname"=>"Flo", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"531446c377353314892d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c377353314892d0000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c377353314892e0000'), "firstname"=>"Bernie", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms 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.2929ms 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('531446c377353314892f0000'), "firstname"=>"Reyes", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 7.0ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c37735331489300000'), "firstname"=>"Forest", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"531446c37735331489300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c37735331489300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c37735331489310000'), "firstname"=>"Yessenia", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"531446c37735331489310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c37735331489310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Unpermitted parameters: name Redirected to http://test.host/admin/users/531446c37735331489310000 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('531446c37735331489320000'), "firstname"=>"Genesis", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2186ms 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('531446c37735331489330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms 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.2077ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489340000'), "firstname"=>"Carey", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"531446c37735331489340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489340000')} 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: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489350000'), "firstname"=>"Madaline", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2878ms 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: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489360000'), "firstname"=>"Mia", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"531446c37735331489360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531446c37735331489370000'), "firstname"=>"Jeanette", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"531446c37735331489370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531446c37735331489370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms 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('531446c37735331489380000'), "name"=>"Drew Kohler", "reference"=>"Lessie Friesen IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c37735331489390000'), "author_name"=>"Soledad Littel DDS", "content"=>["Quaerat reprehenderit rerum. Sit nobis sit eum adipisci. Optio reprehenderit voluptas neque aspernatur odit aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531446c37735331489380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489380000')} 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('531446c37735331489380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('531446c377353314893a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms Redirected to http://test.host/products/531446c37735331489380000/comments/531446c377353314893a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c37735331489380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314893b0000'), "name"=>"Xzavier Rosenbaum", "reference"=>"Ashton Marquardt", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c377353314893c0000'), "author_name"=>"Stanley Heathcote I", "content"=>["Sit amet dolor et reiciendis. Est saepe temporibus. Et sunt nihil quos tempora quia et. Voluptatem consectetur vel consequatur sunt hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314893b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"531446c377353314893b0000", "id"=>"531446c377353314893c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314893b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314893b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('531446c377353314893c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Redirected to http://test.host/products/531446c377353314893b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314893b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1962ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c377353314893d0000'), "name"=>"Jules Zemlak", "reference"=>"Gilberto Marquardt", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('531446c377353314893e0000'), "author_name"=>"Vivianne MacGyver", "content"=>["Omnis autem possimus dolor. Quae assumenda omnis. Sapiente reprehenderit eum praesentium exercitationem vel. Aspernatur cupiditate qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"531446c377353314893d0000", "id"=>"531446c377353314893e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c377353314893d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314893f0000'), "name"=>"Dr. Diego Ullrich", "reference"=>"Brain Wuckert Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489400000'), "author_name"=>"Lisette Roob", "content"=>["Sapiente quae temporibus ducimus. Cumque autem ipsam dolores totam error eos temporibus. Quod minus quibusdam voluptatem quis cupiditate blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"531446c477353314893f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314893f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489410000'), "name"=>"Estevan Conroy", "reference"=>"Kira Grimes DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489420000'), "author_name"=>"Ms. Sabrina Buckridge", "content"=>["Qui perferendis occaecati quo recusandae. Autem eaque nulla quia et earum quibusdam. Quae consequatur atque nostrum voluptate. Corrupti voluptate explicabo quisquam. Deleniti natus sint quia itaque aut a rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"531446c47735331489410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489430000'), "name"=>"Katelyn Hauck", "reference"=>"Sherwood Bradtke", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489440000'), "author_name"=>"Joel DuBuque MD", "content"=>["Sunt cum quis. Rerum maiores consequatur officia corrupti qui. Repellendus provident accusamus quaerat facilis aut veritatis. Aut nobis est ullam qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"531446c47735331489430000", "id"=>"531446c47735331489440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489450000'), "name"=>"Arvilla Kemmer", "reference"=>"Ms. Hugh Bradtke", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489460000'), "author_name"=>"Nina Rosenbaum", "content"=>["Molestiae consequuntur error. Id accusantium adipisci nulla repellendus minima eaque. Harum quos illo deserunt amet numquam. Ullam ab magni. Ipsa consequuntur illo vel consequatur quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"531446c47735331489450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489470000'), "name"=>"Henry Kuhic", "reference"=>"Mrs. Abraham Wintheiser", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489480000'), "author_name"=>"Santina Abernathy III", "content"=>["Debitis non consequatur. Qui temporibus tempora aut voluptatem. Molestias et quis qui impedit provident sint autem. Harum et ex voluptas vel ipsum dolorem. Magnam ipsa ut facilis reiciendis esse corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"531446c47735331489470000", "id"=>"531446c47735331489480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489490000'), "name"=>"Laverne Harris", "reference"=>"Sydnee Gutmann", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314894a0000'), "author_name"=>"Maryam Goodwin", "content"=>["Temporibus sed nisi. Odit placeat excepturi omnis quia sint dolorem ut. Explicabo id repellendus aut. Aut ut amet accusantium vel omnis tempora recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9975ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531446c477353314894a0000", "product_id"=>"531446c47735331489490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489490000'), "comments._id"=>BSON::ObjectId('531446c477353314894a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms Redirected to http://test.host/products/531446c47735331489490000/comments/531446c477353314894a0000 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('531446c477353314894b0000'), "firstname"=>"Edythe", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5377ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2392ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c477353314894c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms Redirected to http://test.host/admin/clients/531446c477353314894c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2156ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c477353314894d0000'), "firstname"=>"Gladys", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1995ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"531446c477353314894d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c477353314894d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c477353314894d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3782ms Redirected to http://test.host/admin/clients Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2010ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c477353314894e0000'), "firstname"=>"Shemar", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"531446c477353314894e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c477353314894e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('531446c477353314894f0000'), "firstname"=>"Jaida", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms 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('531446c47735331489500000'), "firstname"=>"Madeline", "lastname"=>"Durgan"}] 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 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('531446c47735331489510000'), "firstname"=>"Rickie", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"531446c47735331489510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c47735331489520000'), "firstname"=>"Ettie", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"531446c47735331489520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Redirected to http://test.host/admin/clients/531446c47735331489520000 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('531446c47735331489530000'), "firstname"=>"Elda", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms 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('531446c47735331489540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms Redirected to http://test.host/clients/531446c47735331489540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1900ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c47735331489550000'), "firstname"=>"Arlo", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms 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"=>"531446c47735331489550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489550000')} 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('531446c47735331489550000')} 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.1793ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c47735331489560000'), "firstname"=>"Bridget", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"531446c47735331489560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489560000')} 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.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('531446c47735331489570000'), "firstname"=>"Arthur", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms Completed 200 OK in 9ms (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('531446c47735331489580000'), "firstname"=>"Wilhelmine", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('531446c47735331489590000'), "firstname"=>"Norwood", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"531446c47735331489590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c47735331489590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Completed 200 OK in 4ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531446c477353314895a0000'), "firstname"=>"Shanny", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"531446c477353314895a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531446c477353314895a0000')} 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('531446c477353314895a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Redirected to http://test.host/clients/531446c477353314895a0000 Completed 302 Found in 5ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314895b0000'), "name"=>"Torrey Maggio", "reference"=>"Isaiah Greenholt", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531446c477353314895c0000'), "firstname"=>"Hosea", "lastname"=>"King"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"531446c477353314895b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314895b0000')} 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('531446c477353314895b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314895b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('531446c477353314895d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms Redirected to http://test.host/products/531446c477353314895b0000/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('531446c477353314895e0000'), "name"=>"Camilla Tremblay", "reference"=>"Genesis Strosin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('531446c477353314895f0000'), "firstname"=>"Brown", "lastname"=>"Prosacco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"531446c477353314895f0000", "product_id"=>"531446c477353314895e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314895e0000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489600000'), "name"=>"Jett Smith", "reference"=>"Rudy King", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531446c47735331489610000'), "firstname"=>"Virginie", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"531446c47735331489600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489620000'), "name"=>"Berta Hermiston", "reference"=>"Elna Kautzer", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('531446c47735331489630000'), "firstname"=>"Kareem", "lastname"=>"Eichmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9772ms Processing by ManagersController#show as HTML Parameters: {"id"=>"531446c47735331489630000", "product_id"=>"531446c47735331489620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489640000'), "name"=>"Tyree Hand", "reference"=>"Tyson Weber", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('531446c47735331489650000'), "firstname"=>"Lea", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Processing by ManagersController#update as HTML Parameters: {"id"=>"531446c47735331489650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"531446c47735331489640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms Unpermitted parameters: name Redirected to http://test.host/products/531446c47735331489640000/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('531446c47735331489660000'), "name"=>"Isac Huels", "reference"=>"Amari Roberts", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2161ms 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('531446c47735331489670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms Redirected to http://test.host/products/531446c47735331489670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2065ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489680000'), "name"=>"Rylee Medhurst PhD", "reference"=>"Maxie Hintz", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1946ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"531446c47735331489680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489680000')} 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('531446c47735331489680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms 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.1695ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489690000'), "name"=>"Carmel Johnston", "reference"=>"Hayley Klein", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"531446c47735331489690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 9ms (Views: 7.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314896a0000'), "name"=>"Miss Watson Kutch", "reference"=>"Raven Hirthe IV", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms 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.7631ms Completed 200 OK in 49ms (Views: 48.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314896b0000'), "name"=>"Mrs. Shea Ledner", "reference"=>"Lester Marvin II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms 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.9755ms Completed 200 OK in 6ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314896c0000'), "name"=>"Tomas Howe", "reference"=>"Tillman Douglas", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Processing by ProductsController#show as JSON Parameters: {"id"=>"531446c477353314896c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314896c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms 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('531446c477353314896d0000'), "name"=>"Pat O'Keefe", "reference"=>"Reynold Ruecker IV", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.7ms) Completed 200 OK in 42ms (Views: 41.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314896f0000'), "name"=>"Ron Schmitt", "reference"=>"Gail Hartmann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms Processing by ProductsController#show as HTML Parameters: {"id"=>"531446c477353314896f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314896f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Completed 200 OK in 4ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489700000'), "name"=>"Dr. Lue Rutherford", "reference"=>"Hardy Vandervort", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2220ms 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('531446c47735331489710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2062ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489720000'), "name"=>"Karine Wuckert", "reference"=>"Kelvin McLaughlin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"531446c47735331489720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489720000')} 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('531446c47735331489720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms 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('531446c47735331489730000'), "name"=>"Selina Pollich", "reference"=>"Craig Mayert", "quantity"=>"8"}] 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('531446c47735331489750000'), "name"=>"Zack McKenzie", "reference"=>"Jameson Weissnat", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"531446c47735331489750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms 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('531446c47735331489760000'), "name"=>"Finn VonRueden III", "reference"=>"Retha Ortiz", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"531446c47735331489760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489760000')} 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('531446c47735331489760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Redirected to http://test.host/products/531446c47735331489760000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489790000'), "name"=>"Gertrude Auer", "reference"=>"Vladimir Weimann", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489770000'), "author_name"=>"Titus Lowe", "content"=>["Similique vel aut quis. Accusantium quas consequatur consequuntur nostrum dolores. Pariatur est commodi."], "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489780000'), "author_name"=>"Dr. Donavon Koepp", "content"=>["Unde eveniet rerum. Accusamus deleniti et repellendus dolorum eum rerum. Molestiae laudantium omnis corrupti enim possimus neque a. Aspernatur qui sint doloremque consequuntur. Esse id quas quam quibusdam tenetur a nostrum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531446c47735331489790000", "comment_id"=>"531446c47735331489770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489790000')} 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('531446c47735331489790000'), "comments._id"=>BSON::ObjectId('531446c47735331489770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('531446c477353314897a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6699ms Redirected to http://test.host/products/531446c47735331489790000/comments/531446c47735331489770000/comments/531446c477353314897a0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314897d0000'), "name"=>"Danial Streich", "reference"=>"Rosalinda Smitham", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314897b0000'), "author_name"=>"Kara Rolfson DVM", "content"=>["Ducimus quidem beatae in. Enim libero ea est at est. Neque ducimus rerum voluptatum illum quas. Et aspernatur cupiditate soluta voluptates velit."], "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314897c0000'), "author_name"=>"Bonnie Osinski III", "content"=>["Laboriosam soluta tenetur. Praesentium deleniti et ipsa. Quia nam officia et beatae. Cupiditate ad vel occaecati vero quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314897d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"531446c477353314897d0000", "comment_id"=>"531446c477353314897b0000", "id"=>"531446c477353314897c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314897d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314897d0000'), "comments._id"=>BSON::ObjectId('531446c477353314897b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('531446c477353314897c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Redirected to http://test.host/products/531446c477353314897d0000/comments/531446c477353314897b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314897d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489800000'), "name"=>"Lester Greenholt Sr.", "reference"=>"Ms. Jeremy Balistreri", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314897e0000'), "author_name"=>"Cleora Morar", "content"=>["Quia facilis id eius aut quae recusandae. Perferendis atque quod quia cum et nisi. Quo possimus minus laboriosam."], "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314897f0000'), "author_name"=>"Davion Jones", "content"=>["In vero officia voluptas quo ducimus. Et esse maxime. Optio et veniam repellendus aspernatur aut. Qui ratione molestiae maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"531446c47735331489800000", "comment_id"=>"531446c477353314897e0000", "id"=>"531446c477353314897f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489830000'), "name"=>"Aubree Rohan MD", "reference"=>"Wellington Hirthe DVM", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489810000'), "author_name"=>"Crystel Grant Sr.", "content"=>["Enim et nesciunt blanditiis quos quasi. Non sunt quas praesentium quibusdam porro. Consequatur quasi voluptas non nulla tempore. Aliquam nobis et ab rerum est."], "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489820000'), "author_name"=>"Ms. Afton Graham", "content"=>["Voluptate quia voluptates eos sit earum in ratione. Enim consequatur id ut omnis quos ducimus dolor. Aspernatur nihil sit dolores et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"531446c47735331489830000", "comment_id"=>"531446c47735331489810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489860000'), "name"=>"Mrs. Isaias Beahan", "reference"=>"Jackson Feest III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489840000'), "author_name"=>"Roosevelt Reichel", "content"=>["Deserunt et fugit repellat ullam. Expedita doloremque maxime voluptatem. Perspiciatis fugit accusamus unde repellendus. Est dolorem voluptates dignissimos veritatis."], "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489850000'), "author_name"=>"Mrs. Salvatore Mayer", "content"=>["Commodi aliquam officia est adipisci dolore magni accusamus. Quia eos pariatur corrupti. Qui ratione odit sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"531446c47735331489860000", "comment_id"=>"531446c47735331489840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489890000'), "name"=>"Curtis Hintz", "reference"=>"Jairo Willms", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489870000'), "author_name"=>"Neoma Zieme", "content"=>["Ipsum nihil consequatur culpa consequuntur molestias. Voluptas quae maiores omnis quia ut numquam. Sit sunt quo qui velit dolorum ut omnis. Aut ducimus blanditiis sit et. Non perspiciatis sapiente tempora quaerat quia."], "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489880000'), "author_name"=>"Jaunita Carroll", "content"=>["Porro voluptas unde natus accusamus. Deserunt quae aliquid est. Placeat in officiis nihil debitis. Ut deleniti assumenda eaque explicabo cupiditate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"531446c47735331489890000", "comment_id"=>"531446c47735331489870000", "id"=>"531446c47735331489880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314898c0000'), "name"=>"Mina Hyatt DVM", "reference"=>"Dana Hintz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314898a0000'), "author_name"=>"Dorcas McClure", "content"=>["Animi quisquam facere id. Et nesciunt similique rem et cumque dolore. Laborum aut aut blanditiis ea quia amet. Impedit laborum nam. Quisquam vitae aspernatur non fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314898b0000'), "author_name"=>"Cynthia Schiller", "content"=>["Repudiandae et explicabo cupiditate iste ea. Non voluptatibus magni distinctio eaque dolor. Non nobis quo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"531446c477353314898c0000", "comment_id"=>"531446c477353314898a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314898c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.9ms) Completed 200 OK in 33ms (Views: 31.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c477353314898f0000'), "name"=>"Trey Lueilwitz", "reference"=>"August Cummerata", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314898d0000'), "author_name"=>"Kane Hammes", "content"=>["Qui blanditiis asperiores. Voluptas aspernatur repudiandae voluptas quam aut asperiores. Numquam autem quam omnis tenetur deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('531446c477353314898e0000'), "author_name"=>"Mr. Shanna Oberbrunner", "content"=>["Voluptates dolor aut neque sed. Et pariatur porro. Qui accusantium rerum laboriosam aperiam qui sed reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"531446c477353314898f0000", "comment_id"=>"531446c477353314898d0000", "id"=>"531446c477353314898e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c477353314898f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531446c47735331489920000'), "name"=>"Brenna Strosin", "reference"=>"Dr. Velda Crist", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489900000'), "author_name"=>"Salvador Rolfson MD", "content"=>["Eveniet voluptatum dignissimos. Tempore reiciendis non rerum. Consequuntur neque molestiae itaque velit veritatis. Debitis aliquam et ullam esse architecto. Nobis porro et aliquam quo est eligendi at."], "comments"=>[{"_id"=>BSON::ObjectId('531446c47735331489910000'), "author_name"=>"Aiyana Veum", "content"=>["Laborum exercitationem consequatur incidunt laboriosam consequatur odio. Sint et est sunt est non. Corrupti dolor aspernatur quasi omnis. Quis quos earum nulla voluptate ad sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531446c47735331489910000", "product_id"=>"531446c47735331489920000", "comment_id"=>"531446c47735331489900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531446c47735331489920000'), "comments._id"=>BSON::ObjectId('531446c47735331489900000'), "comments.0.comments._id"=>BSON::ObjectId('531446c47735331489910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Redirected to http://test.host/products/531446c47735331489920000/comments/531446c47735331489900000/comments/531446c47735331489910000 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('531446c47735331489930000'), "firstname"=>"Iva", "lastname"=>"Dicki"}] 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.1749ms 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('531446c47735331489940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms Redirected to http://test.host/users/531446c47735331489940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2384ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c47735331489950000'), "firstname"=>"Brad", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2060ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"531446c47735331489950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c47735331489950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c47735331489950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms 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.1991ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c47735331489960000'), "firstname"=>"Gussie", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms Processing by UsersController#edit as HTML Parameters: {"id"=>"531446c47735331489960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c47735331489960000')} 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: 6.3ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c47735331489970000'), "firstname"=>"Jesus", "lastname"=>"Legros"}] 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.3933ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c47735331489980000'), "firstname"=>"Okey", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531446c47735331489990000'), "firstname"=>"Pablo", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9499ms Processing by UsersController#show as HTML Parameters: {"id"=>"531446c47735331489990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c47735331489990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms 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('531446c477353314899a0000'), "firstname"=>"Judge", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"531446c477353314899a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531446c477353314899a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Unpermitted parameters: name Redirected to http://test.host/users/531446c477353314899a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8164ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.1404ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.2558ms 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: 13.1474ms 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.3775ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8000000'), "firstname"=>"Veronica", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2369ms 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('5314c70a77353302f8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms 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.2530ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8020000'), "firstname"=>"Arianna", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5314c70a77353302f8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70a77353302f8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.0ms) Completed 200 OK in 225ms (Views: 223.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8030000'), "firstname"=>"Jameson", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms 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: 4.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8040000'), "firstname"=>"Lester", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5314c70a77353302f8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70a77353302f8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8050000'), "firstname"=>"Gene", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5314c70a77353302f8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70a77353302f8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms 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('5314c70a77353302f8060000'), "name"=>"Mr. Natalie Hirthe", "reference"=>"Justen Herzog", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314c70a77353302f8070000'), "author_name"=>"Dr. Isabella Kemmer", "content"=>["Saepe iste laudantium ab minus sit dolores quo. Voluptatem fugit non nostrum. Et tempora ut voluptas magnam tempore ut doloribus. Dolores expedita et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314c70a77353302f8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8060000')} 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('5314c70a77353302f8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314c70a77353302f8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Redirected to http://test.host/admin/products/5314c70a77353302f8060000/comments/5314c70a77353302f8080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f8090000'), "name"=>"Samara Prohaska", "reference"=>"Una Mueller III", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314c70a77353302f80a0000'), "author_name"=>"Enoch Kunze", "content"=>["Aspernatur nesciunt est autem sapiente repudiandae ipsa aut. Nisi fugit odit libero. Sed laboriosam eaque sit possimus consequatur tenetur et. Ut recusandae voluptates doloremque consequatur eius autem facilis. Sed nemo sunt a quibusdam alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5314c70a77353302f8090000", "id"=>"5314c70a77353302f80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314c70a77353302f80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Redirected to http://test.host/admin/products/5314c70a77353302f8090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70a77353302f80b0000'), "name"=>"Finn Pollich", "reference"=>"Marc Crona", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70a77353302f80c0000'), "author_name"=>"Abdul O'Connell", "content"=>["Voluptas corporis non libero qui impedit. Praesentium facilis in aut nesciunt vero voluptates. Sit aperiam ipsa quia qui. Quo sint et ab. Dolores accusamus quidem maiores dolorem quia accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5314c70a77353302f80b0000", "id"=>"5314c70a77353302f80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70a77353302f80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f80d0000'), "name"=>"Rodolfo Schoen", "reference"=>"Leif Tromp", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f80e0000'), "author_name"=>"Miss Electa Willms", "content"=>["Maxime pariatur quasi quia provident quisquam. Est vero quia molestias. Ut dolores laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5314c70b77353302f80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f80f0000'), "name"=>"Everardo Kshlerin III", "reference"=>"Bart Lebsack", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8100000'), "author_name"=>"Genesis Bechtelar", "content"=>["Sint delectus officiis reprehenderit deleniti qui maxime dolor. In consectetur quisquam. Facere velit iusto reprehenderit et vitae. Non et vel sed impedit doloremque repellat. Vero voluptatem excepturi expedita nam est possimus aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4890ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5314c70b77353302f80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8110000'), "name"=>"Chance Stamm", "reference"=>"Nels Bosco", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8120000'), "author_name"=>"Miss Tamia Ledner", "content"=>["Aut illum excepturi sint velit. Ut soluta voluptatibus nihil officiis. Voluptatem pariatur optio vel accusamus. Laudantium omnis rerum eius voluptatibus quos fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5314c70b77353302f8110000", "id"=>"5314c70b77353302f8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8130000'), "name"=>"Miss Orlando Jakubowski", "reference"=>"Brayan Veum", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8140000'), "author_name"=>"Floy Bogisich", "content"=>["Minus optio commodi nesciunt asperiores. Quae non magni hic repellat saepe aliquid. Aspernatur saepe consequatur est. Molestiae quisquam officiis deleniti aliquam quaerat omnis aut. Maxime officia saepe voluptatem repellendus omnis dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314c70b77353302f8140000", "product_id"=>"5314c70b77353302f8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8130000')} 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('5314c70b77353302f8130000'), "comments._id"=>BSON::ObjectId('5314c70b77353302f8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4856ms Redirected to http://test.host/admin/products/5314c70b77353302f8130000/comments/5314c70b77353302f8140000 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('5314c70b77353302f8150000'), "name"=>"Trenton Spencer", "reference"=>"Marcia Swaniawski V", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8160000'), "firstname"=>"Raven", "lastname"=>"Kovacek"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314c70b77353302f8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms Redirected to http://test.host/admin/products/5314c70b77353302f8150000/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('5314c70b77353302f8180000'), "name"=>"Joanie Goodwin", "reference"=>"Burdette Bradtke", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8190000'), "firstname"=>"Kaya", "lastname"=>"Bernier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5314c70b77353302f8190000", "product_id"=>"5314c70b77353302f8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 6.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f81a0000'), "name"=>"Mrs. Reginald Hyatt", "reference"=>"Sydney Lueilwitz", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f81b0000'), "firstname"=>"Hollie", "lastname"=>"Hauck"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5314c70b77353302f81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 37ms (Views: 35.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f81c0000'), "name"=>"Mrs. Brain Green", "reference"=>"Oral Carroll", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f81d0000'), "firstname"=>"Van", "lastname"=>"Barton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5314c70b77353302f81d0000", "product_id"=>"5314c70b77353302f81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f81e0000'), "name"=>"Emma Jones II", "reference"=>"Dr. Enos Terry", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f81f0000'), "firstname"=>"Colt", "lastname"=>"Emmerich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5314c70b77353302f81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314c70b77353302f81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5314c70b77353302f81e0000/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('5314c70b77353302f8200000'), "name"=>"Alanis Ryan DVM", "reference"=>"Kenya Buckridge Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9606ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2342ms 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('5314c70b77353302f8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Redirected to http://test.host/admin/products/5314c70b77353302f8210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2715ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8220000'), "name"=>"Devan Kub DVM", "reference"=>"Vito Anderson", "quantity"=>"6"}] 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.2045ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5314c70b77353302f8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms 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.2199ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8230000'), "name"=>"Charity Grant", "reference"=>"Nelson Dare", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5314c70b77353302f8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 9ms (Views: 7.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8240000'), "name"=>"Brandon Glover", "reference"=>"Lilian Kessler", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms 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.5486ms Completed 200 OK in 13ms (Views: 11.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8250000'), "name"=>"Candido Cassin", "reference"=>"Vivienne Rogahn", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms 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: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8280000'), "name"=>"Dr. Maribel Little", "reference"=>"Bonnie Auer", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5314c70b77353302f8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms Completed 200 OK in 4ms (Views: 2.9ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8290000'), "name"=>"Claud Kautzer", "reference"=>"Amanda West", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314c70b77353302f8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms Redirected to http://test.host/admin/products/5314c70b77353302f8290000 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('5314c70b77353302f82a0000'), "firstname"=>"Mateo", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1762ms 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('5314c70b77353302f82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Redirected to http://test.host/admin/users/5314c70b77353302f82b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2248ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f82c0000'), "firstname"=>"Dino", "lastname"=>"Hudson"}] 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.1626ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5314c70b77353302f82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70b77353302f82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70b77353302f82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5738ms Redirected to http://test.host/admin/users Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2121ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f82d0000'), "firstname"=>"Paris", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5314c70b77353302f82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70b77353302f82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.8ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f82e0000'), "firstname"=>"Dillan", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms 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.3340ms Completed 200 OK in 6ms (Views: 5.7ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f82f0000'), "firstname"=>"Monica", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 6.7ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8300000'), "firstname"=>"Demetrius", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5314c70b77353302f8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70b77353302f8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Completed 200 OK in 5ms (Views: 3.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8310000'), "firstname"=>"Casimir", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314c70b77353302f8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70b77353302f8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5314c70b77353302f8310000 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('5314c70b77353302f8320000'), "firstname"=>"Maxime", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2079ms 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('5314c70b77353302f8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms 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.2014ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8340000'), "firstname"=>"Jayson", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5314c70b77353302f8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70b77353302f8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8350000'), "firstname"=>"Lee", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.7975ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8360000'), "firstname"=>"Lelah", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5314c70b77353302f8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70b77353302f8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8370000'), "firstname"=>"Alf", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5314c70b77353302f8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5314c70b77353302f8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3257ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8380000'), "name"=>"Andre Armstrong", "reference"=>"Elisa Williamson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8390000'), "author_name"=>"Hilario O'Kon", "content"=>["Et perspiciatis voluptatem voluptatum maiores. Aut sed aut voluptas. Repellendus iusto recusandae et fugit enim magni vel. Perferendis amet necessitatibus animi totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314c70b77353302f8380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5314c70b77353302f83a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Redirected to http://test.host/products/5314c70b77353302f8380000/comments/5314c70b77353302f83a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f83b0000'), "name"=>"Vern Witting", "reference"=>"Shyann Pfeffer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f83c0000'), "author_name"=>"Theo Kovacek V", "content"=>["Sit ut quod a aliquid corrupti velit. Neque rerum molestiae est et rem autem nesciunt. Eius sit cupiditate dolor tempore ad sed aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5314c70b77353302f83b0000", "id"=>"5314c70b77353302f83c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5314c70b77353302f83c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Redirected to http://test.host/products/5314c70b77353302f83b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f83d0000'), "name"=>"Ralph Littel", "reference"=>"Baron McCullough", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f83e0000'), "author_name"=>"Ryan Daniel", "content"=>["Dolorem distinctio qui fugit et voluptates deleniti. Mollitia quae vel in sit. Et itaque quidem eos non. Qui labore animi tenetur. Nostrum officiis ad rem possimus dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5314c70b77353302f83d0000", "id"=>"5314c70b77353302f83e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f83f0000'), "name"=>"Geoffrey Trantow Sr.", "reference"=>"Ardith Brekke", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8400000'), "author_name"=>"Lonie Mitchell V", "content"=>["Exercitationem est esse nulla aut. Quibusdam suscipit id sed. Architecto nobis ea accusantium maxime facilis. Architecto accusamus neque odio repellendus recusandae qui illo. Incidunt quibusdam ullam explicabo debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5314c70b77353302f83f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8410000'), "name"=>"Miss Tony Bahringer", "reference"=>"Ed Hagenes", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8420000'), "author_name"=>"Eldon Skiles", "content"=>["Autem necessitatibus omnis quod vitae qui porro corporis. Omnis voluptatem dolor aut omnis. Omnis similique non dolorem quo atque id. Quis error accusantium provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5314c70b77353302f8410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8430000'), "name"=>"Mrs. Rodolfo Glover", "reference"=>"Marjorie Nienow", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8440000'), "author_name"=>"Vergie Becker", "content"=>["Consequatur dolores iusto quae ea. Dolore accusantium hic dicta. Qui non aut nisi tempore ducimus labore quia. Repellat explicabo ipsum perferendis officia sequi fuga voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5314c70b77353302f8430000", "id"=>"5314c70b77353302f8440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8450000'), "name"=>"Tianna Hauck", "reference"=>"Meda Morar", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8460000'), "author_name"=>"Miss Alexandria Anderson", "content"=>["Consequatur vel reiciendis facere similique placeat vitae. Perspiciatis aliquid quas. At aperiam iure quo cum facere repellat neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5314c70b77353302f8450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8470000'), "name"=>"Lauriane Cruickshank", "reference"=>"Candace Murphy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f8480000'), "author_name"=>"Gregory Cormier", "content"=>["Laboriosam quis id dolorem in. Magni consequuntur non quos iusto omnis qui maiores. Et et ratione voluptatibus tempore. Modi aspernatur neque. Quo aut dolorem qui sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5314c70b77353302f8470000", "id"=>"5314c70b77353302f8480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8490000'), "name"=>"Myrtle Bartell", "reference"=>"Major Gutmann III", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314c70b77353302f84a0000'), "author_name"=>"Odessa Walker", "content"=>["Laborum officiis cupiditate consequatur et voluptatem veritatis. Odio qui repellendus. A tempore ducimus. Quia voluptates architecto autem dolores blanditiis illum. Impedit temporibus quis autem eius recusandae officiis."]}]}] 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"=>"5314c70b77353302f84a0000", "product_id"=>"5314c70b77353302f8490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3689ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8490000'), "comments._id"=>BSON::ObjectId('5314c70b77353302f84a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms Redirected to http://test.host/products/5314c70b77353302f8490000/comments/5314c70b77353302f84a0000 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('5314c70b77353302f84b0000'), "firstname"=>"Lurline", "lastname"=>"Volkman"}] 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=>"clients", :query=>{}} runtime: 0.2147ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f84c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Redirected to http://test.host/admin/clients/5314c70b77353302f84c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2792ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f84d0000'), "firstname"=>"Esta", "lastname"=>"Padberg"}] 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=>"clients", :query=>{}} runtime: 0.2040ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314c70b77353302f84d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f84d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.2826ms Redirected to http://test.host/admin/clients Completed 302 Found in 13ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2773ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f84e0000'), "firstname"=>"Addie", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314c70b77353302f84e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) 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('5314c70b77353302f84f0000'), "firstname"=>"Bridgette", "lastname"=>"Schroeder"}] 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.3504ms 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('5314c70b77353302f8500000'), "firstname"=>"Ophelia", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms 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.8ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8510000'), "firstname"=>"Benton", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314c70b77353302f8510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms 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('5314c70b77353302f8520000'), "firstname"=>"Juvenal", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314c70b77353302f8520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms Redirected to http://test.host/admin/clients/5314c70b77353302f8520000 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('5314c70b77353302f8530000'), "firstname"=>"Velda", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms 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('5314c70b77353302f8540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Redirected to http://test.host/clients/5314c70b77353302f8540000 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('5314c70b77353302f8550000'), "firstname"=>"Jessyca", "lastname"=>"Wiegand"}] 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.1730ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5314c70b77353302f8550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8550000')} 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.1797ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8560000'), "firstname"=>"Herminia", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5314c70b77353302f8560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8560000')} 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.1ms) 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('5314c70b77353302f8570000'), "firstname"=>"Furman", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms Completed 200 OK in 10ms (Views: 9.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8580000'), "firstname"=>"Ken", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1947ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8590000'), "firstname"=>"Anastacio", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5314c70b77353302f8590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Completed 200 OK in 31ms (Views: 29.0ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f85a0000'), "firstname"=>"Jaron", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5314c70b77353302f85a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5314c70b77353302f85a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Redirected to http://test.host/clients/5314c70b77353302f85a0000 Completed 302 Found in 5ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f85b0000'), "name"=>"Hildegard Thompson", "reference"=>"Colten Marks DDS", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f85c0000'), "firstname"=>"Theodora", "lastname"=>"Gleason"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5314c70b77353302f85b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f85b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f85b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f85d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms Redirected to http://test.host/products/5314c70b77353302f85b0000/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('5314c70b77353302f85e0000'), "name"=>"Moises Kiehn PhD", "reference"=>"Alvena Eichmann", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f85f0000'), "firstname"=>"Annalise", "lastname"=>"Strosin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5314c70b77353302f85f0000", "product_id"=>"5314c70b77353302f85e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f85e0000')} 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.8ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8600000'), "name"=>"Mrs. Otis Cassin", "reference"=>"Kenny Baumbach", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8610000'), "firstname"=>"Rosalee", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 59.6397ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5314c70b77353302f8600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4154ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 6.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8620000'), "name"=>"Mrs. Kelsi Ward", "reference"=>"Claudia Lang", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8630000'), "firstname"=>"Gordon", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5185ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5314c70b77353302f8630000", "product_id"=>"5314c70b77353302f8620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4067ms Completed 200 OK in 7ms (Views: 4.1ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8640000'), "name"=>"Dr. Sadie Hilpert", "reference"=>"Horace Orn", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5314c70b77353302f8650000'), "firstname"=>"Levi", "lastname"=>"Borer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5314c70b77353302f8650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5314c70b77353302f8640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms Unpermitted parameters: name Redirected to http://test.host/products/5314c70b77353302f8640000/manager Completed 302 Found in 4ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8660000'), "name"=>"Mr. Candace Lakin", "reference"=>"Tyrel Rowe V", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2519ms 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('5314c70b77353302f8670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5013ms Redirected to http://test.host/products/5314c70b77353302f8670000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3485ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8680000'), "name"=>"Miss Ayla Labadie", "reference"=>"Marielle Hilll Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2366ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5314c70b77353302f8680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms 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.3009ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f8690000'), "name"=>"Kamren Okuneva I", "reference"=>"Faustino Johnston", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5314c70b77353302f8690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70b77353302f8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 12ms (Views: 10.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70b77353302f86a0000'), "name"=>"Dayna Hammes", "reference"=>"Pink Hermiston", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms 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.7683ms Completed 200 OK in 49ms (Views: 48.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f86b0000'), "name"=>"Trudie Spinka", "reference"=>"Dell Gislason", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms 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.8129ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f86c0000'), "name"=>"Dr. Tate Murazik", "reference"=>"Domingo Erdman", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5314c70c77353302f86c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f86c0000')} 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('5314c70c77353302f86d0000'), "name"=>"Milton Bashirian Sr.", "reference"=>"Amani McLaughlin MD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 44ms (Views: 42.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f86f0000'), "name"=>"Adam Champlin", "reference"=>"Gaetano Hammes", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5314c70c77353302f86f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8700000'), "name"=>"Selina Dietrich DDS", "reference"=>"Marcia Konopelski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2057ms 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('5314c70c77353302f8710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2141ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8720000'), "name"=>"Aileen Littel", "reference"=>"Katelynn Heidenreich", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9336ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5314c70c77353302f8720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8720000')} 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={"_id"=>BSON::ObjectId('5314c70c77353302f8720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms 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('5314c70c77353302f8730000'), "name"=>"Alisha Gutkowski", "reference"=>"Scottie Cruickshank MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms 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('5314c70c77353302f8750000'), "name"=>"Dylan Ortiz", "reference"=>"Rollin Upton PhD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314c70c77353302f8750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms 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('5314c70c77353302f8760000'), "name"=>"Sigurd Homenick Jr.", "reference"=>"Savanah Okuneva", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5314c70c77353302f8760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Redirected to http://test.host/products/5314c70c77353302f8760000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8790000'), "name"=>"Jordon Von", "reference"=>"Courtney Pagac V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8770000'), "author_name"=>"Leanna Lemke IV", "content"=>["Quaerat atque perferendis repudiandae qui. Aliquid minima nihil autem. Blanditiis nesciunt eum cum qui sapiente omnis. Rerum non neque."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8780000'), "author_name"=>"Koby Rau", "content"=>["Quisquam et molestias. Non facilis adipisci dolor sunt vero. Officiis tempora voluptas qui eum perferendis recusandae. Eligendi qui facere quia nisi consequatur debitis veniam. Eius omnis id voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5314c70c77353302f8790000", "comment_id"=>"5314c70c77353302f8770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8790000')} 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('5314c70c77353302f8790000'), "comments._id"=>BSON::ObjectId('5314c70c77353302f8770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314c70c77353302f87a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Redirected to http://test.host/products/5314c70c77353302f8790000/comments/5314c70c77353302f8770000/comments/5314c70c77353302f87a0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f87d0000'), "name"=>"Dr. Lilian Goodwin", "reference"=>"Oceane Parisian", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f87b0000'), "author_name"=>"Wilfrid Kuhlman", "content"=>["Asperiores dolores impedit. Eum porro autem non qui labore non. Debitis autem dicta. Et sequi ipsa voluptatum in. Iure reiciendis est dolorum inventore."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f87c0000'), "author_name"=>"Elva Russel", "content"=>["Id sint blanditiis architecto autem illo commodi eos. Sed sit qui non ratione incidunt. Soluta temporibus qui similique minima saepe. Iure quae eaque similique sit et alias earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5314c70c77353302f87d0000", "comment_id"=>"5314c70c77353302f87b0000", "id"=>"5314c70c77353302f87c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f87d0000')} 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('5314c70c77353302f87d0000'), "comments._id"=>BSON::ObjectId('5314c70c77353302f87b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5314c70c77353302f87c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Redirected to http://test.host/products/5314c70c77353302f87d0000/comments/5314c70c77353302f87b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8800000'), "name"=>"Monserrat Zboncak", "reference"=>"Stacy Daniel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f87e0000'), "author_name"=>"Rhiannon Halvorson", "content"=>["Voluptatibus quaerat occaecati quo. Dicta non nesciunt molestias. Doloribus est esse cupiditate labore fugit et. Sed ut laboriosam mollitia."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f87f0000'), "author_name"=>"Britney Baumbach", "content"=>["Velit dolor soluta. Distinctio debitis et est labore provident commodi. Rem debitis eius id voluptatem fugit beatae. Nostrum consequatur consequuntur accusamus. Et autem asperiores nemo itaque incidunt nihil unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5314c70c77353302f8800000", "comment_id"=>"5314c70c77353302f87e0000", "id"=>"5314c70c77353302f87f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8830000'), "name"=>"Mr. Elenora Raynor", "reference"=>"Dayne Kub", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8810000'), "author_name"=>"Filiberto Macejkovic", "content"=>["Maxime voluptatum omnis ipsa. Voluptas quas omnis doloribus repudiandae. Quasi et architecto ea."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8820000'), "author_name"=>"Verna Dickinson", "content"=>["Sequi magnam fugiat explicabo vero. Cumque soluta possimus enim autem quos in. Aut voluptatem ab quaerat occaecati velit non. Nostrum voluptas delectus modi voluptate vitae. Iusto accusantium suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5314c70c77353302f8830000", "comment_id"=>"5314c70c77353302f8810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Completed 200 OK in 7ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8860000'), "name"=>"Harmony Osinski", "reference"=>"Miss Samir Emmerich", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8840000'), "author_name"=>"Clovis Kutch", "content"=>["Sit et eligendi. Cumque dolore nam. Eligendi at non inventore. Et commodi aut repudiandae animi quas."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8850000'), "author_name"=>"Gerardo Grady", "content"=>["Esse est eligendi quam. Deserunt vel sed facilis nesciunt officia. Animi est tempore deleniti corporis voluptate non illo. Sunt est beatae et maxime impedit. Aspernatur consequatur illo suscipit error iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5314c70c77353302f8860000", "comment_id"=>"5314c70c77353302f8840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8890000'), "name"=>"Janessa Jaskolski", "reference"=>"Mozell Hahn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8870000'), "author_name"=>"Tiffany Denesik", "content"=>["Ut et possimus saepe. Aut sed aut hic possimus sit at illum. Perferendis exercitationem necessitatibus rerum quia ut. Vitae dicta non cumque et officia."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8880000'), "author_name"=>"Damaris Gusikowski", "content"=>["Dolore quaerat earum architecto explicabo molestiae. Aut id quis aspernatur dolor. Enim dignissimos dolorum assumenda repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8202ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5314c70c77353302f8890000", "comment_id"=>"5314c70c77353302f8870000", "id"=>"5314c70c77353302f8880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f88c0000'), "name"=>"Estel Langworth", "reference"=>"Ms. Ferne Crist", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f88a0000'), "author_name"=>"Susanna Lindgren V", "content"=>["Et est incidunt esse rem aperiam. Unde quidem eligendi et ipsum quos nihil quia. Mollitia qui ut. Occaecati pariatur consequatur fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f88b0000'), "author_name"=>"Stephanie Zieme", "content"=>["Eum illo sit dolorem et tempore. Nihil ducimus saepe ut fugiat sed. Exercitationem aut iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5314c70c77353302f88c0000", "comment_id"=>"5314c70c77353302f88a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 47ms (Views: 44.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f88f0000'), "name"=>"Haley Schowalter", "reference"=>"Myles Herman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f88d0000'), "author_name"=>"Milan Daugherty", "content"=>["Nam veniam ducimus atque et hic quia quia. Molestiae aut libero hic repudiandae enim. Inventore occaecati fuga delectus mollitia."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f88e0000'), "author_name"=>"Eldridge Wiza", "content"=>["Ut est at ut excepturi. Amet reiciendis qui qui voluptate. Consequatur quibusdam excepturi porro. Veniam natus nostrum dolorem beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6473ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5314c70c77353302f88f0000", "comment_id"=>"5314c70c77353302f88d0000", "id"=>"5314c70c77353302f88e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4425ms Completed 200 OK in 10ms (Views: 5.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8920000'), "name"=>"Addie Bode", "reference"=>"Kellen Turner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8900000'), "author_name"=>"Delfina Herzog MD", "content"=>["Velit quos impedit. Saepe occaecati ea magni consequatur et quis aut. Voluptatem eum quo rerum nisi suscipit placeat. Nulla vero incidunt quis. Eos provident rem molestiae similique sint praesentium sint."], "comments"=>[{"_id"=>BSON::ObjectId('5314c70c77353302f8910000'), "author_name"=>"Rasheed Nicolas IV", "content"=>["Qui iste magnam aut nam quas consequatur. Voluptate distinctio ut quia excepturi. Quis distinctio eveniet. Voluptas dolorum laudantium est qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5314c70c77353302f8910000", "product_id"=>"5314c70c77353302f8920000", "comment_id"=>"5314c70c77353302f8900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4151ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5314c70c77353302f8920000'), "comments._id"=>BSON::ObjectId('5314c70c77353302f8900000'), "comments.0.comments._id"=>BSON::ObjectId('5314c70c77353302f8910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6433ms Redirected to http://test.host/products/5314c70c77353302f8920000/comments/5314c70c77353302f8900000/comments/5314c70c77353302f8910000 Completed 302 Found in 12ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8930000'), "firstname"=>"Marco", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2076ms 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('5314c70c77353302f8940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Redirected to http://test.host/users/5314c70c77353302f8940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2195ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8950000'), "firstname"=>"Rowland", "lastname"=>"Huel"}] 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=>"admin_users", :query=>{}} runtime: 0.1966ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5314c70c77353302f8950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70c77353302f8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70c77353302f8950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms 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.1969ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8960000'), "firstname"=>"Penelope", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5314c70c77353302f8960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70c77353302f8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.7ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8970000'), "firstname"=>"Grady", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms 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.3641ms 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('5314c70c77353302f8980000'), "firstname"=>"Ciara", "lastname"=>"Keeling"}] 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 (2.0ms) Completed 200 OK in 5ms (Views: 4.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f8990000'), "firstname"=>"Alysson", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by UsersController#show as HTML Parameters: {"id"=>"5314c70c77353302f8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70c77353302f8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5314c70c77353302f89a0000'), "firstname"=>"Eulah", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5314c70c77353302f89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5314c70c77353302f89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms Unpermitted parameters: name Redirected to http://test.host/users/5314c70c77353302f89a0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 49.8247ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.8625ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.6175ms 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.8521ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.9264ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332000000'), "firstname"=>"Eldridge", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1659ms 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('531607457735336332010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms 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.1905ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332020000'), "firstname"=>"Mylene", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"531607457735336332020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (23.9ms) Completed 200 OK in 41ms (Views: 39.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332030000'), "firstname"=>"Arielle", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.7286ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332040000'), "firstname"=>"Ressie", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"531607457735336332040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332050000'), "firstname"=>"Elbert", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"531607457735336332050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms 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('531607457735336332060000'), "name"=>"Norene Langosh", "reference"=>"Beatrice MacGyver", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332070000'), "author_name"=>"Joanny Kohler", "content"=>["Aliquid nam et enim et nostrum voluptas sit. Enim repellendus sed. Inventore nulla autem perferendis consectetur. Quod est ab sit. Voluptatem ipsum nulla tempora quo et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531607457735336332060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('531607457735336332080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Redirected to http://test.host/admin/products/531607457735336332060000/comments/531607457735336332080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332090000'), "name"=>"Devan Metz", "reference"=>"Mr. Christa Lueilwitz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363320a0000'), "author_name"=>"Raul Hilpert", "content"=>["Totam sit cum. Debitis sint quibusdam et accusamus eaque voluptates repellendus. Quos ipsa qui commodi sapiente amet ea. Iste dolorem aperiam architecto qui voluptas consectetur eos."]}]}] 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('531607457735336332090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"531607457735336332090000", "id"=>"5316074577353363320a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5316074577353363320a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/admin/products/531607457735336332090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363320b0000'), "name"=>"Mallory Kuhn", "reference"=>"Cullen Bosco", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363320c0000'), "author_name"=>"Jessie Durgan", "content"=>["Voluptates numquam quae qui qui dolorem vero. Sit qui fugiat ducimus. Voluptas et soluta consequuntur dicta libero laudantium. Aspernatur possimus qui consequatur placeat inventore. Labore ratione quos autem aut eum animi non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0160ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5316074577353363320b0000", "id"=>"5316074577353363320c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363320b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363320d0000'), "name"=>"Jaime Keeling", "reference"=>"Ms. Wilson Zieme", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363320e0000'), "author_name"=>"Mrs. Nya Wehner", "content"=>["Et praesentium sunt id. Quos iure dolorum nobis impedit quia odit nihil. Et veniam quae voluptatem non. Rerum aliquam velit et quasi quidem qui magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5316074577353363320d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363320d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363320f0000'), "name"=>"Lennie Abernathy", "reference"=>"Ashlee Hoeger", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332100000'), "author_name"=>"Providenci Weber", "content"=>["Eaque omnis et ut. Omnis est incidunt. Soluta maxime quia ea quo dolores asperiores. Voluptates modi et ut deserunt maiores. Qui eaque sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5316074577353363320f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363320f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332110000'), "name"=>"Charlie Marks", "reference"=>"Alaina Towne", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332120000'), "author_name"=>"Mathilde Morissette", "content"=>["Rem sunt qui provident iure quo sunt optio. At quis ut. Molestias rerum deserunt commodi ab magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"531607457735336332110000", "id"=>"531607457735336332120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332130000'), "name"=>"Trey Wintheiser", "reference"=>"Kitty Bernier", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332140000'), "author_name"=>"Ruthe O'Conner", "content"=>["Hic cupiditate corrupti vel consectetur voluptatem aspernatur. Odio minima recusandae. A est est placeat nesciunt voluptas. Nobis impedit in eos dolorem ipsum. Aut ex omnis culpa."]}]}] 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"=>"531607457735336332140000", "product_id"=>"531607457735336332130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332130000'), "comments._id"=>BSON::ObjectId('531607457735336332140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Redirected to http://test.host/admin/products/531607457735336332130000/comments/531607457735336332140000 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('531607457735336332150000'), "name"=>"Miss Boyd Will", "reference"=>"Gloria Ritchie", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('531607457735336332160000'), "firstname"=>"Rodolfo", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"531607457735336332150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('531607457735336332170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms Redirected to http://test.host/admin/products/531607457735336332150000/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('531607457735336332180000'), "name"=>"Dr. Constantin Gutkowski", "reference"=>"Katrina Schaefer", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('531607457735336332190000'), "firstname"=>"Princess", "lastname"=>"Ruecker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"531607457735336332190000", "product_id"=>"531607457735336332180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363321a0000'), "name"=>"Miss Sallie Kunde", "reference"=>"Blaise Orn", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5316074577353363321b0000'), "firstname"=>"Ron", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5316074577353363321a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363321a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 37ms (Views: 35.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363321c0000'), "name"=>"Miss Ernesto Kuhlman", "reference"=>"Gina Treutel", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5316074577353363321d0000'), "firstname"=>"Shanon", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5316074577353363321d0000", "product_id"=>"5316074577353363321c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363321c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363321e0000'), "name"=>"Madge Rempel", "reference"=>"Ramon Mueller", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5316074577353363321f0000'), "firstname"=>"Linnie", "lastname"=>"Yundt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5316074577353363321f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5316074577353363321e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363321e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5316074577353363321e0000/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('531607457735336332200000'), "name"=>"Monroe Nolan V", "reference"=>"Trinity Turcotte", "quantity"=>"7"}] 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.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('531607457735336332210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms Redirected to http://test.host/admin/products/531607457735336332210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2177ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332220000'), "name"=>"Kallie Moen", "reference"=>"Clair Haley", "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.1735ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"531607457735336332220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms 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.1862ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332230000'), "name"=>"Damaris Halvorson", "reference"=>"Joan Stamm", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"531607457735336332230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 9ms (Views: 7.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332240000'), "name"=>"Katheryn Kshlerin", "reference"=>"Ernestine Lakin", "quantity"=>"8"}] 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.5099ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332250000'), "name"=>"Alford Conn", "reference"=>"Darrin Johnston", "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 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332280000'), "name"=>"Lonnie Jenkins", "reference"=>"Russell Weber", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"531607457735336332280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms 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('531607457735336332290000'), "name"=>"Rosie Kuhic", "reference"=>"Eileen Cormier IV", "quantity"=>"8"}] 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"=>"531607457735336332290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332290000')} 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('531607457735336332290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms Redirected to http://test.host/admin/products/531607457735336332290000 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('5316074577353363322a0000'), "firstname"=>"Orlo", "lastname"=>"Kuhlman"}] 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=>"admin_users", :query=>{}} runtime: 0.1741ms 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('5316074577353363322b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Redirected to http://test.host/admin/users/5316074577353363322b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1872ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5316074577353363322c0000'), "firstname"=>"Eldon", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1695ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5316074577353363322c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5316074577353363322c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5316074577353363322c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms 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.1824ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5316074577353363322d0000'), "firstname"=>"Carey", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5316074577353363322d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5316074577353363322d0000')} 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 7ms (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('5316074577353363322e0000'), "firstname"=>"Cordie", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms 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.3115ms 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('5316074577353363322f0000'), "firstname"=>"Mable", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) 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('531607457735336332300000'), "firstname"=>"Judge", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"531607457735336332300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607457735336332300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531607457735336332310000'), "firstname"=>"Jovanny", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6624ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"531607457735336332310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607457735336332310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Unpermitted parameters: name Redirected to http://test.host/admin/users/531607457735336332310000 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('531607457735336332320000'), "firstname"=>"Tatyana", "lastname"=>"Yost"}] 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=>"administrators", :query=>{}} runtime: 0.1782ms 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('531607457735336332330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms 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.1875ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332340000'), "firstname"=>"Brent", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"531607457735336332340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332350000'), "firstname"=>"Lindsey", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332360000'), "firstname"=>"Demario", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"531607457735336332360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('531607457735336332370000'), "firstname"=>"Khalil", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"531607457735336332370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('531607457735336332370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms 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('531607457735336332380000'), "name"=>"Evan Reynolds", "reference"=>"Princess Turner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332390000'), "author_name"=>"Dr. Imelda Prohaska", "content"=>["Sint aut eveniet. Illum facere dolor non magni aperiam tenetur. Qui at ut facere nobis corporis dolores. Tempore aut minus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531607457735336332380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332380000')} 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('531607457735336332380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5316074577353363323a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms Redirected to http://test.host/products/531607457735336332380000/comments/5316074577353363323a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363323b0000'), "name"=>"Phoebe Schmeler", "reference"=>"Mrs. Amos McGlynn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363323c0000'), "author_name"=>"Jerald Bode", "content"=>["Assumenda neque quae soluta rem est rerum. Autem commodi eum debitis ad sunt et. Omnis sequi soluta. Numquam exercitationem laudantium non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363323b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5316074577353363323b0000", "id"=>"5316074577353363323c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363323b0000')} 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('5316074577353363323b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5316074577353363323c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms Redirected to http://test.host/products/5316074577353363323b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363323b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363323d0000'), "name"=>"Bret Dietrich II", "reference"=>"Marianna Gerlach", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363323e0000'), "author_name"=>"Randall Witting", "content"=>["Commodi voluptate sed voluptatibus excepturi est dolorum. Commodi illum vel neque quidem nobis. Id consequatur modi et provident neque minima et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5316074577353363323d0000", "id"=>"5316074577353363323e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363323d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074577353363323f0000'), "name"=>"Aidan Pfannerstill", "reference"=>"Syble Brown Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332400000'), "author_name"=>"Mrs. Afton Jerde", "content"=>["Voluptatem ratione laboriosam adipisci iusto quia. Rerum et eius iure. Dolores temporibus mollitia numquam voluptas et. Et qui quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5316074577353363323f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074577353363323f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332410000'), "name"=>"Maverick Roberts", "reference"=>"Rene Bogan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332420000'), "author_name"=>"River Pacocha", "content"=>["Ut earum praesentium voluptate porro perferendis rerum in. Voluptatem quo perferendis quidem tempora labore sunt distinctio. Rerum laborum vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"531607457735336332410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332430000'), "name"=>"Dr. Janiya Hahn", "reference"=>"Dortha Howe", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332440000'), "author_name"=>"Mrs. Josiane McGlynn", "content"=>["Labore occaecati magni consequuntur in et accusamus debitis. Nihil aperiam libero vitae veniam quod. Quia dolores est beatae sit porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4637ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"531607457735336332430000", "id"=>"531607457735336332440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332450000'), "name"=>"Clotilde Harris", "reference"=>"Brielle Huel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332460000'), "author_name"=>"Wilford Friesen", "content"=>["Optio corrupti ea omnis debitis molestias quia tempora. Eaque odio neque et sit rerum harum velit. Fugit error omnis. Ut ipsam dolores qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"531607457735336332450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332470000'), "name"=>"Johanna Lockman", "reference"=>"Horacio Hintz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('531607457735336332480000'), "author_name"=>"Alec Emard", "content"=>["Corporis explicabo fugit facilis. Odio et harum et commodi. Explicabo omnis dignissimos sed. Id quia veritatis vel necessitatibus libero. Recusandae necessitatibus at corrupti minus suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"531607457735336332470000", "id"=>"531607457735336332480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607457735336332490000'), "name"=>"Miss Marisol Murphy", "reference"=>"Mireille Beier DVM", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5316074577353363324a0000'), "author_name"=>"Donald Braun", "content"=>["Ab aperiam minus rerum omnis soluta molestiae deserunt. Corporis aut est eos amet. Impedit quis debitis tempora sapiente magnam. Nobis provident non est facilis. Quia reprehenderit aut nam nihil incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5316074577353363324a0000", "product_id"=>"531607457735336332490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607457735336332490000')} 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('531607457735336332490000'), "comments._id"=>BSON::ObjectId('5316074577353363324a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms Redirected to http://test.host/products/531607457735336332490000/comments/5316074577353363324a0000 Completed 302 Found in 33ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5316074577353363324b0000'), "firstname"=>"Eino", "lastname"=>"Leuschke"}] 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.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('5316074577353363324c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Redirected to http://test.host/admin/clients/5316074577353363324c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1926ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5316074577353363324d0000'), "firstname"=>"Devyn", "lastname"=>"Boyer"}] 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=>"clients", :query=>{}} runtime: 0.1761ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5316074577353363324d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5316074577353363324d0000')} 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('5316074577353363324d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms 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.1856ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5316074577353363324e0000'), "firstname"=>"Skylar", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5316074577353363324e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5316074577353363324e0000')} 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.3ms) 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('5316074577353363324f0000'), "firstname"=>"Brycen", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms 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('531607457735336332500000'), "firstname"=>"Keagan", "lastname"=>"Fisher"}] 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.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('531607457735336332510000'), "firstname"=>"Ephraim", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"531607457735336332510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531607457735336332520000'), "firstname"=>"Ethyl", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"531607457735336332520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332520000')} 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('531607457735336332520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms Redirected to http://test.host/admin/clients/531607457735336332520000 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('531607457735336332530000'), "firstname"=>"Vergie", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1740ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531607457735336332540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Redirected to http://test.host/clients/531607457735336332540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531607457735336332550000'), "firstname"=>"Joyce", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1655ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"531607457735336332550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms 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.1786ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531607457735336332560000'), "firstname"=>"Pearl", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"531607457735336332560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332560000')} 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.0ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('531607457735336332570000'), "firstname"=>"Adrian", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms 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('531607457735336332580000'), "firstname"=>"Luis", "lastname"=>"Breitenberg"}] 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.8ms) 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('531607457735336332590000'), "firstname"=>"Lue", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"531607457735336332590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('531607457735336332590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5316074577353363325a0000'), "firstname"=>"Eula", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5316074577353363325a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5316074577353363325a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5316074577353363325a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms Redirected to http://test.host/clients/5316074577353363325a0000 Completed 302 Found in 36ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363325b0000'), "name"=>"Cody Treutel", "reference"=>"Margarete Bogisich IV", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5316074677353363325c0000'), "firstname"=>"Laurel", "lastname"=>"Ortiz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5316074677353363325b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363325b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363325b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363325b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5316074677353363325d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms Redirected to http://test.host/products/5316074677353363325b0000/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('5316074677353363325e0000'), "name"=>"Jermain Bradtke", "reference"=>"Rosamond Blick", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5316074677353363325f0000'), "firstname"=>"Cleveland", "lastname"=>"Bayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5316074677353363325f0000", "product_id"=>"5316074677353363325e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363325e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332600000'), "name"=>"Donnell Heaney", "reference"=>"Jolie Green", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('531607467735336332610000'), "firstname"=>"Laurianne", "lastname"=>"Murazik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"531607467735336332600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332620000'), "name"=>"Lucy Daniel II", "reference"=>"Leopold Carter", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('531607467735336332630000'), "firstname"=>"Otto", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by ManagersController#show as HTML Parameters: {"id"=>"531607467735336332630000", "product_id"=>"531607467735336332620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332640000'), "name"=>"Jameson Little MD", "reference"=>"Darby Stehr", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('531607467735336332650000'), "firstname"=>"Carleton", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by ManagersController#update as HTML Parameters: {"id"=>"531607467735336332650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"531607467735336332640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Unpermitted parameters: name Redirected to http://test.host/products/531607467735336332640000/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('531607467735336332660000'), "name"=>"Wendy Pouros III", "reference"=>"Dallin O'Reilly III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1584ms 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('531607467735336332670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Redirected to http://test.host/products/531607467735336332670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1725ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332680000'), "name"=>"Kathlyn Terry IV", "reference"=>"Ila Orn", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms 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"=>"531607467735336332680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332680000')} 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 MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1933ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332690000'), "name"=>"Reina Moore", "reference"=>"Pedro Considine", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"531607467735336332690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363326a0000'), "name"=>"Marisol Bednar", "reference"=>"Sanford Schinner", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms 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.8674ms Completed 200 OK in 48ms (Views: 47.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363326b0000'), "name"=>"Libbie Connelly", "reference"=>"Melvina Collier V", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms 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.7703ms 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('5316074677353363326c0000'), "name"=>"Eudora Tremblay", "reference"=>"Mellie Fadel", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5316074677353363326c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363326c0000')} 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('5316074677353363326d0000'), "name"=>"Rosella Schmitt", "reference"=>"Felicia Roob", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.1ms) Completed 200 OK in 42ms (Views: 40.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363326f0000'), "name"=>"Ella Zboncak", "reference"=>"Jewell Crist", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5316074677353363326f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363326f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332700000'), "name"=>"Mrs. Alicia Veum", "reference"=>"Daisha Ernser", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1831ms 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('531607467735336332710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332720000'), "name"=>"Kaden Rice", "reference"=>"Reed Shanahan", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"531607467735336332720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Completed 200 OK in 4ms (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('531607467735336332730000'), "name"=>"Miss Fredy Oberbrunner", "reference"=>"Kamron Maggio I", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms 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('531607467735336332750000'), "name"=>"Christop Raynor", "reference"=>"Tiana Williamson", "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"=>"531607467735336332750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms 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('531607467735336332760000'), "name"=>"Priscilla Price", "reference"=>"Myrtice Dickens II", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"531607467735336332760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332760000')} 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('531607467735336332760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1694ms Redirected to http://test.host/products/531607467735336332760000 Completed 302 Found in 6ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332790000'), "name"=>"Bailee Smith III", "reference"=>"Lewis Lesch V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332770000'), "author_name"=>"Eriberto Moen", "content"=>["Suscipit et repellendus itaque pariatur totam. Animi aut quod. Rerum impedit officiis sed quo animi. Omnis unde recusandae dolores."], "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332780000'), "author_name"=>"Nicholas Mante", "content"=>["Ut voluptatibus ea. Tenetur totam adipisci non consequatur corrupti placeat expedita. Odio harum qui nobis cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"531607467735336332790000", "comment_id"=>"531607467735336332770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3977ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332790000'), "comments._id"=>BSON::ObjectId('531607467735336332770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5316074677353363327a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms Redirected to http://test.host/products/531607467735336332790000/comments/531607467735336332770000/comments/5316074677353363327a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363327d0000'), "name"=>"Davin Volkman", "reference"=>"Gino Nader", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363327b0000'), "author_name"=>"Davin Baumbach", "content"=>["Dolores impedit sapiente alias. Qui modi ea unde. Perspiciatis nisi qui magni. Omnis dolorem neque recusandae voluptas qui."], "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363327c0000'), "author_name"=>"Braxton Keeling III", "content"=>["Fuga quasi quia enim perspiciatis quia ut. Ipsum accusantium et ex dolore voluptatem aliquam. Omnis magnam fugit et rerum laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363327d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5316074677353363327d0000", "comment_id"=>"5316074677353363327b0000", "id"=>"5316074677353363327c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363327d0000')} 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('5316074677353363327d0000'), "comments._id"=>BSON::ObjectId('5316074677353363327b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5316074677353363327c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Redirected to http://test.host/products/5316074677353363327d0000/comments/5316074677353363327b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363327d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332800000'), "name"=>"Narciso Hauck", "reference"=>"Alycia Barton", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363327e0000'), "author_name"=>"Mr. Trycia Hessel", "content"=>["Aliquam minus iure. Corrupti et libero dolores molestiae veritatis et. Pariatur nostrum temporibus sit nulla ut inventore quisquam. Quidem sit tempore odio commodi optio ea laudantium."], "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363327f0000'), "author_name"=>"Hallie Gleason", "content"=>["Non id omnis asperiores voluptatum rerum. Perspiciatis magni doloribus et dolorum dolor. Adipisci et odio quia doloribus velit. Laudantium laboriosam unde tempora ullam quis dolor enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"531607467735336332800000", "comment_id"=>"5316074677353363327e0000", "id"=>"5316074677353363327f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332800000')} 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.6ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332830000'), "name"=>"Gerhard Hoppe", "reference"=>"Rodrick Ebert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332810000'), "author_name"=>"Maegan Borer", "content"=>["Doloribus odio hic deserunt maxime. Dicta debitis non doloremque qui voluptas aspernatur quo. Ut ea pariatur numquam. Incidunt recusandae consectetur perferendis."], "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332820000'), "author_name"=>"Buford Flatley", "content"=>["Et aut aut cum exercitationem nulla. Perferendis vitae officiis sed sunt et voluptas. Alias ipsam nemo consequatur unde repudiandae ad sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"531607467735336332830000", "comment_id"=>"531607467735336332810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332860000'), "name"=>"Mrs. Julia Zieme", "reference"=>"Rosamond DuBuque", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332840000'), "author_name"=>"Dawn Frami", "content"=>["Doloremque et omnis. Dolorum sint veritatis. Non officia quisquam. Qui magni magnam illo. Omnis dicta in."], "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332850000'), "author_name"=>"Bettie Schumm", "content"=>["Accusantium quisquam et quasi expedita nam quibusdam modi. Ipsa facere iste. Voluptas ad non sit rerum debitis. Labore maiores vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"531607467735336332860000", "comment_id"=>"531607467735336332840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332890000'), "name"=>"Mrs. Rachael Zieme", "reference"=>"Josie Padberg", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332870000'), "author_name"=>"Lexie Schamberger V", "content"=>["Ab cum impedit dolorum. Et id eum amet atque vitae consequuntur. Est quisquam nihil repudiandae. Nesciunt in explicabo veniam et et ipsam ut. Soluta explicabo enim sit quae aut ut consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332880000'), "author_name"=>"Eladio Armstrong", "content"=>["Possimus nobis adipisci voluptatibus iusto inventore. Nihil error odit. Eum qui repellat tempora. Et rerum molestiae aut. Enim dolorem laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"531607467735336332890000", "comment_id"=>"531607467735336332870000", "id"=>"531607467735336332880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363328c0000'), "name"=>"Krista Doyle IV", "reference"=>"Trevor Shanahan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363328a0000'), "author_name"=>"Mr. Everardo Spencer", "content"=>["Consequatur placeat eveniet omnis vel cumque molestias. Minus labore consequatur qui. Asperiores ipsa error est molestiae ipsam quia."], "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363328b0000'), "author_name"=>"Isac Hudson", "content"=>["Magnam ad recusandae maxime et. Fuga occaecati officiis delectus dolorum autem laudantium placeat. Dignissimos ab vero iste at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5316074677353363328c0000", "comment_id"=>"5316074677353363328a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363328c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.2ms) Completed 200 OK in 33ms (Views: 30.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5316074677353363328f0000'), "name"=>"Grady Nader", "reference"=>"Anna Berge", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363328d0000'), "author_name"=>"Sanford Farrell", "content"=>["Similique qui aliquam voluptate consequatur est ipsam. Autem porro nihil est nam non ut. Ut sed architecto mollitia iusto ea voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('5316074677353363328e0000'), "author_name"=>"Bret Tremblay", "content"=>["Maxime inventore et provident natus recusandae. Aut neque distinctio vitae eos sed. Qui optio aut enim et ut nihil velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5316074677353363328f0000", "comment_id"=>"5316074677353363328d0000", "id"=>"5316074677353363328e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5316074677353363328f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('531607467735336332920000'), "name"=>"Mr. Khalil Runolfsdottir", "reference"=>"Abigail Carter Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332900000'), "author_name"=>"Hosea Cummings V", "content"=>["Qui ducimus est temporibus velit rem. Et impedit tenetur minima cupiditate minus. Provident nostrum quas et."], "comments"=>[{"_id"=>BSON::ObjectId('531607467735336332910000'), "author_name"=>"Mrs. Zaria Schmeler", "content"=>["Exercitationem aut aperiam maxime voluptatibus. Et ullam asperiores blanditiis dolores non possimus est. Rerum in repellat voluptatibus incidunt. Nam impedit iste sit natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"531607467735336332910000", "product_id"=>"531607467735336332920000", "comment_id"=>"531607467735336332900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('531607467735336332920000')} 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('531607467735336332920000'), "comments._id"=>BSON::ObjectId('531607467735336332900000'), "comments.0.comments._id"=>BSON::ObjectId('531607467735336332910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5783ms Redirected to http://test.host/products/531607467735336332920000/comments/531607467735336332900000/comments/531607467735336332910000 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531607467735336332930000'), "firstname"=>"Emory", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1936ms 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('531607467735336332940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms Redirected to http://test.host/users/531607467735336332940000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1971ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531607467735336332950000'), "firstname"=>"Louisa", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms 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"=>"531607467735336332950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607467735336332950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607467735336332950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms 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.1870ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531607467735336332960000'), "firstname"=>"Keegan", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms Processing by UsersController#edit as HTML Parameters: {"id"=>"531607467735336332960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607467735336332960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (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('531607467735336332970000'), "firstname"=>"Fabian", "lastname"=>"Schaden"}] 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.3685ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('531607467735336332980000'), "firstname"=>"Violette", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('531607467735336332990000'), "firstname"=>"Anne", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by UsersController#show as HTML Parameters: {"id"=>"531607467735336332990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('531607467735336332990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms 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('5316074677353363329a0000'), "firstname"=>"Emery", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5316074677353363329a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5316074677353363329a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Unpermitted parameters: name Redirected to http://test.host/users/5316074677353363329a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 62.5384ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7618ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.6718ms 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.8292ms 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.3754ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- 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.3173ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms 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.1602ms 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.1893ms 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.1895ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107000000'), "firstname"=>"Lenora", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1741ms 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('53206e8c7735337107010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2629ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107020000'), "firstname"=>"Rosalind", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53206e8c7735337107020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.9ms) Completed 200 OK in 105ms (Views: 103.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107030000'), "firstname"=>"Mireya", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5129ms 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.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107040000'), "firstname"=>"Fannie", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53206e8c7735337107040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107050000'), "firstname"=>"Evert", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4870ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53206e8c7735337107050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms 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('53206e8c7735337107060000'), "name"=>"Agustin Bode", "reference"=>"Forrest Reichert II", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107070000'), "author_name"=>"Mrs. Xander Sipes", "content"=>["Sed quis odio ipsum at quasi corporis. Excepturi corporis ad recusandae. Quasi aspernatur qui officiis. Ea id ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53206e8c7735337107060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53206e8c7735337107080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms Redirected to http://test.host/admin/products/53206e8c7735337107060000/comments/53206e8c7735337107080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3825ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107090000'), "name"=>"Eda Leuschke", "reference"=>"Raphaelle Batz", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371070a0000'), "author_name"=>"Odessa Murray IV", "content"=>["Est error eum doloribus. Quis iure ut vel. Non dolores voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53206e8c7735337107090000", "id"=>"53206e8c77353371070a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107090000')} 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('53206e8c7735337107090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53206e8c77353371070a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Redirected to http://test.host/admin/products/53206e8c7735337107090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371070b0000'), "name"=>"Clifton Ratke", "reference"=>"Mrs. Alexzander Rice", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371070c0000'), "author_name"=>"Blaise Stanton", "content"=>["Qui placeat illum dolorem. Sed nesciunt ducimus laudantium omnis sequi. Nostrum quod dolor placeat suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53206e8c77353371070b0000", "id"=>"53206e8c77353371070c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371070b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3604ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371070d0000'), "name"=>"Josiane Morar", "reference"=>"Mertie Moore V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371070e0000'), "author_name"=>"Mervin Weimann", "content"=>["Facere quisquam qui in voluptatem temporibus. Quod veniam dignissimos. Voluptatum quibusdam ut. Reiciendis voluptatem quia autem quo hic ut possimus. Molestias nam libero autem error occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5400ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53206e8c77353371070d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371070d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371070f0000'), "name"=>"Giles Reichel", "reference"=>"Lou Von DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107100000'), "author_name"=>"Mr. Vanessa Kuvalis", "content"=>["Consectetur rerum totam porro numquam et nulla. Nisi sit id consequuntur quam ipsam. Voluptas aliquam dolorem voluptatem eos odit occaecati similique. Itaque sit saepe suscipit omnis temporibus doloribus. Iusto omnis at ut velit odio non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53206e8c77353371070f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371070f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 6.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107110000'), "name"=>"Cristian Bayer", "reference"=>"Garfield Towne DDS", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107120000'), "author_name"=>"Doris Klocko", "content"=>["Et fugit et est non. Excepturi inventore est. Assumenda qui itaque nobis repudiandae repellendus eum iste. Exercitationem rerum sit eum corrupti accusantium qui repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4461ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53206e8c7735337107110000", "id"=>"53206e8c7735337107120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107130000'), "name"=>"Tianna Schimmel MD", "reference"=>"Rafael McClure III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107140000'), "author_name"=>"Providenci Connelly Jr.", "content"=>["Tempore ea ipsam. Laboriosam iste dolorem. Quaerat debitis sit esse sit. Optio est adipisci odio fugit quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53206e8c7735337107140000", "product_id"=>"53206e8c7735337107130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107130000')} 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('53206e8c7735337107130000'), "comments._id"=>BSON::ObjectId('53206e8c7735337107140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms Redirected to http://test.host/admin/products/53206e8c7735337107130000/comments/53206e8c7735337107140000 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('53206e8c7735337107150000'), "name"=>"Elody Padberg", "reference"=>"Zane Weissnat", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53206e8c7735337107160000'), "firstname"=>"Isabella", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53206e8c7735337107150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53206e8c7735337107170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Redirected to http://test.host/admin/products/53206e8c7735337107150000/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('53206e8c7735337107180000'), "name"=>"Mr. Ariane Bruen", "reference"=>"Anne Hoppe", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53206e8c7735337107190000'), "firstname"=>"Kristina", "lastname"=>"Wisozk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53206e8c7735337107190000", "product_id"=>"53206e8c7735337107180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3464ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371071a0000'), "name"=>"Lester Gislason", "reference"=>"Arvilla Block", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53206e8c77353371071b0000'), "firstname"=>"Elyse", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53206e8c77353371071a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371071a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms) Completed 200 OK in 37ms (Views: 35.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371071c0000'), "name"=>"Katelin Johnson", "reference"=>"Jayde Koepp III", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53206e8c77353371071d0000'), "firstname"=>"Devyn", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6849ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53206e8c77353371071d0000", "product_id"=>"53206e8c77353371071c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371071c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371071e0000'), "name"=>"Rebeka Corkery Jr.", "reference"=>"Devon Donnelly", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53206e8c77353371071f0000'), "firstname"=>"Candida", "lastname"=>"Wolff"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53206e8c77353371071f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53206e8c77353371071e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371071e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53206e8c77353371071e0000/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('53206e8c7735337107200000'), "name"=>"Dana Pfannerstill", "reference"=>"Evelyn Monahan PhD", "quantity"=>"3"}] 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.1877ms 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('53206e8c7735337107210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Redirected to http://test.host/admin/products/53206e8c7735337107210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2870ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107220000'), "name"=>"Hugh Weimann", "reference"=>"Camille Doyle", "quantity"=>"5"}] 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.1582ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53206e8c7735337107220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms 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.2069ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107230000'), "name"=>"Westley Satterfield", "reference"=>"Derick Ritchie", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53206e8c7735337107230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107230000')} 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.5ms) Completed 200 OK in 9ms (Views: 7.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107240000'), "name"=>"Favian Kerluke", "reference"=>"Gerardo Harvey", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms 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.5189ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107250000'), "name"=>"Miss Tre Zemlak", "reference"=>"Xander Hickle", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms 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: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107280000'), "name"=>"Kade Goldner", "reference"=>"Hermann Gislason", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53206e8c7735337107280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms 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('53206e8c7735337107290000'), "name"=>"Idella Gerlach DDS", "reference"=>"Elton Konopelski", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53206e8c7735337107290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4516ms Redirected to http://test.host/admin/products/53206e8c7735337107290000 Completed 302 Found in 10ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c77353371072a0000'), "firstname"=>"Bradford", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms 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('53206e8c77353371072b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Redirected to http://test.host/admin/users/53206e8c77353371072b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2072ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c77353371072c0000'), "firstname"=>"Rhett", "lastname"=>"Bechtelar"}] 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.1559ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53206e8c77353371072c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8c77353371072c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8c77353371072c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms 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.2189ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c77353371072d0000'), "firstname"=>"Valentina", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53206e8c77353371072d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8c77353371072d0000')} 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.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c77353371072e0000'), "firstname"=>"Ryder", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms 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.3231ms Completed 200 OK in 6ms (Views: 5.7ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c77353371072f0000'), "firstname"=>"Benny", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) 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('53206e8c7735337107300000'), "firstname"=>"Yasmine", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53206e8c7735337107300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8c7735337107300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms Completed 200 OK in 4ms (Views: 2.8ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107310000'), "firstname"=>"Sandy", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53206e8c7735337107310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8c7735337107310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53206e8c7735337107310000 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('53206e8c7735337107320000'), "firstname"=>"Tad", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6489ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2057ms 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('53206e8c7735337107330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms 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.1994ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107340000'), "firstname"=>"Kurt", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53206e8c7735337107340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107350000'), "firstname"=>"Emilio", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107360000'), "firstname"=>"Murphy", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53206e8c7735337107360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107370000'), "firstname"=>"Linda", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53206e8c7735337107370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53206e8c7735337107370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms 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('53206e8c7735337107380000'), "name"=>"Dianna Abbott", "reference"=>"Devan Dooley", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107390000'), "author_name"=>"Jade Hane", "content"=>["Ut adipisci at non qui nulla necessitatibus. Quasi dolorum voluptas non labore et sed illum. Accusamus eos libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53206e8c7735337107380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53206e8c77353371073a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Redirected to http://test.host/products/53206e8c7735337107380000/comments/53206e8c77353371073a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371073b0000'), "name"=>"Josiane Koelpin", "reference"=>"Sheridan Lindgren", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371073c0000'), "author_name"=>"Grady Tremblay", "content"=>["Modi explicabo architecto est. Perspiciatis tempora quo ipsa voluptatem. Aut dolorem in aut quia molestiae. Totam quia voluptatem provident saepe ut omnis perferendis. Totam ea voluptas enim."]}]}] 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('53206e8c77353371073b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53206e8c77353371073b0000", "id"=>"53206e8c77353371073c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371073b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371073b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53206e8c77353371073c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms Redirected to http://test.host/products/53206e8c77353371073b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371073b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371073d0000'), "name"=>"Malcolm DuBuque", "reference"=>"Ambrose Wisozk", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371073e0000'), "author_name"=>"Elliott Bailey II", "content"=>["Accusantium aperiam rerum fuga. Mollitia et molestiae. Aliquam debitis recusandae perferendis laboriosam non cum eaque. Quam et facere facilis et quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53206e8c77353371073d0000", "id"=>"53206e8c77353371073e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371073d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c77353371073f0000'), "name"=>"Elta Thompson", "reference"=>"Idell Hammes", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107400000'), "author_name"=>"Kristy Deckow Sr.", "content"=>["Earum consequatur officia. Fugit ea expedita illo placeat veritatis reiciendis. Cum explicabo quis unde sunt voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53206e8c77353371073f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c77353371073f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms Completed 200 OK in 6ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107410000'), "name"=>"Lessie Hyatt", "reference"=>"Joanne Ankunding", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107420000'), "author_name"=>"Ali Bartell", "content"=>["Vel vel velit vero dolorum aut. Earum modi harum laborum velit nihil non. Sunt facere ipsam sint quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53206e8c7735337107410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107430000'), "name"=>"Dr. Dorothy Bruen", "reference"=>"Royce Schumm", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107440000'), "author_name"=>"Marina Sauer", "content"=>["Sunt quisquam non eos qui vel animi mollitia. Veniam unde aperiam voluptatem aut architecto. Non velit qui rerum optio unde quod officiis. Totam voluptate perspiciatis illo pariatur. Ipsa impedit aut aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53206e8c7735337107430000", "id"=>"53206e8c7735337107440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107450000'), "name"=>"Tierra Breitenberg", "reference"=>"Judd Kilback", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107460000'), "author_name"=>"Clovis Carroll", "content"=>["Sequi quae voluptatem id quasi ea. Similique natus et. Perferendis repellendus odit deleniti sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6700ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53206e8c7735337107450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107470000'), "name"=>"Roscoe Tromp", "reference"=>"Phyllis Murphy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c7735337107480000'), "author_name"=>"Lucinda Stehr", "content"=>["Nulla nihil ut iste voluptas placeat non ratione. Mollitia qui a et quia earum delectus sed. Necessitatibus quibusdam ut ab dolorum. Nostrum et et. Quia rerum eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53206e8c7735337107470000", "id"=>"53206e8c7735337107480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107490000'), "name"=>"Lelah Hartmann", "reference"=>"Hubert Goyette", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53206e8c77353371074a0000'), "author_name"=>"Neoma Rogahn", "content"=>["Reprehenderit numquam quo iste et. Quia neque sit sit ab dignissimos. Amet sit nihil possimus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53206e8c77353371074a0000", "product_id"=>"53206e8c7735337107490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8c7735337107490000')} 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('53206e8c7735337107490000'), "comments._id"=>BSON::ObjectId('53206e8c77353371074a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms Redirected to http://test.host/products/53206e8c7735337107490000/comments/53206e8c77353371074a0000 Completed 302 Found in 32ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c77353371074b0000'), "firstname"=>"Peggie", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9981ms 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('53206e8c77353371074c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms Redirected to http://test.host/admin/clients/53206e8c77353371074c0000 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('53206e8c77353371074d0000'), "firstname"=>"Elenora", "lastname"=>"Stark"}] 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.1758ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53206e8c77353371074d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c77353371074d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c77353371074d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms 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.1761ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c77353371074e0000'), "firstname"=>"Lilliana", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53206e8c77353371074e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c77353371074e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('53206e8c77353371074f0000'), "firstname"=>"Abdullah", "lastname"=>"Barrows"}] 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.3334ms 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('53206e8c7735337107500000'), "firstname"=>"Mike", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms 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_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107510000'), "firstname"=>"Louvenia", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53206e8c7735337107510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Completed 200 OK in 5ms (Views: 3.4ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107520000'), "firstname"=>"Gus", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53206e8c7735337107520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms Redirected to http://test.host/admin/clients/53206e8c7735337107520000 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('53206e8c7735337107530000'), "firstname"=>"Esperanza", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1614ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms Redirected to http://test.host/clients/53206e8c7735337107540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107550000'), "firstname"=>"Estell", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1562ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53206e8c7735337107550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms 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.1653ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107560000'), "firstname"=>"Ryder", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53206e8c7735337107560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8c7735337107560000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107570000'), "firstname"=>"Jordi", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by Iord::GenericController#index as HTML MOPED: 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 10ms (Views: 9.0ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8c7735337107580000'), "firstname"=>"Conner", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2157ms 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: 3.9ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107590000'), "firstname"=>"Caroline", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53206e8d7735337107590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8d7735337107590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms 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('53206e8d77353371075a0000'), "firstname"=>"Stephanie", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53206e8d77353371075a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8d77353371075a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53206e8d77353371075a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.7893ms Redirected to http://test.host/clients/53206e8d77353371075a0000 Completed 302 Found in 36ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371075b0000'), "name"=>"Kirk Kovacek", "reference"=>"Nayeli MacGyver", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53206e8d77353371075c0000'), "firstname"=>"Ozella", "lastname"=>"Cummerata"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53206e8d77353371075b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371075b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371075b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371075b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53206e8d77353371075d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms Redirected to http://test.host/products/53206e8d77353371075b0000/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('53206e8d77353371075e0000'), "name"=>"Jordyn Corwin", "reference"=>"Jewel Marquardt III", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53206e8d77353371075f0000'), "firstname"=>"Destany", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53206e8d77353371075f0000", "product_id"=>"53206e8d77353371075e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371075e0000')} 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.7ms) Completed 200 OK in 8ms (Views: 6.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107600000'), "name"=>"Ova Lehner", "reference"=>"Roberto Shanahan", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53206e8d7735337107610000'), "firstname"=>"Sanford", "lastname"=>"Swift"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53206e8d7735337107600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107620000'), "name"=>"Luz Rogahn", "reference"=>"Stuart Klocko", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53206e8d7735337107630000'), "firstname"=>"Novella", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53206e8d7735337107630000", "product_id"=>"53206e8d7735337107620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107640000'), "name"=>"Aidan Schneider", "reference"=>"Terence Blanda PhD", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53206e8d7735337107650000'), "firstname"=>"Lura", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53206e8d7735337107650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53206e8d7735337107640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3689ms Unpermitted parameters: name Redirected to http://test.host/products/53206e8d7735337107640000/manager Completed 302 Found in 4ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107660000'), "name"=>"Woodrow Oberbrunner", "reference"=>"Deborah Hodkiewicz", "quantity"=>"8"}] 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.2236ms 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('53206e8d7735337107670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms Redirected to http://test.host/products/53206e8d7735337107670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2524ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107680000'), "name"=>"Bonnie Kertzmann", "reference"=>"Ardith Heidenreich", "quantity"=>"8"}] 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.2218ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53206e8d7735337107680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107680000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1921ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107690000'), "name"=>"Camryn Rempel III", "reference"=>"Sebastian Christiansen", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53206e8d7735337107690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 12ms (Views: 9.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371076a0000'), "name"=>"Maritza Sanford", "reference"=>"Dr. Marcus Tromp", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms 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: 1.2661ms Completed 200 OK in 61ms (Views: 60.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371076b0000'), "name"=>"Ocie Kling", "reference"=>"Pedro Hoppe", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms 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.7753ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371076c0000'), "name"=>"Felton Labadie", "reference"=>"Jacques Schoen", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53206e8d77353371076c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371076c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms 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('53206e8d77353371076d0000'), "name"=>"Willie Kuhn DDS", "reference"=>"Mrs. Zachery Padberg", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.0ms) Completed 200 OK in 43ms (Views: 41.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371076f0000'), "name"=>"Jada Keeling", "reference"=>"Ms. Jamey Howell", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53206e8d77353371076f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371076f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107700000'), "name"=>"Demario Reichel", "reference"=>"Mr. Alta Feil", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1647ms 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('53206e8d7735337107710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3650ms Completed 201 Created in 8ms (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('53206e8d7735337107720000'), "name"=>"Ms. Jamison Heathcote", "reference"=>"Hortense Herman", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53206e8d7735337107720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms 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('53206e8d7735337107730000'), "name"=>"Eudora VonRueden", "reference"=>"Nettie Reinger", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms 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('53206e8d7735337107750000'), "name"=>"Beverly Olson", "reference"=>"Daryl Wintheiser V", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53206e8d7735337107750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms 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('53206e8d7735337107760000'), "name"=>"Colt Stehr", "reference"=>"Grover Bechtelar", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53206e8d7735337107760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107760000')} 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('53206e8d7735337107760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms Redirected to http://test.host/products/53206e8d7735337107760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107790000'), "name"=>"Abbigail Yost", "reference"=>"Mr. Seamus Swift", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107770000'), "author_name"=>"Mrs. Etha McDermott", "content"=>["Dolore perspiciatis rerum impedit inventore maxime dolorem. Maiores veritatis aut rerum. Corrupti laborum molestiae in at error quasi officiis. Explicabo consequatur at laboriosam enim et ex. Voluptas praesentium sint quas delectus sed est."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107780000'), "author_name"=>"Emmanuel Williamson", "content"=>["Voluptatibus laboriosam ullam iure nostrum qui. Voluptatum voluptates nesciunt atque. Officia aliquam reprehenderit minus sit ut fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53206e8d7735337107790000", "comment_id"=>"53206e8d7735337107770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107790000'), "comments._id"=>BSON::ObjectId('53206e8d7735337107770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53206e8d77353371077a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms Redirected to http://test.host/products/53206e8d7735337107790000/comments/53206e8d7735337107770000/comments/53206e8d77353371077a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371077d0000'), "name"=>"Mr. Keon Leuschke", "reference"=>"Keshawn Lind", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371077b0000'), "author_name"=>"Darrel Bogisich", "content"=>["Dolore voluptatum molestiae eius. Vitae aut molestiae quam consequatur repellendus autem est. In aut excepturi debitis porro inventore saepe."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371077c0000'), "author_name"=>"Casimer Waters", "content"=>["Id et consequatur natus nihil asperiores sed. Quam officia cumque dolorem consequatur architecto. Occaecati magni deserunt consequatur ea. Ea quo doloribus cupiditate est voluptatibus nemo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371077d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53206e8d77353371077d0000", "comment_id"=>"53206e8d77353371077b0000", "id"=>"53206e8d77353371077c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371077d0000')} 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('53206e8d77353371077d0000'), "comments._id"=>BSON::ObjectId('53206e8d77353371077b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53206e8d77353371077c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Redirected to http://test.host/products/53206e8d77353371077d0000/comments/53206e8d77353371077b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371077d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1905ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107800000'), "name"=>"Carter Schuster", "reference"=>"Trinity Hessel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371077e0000'), "author_name"=>"Eddie Runolfsson", "content"=>["Dolor corrupti voluptas vel voluptas atque. Voluptatem omnis laudantium id. Est in officiis ut qui. In velit iure aliquam laborum omnis amet. Dolorum ut voluptatem consectetur ad ut consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371077f0000'), "author_name"=>"Emmalee Moore", "content"=>["Recusandae quas et quia mollitia sed adipisci. Culpa corrupti veniam sint sunt deleniti. Velit quidem omnis sit aspernatur distinctio illum quisquam. Consequatur nesciunt commodi est laudantium sit et magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53206e8d7735337107800000", "comment_id"=>"53206e8d77353371077e0000", "id"=>"53206e8d77353371077f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107830000'), "name"=>"Junius Hagenes DDS", "reference"=>"Allan Stoltenberg", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107810000'), "author_name"=>"Parker Jerde", "content"=>["Culpa accusantium labore. Et saepe ut facere autem qui harum pariatur. Tempora omnis harum. Soluta ullam explicabo nam."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107820000'), "author_name"=>"Taya Towne", "content"=>["Eos excepturi ea. Porro corrupti sequi eius reprehenderit non. Saepe sunt ipsa quas. Est ratione tenetur commodi error."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53206e8d7735337107830000", "comment_id"=>"53206e8d7735337107810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107860000'), "name"=>"Mrs. Terrence O'Conner", "reference"=>"Nicholas Erdman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107840000'), "author_name"=>"Julius Spencer Sr.", "content"=>["Perferendis quaerat eveniet. Nemo nihil tempore. Odio perferendis repellat natus numquam fuga."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107850000'), "author_name"=>"Milan Kiehn", "content"=>["Vitae in expedita et in. Quidem corrupti eum et voluptate tempora commodi quibusdam. Iste ea voluptatum est possimus occaecati. Ut vitae consequuntur officiis eum et expedita eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53206e8d7735337107860000", "comment_id"=>"53206e8d7735337107840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107890000'), "name"=>"Alisa Lebsack", "reference"=>"Kelsi Kris", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107870000'), "author_name"=>"Ila Dach", "content"=>["Autem itaque vitae doloribus omnis recusandae nemo. Necessitatibus reiciendis corporis autem illo est repellendus sapiente. Repudiandae aliquam exercitationem est. Qui quae est voluptates aspernatur nemo non."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107880000'), "author_name"=>"Gloria Franecki V", "content"=>["Perferendis quae enim esse. Error eos nihil sunt debitis recusandae illum quaerat. Officiis molestiae nostrum. Cumque id nesciunt velit amet officiis. Enim dicta ut optio culpa iure voluptate non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53206e8d7735337107890000", "comment_id"=>"53206e8d7735337107870000", "id"=>"53206e8d7735337107880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371078c0000'), "name"=>"Chadd Swift", "reference"=>"Catalina Keeling", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371078a0000'), "author_name"=>"Lindsay Morissette", "content"=>["Odit exercitationem fugiat cupiditate eligendi vero. Et minus qui repellat numquam qui. Facere fugiat voluptates."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371078b0000'), "author_name"=>"Elena Welch", "content"=>["Et cum modi dolore vel similique corrupti. Tempora consequatur omnis dolor debitis qui. Et voluptas blanditiis repellat nostrum molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.4655ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53206e8d77353371078c0000", "comment_id"=>"53206e8d77353371078a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371078c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.0ms) Completed 200 OK in 33ms (Views: 30.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d77353371078f0000'), "name"=>"Vaughn Gislason Sr.", "reference"=>"Nelda Champlin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371078d0000'), "author_name"=>"Rickey Eichmann", "content"=>["Repellendus commodi illum voluptate facilis at architecto. Accusantium in non odio fugiat est. Ut quia eum quisquam nam quas nisi neque. Cumque nobis autem esse saepe dolores quam recusandae. Sequi et qui quisquam illum tempora ea."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d77353371078e0000'), "author_name"=>"Gilberto Cormier", "content"=>["Omnis rem eius accusamus recusandae et dolorem. Eum dolor velit inventore consequatur et corporis. Dolore dignissimos est et libero aut consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53206e8d77353371078f0000", "comment_id"=>"53206e8d77353371078d0000", "id"=>"53206e8d77353371078e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d77353371078f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Completed 200 OK in 6ms (Views: 3.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107920000'), "name"=>"Mafalda Watsica", "reference"=>"Vince Cole", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107900000'), "author_name"=>"Lyric Fadel", "content"=>["Aliquid dolorem et aut. Adipisci cumque rerum est magni occaecati. Perspiciatis molestiae ducimus ut quas qui qui. Nesciunt sed doloremque ut."], "comments"=>[{"_id"=>BSON::ObjectId('53206e8d7735337107910000'), "author_name"=>"Lauren Fay", "content"=>["Voluptatem provident dolorum voluptas saepe eligendi. Sit tempora alias repellendus voluptatem maxime. Sint voluptatibus voluptas qui vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53206e8d7735337107910000", "product_id"=>"53206e8d7735337107920000", "comment_id"=>"53206e8d7735337107900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53206e8d7735337107920000'), "comments._id"=>BSON::ObjectId('53206e8d7735337107900000'), "comments.0.comments._id"=>BSON::ObjectId('53206e8d7735337107910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms Redirected to http://test.host/products/53206e8d7735337107920000/comments/53206e8d7735337107900000/comments/53206e8d7735337107910000 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('53206e8d7735337107930000'), "firstname"=>"Modesto", "lastname"=>"Medhurst"}] 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=>"admin_users", :query=>{}} runtime: 0.2152ms 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('53206e8d7735337107940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0699ms Redirected to http://test.host/users/53206e8d7735337107940000 Completed 302 Found in 40ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2478ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107950000'), "firstname"=>"Abdullah", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1629ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53206e8d7735337107950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8d7735337107950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8d7735337107950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms 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.1680ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107960000'), "firstname"=>"Heber", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53206e8d7735337107960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8d7735337107960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107970000'), "firstname"=>"Madelyn", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms 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.3455ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107980000'), "firstname"=>"Euna", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d7735337107990000'), "firstname"=>"Nona", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by UsersController#show as HTML Parameters: {"id"=>"53206e8d7735337107990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8d7735337107990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53206e8d77353371079a0000'), "firstname"=>"Eden", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53206e8d77353371079a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53206e8d77353371079a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Unpermitted parameters: name Redirected to http://test.host/users/53206e8d77353371079a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.1440ms 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.0329ms 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.5187ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3408ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29000000'), "firstname"=>"Lindsay", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6457ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3461ms 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('53c9583e7735336c29010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5764ms 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.3605ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29020000'), "firstname"=>"Andy", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53c9583e7735336c29020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4374ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (47.2ms) Completed 200 OK in 118ms (Views: 116.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29030000'), "firstname"=>"Okey", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6281ms 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.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29040000'), "firstname"=>"Arno", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5884ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53c9583e7735336c29040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3865ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29050000'), "firstname"=>"Brigitte", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5269ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53c9583e7735336c29050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms 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('53c9583e7735336c29060000'), "name"=>"Dave Ziemann", "reference"=>"Jazlyn Wolff", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29070000'), "author_name"=>"Roman Rosenbaum", "content"=>["Et voluptas consequatur minus ut. Magnam ut libero dolore autem odit. Qui perferendis sint quia qui quam dolor alias. Consequatur hic voluptas blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53c9583e7735336c29060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53c9583e7735336c29080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Redirected to http://test.host/admin/products/53c9583e7735336c29060000/comments/53c9583e7735336c29080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29090000'), "name"=>"Aurelio Steuber", "reference"=>"Ansel Ritchie", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c290a0000'), "author_name"=>"Dr. Marianne Brekke", "content"=>["Omnis recusandae inventore sequi eaque voluptatibus consequatur. Sequi earum ullam consequatur. Enim est quam corporis consequatur assumenda dolorem rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53c9583e7735336c29090000", "id"=>"53c9583e7735336c290a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29090000')} 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('53c9583e7735336c29090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53c9583e7735336c290a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Redirected to http://test.host/admin/products/53c9583e7735336c29090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c290b0000'), "name"=>"Fiona Quitzon", "reference"=>"Sasha Effertz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c290c0000'), "author_name"=>"Rasheed Botsford", "content"=>["Est fugit quas cumque ut est. In aliquid dolor. Voluptatum cumque ipsum autem. Et mollitia rem enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.3248ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53c9583e7735336c290b0000", "id"=>"53c9583e7735336c290c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c290b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 12ms (Views: 8.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c290d0000'), "name"=>"Ms. Gardner Kemmer", "reference"=>"Avis Boyer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c290e0000'), "author_name"=>"Toby Kovacek III", "content"=>["Odio qui et molestiae et vitae sit. Minus in adipisci eum ut eum. Ut sunt beatae et soluta qui sequi. Voluptatem mollitia eaque. Nihil recusandae ullam quidem velit atque sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53c9583e7735336c290d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c290d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c290f0000'), "name"=>"Braulio Lueilwitz", "reference"=>"Jaiden Nikolaus", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29100000'), "author_name"=>"Wilma Cormier", "content"=>["Praesentium a repellat aliquid. Facilis accusantium quaerat eveniet illo ea. Veritatis accusantium officia. Ea suscipit velit vel laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53c9583e7735336c290f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c290f0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29110000'), "name"=>"Mr. Chloe Feeney", "reference"=>"Joanne Stracke", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29120000'), "author_name"=>"Georgianna Murphy Sr.", "content"=>["Est neque et perferendis distinctio tempora. Saepe ratione eos ut illo nam expedita voluptatem. Facilis et earum dolorum dolorem qui sapiente. Hic dolores quisquam recusandae eum quis est. Et eius sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53c9583e7735336c29110000", "id"=>"53c9583e7735336c29120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29130000'), "name"=>"Kaitlin Sawayn", "reference"=>"Mr. Patience Schroeder", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29140000'), "author_name"=>"Korbin Predovic", "content"=>["Sed assumenda quasi. Numquam ut maiores beatae natus voluptatibus nobis magni. Nobis tempore suscipit dicta facere eum omnis. Amet nihil iusto omnis. In animi omnis quo nisi culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53c9583e7735336c29140000", "product_id"=>"53c9583e7735336c29130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29130000'), "comments._id"=>BSON::ObjectId('53c9583e7735336c29140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms Redirected to http://test.host/admin/products/53c9583e7735336c29130000/comments/53c9583e7735336c29140000 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('53c9583e7735336c29150000'), "name"=>"Zack Jacobs", "reference"=>"Delbert Reinger", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c29160000'), "firstname"=>"Daphnee", "lastname"=>"Keeling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53c9583e7735336c29150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c29170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms Redirected to http://test.host/admin/products/53c9583e7735336c29150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29180000'), "name"=>"Yasmine Swift", "reference"=>"Salvatore Gutkowski", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c29190000'), "firstname"=>"Gabriel", "lastname"=>"D'Amore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53c9583e7735336c29190000", "product_id"=>"53c9583e7735336c29180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms 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_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c291a0000'), "name"=>"Mrs. Era Gislason", "reference"=>"Una Medhurst II", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c291b0000'), "firstname"=>"Armand", "lastname"=>"Schulist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53c9583e7735336c291a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c291a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c291c0000'), "name"=>"Horace Dickens", "reference"=>"Hunter Ullrich", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c291d0000'), "firstname"=>"Dortha", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53c9583e7735336c291d0000", "product_id"=>"53c9583e7735336c291c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c291c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c291e0000'), "name"=>"Miss Lucious Kovacek", "reference"=>"Miss Tom Hegmann", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c291f0000'), "firstname"=>"Laurence", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53c9583e7735336c291f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53c9583e7735336c291e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c291e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53c9583e7735336c291e0000/manager 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('53c9583e7735336c29200000'), "name"=>"Brenden Klein", "reference"=>"Amya Goldner", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.2818ms 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('53c9583e7735336c29210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Redirected to http://test.host/admin/products/53c9583e7735336c29210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29220000'), "name"=>"Lacey Greenholt", "reference"=>"Bella Littel III", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2233ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53c9583e7735336c29220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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.1946ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29230000'), "name"=>"Celestino Tillman", "reference"=>"Miss Fanny Borer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53c9583e7735336c29230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29240000'), "name"=>"Janie Reichel", "reference"=>"Marquis O'Conner", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms 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.7079ms Completed 200 OK in 43ms (Views: 42.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29250000'), "name"=>"Edison Stehr MD", "reference"=>"Justyn Ryan", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53c9583e7735336c29280000'), "name"=>"Aditya Von", "reference"=>"Joannie Schaden Jr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53c9583e7735336c29280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms 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('53c9583e7735336c29290000'), "name"=>"Kiana Klocko", "reference"=>"Wilbert Wuckert", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53c9583e7735336c29290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms Redirected to http://test.host/admin/products/53c9583e7735336c29290000 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('53c9583e7735336c292a0000'), "firstname"=>"Aiyana", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2606ms 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('53c9583e7735336c292b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Redirected to http://test.host/admin/users/53c9583e7735336c292b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2454ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c292c0000'), "firstname"=>"Floyd", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2138ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53c9583e7735336c292c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583e7735336c292c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583e7735336c292c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms 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.2154ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c292d0000'), "firstname"=>"Floyd", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53c9583e7735336c292d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583e7735336c292d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53c9583e7735336c292e0000'), "firstname"=>"Edmond", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms 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.3817ms 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('53c9583e7735336c292f0000'), "firstname"=>"Omari", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29300000'), "firstname"=>"Floyd", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53c9583e7735336c29300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583e7735336c29300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29310000'), "firstname"=>"Floyd", "lastname"=>"Graham"}] 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"=>"53c9583e7735336c29310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583e7735336c29310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53c9583e7735336c29310000 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('53c9583e7735336c29320000'), "firstname"=>"Heaven", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9433ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2556ms 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('53c9583e7735336c29330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms 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.1582ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29340000'), "firstname"=>"Ansel", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53c9583e7735336c29340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29340000')} 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.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29350000'), "firstname"=>"Heaven", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29360000'), "firstname"=>"Cheyenne", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53c9583e7735336c29360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms Completed 200 OK in 36ms (Views: 34.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29370000'), "firstname"=>"Arlene", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53c9583e7735336c29370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53c9583e7735336c29370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms 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('53c9583e7735336c29380000'), "name"=>"Nella Bode", "reference"=>"Syble Beier", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29390000'), "author_name"=>"Maximus Huels", "content"=>["Voluptatum explicabo vel. Et non qui reiciendis aliquid non dignissimos dolores. Illo doloremque cumque aliquid nobis ab earum quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53c9583e7735336c29380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29380000')} 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('53c9583e7735336c29380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53c9583e7735336c293a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms Redirected to http://test.host/products/53c9583e7735336c29380000/comments/53c9583e7735336c293a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c293b0000'), "name"=>"Jose Wyman", "reference"=>"Sam Leffler", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c293c0000'), "author_name"=>"Rahsaan Wintheiser", "content"=>["Cumque enim est nulla eius sit. Quo quia in provident consequuntur cum nesciunt inventore. Eius assumenda voluptatem ut qui. Atque illum dolorum modi maxime non eius minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53c9583e7735336c293b0000", "id"=>"53c9583e7735336c293c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53c9583e7735336c293c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Redirected to http://test.host/products/53c9583e7735336c293b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c293d0000'), "name"=>"Jaunita Luettgen", "reference"=>"Cody Lemke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c293e0000'), "author_name"=>"Sydnee Von", "content"=>["Cupiditate autem expedita mollitia. Qui dignissimos est enim delectus totam. Et asperiores voluptates. Culpa ut error saepe rerum rem ipsum perferendis. Harum aspernatur vitae fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53c9583e7735336c293d0000", "id"=>"53c9583e7735336c293e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c293f0000'), "name"=>"Marco Kshlerin DDS", "reference"=>"Webster Funk PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29400000'), "author_name"=>"Vivienne King", "content"=>["Ad nihil dolores. Eum magnam odit at deleniti non. Velit rem eum. Eum et omnis magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7288ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53c9583e7735336c293f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c293f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4068ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29410000'), "name"=>"Ron Sanford", "reference"=>"Raymundo Mueller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29420000'), "author_name"=>"Dr. Abdiel Lakin", "content"=>["Porro sunt totam nihil asperiores. Vel inventore tempore saepe. Maxime quisquam et ipsum quis id nemo optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5386ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53c9583e7735336c29410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29430000'), "name"=>"Sid Stamm", "reference"=>"Kirsten Haley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29440000'), "author_name"=>"Berry Cormier", "content"=>["Laboriosam eveniet ea. Sunt consequatur quasi sapiente consequuntur. Voluptatibus magnam quo enim. Itaque illum est reprehenderit maiores atque nihil necessitatibus. Tenetur eligendi cum dolorem quia numquam ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53c9583e7735336c29430000", "id"=>"53c9583e7735336c29440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29450000'), "name"=>"Juliet Becker", "reference"=>"Ms. Genoveva Jakubowski", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29460000'), "author_name"=>"Ms. Florencio Kunde", "content"=>["Dolorem aliquam dolores inventore eaque. Illo possimus et non voluptatem. Sit incidunt facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53c9583e7735336c29450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29470000'), "name"=>"Cathryn Halvorson", "reference"=>"Simone Franecki", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c29480000'), "author_name"=>"Mr. Rosalee Reynolds", "content"=>["Sed reiciendis labore alias. Dignissimos cupiditate quibusdam aut et sit ut. Illum in id officiis deleniti ipsum nihil dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53c9583e7735336c29470000", "id"=>"53c9583e7735336c29480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29490000'), "name"=>"Jeremy Abshire", "reference"=>"Rollin Beatty", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583e7735336c294a0000'), "author_name"=>"Rhett Raynor", "content"=>["Voluptas in vel et aliquam. Quidem ut delectus sed molestias blanditiis. Et sequi quod tempora quasi ut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53c9583e7735336c294a0000", "product_id"=>"53c9583e7735336c29490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c29490000')} 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('53c9583e7735336c29490000'), "comments._id"=>BSON::ObjectId('53c9583e7735336c294a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms Redirected to http://test.host/products/53c9583e7735336c29490000/comments/53c9583e7735336c294a0000 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('53c9583e7735336c294b0000'), "firstname"=>"Asia", "lastname"=>"Jacobs"}] 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.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('53c9583e7735336c294c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Redirected to http://test.host/admin/clients/53c9583e7735336c294c0000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c294d0000'), "firstname"=>"Vincenzo", "lastname"=>"Boyle"}] 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.1890ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53c9583e7735336c294d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c294d0000')} 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('53c9583e7735336c294d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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.2002ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c294e0000'), "firstname"=>"Eliseo", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53c9583e7735336c294e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c294e0000')} 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: 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('53c9583e7735336c294f0000'), "firstname"=>"Sandrine", "lastname"=>"Simonis"}] 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.3064ms 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('53c9583e7735336c29500000'), "firstname"=>"Simone", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29510000'), "firstname"=>"Delpha", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53c9583e7735336c29510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29520000'), "firstname"=>"Darron", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53c9583e7735336c29520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms Redirected to http://test.host/admin/clients/53c9583e7735336c29520000 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('53c9583e7735336c29530000'), "firstname"=>"Jannie", "lastname"=>"Bernier"}] 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=>"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('53c9583e7735336c29540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms Redirected to http://test.host/clients/53c9583e7735336c29540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1984ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29550000'), "firstname"=>"Stanley", "lastname"=>"Batz"}] 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.1779ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53c9583e7735336c29550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms 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.1895ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29560000'), "firstname"=>"Katarina", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53c9583e7735336c29560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms 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('53c9583e7735336c29570000'), "firstname"=>"Paris", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms 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('53c9583e7735336c29580000'), "firstname"=>"Millie", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53c9583e7735336c29590000'), "firstname"=>"Lucile", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53c9583e7735336c29590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c29590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms 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('53c9583e7735336c295a0000'), "firstname"=>"Marques", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53c9583e7735336c295a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53c9583e7735336c295a0000')} 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('53c9583e7735336c295a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms Redirected to http://test.host/clients/53c9583e7735336c295a0000 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('53c9583e7735336c295b0000'), "name"=>"Mrs. Wilford Hintz", "reference"=>"Mr. Tiara Hessel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c295c0000'), "firstname"=>"Cleve", "lastname"=>"Schroeder"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6753ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53c9583e7735336c295b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c295b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c295b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c295b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c295d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Redirected to http://test.host/products/53c9583e7735336c295b0000/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('53c9583e7735336c295e0000'), "name"=>"Kelton Barton", "reference"=>"Anabelle O'Keefe", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53c9583e7735336c295f0000'), "firstname"=>"Myriam", "lastname"=>"Dicki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53c9583e7735336c295f0000", "product_id"=>"53c9583e7735336c295e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583e7735336c295e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29600000'), "name"=>"Kenton Baumbach", "reference"=>"Dr. Bettie Will", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53c9583f7735336c29610000'), "firstname"=>"Antwan", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53c9583f7735336c29600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29620000'), "name"=>"Dr. Gerard Kovacek", "reference"=>"Zander Hahn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53c9583f7735336c29630000'), "firstname"=>"Yasmeen", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53c9583f7735336c29630000", "product_id"=>"53c9583f7735336c29620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29640000'), "name"=>"Arianna Wisoky", "reference"=>"Earnest Schuppe", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53c9583f7735336c29650000'), "firstname"=>"Mittie", "lastname"=>"Nicolas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53c9583f7735336c29650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53c9583f7735336c29640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms Unpermitted parameters: name Redirected to http://test.host/products/53c9583f7735336c29640000/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('53c9583f7735336c29660000'), "name"=>"Letitia Yundt III", "reference"=>"Melany Lueilwitz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5668ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2951ms 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('53c9583f7735336c29670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms Redirected to http://test.host/products/53c9583f7735336c29670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2114ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29680000'), "name"=>"Daisy Parker", "reference"=>"Evelyn DuBuque", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms 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"=>"53c9583f7735336c29680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29680000')} 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('53c9583f7735336c29680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms 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.1983ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29690000'), "name"=>"Karlee Heidenreich", "reference"=>"Ms. Dorthy Simonis", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53c9583f7735336c29690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c296a0000'), "name"=>"Osbaldo Weber", "reference"=>"Erica Runolfsson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms 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.7153ms Completed 200 OK in 19ms (Views: 18.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c296b0000'), "name"=>"Dr. Della Marvin", "reference"=>"Ivory Purdy", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms 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.6781ms 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('53c9583f7735336c296c0000'), "name"=>"Aimee Hahn", "reference"=>"Anita Kohler", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53c9583f7735336c296c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c296c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms 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('53c9583f7735336c296d0000'), "name"=>"Leanna Deckow", "reference"=>"Laverne Stoltenberg", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53c9583f7735336c296f0000'), "name"=>"Dr. Evie Conroy", "reference"=>"Tre Anderson IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53c9583f7735336c296f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c296f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29700000'), "name"=>"Germaine Reilly", "reference"=>"Everett Balistreri", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2061ms 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('53c9583f7735336c29710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29720000'), "name"=>"Roxanne Gulgowski", "reference"=>"Annabell Treutel", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53c9583f7735336c29720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29720000')} 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('53c9583f7735336c29720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms 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('53c9583f7735336c29730000'), "name"=>"Concepcion Powlowski V", "reference"=>"Mr. Liam Weber", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms 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('53c9583f7735336c29750000'), "name"=>"Estrella Hessel", "reference"=>"Rae Pfeffer", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53c9583f7735336c29750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29750000')} 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('53c9583f7735336c29750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms 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('53c9583f7735336c29760000'), "name"=>"Clair Rogahn", "reference"=>"Ms. Lonnie Berge", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53c9583f7735336c29760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms Redirected to http://test.host/products/53c9583f7735336c29760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29790000'), "name"=>"Reuben Smith", "reference"=>"Ms. Leonel Wolf", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29770000'), "author_name"=>"Asia Wiza", "content"=>["Nostrum debitis architecto veritatis. Laudantium aut ullam sit architecto atque. Dolor quidem molestiae autem. Recusandae officiis quis. Vero exercitationem aliquam ut iure id architecto."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29780000'), "author_name"=>"Harmony Lemke", "content"=>["Nihil tempore sed ullam aut et fuga inventore. Praesentium tempore consequatur. Quis error adipisci quaerat architecto reprehenderit deserunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53c9583f7735336c29790000", "comment_id"=>"53c9583f7735336c29770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29790000'), "comments._id"=>BSON::ObjectId('53c9583f7735336c29770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53c9583f7735336c297a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms Redirected to http://test.host/products/53c9583f7735336c29790000/comments/53c9583f7735336c29770000/comments/53c9583f7735336c297a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c297d0000'), "name"=>"Damien Kuphal", "reference"=>"Kayleigh Bogisich DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c297b0000'), "author_name"=>"Shanie Rosenbaum Sr.", "content"=>["Iure non nihil explicabo quas voluptate porro reprehenderit. Officiis possimus dolor dolor minus sapiente tempore in. Recusandae ipsa illum unde delectus magni qui est. Maiores cumque sit aperiam perspiciatis modi rerum ducimus. A in totam molestiae eveniet consequatur voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c297c0000'), "author_name"=>"Lenora Schoen", "content"=>["Et sit non. Autem et adipisci architecto tempora voluptas. Iusto molestiae corporis quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c297d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53c9583f7735336c297d0000", "comment_id"=>"53c9583f7735336c297b0000", "id"=>"53c9583f7735336c297c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c297d0000')} 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('53c9583f7735336c297d0000'), "comments._id"=>BSON::ObjectId('53c9583f7735336c297b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53c9583f7735336c297c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Redirected to http://test.host/products/53c9583f7735336c297d0000/comments/53c9583f7735336c297b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c297d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29800000'), "name"=>"Bert Ratke", "reference"=>"Jasen Mosciski PhD", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c297e0000'), "author_name"=>"Trycia Senger", "content"=>["Aspernatur necessitatibus est et temporibus nihil. Vitae qui dolores nostrum quo. Repellendus est quaerat fugiat sed non. Voluptatem explicabo cumque ea."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c297f0000'), "author_name"=>"Rubye Davis Sr.", "content"=>["Amet cum esse et. Sunt iste eos laboriosam doloremque ducimus. Sit exercitationem laboriosam quisquam voluptatem dignissimos nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53c9583f7735336c29800000", "comment_id"=>"53c9583f7735336c297e0000", "id"=>"53c9583f7735336c297f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29830000'), "name"=>"Willard Dietrich", "reference"=>"Tony Macejkovic", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29810000'), "author_name"=>"Trenton Mills", "content"=>["Perspiciatis tempora laboriosam. Ut quasi perferendis sunt quo voluptatum. Qui ab eos qui iusto consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29820000'), "author_name"=>"Matt Mayert", "content"=>["Rerum numquam ipsum voluptatum ut non enim. Reiciendis minima quibusdam molestias commodi sit consequatur rem. Molestias aut cumque et enim hic magnam reiciendis. Repudiandae laboriosam aliquam asperiores sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53c9583f7735336c29830000", "comment_id"=>"53c9583f7735336c29810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29860000'), "name"=>"Mr. Julian Carroll", "reference"=>"Osbaldo Turcotte", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29840000'), "author_name"=>"Ms. Pearlie O'Reilly", "content"=>["Incidunt ut itaque fuga. Ut commodi aperiam est et. Nesciunt eos autem omnis illo fuga voluptas. Sed ut consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29850000'), "author_name"=>"Dimitri Wilderman", "content"=>["Facilis vero dignissimos esse ullam quia nisi perspiciatis. Veritatis recusandae enim. Voluptate recusandae ducimus asperiores et. Sequi quidem non ut commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1452ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53c9583f7735336c29860000", "comment_id"=>"53c9583f7735336c29840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29890000'), "name"=>"Judson Mante", "reference"=>"Ms. Stella Sauer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29870000'), "author_name"=>"Seamus McKenzie", "content"=>["Aut quis veniam laudantium itaque explicabo ut non. Deserunt non perspiciatis tempore nihil id dolores. Doloremque officiis perspiciatis perferendis porro et. Quia sit officiis in."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29880000'), "author_name"=>"Pietro Herzog Jr.", "content"=>["Architecto officia quam. Nihil consequuntur omnis beatae blanditiis eum aut. Qui officiis illo. Vel voluptatem velit dolores quos quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53c9583f7735336c29890000", "comment_id"=>"53c9583f7735336c29870000", "id"=>"53c9583f7735336c29880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c298c0000'), "name"=>"Francis Harris", "reference"=>"Pete Effertz", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c298a0000'), "author_name"=>"Mr. Dianna Murray", "content"=>["Ex facere beatae id modi sit a impedit. Expedita ut sit. Vel quis voluptatem inventore. Qui tenetur dolorem. Esse consequatur numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c298b0000'), "author_name"=>"Jackie Yundt", "content"=>["Qui quasi qui. Aliquam reiciendis quia non perspiciatis quasi. Eos autem reiciendis sunt repudiandae iure repellat suscipit. Vitae velit veniam magni mollitia eveniet tempore quae. Exercitationem magni modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53c9583f7735336c298c0000", "comment_id"=>"53c9583f7735336c298a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c298c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c298f0000'), "name"=>"Delphine Kohler", "reference"=>"Magdalen Sawayn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c298d0000'), "author_name"=>"Dewitt Rice", "content"=>["Dolorem rem id neque. Quasi aliquam voluptates non aspernatur sint et et. Necessitatibus facilis accusantium est aperiam possimus. Sunt et consectetur nam voluptatem sunt suscipit. Accusamus ut non quia iste natus qui."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c298e0000'), "author_name"=>"Omer Funk DDS", "content"=>["Aut vero harum repudiandae recusandae. Voluptatem aut magni recusandae eos ad quibusdam. Provident quos et excepturi nam omnis corporis dolor. Voluptatem quia veritatis placeat rem consequatur voluptatem aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53c9583f7735336c298f0000", "comment_id"=>"53c9583f7735336c298d0000", "id"=>"53c9583f7735336c298e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c298f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29920000'), "name"=>"Ludwig Spinka", "reference"=>"Alene Boyle", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29900000'), "author_name"=>"Pedro Rowe", "content"=>["Officia saepe voluptates enim autem maiores. Consequatur et consectetur quos vel velit illum. Vitae sit fugit. Suscipit in ut molestias beatae doloribus adipisci. Veritatis eaque sit."], "comments"=>[{"_id"=>BSON::ObjectId('53c9583f7735336c29910000'), "author_name"=>"Dr. Miles Kuvalis", "content"=>["Tenetur sed magni officia molestias corporis. Nostrum veritatis qui ut molestiae nemo. Iste architecto voluptatem. Inventore repudiandae velit laudantium quia. Dolor veritatis molestias non et nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53c9583f7735336c29910000", "product_id"=>"53c9583f7735336c29920000", "comment_id"=>"53c9583f7735336c29900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53c9583f7735336c29920000'), "comments._id"=>BSON::ObjectId('53c9583f7735336c29900000'), "comments.0.comments._id"=>BSON::ObjectId('53c9583f7735336c29910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms Redirected to http://test.host/products/53c9583f7735336c29920000/comments/53c9583f7735336c29900000/comments/53c9583f7735336c29910000 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('53c9583f7735336c29930000'), "firstname"=>"Rick", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5112ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2895ms 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('53c9583f7735336c29940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Redirected to http://test.host/users/53c9583f7735336c29940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2467ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29950000'), "firstname"=>"Rosalind", "lastname"=>"Lynch"}] 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=>"admin_users", :query=>{}} runtime: 0.2166ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53c9583f7735336c29950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583f7735336c29950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583f7735336c29950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms 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.2135ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29960000'), "firstname"=>"Guiseppe", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53c9583f7735336c29960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583f7735336c29960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29970000'), "firstname"=>"Roman", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms 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.4363ms Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29980000'), "firstname"=>"Rowan", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.3ms) Completed 200 OK in 30ms (Views: 29.4ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53c9583f7735336c29990000'), "firstname"=>"Demetris", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5869ms Processing by UsersController#show as HTML Parameters: {"id"=>"53c9583f7735336c29990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583f7735336c29990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms 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('53c9583f7735336c299a0000'), "firstname"=>"Jeffry", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53c9583f7735336c299a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53c9583f7735336c299a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms Unpermitted parameters: name Redirected to http://test.host/users/53c9583f7735336c299a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5797ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29017735330e90000000'), "firstname"=>"Claudie", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 90.6708ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2981ms 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('53df29027735330e90010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8057ms Redirected to http://test.host/admin/administrator Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4663ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90020000'), "firstname"=>"Alessandra", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7346ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df29027735330e90020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6025ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (48.4ms) Completed 200 OK in 183ms (Views: 180.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90030000'), "firstname"=>"Sabina", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7383ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 9ms (Views: 7.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90040000'), "firstname"=>"Margret", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.4710ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df29027735330e90040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5874ms Completed 200 OK in 7ms (Views: 4.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90050000'), "firstname"=>"Raegan", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6751ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df29027735330e90050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90060000'), "name"=>"Roberto Deckow", "reference"=>"Alfredo Hegmann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90070000'), "author_name"=>"Rosario Runolfsson", "content"=>["Distinctio est magni et et soluta. Neque porro eius. Dolorem et velit. Suscipit quidem placeat repellat quod beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df29027735330e90060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df29027735330e90080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms Redirected to http://test.host/admin/products/53df29027735330e90060000/comments/53df29027735330e90080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90090000'), "name"=>"Mrs. Hilma Rippin", "reference"=>"Santiago Brekke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e900a0000'), "author_name"=>"Ms. Parker Rutherford", "content"=>["Tempora possimus dolore deleniti. Pariatur ea omnis. Ab possimus voluptas. Aut sed nulla aperiam in et ad unde. Necessitatibus minima ipsam officiis cupiditate culpa consequatur quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df29027735330e90090000", "id"=>"53df29027735330e900a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90090000')} 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('53df29027735330e90090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df29027735330e900a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms Redirected to http://test.host/admin/products/53df29027735330e90090000/comments Completed 302 Found in 34ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e900b0000'), "name"=>"Noemi Ankunding", "reference"=>"Lexi Fay", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e900c0000'), "author_name"=>"Wilfredo Feest DVM", "content"=>["Est rerum natus nam qui voluptatibus aliquam eum. Inventore molestiae suscipit nemo dolores unde laborum. Impedit animi ea nostrum repudiandae qui. Qui illum consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df29027735330e900b0000", "id"=>"53df29027735330e900c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e900b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e900d0000'), "name"=>"Tressa Parker Jr.", "reference"=>"Madalyn Boyer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e900e0000'), "author_name"=>"Lorenz Goyette", "content"=>["Voluptatem itaque quia qui consequuntur totam rerum. Quia maiores reprehenderit. Perspiciatis ut sed architecto. Repudiandae et sapiente. Quisquam rerum dolores laudantium omnis aperiam ut animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df29027735330e900d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e900d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e900f0000'), "name"=>"Damien Veum", "reference"=>"Dr. Lillian Purdy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90100000'), "author_name"=>"Juliana Marvin", "content"=>["Maiores impedit provident. Voluptas natus consectetur laboriosam nulla quo itaque et. Asperiores consequatur est quasi sunt delectus. Soluta est fuga fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df29027735330e900f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e900f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90110000'), "name"=>"Anabelle Hudson", "reference"=>"Miss Noemi Jacobson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90120000'), "author_name"=>"Nikolas Beahan Jr.", "content"=>["Est pariatur sit. Eos officiis tenetur veritatis perferendis ut in voluptate. Necessitatibus mollitia debitis aliquam sit dolores asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df29027735330e90110000", "id"=>"53df29027735330e90120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90130000'), "name"=>"Imelda Botsford", "reference"=>"Catalina Torp", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90140000'), "author_name"=>"Lorenzo Bins", "content"=>["Dolorem consequatur enim expedita hic. Placeat officia fugit adipisci. Est odio iure. Doloribus numquam qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df29027735330e90140000", "product_id"=>"53df29027735330e90130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90130000')} 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('53df29027735330e90130000'), "comments._id"=>BSON::ObjectId('53df29027735330e90140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms Redirected to http://test.host/admin/products/53df29027735330e90130000/comments/53df29027735330e90140000 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('53df29027735330e90150000'), "name"=>"Reece Kreiger", "reference"=>"Dr. Ashley Kuhic", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df29027735330e90160000'), "firstname"=>"Ned", "lastname"=>"Cassin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df29027735330e90150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df29027735330e90170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Redirected to http://test.host/admin/products/53df29027735330e90150000/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('53df29027735330e90180000'), "name"=>"Haley Breitenberg PhD", "reference"=>"Mekhi Waelchi", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df29027735330e90190000'), "firstname"=>"Delfina", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7477ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df29027735330e90190000", "product_id"=>"53df29027735330e90180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e901a0000'), "name"=>"Mr. Cole Cummings", "reference"=>"Miss Lemuel Daniel", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df29027735330e901b0000'), "firstname"=>"Zoila", "lastname"=>"Ward"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df29027735330e901a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e901a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e901c0000'), "name"=>"Tierra Sanford", "reference"=>"Ola Heidenreich", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df29027735330e901d0000'), "firstname"=>"Garret", "lastname"=>"Will"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df29027735330e901d0000", "product_id"=>"53df29027735330e901c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e901c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e901e0000'), "name"=>"Miss Patsy Goldner", "reference"=>"Sigrid Hegmann III", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df29027735330e901f0000'), "firstname"=>"Jillian", "lastname"=>"Hauck"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df29027735330e901f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df29027735330e901e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e901e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3865ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df29027735330e901e0000/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('53df29027735330e90200000'), "name"=>"Dr. Brendon Dach", "reference"=>"Jamir Gibson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3281ms 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('53df29027735330e90210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms Redirected to http://test.host/admin/products/53df29027735330e90210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2893ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90220000'), "name"=>"Maribel Koelpin", "reference"=>"Miss Allie Kuvalis", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.2779ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df29027735330e90220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms 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.2881ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90230000'), "name"=>"Noelia Russel", "reference"=>"Opal Senger III", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df29027735330e90230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.7ms) Completed 200 OK in 40ms (Views: 38.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90240000'), "name"=>"Mr. Clarabelle Hayes", "reference"=>"Demetris Ullrich", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5720ms 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.7013ms Completed 200 OK in 13ms (Views: 12.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90250000'), "name"=>"Ms. Maria Bauch", "reference"=>"Douglas Treutel", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms 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: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90280000'), "name"=>"Maribel Hamill PhD", "reference"=>"Krystal Abshire", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df29027735330e90280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms 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('53df29027735330e90290000'), "name"=>"Miss Max Grimes", "reference"=>"Mac Kerluke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df29027735330e90290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3903ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms Redirected to http://test.host/admin/products/53df29027735330e90290000 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('53df29027735330e902a0000'), "firstname"=>"Humberto", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5619ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3467ms 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('53df29027735330e902b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms Redirected to http://test.host/admin/users/53df29027735330e902b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2884ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29027735330e902c0000'), "firstname"=>"Junior", "lastname"=>"Keebler"}] 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=>"admin_users", :query=>{}} runtime: 0.2713ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df29027735330e902c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29027735330e902c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3999ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29027735330e902c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms 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.2843ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29027735330e902d0000'), "firstname"=>"Jennie", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df29027735330e902d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29027735330e902d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms 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('53df29027735330e902e0000'), "firstname"=>"Kelsie", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms 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.3959ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29027735330e902f0000'), "firstname"=>"Arely", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29027735330e90300000'), "firstname"=>"Joshuah", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df29027735330e90300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29027735330e90300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms 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('53df29027735330e90310000'), "firstname"=>"Amani", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df29027735330e90310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29027735330e90310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df29027735330e90310000 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('53df29027735330e90320000'), "firstname"=>"Hattie", "lastname"=>"Waters"}] 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=>"administrators", :query=>{}} runtime: 0.2331ms 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('53df29027735330e90330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms 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.2504ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90340000'), "firstname"=>"Louie", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df29027735330e90340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90340000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90350000'), "firstname"=>"Alessandra", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.8ms) Completed 200 OK in 38ms (Views: 37.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90360000'), "firstname"=>"Justice", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5487ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df29027735330e90360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df29027735330e90370000'), "firstname"=>"Juvenal", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df29027735330e90370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df29027735330e90370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms 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('53df29027735330e90380000'), "name"=>"Josefa Watsica", "reference"=>"Domenic Von", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90390000'), "author_name"=>"Eugenia Mante", "content"=>["Facere qui quia quo autem dolorem molestiae. Non culpa error beatae numquam dolorum sunt. Aut et temporibus dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df29027735330e90380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df29027735330e903a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Redirected to http://test.host/products/53df29027735330e90380000/comments/53df29027735330e903a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e903b0000'), "name"=>"Mrs. Karolann Rempel", "reference"=>"Mr. Domenic Sporer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e903c0000'), "author_name"=>"Miss Freida Hermiston", "content"=>["Magni facilis laboriosam. Unde maiores impedit enim accusantium nesciunt ut. Nihil debitis distinctio occaecati vel ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e903b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df29027735330e903b0000", "id"=>"53df29027735330e903c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e903b0000')} 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('53df29027735330e903b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df29027735330e903c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms Redirected to http://test.host/products/53df29027735330e903b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e903b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e903d0000'), "name"=>"Mae Hirthe III", "reference"=>"Carmela Pagac", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e903e0000'), "author_name"=>"Mrs. Elvis Moore", "content"=>["Ipsa officiis itaque totam debitis qui. Dolore ut facere optio quibusdam quo id. Consequuntur voluptatum qui eligendi. Vel vitae praesentium ad labore. Est beatae expedita non ipsum in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df29027735330e903d0000", "id"=>"53df29027735330e903e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e903d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e903f0000'), "name"=>"Carson Hickle", "reference"=>"Isaias MacGyver", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90400000'), "author_name"=>"Marc Davis Sr.", "content"=>["Ipsa ad ea aut aut. Alias dolore ducimus quasi. Sit error occaecati esse vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df29027735330e903f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e903f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90410000'), "name"=>"Irving Price", "reference"=>"Ernie Torp", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90420000'), "author_name"=>"Carson Paucek", "content"=>["Dolor nemo non temporibus ratione facere quas. Tempora cum ut facere voluptatum eius. Totam sit non laboriosam vitae et. Tenetur quidem eveniet illum non omnis voluptatem aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df29027735330e90410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90430000'), "name"=>"Miss Alanis Weissnat", "reference"=>"Milton Kovacek", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90440000'), "author_name"=>"Evert Bode MD", "content"=>["Earum eum autem maxime officiis omnis tempore facere. Commodi incidunt perspiciatis ad aperiam vero et. Delectus eos voluptatum voluptates. Eos quisquam corporis quae pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df29027735330e90430000", "id"=>"53df29027735330e90440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90450000'), "name"=>"Hillary Bogan", "reference"=>"Miss Anne Graham", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90460000'), "author_name"=>"Favian Champlin", "content"=>["Similique quos et quia nostrum. Consectetur molestiae libero. Voluptatibus ipsum architecto repellendus fugit veritatis enim voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df29027735330e90450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90470000'), "name"=>"Tate Eichmann", "reference"=>"Dwight Nitzsche", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e90480000'), "author_name"=>"Mr. Anya Herzog", "content"=>["Molestiae expedita doloremque in ipsa omnis. Possimus quo mollitia neque tempora. Alias numquam vitae. Illum perspiciatis esse doloribus magni. Officiis et odit sint soluta facilis mollitia laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df29027735330e90470000", "id"=>"53df29027735330e90480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29027735330e90490000'), "name"=>"Emily Mayert", "reference"=>"Mr. Lenore Wuckert", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df29027735330e904a0000'), "author_name"=>"Wilhelm Kuhn", "content"=>["Molestiae in porro autem corporis. Voluptatem minima id. Expedita est tenetur. Asperiores ut voluptatem similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df29027735330e904a0000", "product_id"=>"53df29027735330e90490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29027735330e90490000'), "comments._id"=>BSON::ObjectId('53df29027735330e904a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Redirected to http://test.host/products/53df29027735330e90490000/comments/53df29027735330e904a0000 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('53df29027735330e904b0000'), "firstname"=>"Ricardo", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8351ms 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('53df29027735330e904c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Redirected to http://test.host/admin/clients/53df29027735330e904c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1951ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29027735330e904d0000'), "firstname"=>"Cordell", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms 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"=>"53df29027735330e904d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e904d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e904d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms 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.1804ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29027735330e904e0000'), "firstname"=>"Kailyn", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df29027735330e904e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e904e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29027735330e904f0000'), "firstname"=>"Marlene", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms Completed 200 OK in 39ms (Views: 38.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29027735330e90500000'), "firstname"=>"Elena", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5290ms 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.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29027735330e90510000'), "firstname"=>"Marlen", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df29027735330e90510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e90510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms 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('53df29027735330e90520000'), "firstname"=>"Harrison", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df29027735330e90520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e90520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29027735330e90520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms Redirected to http://test.host/admin/clients/53df29027735330e90520000 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('53df29037735330e90530000'), "firstname"=>"Tyler", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms 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('53df29037735330e90540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms Redirected to http://test.host/clients/53df29037735330e90540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2394ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29037735330e90550000'), "firstname"=>"Alfred", "lastname"=>"Mitchell"}] 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=>"clients", :query=>{}} runtime: 0.1757ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df29037735330e90550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29037735330e90550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29037735330e90550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms 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.1425ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df29037735330e90560000'), "firstname"=>"Oral", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df29037735330e90560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29037735330e90560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms 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('53df29037735330e90570000'), "firstname"=>"Letitia", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms 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('53df29037735330e90580000'), "firstname"=>"Karlie", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.3205ms 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('53df29037735330e90590000'), "firstname"=>"Caroline", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df29037735330e90590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29037735330e90590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms 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('53df29037735330e905a0000'), "firstname"=>"Graciela", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df29037735330e905a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df29037735330e905a0000')} 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('53df29037735330e905a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms Redirected to http://test.host/clients/53df29037735330e905a0000 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('53df29037735330e905b0000'), "name"=>"Ethyl Dare", "reference"=>"Bertram White", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df29037735330e905c0000'), "firstname"=>"Elton", "lastname"=>"Roberts"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df29037735330e905b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e905b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e905b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e905b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df29037735330e905d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms Redirected to http://test.host/products/53df29037735330e905b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e905e0000'), "name"=>"Giovani Predovic", "reference"=>"Ms. Gaston Homenick", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df29037735330e905f0000'), "firstname"=>"Rosalinda", "lastname"=>"Beatty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df29037735330e905f0000", "product_id"=>"53df29037735330e905e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e905e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90600000'), "name"=>"Abraham Dare", "reference"=>"Mrs. Rowland Kirlin", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df29037735330e90610000'), "firstname"=>"Benton", "lastname"=>"Quitzon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df29037735330e90600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90620000'), "name"=>"Favian Smith", "reference"=>"Jennie Leannon", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df29037735330e90630000'), "firstname"=>"Wallace", "lastname"=>"Turner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df29037735330e90630000", "product_id"=>"53df29037735330e90620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Completed 200 OK in 37ms (Views: 35.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90640000'), "name"=>"Queen Senger Jr.", "reference"=>"Edwina Emmerich", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df29037735330e90650000'), "firstname"=>"Cleveland", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df29037735330e90650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df29037735330e90640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Unpermitted parameters: name Redirected to http://test.host/products/53df29037735330e90640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90660000'), "name"=>"Damaris Walsh", "reference"=>"Kendra Bartell", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1583ms 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('53df29037735330e90670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms Redirected to http://test.host/products/53df29037735330e90670000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90680000'), "name"=>"Cheyanne Gutmann", "reference"=>"Alyce Pfeffer PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms 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"=>"53df29037735330e90680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90680000')} 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('53df29037735330e90680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms 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.2956ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90690000'), "name"=>"Xander Wehner", "reference"=>"Wanda Hane I", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df29037735330e90690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e906a0000'), "name"=>"Sydnee Waters", "reference"=>"Tessie Lynch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5688ms 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.8543ms Completed 200 OK in 19ms (Views: 18.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e906b0000'), "name"=>"Darius Howell", "reference"=>"Jaydon Blick", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms 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.8077ms 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('53df29037735330e906c0000'), "name"=>"Marcelina Bartell DDS", "reference"=>"Ada Jaskolski", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df29037735330e906c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e906c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms 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('53df29037735330e906d0000'), "name"=>"Isaiah Windler", "reference"=>"Clyde Flatley", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 7.2ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e906f0000'), "name"=>"Richie Schaefer", "reference"=>"Hector Howell MD", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df29037735330e906f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e906f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms Completed 200 OK in 5ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90700000'), "name"=>"Miss Alexis Turner", "reference"=>"Alana Reinger", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2948ms 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('53df29037735330e90710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4242ms Completed 201 Created in 8ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2053ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90720000'), "name"=>"Sofia Graham", "reference"=>"Arnoldo Turner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df29037735330e90720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90720000')} 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('53df29037735330e90720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms Completed 200 OK in 26ms (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('53df29037735330e90730000'), "name"=>"Tristian Mann IV", "reference"=>"Josh Reynolds", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms 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('53df29037735330e90750000'), "name"=>"Pansy Von III", "reference"=>"Bettie Ritchie Jr.", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df29037735330e90750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms 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('53df29037735330e90760000'), "name"=>"Elouise Cormier", "reference"=>"Dr. Jaunita Thiel", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df29037735330e90760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms Redirected to http://test.host/products/53df29037735330e90760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90790000'), "name"=>"Mrs. Mikayla Dach", "reference"=>"Lysanne Green MD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90770000'), "author_name"=>"Kendrick Erdman", "content"=>["Doloremque officia tempore animi. Et quam itaque dolores molestiae et quidem. Fuga vel officiis laboriosam praesentium sit. Voluptas aut ut commodi numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90780000'), "author_name"=>"Mariela Wuckert DDS", "content"=>["Veritatis ex neque totam. Iure esse sit. Quam sed dolore voluptates. Ut consequatur a tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df29037735330e90790000", "comment_id"=>"53df29037735330e90770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90790000'), "comments._id"=>BSON::ObjectId('53df29037735330e90770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df29037735330e907a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Redirected to http://test.host/products/53df29037735330e90790000/comments/53df29037735330e90770000/comments/53df29037735330e907a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e907d0000'), "name"=>"Colten Kohler", "reference"=>"Lazaro Jenkins III", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e907b0000'), "author_name"=>"Shea Smitham", "content"=>["Pariatur architecto quasi. Quasi nihil doloribus. Quae corrupti culpa. Doloremque aut non ipsa qui ratione est. Tenetur earum in vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e907c0000'), "author_name"=>"Brenden Hegmann", "content"=>["Qui magnam dicta necessitatibus omnis officia atque. Perspiciatis sit quisquam perferendis occaecati. Velit omnis fuga voluptates distinctio est optio. Sequi molestias eos dolore placeat quo accusantium nulla. Quia cumque rerum explicabo dolorum adipisci ducimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e907d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df29037735330e907d0000", "comment_id"=>"53df29037735330e907b0000", "id"=>"53df29037735330e907c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e907d0000')} 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('53df29037735330e907d0000'), "comments._id"=>BSON::ObjectId('53df29037735330e907b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df29037735330e907c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8652ms Redirected to http://test.host/products/53df29037735330e907d0000/comments/53df29037735330e907b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e907d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90800000'), "name"=>"Miss Elmore Cartwright", "reference"=>"Vincenza Hayes", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e907e0000'), "author_name"=>"Jerrod Tillman", "content"=>["Quia eos omnis blanditiis neque aut. Omnis qui mollitia et tempora odio. Atque dicta facere dolore in. Velit maiores vel. Provident dicta saepe hic omnis minus maiores nisi."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e907f0000'), "author_name"=>"Shaina Corwin", "content"=>["Amet enim ut soluta ex. Qui eos quod voluptates voluptas dolor. Asperiores quia soluta sequi. Eligendi non molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df29037735330e90800000", "comment_id"=>"53df29037735330e907e0000", "id"=>"53df29037735330e907f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90830000'), "name"=>"Samara Hodkiewicz", "reference"=>"Verna Mayer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90810000'), "author_name"=>"Tyree Kris", "content"=>["Exercitationem perspiciatis autem ut earum et laudantium. Aut pariatur nesciunt. Consequuntur nihil distinctio inventore. Et ullam et in."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90820000'), "author_name"=>"Lonny Crooks", "content"=>["Quis temporibus ab. Rerum non consequatur eos saepe quia. Eligendi odio et possimus quisquam et non. Qui ducimus perspiciatis facere optio a placeat est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df29037735330e90830000", "comment_id"=>"53df29037735330e90810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90860000'), "name"=>"Josie Simonis", "reference"=>"Shayna Gerhold", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90840000'), "author_name"=>"Colleen Shanahan", "content"=>["Minus et facere. Eum dolorum consequatur qui maiores. Provident facilis ratione maxime."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90850000'), "author_name"=>"Laverne Wolff", "content"=>["Et eum ab numquam saepe. Sunt dolorum qui molestiae animi enim vel repellendus. Et aut earum nemo quod reprehenderit et consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df29037735330e90860000", "comment_id"=>"53df29037735330e90840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90890000'), "name"=>"Carmelo Bartell", "reference"=>"Aurore Rodriguez", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90870000'), "author_name"=>"Kaylin Nicolas", "content"=>["Quod eaque voluptates et voluptas et. Error vitae et aliquid cupiditate velit minus. Et accusantium et ipsum tempore totam. Qui et qui eum expedita molestiae. Necessitatibus et sed officiis repudiandae rem molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90880000'), "author_name"=>"Miss Kellie Gerlach", "content"=>["Quisquam dolor cumque et officiis. Doloribus et exercitationem dicta. Alias quis excepturi ut fugiat at est in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df29037735330e90890000", "comment_id"=>"53df29037735330e90870000", "id"=>"53df29037735330e90880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4625ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e908c0000'), "name"=>"Mrs. Maiya Kuhic", "reference"=>"Courtney Kling", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e908a0000'), "author_name"=>"Dr. Retha Weissnat", "content"=>["Voluptas vel quaerat. Est sit molestiae cumque id est libero. Architecto minus maiores dolor. Officia laudantium eos vero praesentium assumenda sunt dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e908b0000'), "author_name"=>"Hilda Torp", "content"=>["Facilis cum illo. Quia numquam pariatur dolores cupiditate voluptatibus sint occaecati. Omnis porro modi voluptate occaecati inventore. Rerum voluptatem aut eum tempora reprehenderit quos. Sit a harum reiciendis numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df29037735330e908c0000", "comment_id"=>"53df29037735330e908a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e908c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e908f0000'), "name"=>"Demarcus Friesen", "reference"=>"Shanie Friesen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e908d0000'), "author_name"=>"Ms. Adonis Kling", "content"=>["Consequatur et explicabo quibusdam. Reprehenderit quo aperiam suscipit tempora soluta. Quis doloribus totam enim quibusdam."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e908e0000'), "author_name"=>"Dr. Brown Boyer", "content"=>["Nihil vero tempora cumque. Vel vel deleniti eos. Architecto ipsam et et. Voluptatem eveniet laborum quidem eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df29037735330e908f0000", "comment_id"=>"53df29037735330e908d0000", "id"=>"53df29037735330e908e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e908f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df29037735330e90920000'), "name"=>"Miss Quincy Waters", "reference"=>"Kari Bergnaum", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90900000'), "author_name"=>"Dr. Delphia Beier", "content"=>["Accusantium eius fuga cum reprehenderit quo. Modi ea placeat fugit inventore similique id. Quaerat optio vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df29037735330e90910000'), "author_name"=>"Edna McKenzie", "content"=>["Dolorem nam molestiae. Aut repellendus deserunt sed distinctio repudiandae consequuntur. Voluptatem veritatis fugiat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df29037735330e90910000", "product_id"=>"53df29037735330e90920000", "comment_id"=>"53df29037735330e90900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df29037735330e90920000'), "comments._id"=>BSON::ObjectId('53df29037735330e90900000'), "comments.0.comments._id"=>BSON::ObjectId('53df29037735330e90910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Redirected to http://test.host/products/53df29037735330e90920000/comments/53df29037735330e90900000/comments/53df29037735330e90910000 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('53df29037735330e90930000'), "firstname"=>"Akeem", "lastname"=>"Kunze"}] 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=>"admin_users", :query=>{}} runtime: 0.1643ms 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('53df29037735330e90940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Redirected to http://test.host/users/53df29037735330e90940000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29037735330e90950000'), "firstname"=>"Betsy", "lastname"=>"Muller"}] 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=>"admin_users", :query=>{}} runtime: 0.1501ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df29037735330e90950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29037735330e90950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29037735330e90950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms 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.1613ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29037735330e90960000'), "firstname"=>"Gunnar", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df29037735330e90960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29037735330e90960000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29037735330e90970000'), "firstname"=>"Jeanie", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms 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.3398ms Completed 200 OK in 33ms (Views: 32.0ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29037735330e90980000'), "firstname"=>"Chyna", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms 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.8ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df29037735330e90990000'), "firstname"=>"Amir", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df29037735330e90990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29037735330e90990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms 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('53df29037735330e909a0000'), "firstname"=>"Tristian", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df29037735330e909a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df29037735330e909a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Unpermitted parameters: name Redirected to http://test.host/users/53df29037735330e909a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms 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.3394ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms 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.3075ms 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.3070ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7000000'), "firstname"=>"Sierra", "lastname"=>"Hintz"}] 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=>"administrators", :query=>{}} runtime: 0.2377ms 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('53df296e7735330ee7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms 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.2561ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7020000'), "firstname"=>"Russel", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 47ms (Views: 45.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7030000'), "firstname"=>"Marcelo", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7040000'), "firstname"=>"Mason", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df296e7735330ee7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7050000'), "firstname"=>"Ollie", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.9503ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df296e7735330ee7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms 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('53df296e7735330ee7060000'), "name"=>"Quinten Kunde III", "reference"=>"Otho Parker", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7070000'), "author_name"=>"Jakob Rau", "content"=>["Aspernatur natus error et delectus modi. Minima ea impedit dicta eius sint rem nemo. Quasi fuga ad mollitia culpa. Voluptas similique provident laudantium cupiditate assumenda officiis non. Sunt earum fugit itaque vel fuga et est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df296e7735330ee7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3997ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms Redirected to http://test.host/admin/products/53df296e7735330ee7060000/comments/53df296e7735330ee7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7090000'), "name"=>"Melisa Okuneva", "reference"=>"Carroll Kling", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee70a0000'), "author_name"=>"Mr. Giovanni Renner", "content"=>["Dolor necessitatibus sequi. Suscipit quaerat harum accusantium quas qui. Repellat animi eum harum dolor omnis pariatur. Doloremque hic suscipit eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df296e7735330ee7090000", "id"=>"53df296e7735330ee70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7090000')} 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('53df296e7735330ee7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df296e7735330ee70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms Redirected to http://test.host/admin/products/53df296e7735330ee7090000/comments Completed 302 Found in 30ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee70b0000'), "name"=>"Elnora Marks DDS", "reference"=>"Mr. Jerald Connelly", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee70c0000'), "author_name"=>"Rachel Langosh", "content"=>["Repellat optio molestiae provident quasi aut. Quisquam eligendi aperiam voluptate omnis ratione architecto voluptatibus. Aut iure eos ipsa. Dolorum asperiores repudiandae molestiae quis at modi numquam. Qui molestiae fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df296e7735330ee70b0000", "id"=>"53df296e7735330ee70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee70d0000'), "name"=>"Miss Herbert Pollich", "reference"=>"Lucile Rice MD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee70e0000'), "author_name"=>"Mr. Janet Nicolas", "content"=>["Cumque eos itaque voluptatem tempore hic. Numquam animi quam quia sunt officia fugiat mollitia. Repellendus explicabo ratione omnis quod. Consequuntur repellat recusandae molestias et reiciendis voluptatibus cupiditate. Pariatur expedita rem qui voluptatem et velit voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df296e7735330ee70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee70f0000'), "name"=>"Nat Marks", "reference"=>"Dr. Alex Schuppe", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7100000'), "author_name"=>"Marques Gorczany", "content"=>["Enim amet numquam. Nemo necessitatibus nihil. Repellat deserunt quam velit sit mollitia assumenda. Voluptatem quos expedita perspiciatis perferendis assumenda. Et totam eaque est est alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5207ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df296e7735330ee70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7110000'), "name"=>"Mr. Eleanora Marquardt", "reference"=>"Burnice Halvorson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7120000'), "author_name"=>"Rosa Runte", "content"=>["A doloremque cum. Iusto quaerat fuga voluptatibus voluptatem soluta porro quo. Et rerum soluta quam necessitatibus cumque suscipit. Itaque et earum. Laudantium rerum quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5979ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df296e7735330ee7110000", "id"=>"53df296e7735330ee7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4395ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7130000'), "name"=>"Sarai Stark", "reference"=>"Tyree Connelly", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7140000'), "author_name"=>"Toney Jacobi", "content"=>["Provident vel aut. Aut vero autem sunt accusamus error. Eligendi enim veritatis sunt qui adipisci enim omnis. Sunt deleniti adipisci nobis autem dolor eos. Nostrum aliquid tempora ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6106ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df296e7735330ee7140000", "product_id"=>"53df296e7735330ee7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7130000'), "comments._id"=>BSON::ObjectId('53df296e7735330ee7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7579ms Redirected to http://test.host/admin/products/53df296e7735330ee7130000/comments/53df296e7735330ee7140000 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('53df296e7735330ee7150000'), "name"=>"Tre Lueilwitz", "reference"=>"Ezekiel Raynor", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7160000'), "firstname"=>"Doris", "lastname"=>"Parisian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5875ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df296e7735330ee7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4626ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms Redirected to http://test.host/admin/products/53df296e7735330ee7150000/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('53df296e7735330ee7180000'), "name"=>"Paige Wiza", "reference"=>"Jadon Lebsack", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7190000'), "firstname"=>"Kaya", "lastname"=>"Ward"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7190000", "product_id"=>"53df296e7735330ee7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4517ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee71a0000'), "name"=>"Liliane Lemke", "reference"=>"June Flatley", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee71b0000'), "firstname"=>"Terrence", "lastname"=>"Doyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5799ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df296e7735330ee71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4301ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee71c0000'), "name"=>"Jade Wuckert", "reference"=>"Zack Hessel", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee71d0000'), "firstname"=>"Gilberto", "lastname"=>"Pfeffer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5672ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df296e7735330ee71d0000", "product_id"=>"53df296e7735330ee71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3924ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee71e0000'), "name"=>"Derrick Hermiston", "reference"=>"Ivy Hansen V", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee71f0000'), "firstname"=>"Daron", "lastname"=>"Quigley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df296e7735330ee71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df296e7735330ee71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df296e7735330ee71e0000/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('53df296e7735330ee7200000'), "name"=>"Tyree Wuckert III", "reference"=>"Dr. Karl Runte", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5833ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2997ms 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('53df296e7735330ee7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms Redirected to http://test.host/admin/products/53df296e7735330ee7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2933ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7220000'), "name"=>"Mrs. Bailee Effertz", "reference"=>"Sherwood Ullrich", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2921ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df296e7735330ee7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6137ms 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.2284ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7230000'), "name"=>"Callie Morar DVM", "reference"=>"Kristian Jacobs", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.7ms) Completed 200 OK in 41ms (Views: 39.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7240000'), "name"=>"Elmo Lowe", "reference"=>"Conner Aufderhar I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms 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 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7250000'), "name"=>"Kelly Gerlach", "reference"=>"Jewel Spencer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df296e7735330ee7280000'), "name"=>"Erik Hintz", "reference"=>"Benton Heathcote", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df296e7735330ee7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7290000'), "name"=>"Dessie Buckridge", "reference"=>"Kareem Parisian Jr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df296e7735330ee7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7290000')} 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('53df296e7735330ee7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms Redirected to http://test.host/admin/products/53df296e7735330ee7290000 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('53df296e7735330ee72a0000'), "firstname"=>"Tom", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1718ms 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('53df296e7735330ee72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0804ms Redirected to http://test.host/admin/users/53df296e7735330ee72b0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2911ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee72c0000'), "firstname"=>"Eliza", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1694ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df296e7735330ee72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296e7735330ee72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296e7735330ee72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms 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.1772ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee72d0000'), "firstname"=>"Elsie", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df296e7735330ee72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296e7735330ee72d0000')} 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.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee72e0000'), "firstname"=>"Darrick", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms 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.3096ms 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('53df296e7735330ee72f0000'), "firstname"=>"Rodolfo", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7300000'), "firstname"=>"Jazmin", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df296e7735330ee7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296e7735330ee7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7310000'), "firstname"=>"Kasandra", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df296e7735330ee7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296e7735330ee7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df296e7735330ee7310000 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('53df296e7735330ee7320000'), "firstname"=>"Tremaine", "lastname"=>"Nicolas"}] 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=>"administrators", :query=>{}} runtime: 0.1921ms 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('53df296e7735330ee7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms 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.1772ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7340000'), "firstname"=>"Cicero", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7340000')} 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.4ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7350000'), "firstname"=>"Dean", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.7ms) Completed 200 OK in 36ms (Views: 35.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7360000'), "firstname"=>"Gunnar", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df296e7735330ee7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7370000'), "firstname"=>"Ervin", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3877ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df296e7735330ee7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df296e7735330ee7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms 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('53df296e7735330ee7380000'), "name"=>"Fabian Blick", "reference"=>"Cassie Kuvalis", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7390000'), "author_name"=>"Duane Schiller", "content"=>["Veniam quia voluptatem esse et et consequatur saepe. Error fuga distinctio vel a optio recusandae at. Aliquid consequuntur earum aliquam ab eos. Laudantium repudiandae consequatur corrupti exercitationem. Voluptates omnis ipsam deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df296e7735330ee7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df296e7735330ee73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Redirected to http://test.host/products/53df296e7735330ee7380000/comments/53df296e7735330ee73a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee73b0000'), "name"=>"Oceane Bailey", "reference"=>"Jessy Willms", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee73c0000'), "author_name"=>"Roman Roberts", "content"=>["Maxime qui reprehenderit similique. Mollitia eaque quidem. Dignissimos repellendus qui corporis reprehenderit. Rerum rerum nisi quam at aliquid. Ut blanditiis rerum expedita et sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df296e7735330ee73b0000", "id"=>"53df296e7735330ee73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df296e7735330ee73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms Redirected to http://test.host/products/53df296e7735330ee73b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee73d0000'), "name"=>"Rosalee Hammes", "reference"=>"Webster Hintz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee73e0000'), "author_name"=>"Florencio Graham", "content"=>["Possimus labore fugit nulla. Vel ut quibusdam odio ullam rem a sed. Tenetur quidem saepe. Dolor quia magni incidunt ad. Necessitatibus eum vel qui et dolores laboriosam atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df296e7735330ee73d0000", "id"=>"53df296e7735330ee73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4123ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee73f0000'), "name"=>"Jerod Mitchell", "reference"=>"Marilou Glover", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7400000'), "author_name"=>"Ms. Brayan Stracke", "content"=>["Aliquid deleniti soluta est saepe sint et. Architecto earum doloremque corrupti quisquam id. Sit ad minus. Illo consequatur ut tenetur et ab et amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df296e7735330ee73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7410000'), "name"=>"Kris Corwin I", "reference"=>"Felipa Cormier", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7420000'), "author_name"=>"Quinten Veum", "content"=>["Amet aperiam voluptatem error commodi delectus. Possimus facilis aut illum provident et excepturi. Dolorem et aut ea beatae officiis. Temporibus fugit voluptatem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df296e7735330ee7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7430000'), "name"=>"Brody Homenick", "reference"=>"Ahmed Frami", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7440000'), "author_name"=>"Dr. Elisabeth Will", "content"=>["At alias aliquid pariatur officiis vero. Est rem qui impedit quisquam perspiciatis reiciendis optio. Non delectus in id. Dolor dolorem molestiae ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df296e7735330ee7430000", "id"=>"53df296e7735330ee7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7450000'), "name"=>"Miss Columbus McCullough", "reference"=>"Dimitri Haley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7460000'), "author_name"=>"Florine Kozey", "content"=>["Aperiam cupiditate doloremque excepturi voluptatibus. Aperiam aut molestiae. Quibusdam qui a magni et praesentium. Explicabo consequatur aut. Necessitatibus voluptates neque cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df296e7735330ee7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7470000'), "name"=>"Abner Veum", "reference"=>"Giuseppe Kiehn", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee7480000'), "author_name"=>"Mrs. Gussie Dach", "content"=>["Officia eligendi molestiae quo laborum voluptatem aut aspernatur. Est deleniti nemo magni. Vel corporis ut id eum consequatur praesentium. Numquam molestias possimus debitis molestiae impedit odio qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5738ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df296e7735330ee7470000", "id"=>"53df296e7735330ee7480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4104ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7490000'), "name"=>"Karley Wunsch", "reference"=>"Randy Gulgowski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df296e7735330ee74a0000'), "author_name"=>"Gabriel Oberbrunner", "content"=>["Rerum voluptates aut ut qui beatae provident vel. Voluptas harum et consequatur animi ad deleniti et. Eaque iste error illo corporis accusamus voluptatem sequi. Magni labore minima dolore in cupiditate pariatur. Earum omnis molestiae et voluptates id rem alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df296e7735330ee74a0000", "product_id"=>"53df296e7735330ee7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7490000'), "comments._id"=>BSON::ObjectId('53df296e7735330ee74a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6652ms Redirected to http://test.host/products/53df296e7735330ee7490000/comments/53df296e7735330ee74a0000 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('53df296e7735330ee74b0000'), "firstname"=>"Jakayla", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2649ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee74c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms Redirected to http://test.host/admin/clients/53df296e7735330ee74c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2040ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee74d0000'), "firstname"=>"Kiara", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1887ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df296e7735330ee74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee74d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms 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.1895ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee74e0000'), "firstname"=>"Horacio", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df296e7735330ee74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (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('53df296e7735330ee74f0000'), "firstname"=>"Garland", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms Completed 200 OK in 39ms (Views: 37.7ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7500000'), "firstname"=>"Cristobal", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7510000'), "firstname"=>"Bud", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df296e7735330ee7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7520000'), "firstname"=>"Eda", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df296e7735330ee7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms Redirected to http://test.host/admin/clients/53df296e7735330ee7520000 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('53df296e7735330ee7530000'), "firstname"=>"Jo", "lastname"=>"O'Hara"}] 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=>"clients", :query=>{}} runtime: 0.2952ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms Redirected to http://test.host/clients/53df296e7735330ee7540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1640ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7550000'), "firstname"=>"Savanah", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1694ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df296e7735330ee7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms 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('53df296e7735330ee7560000'), "firstname"=>"Edna", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df296e7735330ee7570000'), "firstname"=>"Marta", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms 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('53df296e7735330ee7580000'), "firstname"=>"Esta", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms 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.1ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7590000'), "firstname"=>"Meagan", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df296e7735330ee7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms 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('53df296e7735330ee75a0000'), "firstname"=>"Beatrice", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df296e7735330ee75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df296e7735330ee75a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Redirected to http://test.host/clients/53df296e7735330ee75a0000 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('53df296e7735330ee75b0000'), "name"=>"Yesenia Yundt", "reference"=>"Ms. Cletus Hackett", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee75c0000'), "firstname"=>"Flossie", "lastname"=>"Rohan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df296e7735330ee75b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee75b0000')} 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('53df296e7735330ee75b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee75b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee75d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Redirected to http://test.host/products/53df296e7735330ee75b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee75e0000'), "name"=>"Leif Lebsack", "reference"=>"Sabina Beatty", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee75f0000'), "firstname"=>"Fleta", "lastname"=>"Ratke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df296e7735330ee75f0000", "product_id"=>"53df296e7735330ee75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee75e0000')} 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.6ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7600000'), "name"=>"Mrs. Sigurd Greenholt", "reference"=>"Margaretta Yost", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7610000'), "firstname"=>"Jammie", "lastname"=>"Towne"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df296e7735330ee7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7620000'), "name"=>"Brycen Rogahn", "reference"=>"Marina Wolf", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7630000'), "firstname"=>"Ariel", "lastname"=>"Rice"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df296e7735330ee7630000", "product_id"=>"53df296e7735330ee7620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms Completed 200 OK in 39ms (Views: 36.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7640000'), "name"=>"Kelton Muller", "reference"=>"Hailie Lesch", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df296e7735330ee7650000'), "firstname"=>"Keith", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df296e7735330ee7650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df296e7735330ee7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Unpermitted parameters: name Redirected to http://test.host/products/53df296e7735330ee7640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7660000'), "name"=>"Allene Koelpin", "reference"=>"Clay Boyle", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1759ms 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('53df296e7735330ee7670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms Redirected to http://test.host/products/53df296e7735330ee7670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3183ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7680000'), "name"=>"Zola Murazik", "reference"=>"Dulce Botsford II", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.2964ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df296e7735330ee7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3783ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms 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.2906ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee7690000'), "name"=>"Jamir Yundt", "reference"=>"Dr. Clementina Greenfelder", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df296e7735330ee7690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee76a0000'), "name"=>"Zack Ernser", "reference"=>"Greta Witting", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms 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.8776ms 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('53df296e7735330ee76b0000'), "name"=>"Mr. Toney Beier", "reference"=>"Miss Elvera Lockman", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms 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.7955ms 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('53df296e7735330ee76c0000'), "name"=>"Shaniya Gusikowski", "reference"=>"Antonia Ruecker", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df296e7735330ee76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3888ms 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('53df296e7735330ee76d0000'), "name"=>"Gudrun Wuckert", "reference"=>"Nigel Huel", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296e7735330ee76f0000'), "name"=>"Alexandrea Stanton", "reference"=>"George Gorczany Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8022ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df296e7735330ee76f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296e7735330ee76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3913ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7700000'), "name"=>"Mr. Kayley Waelchi", "reference"=>"Reese Becker", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3220ms 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('53df296f7735330ee7710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3318ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7720000'), "name"=>"Graciela Romaguera", "reference"=>"Samanta Schuppe", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df296f7735330ee7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.1786ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5558ms Completed 200 OK in 28ms (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('53df296f7735330ee7730000'), "name"=>"Jennifer O'Keefe", "reference"=>"Khalid Botsford", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5315ms 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('53df296f7735330ee7750000'), "name"=>"Dr. Julianne Hand", "reference"=>"Cielo Wolff I", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5978ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df296f7735330ee7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms 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('53df296f7735330ee7760000'), "name"=>"Garret Ullrich", "reference"=>"Dr. Hilario Herzog", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df296f7735330ee7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3746ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms Redirected to http://test.host/products/53df296f7735330ee7760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7790000'), "name"=>"Christian Braun", "reference"=>"Efrain Breitenberg V", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7770000'), "author_name"=>"Korbin Tremblay", "content"=>["Dolorem in et aut harum. Fuga libero et iste facere molestias ea quisquam. Porro atque assumenda quam est libero vitae explicabo. Similique maiores temporibus ea vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7780000'), "author_name"=>"Webster Green", "content"=>["Cupiditate deleniti ut. Magnam eum vero minima neque nihil maiores. Voluptas dolores maxime amet fugiat. Libero explicabo amet et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4597ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df296f7735330ee7790000", "comment_id"=>"53df296f7735330ee7770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7790000'), "comments._id"=>BSON::ObjectId('53df296f7735330ee7770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df296f7735330ee77a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7012ms Redirected to http://test.host/products/53df296f7735330ee7790000/comments/53df296f7735330ee7770000/comments/53df296f7735330ee77a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee77d0000'), "name"=>"Roman Corkery DDS", "reference"=>"Lisa Corkery Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee77b0000'), "author_name"=>"Jesus Vandervort", "content"=>["Aut voluptatem quaerat eaque voluptatem quisquam expedita. Eveniet iusto fuga ipsa ipsum et rem non. Eveniet voluptatum at esse. Est ut qui et ex sint maiores."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee77c0000'), "author_name"=>"Shanon Goldner", "content"=>["Cumque ducimus voluptatem deserunt nobis et. Molestiae harum ut rerum. Voluptates voluptatem rerum voluptas molestiae cumque. Laborum est a modi adipisci. Dolor voluptatem quisquam similique quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df296f7735330ee77d0000", "comment_id"=>"53df296f7735330ee77b0000", "id"=>"53df296f7735330ee77c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee77d0000'), "comments._id"=>BSON::ObjectId('53df296f7735330ee77b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df296f7735330ee77c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6542ms Redirected to http://test.host/products/53df296f7735330ee77d0000/comments/53df296f7735330ee77b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7800000'), "name"=>"Cierra Lang", "reference"=>"Marcelina Metz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee77e0000'), "author_name"=>"Payton Bernier", "content"=>["Qui sunt nam aut. Et vero animi. Inventore ipsum officiis. Et quibusdam alias sunt natus."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee77f0000'), "author_name"=>"Ambrose Lemke", "content"=>["Sequi ducimus inventore nihil quisquam ea enim. Magnam amet voluptatem deleniti eos. Similique consectetur magni error tempore aspernatur. Explicabo autem voluptatibus praesentium. Et facere architecto libero minima odio ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df296f7735330ee7800000", "comment_id"=>"53df296f7735330ee77e0000", "id"=>"53df296f7735330ee77f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3994ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7830000'), "name"=>"Miss Rowan Thiel", "reference"=>"Curt Becker", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7810000'), "author_name"=>"Darius Hahn", "content"=>["Tenetur et totam quia et est minus. Id incidunt in. Distinctio a dolores odit est consequatur quam optio."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7820000'), "author_name"=>"Mylene Champlin", "content"=>["Rem qui consequuntur dolores perspiciatis veniam et. Sit rerum aut facilis qui. Asperiores facere deserunt natus placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df296f7735330ee7830000", "comment_id"=>"53df296f7735330ee7810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4216ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7860000'), "name"=>"Junius Stokes", "reference"=>"Elisha Koelpin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7840000'), "author_name"=>"Quinten Cummings", "content"=>["Nisi optio recusandae. Quos voluptatibus aut dicta voluptates recusandae odit est. Saepe adipisci nemo minus vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7850000'), "author_name"=>"Letha Stoltenberg", "content"=>["Qui totam laborum sit dolores quasi. Voluptatem ipsum qui omnis dolorum est explicabo. Qui hic explicabo rerum et eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df296f7735330ee7860000", "comment_id"=>"53df296f7735330ee7840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7890000'), "name"=>"Wilber Kunde", "reference"=>"Joel Rogahn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7870000'), "author_name"=>"Dr. Chandler Bahringer", "content"=>["Laboriosam in ipsa vitae ut. Consectetur quia quis repellat. Similique et molestias assumenda non aut. Totam in similique omnis laborum ex. Porro ex maxime dolorem sed sunt vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7880000'), "author_name"=>"Eda Schmidt", "content"=>["Voluptas mollitia praesentium. Iusto est autem animi quo est. Sunt placeat illum alias rerum pariatur sit sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df296f7735330ee7890000", "comment_id"=>"53df296f7735330ee7870000", "id"=>"53df296f7735330ee7880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4299ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee78c0000'), "name"=>"Laurianne Olson", "reference"=>"Halle Kovacek", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee78a0000'), "author_name"=>"Bailee Bode PhD", "content"=>["Soluta quam quasi. Sed quibusdam numquam et rerum. Recusandae aut id illo eum dolorem quis esse."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee78b0000'), "author_name"=>"Clarabelle McLaughlin", "content"=>["Neque explicabo eum. Ratione magni dolores quos. Sint saepe excepturi voluptas pariatur. Quibusdam repudiandae ducimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df296f7735330ee78c0000", "comment_id"=>"53df296f7735330ee78a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4011ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee78f0000'), "name"=>"Dr. Alphonso Rohan", "reference"=>"Erna Wunsch", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee78d0000'), "author_name"=>"Horacio Christiansen", "content"=>["Nihil inventore dolorem in. Dolores consequuntur vitae et aut enim. Aliquid et placeat inventore distinctio. Sapiente voluptatem eum quo quisquam qui amet."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee78e0000'), "author_name"=>"Eliza Johns", "content"=>["Perspiciatis maiores aliquid fuga iste. Quaerat inventore sit quos sed aut. Deserunt aut mollitia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5847ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df296f7735330ee78f0000", "comment_id"=>"53df296f7735330ee78d0000", "id"=>"53df296f7735330ee78e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7920000'), "name"=>"Julia Abshire", "reference"=>"Mr. Christiana Greenfelder", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7900000'), "author_name"=>"Mrs. Oscar Weissnat", "content"=>["Iure cum quia nihil cumque natus. Id facere non exercitationem numquam iste porro eaque. Quia ullam iusto facilis commodi sint. Omnis doloribus accusantium vitae. Sit ipsum eos et aperiam illum."], "comments"=>[{"_id"=>BSON::ObjectId('53df296f7735330ee7910000'), "author_name"=>"Ivory Buckridge DDS", "content"=>["Quos maiores dolorum. Accusamus consequuntur ducimus voluptates corporis hic a. Quaerat molestias quis dolor. Voluptas eaque eum possimus odio repellendus facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5692ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df296f7735330ee7910000", "product_id"=>"53df296f7735330ee7920000", "comment_id"=>"53df296f7735330ee7900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4183ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df296f7735330ee7920000'), "comments._id"=>BSON::ObjectId('53df296f7735330ee7900000'), "comments.0.comments._id"=>BSON::ObjectId('53df296f7735330ee7910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7145ms Redirected to http://test.host/products/53df296f7735330ee7920000/comments/53df296f7735330ee7900000/comments/53df296f7735330ee7910000 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('53df296f7735330ee7930000'), "firstname"=>"Anabel", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3317ms 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('53df296f7735330ee7940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Redirected to http://test.host/users/53df296f7735330ee7940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3241ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7950000'), "firstname"=>"Frederic", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3127ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df296f7735330ee7950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296f7735330ee7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3804ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296f7735330ee7950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms 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.2971ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7960000'), "firstname"=>"Glen", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df296f7735330ee7960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296f7735330ee7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7970000'), "firstname"=>"Else", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms 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.3307ms Completed 200 OK in 34ms (Views: 33.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7980000'), "firstname"=>"Layla", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df296f7735330ee7990000'), "firstname"=>"Jadon", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df296f7735330ee7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296f7735330ee7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms 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('53df296f7735330ee79a0000'), "firstname"=>"Skylar", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df296f7735330ee79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df296f7735330ee79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Unpermitted parameters: name Redirected to http://test.host/users/53df296f7735330ee79a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4705ms 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.4557ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5568ms 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.4145ms 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.4114ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341677353311ac000000'), "firstname"=>"Sandy", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1422ms 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('53df341677353311ac010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Completed 500 Internal Server Error in 6ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341677353311ac020000'), "firstname"=>"Nasir", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df341677353311ac020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341677353311ac020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 46ms (Views: 44.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341677353311ac030000'), "firstname"=>"Preston", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6179ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341677353311ac040000'), "firstname"=>"Yadira", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df341677353311ac040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341677353311ac040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341677353311ac050000'), "firstname"=>"Valentine", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df341677353311ac050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341677353311ac050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac060000'), "name"=>"Christa Jerde", "reference"=>"Daniella Pouros", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac070000'), "author_name"=>"Garett McCullough", "content"=>["Quis et dolores vel. Eos optio repellat provident incidunt quis culpa vel. Ipsam aut ab dolore porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df341677353311ac060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df341677353311ac080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5674ms Completed 500 Internal Server Error in 6ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac090000'), "name"=>"Abdiel Kub", "reference"=>"Santiago Cole", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac0a0000'), "author_name"=>"Mrs. Alphonso Greenholt", "content"=>["Dolorem sint porro tempore dolorum. Et molestiae soluta voluptatem consequatur dolorem amet. Harum facere minima temporibus et quia. Et facilis aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df341677353311ac090000", "id"=>"53df341677353311ac0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4469ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df341677353311ac0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5584ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac0b0000'), "name"=>"Jazlyn Murphy", "reference"=>"Rachel Harber", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac0c0000'), "author_name"=>"Kaci Johns V", "content"=>["Qui quae vel pariatur. Rerum velit atque ab nostrum et maxime ex. Modi enim voluptatum et sunt harum officia. Voluptatem accusantium quidem. Quam cumque nostrum qui ex ut sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5611ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df341677353311ac0b0000", "id"=>"53df341677353311ac0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4622ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac0d0000'), "name"=>"Mr. Garland Miller", "reference"=>"Annamarie Prosacco", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac0e0000'), "author_name"=>"Lambert Schaden", "content"=>["Enim inventore nemo fugit repudiandae voluptates. Qui placeat ipsa repellendus reiciendis sit qui voluptas. Labore quo soluta. Aut in veritatis non ratione optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df341677353311ac0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac0f0000'), "name"=>"Sammy Windler", "reference"=>"Turner Cremin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac100000'), "author_name"=>"Mrs. Jamar Hermiston", "content"=>["Consequatur doloribus exercitationem vel nihil. Odit quo ipsam earum aut deserunt. Sunt repudiandae architecto perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df341677353311ac0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac110000'), "name"=>"Harley Yost II", "reference"=>"Armani Ward", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac120000'), "author_name"=>"Miss Aiden Bogan", "content"=>["Qui inventore perferendis praesentium dolores reiciendis. Sit quis autem dolores iusto aut eligendi consequatur. Ut minus est sunt quia ipsam earum corporis. Sit consectetur id architecto vel voluptatem saepe fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df341677353311ac110000", "id"=>"53df341677353311ac120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac130000'), "name"=>"Reynold Ankunding", "reference"=>"Darren Torp", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341677353311ac140000'), "author_name"=>"Chadd Wuckert", "content"=>["Veritatis dolores et. Dolore illum et soluta laborum totam. Repellat exercitationem laboriosam. Vero consequuntur doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df341677353311ac140000", "product_id"=>"53df341677353311ac130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac130000'), "comments._id"=>BSON::ObjectId('53df341677353311ac140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac150000'), "name"=>"Wendy Vandervort", "reference"=>"Ciara Donnelly MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac160000'), "firstname"=>"Aliyah", "lastname"=>"Haag"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df341677353311ac150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac150000')} 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('53df341677353311ac150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac180000'), "name"=>"Ruben Vandervort", "reference"=>"Mrs. Antonia Bauch", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac190000'), "firstname"=>"Anastacio", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df341677353311ac190000", "product_id"=>"53df341677353311ac180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac1a0000'), "name"=>"Archibald Haley", "reference"=>"Ms. Kailee Rutherford", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac1b0000'), "firstname"=>"Shayna", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df341677353311ac1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac1c0000'), "name"=>"Sophie Douglas", "reference"=>"Christelle Hayes", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac1d0000'), "firstname"=>"Vicenta", "lastname"=>"Kreiger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df341677353311ac1d0000", "product_id"=>"53df341677353311ac1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac1e0000'), "name"=>"Marlin Crona DVM", "reference"=>"Coleman Flatley", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df341677353311ac1f0000'), "firstname"=>"Ramiro", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df341677353311ac1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df341677353311ac1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac200000'), "name"=>"Brent Koepp", "reference"=>"Eliezer Wolff", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5713ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2853ms 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('53df341677353311ac210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac220000'), "name"=>"Brycen Balistreri", "reference"=>"Ms. Buck Hickle", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5342ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2840ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df341677353311ac220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac230000'), "name"=>"Arvel Shanahan", "reference"=>"Jamison Eichmann", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df341677353311ac230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341677353311ac230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac240000'), "name"=>"Darrell Ortiz", "reference"=>"Josh Sawayn", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms 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.5405ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341677353311ac250000'), "name"=>"Myriam Waters IV", "reference"=>"Hudson Mayer Jr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2762ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df341777353311ac280000'), "name"=>"Dr. Devyn McDermott", "reference"=>"Guiseppe Ratke", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6096ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df341777353311ac280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4302ms 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('53df341777353311ac290000'), "name"=>"Oswaldo Sauer Sr.", "reference"=>"Jaycee Funk", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df341777353311ac290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Completed 500 Internal Server Error in 4ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac2a0000'), "firstname"=>"Americo", "lastname"=>"Tromp"}] 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.2148ms 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('53df341777353311ac2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Completed 500 Internal Server Error in 3ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac2c0000'), "firstname"=>"Natalia", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1976ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df341777353311ac2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac2d0000'), "firstname"=>"Hortense", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df341777353311ac2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac2e0000'), "firstname"=>"Easter", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms 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 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('53df341777353311ac2f0000'), "firstname"=>"Colleen", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 36ms (Views: 35.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac300000'), "firstname"=>"Camryn", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df341777353311ac300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms 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('53df341777353311ac310000'), "firstname"=>"Lavern", "lastname"=>"Terry"}] 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"=>"53df341777353311ac310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341777353311ac320000'), "firstname"=>"Jazmyn", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2878ms 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('53df341777353311ac330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Completed 500 Internal Server Error in 3ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341777353311ac340000'), "firstname"=>"Mavis", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df341777353311ac340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341777353311ac340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341777353311ac350000'), "firstname"=>"Virgil", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341777353311ac360000'), "firstname"=>"Verner", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df341777353311ac360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341777353311ac360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df341777353311ac370000'), "firstname"=>"Kirstin", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df341777353311ac370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df341777353311ac370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac380000'), "name"=>"Sam Reichert", "reference"=>"Scottie Gerlach IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac390000'), "author_name"=>"Larue DuBuque", "content"=>["Aperiam omnis laborum suscipit. Exercitationem iure omnis. Nobis ut similique sequi consectetur vel ipsam. Quae vitae dignissimos voluptatibus architecto. Ex aut officiis iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3688ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df341777353311ac380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df341777353311ac3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Completed 500 Internal Server Error in 5ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac3b0000'), "name"=>"Leora Pollich", "reference"=>"Rodrick Harris", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac3c0000'), "author_name"=>"Monica Wunsch MD", "content"=>["Est officiis tempora velit distinctio. Quo maxime non maiores voluptatum quam quo. Voluptate saepe quos numquam voluptatem adipisci id. Illo earum quia velit eum nemo. Nemo quibusdam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df341777353311ac3b0000", "id"=>"53df341777353311ac3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df341777353311ac3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Completed 500 Internal Server Error in 4ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac3d0000'), "name"=>"Mason Stiedemann PhD", "reference"=>"Richie Moore", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac3e0000'), "author_name"=>"Deborah Eichmann DVM", "content"=>["Nam omnis consequatur molestiae consectetur. Voluptatem vel eveniet et cum at laborum qui. Soluta quo occaecati et. Ex voluptatem pariatur placeat rerum itaque et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df341777353311ac3d0000", "id"=>"53df341777353311ac3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac3f0000'), "name"=>"Mr. Britney Barton", "reference"=>"Korbin Herzog", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac400000'), "author_name"=>"Yasmin Mann I", "content"=>["Quis aut et vero. Et rem dolorem voluptas repellat totam quo. Laborum reiciendis molestiae. Consequatur modi iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9166ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df341777353311ac3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4971ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac410000'), "name"=>"Gustave Walker", "reference"=>"Dasia Kunde Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac420000'), "author_name"=>"Claud Koss", "content"=>["Distinctio cupiditate asperiores. Alias et non eum. Quaerat quis dolores ut accusantium eum voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df341777353311ac410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4271ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac430000'), "name"=>"Korbin Hirthe", "reference"=>"Leola Bahringer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac440000'), "author_name"=>"Mrs. Maddison Collier", "content"=>["Facilis qui eos recusandae est reiciendis. Quos dolor mollitia voluptatum. Ab ratione ut asperiores sint dolorem. In reprehenderit consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df341777353311ac430000", "id"=>"53df341777353311ac440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac450000'), "name"=>"Nyah Skiles", "reference"=>"Miss Brandt Gislason", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac460000'), "author_name"=>"Justus Sauer", "content"=>["Quia nostrum ut maxime corrupti. Rerum non culpa aut quisquam ut et. Similique in earum cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df341777353311ac450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac470000'), "name"=>"Maximillian Heaney", "reference"=>"Jensen Schaefer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac480000'), "author_name"=>"Ms. Marcelo Beahan", "content"=>["Ea consequatur sit. Neque quasi explicabo deleniti incidunt rem est. Deleniti ipsa voluptatem atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df341777353311ac470000", "id"=>"53df341777353311ac480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac490000'), "name"=>"Dr. Lyric D'Amore", "reference"=>"Miss Terrill Ward", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac4a0000'), "author_name"=>"Eleanore McDermott DDS", "content"=>["Voluptatibus tempora quia laudantium harum. Aut nulla illum cumque veritatis harum. Quaerat dolorum aut et voluptatem ducimus deserunt. Illum id modi numquam blanditiis veritatis. Consequatur modi expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df341777353311ac4a0000", "product_id"=>"53df341777353311ac490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac490000')} 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('53df341777353311ac490000'), "comments._id"=>BSON::ObjectId('53df341777353311ac4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms Completed 500 Internal Server Error in 6ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac4b0000'), "firstname"=>"Aglae", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1664ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2572ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac4d0000'), "firstname"=>"Henry", "lastname"=>"Wintheiser"}] 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.1847ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df341777353311ac4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3888ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac4e0000'), "firstname"=>"Terrence", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df341777353311ac4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (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('53df341777353311ac4f0000'), "firstname"=>"Adelbert", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4343ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac500000'), "firstname"=>"Bo", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac510000'), "firstname"=>"Jerald", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df341777353311ac510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms 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('53df341777353311ac520000'), "firstname"=>"Madelyn", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df341777353311ac520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3783ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Completed 500 Internal Server Error in 4ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac530000'), "firstname"=>"Alva", "lastname"=>"Murphy"}] 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=>"clients", :query=>{}} runtime: 0.3010ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Completed 500 Internal Server Error in 2ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac550000'), "firstname"=>"Garfield", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2316ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df341777353311ac550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Completed 500 Internal Server Error in 36ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df341777353311ac560000'), "firstname"=>"Orion", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6216ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df341777353311ac560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4193ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) 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('53df341777353311ac570000'), "firstname"=>"Ashtyn", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4759ms Completed 200 OK in 9ms (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('53df341777353311ac580000'), "firstname"=>"Frank", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms 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('53df341777353311ac590000'), "firstname"=>"Frank", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df341777353311ac590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3868ms 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('53df341777353311ac5a0000'), "firstname"=>"Edgardo", "lastname"=>"Sipes"}] 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"=>"53df341777353311ac5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df341777353311ac5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Completed 500 Internal Server Error in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac5b0000'), "name"=>"Kim Schneider", "reference"=>"Javier Blick", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac5c0000'), "firstname"=>"Wilmer", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5900ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df341777353311ac5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4384ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Completed 500 Internal Server Error in 6ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac5e0000'), "name"=>"Ms. Antone Cruickshank", "reference"=>"Rosie Ward PhD", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac5f0000'), "firstname"=>"Carissa", "lastname"=>"Will"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df341777353311ac5f0000", "product_id"=>"53df341777353311ac5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3786ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac600000'), "name"=>"Alverta Leuschke", "reference"=>"Keon Nader V", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac610000'), "firstname"=>"Ena", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df341777353311ac600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac620000'), "name"=>"Tiffany Nader", "reference"=>"Mrs. Kayley Johnson", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac630000'), "firstname"=>"Phoebe", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df341777353311ac630000", "product_id"=>"53df341777353311ac620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac640000'), "name"=>"Greg Will", "reference"=>"Dale Schulist", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df341777353311ac650000'), "firstname"=>"Gregoria", "lastname"=>"Barton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df341777353311ac650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df341777353311ac640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac660000'), "name"=>"Maxine Toy", "reference"=>"Addison Renner", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3191ms 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('53df341777353311ac670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms Completed 500 Internal Server Error in 4ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac680000'), "name"=>"Dovie Mante", "reference"=>"Alexis Hansen", "quantity"=>"0"}] 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.3117ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df341777353311ac680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3996ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Completed 500 Internal Server Error in 3ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac690000'), "name"=>"Brant O'Reilly V", "reference"=>"Lavon Connelly", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5592ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df341777353311ac690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 47ms (Views: 45.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac6a0000'), "name"=>"Deborah Runte", "reference"=>"Dr. Rubie Ebert", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5923ms 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.7675ms Completed 200 OK in 22ms (Views: 21.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac6b0000'), "name"=>"Josiane Sporer", "reference"=>"Mrs. Shanie Smitham", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4857ms 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.7261ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac6c0000'), "name"=>"Moshe Stracke", "reference"=>"Martina Zieme V", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df341777353311ac6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms 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('53df341777353311ac6d0000'), "name"=>"Magali Gleason DDS", "reference"=>"Jess Conn", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac6f0000'), "name"=>"Lexi Ullrich PhD", "reference"=>"Aylin Zulauf IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df341777353311ac6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac700000'), "name"=>"Ms. Josiane Zulauf", "reference"=>"Carter Kozey", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2348ms 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('53df341777353311ac710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac720000'), "name"=>"Ana Hilpert", "reference"=>"Hayden Padberg", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df341777353311ac720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms 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('53df341777353311ac730000'), "name"=>"Kurtis D'Amore", "reference"=>"Jed Sipes PhD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 500 Internal Server Error in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac740000'), "name"=>"Osborne Jast", "reference"=>"Joaquin Kuhlman", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df341777353311ac740000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac740000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms 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('53df341777353311ac750000'), "name"=>"Emerson Heidenreich", "reference"=>"Conner Carroll", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df341777353311ac750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms Completed 500 Internal Server Error in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac780000'), "name"=>"Miss Vince Schamberger", "reference"=>"Neva Hammes", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac760000'), "author_name"=>"Retha Kiehn", "content"=>["Cupiditate rerum nesciunt tenetur qui. Sint sunt voluptas ab officiis ea. Excepturi qui provident dolore laborum sapiente."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac770000'), "author_name"=>"Alan Hickle", "content"=>["Quas non expedita. Soluta temporibus eaque eos illum consequatur qui molestias. Consequatur iusto sunt consectetur est sint a ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df341777353311ac780000", "comment_id"=>"53df341777353311ac760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac780000')} 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('53df341777353311ac780000'), "comments._id"=>BSON::ObjectId('53df341777353311ac760000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df341777353311ac790000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms Completed 500 Internal Server Error in 6ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac7c0000'), "name"=>"Kaelyn Pagac", "reference"=>"Joannie Terry", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac7a0000'), "author_name"=>"Adrian Kling MD", "content"=>["Rerum quo doloribus expedita quaerat architecto quidem. Dolorum eius est impedit et. Culpa quis soluta. Animi odio porro impedit."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac7b0000'), "author_name"=>"Mikel Bahringer Sr.", "content"=>["Magnam molestias ducimus ipsum non dolorum. Molestias dolore ab sit. Et molestiae voluptas ut facere quidem nihil. Numquam consectetur porro optio aut nobis. Et quaerat suscipit ut similique quo voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df341777353311ac7c0000", "comment_id"=>"53df341777353311ac7a0000", "id"=>"53df341777353311ac7b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3812ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac7c0000'), "comments._id"=>BSON::ObjectId('53df341777353311ac7a0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df341777353311ac7b0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5872ms Completed 500 Internal Server Error in 41ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac7f0000'), "name"=>"Blair Hand", "reference"=>"Mr. Dillon Murray", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac7d0000'), "author_name"=>"Miss Alexandra Hayes", "content"=>["Labore ducimus architecto consequatur id aut. Maxime voluptatem quidem vero aut. Aut optio nesciunt ut debitis."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac7e0000'), "author_name"=>"Miguel McGlynn", "content"=>["Sapiente deleniti rerum accusantium. Atque sint consequatur in. Illum fugit incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6925ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df341777353311ac7f0000", "comment_id"=>"53df341777353311ac7d0000", "id"=>"53df341777353311ac7e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4403ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 6.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac820000'), "name"=>"Miss Edd Grant", "reference"=>"Miss Trycia Champlin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac800000'), "author_name"=>"Roscoe Barrows", "content"=>["Sunt est mollitia quaerat aut voluptas ea nobis. Voluptatem ut quia quo modi vel qui. Quae quos unde et. Adipisci sunt omnis aut molestiae placeat ut. Ratione eos ut et excepturi quas dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac810000'), "author_name"=>"Ms. Bobby McDermott", "content"=>["Dolor placeat deleniti. Eos quod aut dolorum vel cum consequatur. Vero cumque beatae ducimus delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df341777353311ac820000", "comment_id"=>"53df341777353311ac800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac850000'), "name"=>"Korey Hudson", "reference"=>"Ozella Bayer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac830000'), "author_name"=>"Madonna Gaylord", "content"=>["Nulla repudiandae esse sint expedita quos. Soluta sit placeat. Omnis fugiat ea ab animi consequatur. Eum assumenda illum qui ea officiis. Debitis fugit enim."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac840000'), "author_name"=>"Stanton Armstrong", "content"=>["Esse sint eos ut veritatis voluptates in quidem. Ad placeat maiores qui. Rem necessitatibus voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7292ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df341777353311ac850000", "comment_id"=>"53df341777353311ac830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac880000'), "name"=>"Maxine Schimmel", "reference"=>"Ms. Adeline Hahn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac860000'), "author_name"=>"Flo Stracke", "content"=>["Quis assumenda aut quo eos aspernatur. Qui voluptas amet. Aut voluptas rerum velit iusto dicta. Et quod ducimus quam. Incidunt assumenda aut sint laborum temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac870000'), "author_name"=>"Douglas Ratke", "content"=>["Omnis maiores dolorum mollitia consequatur ut quis placeat. Et in dignissimos est voluptas molestiae sit. Est ut aliquam vero perferendis. Tempora labore iure aliquam vitae et dolores. Qui aut inventore quia ut tenetur laudantium est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df341777353311ac880000", "comment_id"=>"53df341777353311ac860000", "id"=>"53df341777353311ac870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac8b0000'), "name"=>"Miss Richard Turcotte", "reference"=>"Erica Schmidt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac890000'), "author_name"=>"Mrs. Arch Hamill", "content"=>["Expedita fugiat eum suscipit unde. Magnam in sit nam sit. A vel omnis maxime. Corrupti ratione eligendi molestiae nihil reiciendis alias. Qui illum cupiditate atque."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac8a0000'), "author_name"=>"Duane Schulist", "content"=>["Dolores porro dolores eum quo. Voluptatibus quo consequatur sed saepe inventore. Tenetur rerum fuga vel quasi sed. Nisi sunt et inventore repudiandae et ducimus ut. Illo et deleniti voluptatem earum alias consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4975ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df341777353311ac8b0000", "comment_id"=>"53df341777353311ac890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac8e0000'), "name"=>"Gregorio Ebert Jr.", "reference"=>"Armand Larson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac8c0000'), "author_name"=>"Pascale Lind", "content"=>["Ullam quod impedit ea eum. Consequatur numquam ipsum atque quod dolor. Quae qui debitis ipsam dolor voluptas blanditiis aut. Nihil iste voluptas occaecati reprehenderit. Non natus iusto minima libero id quam."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac8d0000'), "author_name"=>"Nora Crona", "content"=>["Aut ea qui repellat optio ipsam nobis deserunt. Itaque velit sint sunt qui. Et quae ad cupiditate qui reprehenderit. Commodi accusantium ipsa ut totam ut aliquam velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6262ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df341777353311ac8e0000", "comment_id"=>"53df341777353311ac8c0000", "id"=>"53df341777353311ac8d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df341777353311ac910000'), "name"=>"Dominic Ward", "reference"=>"Laurianne Abbott", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac8f0000'), "author_name"=>"Miss Delmer Orn", "content"=>["Voluptatem laudantium sint corporis ex blanditiis quibusdam. Et deleniti culpa beatae. Pariatur vel ipsum nulla non necessitatibus eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df341777353311ac900000'), "author_name"=>"Lawrence Emard", "content"=>["Sunt iure soluta libero. Ut amet animi. Consequatur ea nesciunt. Harum ipsum error expedita fugiat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5436ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df341777353311ac900000", "product_id"=>"53df341777353311ac910000", "comment_id"=>"53df341777353311ac8f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df341777353311ac910000'), "comments._id"=>BSON::ObjectId('53df341777353311ac8f0000'), "comments.0.comments._id"=>BSON::ObjectId('53df341777353311ac900000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7109ms Completed 500 Internal Server Error in 7ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac920000'), "firstname"=>"Austin", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6145ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3227ms 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('53df341777353311ac930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms Completed 500 Internal Server Error in 3ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac940000'), "firstname"=>"General", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3051ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df341777353311ac940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Completed 500 Internal Server Error in 3ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac950000'), "firstname"=>"Cyril", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df341777353311ac950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms 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('53df341777353311ac960000'), "firstname"=>"Rebeka", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms 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.4662ms Completed 200 OK in 37ms (Views: 36.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac970000'), "firstname"=>"Lacey", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5530ms 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: 4.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df341777353311ac980000'), "firstname"=>"Ernest", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df341777353311ac980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4032ms 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('53df341777353311ac990000'), "firstname"=>"Laron", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df341777353311ac990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df341777353311ac990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3942ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4964ms 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.4787ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5157ms 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.4173ms 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.4105ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d37735331269000000'), "firstname"=>"Elvera", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1949ms 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('53df34d37735331269010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Completed 500 Internal Server Error in 6ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d37735331269020000'), "firstname"=>"Bill", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df34d37735331269020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d37735331269020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 45ms (Views: 43.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d37735331269030000'), "firstname"=>"Ceasar", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d37735331269040000'), "firstname"=>"Conrad", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df34d37735331269040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d37735331269040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d37735331269050000'), "firstname"=>"Henry", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df34d37735331269050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d37735331269050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269060000'), "name"=>"Colten Quitzon", "reference"=>"Leopoldo Torphy", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34d37735331269070000'), "author_name"=>"Elissa Borer", "content"=>["Soluta quaerat placeat et. Dolorem ab quo facilis aut quaerat qui nulla. Earum nostrum et. In ut temporibus eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df34d37735331269060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34d37735331269080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269090000'), "name"=>"Dennis Schiller", "reference"=>"Corene Kuphal", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34d377353312690a0000'), "author_name"=>"Tobin Vandervort MD", "content"=>["Adipisci amet quibusdam est voluptates qui quo aut. Dolorum beatae occaecati non delectus reiciendis deserunt. Nulla quia aut. Alias ipsa et earum quidem accusantium ea. Sit dolores iure maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df34d37735331269090000", "id"=>"53df34d377353312690a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34d377353312690a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8776ms Completed 500 Internal Server Error in 8ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312690b0000'), "name"=>"Ebba Hudson I", "reference"=>"Leonel Okuneva", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df34d377353312690c0000'), "author_name"=>"Lisa Johns II", "content"=>["Enim voluptatem quia voluptates temporibus. Suscipit sed consequatur aut harum necessitatibus. Veritatis illo quo eos. Commodi omnis in quia molestias porro numquam. Sed nulla quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df34d377353312690b0000", "id"=>"53df34d377353312690c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312690b0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312690d0000'), "name"=>"Adriel Marquardt", "reference"=>"Flavie Reilly", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df34d377353312690e0000'), "author_name"=>"Xzavier Schuppe", "content"=>["Ullam quisquam optio mollitia aut. Qui aliquam voluptatem labore quis aut. Iusto eos quis. Rerum esse voluptas ipsum porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df34d377353312690d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312690d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Completed 200 OK in 4ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312690f0000'), "name"=>"Deshaun Beahan", "reference"=>"Sally Carter", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34d37735331269100000'), "author_name"=>"Wilma Rolfson PhD", "content"=>["Consequatur id vel corporis labore rerum quia dolorem. Est qui repellat amet totam soluta dolor qui. Consequatur molestias a dolor qui sint possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df34d377353312690f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312690f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269110000'), "name"=>"Stephon Ryan", "reference"=>"Dante Blanda", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34d37735331269120000'), "author_name"=>"Lacey Swaniawski", "content"=>["Quam ut dolores omnis temporibus. Inventore id non architecto. Temporibus iure vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df34d37735331269110000", "id"=>"53df34d37735331269120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269130000'), "name"=>"Aracely Koch Sr.", "reference"=>"Gia Osinski", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34d37735331269140000'), "author_name"=>"Miracle Blanda", "content"=>["Deleniti optio nobis. Libero aut omnis adipisci rem. Dolores voluptatem aut labore suscipit. Aut sed deleniti consequuntur velit. Et ut dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34d37735331269140000", "product_id"=>"53df34d37735331269130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269130000'), "comments._id"=>BSON::ObjectId('53df34d37735331269140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269150000'), "name"=>"Wiley Gleichner", "reference"=>"Garfield Mann", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df34d37735331269160000'), "firstname"=>"Natalia", "lastname"=>"O'Conner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df34d37735331269150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df34d37735331269170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269180000'), "name"=>"Olaf McClure", "reference"=>"Gaston Johns", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df34d37735331269190000'), "firstname"=>"Waldo", "lastname"=>"Waters"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df34d37735331269190000", "product_id"=>"53df34d37735331269180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312691a0000'), "name"=>"Mrs. Leanna Lockman", "reference"=>"Devin Heidenreich", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df34d377353312691b0000'), "firstname"=>"Kody", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df34d377353312691a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312691a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312691c0000'), "name"=>"Natalie Kovacek", "reference"=>"Mr. Russell Kihn", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df34d377353312691d0000'), "firstname"=>"Amalia", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5652ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df34d377353312691d0000", "product_id"=>"53df34d377353312691c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312691c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d377353312691e0000'), "name"=>"Aubree Ullrich", "reference"=>"Jonas Bruen III", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df34d377353312691f0000'), "firstname"=>"Cassie", "lastname"=>"Quitzon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7364ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df34d377353312691f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df34d377353312691e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d377353312691e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269200000'), "name"=>"Charlotte Labadie", "reference"=>"Kane Hilpert", "quantity"=>"4"}] 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.1787ms 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('53df34d37735331269210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Completed 500 Internal Server Error in 3ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269220000'), "name"=>"Miss Maida Boyle", "reference"=>"Rosalind Bailey", "quantity"=>"3"}] 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.1364ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df34d37735331269220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms Completed 500 Internal Server Error in 3ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269230000'), "name"=>"Mac Kris DDS", "reference"=>"Mr. Betsy Littel", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df34d37735331269230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269240000'), "name"=>"Mr. Elisabeth Lesch", "reference"=>"Cleveland Pollich", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms 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.4658ms Completed 200 OK in 10ms (Views: 9.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269250000'), "name"=>"Miss Earnestine Toy", "reference"=>"Laurel Ryan", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 17ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269280000'), "name"=>"Estella Hilpert III", "reference"=>"Dr. Theresia Lowe", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df34d37735331269280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d37735331269290000'), "name"=>"Betty Swift V", "reference"=>"Cayla Cartwright III", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4667ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df34d37735331269290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d37735331269290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Completed 500 Internal Server Error in 4ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d377353312692a0000'), "firstname"=>"Earnest", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1952ms 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('53df34d377353312692b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms Completed 500 Internal Server Error in 3ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d477353312692c0000'), "firstname"=>"Citlalli", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms 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"=>"53df34d477353312692c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d477353312692c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d477353312692c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d477353312692d0000'), "firstname"=>"Francesca", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df34d477353312692d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d477353312692d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d477353312692e0000'), "firstname"=>"Ayana", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms 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.2751ms 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('53df34d477353312692f0000'), "firstname"=>"Malvina", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.5ms) Completed 200 OK in 34ms (Views: 33.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269300000'), "firstname"=>"Sterling", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df34d47735331269300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms 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('53df34d47735331269310000'), "firstname"=>"Caitlyn", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df34d47735331269310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d47735331269320000'), "firstname"=>"Nathan", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1389ms 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('53df34d47735331269330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms Completed 500 Internal Server Error in 3ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d47735331269340000'), "firstname"=>"Therese", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9120ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df34d47735331269340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d47735331269340000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d47735331269350000'), "firstname"=>"Zackary", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d47735331269360000'), "firstname"=>"Adrain", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df34d47735331269360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d47735331269360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34d47735331269370000'), "firstname"=>"Eda", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df34d47735331269370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34d47735331269370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269380000'), "name"=>"Mr. Nia Jerde", "reference"=>"Trent Carroll", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269390000'), "author_name"=>"Odie Hackett III", "content"=>["Et animi qui nemo ipsam aut voluptatem. Corrupti quibusdam et aut earum. Facere fugit hic aspernatur eum unde repudiandae sed. Repudiandae aliquam consequatur eos eligendi id voluptatem tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df34d47735331269380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34d477353312693a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms Completed 500 Internal Server Error in 4ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312693b0000'), "name"=>"Kolby Luettgen", "reference"=>"Mr. Sasha Rempel", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312693c0000'), "author_name"=>"Everette Doyle", "content"=>["At mollitia vel enim temporibus quia vel. Odio quisquam voluptatibus sit reprehenderit deserunt vel. Dignissimos eum asperiores magni omnis nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312693b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df34d477353312693b0000", "id"=>"53df34d477353312693c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312693b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312693b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34d477353312693c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms Completed 500 Internal Server Error in 3ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312693d0000'), "name"=>"Ida Leannon", "reference"=>"Hubert Schimmel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312693e0000'), "author_name"=>"Casandra Olson", "content"=>["Aliquam ut repudiandae tempore voluptas architecto omnis quia. Corporis tempora ut aut praesentium officiis. Voluptas est adipisci. Iste saepe autem deleniti impedit et quia laborum. Est ad dolorum eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df34d477353312693d0000", "id"=>"53df34d477353312693e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312693d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312693f0000'), "name"=>"Jasper Armstrong", "reference"=>"Nina Glover", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269400000'), "author_name"=>"Lindsey Schmitt", "content"=>["Explicabo necessitatibus qui. Ex veritatis et rerum at eveniet. Sed sed cupiditate ut veritatis aspernatur ullam vel. Modi atque aperiam unde. Enim eum excepturi incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df34d477353312693f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312693f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269410000'), "name"=>"Corine Gulgowski", "reference"=>"Adelia Berge", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269420000'), "author_name"=>"Zack Zulauf", "content"=>["Nisi reiciendis dolor voluptas vitae ducimus maiores ut. Facere perferendis ipsam et ut culpa nesciunt repellendus. Ea quos veniam dolorum modi eos. Labore quam doloremque quos. Esse nihil et magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df34d47735331269410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269430000'), "name"=>"Miss Elvera Schmeler", "reference"=>"Mrs. Estella Lakin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269440000'), "author_name"=>"Miss Hallie Morar", "content"=>["Doloribus provident aliquid qui quas. Sed adipisci unde impedit consequatur alias quia ut. Optio ipsam cupiditate odit deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df34d47735331269430000", "id"=>"53df34d47735331269440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269450000'), "name"=>"Geovanny Adams", "reference"=>"Thea Hilll", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269460000'), "author_name"=>"Miss Gudrun Willms", "content"=>["Nihil quis qui et unde dolorem dolor. Sint ducimus hic tempore eos ea. Labore molestias delectus optio et vel. Et omnis sint sunt id voluptatem accusamus. Quia at harum et illo temporibus cumque sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df34d47735331269450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269470000'), "name"=>"Catharine Fahey", "reference"=>"Tyshawn Jones", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269480000'), "author_name"=>"Brennon Dare", "content"=>["Consequatur est nobis quibusdam. Ea sit et corrupti voluptatibus modi maxime sint. Molestiae qui ratione eum cumque eius nostrum. Quod adipisci qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df34d47735331269470000", "id"=>"53df34d47735331269480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269490000'), "name"=>"Jayde Waelchi Jr.", "reference"=>"Ms. Zachery Rolfson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312694a0000'), "author_name"=>"Quentin Lesch V", "content"=>["Omnis vitae quia reiciendis rerum. Ratione ipsum rem voluptatum. Maiores sed aliquam totam. Mollitia qui provident voluptatem ut laboriosam. Et dignissimos aut provident quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34d477353312694a0000", "product_id"=>"53df34d47735331269490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269490000')} 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('53df34d47735331269490000'), "comments._id"=>BSON::ObjectId('53df34d477353312694a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms Completed 500 Internal Server Error in 6ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d477353312694b0000'), "firstname"=>"Sonia", "lastname"=>"Schmitt"}] 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=>"clients", :query=>{}} runtime: 0.1420ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d477353312694c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Completed 500 Internal Server Error in 3ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d477353312694d0000'), "firstname"=>"Wilma", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2001ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df34d477353312694d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d477353312694d0000')} 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('53df34d477353312694d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Completed 500 Internal Server Error 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('53df34d477353312694e0000'), "firstname"=>"Emil", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df34d477353312694e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d477353312694e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) 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('53df34d477353312694f0000'), "firstname"=>"Glenna", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms 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('53df34d47735331269500000'), "firstname"=>"Robert", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms 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.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269510000'), "firstname"=>"Bernie", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df34d47735331269510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269520000'), "firstname"=>"Nannie", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7737ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df34d47735331269520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms Completed 500 Internal Server Error in 4ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269530000'), "firstname"=>"Garland", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1549ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms Completed 500 Internal Server Error in 2ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269550000'), "firstname"=>"Herbert", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms 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"=>"53df34d47735331269550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms Completed 500 Internal Server Error in 33ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269560000'), "firstname"=>"Brandy", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df34d47735331269560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df34d47735331269570000'), "firstname"=>"Flavie", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df34d47735331269580000'), "firstname"=>"Felipa", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34d47735331269590000'), "firstname"=>"Elenor", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df34d47735331269590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d47735331269590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms 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('53df34d477353312695a0000'), "firstname"=>"Tyree", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df34d477353312695a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34d477353312695a0000')} 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('53df34d477353312695a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms Completed 500 Internal Server Error 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('53df34d477353312695b0000'), "name"=>"Eudora Parisian", "reference"=>"Tracy Funk", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df34d477353312695c0000'), "firstname"=>"Adrien", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df34d477353312695b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312695b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312695b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312695b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df34d477353312695d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms Completed 500 Internal Server Error in 5ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312695e0000'), "name"=>"Paolo Murray IV", "reference"=>"Aubree Lemke", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df34d477353312695f0000'), "firstname"=>"Jammie", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8628ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df34d477353312695f0000", "product_id"=>"53df34d477353312695e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312695e0000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269600000'), "name"=>"Jamey Sauer", "reference"=>"Anderson Halvorson", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df34d47735331269610000'), "firstname"=>"Angelica", "lastname"=>"Schuppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df34d47735331269600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269600000')} 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.7ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269620000'), "name"=>"Haleigh Hodkiewicz", "reference"=>"Garry Moen", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df34d47735331269630000'), "firstname"=>"Trudie", "lastname"=>"Effertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df34d47735331269630000", "product_id"=>"53df34d47735331269620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269640000'), "name"=>"Georgiana Nader", "reference"=>"Minnie Hoeger", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df34d47735331269650000'), "firstname"=>"Garett", "lastname"=>"Hickle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df34d47735331269650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df34d47735331269640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269660000'), "name"=>"Erin Smitham", "reference"=>"Tavares Willms V", "quantity"=>"3"}] 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.2075ms 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('53df34d47735331269670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms 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('53df34d47735331269680000'), "name"=>"Terence Schneider", "reference"=>"Garnett Keebler IV", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1901ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df34d47735331269680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269680000')} 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('53df34d47735331269680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms Completed 500 Internal Server Error in 3ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269690000'), "name"=>"Kylee Schiller", "reference"=>"Mr. Fermin Bartell", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df34d47735331269690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('53df34d477353312696a0000'), "name"=>"Davonte Swift", "reference"=>"Kenyon Eichmann", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms 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.7931ms Completed 200 OK in 21ms (Views: 20.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312696b0000'), "name"=>"Cynthia Bradtke", "reference"=>"Jordi Rogahn", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms 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.6209ms 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('53df34d477353312696c0000'), "name"=>"Daphney Zieme", "reference"=>"Katherine Morissette", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df34d477353312696c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312696c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms 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('53df34d477353312696d0000'), "name"=>"Cicero Bogisich", "reference"=>"Carmela Stokes", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312696f0000'), "name"=>"Coty Satterfield", "reference"=>"Ellis Schroeder", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df34d477353312696f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312696f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269700000'), "name"=>"Lina Sanford", "reference"=>"America Turner IV", "quantity"=>"3"}] 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.1661ms 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('53df34d47735331269710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269720000'), "name"=>"Julie Murphy V", "reference"=>"Jamil Ritchie", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df34d47735331269720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms 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('53df34d47735331269730000'), "name"=>"Josue White V", "reference"=>"Ola Reilly", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 500 Internal Server Error in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269740000'), "name"=>"Ms. Alia Leannon", "reference"=>"Mr. Jonathon Heidenreich", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df34d47735331269740000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269740000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms 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('53df34d47735331269750000'), "name"=>"Leila Bernier", "reference"=>"Shanel Schulist", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df34d47735331269750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms Completed 500 Internal Server Error in 29ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269780000'), "name"=>"Krista Hayes", "reference"=>"Tillman Senger", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269760000'), "author_name"=>"Dr. Violette Zemlak", "content"=>["Debitis ad quasi. Dolores ut quisquam consequatur error occaecati autem et. Quod rerum in."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269770000'), "author_name"=>"Fletcher Rolfson", "content"=>["Voluptatem aut accusantium laudantium qui tempora laborum qui. Magni quaerat blanditiis et hic. Illum ea ut non eligendi praesentium asperiores harum. Molestiae provident rem. Omnis beatae laboriosam dignissimos voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df34d47735331269780000", "comment_id"=>"53df34d47735331269760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269780000'), "comments._id"=>BSON::ObjectId('53df34d47735331269760000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df34d47735331269790000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Completed 500 Internal Server Error in 5ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312697c0000'), "name"=>"Jerry Corwin I", "reference"=>"Darian Moen", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312697a0000'), "author_name"=>"Arnulfo Tromp", "content"=>["Vel eum veritatis dolor. Tempora fugiat rerum aut itaque. Voluptatibus exercitationem ipsam id."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312697b0000'), "author_name"=>"Casimir Stracke Jr.", "content"=>["Nihil quo sunt ut. Dolorem iste ea nulla tenetur et debitis nostrum. Sunt excepturi fuga maxime. Dignissimos quibusdam sequi incidunt cumque nobis non eum. Eligendi necessitatibus rerum consequatur est illum adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312697c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df34d477353312697c0000", "comment_id"=>"53df34d477353312697a0000", "id"=>"53df34d477353312697b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312697c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312697c0000'), "comments._id"=>BSON::ObjectId('53df34d477353312697a0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df34d477353312697b0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Completed 500 Internal Server Error in 38ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312697f0000'), "name"=>"German Muller", "reference"=>"Dr. Rubye Powlowski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312697d0000'), "author_name"=>"Audra Corkery", "content"=>["Saepe voluptas amet dolor aut deleniti a. Quia quam quidem aliquam animi consequatur. Id molestiae minus delectus velit facilis."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312697e0000'), "author_name"=>"Joy King", "content"=>["Deserunt id aliquam ipsa corrupti. Veritatis vel earum dolorem nemo quia. Officia magni modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df34d477353312697f0000", "comment_id"=>"53df34d477353312697d0000", "id"=>"53df34d477353312697e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312697f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269820000'), "name"=>"Joelle Ruecker I", "reference"=>"Dr. Garnett Deckow", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269800000'), "author_name"=>"Mr. Lindsey Grimes", "content"=>["Sit ut eos et quaerat. Omnis dolor porro blanditiis ut autem pariatur. Dolor sed eligendi est ut quasi."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269810000'), "author_name"=>"Talia Crona", "content"=>["Quibusdam error aperiam. Tempora qui repellendus temporibus consequatur possimus. Et voluptas sunt qui officia consectetur. Praesentium qui accusantium eveniet voluptas. Officiis animi magni deleniti voluptas nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5791ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df34d47735331269820000", "comment_id"=>"53df34d47735331269800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269850000'), "name"=>"Brad Kreiger", "reference"=>"Tobin Buckridge", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269830000'), "author_name"=>"Rosella Ernser", "content"=>["Nihil aliquam et eos. Commodi quam ut beatae. Quam cumque similique quae quis dolorem autem iusto. Eaque quas hic sint aperiam corrupti nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269840000'), "author_name"=>"Antwon Keeling", "content"=>["Voluptatem qui sit ut mollitia rerum id voluptatum. Cupiditate sequi ut qui quas nesciunt. Sunt unde consequatur. Sint ullam et itaque voluptate saepe. Vel unde qui eos quo dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df34d47735331269850000", "comment_id"=>"53df34d47735331269830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4216ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269880000'), "name"=>"Carlee Ruecker", "reference"=>"Ayana Brown", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269860000'), "author_name"=>"Sheila Steuber", "content"=>["Sit quam ipsam non quisquam porro sequi. Odio qui iste accusamus aut. Voluptas sunt reiciendis aut aliquid enim sed mollitia. Voluptatem porro qui fugiat provident accusamus. Dolor adipisci vero autem libero delectus."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269870000'), "author_name"=>"Luisa Kreiger", "content"=>["Excepturi itaque assumenda iusto debitis exercitationem quasi. Praesentium est quia similique et vel. Id ullam est voluptatem. Dolores aut velit qui sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df34d47735331269880000", "comment_id"=>"53df34d47735331269860000", "id"=>"53df34d47735331269870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4776ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312698b0000'), "name"=>"Duncan Crona II", "reference"=>"Felicia Bins", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269890000'), "author_name"=>"Marcellus O'Kon IV", "content"=>["Cupiditate labore tempore. Quod maxime odit. Voluptas ipsam quasi."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312698a0000'), "author_name"=>"Boris Steuber", "content"=>["Excepturi et autem id est atque voluptatibus. Consequatur ut numquam beatae at et vel. Magni accusamus consequatur illum adipisci iure eos minus. Et aspernatur et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df34d477353312698b0000", "comment_id"=>"53df34d47735331269890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312698b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d477353312698e0000'), "name"=>"Evangeline Bartell", "reference"=>"Christine Conn", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312698c0000'), "author_name"=>"Ruthie Mayert IV", "content"=>["Est repudiandae mollitia omnis vero assumenda sed. Sed expedita dolorem praesentium. Aut corporis esse pariatur consequatur. Ut ut animi accusamus dicta voluptas atque iste. Veritatis accusantium debitis commodi soluta."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312698d0000'), "author_name"=>"Adriel Williamson", "content"=>["Quisquam aut maiores quod omnis cum. Voluptatum harum quis tempora aperiam eos sed rerum. Nostrum quo aut occaecati cumque quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6563ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df34d477353312698e0000", "comment_id"=>"53df34d477353312698c0000", "id"=>"53df34d477353312698d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d477353312698e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4589ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34d47735331269910000'), "name"=>"Marlin Wisozk", "reference"=>"Miss Jailyn Rau", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df34d477353312698f0000'), "author_name"=>"Taya Mante", "content"=>["Ipsum dolorum sed asperiores quaerat magni eos. Porro consequatur sit id ut voluptatum culpa. Sequi molestiae vel nisi itaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df34d47735331269900000'), "author_name"=>"Ulises Brakus", "content"=>["Et vero est. Molestias consequatur qui numquam. Perspiciatis maxime adipisci. Et minus iste aliquam. Laborum maxime repellat aut magni vel necessitatibus illum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5953ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34d47735331269900000", "product_id"=>"53df34d47735331269910000", "comment_id"=>"53df34d477353312698f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4405ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34d47735331269910000'), "comments._id"=>BSON::ObjectId('53df34d477353312698f0000'), "comments.0.comments._id"=>BSON::ObjectId('53df34d47735331269900000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7397ms Completed 500 Internal Server Error in 7ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269920000'), "firstname"=>"Irving", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3202ms 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('53df34d47735331269930000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms Completed 500 Internal Server Error in 3ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269940000'), "firstname"=>"Dasia", "lastname"=>"Streich"}] 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=>"admin_users", :query=>{}} runtime: 0.3011ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df34d47735331269940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269940000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms Completed 500 Internal Server Error in 3ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269950000'), "firstname"=>"Daniella", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df34d47735331269950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269960000'), "firstname"=>"Eddie", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms 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.4212ms Completed 200 OK in 34ms (Views: 33.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269970000'), "firstname"=>"Pascale", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34d47735331269980000'), "firstname"=>"Syble", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5152ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df34d47735331269980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms 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('53df34d47735331269990000'), "firstname"=>"Dexter", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df34d47735331269990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34d47735331269990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4473ms 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.4551ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7301ms 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.4956ms 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.5012ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e87735331293000000'), "firstname"=>"Victor", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2760ms 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('53df34e87735331293010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms 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.2990ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e87735331293020000'), "firstname"=>"Ardith", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df34e87735331293020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e87735331293020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 48ms (Views: 46.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e87735331293030000'), "firstname"=>"Howard", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3443ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e87735331293040000'), "firstname"=>"Destany", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6083ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df34e87735331293040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e87735331293040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4383ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e87735331293050000'), "firstname"=>"Eva", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df34e87735331293050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e87735331293050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3894ms Unpermitted parameters: name Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293060000'), "name"=>"Franz Willms", "reference"=>"Chester Dibbert MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df34e87735331293070000'), "author_name"=>"Miss Christina Hamill", "content"=>["Porro a magnam. Praesentium eum earum labore quasi. Voluptas ab illum eveniet modi. Eius sit neque et qui nesciunt deleniti eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df34e87735331293060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293060000')} 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('53df34e87735331293060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34e87735331293080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Redirected to http://test.host/admin/products/53df34e87735331293060000/comments/53df34e87735331293080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293090000'), "name"=>"Neal Zboncak", "reference"=>"Manuel Ullrich", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df34e877353312930a0000'), "author_name"=>"Mrs. Abelardo Bashirian", "content"=>["Nihil et qui et perspiciatis adipisci voluptas. Iste repellat sint dolore rem est doloremque consectetur. Cumque aspernatur assumenda aperiam et velit in. Dolorem voluptatem incidunt voluptatem fugiat est nam qui. Dicta qui dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df34e87735331293090000", "id"=>"53df34e877353312930a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34e877353312930a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312930b0000'), "name"=>"Hester Trantow Sr.", "reference"=>"Tina Muller Jr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34e877353312930c0000'), "author_name"=>"Alessia Williamson PhD", "content"=>["Blanditiis nostrum in rerum temporibus et dolor. Eligendi mollitia culpa ex ut. Quis et accusamus laboriosam consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df34e877353312930b0000", "id"=>"53df34e877353312930c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312930b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312930d0000'), "name"=>"Gretchen Swift", "reference"=>"Ms. Evan Cassin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df34e877353312930e0000'), "author_name"=>"Wava O'Keefe", "content"=>["Impedit rerum vel consequatur iusto pariatur sequi non. Harum dolorem unde magnam voluptas. Suscipit necessitatibus est iste. Vero molestiae odio praesentium velit ea atque eaque. Velit esse dolorum qui nemo assumenda est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df34e877353312930d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312930d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312930f0000'), "name"=>"Mr. Valentina Rutherford", "reference"=>"Nolan Hilpert", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df34e87735331293100000'), "author_name"=>"Dr. Karley Champlin", "content"=>["Maiores consequatur qui nobis. Nemo nihil ut ea sint qui cumque odit. Repellendus quis ad voluptate totam voluptas. Blanditiis nam quam rem beatae et dolor aspernatur. Vero ab qui enim illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df34e877353312930f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312930f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293110000'), "name"=>"Velva Beier", "reference"=>"Eva Purdy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df34e87735331293120000'), "author_name"=>"Mrs. Larry Friesen", "content"=>["Aliquam voluptatum fugit quos sed ipsa occaecati dignissimos. Ea velit tempore non commodi atque. Dolores error voluptas voluptatem dolor rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df34e87735331293110000", "id"=>"53df34e87735331293120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293130000'), "name"=>"Mr. Alysa Rolfson", "reference"=>"Clemens Kuhlman PhD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df34e87735331293140000'), "author_name"=>"Marilie Rippin", "content"=>["Voluptatem optio quo. Repellat aliquam ut aspernatur quis ea facere. Iusto mollitia sit. Qui saepe qui sint beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34e87735331293140000", "product_id"=>"53df34e87735331293130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293130000'), "comments._id"=>BSON::ObjectId('53df34e87735331293140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293150000'), "name"=>"Kianna Parker", "reference"=>"Estrella Bartoletti MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df34e87735331293160000'), "firstname"=>"Mabel", "lastname"=>"Bernhard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df34e87735331293150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df34e87735331293170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms Redirected to http://test.host/admin/products/53df34e87735331293150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293180000'), "name"=>"Bobby Fadel V", "reference"=>"Lisette Schneider II", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df34e87735331293190000'), "firstname"=>"Hilario", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df34e87735331293190000", "product_id"=>"53df34e87735331293180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3994ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312931a0000'), "name"=>"Darrell Daniel IV", "reference"=>"Precious Davis", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df34e877353312931b0000'), "firstname"=>"Sarina", "lastname"=>"Rath"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5820ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df34e877353312931a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312931a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4177ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312931c0000'), "name"=>"Demarcus Barton", "reference"=>"Laurel Hudson", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df34e877353312931d0000'), "firstname"=>"Rosemarie", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5657ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df34e877353312931d0000", "product_id"=>"53df34e877353312931c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312931c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e877353312931e0000'), "name"=>"Loren Reilly", "reference"=>"Claudie Morissette IV", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df34e877353312931f0000'), "firstname"=>"Christop", "lastname"=>"Gerlach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df34e877353312931f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df34e877353312931e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e877353312931e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293200000'), "name"=>"Alana Nolan", "reference"=>"Eve Pfeffer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5737ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3367ms 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('53df34e87735331293210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Redirected to http://test.host/admin/products/53df34e87735331293210000 Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2715ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293220000'), "name"=>"Braulio Rosenbaum", "reference"=>"Bart Ratke", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1793ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df34e87735331293220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293220000')} 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('53df34e87735331293220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Completed 500 Internal Server Error in 3ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293230000'), "name"=>"Ms. Edgardo Bernier", "reference"=>"Vicente Morar", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df34e87735331293230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e87735331293240000'), "name"=>"Thelma Goyette", "reference"=>"Cullen Monahan", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms 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.4872ms 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('53df34e87735331293250000'), "name"=>"Arnaldo Hammes", "reference"=>"Trycia Predovic", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df34e87735331293280000'), "name"=>"Augustus Heaney", "reference"=>"Rhea Gibson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df34e87735331293280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms 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('53df34e87735331293290000'), "name"=>"Sylvia Bins", "reference"=>"Aubree Weber", "quantity"=>"0"}] 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"=>"53df34e87735331293290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e87735331293290000')} 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('53df34e87735331293290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Completed 500 Internal Server Error in 4ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e877353312932a0000'), "firstname"=>"Dale", "lastname"=>"Sawayn"}] 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=>"admin_users", :query=>{}} runtime: 0.1721ms 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('53df34e877353312932b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5680ms Redirected to http://test.host/admin/users/53df34e877353312932b0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3010ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e877353312932c0000'), "firstname"=>"Pasquale", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1509ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df34e877353312932c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e877353312932c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e877353312932c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e877353312932d0000'), "firstname"=>"Krystina", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df34e877353312932d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e877353312932d0000')} 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.2ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e877353312932e0000'), "firstname"=>"Reymundo", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms 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.3134ms 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('53df34e877353312932f0000'), "firstname"=>"Mertie", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e87735331293300000'), "firstname"=>"Zakary", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df34e87735331293300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e87735331293300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293310000'), "firstname"=>"Ned", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df34e97735331293310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e97735331293310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e97735331293320000'), "firstname"=>"Daryl", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms 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('53df34e97735331293330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms 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.3210ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e97735331293340000'), "firstname"=>"Herta", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df34e97735331293340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e97735331293340000')} 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.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e97735331293350000'), "firstname"=>"Uriel", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e97735331293360000'), "firstname"=>"Lottie", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df34e97735331293360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e97735331293360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df34e97735331293370000'), "firstname"=>"Erich", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0093ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df34e97735331293370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df34e97735331293370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293380000'), "name"=>"Elmo Collier", "reference"=>"Amira Lynch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293390000'), "author_name"=>"Ms. Olin Flatley", "content"=>["Laudantium mollitia similique quia autem quae quis. Quia sint ut exercitationem sunt totam. Est laboriosam nemo sunt neque recusandae eveniet dolorem. Ipsam esse qui quisquam necessitatibus. Ipsum mollitia qui inventore ea minima quibusdam aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293380000')} 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"=>"53df34e97735331293380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293380000')} 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('53df34e97735331293380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34e977353312933a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Redirected to http://test.host/products/53df34e97735331293380000/comments/53df34e977353312933a0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312933b0000'), "name"=>"Trycia Nitzsche", "reference"=>"Dr. Shana Hauck", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312933c0000'), "author_name"=>"Elliott Breitenberg", "content"=>["Qui sequi qui quaerat dicta. Dolores sed qui qui eos aliquid. Et iure commodi rerum aliquid beatae voluptatem atque. Fugiat eos exercitationem provident vitae perspiciatis. Rerum vel quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312933b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df34e977353312933b0000", "id"=>"53df34e977353312933c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312933b0000')} 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('53df34e977353312933b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df34e977353312933c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Completed 500 Internal Server Error in 4ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312933d0000'), "name"=>"Herminio Langworth", "reference"=>"Una Auer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312933e0000'), "author_name"=>"Deja Grimes DDS", "content"=>["Est delectus sit rem. Aliquam est nostrum et aperiam quidem quia. Omnis cum et ea aut minus. Eligendi doloremque tenetur enim velit facilis. Et dolorem rerum illo non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df34e977353312933d0000", "id"=>"53df34e977353312933e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312933d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312933f0000'), "name"=>"Vivien Keebler", "reference"=>"Maryse Nader", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293400000'), "author_name"=>"Barrett Stiedemann", "content"=>["Architecto asperiores id porro et. Autem modi aspernatur at voluptatem qui. Pariatur praesentium alias necessitatibus quibusdam tempore repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df34e977353312933f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312933f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293410000'), "name"=>"Mrs. Lawson Durgan", "reference"=>"Marc Hamill V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293420000'), "author_name"=>"Daphnee Miller", "content"=>["Perferendis iusto dignissimos assumenda cumque. Qui numquam adipisci nisi nemo et. Incidunt illo et earum soluta eum. Voluptatum consectetur sed neque impedit. Et eligendi tempora culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df34e97735331293410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4048ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293430000'), "name"=>"Candelario Mayert MD", "reference"=>"Donna Wilderman", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293440000'), "author_name"=>"Dr. Timothy Terry", "content"=>["Ad eius dolorem doloribus. Vel rerum aut. Odio aut porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df34e97735331293430000", "id"=>"53df34e97735331293440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293450000'), "name"=>"Evert Davis Sr.", "reference"=>"Aiyana Ullrich", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293460000'), "author_name"=>"Shaina Sipes Jr.", "content"=>["Aperiam facilis eaque exercitationem laudantium. Voluptates praesentium libero et molestiae illum repellendus. Ea aut porro dolor culpa. Doloribus quod sit quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df34e97735331293450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293470000'), "name"=>"Ms. Paxton Heathcote", "reference"=>"Dr. Selina Luettgen", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293480000'), "author_name"=>"Sebastian Green", "content"=>["Libero numquam est doloremque voluptatem reprehenderit. Voluptatem molestias possimus non soluta est. Omnis nemo vitae eum dignissimos ad. Rerum impedit commodi at. Dolorem inventore dolor expedita vel voluptates delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df34e97735331293470000", "id"=>"53df34e97735331293480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293490000'), "name"=>"Frederick Larkin", "reference"=>"Lyric Morar", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312934a0000'), "author_name"=>"Ms. Nikita Schroeder", "content"=>["In placeat autem. Molestiae voluptas est commodi beatae voluptatem. Quam alias maxime voluptatem aut suscipit optio ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34e977353312934a0000", "product_id"=>"53df34e97735331293490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3955ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293490000'), "comments._id"=>BSON::ObjectId('53df34e977353312934a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5978ms Completed 500 Internal Server Error in 6ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e977353312934b0000'), "firstname"=>"Ally", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6307ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2995ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e977353312934c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms Redirected to http://test.host/admin/clients/53df34e977353312934c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3257ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e977353312934d0000'), "firstname"=>"Albina", "lastname"=>"Von"}] 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=>"clients", :query=>{}} runtime: 0.2791ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df34e977353312934d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e977353312934d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e977353312934d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e977353312934e0000'), "firstname"=>"Erick", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df34e977353312934e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e977353312934e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('53df34e977353312934f0000'), "firstname"=>"Reva", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4093ms 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('53df34e97735331293500000'), "firstname"=>"Dianna", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293510000'), "firstname"=>"Romaine", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df34e97735331293510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293520000'), "firstname"=>"Ramona", "lastname"=>"Wunsch"}] 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"=>"53df34e97735331293520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Completed 500 Internal Server Error in 4ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293530000'), "firstname"=>"Abagail", "lastname"=>"King"}] 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.2250ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Redirected to http://test.host/clients/53df34e97735331293540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2384ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293550000'), "firstname"=>"Declan", "lastname"=>"Reichel"}] 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.2216ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df34e97735331293550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Completed 500 Internal Server Error in 3ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293560000'), "firstname"=>"Easton", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df34e97735331293560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms 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('53df34e97735331293570000'), "firstname"=>"Manley", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6522ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms 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('53df34e97735331293580000'), "firstname"=>"Germaine", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms 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.3ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e97735331293590000'), "firstname"=>"Cierra", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df34e97735331293590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e97735331293590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 6ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df34e977353312935a0000'), "firstname"=>"Kevin", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df34e977353312935a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e977353312935a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df34e977353312935a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms Completed 500 Internal Server Error 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('53df34e977353312935b0000'), "name"=>"Miss Trey Okuneva", "reference"=>"Ransom Vandervort", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df34e977353312935c0000'), "firstname"=>"Jany", "lastname"=>"Halvorson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df34e977353312935b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312935b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312935b0000')} 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('53df34e977353312935b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df34e977353312935d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms Redirected to http://test.host/products/53df34e977353312935b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312935e0000'), "name"=>"Elva Reinger", "reference"=>"Emiliano Mosciski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df34e977353312935f0000'), "firstname"=>"Jermey", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df34e977353312935f0000", "product_id"=>"53df34e977353312935e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312935e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293600000'), "name"=>"Colten Graham", "reference"=>"Leone Moore Sr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df34e97735331293610000'), "firstname"=>"Percy", "lastname"=>"Jerde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df34e97735331293600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293620000'), "name"=>"Saul Considine", "reference"=>"Richard Armstrong", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df34e97735331293630000'), "firstname"=>"Liliana", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df34e97735331293630000", "product_id"=>"53df34e97735331293620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293640000'), "name"=>"Emelia Windler", "reference"=>"Art Smitham", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df34e97735331293650000'), "firstname"=>"Jerrell", "lastname"=>"Volkman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0986ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df34e97735331293650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df34e97735331293640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293660000'), "name"=>"Eleazar Lynch", "reference"=>"Lolita Stanton", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2300ms 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('53df34e97735331293670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms Redirected to http://test.host/products/53df34e97735331293670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2375ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293680000'), "name"=>"Micheal Champlin PhD", "reference"=>"Janet Schmeler V", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.2245ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df34e97735331293680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293680000')} 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('53df34e97735331293680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms Completed 500 Internal Server Error in 3ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293690000'), "name"=>"Dr. Lucinda Gleichner", "reference"=>"Imani Wuckert", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df34e97735331293690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312936a0000'), "name"=>"Rasheed Cole", "reference"=>"Mrs. Durward Leffler", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms 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: 1.0760ms Completed 200 OK in 78ms (Views: 77.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312936b0000'), "name"=>"Timmy Hartmann", "reference"=>"Chaya Schmidt", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5450ms 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: 2.4824ms Completed 200 OK in 6ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312936c0000'), "name"=>"Dorian Schaden", "reference"=>"Mr. Harvey Bashirian", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df34e977353312936c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312936c0000')} 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('53df34e977353312936d0000'), "name"=>"Christina Heidenreich", "reference"=>"Bertha Maggio", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df34e977353312936f0000'), "name"=>"Fausto Pollich", "reference"=>"Samson Vandervort", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df34e977353312936f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312936f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293700000'), "name"=>"Hilda Walsh", "reference"=>"Damaris Treutel", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1737ms 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('53df34e97735331293710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293720000'), "name"=>"Rodolfo Reichert V", "reference"=>"Jennings Gislason", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df34e97735331293720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2326ms 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('53df34e97735331293730000'), "name"=>"Gregorio Kuvalis III", "reference"=>"Ernestina Tremblay PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms 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('53df34e97735331293750000'), "name"=>"Yessenia Pouros", "reference"=>"Edgardo Kemmer", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df34e97735331293750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms 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('53df34e97735331293760000'), "name"=>"Carolyne Sauer", "reference"=>"Diamond McDermott", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df34e97735331293760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms Completed 500 Internal Server Error in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293790000'), "name"=>"Lionel Friesen", "reference"=>"Mr. Uriah Nitzsche", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293770000'), "author_name"=>"Jadyn Windler III", "content"=>["Qui sunt labore aut reprehenderit. Numquam odit eos sunt totam vitae. Sint ea doloremque quia sapiente blanditiis dolor. Eius quidem rerum sint et esse."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293780000'), "author_name"=>"Arthur Corwin MD", "content"=>["Voluptate explicabo velit. Autem quia qui ex quisquam fuga. Voluptas dicta perspiciatis et et. Sed ut iusto necessitatibus totam recusandae quae. Possimus expedita sit dicta quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df34e97735331293790000", "comment_id"=>"53df34e97735331293770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293790000'), "comments._id"=>BSON::ObjectId('53df34e97735331293770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df34e977353312937a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Redirected to http://test.host/products/53df34e97735331293790000/comments/53df34e97735331293770000/comments/53df34e977353312937a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312937d0000'), "name"=>"Delores Haley", "reference"=>"Lexi Bins", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312937b0000'), "author_name"=>"Ms. Nyasia D'Amore", "content"=>["Iusto nisi vel harum quis aut. Ut aperiam nobis ullam voluptas ut ipsum. Error voluptas hic eaque et eum sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312937c0000'), "author_name"=>"Miss Willy Schuppe", "content"=>["Non reiciendis error. Nam illum ut quaerat et aut repellat eos. Iusto quia recusandae sint. Cupiditate necessitatibus illum blanditiis nihil assumenda laudantium totam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312937d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df34e977353312937d0000", "comment_id"=>"53df34e977353312937b0000", "id"=>"53df34e977353312937c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312937d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312937d0000'), "comments._id"=>BSON::ObjectId('53df34e977353312937b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df34e977353312937c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6463ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293800000'), "name"=>"Robyn Lang", "reference"=>"Amira Durgan", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312937e0000'), "author_name"=>"Luisa Marks", "content"=>["Quibusdam est voluptatem qui doloribus. Non perferendis sint cumque. Omnis vel quas corporis tenetur sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312937f0000'), "author_name"=>"Earnestine Wilkinson", "content"=>["Vitae tempora sapiente eligendi in. Quisquam optio molestiae et. Itaque qui officia sequi ut quas quis. Ducimus impedit saepe quisquam cupiditate aut perspiciatis nobis. Deserunt vero incidunt maiores ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df34e97735331293800000", "comment_id"=>"53df34e977353312937e0000", "id"=>"53df34e977353312937f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4246ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293830000'), "name"=>"Jordan Donnelly", "reference"=>"Mariah Price", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293810000'), "author_name"=>"Ebony Stiedemann", "content"=>["Est quo rerum placeat aut. Perspiciatis esse repellat voluptas sit cupiditate ducimus neque. Hic aliquid a enim repudiandae excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293820000'), "author_name"=>"Kaley Jenkins", "content"=>["Debitis est et enim. Maxime voluptate dolorem reiciendis. Magni iusto molestias vero est aut sit. Modi qui eos beatae ullam illo debitis. Nisi quisquam odit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6638ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df34e97735331293830000", "comment_id"=>"53df34e97735331293810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4264ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293860000'), "name"=>"Nicholaus Goyette", "reference"=>"Rylee Murray III", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293840000'), "author_name"=>"Leonardo Kling V", "content"=>["Quos beatae quis rerum sapiente quia. Ut et molestiae repellendus officiis. Sequi sit maiores repellat."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293850000'), "author_name"=>"Jessika Kunde", "content"=>["Voluptatem sapiente sit dolore. Repudiandae iusto dolor voluptate ratione omnis voluptatibus minus. Harum id non iusto rem tempore enim aliquid. Quibusdam nam saepe sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6768ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df34e97735331293860000", "comment_id"=>"53df34e97735331293840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4859ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293890000'), "name"=>"Judge Murazik", "reference"=>"Jocelyn Feil", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293870000'), "author_name"=>"Emerald Gorczany III", "content"=>["Numquam explicabo repellat dolorem. Ad ut quaerat. Voluptas delectus quidem a vel pariatur fugit dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293880000'), "author_name"=>"Esther Larson DVM", "content"=>["Sint architecto repellendus nam at dolore consequatur. Voluptate animi saepe quod excepturi. Laborum est nihil. Perspiciatis eum eum quo possimus aut. Facere aliquid nam est voluptates asperiores quod autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df34e97735331293890000", "comment_id"=>"53df34e97735331293870000", "id"=>"53df34e97735331293880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312938c0000'), "name"=>"Reid Ledner", "reference"=>"Thurman Wintheiser", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312938a0000'), "author_name"=>"Dejuan Legros", "content"=>["Eius hic et non sit cumque. Quisquam et veritatis. Aut quia repellendus consequatur fuga."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312938b0000'), "author_name"=>"Dr. Daphnee Hegmann", "content"=>["Aut impedit minus saepe blanditiis ipsa. Et velit voluptas. Officiis nobis qui adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5558ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df34e977353312938c0000", "comment_id"=>"53df34e977353312938a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312938c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4275ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e977353312938f0000'), "name"=>"Miss Germaine Rohan", "reference"=>"Shanna O'Kon DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312938d0000'), "author_name"=>"Breanne Skiles MD", "content"=>["Impedit magni ut at vel. Veritatis non dolorem. Accusamus aliquid inventore et."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e977353312938e0000'), "author_name"=>"Dr. Arjun Nikolaus", "content"=>["Cumque sed tempora est quo nulla qui ex. Fugit asperiores numquam. Voluptatibus id suscipit occaecati consequatur. Aut numquam et qui quo. Velit hic quae ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df34e977353312938f0000", "comment_id"=>"53df34e977353312938d0000", "id"=>"53df34e977353312938e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e977353312938f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 38ms (Views: 35.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df34e97735331293920000'), "name"=>"Dr. Stan Hahn", "reference"=>"Anya Schulist I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293900000'), "author_name"=>"Emmalee Hackett", "content"=>["Natus laudantium repellat nisi illum. Molestiae animi quis sed autem accusamus. Recusandae dolorum itaque. Nulla delectus repellendus totam. Vel asperiores dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df34e97735331293910000'), "author_name"=>"Morris Gottlieb", "content"=>["Voluptas doloremque maiores quae veniam nesciunt rem beatae. Repudiandae deserunt quibusdam omnis consequatur. Neque velit dolores voluptatum illo exercitationem animi. Ullam enim non dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5860ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df34e97735331293910000", "product_id"=>"53df34e97735331293920000", "comment_id"=>"53df34e97735331293900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df34e97735331293920000'), "comments._id"=>BSON::ObjectId('53df34e97735331293900000'), "comments.0.comments._id"=>BSON::ObjectId('53df34e97735331293910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6992ms Completed 500 Internal Server Error in 7ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293930000'), "firstname"=>"Roberta", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6037ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2980ms 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('53df34e97735331293940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms Redirected to http://test.host/users/53df34e97735331293940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2519ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293950000'), "firstname"=>"Alexanne", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2245ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df34e97735331293950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e97735331293950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e97735331293950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Completed 500 Internal Server Error in 3ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293960000'), "firstname"=>"Tyson", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df34e97735331293960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e97735331293960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293970000'), "firstname"=>"Renee", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms 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.4295ms Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e97735331293980000'), "firstname"=>"Pat", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms 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('53df34e97735331293990000'), "firstname"=>"Rosie", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df34e97735331293990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e97735331293990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df34e977353312939a0000'), "firstname"=>"Khalid", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df34e977353312939a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df34e977353312939a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7004ms 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.7122ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9591ms 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.6670ms 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.6701ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7000000'), "firstname"=>"Davonte", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2355ms 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('53df352e77353312c7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms 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.2520ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7020000'), "firstname"=>"Leonardo", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df352e77353312c7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 49ms (Views: 47.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7030000'), "firstname"=>"Josiah", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7040000'), "firstname"=>"Keyshawn", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df352e77353312c7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7050000'), "firstname"=>"Lindsay", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df352e77353312c7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms Unpermitted parameters: name Completed 500 Internal Server Error in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7060000'), "name"=>"Waylon Christiansen", "reference"=>"Reymundo Wilderman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7070000'), "author_name"=>"Mrs. Osbaldo Smith", "content"=>["Qui culpa sit ducimus aut itaque reprehenderit autem. Et autem eligendi similique. Aliquid quia sit beatae sit aut. Ut natus non ut vitae modi ea eos. Consequatur eveniet voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3689ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df352e77353312c7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df352e77353312c7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms Redirected to http://test.host/admin/products/53df352e77353312c7060000/comments/53df352e77353312c7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7090000'), "name"=>"Ursula Robel", "reference"=>"Breanne Parker", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c70a0000'), "author_name"=>"Micheal Bogan", "content"=>["Alias nihil velit. Saepe quo debitis nisi ullam ea. Deleniti quod consequatur exercitationem esse voluptate et delectus. Aspernatur ut magnam. Odio facere fugit atque commodi est quod corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df352e77353312c7090000", "id"=>"53df352e77353312c70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df352e77353312c70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5044ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c70b0000'), "name"=>"Elisabeth Emmerich", "reference"=>"Ms. Weldon Tromp", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c70c0000'), "author_name"=>"Fermin Jacobs", "content"=>["Porro perspiciatis provident est atque qui. Dolore error odit ut. Ipsa fugiat vel incidunt quam architecto quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6273ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df352e77353312c70b0000", "id"=>"53df352e77353312c70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3806ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c70d0000'), "name"=>"Rosina Jones", "reference"=>"Trent Bailey", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c70e0000'), "author_name"=>"Miss Concepcion Labadie", "content"=>["Et est architecto et ut ullam doloribus explicabo. Maiores vitae aliquam rerum reiciendis iure. Sed aspernatur maiores ad sapiente fuga nisi maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df352e77353312c70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c70f0000'), "name"=>"Durward Nitzsche", "reference"=>"Mandy Nikolaus", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7100000'), "author_name"=>"Nathan Christiansen II", "content"=>["Blanditiis facere soluta placeat nostrum minus. Aut nam incidunt maxime accusantium. Velit ab aperiam fuga corporis. Quod iusto quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df352e77353312c70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7110000'), "name"=>"Pink Smith", "reference"=>"Joanny Kozey", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7120000'), "author_name"=>"Mr. Hilda Lakin", "content"=>["Unde et est. Quia soluta voluptatem voluptas rerum et et. Et commodi cupiditate ea laboriosam ducimus voluptas. Qui possimus vitae et ea eos eius. Voluptatem possimus est inventore eos ipsum voluptatem culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df352e77353312c7110000", "id"=>"53df352e77353312c7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7130000'), "name"=>"Alisa Abernathy", "reference"=>"Dr. Kayden Wyman", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7140000'), "author_name"=>"Nya Parker V", "content"=>["Ut nesciunt rem voluptatem neque officia. Expedita ut nihil. Nostrum non amet voluptatem. Omnis facilis suscipit et fugit quos rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df352e77353312c7140000", "product_id"=>"53df352e77353312c7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7130000'), "comments._id"=>BSON::ObjectId('53df352e77353312c7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5517ms Completed 500 Internal Server Error in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7150000'), "name"=>"Miss Carter Jerde", "reference"=>"Furman Towne", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c7160000'), "firstname"=>"Marcia", "lastname"=>"Thiel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df352e77353312c7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3488ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms Redirected to http://test.host/admin/products/53df352e77353312c7150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7180000'), "name"=>"Lesley Funk", "reference"=>"Miss Ottilie Kilback", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c7190000'), "firstname"=>"Marilie", "lastname"=>"Daniel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df352e77353312c7190000", "product_id"=>"53df352e77353312c7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c71a0000'), "name"=>"Oran Parker", "reference"=>"Nona Stracke", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c71b0000'), "firstname"=>"Lavada", "lastname"=>"Roberts"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5729ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df352e77353312c71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c71a0000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c71c0000'), "name"=>"Juston O'Reilly", "reference"=>"Lizeth Crist", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c71d0000'), "firstname"=>"Adell", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df352e77353312c71d0000", "product_id"=>"53df352e77353312c71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3812ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c71e0000'), "name"=>"Ebony Okuneva", "reference"=>"Monserrat Kiehn", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c71f0000'), "firstname"=>"Loma", "lastname"=>"Zboncak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4941ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df352e77353312c71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df352e77353312c71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7200000'), "name"=>"Salma Corkery", "reference"=>"Mossie Rau", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1769ms 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('53df352e77353312c7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms Redirected to http://test.host/admin/products/53df352e77353312c7210000 Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2593ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7220000'), "name"=>"Shanie Ernser", "reference"=>"Percy Tremblay", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2369ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df352e77353312c7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7230000'), "name"=>"Kylie Romaguera", "reference"=>"Nathanial Brekke", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df352e77353312c7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7240000'), "name"=>"Earl Gusikowski", "reference"=>"Monique Zboncak", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4817ms 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.5677ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7250000'), "name"=>"Jan Reichel I", "reference"=>"Lavada Rath DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7280000'), "name"=>"Ebba Gleason IV", "reference"=>"Miss Kristofer Witting", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2201ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df352e77353312c7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms 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('53df352e77353312c7290000'), "name"=>"Mallie Jacobi IV", "reference"=>"Lila Purdy", "quantity"=>"1"}] 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"=>"53df352e77353312c7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7290000')} 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('53df352e77353312c7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Completed 500 Internal Server Error in 4ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352e77353312c72a0000'), "firstname"=>"Sam", "lastname"=>"Weimann"}] 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=>"admin_users", :query=>{}} runtime: 0.2621ms 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('53df352e77353312c72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Redirected to http://test.host/admin/users/53df352e77353312c72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2559ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352e77353312c72c0000'), "firstname"=>"Lenna", "lastname"=>"Schuster"}] 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.1805ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df352e77353312c72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352e77353312c72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352e77353312c72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms Completed 500 Internal Server Error in 3ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352e77353312c72d0000'), "firstname"=>"Anderson", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df352e77353312c72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352e77353312c72d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352e77353312c72e0000'), "firstname"=>"Tom", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms 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.3212ms 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('53df352e77353312c72f0000'), "firstname"=>"Helga", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7300000'), "firstname"=>"Cecil", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df352e77353312c7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352e77353312c7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms 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('53df352e77353312c7310000'), "firstname"=>"Flo", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df352e77353312c7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352e77353312c7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7320000'), "firstname"=>"Juvenal", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9088ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2824ms 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('53df352e77353312c7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms 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.3403ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7340000'), "firstname"=>"Camron", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df352e77353312c7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3862ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7350000'), "firstname"=>"Lisa", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7360000'), "firstname"=>"Marvin", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5956ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df352e77353312c7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7370000'), "firstname"=>"Kole", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5311ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df352e77353312c7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df352e77353312c7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4591ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7380000'), "name"=>"Toni Pfannerstill DVM", "reference"=>"Cielo Pollich", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7390000'), "author_name"=>"Sigurd Haley IV", "content"=>["Autem unde eos vel. Saepe rem velit est labore omnis. Ipsam qui velit quia ut blanditiis animi sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df352e77353312c7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4425ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df352e77353312c73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5552ms Redirected to http://test.host/products/53df352e77353312c7380000/comments/53df352e77353312c73a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c73b0000'), "name"=>"Miss Keira Muller", "reference"=>"Katelin Schinner", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c73c0000'), "author_name"=>"Julien Langworth", "content"=>["Quod quaerat culpa omnis dignissimos eos aliquid consectetur. Aut nemo illum est error. Distinctio aut doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df352e77353312c73b0000", "id"=>"53df352e77353312c73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df352e77353312c73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms Completed 500 Internal Server Error in 4ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c73d0000'), "name"=>"Marlene Braun", "reference"=>"Kathryn Lesch MD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c73e0000'), "author_name"=>"Nicola Langworth", "content"=>["Ipsam et aut aut ipsa. Quia ad vel tenetur. Maiores autem eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5799ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df352e77353312c73d0000", "id"=>"53df352e77353312c73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4054ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c73f0000'), "name"=>"Isaias Price", "reference"=>"Shania Wilkinson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7400000'), "author_name"=>"Janie Leuschke", "content"=>["Facere dolorum est asperiores possimus dolor cumque. Sed repellat qui sed sit fuga. Necessitatibus in aut voluptas sed architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5688ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df352e77353312c73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3991ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7410000'), "name"=>"Mrs. Macey Brakus", "reference"=>"Mr. Therese Considine", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7420000'), "author_name"=>"Miss Roderick Lynch", "content"=>["Et officia voluptates facere quasi itaque. Laborum et perferendis. Vitae corporis nisi est fuga dolor. Quos laudantium aut ut impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6057ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df352e77353312c7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3915ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7430000'), "name"=>"Enoch Padberg", "reference"=>"Abdul Parisian", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7440000'), "author_name"=>"Hayden Beahan", "content"=>["Voluptate dolorem voluptatem tempora qui esse. Ea labore recusandae molestiae autem aspernatur molestias quasi. Quo eaque amet. Sit quam voluptates. Cumque voluptates accusantium voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df352e77353312c7430000", "id"=>"53df352e77353312c7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7450000'), "name"=>"Geovanny Prohaska III", "reference"=>"Emory Gutkowski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7460000'), "author_name"=>"Miss Misael McKenzie", "content"=>["Possimus iste delectus laudantium aut sapiente laborum veritatis. Maxime nulla amet est. Deleniti repellat dolores et perspiciatis itaque aperiam commodi. Id nam fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df352e77353312c7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7470000'), "name"=>"Greg Franecki DVM", "reference"=>"Vida Metz I", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c7480000'), "author_name"=>"Miss Whitney Jacobs", "content"=>["Est molestiae dolorem placeat. Sunt incidunt quia. Sunt ipsa ad doloribus quisquam voluptates. Nesciunt ut est itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df352e77353312c7470000", "id"=>"53df352e77353312c7480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7490000'), "name"=>"Ladarius Jones PhD", "reference"=>"Ms. Kenny Hessel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352e77353312c74a0000'), "author_name"=>"Herminio Smitham", "content"=>["Quia id qui labore quis eligendi explicabo quia. Quia debitis autem enim consectetur est doloremque. Aut nemo ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df352e77353312c74a0000", "product_id"=>"53df352e77353312c7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c7490000'), "comments._id"=>BSON::ObjectId('53df352e77353312c74a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6280ms Completed 500 Internal Server Error in 8ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c74b0000'), "firstname"=>"Neal", "lastname"=>"Hand"}] 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=>"clients", :query=>{}} runtime: 0.1893ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c74c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Redirected to http://test.host/admin/clients/53df352e77353312c74c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2054ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c74d0000'), "firstname"=>"Toby", "lastname"=>"Waelchi"}] 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.1860ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df352e77353312c74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c74d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c74e0000'), "firstname"=>"Camylle", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df352e77353312c74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c74e0000')} 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: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c74f0000'), "firstname"=>"Ashly", "lastname"=>"Emard"}] 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.3433ms 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('53df352e77353312c7500000'), "firstname"=>"Mercedes", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7510000'), "firstname"=>"Hulda", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df352e77353312c7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7520000'), "firstname"=>"Chandler", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df352e77353312c7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms Completed 500 Internal Server Error in 4ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7530000'), "firstname"=>"Kenton", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2220ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms Redirected to http://test.host/clients/53df352e77353312c7540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2270ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7550000'), "firstname"=>"Wilford", "lastname"=>"Doyle"}] 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.2161ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df352e77353312c7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7550000')} 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('53df352e77353312c7550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms Completed 500 Internal Server Error in 3ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c7560000'), "firstname"=>"Kadin", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df352e77353312c7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7560000')} 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.8ms) 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('53df352e77353312c7570000'), "firstname"=>"Terrill", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms 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('53df352e77353312c7580000'), "firstname"=>"Karen", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms 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('53df352e77353312c7590000'), "firstname"=>"Vickie", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df352e77353312c7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Completed 200 OK in 36ms (Views: 34.4ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df352e77353312c75a0000'), "firstname"=>"Kaya", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3180ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df352e77353312c75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df352e77353312c75a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Completed 500 Internal Server Error 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('53df352e77353312c75b0000'), "name"=>"Domenick Bradtke", "reference"=>"Damien Armstrong", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c75c0000'), "firstname"=>"Yolanda", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df352e77353312c75b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c75b0000')} 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('53df352e77353312c75b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c75b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c75d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms Redirected to http://test.host/products/53df352e77353312c75b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352e77353312c75e0000'), "name"=>"Lorine Bartoletti", "reference"=>"Rosalia Hane", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df352e77353312c75f0000'), "firstname"=>"Tomas", "lastname"=>"Pollich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df352e77353312c75f0000", "product_id"=>"53df352e77353312c75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352e77353312c75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7600000'), "name"=>"Gordon Herzog Sr.", "reference"=>"Mr. Tod Bode", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df352f77353312c7610000'), "firstname"=>"Wilford", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df352f77353312c7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7620000'), "name"=>"Zaria Bruen", "reference"=>"Jay Graham", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df352f77353312c7630000'), "firstname"=>"Fernando", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df352f77353312c7630000", "product_id"=>"53df352f77353312c7620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3822ms Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7640000'), "name"=>"Mr. Gavin Rempel", "reference"=>"Berneice Bosco", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df352f77353312c7650000'), "firstname"=>"Michaela", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5120ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df352f77353312c7650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df352f77353312c7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7660000'), "name"=>"Olga Beer", "reference"=>"Fanny Johnson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1715ms 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('53df352f77353312c7670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms Redirected to http://test.host/products/53df352f77353312c7670000 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('53df352f77353312c7680000'), "name"=>"Vernie Schaden", "reference"=>"General Carter", "quantity"=>"7"}] 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.2909ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df352f77353312c7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7680000')} 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('53df352f77353312c7680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms Completed 500 Internal Server Error in 3ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7690000'), "name"=>"Tod Ankunding", "reference"=>"Mr. Kayden Connelly", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df352f77353312c7690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c76a0000'), "name"=>"Roman Ruecker", "reference"=>"Kristoffer Jones DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms 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.6629ms Completed 200 OK in 44ms (Views: 43.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c76b0000'), "name"=>"Titus Prosacco", "reference"=>"Karlee Wunsch III", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms 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: 2.5860ms Completed 200 OK in 7ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c76c0000'), "name"=>"Katlynn Bruen", "reference"=>"Brandy Rempel PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df352f77353312c76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms 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('53df352f77353312c76d0000'), "name"=>"Mario Carter", "reference"=>"Ahmad Kilback", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c76f0000'), "name"=>"Paris Bruen", "reference"=>"Annabelle Rath", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df352f77353312c76f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7700000'), "name"=>"Riley Schroeder", "reference"=>"Jacques Gulgowski", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2100ms 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('53df352f77353312c7710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms 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('53df352f77353312c7720000'), "name"=>"Audreanne Blanda", "reference"=>"Abdiel Turcotte", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df352f77353312c7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7720000')} 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={"_id"=>BSON::ObjectId('53df352f77353312c7720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8747ms Completed 500 Internal Server Error in 9ms --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7730000'), "name"=>"Jean O'Connell", "reference"=>"Dr. Dale Emmerich", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms 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('53df352f77353312c7750000'), "name"=>"Ethelyn Treutel", "reference"=>"Shanelle D'Amore", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df352f77353312c7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms 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('53df352f77353312c7760000'), "name"=>"Forest Rath", "reference"=>"Clark Kerluke V", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df352f77353312c7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Completed 500 Internal Server Error in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7790000'), "name"=>"Fabian Casper", "reference"=>"Lamar Bahringer III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7770000'), "author_name"=>"Jackson Lockman", "content"=>["Placeat rerum ad consequatur. Itaque numquam laborum. Et rem cum a error. Ducimus maiores nisi nemo reprehenderit autem. Sint et qui est molestias quo fugit distinctio."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7780000'), "author_name"=>"Kennedy Rippin", "content"=>["Voluptatibus cupiditate dignissimos vel. Rerum sed illo natus. Aspernatur eaque non quia delectus optio rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df352f77353312c7790000", "comment_id"=>"53df352f77353312c7770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7790000'), "comments._id"=>BSON::ObjectId('53df352f77353312c7770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df352f77353312c77a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Redirected to http://test.host/products/53df352f77353312c7790000/comments/53df352f77353312c7770000/comments/53df352f77353312c77a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c77d0000'), "name"=>"Emie Morar", "reference"=>"Olga Sipes", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c77b0000'), "author_name"=>"Alfonzo Keebler", "content"=>["Sequi temporibus sed. Voluptas error et rem doloremque. Possimus nam est iure et saepe officia."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c77c0000'), "author_name"=>"Miss Katharina Dietrich", "content"=>["Magni ad quaerat id perferendis. Nesciunt omnis consequatur sequi ut debitis voluptatem aliquid. Adipisci voluptatem error omnis recusandae. Distinctio earum modi sint quo quam deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df352f77353312c77d0000", "comment_id"=>"53df352f77353312c77b0000", "id"=>"53df352f77353312c77c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c77d0000'), "comments._id"=>BSON::ObjectId('53df352f77353312c77b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df352f77353312c77c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7800000'), "name"=>"Adonis Powlowski", "reference"=>"Una Cormier", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c77e0000'), "author_name"=>"Nat Jaskolski", "content"=>["Quo delectus quos omnis voluptatem pariatur dolores quas. Placeat omnis totam impedit nihil ea molestiae. Praesentium ipsa et sint itaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c77f0000'), "author_name"=>"Pamela Nikolaus", "content"=>["Sunt et earum excepturi eligendi. Maxime et rem distinctio velit nihil quia quae. Quibusdam adipisci id assumenda ea aspernatur. Odio ratione unde eius eaque. Sapiente rem corporis omnis aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df352f77353312c7800000", "comment_id"=>"53df352f77353312c77e0000", "id"=>"53df352f77353312c77f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7830000'), "name"=>"Dolores Olson", "reference"=>"Omari Konopelski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7810000'), "author_name"=>"Cora Goodwin", "content"=>["Dolorem eaque sed qui. Ut esse voluptate aut vel officiis consequatur. Dolor ut cum aut. Dolore ut pariatur voluptas ipsa eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7820000'), "author_name"=>"Mrs. Nat Tromp", "content"=>["Excepturi dolorem nostrum necessitatibus. Adipisci nihil quasi saepe temporibus nesciunt quos illum. Praesentium quia neque eum quis recusandae provident libero. Et temporibus et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df352f77353312c7830000", "comment_id"=>"53df352f77353312c7810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3743ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7860000'), "name"=>"Verda Miller", "reference"=>"Arthur Rippin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7840000'), "author_name"=>"Mr. Damien Hand", "content"=>["Et ad nulla est sequi illum. Et ipsum quasi nostrum facere inventore omnis. Sed veniam eum nulla nisi. Quia at quia quo ipsa ad et."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7850000'), "author_name"=>"Golda Eichmann", "content"=>["Modi fugit animi asperiores voluptatibus commodi assumenda. Aut et dolore maiores quaerat ipsum sit blanditiis. Quas sed minus quibusdam. Minima repellat occaecati voluptatem assumenda harum dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0049ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df352f77353312c7860000", "comment_id"=>"53df352f77353312c7840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7890000'), "name"=>"Jameson Eichmann MD", "reference"=>"Hudson O'Connell DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7870000'), "author_name"=>"Davonte Wyman", "content"=>["Sed quia deleniti impedit animi. Beatae recusandae blanditiis quisquam enim. Vitae ea ut nam quia libero et et. Eos id aut occaecati iste aperiam et. Sunt cum sit aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7880000'), "author_name"=>"Gretchen Bradtke", "content"=>["Magnam repudiandae molestiae optio asperiores velit eum nihil. Maxime et aliquid. Maxime assumenda distinctio itaque. Praesentium et laboriosam adipisci deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5357ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df352f77353312c7890000", "comment_id"=>"53df352f77353312c7870000", "id"=>"53df352f77353312c7880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c78c0000'), "name"=>"Elta Yundt", "reference"=>"Abbey Mann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c78a0000'), "author_name"=>"Justus Hodkiewicz Sr.", "content"=>["Enim excepturi voluptas eos enim sint ut magni. Ut animi qui optio esse. Architecto culpa voluptatibus tempora vel perspiciatis suscipit."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c78b0000'), "author_name"=>"Mr. Reggie Bosco", "content"=>["Quod earum autem similique. Commodi officia et. Rerum facilis labore similique voluptatem. Nihil ipsa optio reprehenderit est repellendus porro quo. Necessitatibus sit corrupti dolores est sit aperiam voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df352f77353312c78c0000", "comment_id"=>"53df352f77353312c78a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c78f0000'), "name"=>"Green Kutch V", "reference"=>"Dominique Beatty", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c78d0000'), "author_name"=>"Brant Padberg", "content"=>["Ut quo ab dolores reiciendis. Earum ea a sint laboriosam consequatur qui. Perspiciatis velit itaque sequi nihil voluptates. Ut ipsam autem ut quod."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c78e0000'), "author_name"=>"Tyshawn Reinger", "content"=>["Nobis facere expedita velit. Consequatur ut maxime occaecati. Et autem quibusdam fugiat autem voluptates incidunt eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5648ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df352f77353312c78f0000", "comment_id"=>"53df352f77353312c78d0000", "id"=>"53df352f77353312c78e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms Completed 200 OK in 40ms (Views: 37.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7920000'), "name"=>"Ernest Keeling PhD", "reference"=>"Jonathon Zemlak Sr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7900000'), "author_name"=>"Aryanna Goyette", "content"=>["Quidem officia ipsa et asperiores. Minima nesciunt sint. Rem reiciendis non voluptate sed. Veritatis vel quos expedita molestiae nulla ut eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53df352f77353312c7910000'), "author_name"=>"Queen Bashirian", "content"=>["Dolores aut laborum ipsam harum aut adipisci nihil. Aliquam qui ut possimus neque atque dolores. Accusantium ea et corporis voluptate. Pariatur sint aut qui quam corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6057ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df352f77353312c7910000", "product_id"=>"53df352f77353312c7920000", "comment_id"=>"53df352f77353312c7900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4353ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df352f77353312c7920000'), "comments._id"=>BSON::ObjectId('53df352f77353312c7900000'), "comments.0.comments._id"=>BSON::ObjectId('53df352f77353312c7910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7405ms Completed 500 Internal Server Error in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7930000'), "firstname"=>"Bailey", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2805ms 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('53df352f77353312c7940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms Redirected to http://test.host/users/53df352f77353312c7940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2962ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7950000'), "firstname"=>"Madisyn", "lastname"=>"Considine"}] 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=>"admin_users", :query=>{}} runtime: 0.2749ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df352f77353312c7950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352f77353312c7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352f77353312c7950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6651ms Completed 500 Internal Server Error in 8ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7960000'), "firstname"=>"Karina", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5697ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df352f77353312c7960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352f77353312c7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df352f77353312c7970000'), "firstname"=>"Ryan", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms 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.4896ms Completed 200 OK in 9ms (Views: 8.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7980000'), "firstname"=>"Rafael", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5563ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df352f77353312c7990000'), "firstname"=>"Houston", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df352f77353312c7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352f77353312c7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms 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('53df352f77353312c79a0000'), "firstname"=>"Brock", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df352f77353312c79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df352f77353312c79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Unpermitted parameters: name Completed 500 Internal Server Error in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3452ms 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.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.3713ms 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.2760ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa000000'), "firstname"=>"Josefa", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2481ms 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('53df356e77353312fa010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.7422ms Redirected to http://test.host/admin/administrator Completed 302 Found in 21ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2794ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa020000'), "firstname"=>"Carolyne", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df356e77353312fa020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356e77353312fa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 47ms (Views: 45.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa030000'), "firstname"=>"Darby", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5320ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa040000'), "firstname"=>"Billy", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5254ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df356e77353312fa040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356e77353312fa040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa050000'), "firstname"=>"Destini", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df356e77353312fa050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356e77353312fa050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms 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('53df356e77353312fa060000'), "name"=>"Aaliyah Kohler Sr.", "reference"=>"Krista Hermiston", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa070000'), "author_name"=>"Amanda Kautzer", "content"=>["Ipsum nulla libero adipisci. Vero consequatur vel porro eum voluptas aut expedita. Quibusdam ipsum ad aut velit in. Eos adipisci sed eos. Doloribus quam fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df356e77353312fa060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa060000')} 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('53df356e77353312fa060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df356e77353312fa080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Redirected to http://test.host/admin/products/53df356e77353312fa060000/comments/53df356e77353312fa080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa090000'), "name"=>"Mrs. Maximo Muller", "reference"=>"Herman Quigley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa0a0000'), "author_name"=>"Jettie Swaniawski", "content"=>["Itaque placeat eius voluptatem facilis eligendi saepe et. Dolores possimus eos eaque minima iure eos. Earum et nam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df356e77353312fa090000", "id"=>"53df356e77353312fa0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df356e77353312fa0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms Redirected to http://test.host/admin/products/53df356e77353312fa090000/comments Completed 302 Found in 30ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa0b0000'), "name"=>"Kaitlin Gibson", "reference"=>"Verla Stoltenberg", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa0c0000'), "author_name"=>"Mr. Lacey Runolfsson", "content"=>["Aut sint possimus voluptatum id. Harum corrupti error praesentium magnam. Eaque impedit ipsam hic distinctio beatae ut. Ab et magnam eius autem est in deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df356e77353312fa0b0000", "id"=>"53df356e77353312fa0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa0b0000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa0d0000'), "name"=>"River Thompson IV", "reference"=>"Cyrus Goodwin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa0e0000'), "author_name"=>"Jon MacGyver", "content"=>["Sunt esse quia. Quasi dolores voluptatibus quia rerum fuga necessitatibus optio. Esse odio rerum magnam. Perspiciatis voluptate nulla est. Labore maiores amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df356e77353312fa0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa0f0000'), "name"=>"Kaylie Donnelly", "reference"=>"Judge Dare PhD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa100000'), "author_name"=>"Demarcus Lynch", "content"=>["Ipsam vel sit et animi necessitatibus. A tenetur ad totam corporis quia. Dolores quo alias qui error molestiae dolor. Vero quis culpa reprehenderit unde repellendus. Ad pariatur magni reiciendis reprehenderit accusantium nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df356e77353312fa0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa110000'), "name"=>"Bertha Sporer", "reference"=>"Arielle Satterfield", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa120000'), "author_name"=>"Boyd Gulgowski", "content"=>["Error atque distinctio magni. Consectetur sapiente corporis. Qui qui libero voluptas. Qui sequi ut explicabo aut ut vel quod. Dolores consequatur amet consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df356e77353312fa110000", "id"=>"53df356e77353312fa120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa130000'), "name"=>"Ethyl Welch IV", "reference"=>"Miss Kayli Harvey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df356e77353312fa140000'), "author_name"=>"Lois Bahringer", "content"=>["Aut quasi delectus ipsa autem. Quia recusandae laborum. Perspiciatis delectus dolores cumque nam. Nesciunt possimus nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df356e77353312fa140000", "product_id"=>"53df356e77353312fa130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa130000'), "comments._id"=>BSON::ObjectId('53df356e77353312fa140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Redirected to http://test.host/admin/products/53df356e77353312fa130000/comments/53df356e77353312fa140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa150000'), "name"=>"Macey Marvin DDS", "reference"=>"Norris Sporer", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df356e77353312fa160000'), "firstname"=>"Shemar", "lastname"=>"Greenfelder"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df356e77353312fa150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa150000')} 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('53df356e77353312fa150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df356e77353312fa170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms Redirected to http://test.host/admin/products/53df356e77353312fa150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356e77353312fa180000'), "name"=>"Sadye DuBuque", "reference"=>"Terence Cartwright", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df356e77353312fa190000'), "firstname"=>"Beth", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df356e77353312fa190000", "product_id"=>"53df356e77353312fa180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356e77353312fa180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa1a0000'), "name"=>"Nigel Jacobs", "reference"=>"Mrs. Shaun Miller", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa1b0000'), "firstname"=>"Rahsaan", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df356f77353312fa1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa1c0000'), "name"=>"Julius Bashirian MD", "reference"=>"Alec Oberbrunner DDS", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa1d0000'), "firstname"=>"Brown", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df356f77353312fa1d0000", "product_id"=>"53df356f77353312fa1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa1e0000'), "name"=>"Lyla Paucek", "reference"=>"Howard Haag", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa1f0000'), "firstname"=>"Keely", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df356f77353312fa1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df356f77353312fa1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df356f77353312fa1e0000/manager 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('53df356f77353312fa200000'), "name"=>"Pink Cronin", "reference"=>"Hazle Miller Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1266ms 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('53df356f77353312fa210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Redirected to http://test.host/admin/products/53df356f77353312fa210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1476ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa220000'), "name"=>"Eryn Armstrong II", "reference"=>"Elenor Reichel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1496ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms 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.1613ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa230000'), "name"=>"Delphia Ledner", "reference"=>"Rachelle Greenholt", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df356f77353312fa230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.2ms) Completed 200 OK in 37ms (Views: 35.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa240000'), "name"=>"Lysanne Deckow", "reference"=>"Miss Isidro D'Amore", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms 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.4982ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa250000'), "name"=>"Everardo Haag", "reference"=>"Trevion Breitenberg III", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df356f77353312fa280000'), "name"=>"Amanda Schultz", "reference"=>"Bradly Hegmann PhD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df356f77353312fa280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa290000'), "name"=>"Jaclyn Gutmann I", "reference"=>"Roberta Murphy", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df356f77353312fa290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms Redirected to http://test.host/admin/products/53df356f77353312fa290000 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('53df356f77353312fa2a0000'), "firstname"=>"Ericka", "lastname"=>"Rau"}] 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=>"admin_users", :query=>{}} runtime: 0.1317ms 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('53df356f77353312fa2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Redirected to http://test.host/admin/users/53df356f77353312fa2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1540ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa2c0000'), "firstname"=>"Trent", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1362ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms 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.1336ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa2d0000'), "firstname"=>"Lavada", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df356f77353312fa2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa2e0000'), "firstname"=>"Marlen", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms 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.2718ms 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('53df356f77353312fa2f0000'), "firstname"=>"Bud", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms 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('53df356f77353312fa300000'), "firstname"=>"Shanie", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df356f77353312fa300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa310000'), "firstname"=>"Kelsi", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df356f77353312fa310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df356f77353312fa310000 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('53df356f77353312fa320000'), "firstname"=>"Ahmed", "lastname"=>"Donnelly"}] 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=>"administrators", :query=>{}} runtime: 0.1290ms 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('53df356f77353312fa330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms 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.1390ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa340000'), "firstname"=>"Floy", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df356f77353312fa340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356f77353312fa340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa350000'), "firstname"=>"Antwan", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5688ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.0ms) Completed 200 OK in 35ms (Views: 34.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa360000'), "firstname"=>"Grady", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df356f77353312fa360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356f77353312fa360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa370000'), "firstname"=>"Winifred", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df356f77353312fa370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df356f77353312fa370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms 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('53df356f77353312fa380000'), "name"=>"Aylin Cartwright", "reference"=>"Deven Gerlach", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa390000'), "author_name"=>"Mrs. Retta Pfannerstill", "content"=>["Doloremque temporibus pariatur et repudiandae mollitia. Voluptatem fugit dolores aut. Maxime voluptate delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df356f77353312fa380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df356f77353312fa3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms Redirected to http://test.host/products/53df356f77353312fa380000/comments/53df356f77353312fa3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa3b0000'), "name"=>"Dr. Casimir Blick", "reference"=>"Miss Zackary Little", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa3c0000'), "author_name"=>"Ozella Wiegand", "content"=>["Maxime voluptas doloremque. Est quaerat et quae qui. Quia commodi consequatur molestiae dolores natus vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df356f77353312fa3b0000", "id"=>"53df356f77353312fa3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa3b0000')} 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('53df356f77353312fa3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df356f77353312fa3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Redirected to http://test.host/products/53df356f77353312fa3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa3d0000'), "name"=>"London Crooks", "reference"=>"Tara Larkin V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa3e0000'), "author_name"=>"Raven Kunde", "content"=>["Dolorem hic tempora tempore suscipit. Iure molestiae a id odit qui consequatur. Illo aut non. Sit modi deserunt voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df356f77353312fa3d0000", "id"=>"53df356f77353312fa3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa3f0000'), "name"=>"Hazel Kuvalis", "reference"=>"Ethan Kilback DDS", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa400000'), "author_name"=>"Savanna Koepp", "content"=>["Dolorem voluptatem vel consequatur veritatis facere officia. Aut beatae qui cumque non perspiciatis numquam. Ab dicta nobis illo vero voluptatem possimus velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df356f77353312fa3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa410000'), "name"=>"Julie Torphy III", "reference"=>"Mack Murphy", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa420000'), "author_name"=>"Rhoda Pfannerstill", "content"=>["Ut quia reiciendis aspernatur voluptatibus nemo numquam. Vel nulla qui placeat assumenda. Asperiores optio consequuntur sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df356f77353312fa410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa430000'), "name"=>"Kellen Johnston", "reference"=>"Dorris Mills", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa440000'), "author_name"=>"Kailey Eichmann V", "content"=>["Earum nobis autem error. Vero error soluta. Perferendis ab iusto. Porro vitae ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df356f77353312fa430000", "id"=>"53df356f77353312fa440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa450000'), "name"=>"Mrs. Sherman Barton", "reference"=>"Mrs. Judson Hackett", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa460000'), "author_name"=>"Ms. Yadira Hayes", "content"=>["Et maxime est ut. Dolorem at reprehenderit. Occaecati et excepturi distinctio optio corrupti. Facilis cum quo eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4746ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df356f77353312fa450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa470000'), "name"=>"Tatum Windler", "reference"=>"Margie Bogan", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa480000'), "author_name"=>"Waldo Sawayn PhD", "content"=>["Ut quam et ut id. Pariatur aut fugiat maiores magnam. Qui et iure. Ratione rem nobis nesciunt velit dolore optio maxime. Quis architecto non voluptatem et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df356f77353312fa470000", "id"=>"53df356f77353312fa480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa490000'), "name"=>"Ibrahim Dach", "reference"=>"Macey Wuckert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa4a0000'), "author_name"=>"Evelyn Towne", "content"=>["Aperiam illo quis qui est. Aspernatur ipsum provident sit ea esse ratione praesentium. Provident vero non illo."]}]}] 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"=>"53df356f77353312fa4a0000", "product_id"=>"53df356f77353312fa490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa490000'), "comments._id"=>BSON::ObjectId('53df356f77353312fa4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Redirected to http://test.host/products/53df356f77353312fa490000/comments/53df356f77353312fa4a0000 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('53df356f77353312fa4b0000'), "firstname"=>"Shawna", "lastname"=>"Wuckert"}] 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=>"clients", :query=>{}} runtime: 0.1381ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Redirected to http://test.host/admin/clients/53df356f77353312fa4c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2233ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa4d0000'), "firstname"=>"Erling", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1955ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms 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.2152ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa4e0000'), "firstname"=>"Carmela", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df356f77353312fa4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df356f77353312fa4f0000'), "firstname"=>"Marielle", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Processing by Iord::GenericController#index as HTML MOPED: 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 38ms (Views: 36.7ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa500000'), "firstname"=>"Chasity", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa510000'), "firstname"=>"Ernest", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df356f77353312fa510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa520000'), "firstname"=>"Albina", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df356f77353312fa520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms Redirected to http://test.host/admin/clients/53df356f77353312fa520000 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('53df356f77353312fa530000'), "firstname"=>"Jan", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1479ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Redirected to http://test.host/clients/53df356f77353312fa540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1471ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa550000'), "firstname"=>"Randy", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1186ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms 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.1329ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa560000'), "firstname"=>"Devyn", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df356f77353312fa560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1947ms 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_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa570000'), "firstname"=>"Brenna", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms 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('53df356f77353312fa580000'), "firstname"=>"Freddy", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa590000'), "firstname"=>"Alexie", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df356f77353312fa590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms 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('53df356f77353312fa5a0000'), "firstname"=>"Gust", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df356f77353312fa5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df356f77353312fa5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms Redirected to http://test.host/clients/53df356f77353312fa5a0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa5b0000'), "name"=>"Hoyt Feeney", "reference"=>"Constance Bruen", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa5c0000'), "firstname"=>"Danny", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df356f77353312fa5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms Redirected to http://test.host/products/53df356f77353312fa5b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa5e0000'), "name"=>"Ms. Maxime Kulas", "reference"=>"Miss Bailee Zieme", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa5f0000'), "firstname"=>"Tyrel", "lastname"=>"Murphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df356f77353312fa5f0000", "product_id"=>"53df356f77353312fa5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa5e0000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa600000'), "name"=>"Jade McLaughlin", "reference"=>"Hattie Eichmann", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa610000'), "firstname"=>"Nelle", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df356f77353312fa600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 32ms (Views: 30.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa620000'), "name"=>"Elenora Reinger", "reference"=>"Jeremie Schmitt", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa630000'), "firstname"=>"Toni", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df356f77353312fa630000", "product_id"=>"53df356f77353312fa620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa640000'), "name"=>"Rubie Klein", "reference"=>"Otha Rowe", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df356f77353312fa650000'), "firstname"=>"Brisa", "lastname"=>"Murphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df356f77353312fa650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df356f77353312fa640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Unpermitted parameters: name Redirected to http://test.host/products/53df356f77353312fa640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa660000'), "name"=>"Brooke Hansen", "reference"=>"Hellen Hermann IV", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1956ms 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('53df356f77353312fa670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms Redirected to http://test.host/products/53df356f77353312fa670000 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('53df356f77353312fa680000'), "name"=>"Litzy Cremin I", "reference"=>"Maurine Keebler", "quantity"=>"3"}] 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 ProductsController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa680000')} 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('53df356f77353312fa680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms 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.1819ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa690000'), "name"=>"Mr. Orlo Barton", "reference"=>"Ms. Alexzander Ryan", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df356f77353312fa690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('53df356f77353312fa6a0000'), "name"=>"Rubie Flatley V", "reference"=>"Kirstin O'Keefe", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms 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.6953ms Completed 200 OK in 19ms (Views: 18.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa6b0000'), "name"=>"Henry Osinski", "reference"=>"Mr. Amanda Davis", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms 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.6305ms 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('53df356f77353312fa6c0000'), "name"=>"Eriberto Fritsch PhD", "reference"=>"Bette Graham", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df356f77353312fa6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4415ms 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('53df356f77353312fa6d0000'), "name"=>"Lucile Lemke", "reference"=>"Diana Rath", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df356f77353312fa6f0000'), "name"=>"Elza Pfannerstill", "reference"=>"Emilia Jones", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df356f77353312fa6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa700000'), "name"=>"Mr. Carmela Cormier", "reference"=>"Dr. Garrett Botsford", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.1743ms 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('53df356f77353312fa710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1816ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa720000'), "name"=>"Dimitri Bernhard", "reference"=>"Ms. Laisha Rath", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df356f77353312fa720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa720000')} 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('53df356f77353312fa720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms 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('53df356f77353312fa730000'), "name"=>"Finn Schroeder", "reference"=>"Mandy Bosco", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms 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('53df356f77353312fa750000'), "name"=>"Janelle Mosciski V", "reference"=>"Domenick Senger", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df356f77353312fa750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa750000')} 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('53df356f77353312fa750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms 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('53df356f77353312fa760000'), "name"=>"Bernardo Senger", "reference"=>"Mr. Keyon Morar", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df356f77353312fa760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms Redirected to http://test.host/products/53df356f77353312fa760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa790000'), "name"=>"Perry Berge", "reference"=>"Krista Davis", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa770000'), "author_name"=>"Lavina Howe", "content"=>["Optio odit ut ea maiores. Accusamus distinctio porro laboriosam aut cupiditate. Sequi deleniti omnis eveniet magni autem totam."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa780000'), "author_name"=>"Myles McGlynn", "content"=>["Blanditiis quis qui quae autem repellat. Est quis aliquid rem accusantium. Eos eligendi quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df356f77353312fa790000", "comment_id"=>"53df356f77353312fa770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa790000'), "comments._id"=>BSON::ObjectId('53df356f77353312fa770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df356f77353312fa7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8153ms Redirected to http://test.host/products/53df356f77353312fa790000/comments/53df356f77353312fa770000/comments/53df356f77353312fa7a0000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4895ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa7d0000'), "name"=>"Mylene Wilderman", "reference"=>"Destiney Treutel", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa7b0000'), "author_name"=>"Mathias Hills", "content"=>["Velit vitae deserunt nihil id minima quis earum. Voluptate non dolore reiciendis non. Sed voluptatibus totam dignissimos voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa7c0000'), "author_name"=>"Mr. Roslyn Smitham", "content"=>["Quibusdam alias maiores blanditiis dolorum aut distinctio. Saepe est et. Esse nostrum aut aut libero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df356f77353312fa7d0000", "comment_id"=>"53df356f77353312fa7b0000", "id"=>"53df356f77353312fa7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa7d0000'), "comments._id"=>BSON::ObjectId('53df356f77353312fa7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df356f77353312fa7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6605ms Redirected to http://test.host/products/53df356f77353312fa7d0000/comments/53df356f77353312fa7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa800000'), "name"=>"Brandy Baumbach", "reference"=>"Julien Macejkovic", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa7e0000'), "author_name"=>"Miss Bert Kovacek", "content"=>["Reprehenderit magnam quisquam iusto illo nihil cumque. Quis ut vel. Libero reprehenderit nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa7f0000'), "author_name"=>"Mr. Alysha Gusikowski", "content"=>["Modi et officia est voluptatem dolor. Et autem quia. Repudiandae quam delectus quia ex consequatur debitis dolore. Reiciendis tempore ratione sint nihil quia. Voluptatem id commodi ipsum impedit eius dolores magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df356f77353312fa800000", "comment_id"=>"53df356f77353312fa7e0000", "id"=>"53df356f77353312fa7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4191ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa830000'), "name"=>"Brent Carroll", "reference"=>"Tomasa Mueller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa810000'), "author_name"=>"Loma Quitzon", "content"=>["Et occaecati corporis quasi eius velit. Enim labore blanditiis sit necessitatibus. Accusamus est est distinctio voluptate quasi. Expedita recusandae dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa820000'), "author_name"=>"Angus Kunde", "content"=>["Dicta nihil id eum maiores ea at itaque. Qui vel maiores. Impedit consequatur repudiandae ex est repellat. Tenetur ut iusto similique vitae voluptate excepturi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6035ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df356f77353312fa830000", "comment_id"=>"53df356f77353312fa810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa860000'), "name"=>"Elizabeth Grant", "reference"=>"Jeanie Cummerata Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa840000'), "author_name"=>"Katherine Kihn", "content"=>["Laudantium quia dolorem eos vitae. Enim non explicabo odit provident veniam sunt at. Iste consequatur et fugit amet."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa850000'), "author_name"=>"Aniyah Rau", "content"=>["Qui ipsum ipsam. Ratione corporis quos consequatur quia. Ut velit nostrum et dolorum est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df356f77353312fa860000", "comment_id"=>"53df356f77353312fa840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4201ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa890000'), "name"=>"Angelica Heidenreich", "reference"=>"Skylar Rowe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa870000'), "author_name"=>"Ms. Camilla Kunze", "content"=>["Dolor dolores et maxime consequatur. Rem ut itaque. Officiis sit et velit et. Eos in reiciendis nostrum earum. Qui ex accusantium officia alias similique."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa880000'), "author_name"=>"Sarah Larkin", "content"=>["Quis soluta optio autem voluptatem suscipit. Natus qui numquam veritatis modi. Qui facilis ad rerum et in molestiae sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df356f77353312fa890000", "comment_id"=>"53df356f77353312fa870000", "id"=>"53df356f77353312fa880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4236ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa8c0000'), "name"=>"Miss Albina Mayer", "reference"=>"Ms. Jonathon Rowe", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa8a0000'), "author_name"=>"Yessenia Hessel", "content"=>["Maiores aut voluptatem harum sunt perferendis minus. Corporis illum sit. Ut blanditiis sequi impedit. Cum tempora necessitatibus labore ut iusto tempore hic. Aperiam accusamus in iure est eum ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa8b0000'), "author_name"=>"Aurelie Boyle", "content"=>["Sed dignissimos nesciunt aperiam. Maiores laboriosam ut vel velit. Sed in perspiciatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5266ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df356f77353312fa8c0000", "comment_id"=>"53df356f77353312fa8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4164ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa8f0000'), "name"=>"Gonzalo Renner", "reference"=>"Dalton Balistreri", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa8d0000'), "author_name"=>"Mitchel Goyette I", "content"=>["Adipisci ipsum non inventore voluptates. Velit eius illo. Occaecati laborum vel minima. Nulla accusamus quia ut reiciendis eaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa8e0000'), "author_name"=>"Dr. Juana Lindgren", "content"=>["Nihil sit doloremque quasi magnam deserunt ea. Quos incidunt omnis eum aperiam sapiente consequatur qui. Eligendi nemo labore unde possimus excepturi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df356f77353312fa8f0000", "comment_id"=>"53df356f77353312fa8d0000", "id"=>"53df356f77353312fa8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa920000'), "name"=>"Ned Larson V", "reference"=>"Dylan Shanahan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa900000'), "author_name"=>"Miss Glenna Kunde", "content"=>["Ut nostrum porro optio occaecati et. Sit quis et dolor minus odio. Nostrum animi dolore sed inventore. Rerum ab debitis deserunt quisquam unde. Vel et perspiciatis est veritatis non."], "comments"=>[{"_id"=>BSON::ObjectId('53df356f77353312fa910000'), "author_name"=>"Isaiah Schmitt", "content"=>["Fugiat eveniet et odit. Maiores voluptas et voluptatem autem natus dolor consequatur. Vel quia et cum error. Ex aut quae ipsam autem dignissimos nobis eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6606ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df356f77353312fa910000", "product_id"=>"53df356f77353312fa920000", "comment_id"=>"53df356f77353312fa900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df356f77353312fa920000'), "comments._id"=>BSON::ObjectId('53df356f77353312fa900000'), "comments.0.comments._id"=>BSON::ObjectId('53df356f77353312fa910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms Redirected to http://test.host/products/53df356f77353312fa920000/comments/53df356f77353312fa900000/comments/53df356f77353312fa910000 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('53df356f77353312fa930000'), "firstname"=>"Felicita", "lastname"=>"Volkman"}] 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.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('53df356f77353312fa940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Redirected to http://test.host/users/53df356f77353312fa940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2079ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa950000'), "firstname"=>"Donato", "lastname"=>"Sporer"}] 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=>"admin_users", :query=>{}} runtime: 0.1853ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df356f77353312fa950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms 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.2199ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa960000'), "firstname"=>"Natalie", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df356f77353312fa960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa960000')} 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: 4.8ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa970000'), "firstname"=>"Lizeth", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms 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.3434ms Completed 200 OK in 32ms (Views: 31.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa980000'), "firstname"=>"Katarina", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa990000'), "firstname"=>"Diamond", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df356f77353312fa990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df356f77353312fa9a0000'), "firstname"=>"Haskell", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df356f77353312fa9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df356f77353312fa9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms Unpermitted parameters: name Redirected to http://test.host/users/53df356f77353312fa9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3996ms 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.3855ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms 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.4383ms 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.4256ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b000000'), "firstname"=>"Jailyn", "lastname"=>"Nitzsche"}] 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=>"administrators", :query=>{}} runtime: 0.1939ms 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('53df3602773533145b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms 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.1468ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b020000'), "firstname"=>"Alejandrin", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3602773533145b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 48ms (Views: 46.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b030000'), "firstname"=>"Jordyn", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b040000'), "firstname"=>"Violette", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3602773533145b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b050000'), "firstname"=>"Petra", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3602773533145b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms 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('53df3602773533145b060000'), "name"=>"Breanna Reichel", "reference"=>"Katelin Kub", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b070000'), "author_name"=>"Kaelyn Bahringer Sr.", "content"=>["Illo quae animi voluptatibus nesciunt voluptatem tempora nam. Doloremque placeat voluptatem. Fugiat repellendus ullam tempore dicta commodi iusto voluptates. Veniam qui temporibus quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3602773533145b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3602773533145b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Redirected to http://test.host/admin/products/53df3602773533145b060000/comments/53df3602773533145b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b090000'), "name"=>"Obie Gerhold PhD", "reference"=>"Jakob Emmerich", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b0a0000'), "author_name"=>"Gerson Schimmel", "content"=>["Reiciendis iusto placeat autem recusandae omnis. Est totam aut exercitationem. Quaerat voluptatum enim molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3602773533145b090000", "id"=>"53df3602773533145b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3602773533145b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.4215ms Redirected to http://test.host/admin/products/53df3602773533145b090000/comments Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b0b0000'), "name"=>"Giovanna Bradtke", "reference"=>"Johathan Goodwin", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b0c0000'), "author_name"=>"Aracely Dicki", "content"=>["Omnis aperiam deserunt quis asperiores. Voluptatem expedita voluptas. Alias rerum id quasi beatae repellat omnis id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3602773533145b0b0000", "id"=>"53df3602773533145b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b0d0000'), "name"=>"Ms. Alexa O'Kon", "reference"=>"Idella Stark", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b0e0000'), "author_name"=>"Sabrina Moore V", "content"=>["Rem qui tenetur. Distinctio voluptatem quo voluptates iusto. Voluptas quos nisi labore accusantium et. Provident sed quos id vel veniam rerum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3602773533145b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b0f0000'), "name"=>"Bridget Volkman III", "reference"=>"Magali Greenholt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b100000'), "author_name"=>"Violet Harvey PhD", "content"=>["Eveniet accusamus sint. Qui ratione occaecati vero ut quis. Ducimus provident esse perferendis. Vitae harum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3602773533145b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b110000'), "name"=>"Joshua Rice", "reference"=>"Amaya Bode", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b120000'), "author_name"=>"Imogene Keeling", "content"=>["Ipsam rerum officiis quo earum. Aut dicta iure quisquam. Molestiae consectetur fugit non quia voluptates. Quia magni est sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3602773533145b110000", "id"=>"53df3602773533145b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b130000'), "name"=>"Dylan Weissnat", "reference"=>"Boyd Yundt Sr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b140000'), "author_name"=>"Gay Rice", "content"=>["Ipsum occaecati voluptatum nesciunt sed. Nemo quisquam sint praesentium quidem ipsam architecto. Ut beatae perferendis ipsam laborum tempore eum et. Earum cupiditate consequatur fuga nostrum possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3602773533145b140000", "product_id"=>"53df3602773533145b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b130000'), "comments._id"=>BSON::ObjectId('53df3602773533145b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6149ms Redirected to http://test.host/admin/products/53df3602773533145b130000/comments/53df3602773533145b140000 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('53df3602773533145b150000'), "name"=>"Baby Hettinger", "reference"=>"Mr. Cary O'Kon", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b160000'), "firstname"=>"Efren", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5654ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3602773533145b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Redirected to http://test.host/admin/products/53df3602773533145b150000/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('53df3602773533145b180000'), "name"=>"Ms. Eliza Lowe", "reference"=>"Ms. Alvina Block", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b190000'), "firstname"=>"Madelyn", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3602773533145b190000", "product_id"=>"53df3602773533145b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b1a0000'), "name"=>"Jo Heaney", "reference"=>"Zane Kihn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b1b0000'), "firstname"=>"Charlie", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3602773533145b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b1c0000'), "name"=>"Alex Dickens", "reference"=>"Amara Fisher", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b1d0000'), "firstname"=>"Daija", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3602773533145b1d0000", "product_id"=>"53df3602773533145b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b1e0000'), "name"=>"Amira Graham", "reference"=>"Caroline Altenwerth", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3602773533145b1f0000'), "firstname"=>"Iliana", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3602773533145b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3602773533145b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3602773533145b1e0000/manager 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('53df3602773533145b200000'), "name"=>"Giles Wyman", "reference"=>"Roosevelt Wolff", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1663ms 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('53df3602773533145b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms Redirected to http://test.host/admin/products/53df3602773533145b210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1565ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b220000'), "name"=>"Albertha Schmitt", "reference"=>"Mike Larkin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1638ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3602773533145b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms 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.1420ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b230000'), "name"=>"Miss Brianne Schiller", "reference"=>"Isai Reinger", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3602773533145b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 36ms (Views: 34.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b240000'), "name"=>"Rylan Kuphal", "reference"=>"Camren Pouros MD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms 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.4983ms 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('53df3602773533145b250000'), "name"=>"Mrs. Taryn Langosh", "reference"=>"Albin Raynor", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 18ms (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('53df3602773533145b280000'), "name"=>"Miss Harrison Wolf", "reference"=>"Kyleigh Toy", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3602773533145b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms 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('53df3602773533145b290000'), "name"=>"Norbert Marquardt", "reference"=>"Mrs. Lottie Bins", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3602773533145b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Redirected to http://test.host/admin/products/53df3602773533145b290000 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('53df3602773533145b2a0000'), "firstname"=>"Dion", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1609ms 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('53df3602773533145b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms Redirected to http://test.host/admin/users/53df3602773533145b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1801ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3602773533145b2c0000'), "firstname"=>"Ebony", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1615ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3602773533145b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3602773533145b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3602773533145b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms 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.1438ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3602773533145b2d0000'), "firstname"=>"Carmine", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3602773533145b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3602773533145b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3602773533145b2e0000'), "firstname"=>"Jaiden", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms 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.2808ms 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('53df3602773533145b2f0000'), "firstname"=>"Berneice", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms 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('53df3602773533145b300000'), "firstname"=>"Asa", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3602773533145b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3602773533145b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms Completed 200 OK in 3ms (Views: 2.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3602773533145b310000'), "firstname"=>"Rickie", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3602773533145b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3602773533145b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3602773533145b310000 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('53df3602773533145b320000'), "firstname"=>"Rhett", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1531ms 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('53df3602773533145b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms 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.1478ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b340000'), "firstname"=>"Sim", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3602773533145b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b350000'), "firstname"=>"Nettie", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b360000'), "firstname"=>"Cole", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.6345ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3602773533145b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3602773533145b370000'), "firstname"=>"Kristopher", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3602773533145b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3602773533145b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms 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('53df3602773533145b380000'), "name"=>"Daija Ledner", "reference"=>"Dr. Chaim Langworth", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b390000'), "author_name"=>"Rosina Kihn", "content"=>["Eos vero quidem. Dolores aut dolor sed ipsum beatae est. Non rem laudantium adipisci dolores officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3602773533145b380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3602773533145b3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Redirected to http://test.host/products/53df3602773533145b380000/comments/53df3602773533145b3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b3b0000'), "name"=>"Terrell Becker", "reference"=>"Maybell Bergstrom I", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b3c0000'), "author_name"=>"Lennie Durgan Sr.", "content"=>["Ducimus mollitia necessitatibus. Sed quas voluptatem necessitatibus fuga accusamus. Molestiae soluta itaque perspiciatis voluptatibus natus. Reprehenderit ea nobis eum. Nihil aliquid soluta enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3602773533145b3b0000", "id"=>"53df3602773533145b3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3602773533145b3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms Redirected to http://test.host/products/53df3602773533145b3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b3d0000'), "name"=>"Jeromy Schamberger", "reference"=>"Dr. Candida Bartell", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b3e0000'), "author_name"=>"Carmella Howell", "content"=>["Sed velit et quidem. Laudantium commodi reiciendis rem corrupti aut quia. Enim odio ratione voluptatibus. In omnis natus explicabo vel molestias dignissimos ipsam. Sequi numquam non qui officiis nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3602773533145b3d0000", "id"=>"53df3602773533145b3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b3f0000'), "name"=>"Georgette Heidenreich", "reference"=>"Patsy Streich", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b400000'), "author_name"=>"Maye Olson", "content"=>["Autem sint voluptatem laboriosam nobis ea. Neque ipsa consequatur earum ex dolores provident. Temporibus et officiis nam rem amet quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3602773533145b3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b410000'), "name"=>"Merl Olson", "reference"=>"Madisen Klein", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b420000'), "author_name"=>"Mr. Kallie Franecki", "content"=>["Beatae quia voluptatibus. Provident animi asperiores rem quas temporibus. Quisquam dolorem quia et est aut itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3602773533145b410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b430000'), "name"=>"Shaylee Hessel", "reference"=>"Daphnee Williamson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b440000'), "author_name"=>"Electa Will", "content"=>["Iure ut minima eos quas alias nisi. Aut iste doloribus ut soluta voluptatem delectus. Soluta est nihil porro enim voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3602773533145b430000", "id"=>"53df3602773533145b440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b450000'), "name"=>"Marilyne Leuschke", "reference"=>"Michel McKenzie", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b460000'), "author_name"=>"Kennith Walsh", "content"=>["Ea sit et voluptatem vero sed iste. At mollitia eligendi deleniti repudiandae labore quis id. Atque odio illum id tempore. Nam repellat numquam corporis deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3602773533145b450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b470000'), "name"=>"Myriam Reichert", "reference"=>"Mr. Nova Greenfelder", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b480000'), "author_name"=>"Dr. Alize Gusikowski", "content"=>["Qui vero perferendis voluptatum possimus amet iure. Odit dolorum doloribus est optio sint. Et itaque eum beatae aut quas et repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3602773533145b470000", "id"=>"53df3602773533145b480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3602773533145b490000'), "name"=>"Rafael Macejkovic", "reference"=>"Miss Wilton Watsica", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3602773533145b4a0000'), "author_name"=>"Kamron Heidenreich", "content"=>["Voluptatem consectetur sit repudiandae qui. Modi et ex. Est ea vel id ut qui. Pariatur cum cupiditate tempore nemo molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3602773533145b4a0000", "product_id"=>"53df3602773533145b490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3602773533145b490000'), "comments._id"=>BSON::ObjectId('53df3602773533145b4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Redirected to http://test.host/products/53df3602773533145b490000/comments/53df3602773533145b4a0000 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('53df3602773533145b4b0000'), "firstname"=>"Marcelo", "lastname"=>"Windler"}] 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.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('53df3602773533145b4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms Redirected to http://test.host/admin/clients/53df3602773533145b4c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1647ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3602773533145b4d0000'), "firstname"=>"Yesenia", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1446ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3602773533145b4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3602773533145b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3602773533145b4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms 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.1427ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3602773533145b4e0000'), "firstname"=>"Ashlynn", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3602773533145b4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3602773533145b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3602773533145b4f0000'), "firstname"=>"Cletus", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Completed 200 OK in 38ms (Views: 37.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b500000'), "firstname"=>"Willis", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b510000'), "firstname"=>"Lexie", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3603773533145b510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b520000'), "firstname"=>"Clotilde", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3603773533145b520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Redirected to http://test.host/admin/clients/53df3603773533145b520000 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('53df3603773533145b530000'), "firstname"=>"Izabella", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1483ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms Redirected to http://test.host/clients/53df3603773533145b540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1464ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b550000'), "firstname"=>"Dixie", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1403ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3603773533145b550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7356ms 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.1951ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b560000'), "firstname"=>"Malika", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3603773533145b560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1977ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df3603773533145b570000'), "firstname"=>"Kamren", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms 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('53df3603773533145b580000'), "firstname"=>"Maximillian", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3603773533145b590000'), "firstname"=>"Aditya", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3603773533145b590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms 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('53df3603773533145b5a0000'), "firstname"=>"Sasha", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3603773533145b5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3603773533145b5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Redirected to http://test.host/clients/53df3603773533145b5a0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b5b0000'), "name"=>"Sigurd Kuhic", "reference"=>"Miss Chanel Pagac", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b5c0000'), "firstname"=>"Monty", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3603773533145b5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms Redirected to http://test.host/products/53df3603773533145b5b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b5e0000'), "name"=>"Kendra O'Keefe", "reference"=>"Ms. Gust Carter", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b5f0000'), "firstname"=>"Leo", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3603773533145b5f0000", "product_id"=>"53df3603773533145b5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b600000'), "name"=>"Mr. Dane Herman", "reference"=>"Katlyn Hansen", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b610000'), "firstname"=>"Moriah", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3603773533145b600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.5ms) Completed 200 OK in 30ms (Views: 28.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b620000'), "name"=>"Margot Rogahn", "reference"=>"Loy Buckridge", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b630000'), "firstname"=>"Makayla", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3603773533145b630000", "product_id"=>"53df3603773533145b620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b640000'), "name"=>"Alva Dickinson", "reference"=>"Davion Schmidt II", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3603773533145b650000'), "firstname"=>"Lyric", "lastname"=>"Balistreri"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3603773533145b650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3603773533145b640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms Unpermitted parameters: name Redirected to http://test.host/products/53df3603773533145b640000/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('53df3603773533145b660000'), "name"=>"Mr. Piper Kutch", "reference"=>"Roy Kautzer", "quantity"=>"6"}] 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.1528ms 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('53df3603773533145b670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Redirected to http://test.host/products/53df3603773533145b670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1824ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b680000'), "name"=>"Rosalinda Kirlin", "reference"=>"Germaine Lehner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2291ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3603773533145b680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3834ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms 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.2708ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b690000'), "name"=>"Jennings Wyman", "reference"=>"Syble Schoen", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3603773533145b690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b6a0000'), "name"=>"Brady Kulas", "reference"=>"Felipa Reilly", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms 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.6945ms Completed 200 OK in 19ms (Views: 18.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b6b0000'), "name"=>"Sedrick Reichert", "reference"=>"Jedediah Gutmann", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms 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.5829ms 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('53df3603773533145b6c0000'), "name"=>"Ms. Vladimir Hansen", "reference"=>"Ford Gleason PhD", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3603773533145b6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms 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('53df3603773533145b6d0000'), "name"=>"Augustus Rau", "reference"=>"Tabitha Hilll", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6425ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b6f0000'), "name"=>"Elfrieda Shanahan", "reference"=>"Kareem Hills", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3603773533145b6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b700000'), "name"=>"Eldon Jacobson", "reference"=>"Diamond White", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1619ms 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('53df3603773533145b710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1484ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b720000'), "name"=>"Keith Harris Jr.", "reference"=>"Augustine Quigley Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3603773533145b720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms 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('53df3603773533145b730000'), "name"=>"Ed Wehner", "reference"=>"Euna Schultz", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms 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('53df3603773533145b750000'), "name"=>"Kelvin Toy MD", "reference"=>"Rudolph Howe Jr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3603773533145b750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms 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('53df3603773533145b760000'), "name"=>"Macey Nolan", "reference"=>"Roderick Breitenberg Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3603773533145b760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms Redirected to http://test.host/products/53df3603773533145b760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b790000'), "name"=>"Abbey Blanda", "reference"=>"Jessyca Jaskolski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b770000'), "author_name"=>"Al Swift", "content"=>["Vero non velit repudiandae quisquam est itaque. Sed velit eos magni. Sunt ut architecto exercitationem veritatis quis vero. Aspernatur perspiciatis quod aut quia vero."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b780000'), "author_name"=>"Reymundo Marvin", "content"=>["Magnam veritatis est et. Tenetur qui dolor sed perspiciatis libero consequuntur vel. Nostrum voluptates ea assumenda laborum et dignissimos. Quia ut est voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3603773533145b790000", "comment_id"=>"53df3603773533145b770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b790000')} 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('53df3603773533145b790000'), "comments._id"=>BSON::ObjectId('53df3603773533145b770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3603773533145b7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Redirected to http://test.host/products/53df3603773533145b790000/comments/53df3603773533145b770000/comments/53df3603773533145b7a0000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4895ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b7d0000'), "name"=>"Judson Ebert", "reference"=>"Spencer Hodkiewicz DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b7b0000'), "author_name"=>"Deron Christiansen", "content"=>["Magni tenetur consectetur. Labore est sed perspiciatis asperiores dolorem. Laudantium voluptas quia dignissimos molestias temporibus voluptates sed. Inventore fugiat magnam est sapiente atque nesciunt. Neque unde occaecati dicta qui incidunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b7c0000'), "author_name"=>"Dorian Rohan", "content"=>["Ipsam eos quia laboriosam sint odit est quis. Sequi iste voluptatem accusamus. Tenetur pariatur veniam rerum veritatis recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3603773533145b7d0000", "comment_id"=>"53df3603773533145b7b0000", "id"=>"53df3603773533145b7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b7d0000'), "comments._id"=>BSON::ObjectId('53df3603773533145b7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3603773533145b7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms Redirected to http://test.host/products/53df3603773533145b7d0000/comments/53df3603773533145b7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b800000'), "name"=>"Dino Gutmann", "reference"=>"Terrence Schumm", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b7e0000'), "author_name"=>"Gerald Braun", "content"=>["Minus enim voluptatibus ipsa et. Quia excepturi veritatis. Explicabo laudantium veritatis qui itaque qui molestias. Earum quo sunt odio consectetur. Quaerat in modi nesciunt eum qui placeat libero."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b7f0000'), "author_name"=>"Lon Emard I", "content"=>["Aperiam dicta culpa accusantium. A commodi dolor est. Dolore sint et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3603773533145b800000", "comment_id"=>"53df3603773533145b7e0000", "id"=>"53df3603773533145b7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3688ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b830000'), "name"=>"Aliya Blick I", "reference"=>"Narciso Eichmann", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b810000'), "author_name"=>"Ms. Samson Homenick", "content"=>["Dolore iste a rem. Qui qui at labore quo repellendus molestias. Libero ab voluptas ullam magni saepe impedit atque. Exercitationem dolorum dolores soluta voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b820000'), "author_name"=>"Miss Luisa Wintheiser", "content"=>["Aspernatur autem quo accusamus. Eius aut et inventore consequatur sequi ratione nihil. Architecto voluptatem excepturi officiis molestiae beatae sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3603773533145b830000", "comment_id"=>"53df3603773533145b810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b860000'), "name"=>"Carlo Raynor", "reference"=>"Luz Boehm", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b840000'), "author_name"=>"Seth Waelchi", "content"=>["Accusantium quae corrupti ipsum sunt itaque. Labore repudiandae modi incidunt et sed eos. Excepturi molestias unde aperiam dolorem tempora in. Velit error est in voluptatem repudiandae magnam officiis. Quia quibusdam unde nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b850000'), "author_name"=>"Wayne Mohr", "content"=>["Nulla cumque totam commodi deserunt dolorum laudantium. Cupiditate dignissimos veniam ratione id. Et voluptatem et commodi ut quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3603773533145b860000", "comment_id"=>"53df3603773533145b840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b890000'), "name"=>"Paige Douglas", "reference"=>"Chanel Bartoletti", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b870000'), "author_name"=>"Jaren Nicolas", "content"=>["Itaque cum nobis quia qui facilis. Nam quae rerum ducimus. Optio quibusdam ducimus qui nam. Laudantium numquam voluptas consequatur quia praesentium expedita omnis. Occaecati modi ratione praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b880000'), "author_name"=>"Madyson Kohler I", "content"=>["Ad qui tempora iure ipsum omnis aut consequuntur. Omnis dolores tempora ipsam neque et provident. Id quod corrupti molestiae mollitia voluptatem dicta neque. Odit tenetur rem officiis illum iusto alias. In voluptates eius itaque aut sit inventore veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3603773533145b890000", "comment_id"=>"53df3603773533145b870000", "id"=>"53df3603773533145b880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b8c0000'), "name"=>"Newell Kris", "reference"=>"Rashad Klocko", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b8a0000'), "author_name"=>"Miss Jace Jerde", "content"=>["Provident maiores soluta. Quod ut ea odit quibusdam dolorum. Incidunt quia reiciendis aut alias illum voluptatem nisi. Qui dolores saepe."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b8b0000'), "author_name"=>"Susie Goyette Sr.", "content"=>["Odit fuga amet. Nostrum cum magnam eaque aut. Tempore non autem voluptatem est. Accusantium aut consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3603773533145b8c0000", "comment_id"=>"53df3603773533145b8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b8f0000'), "name"=>"Colin O'Keefe", "reference"=>"Marlee Swaniawski DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b8d0000'), "author_name"=>"Louie Koepp", "content"=>["Fugit exercitationem consequuntur animi repudiandae. Rerum architecto illo sit maiores quia sit sint. Praesentium a corporis porro consequatur voluptatem. Perferendis omnis ipsum est."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b8e0000'), "author_name"=>"Mr. Pearline West", "content"=>["Voluptate unde ad nesciunt. Ut tempora ipsa quo sunt. Aspernatur aut alias harum rem animi dicta. Saepe nemo sed consequatur ut officia sit eius."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3603773533145b8f0000", "comment_id"=>"53df3603773533145b8d0000", "id"=>"53df3603773533145b8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms Completed 200 OK in 5ms (Views: 2.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3603773533145b920000'), "name"=>"Elda Shanahan IV", "reference"=>"Alfonso Raynor", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b900000'), "author_name"=>"Luisa Rice", "content"=>["Harum eius cupiditate soluta ut id corporis. Adipisci autem sit iure. Tempora sed assumenda excepturi consequatur dolores ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df3603773533145b910000'), "author_name"=>"Lorna Dickinson DVM", "content"=>["Id qui consequatur in sit quibusdam et vitae. Expedita molestias ipsam quia non et dolor. Reiciendis omnis iure est. Vel adipisci voluptatem. Sed et unde qui est mollitia inventore fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3603773533145b910000", "product_id"=>"53df3603773533145b920000", "comment_id"=>"53df3603773533145b900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3603773533145b920000'), "comments._id"=>BSON::ObjectId('53df3603773533145b900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3603773533145b910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Redirected to http://test.host/products/53df3603773533145b920000/comments/53df3603773533145b900000/comments/53df3603773533145b910000 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('53df3603773533145b930000'), "firstname"=>"Wilton", "lastname"=>"Price"}] 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=>"admin_users", :query=>{}} runtime: 0.1596ms 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('53df3603773533145b940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms Redirected to http://test.host/users/53df3603773533145b940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1574ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3603773533145b950000'), "firstname"=>"Mavis", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2066ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3603773533145b950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3603773533145b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3603773533145b950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6868ms Redirected to http://test.host/users Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2370ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3603773533145b960000'), "firstname"=>"Ben", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3603773533145b960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3603773533145b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3603773533145b970000'), "firstname"=>"Einar", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms 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.3025ms Completed 200 OK in 35ms (Views: 34.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3603773533145b980000'), "firstname"=>"Amber", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms 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.5ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3603773533145b990000'), "firstname"=>"Jeffry", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3603773533145b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3603773533145b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms 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('53df3603773533145b9a0000'), "firstname"=>"Jewell", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3603773533145b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3603773533145b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms Unpermitted parameters: name Redirected to http://test.host/users/53df3603773533145b9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms 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.3405ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products 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.2506ms 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.2054ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a57735331502000000'), "firstname"=>"Jovanny", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5182ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df36a57735331502000000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (31.4ms) Completed 500 Internal Server Error in 38ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a57735331502010000'), "firstname"=>"Juston", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5563ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 13ms (Views: 12.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a57735331502020000'), "firstname"=>"Dianna", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df36a57735331502020000"} Completed 200 OK in 3ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a57735331502030000'), "firstname"=>"Hillard", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df36a57735331502030000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502040000'), "name"=>"Bria Ledner", "reference"=>"Donna Effertz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df36a57735331502050000'), "author_name"=>"Ansley Stanton", "content"=>["Dolor quia et autem officiis. Enim assumenda enim et quod magnam. Doloribus est veniam. Architecto qui quia est et odio non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36a57735331502040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df36a57735331502040000", "id"=>"53df36a57735331502050000"} Completed 500 Internal Server Error in 28ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502060000'), "name"=>"Vivian Lubowitz", "reference"=>"Carolina Dicki V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df36a57735331502070000'), "author_name"=>"Stanford Runolfsson", "content"=>["Voluptas eveniet et voluptates officiis exercitationem. Veritatis neque nam sed ut. Cupiditate qui alias quasi rem saepe voluptas assumenda. Facere temporibus quia in placeat reprehenderit eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5879ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df36a57735331502060000", "id"=>"53df36a57735331502070000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502080000'), "name"=>"Misty Stroman", "reference"=>"Henry Tillman", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36a57735331502090000'), "author_name"=>"Hershel Upton III", "content"=>["Sed sit aspernatur non rerum facere aut quae. Magni dolores consequatur nemo asperiores facere voluptatibus aut. Consectetur eos maiores dolores. Eum accusantium ab reiciendis sint culpa inventore aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df36a57735331502080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=comments selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4323ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315020a0000'), "name"=>"Darryl Breitenberg", "reference"=>"Reginald Farrell III", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36a577353315020b0000'), "author_name"=>"Luella Murazik", "content"=>["Odio et aut laudantium perspiciatis. Qui fuga ut iusto. Eum cumque itaque repudiandae qui nesciunt doloremque. Hic enim iure voluptas voluptas nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df36a577353315020a0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315020c0000'), "name"=>"Meredith Balistreri", "reference"=>"Mrs. Deon Maggio", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36a577353315020d0000'), "author_name"=>"Jevon MacGyver IV", "content"=>["Sunt fugiat doloremque molestias voluptatem. Exercitationem similique consequatur eos repudiandae et vel voluptatum. Maiores vero ea quasi commodi assumenda culpa. Quo quo facere nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5611ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df36a577353315020c0000", "id"=>"53df36a577353315020d0000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315020e0000'), "name"=>"Beverly DuBuque", "reference"=>"Corine Braun", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36a577353315020f0000'), "author_name"=>"Jaron Pfeffer", "content"=>["Praesentium voluptatum rerum aut molestias necessitatibus sint eos. Sed laborum molestias. Delectus ratione molestiae mollitia saepe quo est voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5780ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36a577353315020f0000", "product_id"=>"53df36a577353315020e0000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502100000'), "name"=>"Millie Pagac", "reference"=>"Mrs. Kristina Parker", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df36a57735331502110000'), "firstname"=>"Kathlyn", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9698ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df36a57735331502110000", "product_id"=>"53df36a57735331502100000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502120000'), "name"=>"Cole Gerlach IV", "reference"=>"Alexandrine Goldner", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df36a57735331502130000'), "firstname"=>"Adolphus", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5501ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df36a57735331502120000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (0.8ms) Completed 500 Internal Server Error in 3ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502140000'), "name"=>"Marlon Gulgowski III", "reference"=>"Caleigh Johns", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df36a57735331502150000'), "firstname"=>"Lillie", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5141ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df36a57735331502150000", "product_id"=>"53df36a57735331502140000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502160000'), "name"=>"Bobby Strosin", "reference"=>"Miss Rashad Nienow", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df36a57735331502170000'), "firstname"=>"Anibal", "lastname"=>"Dooley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df36a57735331502170000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df36a57735331502160000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502180000'), "name"=>"Hosea Cronin", "reference"=>"Hunter Daugherty", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3550ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df36a57735331502180000"} Completed 500 Internal Server Error in 30ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a57735331502190000'), "name"=>"Mr. Bradley Bosco", "reference"=>"Quentin Witting", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5739ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df36a57735331502190000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315021a0000'), "name"=>"Braxton Olson", "reference"=>"Juwan Reichert DDS", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5404ms 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.5970ms Completed 200 OK in 10ms (Views: 9.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315021b0000'), "name"=>"Dr. Beatrice Hettinger", "reference"=>"Tyrese O'Conner", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 19ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a577353315021e0000'), "name"=>"Dixie Rempel", "reference"=>"Mrs. Damaris Conroy", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6517ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df36a577353315021e0000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315021f0000'), "name"=>"Mr. Zoila Dach", "reference"=>"Brando Kuphal", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5883ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36a677353315021f0000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------- 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('53df36a67735331502200000'), "firstname"=>"Lauren", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6464ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3195ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df36a67735331502200000"} 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('53df36a67735331502210000'), "firstname"=>"Keenan", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5152ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df36a67735331502210000"} Completed 500 Internal Server Error in 3ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36a67735331502220000'), "firstname"=>"Russ", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5694ms 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('53df36a67735331502230000'), "firstname"=>"Maeve", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4957ms 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('53df36a67735331502240000'), "firstname"=>"Katherine", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df36a67735331502240000"} Completed 500 Internal Server Error in 2ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36a67735331502250000'), "firstname"=>"Evan", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df36a67735331502250000"} Completed 500 Internal Server Error in 1ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a67735331502260000'), "firstname"=>"Vladimir", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5705ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df36a67735331502260000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.1ms) Completed 500 Internal Server Error in 5ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a67735331502270000'), "firstname"=>"Leopoldo", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5756ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a67735331502280000'), "firstname"=>"Okey", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df36a67735331502280000"} Completed 200 OK in 3ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36a67735331502290000'), "firstname"=>"Stephan", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6532ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df36a67735331502290000", "administrator"=>{"name"=>"Hello"}} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315022a0000'), "name"=>"Terrill Oberbrunner", "reference"=>"Miss Mathias Kessler", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315022b0000'), "author_name"=>"Miss Anya Ruecker", "content"=>["Explicabo nisi eaque ipsa placeat doloremque aut velit. Adipisci aliquam sequi est itaque rerum enim commodi. Nisi commodi autem maiores. Recusandae blanditiis dolorem pariatur minus. Nam ut ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36a677353315022a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df36a677353315022a0000", "id"=>"53df36a677353315022b0000"} Completed 500 Internal Server Error in 0ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315022c0000'), "name"=>"Orie Veum", "reference"=>"Mr. Mitchel Ward", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315022d0000'), "author_name"=>"Marcelo Nikolaus I", "content"=>["Quam quo modi sed qui molestiae autem eos. Impedit nam deleniti omnis id consequatur. Assumenda possimus explicabo ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5970ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df36a677353315022c0000", "id"=>"53df36a677353315022d0000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315022e0000'), "name"=>"Clinton Bailey V", "reference"=>"Ms. Omer Bins", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315022f0000'), "author_name"=>"Devin Jacobson", "content"=>["Vero eveniet officia deserunt. Libero impedit suscipit amet corporis eius officia velit. Voluptas quidem ad omnis autem illo est. Ea et nobis necessitatibus. Id iste rerum hic dolorem officia quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6382ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df36a677353315022e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=comments selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5193ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502300000'), "name"=>"Hazle Langosh", "reference"=>"Edwin Greenfelder", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502310000'), "author_name"=>"Gerald Considine", "content"=>["Blanditiis quam eveniet corrupti consequatur dolores. Quod qui doloribus. Et sed provident odit sequi aut consectetur qui. Numquam quia doloribus. Et eius et deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5551ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df36a67735331502300000"} Completed 406 Not Acceptable in 1ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502320000'), "name"=>"Schuyler Yost", "reference"=>"Jacynthe Lowe", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502330000'), "author_name"=>"Martin Leuschke", "content"=>["Atque voluptas aliquam illum enim saepe. Neque est enim voluptatibus asperiores aut qui consequatur. Consequuntur error veniam asperiores voluptas magnam dolor quos. Et sit officia enim dolor occaecati et unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6041ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df36a67735331502320000", "id"=>"53df36a67735331502330000"} Completed 406 Not Acceptable in 0ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502340000'), "name"=>"Dr. Nicholas Torphy", "reference"=>"Noelia Hand MD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502350000'), "author_name"=>"Ross Pollich", "content"=>["Expedita asperiores non at harum provident. Non corporis rerum quas molestiae tempora officia. Praesentium eos maiores laborum. Accusantium aut quo. Iste fuga dicta mollitia asperiores dolore est tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5994ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df36a67735331502340000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502360000'), "name"=>"Mertie Macejkovic", "reference"=>"Kelsi Durgan", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502370000'), "author_name"=>"Eladio White", "content"=>["Eum qui delectus qui doloribus aliquid voluptas. Quia aperiam quis quas sed. Qui maxime amet vero sint quae inventore rerum. Dolores perferendis quis esse quae et ipsa repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5989ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df36a67735331502360000", "id"=>"53df36a67735331502370000"} Completed 500 Internal Server Error in 3ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502380000'), "name"=>"Nicolette Torp", "reference"=>"Breanna Hoppe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502390000'), "author_name"=>"Nico Stokes", "content"=>["Sit maiores eligendi optio. Voluptas blanditiis qui impedit aspernatur autem ipsum quam. Fugiat explicabo fuga. Qui itaque dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5769ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36a67735331502390000", "product_id"=>"53df36a67735331502380000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36a677353315023a0000'), "firstname"=>"Jannie", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6293ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3636ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df36a677353315023a0000"} 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('53df36a677353315023b0000'), "firstname"=>"Velma", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6226ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df36a677353315023b0000"} Completed 500 Internal Server Error in 3ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36a677353315023c0000'), "firstname"=>"Noemi", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms 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('53df36a677353315023d0000'), "firstname"=>"Osbaldo", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5561ms 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('53df36a677353315023e0000'), "firstname"=>"Monique", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5410ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df36a677353315023e0000"} Completed 500 Internal Server Error in 2ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36a677353315023f0000'), "firstname"=>"Kristina", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df36a677353315023f0000"} 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('53df36a67735331502400000'), "firstname"=>"Alysha", "lastname"=>"Mayert"}] 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=>"clients", :query=>{}} runtime: 0.3152ms 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('53df36a67735331502410000'), "firstname"=>"Marion", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3752ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df36a67735331502410000"} 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('53df36a67735331502420000'), "firstname"=>"Jeremy", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df36a67735331502420000"} 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('53df36a67735331502430000'), "firstname"=>"Ahmad", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms 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('53df36a67735331502440000'), "firstname"=>"Ocie", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms 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('53df36a67735331502450000'), "firstname"=>"Edgardo", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df36a67735331502450000"} 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('53df36a67735331502460000'), "firstname"=>"Jackie", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df36a67735331502460000"} Completed 500 Internal Server Error in 0ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502470000'), "name"=>"Pearlie Dicki", "reference"=>"Elisabeth Fay", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df36a67735331502480000'), "firstname"=>"Stan", "lastname"=>"Witting"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df36a67735331502480000", "product_id"=>"53df36a67735331502470000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502490000'), "name"=>"Adeline Mayert", "reference"=>"Sidney Wiegand", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df36a677353315024a0000'), "firstname"=>"Sidney", "lastname"=>"Wuckert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df36a67735331502490000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (0.8ms) Completed 500 Internal Server Error in 3ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315024b0000'), "name"=>"Jose Little", "reference"=>"Christelle McDermott", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df36a677353315024c0000'), "firstname"=>"Ole", "lastname"=>"O'Kon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df36a677353315024c0000", "product_id"=>"53df36a677353315024b0000"} Completed 500 Internal Server Error in 3ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315024d0000'), "name"=>"Ms. Jonatan Rice", "reference"=>"Gustave Harber", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df36a677353315024e0000'), "firstname"=>"Eva", "lastname"=>"Prosacco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df36a677353315024e0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df36a677353315024d0000"} Unpermitted parameters: name Completed 500 Internal Server Error in 1ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315024f0000'), "name"=>"Liza Krajcik", "reference"=>"Reilly Conn IV", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5976ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3410ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df36a677353315024f0000"} 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('53df36a67735331502500000'), "name"=>"Rhiannon Bartoletti II", "reference"=>"Merle Satterfield", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5527ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df36a67735331502500000"} Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.0ms) Completed 500 Internal Server Error in 4ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502510000'), "name"=>"Walker Schroeder DVM", "reference"=>"Ryley Kuhn II", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5815ms 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.7083ms 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('53df36a67735331502520000'), "name"=>"Miss Griffin McKenzie", "reference"=>"Alphonso Lakin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by ProductsController#index as JSON Completed 406 Not Acceptable in 1ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502530000'), "name"=>"Lilian Hahn", "reference"=>"Lolita Klein", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df36a67735331502530000"} Completed 406 Not Acceptable in 0ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502540000'), "name"=>"Jaquan MacGyver", "reference"=>"Aliyah Hirthe", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms 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.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502570000'), "name"=>"Einar Dietrich", "reference"=>"Heber Graham", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df36a67735331502570000"} Completed 500 Internal Server Error in 3ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502580000'), "name"=>"Ms. Curtis Murray", "reference"=>"Camden Hickle", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2217ms 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('53df36a67735331502590000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms Completed 406 Not Acceptable in 2ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315025a0000'), "name"=>"Miss Marian Rodriguez", "reference"=>"Daryl Schiller", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df36a677353315025a0000"} 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('53df36a677353315025b0000'), "name"=>"Muhammad Schowalter V", "reference"=>"Jimmie Fritsch", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 406 Not Acceptable in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315025c0000'), "name"=>"Mr. Terrill Kulas", "reference"=>"Mrs. Jade Pouros", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36a677353315025c0000"} 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('53df36a677353315025d0000'), "name"=>"Vito Kuhic", "reference"=>"Sheldon Pacocha", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36a677353315025d0000"} Completed 500 Internal Server Error in 1ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502600000'), "name"=>"Kallie Gerhold", "reference"=>"Maegan Homenick", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315025e0000'), "author_name"=>"Ervin Orn", "content"=>["Non ut molestias numquam dolores. Qui et iure similique nihil molestiae dolor dolorem. Odit consequatur architecto facilis."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315025f0000'), "author_name"=>"Miss Millie Langworth", "content"=>["Quaerat voluptatem ab. Enim dolore et non quia. Iusto aut beatae earum eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36a67735331502600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df36a67735331502600000", "comment_id"=>"53df36a677353315025e0000", "id"=>"53df36a677353315025f0000"} Completed 500 Internal Server Error in 0ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502630000'), "name"=>"Noble Nienow", "reference"=>"Alan Schroeder PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502610000'), "author_name"=>"Travon Legros", "content"=>["Dolorem ducimus beatae numquam cumque aliquid vero ullam. Excepturi laborum aut voluptas voluptatibus unde nihil et. Doloremque odio nihil reiciendis laboriosam ducimus. Quod alias aspernatur. Ea illum quidem porro esse."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502620000'), "author_name"=>"Jeffry Koch", "content"=>["Est aut pariatur neque consequatur. Corporis ad possimus accusantium consequatur sit perferendis qui. Et omnis neque aut ullam adipisci. Sint dolore ut adipisci sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df36a67735331502630000", "comment_id"=>"53df36a67735331502610000", "id"=>"53df36a67735331502620000"} Completed 500 Internal Server Error in 4ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502660000'), "name"=>"Kallie Collins", "reference"=>"Eddie Huel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502640000'), "author_name"=>"Vince Stehr", "content"=>["A similique enim et. Et voluptas illo tenetur. Rerum odit ea rem vel nemo. Consequatur vero corrupti fugiat incidunt voluptas velit. Omnis molestiae ut voluptas adipisci dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502650000'), "author_name"=>"Elbert Bechtelar", "content"=>["Accusantium sunt laborum officiis eum. Autem quia illum expedita ut ut. Quod consequuntur non nobis eos debitis assumenda eum. Rerum dolore autem officia ratione natus aspernatur aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df36a67735331502660000", "comment_id"=>"53df36a67735331502640000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502690000'), "name"=>"Michelle O'Connell", "reference"=>"Osborne McLaughlin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502670000'), "author_name"=>"Niko Hayes", "content"=>["Non in eum explicabo praesentium labore quo dignissimos. Natus officiis et dolore non recusandae. Fugit eum aperiam et porro ex atque architecto."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502680000'), "author_name"=>"Rey Bins", "content"=>["Nemo et tenetur laboriosam nostrum dolore inventore. Qui qui explicabo. Harum suscipit architecto ipsam in debitis. Numquam voluptatem quis iste ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df36a67735331502690000", "comment_id"=>"53df36a67735331502670000"} Completed 500 Internal Server Error in 1ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315026c0000'), "name"=>"Ms. Ahmed Volkman", "reference"=>"Yazmin Howell", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315026a0000'), "author_name"=>"Stanford Klein", "content"=>["Eos quos maiores iusto omnis. Cum accusantium et dolorum voluptate. Pariatur sint quibusdam fuga voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315026b0000'), "author_name"=>"Isabell Monahan", "content"=>["Earum explicabo cupiditate esse autem. Suscipit magnam enim quia laudantium quo nisi. Aut perferendis perspiciatis neque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df36a677353315026c0000", "comment_id"=>"53df36a677353315026a0000", "id"=>"53df36a677353315026b0000"} Completed 406 Not Acceptable in 0ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a677353315026f0000'), "name"=>"Nakia Sipes", "reference"=>"Gonzalo Doyle", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315026d0000'), "author_name"=>"Trisha Wunsch", "content"=>["Aut sit ea voluptas esse quia rerum distinctio. Omnis aperiam eos harum ut rerum enim sunt. Consequatur aut vel recusandae quo."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a677353315026e0000'), "author_name"=>"Kayleigh Smith DDS", "content"=>["Ex dignissimos qui. Libero id et omnis iste et. Quisquam numquam earum et. Consequatur libero voluptatum molestiae dolores dolorem occaecati. Quo quas recusandae voluptatem aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df36a677353315026f0000", "comment_id"=>"53df36a677353315026d0000"} Completed 500 Internal Server Error in 1ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502720000'), "name"=>"Bernadette Mayert", "reference"=>"Stefanie Pfeffer", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502700000'), "author_name"=>"Korbin Baumbach", "content"=>["Corrupti dolorem incidunt ipsa error ut. Voluptas velit nobis exercitationem sunt quidem minus et. Cumque officiis vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502710000'), "author_name"=>"Floyd McCullough", "content"=>["Ullam officia beatae et sit. Optio repudiandae facilis perspiciatis ut molestiae accusamus rem. Et ut id facere iste molestiae. Ducimus nobis soluta aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df36a67735331502720000", "comment_id"=>"53df36a67735331502700000", "id"=>"53df36a67735331502710000"} Completed 500 Internal Server Error in 2ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36a67735331502750000'), "name"=>"Heloise Zboncak", "reference"=>"Ms. Kianna Maggio", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502730000'), "author_name"=>"Dayne Schuppe MD", "content"=>["Iure eos officia est ullam. Voluptatem neque aperiam omnis sed commodi consequuntur. Incidunt ducimus tenetur fuga harum error reprehenderit vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df36a67735331502740000'), "author_name"=>"Anika Hodkiewicz", "content"=>["Tempore unde aliquid iusto doloremque. Pariatur in incidunt. Mollitia quos sapiente corporis fugiat. Doloremque animi quos dignissimos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7204ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36a67735331502740000", "product_id"=>"53df36a67735331502750000", "comment_id"=>"53df36a67735331502730000"} Completed 500 Internal Server Error in 1ms --------------------------------------- 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('53df36a67735331502760000'), "firstname"=>"Jarrell", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1933ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df36a67735331502760000"} 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('53df36a67735331502770000'), "firstname"=>"Roxanne", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df36a67735331502770000"} Completed 500 Internal Server Error in 3ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36a67735331502780000'), "firstname"=>"August", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms 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('53df36a67735331502790000'), "firstname"=>"Izaiah", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms 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('53df36a677353315027a0000'), "firstname"=>"Bonita", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df36a677353315027a0000"} Completed 500 Internal Server Error in 2ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36a677353315027b0000'), "firstname"=>"Granville", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df36a677353315027b0000"} Completed 500 Internal Server Error in 0ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7203ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms 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.2702ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537000000'), "firstname"=>"Ofelia", "lastname"=>"Barrows"}] 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.1820ms 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('53df36f47735331537010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms 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.2765ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537020000'), "firstname"=>"Domingo", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.7252ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df36f47735331537020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 49ms (Views: 47.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537030000'), "firstname"=>"Daniella", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537040000'), "firstname"=>"Alda", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df36f47735331537040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537050000'), "firstname"=>"Norberto", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df36f47735331537050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537050000')} 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('53df36f47735331537060000'), "name"=>"Crystel Fritsch", "reference"=>"Dr. Lempi Sanford", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537070000'), "author_name"=>"Geovanny Turcotte", "content"=>["Optio aut consequatur in. Adipisci quia molestias consequuntur reprehenderit accusamus sit non. Et ut eos ipsum rem a fugiat vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df36f47735331537060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df36f47735331537080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms Redirected to http://test.host/admin/products/53df36f47735331537060000/comments/53df36f47735331537080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537090000'), "name"=>"Miss Jaylon Gibson", "reference"=>"Lora Koepp V", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315370a0000'), "author_name"=>"Isai Jast", "content"=>["Corrupti corporis dolores molestiae sit enim. Eius explicabo dolores error. Tempora nulla et. Quod cupiditate cumque et sequi reprehenderit quam incidunt. Hic minima nesciunt corrupti fuga sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.7899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df36f47735331537090000", "id"=>"53df36f477353315370a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537090000')} 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('53df36f47735331537090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df36f477353315370a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Redirected to http://test.host/admin/products/53df36f47735331537090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315370b0000'), "name"=>"Rory Brekke DDS", "reference"=>"Araceli Cole", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315370c0000'), "author_name"=>"Reanna Simonis", "content"=>["Hic reprehenderit illum. Cum repellat quo autem totam. Dolorem quas rerum fugiat alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df36f477353315370b0000", "id"=>"53df36f477353315370c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315370b0000')} 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: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315370d0000'), "name"=>"Arnoldo Bartoletti DDS", "reference"=>"Lina Wintheiser", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315370e0000'), "author_name"=>"Mrs. Amalia Stracke", "content"=>["Est totam fuga fugit excepturi vero. Illo aut ut velit at. Quis reiciendis voluptatibus veniam et quam sit exercitationem. Vel ut facere blanditiis esse a voluptatum quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df36f477353315370d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315370d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315370f0000'), "name"=>"Lesley Boyle", "reference"=>"Miss Abbigail Feil", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537100000'), "author_name"=>"Alta Prohaska", "content"=>["Aut nihil voluptate explicabo nobis ut magnam perferendis. Ut eos deleniti iste non tempore. Nihil sapiente dolores aut numquam. Sit blanditiis deleniti accusantium voluptate voluptas. Nulla ab laborum aut sint odit aspernatur architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df36f477353315370f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315370f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537110000'), "name"=>"Sister Nolan", "reference"=>"Odie Olson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537120000'), "author_name"=>"Vincenza Walsh", "content"=>["Laboriosam natus enim necessitatibus qui nulla voluptatem voluptatem. Sint nisi ea eos sed ut ipsum adipisci. Est natus rerum. Libero quia at ipsam quidem ex. Ea quia ut et architecto facere totam suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df36f47735331537110000", "id"=>"53df36f47735331537120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537130000'), "name"=>"Lizeth Heaney", "reference"=>"Roxanne Gorczany", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537140000'), "author_name"=>"Kobe Koss", "content"=>["Sit non dolores beatae nihil molestiae officia. Eos facere accusamus aut exercitationem beatae itaque. Sequi debitis libero ut ea ipsam nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36f47735331537140000", "product_id"=>"53df36f47735331537130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537130000'), "comments._id"=>BSON::ObjectId('53df36f47735331537140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6091ms Redirected to http://test.host/admin/products/53df36f47735331537130000/comments/53df36f47735331537140000 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('53df36f47735331537150000'), "name"=>"Sister Heidenreich III", "reference"=>"Janiya Osinski", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df36f47735331537160000'), "firstname"=>"Velva", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df36f47735331537150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df36f47735331537170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms Redirected to http://test.host/admin/products/53df36f47735331537150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537180000'), "name"=>"Jaydon Mann", "reference"=>"Mrs. Madilyn Lesch", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df36f47735331537190000'), "firstname"=>"Claud", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df36f47735331537190000", "product_id"=>"53df36f47735331537180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537180000')} 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 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315371a0000'), "name"=>"Uriel Gibson Jr.", "reference"=>"Mrs. Janiya Swaniawski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df36f477353315371b0000'), "firstname"=>"Myah", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df36f477353315371a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315371a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315371c0000'), "name"=>"Retta Feest IV", "reference"=>"Herta Konopelski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df36f477353315371d0000'), "firstname"=>"Celestine", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df36f477353315371d0000", "product_id"=>"53df36f477353315371c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315371c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315371e0000'), "name"=>"Emmanuelle Kutch II", "reference"=>"Murl Zboncak", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df36f477353315371f0000'), "firstname"=>"Reynold", "lastname"=>"Sawayn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df36f477353315371f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df36f477353315371e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315371e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df36f477353315371e0000/manager 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('53df36f47735331537200000'), "name"=>"Ms. Victoria Welch", "reference"=>"Margot Deckow", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1317ms 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('53df36f47735331537210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Redirected to http://test.host/admin/products/53df36f47735331537210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1525ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537220000'), "name"=>"Arne Gulgowski", "reference"=>"Marjory Kessler", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1258ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df36f47735331537220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms 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.1504ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537230000'), "name"=>"Estrella Stracke", "reference"=>"Dr. Wendy Kertzmann", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df36f47735331537230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 38ms (Views: 37.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537240000'), "name"=>"Cody Spinka I", "reference"=>"Miss Kurtis Jast", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3972ms 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.5173ms Completed 200 OK in 12ms (Views: 11.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537250000'), "name"=>"Lyda Larkin", "reference"=>"Carolina Marvin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537280000'), "name"=>"Brannon McKenzie", "reference"=>"Ewald Prosacco", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df36f47735331537280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms 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('53df36f47735331537290000'), "name"=>"Trinity Nicolas", "reference"=>"Katlyn Funk", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36f47735331537290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms Redirected to http://test.host/admin/products/53df36f47735331537290000 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('53df36f477353315372a0000'), "firstname"=>"Orie", "lastname"=>"Bogan"}] 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.1589ms 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('53df36f477353315372b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Redirected to http://test.host/admin/users/53df36f477353315372b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f477353315372c0000'), "firstname"=>"Susie", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1707ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df36f477353315372c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f477353315372c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f477353315372c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms 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.1654ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f477353315372d0000'), "firstname"=>"Charles", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df36f477353315372d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f477353315372d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f477353315372e0000'), "firstname"=>"Brayan", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms 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.3338ms 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('53df36f477353315372f0000'), "firstname"=>"Scot", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f47735331537300000'), "firstname"=>"Lelia", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df36f47735331537300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f47735331537300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms 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('53df36f47735331537310000'), "firstname"=>"Audra", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df36f47735331537310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f47735331537310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df36f47735331537310000 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('53df36f47735331537320000'), "firstname"=>"Demond", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1796ms 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('53df36f47735331537330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms 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.1971ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537340000'), "firstname"=>"Braulio", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df36f47735331537340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 38ms (Views: 36.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537350000'), "firstname"=>"Floy", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537360000'), "firstname"=>"Sandra", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df36f47735331537360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df36f47735331537370000'), "firstname"=>"Jaunita", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df36f47735331537370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df36f47735331537370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms 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('53df36f47735331537380000'), "name"=>"Rosa Baumbach", "reference"=>"Kennith Stracke", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537390000'), "author_name"=>"Tyshawn Turner", "content"=>["Dolores at sint. Maxime iure impedit. Provident sequi deleniti eligendi perferendis laborum ut officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df36f47735331537380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537380000')} 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('53df36f47735331537380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df36f477353315373a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Redirected to http://test.host/products/53df36f47735331537380000/comments/53df36f477353315373a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315373b0000'), "name"=>"Einar Bode", "reference"=>"Claud Berge", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315373c0000'), "author_name"=>"Barrett Reynolds", "content"=>["Maxime et eum ut. Neque et praesentium. Soluta eveniet assumenda nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df36f477353315373b0000", "id"=>"53df36f477353315373c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df36f477353315373c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms Redirected to http://test.host/products/53df36f477353315373b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315373d0000'), "name"=>"Charlotte Waters", "reference"=>"Dr. Nelda Hills", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315373e0000'), "author_name"=>"Mrs. Damon Padberg", "content"=>["Aperiam perspiciatis at adipisci consequatur qui eveniet. Omnis dolore aut laudantium ab nostrum reiciendis. Adipisci praesentium esse consequatur sed. Magni mollitia est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df36f477353315373d0000", "id"=>"53df36f477353315373e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 11ms (Views: 8.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f477353315373f0000'), "name"=>"Lucie Prohaska", "reference"=>"Pasquale Paucek", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537400000'), "author_name"=>"Fiona Carroll II", "content"=>["Quae vel atque quo sit et facilis cum. Illo modi est ut autem. In earum unde sed consequatur. Nam est quia id aliquam nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5430ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df36f477353315373f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f477353315373f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537410000'), "name"=>"Kraig Kutch DDS", "reference"=>"Mr. Herminio Krajcik", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537420000'), "author_name"=>"Xander Stark", "content"=>["Animi voluptatibus velit consequatur officia ut. Optio aut modi enim aut. Quidem est exercitationem. Distinctio dignissimos dolor qui voluptate rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df36f47735331537410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537430000'), "name"=>"Deborah Hodkiewicz", "reference"=>"Karina Ritchie", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537440000'), "author_name"=>"Elissa Murazik", "content"=>["Provident quod et porro quidem unde sunt. Est similique voluptatibus. Optio non et. Qui est laudantium doloribus asperiores nisi et recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df36f47735331537430000", "id"=>"53df36f47735331537440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537450000'), "name"=>"Ora Boyer", "reference"=>"Katharina Berge", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537460000'), "author_name"=>"Jess Bergnaum", "content"=>["Est quaerat distinctio saepe voluptas consequatur sunt. Culpa vel delectus. Est excepturi quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df36f47735331537450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537470000'), "name"=>"Kenneth Dickens", "reference"=>"Janice Kiehn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df36f47735331537480000'), "author_name"=>"Birdie McLaughlin", "content"=>["Dignissimos exercitationem similique sunt aut porro eum quaerat. Minima ex rem facilis in. Ratione unde et ut repudiandae quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df36f47735331537470000", "id"=>"53df36f47735331537480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f47735331537490000'), "name"=>"Ms. Brendon Lowe", "reference"=>"Camron Hyatt", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df36f477353315374a0000'), "author_name"=>"Mr. Austen Gleichner", "content"=>["Est nihil sunt dolorem nisi. Eos ut et rerum perspiciatis neque ea. At voluptatum qui enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36f477353315374a0000", "product_id"=>"53df36f47735331537490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f47735331537490000')} 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('53df36f47735331537490000'), "comments._id"=>BSON::ObjectId('53df36f477353315374a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Redirected to http://test.host/products/53df36f47735331537490000/comments/53df36f477353315374a0000 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('53df36f477353315374b0000'), "firstname"=>"Marilie", "lastname"=>"Gleason"}] 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=>"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('53df36f477353315374c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Redirected to http://test.host/admin/clients/53df36f477353315374c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1920ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36f477353315374d0000'), "firstname"=>"Randall", "lastname"=>"Torp"}] 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.1681ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df36f477353315374d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f477353315374d0000')} 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('53df36f477353315374d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms 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('53df36f477353315374e0000'), "firstname"=>"Tess", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df36f477353315374e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f477353315374e0000')} 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.7ms) Completed 200 OK in 37ms (Views: 36.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36f577353315374f0000'), "firstname"=>"Rachael", "lastname"=>"Ward"}] 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.3469ms Completed 200 OK in 9ms (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('53df36f57735331537500000'), "firstname"=>"Dino", "lastname"=>"White"}] 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.8ms) 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('53df36f57735331537510000'), "firstname"=>"Sigurd", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df36f57735331537510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms 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('53df36f57735331537520000'), "firstname"=>"Lizeth", "lastname"=>"Maggio"}] 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"=>"53df36f57735331537520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms Redirected to http://test.host/admin/clients/53df36f57735331537520000 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('53df36f57735331537530000'), "firstname"=>"Delphine", "lastname"=>"Kuvalis"}] 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=>"clients", :query=>{}} runtime: 0.2807ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36f57735331537540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms Redirected to http://test.host/clients/53df36f57735331537540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2949ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36f57735331537550000'), "firstname"=>"Bertrand", "lastname"=>"Jacobi"}] 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=>"clients", :query=>{}} runtime: 0.2783ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df36f57735331537550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms 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.2881ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df36f57735331537560000'), "firstname"=>"Judy", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df36f57735331537560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df36f57735331537570000'), "firstname"=>"Alvis", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3788ms 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('53df36f57735331537580000'), "firstname"=>"Ruthie", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms 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('53df36f57735331537590000'), "firstname"=>"Alfonso", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df36f57735331537590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f57735331537590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms 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('53df36f577353315375a0000'), "firstname"=>"Javonte", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df36f577353315375a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f577353315375a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df36f577353315375a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms Redirected to http://test.host/clients/53df36f577353315375a0000 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('53df36f577353315375b0000'), "name"=>"Lukas Casper", "reference"=>"Lonzo Crist", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df36f577353315375c0000'), "firstname"=>"Jovany", "lastname"=>"Aufderhar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2578ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df36f577353315375b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315375b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315375b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315375b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df36f577353315375d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms Redirected to http://test.host/products/53df36f577353315375b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315375e0000'), "name"=>"Geovanni Fritsch", "reference"=>"Alphonso Deckow", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df36f577353315375f0000'), "firstname"=>"Roberta", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df36f577353315375f0000", "product_id"=>"53df36f577353315375e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315375e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 32ms (Views: 30.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537600000'), "name"=>"Ian Olson", "reference"=>"Pink Morissette", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df36f57735331537610000'), "firstname"=>"Mckayla", "lastname"=>"Torp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df36f57735331537600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537600000')} 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 40ms (Views: 37.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537620000'), "name"=>"Dedrick Ferry MD", "reference"=>"Noah Predovic", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df36f57735331537630000'), "firstname"=>"Jessyca", "lastname"=>"Beer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df36f57735331537630000", "product_id"=>"53df36f57735331537620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537640000'), "name"=>"Jay Grant Jr.", "reference"=>"Maegan Farrell", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df36f57735331537650000'), "firstname"=>"Amaya", "lastname"=>"Goodwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df36f57735331537650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df36f57735331537640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Unpermitted parameters: name Redirected to http://test.host/products/53df36f57735331537640000/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('53df36f57735331537660000'), "name"=>"Horace Bode", "reference"=>"Cordie Hammes", "quantity"=>"3"}] 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.1907ms 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('53df36f57735331537670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Redirected to http://test.host/products/53df36f57735331537670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2082ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537680000'), "name"=>"Cleveland Hyatt", "reference"=>"Elvis Osinski", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1813ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df36f57735331537680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms 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.1935ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537690000'), "name"=>"Merlin Hessel", "reference"=>"Raheem Kerluke", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df36f57735331537690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537690000')} 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.2ms) 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('53df36f577353315376a0000'), "name"=>"Maya Conroy", "reference"=>"Simone Nitzsche", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms 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.7192ms Completed 200 OK in 20ms (Views: 19.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315376b0000'), "name"=>"Ms. Rahsaan Jenkins", "reference"=>"Juston Emmerich", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms 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.6754ms 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('53df36f577353315376c0000'), "name"=>"John Kiehn", "reference"=>"Katlynn McDermott", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df36f577353315376c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315376c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms 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('53df36f577353315376d0000'), "name"=>"Mr. Godfrey Little", "reference"=>"Frieda Johnson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315376f0000'), "name"=>"Beulah Harber MD", "reference"=>"Bethany Batz", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df36f577353315376f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315376f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537700000'), "name"=>"Berta Greenholt V", "reference"=>"Ms. Lawson Heathcote", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms 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('53df36f57735331537710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1358ms Completed 201 Created in 4ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1964ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537720000'), "name"=>"Ms. Candace Kiehn", "reference"=>"Howell Beahan", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df36f57735331537720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537720000')} 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={"_id"=>BSON::ObjectId('53df36f57735331537720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms 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('53df36f57735331537730000'), "name"=>"Mr. Ramon Schroeder", "reference"=>"Barbara Ziemann", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms 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('53df36f57735331537750000'), "name"=>"Colleen Murazik", "reference"=>"Selena Lindgren IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36f57735331537750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537750000')} 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('53df36f57735331537750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms 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('53df36f57735331537760000'), "name"=>"Delmer Pagac", "reference"=>"Kory Rath Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df36f57735331537760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Redirected to http://test.host/products/53df36f57735331537760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537790000'), "name"=>"Donald Reilly", "reference"=>"Mrs. Tyshawn Gorczany", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537770000'), "author_name"=>"Dr. Sallie Reilly", "content"=>["Aut nobis sunt porro omnis aspernatur qui. Sit voluptas consequuntur soluta omnis adipisci. Et perspiciatis sit id totam amet accusamus velit. Ipsum dolor eius eveniet aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537780000'), "author_name"=>"Harry Hoppe", "content"=>["Molestias nam est eveniet sequi omnis libero. Qui unde ipsam recusandae quod ea corporis. Consequatur non possimus. Consectetur ab sed saepe. Voluptates sequi excepturi voluptate blanditiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3693ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df36f57735331537790000", "comment_id"=>"53df36f57735331537770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537790000'), "comments._id"=>BSON::ObjectId('53df36f57735331537770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df36f577353315377a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6934ms Redirected to http://test.host/products/53df36f57735331537790000/comments/53df36f57735331537770000/comments/53df36f577353315377a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315377d0000'), "name"=>"Michelle Kuhn", "reference"=>"Eliane Luettgen DDS", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315377b0000'), "author_name"=>"Mona Dickinson", "content"=>["Dolor dolores qui reprehenderit repudiandae dolorum. Rerum et accusantium dolor. Aut explicabo aspernatur assumenda culpa atque aut. Ipsa nihil cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315377c0000'), "author_name"=>"Taurean Jaskolski Sr.", "content"=>["Exercitationem saepe illum. Quia vero nobis natus eum maiores. Perferendis fugit veniam et magni sed dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315377d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df36f577353315377d0000", "comment_id"=>"53df36f577353315377b0000", "id"=>"53df36f577353315377c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315377d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315377d0000'), "comments._id"=>BSON::ObjectId('53df36f577353315377b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df36f577353315377c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Redirected to http://test.host/products/53df36f577353315377d0000/comments/53df36f577353315377b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315377d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537800000'), "name"=>"Mrs. Winston Carter", "reference"=>"D'angelo Stokes", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315377e0000'), "author_name"=>"Ms. Cayla Gleichner", "content"=>["Iure eos voluptates. Aut consequatur exercitationem ut rem modi fugit. Aut earum est aut occaecati odit autem. Est quia corrupti odit. Atque rerum quo ratione numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315377f0000'), "author_name"=>"Laurie Schuster", "content"=>["Voluptatem fuga neque quam iusto delectus. Non provident itaque. Rerum at dignissimos. Dolores quam aut doloremque enim doloribus eos reprehenderit. Corporis qui doloremque illum reprehenderit vel id fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df36f57735331537800000", "comment_id"=>"53df36f577353315377e0000", "id"=>"53df36f577353315377f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537830000'), "name"=>"Ms. Isaac Boehm", "reference"=>"Okey Kertzmann", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537810000'), "author_name"=>"Roman Boyer III", "content"=>["Qui aliquam esse laudantium voluptatem. Aut voluptatem corrupti voluptas maiores. Odit aut tempore. Beatae necessitatibus voluptatem rerum aliquam ducimus sunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537820000'), "author_name"=>"Cory Heller", "content"=>["Totam eius laudantium sequi voluptate repellendus. Autem consequatur nihil numquam. Doloremque dolorem qui quisquam veniam molestiae eaque. Blanditiis eum voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df36f57735331537830000", "comment_id"=>"53df36f57735331537810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms Completed 200 OK in 6ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537860000'), "name"=>"Meta Schaden", "reference"=>"Rebeka O'Conner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537840000'), "author_name"=>"Aron Mraz", "content"=>["Omnis veniam blanditiis quasi. Et pariatur eum dolores. Voluptas at enim. Ex dolorem commodi natus quidem voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537850000'), "author_name"=>"Lessie Dach Jr.", "content"=>["Fuga est sequi et quia cupiditate. Architecto accusamus voluptatem dignissimos cupiditate maiores sint tenetur. Et ut repudiandae aut consequatur quo modi et. Quaerat aperiam optio sunt temporibus quas molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df36f57735331537860000", "comment_id"=>"53df36f57735331537840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537890000'), "name"=>"Marcelino Beer", "reference"=>"Jana Fadel V", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537870000'), "author_name"=>"Sabryna Ullrich", "content"=>["Voluptatem et reprehenderit repudiandae ducimus. Laboriosam et reiciendis non omnis blanditiis quis voluptatem. Dignissimos iste voluptates assumenda nihil commodi."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537880000'), "author_name"=>"Mrs. Ara Pfannerstill", "content"=>["Aut aspernatur assumenda. Quibusdam veniam est et sit. Ab quae minima quis numquam non adipisci. Iusto saepe est occaecati facere cupiditate. Aliquam cum et sunt exercitationem voluptatem culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df36f57735331537890000", "comment_id"=>"53df36f57735331537870000", "id"=>"53df36f57735331537880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315378c0000'), "name"=>"Monroe Bogisich", "reference"=>"Bell Gleichner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315378a0000'), "author_name"=>"Elody Macejkovic", "content"=>["Et facere iusto harum quis voluptatum recusandae. Repellat numquam illum praesentium. Qui aperiam amet sit molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315378b0000'), "author_name"=>"Russ Jakubowski", "content"=>["Quae ut aperiam et hic. Facilis qui enim autem. Et dolor sint in occaecati sit dolore quia. Commodi voluptatem ipsam totam voluptates facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df36f577353315378c0000", "comment_id"=>"53df36f577353315378a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315378c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f577353315378f0000'), "name"=>"Dee Hickle II", "reference"=>"Tyson Hauck", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315378d0000'), "author_name"=>"Dillan Sawayn DDS", "content"=>["Sunt aspernatur sit aut consectetur tempora unde labore. Temporibus doloribus provident quaerat qui. Autem et dolores rerum sapiente temporibus praesentium expedita. Sit eum voluptatum tenetur. Porro voluptas aliquam asperiores voluptates sequi."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f577353315378e0000'), "author_name"=>"Christelle Dickens", "content"=>["Incidunt ducimus ut cum dolorum magnam omnis sint. Asperiores sit accusantium in aut architecto. Et reiciendis eum quas aperiam omnis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df36f577353315378f0000", "comment_id"=>"53df36f577353315378d0000", "id"=>"53df36f577353315378e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f577353315378f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df36f57735331537920000'), "name"=>"Phoebe Schroeder", "reference"=>"Madisen Heaney DDS", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537900000'), "author_name"=>"Elmira Dietrich PhD", "content"=>["Vitae enim necessitatibus rerum quo ea recusandae et. At facilis consequuntur delectus ducimus hic. Consequatur numquam veniam error sint sit sunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df36f57735331537910000'), "author_name"=>"Laurie Stamm", "content"=>["Delectus ratione est. Voluptates nulla vero blanditiis at sequi quis. Quasi sint impedit ipsam. Sed officia magnam voluptatum officiis quisquam. Eos eligendi natus totam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df36f57735331537910000", "product_id"=>"53df36f57735331537920000", "comment_id"=>"53df36f57735331537900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df36f57735331537920000'), "comments._id"=>BSON::ObjectId('53df36f57735331537900000'), "comments.0.comments._id"=>BSON::ObjectId('53df36f57735331537910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Redirected to http://test.host/products/53df36f57735331537920000/comments/53df36f57735331537900000/comments/53df36f57735331537910000 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('53df36f57735331537930000'), "firstname"=>"Ollie", "lastname"=>"Armstrong"}] 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=>"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('53df36f57735331537940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms Redirected to http://test.host/users/53df36f57735331537940000 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('53df36f57735331537950000'), "firstname"=>"Ethelyn", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1533ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df36f57735331537950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f57735331537950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f57735331537950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms 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.1629ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f57735331537960000'), "firstname"=>"Cade", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df36f57735331537960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f57735331537960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f57735331537970000'), "firstname"=>"Darian", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4015ms 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.3806ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f57735331537980000'), "firstname"=>"Jed", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df36f57735331537990000'), "firstname"=>"Amos", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df36f57735331537990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f57735331537990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms 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('53df36f577353315379a0000'), "firstname"=>"Pansy", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df36f577353315379a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df36f577353315379a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4232ms Unpermitted parameters: name Redirected to http://test.host/users/53df36f577353315379a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4457ms 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.2742ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms 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.2283ms 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.4470ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b000000'), "firstname"=>"Celia", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3144ms 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('53df3716773533158b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5905ms 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.3935ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b020000'), "firstname"=>"Houston", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3716773533158b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4323ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) 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('53df3716773533158b030000'), "firstname"=>"Edward", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6519ms 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: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b040000'), "firstname"=>"Arely", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5716ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3716773533158b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b050000'), "firstname"=>"Hailey", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5063ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3716773533158b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms 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('53df3716773533158b060000'), "name"=>"Timmothy Christiansen", "reference"=>"Monserrat Hettinger", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b070000'), "author_name"=>"Baylee Oberbrunner", "content"=>["Praesentium quis aspernatur. Voluptas sit qui autem omnis labore dolore. Aliquid deserunt est velit in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3868ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3716773533158b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4492ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3716773533158b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5994ms Redirected to http://test.host/admin/products/53df3716773533158b060000/comments/53df3716773533158b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4739ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b090000'), "name"=>"Ashley Jerde", "reference"=>"Hertha Kilback", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b0a0000'), "author_name"=>"Cathryn Spinka", "content"=>["Illum dolores qui deleniti. Tempora qui dolore et dolor non ut. Mollitia necessitatibus assumenda quo nemo. Vel eos consequatur quo accusantium. Omnis dicta molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5618ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3716773533158b090000", "id"=>"53df3716773533158b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4722ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3716773533158b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6112ms Redirected to http://test.host/admin/products/53df3716773533158b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b0b0000'), "name"=>"Francis Kihn IV", "reference"=>"Jevon Durgan", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b0c0000'), "author_name"=>"Miguel Durgan", "content"=>["Cupiditate assumenda voluptates. Fugit suscipit laudantium quasi amet. Recusandae asperiores non. Et et in error molestiae et earum suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3716773533158b0b0000", "id"=>"53df3716773533158b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b0b0000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b0d0000'), "name"=>"Jo Hilll", "reference"=>"Lonie Corkery II", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b0e0000'), "author_name"=>"Maurice Fay", "content"=>["Esse corrupti est incidunt veniam ducimus molestiae. Aliquid et a aspernatur. Ipsum in atque nobis at quaerat sint ratione. Adipisci eaque laudantium. Deleniti porro voluptatem aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3716773533158b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b0f0000'), "name"=>"Nasir Anderson", "reference"=>"Rachael Kilback", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b100000'), "author_name"=>"Larissa Corkery", "content"=>["Eligendi rerum blanditiis consequatur iure. Quia odit quaerat voluptas libero rerum dolores. Quidem rem exercitationem cumque ut necessitatibus. Sint quasi sapiente sint id voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3716773533158b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b110000'), "name"=>"Ned Rolfson", "reference"=>"Yasmeen Stoltenberg", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b120000'), "author_name"=>"Zackery Goldner", "content"=>["Inventore distinctio non. Sit esse reprehenderit. Quia corporis perspiciatis sapiente nobis vel nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3716773533158b110000", "id"=>"53df3716773533158b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b130000'), "name"=>"Charity Rodriguez", "reference"=>"Emmitt Cronin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b140000'), "author_name"=>"Ms. Cyrus Marquardt", "content"=>["Ea praesentium culpa omnis ipsum. Modi officiis alias ab. Ab sed in nihil sint. Ut consequuntur in maxime vel ipsum ut quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3716773533158b140000", "product_id"=>"53df3716773533158b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b130000')} 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('53df3716773533158b130000'), "comments._id"=>BSON::ObjectId('53df3716773533158b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Redirected to http://test.host/admin/products/53df3716773533158b130000/comments/53df3716773533158b140000 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('53df3716773533158b150000'), "name"=>"Miss Wilbert Harris", "reference"=>"Ms. Gillian Lueilwitz", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b160000'), "firstname"=>"Jordane", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3716773533158b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b150000')} 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('53df3716773533158b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms Redirected to http://test.host/admin/products/53df3716773533158b150000/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('53df3716773533158b180000'), "name"=>"Bryana Runte", "reference"=>"Emmy Leannon", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b190000'), "firstname"=>"Arne", "lastname"=>"Wuckert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3716773533158b190000", "product_id"=>"53df3716773533158b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b1a0000'), "name"=>"Mrs. Bennett Wisozk", "reference"=>"Tevin Schamberger", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b1b0000'), "firstname"=>"Chris", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0837ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3716773533158b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b1c0000'), "name"=>"Amanda Weimann", "reference"=>"Abe Farrell", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b1d0000'), "firstname"=>"Gayle", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3716773533158b1d0000", "product_id"=>"53df3716773533158b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b1e0000'), "name"=>"Dana Fay V", "reference"=>"Jaleel Gottlieb", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b1f0000'), "firstname"=>"Jodie", "lastname"=>"Beer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3716773533158b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3716773533158b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3716773533158b1e0000/manager 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('53df3716773533158b200000'), "name"=>"Haley Gutkowski", "reference"=>"Christ Deckow", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1755ms 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('53df3716773533158b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Redirected to http://test.host/admin/products/53df3716773533158b210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2181ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b220000'), "name"=>"Mrs. Clinton Jacobson", "reference"=>"Maryjane Lesch", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.2005ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3716773533158b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms 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.2048ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b230000'), "name"=>"Izabella Kshlerin", "reference"=>"Warren Dickens", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3716773533158b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 41ms (Views: 40.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b240000'), "name"=>"Mafalda Howe", "reference"=>"Okey Howell", "quantity"=>"4"}] 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.5049ms Completed 200 OK in 12ms (Views: 11.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b250000'), "name"=>"Kristopher Rogahn", "reference"=>"Narciso Stokes", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3502ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 19ms (Views: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b280000'), "name"=>"Andreanne Zemlak V", "reference"=>"Tre Batz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3716773533158b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms 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('53df3716773533158b290000'), "name"=>"Kenyatta Farrell", "reference"=>"Idell Friesen", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3716773533158b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Redirected to http://test.host/admin/products/53df3716773533158b290000 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('53df3716773533158b2a0000'), "firstname"=>"Braden", "lastname"=>"Marvin"}] 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.2625ms 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('53df3716773533158b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Redirected to http://test.host/admin/users/53df3716773533158b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2788ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3716773533158b2c0000'), "firstname"=>"Hertha", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2430ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3716773533158b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3716773533158b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3716773533158b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms 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.1843ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3716773533158b2d0000'), "firstname"=>"Morgan", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3716773533158b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3716773533158b2d0000')} 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('53df3716773533158b2e0000'), "firstname"=>"Fay", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms 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.3189ms 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('53df3716773533158b2f0000'), "firstname"=>"Elias", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3716773533158b300000'), "firstname"=>"Myrl", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3716773533158b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3716773533158b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms 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('53df3716773533158b310000'), "firstname"=>"Lois", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3716773533158b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3716773533158b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3716773533158b310000 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('53df3716773533158b320000'), "firstname"=>"Urban", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2598ms 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('53df3716773533158b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms 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.1862ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b340000'), "firstname"=>"Milo", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4867ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3716773533158b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b340000')} 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.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b350000'), "firstname"=>"Alek", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4811ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 6.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b360000'), "firstname"=>"Terry", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5822ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3716773533158b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4432ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3716773533158b370000'), "firstname"=>"Suzanne", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3716773533158b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3716773533158b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms 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('53df3716773533158b380000'), "name"=>"Leonie Carter", "reference"=>"Eriberto Zemlak MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b390000'), "author_name"=>"Jorge Stracke", "content"=>["Quod quae nihil blanditiis reprehenderit deleniti quia facilis. Officiis dolorem omnis ducimus. Aspernatur et quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3716773533158b380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b380000')} 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('53df3716773533158b380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3716773533158b3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Redirected to http://test.host/products/53df3716773533158b380000/comments/53df3716773533158b3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b3b0000'), "name"=>"Preston Harber Sr.", "reference"=>"Lauriane Roob", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b3c0000'), "author_name"=>"Jacques Lockman", "content"=>["Iste et est omnis voluptas unde officia. Odit sit a. Quasi laudantium minima deserunt voluptatem. Enim cumque ut sint odio reprehenderit officia voluptatem. At omnis et quaerat et ut nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3716773533158b3b0000", "id"=>"53df3716773533158b3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3716773533158b3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Redirected to http://test.host/products/53df3716773533158b3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b3d0000'), "name"=>"Magnolia Nader PhD", "reference"=>"Ms. Freeman Weimann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b3e0000'), "author_name"=>"Reymundo Smitham DDS", "content"=>["Quis tempore et molestiae. Ut molestiae reiciendis ut aut iste. Nobis porro est optio soluta iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3716773533158b3d0000", "id"=>"53df3716773533158b3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b3f0000'), "name"=>"Seamus Leffler MD", "reference"=>"Merritt Rippin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b400000'), "author_name"=>"Demetrius Huels", "content"=>["Iusto autem repudiandae ut doloribus et vero. Autem quia deserunt sint officia. Libero in omnis odit repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7986ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3716773533158b3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b410000'), "name"=>"Emanuel Schmitt", "reference"=>"Juana Dibbert", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b420000'), "author_name"=>"Erick Jerde", "content"=>["Et dolorem incidunt et enim. Fuga hic a dolorum ex asperiores velit. Animi nulla veritatis. Odit voluptatem quia sed repudiandae et qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3716773533158b410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b430000'), "name"=>"Dr. Xavier Moore", "reference"=>"Sigurd Rowe", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b440000'), "author_name"=>"Ellsworth Pfeffer", "content"=>["Ullam voluptate tenetur et. Magni repudiandae et non optio possimus facilis qui. In aut aut dolores. Distinctio dolor molestiae esse corporis ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3716773533158b430000", "id"=>"53df3716773533158b440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b450000'), "name"=>"Darron Dickinson", "reference"=>"Samantha Nitzsche", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b460000'), "author_name"=>"Arlene Trantow", "content"=>["Quia non aperiam eveniet et consequuntur provident rerum. Perspiciatis delectus ex debitis ea eum dolores. Inventore veniam illo fugit aliquid quas nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3716773533158b450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b470000'), "name"=>"Mrs. Jazmyne Hettinger", "reference"=>"Dr. Buster Gaylord", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b480000'), "author_name"=>"Ian Runolfsson Jr.", "content"=>["Et laudantium voluptate non molestiae quae delectus. Mollitia alias necessitatibus minima. Eveniet at veritatis voluptatum. Id in quis qui placeat. Hic tempore vel eius nisi illum amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3716773533158b470000", "id"=>"53df3716773533158b480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b490000'), "name"=>"Brice McGlynn", "reference"=>"Maegan Schroeder", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3716773533158b4a0000'), "author_name"=>"Rahul Toy III", "content"=>["Quis ex veritatis facilis quod. Pariatur quaerat nostrum ab. Quibusdam ipsam sit explicabo libero numquam. Eum aut nulla error ducimus reprehenderit quo. Veritatis qui autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3716773533158b4a0000", "product_id"=>"53df3716773533158b490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b490000')} 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('53df3716773533158b490000'), "comments._id"=>BSON::ObjectId('53df3716773533158b4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Redirected to http://test.host/products/53df3716773533158b490000/comments/53df3716773533158b4a0000 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('53df3716773533158b4b0000'), "firstname"=>"Pink", "lastname"=>"Schneider"}] 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.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('53df3716773533158b4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Redirected to http://test.host/admin/clients/53df3716773533158b4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1886ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b4d0000'), "firstname"=>"Chloe", "lastname"=>"Schmitt"}] 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=>"clients", :query=>{}} runtime: 0.1771ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3716773533158b4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b4d0000')} 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('53df3716773533158b4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms 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.1873ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b4e0000'), "firstname"=>"Naomie", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3716773533158b4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 42ms (Views: 40.6ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b4f0000'), "firstname"=>"Saul", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5228ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms 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('53df3716773533158b500000'), "firstname"=>"Landen", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b510000'), "firstname"=>"Gregory", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3716773533158b510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms 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('53df3716773533158b520000'), "firstname"=>"Barrett", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3716773533158b520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Redirected to http://test.host/admin/clients/53df3716773533158b520000 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('53df3716773533158b530000'), "firstname"=>"Jamel", "lastname"=>"Olson"}] 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.2067ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms Redirected to http://test.host/clients/53df3716773533158b540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2203ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b550000'), "firstname"=>"Ezekiel", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1983ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3716773533158b550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b550000')} 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.1990ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3716773533158b560000'), "firstname"=>"Chesley", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3716773533158b560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b560000')} 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.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('53df3716773533158b570000'), "firstname"=>"Zena", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms 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('53df3716773533158b580000'), "firstname"=>"Minnie", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms 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('53df3716773533158b590000'), "firstname"=>"Jordane", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3716773533158b590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms 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('53df3716773533158b5a0000'), "firstname"=>"Tate", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4853ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3716773533158b5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3716773533158b5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms Redirected to http://test.host/clients/53df3716773533158b5a0000 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('53df3716773533158b5b0000'), "name"=>"Hazel Steuber", "reference"=>"Deven Schroeder II", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b5c0000'), "firstname"=>"Chauncey", "lastname"=>"Gutkowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3716773533158b5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b5b0000')} 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('53df3716773533158b5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Redirected to http://test.host/products/53df3716773533158b5b0000/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('53df3716773533158b5e0000'), "name"=>"Davon Barton V", "reference"=>"Emmett Wunsch PhD", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b5f0000'), "firstname"=>"Lauryn", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3716773533158b5f0000", "product_id"=>"53df3716773533158b5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.7ms) Completed 200 OK in 34ms (Views: 32.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b600000'), "name"=>"Darron Hessel I", "reference"=>"Lucas Grimes", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b610000'), "firstname"=>"Vladimir", "lastname"=>"Kreiger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3716773533158b600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.4ms) Completed 200 OK in 43ms (Views: 40.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b620000'), "name"=>"Elliott Stroman", "reference"=>"Adele Simonis", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b630000'), "firstname"=>"Kara", "lastname"=>"Koelpin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7287ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3716773533158b630000", "product_id"=>"53df3716773533158b620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3716773533158b640000'), "name"=>"Janessa Lubowitz", "reference"=>"Virgie Johns", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3716773533158b650000'), "firstname"=>"Henriette", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3716773533158b650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3716773533158b640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3716773533158b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms Unpermitted parameters: name Redirected to http://test.host/products/53df3716773533158b640000/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('53df3717773533158b660000'), "name"=>"Dr. Lauren Dietrich", "reference"=>"Koby Kub", "quantity"=>"8"}] 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.2363ms 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('53df3717773533158b670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Redirected to http://test.host/products/53df3717773533158b670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2029ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b680000'), "name"=>"Mrs. Lenore Jacobi", "reference"=>"Mr. Jolie Johns", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1959ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3717773533158b680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b680000')} 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.1956ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b690000'), "name"=>"Kian Bosco", "reference"=>"Mr. Toy Pfannerstill", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3717773533158b690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b690000')} 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.7ms) 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('53df3717773533158b6a0000'), "name"=>"Narciso Wisozk", "reference"=>"Doyle Botsford", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms 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.7408ms Completed 200 OK in 21ms (Views: 20.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b6b0000'), "name"=>"Bella Purdy", "reference"=>"Avery Rosenbaum", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms 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.6979ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b6c0000'), "name"=>"Abdiel Murazik", "reference"=>"Randi Runolfsson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3717773533158b6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b6c0000')} 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('53df3717773533158b6d0000'), "name"=>"Sherman Mraz", "reference"=>"Estefania Armstrong", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('53df3717773533158b6f0000'), "name"=>"Hilma Berge", "reference"=>"Ms. Carole Wiegand", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3717773533158b6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b700000'), "name"=>"Joany Waters", "reference"=>"Ashlynn Feeney", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0096ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2177ms 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('53df3717773533158b710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3494ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b720000'), "name"=>"Waylon Barton", "reference"=>"Jevon West", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3717773533158b720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms 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('53df3717773533158b730000'), "name"=>"Walton Jacobi", "reference"=>"Jaleel Thompson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms 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('53df3717773533158b750000'), "name"=>"Floyd Hoeger", "reference"=>"Keshaun Howell DDS", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3717773533158b750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b750000')} 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('53df3717773533158b750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms 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('53df3717773533158b760000'), "name"=>"Jackson Maggio", "reference"=>"Wellington Tillman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3717773533158b760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Redirected to http://test.host/products/53df3717773533158b760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b790000'), "name"=>"Mrs. Sarina Heller", "reference"=>"Mayra Lind", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b770000'), "author_name"=>"Jovanny Considine", "content"=>["Aperiam et laboriosam et inventore. Consequatur saepe porro beatae. Quia ea voluptatem facilis expedita doloremque eius consequatur. Expedita est facilis voluptatum odit harum libero minus. Voluptatem quia asperiores porro earum in fuga."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b780000'), "author_name"=>"Deion Mosciski", "content"=>["Odio ea velit quaerat. Quia voluptate consequuntur expedita nemo molestias. Est impedit et quidem dolores cumque. Quam aut dolores voluptatum ut. Velit tempore omnis laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.6371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3717773533158b790000", "comment_id"=>"53df3717773533158b770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b790000'), "comments._id"=>BSON::ObjectId('53df3717773533158b770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3717773533158b7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms Redirected to http://test.host/products/53df3717773533158b790000/comments/53df3717773533158b770000/comments/53df3717773533158b7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b7d0000'), "name"=>"Sophie Lemke", "reference"=>"Chelsey McCullough", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b7b0000'), "author_name"=>"Giovanny Bode", "content"=>["Ipsum laboriosam nam. Eum ut enim nesciunt eius rerum consequatur est. Laudantium quis quia officia ea deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b7c0000'), "author_name"=>"Blaise Robel", "content"=>["Qui expedita non delectus quas vero. Inventore non expedita sit ut quis fugiat veniam. Ducimus veritatis cupiditate voluptatem sit facilis ut. Ducimus vel expedita non nostrum voluptas rerum cum. Ab omnis magnam dolor enim beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3717773533158b7d0000", "comment_id"=>"53df3717773533158b7b0000", "id"=>"53df3717773533158b7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b7d0000'), "comments._id"=>BSON::ObjectId('53df3717773533158b7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3717773533158b7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Redirected to http://test.host/products/53df3717773533158b7d0000/comments/53df3717773533158b7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b800000'), "name"=>"Pamela Windler", "reference"=>"Xzavier Marquardt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b7e0000'), "author_name"=>"Makenzie Pacocha", "content"=>["Unde veritatis dignissimos dolores. Voluptatum iure saepe alias. Enim culpa eos reiciendis quaerat."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b7f0000'), "author_name"=>"Kaleigh Wisozk", "content"=>["Rerum est sunt qui id fuga. Quis explicabo et quasi. Sunt quasi eos fugiat non nam laborum. At asperiores mollitia ad adipisci eum corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3717773533158b800000", "comment_id"=>"53df3717773533158b7e0000", "id"=>"53df3717773533158b7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b830000'), "name"=>"Miss Marjolaine Von", "reference"=>"Reinhold Strosin", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b810000'), "author_name"=>"Amir McGlynn", "content"=>["Temporibus ipsum repellendus et non. Soluta laboriosam accusamus. Omnis beatae et unde accusamus delectus amet."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b820000'), "author_name"=>"Reilly Hilll", "content"=>["Voluptas enim autem quibusdam at sed nihil. Rem ipsam recusandae itaque dignissimos. Et exercitationem quia ab sed sequi nostrum. Ea atque nulla ab et nisi eius deserunt. Ex harum autem sit ducimus aperiam debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3717773533158b830000", "comment_id"=>"53df3717773533158b810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b860000'), "name"=>"Bernie Paucek", "reference"=>"Bailee Stark", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b840000'), "author_name"=>"Hyman D'Amore", "content"=>["Voluptatem nostrum iusto qui fuga tempora. Ad dolor est inventore quod voluptatibus adipisci. Dolores cum repellat labore nam. Enim nam minus."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b850000'), "author_name"=>"Mrs. Darrion DuBuque", "content"=>["Laudantium eaque veniam perferendis minima. Vitae et deleniti eum. Omnis officiis non aperiam et ut libero blanditiis. Molestias qui nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3717773533158b860000", "comment_id"=>"53df3717773533158b840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b890000'), "name"=>"Laron McLaughlin", "reference"=>"Isac Greenholt", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b870000'), "author_name"=>"Maverick Ebert", "content"=>["Possimus voluptas dolor eos. Excepturi id quo placeat vel. Similique omnis et esse dignissimos est et consequuntur. Molestiae eum dolor commodi sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b880000'), "author_name"=>"Chanel Goodwin DDS", "content"=>["Voluptates mollitia nisi aut est a doloribus nihil. Sit eveniet dolorum tempore et. Unde in qui illum sapiente vel asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3717773533158b890000", "comment_id"=>"53df3717773533158b870000", "id"=>"53df3717773533158b880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b8c0000'), "name"=>"Raheem McDermott", "reference"=>"Lurline Connelly MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b8a0000'), "author_name"=>"Miss Edyth Wunsch", "content"=>["Placeat voluptas tenetur. Facilis sint quisquam sed quas enim. Officiis accusantium dolor temporibus sint ipsum dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b8b0000'), "author_name"=>"Greta McLaughlin", "content"=>["Enim qui incidunt et. Cupiditate odit molestias exercitationem non enim. Laudantium et nostrum laboriosam sit quam non rerum. Qui temporibus aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3717773533158b8c0000", "comment_id"=>"53df3717773533158b8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b8f0000'), "name"=>"Curtis Bergstrom", "reference"=>"Edd Barton", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b8d0000'), "author_name"=>"Carlos Schuster", "content"=>["Harum in ut ex dolore pariatur eaque consectetur. Dolor libero non omnis. Temporibus eos occaecati beatae error."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b8e0000'), "author_name"=>"Samara Ziemann", "content"=>["Accusantium et ad consequatur sed quis. Voluptatem excepturi aperiam voluptatum et vero sapiente. Facilis sed animi fugit. Consequatur qui totam fugit ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3717773533158b8f0000", "comment_id"=>"53df3717773533158b8d0000", "id"=>"53df3717773533158b8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3717773533158b920000'), "name"=>"Adrienne Ondricka", "reference"=>"Kaycee Ullrich", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b900000'), "author_name"=>"Aylin Steuber", "content"=>["Unde est voluptas. Commodi ut minima soluta. Architecto veritatis alias modi quisquam qui. Quos est rerum eligendi minima id dolorem nihil. Sint et temporibus veniam veritatis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3717773533158b910000'), "author_name"=>"Roger Legros IV", "content"=>["Et aspernatur et fugiat rerum ut veniam corporis. Dignissimos perspiciatis optio asperiores laboriosam ut aut facere. Qui architecto quo enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3717773533158b910000", "product_id"=>"53df3717773533158b920000", "comment_id"=>"53df3717773533158b900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3717773533158b920000'), "comments._id"=>BSON::ObjectId('53df3717773533158b900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3717773533158b910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms Redirected to http://test.host/products/53df3717773533158b920000/comments/53df3717773533158b900000/comments/53df3717773533158b910000 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('53df3717773533158b930000'), "firstname"=>"Mandy", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2276ms 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('53df3717773533158b940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms Redirected to http://test.host/users/53df3717773533158b940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2205ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3717773533158b950000'), "firstname"=>"Nina", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2029ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3717773533158b950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3717773533158b950000')} 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('53df3717773533158b950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms 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.2012ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3717773533158b960000'), "firstname"=>"Bella", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3717773533158b960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3717773533158b960000')} 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.5ms) 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('53df3717773533158b970000'), "firstname"=>"Catherine", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms 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.4650ms Completed 200 OK in 37ms (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('53df3717773533158b980000'), "firstname"=>"Madeline", "lastname"=>"Dickens"}] 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 (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3717773533158b990000'), "firstname"=>"Petra", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3717773533158b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3717773533158b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms 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('53df3717773533158b9a0000'), "firstname"=>"Damaris", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3717773533158b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3717773533158b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Unpermitted parameters: name Redirected to http://test.host/users/53df3717773533158b9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4044ms 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.3752ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms 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.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.3094ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4000000'), "firstname"=>"Alice", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3288ms 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('53df372377353315b4010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms 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.2631ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4020000'), "firstname"=>"Kyler", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df372377353315b4020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 47ms (Views: 46.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4030000'), "firstname"=>"Jailyn", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4040000'), "firstname"=>"Eula", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df372377353315b4040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4050000'), "firstname"=>"Norval", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df372377353315b4050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms 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('53df372377353315b4060000'), "name"=>"Jaren Gislason", "reference"=>"Virgil Krajcik", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4070000'), "author_name"=>"Dr. Giovani Blick", "content"=>["Provident dolores enim ut fugiat quidem. Eius est delectus nesciunt est ut. Et facilis pariatur corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df372377353315b4060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df372377353315b4080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms Redirected to http://test.host/admin/products/53df372377353315b4060000/comments/53df372377353315b4080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4090000'), "name"=>"Gino Hudson", "reference"=>"Angelo Nitzsche", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b40a0000'), "author_name"=>"Zola Kirlin", "content"=>["Nulla aut nihil voluptas voluptatem. Earum hic nam aut repellendus aut. Dolor exercitationem assumenda. Cum numquam corporis illo repudiandae ullam dignissimos ea. Amet et non in repellat hic praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4882ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df372377353315b4090000", "id"=>"53df372377353315b40a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df372377353315b40a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Redirected to http://test.host/admin/products/53df372377353315b4090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b40b0000'), "name"=>"Miguel Hagenes", "reference"=>"Eloy Daniel II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b40c0000'), "author_name"=>"Santos Murray", "content"=>["Ipsa accusamus aut fugiat et est sit. Qui id doloribus modi architecto hic et. Rem quae similique voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df372377353315b40b0000", "id"=>"53df372377353315b40c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b40b0000')} 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 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b40d0000'), "name"=>"Maida Koss", "reference"=>"Timmy Gutmann V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b40e0000'), "author_name"=>"Alyce Kohler", "content"=>["Dolorum nesciunt similique dignissimos laborum. Esse a dolore molestiae quasi. Eos velit distinctio occaecati eaque sed aut eum. Id mollitia dignissimos sed sunt doloremque natus. Tempora dicta omnis mollitia accusantium et quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df372377353315b40d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b40d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b40f0000'), "name"=>"Dorris Barrows", "reference"=>"Lucienne McDermott", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4100000'), "author_name"=>"Kamron Reichert", "content"=>["Sed dicta omnis ab ut eligendi. Aut accusamus esse in ratione. Voluptate omnis ut provident. Nam repudiandae debitis. Eos quisquam magni qui aut dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df372377353315b40f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b40f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4110000'), "name"=>"Chaz Gulgowski", "reference"=>"Alexis Huel DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4120000'), "author_name"=>"Jennifer Kirlin", "content"=>["Repudiandae sit aut velit architecto aliquam. Qui est ut maiores totam corrupti aliquam. Molestiae debitis accusamus sed et. Tempora consequatur voluptatum veniam. Eos nulla eius qui doloribus dolores harum impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df372377353315b4110000", "id"=>"53df372377353315b4120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4130000'), "name"=>"Brigitte White", "reference"=>"Dannie Douglas", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4140000'), "author_name"=>"Amparo Bogan", "content"=>["Consequuntur nihil molestias aut eos dolores voluptatem. Molestiae dignissimos aut nobis est doloremque. Error dolor ratione reiciendis dolorem culpa quisquam magnam. Voluptatem soluta tempore omnis hic neque. Quae ut molestias assumenda vero blanditiis debitis rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df372377353315b4140000", "product_id"=>"53df372377353315b4130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4130000'), "comments._id"=>BSON::ObjectId('53df372377353315b4140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Redirected to http://test.host/admin/products/53df372377353315b4130000/comments/53df372377353315b4140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4150000'), "name"=>"Nellie Kuvalis PhD", "reference"=>"Omer Lakin", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df372377353315b4160000'), "firstname"=>"Kaya", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df372377353315b4150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df372377353315b4170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms Redirected to http://test.host/admin/products/53df372377353315b4150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4180000'), "name"=>"Dr. Gisselle Rolfson", "reference"=>"Loren Johns", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df372377353315b4190000'), "firstname"=>"Lilla", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df372377353315b4190000", "product_id"=>"53df372377353315b4180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b41a0000'), "name"=>"Pietro Hahn Sr.", "reference"=>"Hugh Conn II", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df372377353315b41b0000'), "firstname"=>"Avis", "lastname"=>"Cartwright"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df372377353315b41a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b41a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b41c0000'), "name"=>"Reid Schulist", "reference"=>"Trent Senger", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df372377353315b41d0000'), "firstname"=>"Herbert", "lastname"=>"Crist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df372377353315b41d0000", "product_id"=>"53df372377353315b41c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b41c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b41e0000'), "name"=>"Hudson Thiel", "reference"=>"Maida Doyle", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df372377353315b41f0000'), "firstname"=>"Santos", "lastname"=>"Stiedemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df372377353315b41f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df372377353315b41e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b41e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df372377353315b41e0000/manager 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('53df372377353315b4200000'), "name"=>"Kasandra Rutherford", "reference"=>"Harrison Kuhlman", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2028ms 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('53df372377353315b4210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms Redirected to http://test.host/admin/products/53df372377353315b4210000 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('53df372377353315b4220000'), "name"=>"Dr. Emerson Beahan", "reference"=>"Golden Cassin", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1918ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df372377353315b4220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms 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.1860ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4230000'), "name"=>"Lauriane Howe DDS", "reference"=>"Burley Shanahan DDS", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df372377353315b4230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 38ms (Views: 37.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4240000'), "name"=>"Israel Abbott", "reference"=>"Alanna Greenholt", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms 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.5082ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4250000'), "name"=>"Darien Cartwright", "reference"=>"Stephania Orn", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 18ms (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('53df372377353315b4280000'), "name"=>"Rose Anderson", "reference"=>"Omer Farrell", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df372377353315b4280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4290000'), "name"=>"Keshaun Flatley", "reference"=>"Dr. Lue Brown", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df372377353315b4290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4290000')} 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('53df372377353315b4290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Redirected to http://test.host/admin/products/53df372377353315b4290000 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('53df372377353315b42a0000'), "firstname"=>"Vida", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2016ms 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('53df372377353315b42b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms Redirected to http://test.host/admin/users/53df372377353315b42b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1993ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372377353315b42c0000'), "firstname"=>"Keyon", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1828ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df372377353315b42c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372377353315b42c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372377353315b42c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms 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.1828ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372377353315b42d0000'), "firstname"=>"Lauryn", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df372377353315b42d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372377353315b42d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372377353315b42e0000'), "firstname"=>"Gerald", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms 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.3044ms 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('53df372377353315b42f0000'), "firstname"=>"Mandy", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms 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.2ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372377353315b4300000'), "firstname"=>"Cade", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df372377353315b4300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372377353315b4300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372377353315b4310000'), "firstname"=>"Eloy", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df372377353315b4310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372377353315b4310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df372377353315b4310000 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('53df372377353315b4320000'), "firstname"=>"Georgianna", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1930ms 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('53df372377353315b4330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms 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.1618ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4340000'), "firstname"=>"Mathilde", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df372377353315b4340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.7ms) Completed 200 OK in 43ms (Views: 41.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4350000'), "firstname"=>"Emory", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4360000'), "firstname"=>"Evert", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df372377353315b4360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df372377353315b4370000'), "firstname"=>"Rebekah", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df372377353315b4370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df372377353315b4370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms 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('53df372377353315b4380000'), "name"=>"Reinhold Beer", "reference"=>"Mossie Lynch IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4390000'), "author_name"=>"Rahsaan Turner", "content"=>["Quia at minus laudantium. Rerum blanditiis ipsa sequi quas. Est ad modi unde necessitatibus. Ut officia itaque alias laboriosam qui ut labore. Minus molestiae ea et necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df372377353315b4380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df372377353315b43a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Redirected to http://test.host/products/53df372377353315b4380000/comments/53df372377353315b43a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b43b0000'), "name"=>"Dr. Alessia Lowe", "reference"=>"Felipa Parker", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b43c0000'), "author_name"=>"Miss Mariano Ruecker", "content"=>["Quia atque est quisquam aut. Aspernatur ducimus nemo aut. Est consectetur facilis placeat eius voluptas voluptas id. Eius numquam sapiente libero. Ratione et eos sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b43b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df372377353315b43b0000", "id"=>"53df372377353315b43c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b43b0000')} 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('53df372377353315b43b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df372377353315b43c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms Redirected to http://test.host/products/53df372377353315b43b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b43b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b43d0000'), "name"=>"Dr. Jadyn Pfannerstill", "reference"=>"Brody Klein", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b43e0000'), "author_name"=>"Maudie Keeling", "content"=>["Animi maiores vitae excepturi est. Sit est voluptates dignissimos sed labore. Sunt et totam laudantium sit ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df372377353315b43d0000", "id"=>"53df372377353315b43e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b43d0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b43f0000'), "name"=>"Viola Bernhard II", "reference"=>"Wyman Batz V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4400000'), "author_name"=>"Mia Kuhlman", "content"=>["Nihil et odio eius iste. Et sequi deleniti voluptatum voluptas. Et occaecati aut consequatur et quis quia voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df372377353315b43f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b43f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4410000'), "name"=>"Wyman Wiza", "reference"=>"Julie Murphy", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4420000'), "author_name"=>"Patience Wunsch PhD", "content"=>["Labore dolorem assumenda est non facere. Porro aut sit. Nobis doloremque omnis qui dignissimos aspernatur rerum. Nisi tempore beatae necessitatibus quis perspiciatis officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df372377353315b4410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4430000'), "name"=>"Carlotta Koelpin", "reference"=>"Breana Boyle", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4440000'), "author_name"=>"Omer Schuppe III", "content"=>["Quas sunt tenetur odio. Ut sint perferendis voluptatum. Dolorum deleniti similique eveniet quia veniam. Laborum distinctio illo quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df372377353315b4430000", "id"=>"53df372377353315b4440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4450000'), "name"=>"Ms. Bret Smith", "reference"=>"Ova Mueller Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4460000'), "author_name"=>"Miss Aniya Mann", "content"=>["Pariatur voluptatum veritatis distinctio autem ut. Qui dolorem veritatis. Aliquam non ut eos similique et quae modi. Ad aliquid ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df372377353315b4450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4470000'), "name"=>"Mr. Shea DuBuque", "reference"=>"Michele Hane", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b4480000'), "author_name"=>"Magnolia Adams", "content"=>["Voluptas ut sit non perferendis ut veniam praesentium. Cum enim repudiandae. Quis totam commodi voluptatibus soluta dolorem voluptas quos. Deserunt dignissimos est. Voluptatem omnis rerum maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0294ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df372377353315b4470000", "id"=>"53df372377353315b4480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372377353315b4490000'), "name"=>"Hazle Hammes", "reference"=>"Daron Mertz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df372377353315b44a0000'), "author_name"=>"Dennis Champlin", "content"=>["Molestiae sint qui quia occaecati illo. Qui omnis voluptate maxime eaque numquam autem velit. Sequi cum illo iusto placeat esse eum saepe. Cum ipsum mollitia praesentium minus non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df372377353315b44a0000", "product_id"=>"53df372377353315b4490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372377353315b4490000'), "comments._id"=>BSON::ObjectId('53df372377353315b44a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Redirected to http://test.host/products/53df372377353315b4490000/comments/53df372377353315b44a0000 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('53df372377353315b44b0000'), "firstname"=>"Ottilie", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3346ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372377353315b44c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Redirected to http://test.host/admin/clients/53df372377353315b44c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372377353315b44d0000'), "firstname"=>"Tito", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms 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"=>"53df372377353315b44d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372377353315b44d0000')} 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('53df372377353315b44d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms 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.1590ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372377353315b44e0000'), "firstname"=>"Jordyn", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df372377353315b44e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372377353315b44e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.1ms) Completed 200 OK in 43ms (Views: 41.5ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372377353315b44f0000'), "firstname"=>"Narciso", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms 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('53df372377353315b4500000'), "firstname"=>"Brian", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372477353315b4510000'), "firstname"=>"Norwood", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df372477353315b4510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms 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('53df372477353315b4520000'), "firstname"=>"Forest", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df372477353315b4520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms Redirected to http://test.host/admin/clients/53df372477353315b4520000 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('53df372477353315b4530000'), "firstname"=>"Mertie", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms 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('53df372477353315b4540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms Redirected to http://test.host/clients/53df372477353315b4540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1750ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372477353315b4550000'), "firstname"=>"Declan", "lastname"=>"Bins"}] 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.1647ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df372477353315b4550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms 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.1671ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372477353315b4560000'), "firstname"=>"Davonte", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df372477353315b4560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms 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('53df372477353315b4570000'), "firstname"=>"Gage", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df372477353315b4580000'), "firstname"=>"Andreanne", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms 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.4ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df372477353315b4590000'), "firstname"=>"Constantin", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df372477353315b4590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b4590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms 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('53df372477353315b45a0000'), "firstname"=>"Cristal", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df372477353315b45a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b45a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df372477353315b45a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Redirected to http://test.host/clients/53df372477353315b45a0000 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('53df372477353315b45b0000'), "name"=>"Betsy Robel", "reference"=>"Gerda Runte", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df372477353315b45c0000'), "firstname"=>"Eudora", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df372477353315b45b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b45b0000')} 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('53df372477353315b45b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b45b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df372477353315b45d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms Redirected to http://test.host/products/53df372477353315b45b0000/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('53df372477353315b45e0000'), "name"=>"Dr. Ruth Satterfield", "reference"=>"Deangelo Cummings", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df372477353315b45f0000'), "firstname"=>"Tania", "lastname"=>"Kulas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df372477353315b45f0000", "product_id"=>"53df372477353315b45e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b45e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.9ms) Completed 200 OK in 34ms (Views: 32.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4600000'), "name"=>"Mr. Candida Considine", "reference"=>"Breanne Heidenreich PhD", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df372477353315b4610000'), "firstname"=>"Marcel", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5222ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df372477353315b4600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.8ms) Completed 200 OK in 44ms (Views: 42.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4620000'), "name"=>"Clementine Roberts", "reference"=>"Jakayla Murazik III", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df372477353315b4630000'), "firstname"=>"Earl", "lastname"=>"Flatley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5980ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df372477353315b4630000", "product_id"=>"53df372477353315b4620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4640000'), "name"=>"Mrs. Marina Hintz", "reference"=>"Mr. Josianne McClure", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df372477353315b4650000'), "firstname"=>"Kieran", "lastname"=>"Kassulke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df372477353315b4650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df372477353315b4640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms Unpermitted parameters: name Redirected to http://test.host/products/53df372477353315b4640000/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('53df372477353315b4660000'), "name"=>"Ms. Gilbert Monahan", "reference"=>"Fritz Deckow", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1699ms 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('53df372477353315b4670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Redirected to http://test.host/products/53df372477353315b4670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1682ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4680000'), "name"=>"Dakota Wisoky", "reference"=>"Cruz Schaden", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1517ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df372477353315b4680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8729ms 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.1527ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4690000'), "name"=>"Franco Hoppe V", "reference"=>"Dagmar Satterfield", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df372477353315b4690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('53df372477353315b46a0000'), "name"=>"Morton Nienow", "reference"=>"Devan Klocko", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms 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.6481ms Completed 200 OK in 18ms (Views: 17.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b46b0000'), "name"=>"Marianne Denesik", "reference"=>"Gertrude Langworth", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms 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.6015ms 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('53df372477353315b46c0000'), "name"=>"Monserrat Stamm", "reference"=>"Maci Jenkins", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df372477353315b46c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b46c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Completed 200 OK in 1ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b46d0000'), "name"=>"Prudence Bayer", "reference"=>"Bell Tromp", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b46f0000'), "name"=>"Dewayne Bode", "reference"=>"Trenton Wiza", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df372477353315b46f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b46f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4700000'), "name"=>"Zola Nader", "reference"=>"Kathlyn Dickens", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1765ms 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('53df372477353315b4710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2051ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4720000'), "name"=>"Hannah Raynor", "reference"=>"Edna Runolfsson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df372477353315b4720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms 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('53df372477353315b4730000'), "name"=>"Dr. Leann Powlowski", "reference"=>"Brent Thompson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms 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('53df372477353315b4750000'), "name"=>"Katelyn Bode", "reference"=>"Pietro Larkin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1105ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df372477353315b4750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4750000')} 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('53df372477353315b4750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms 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('53df372477353315b4760000'), "name"=>"Mr. Eldridge Hayes", "reference"=>"Manley Harber Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df372477353315b4760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Redirected to http://test.host/products/53df372477353315b4760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4790000'), "name"=>"Lily Harvey", "reference"=>"Cleve Volkman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4770000'), "author_name"=>"Cielo Heller DVM", "content"=>["Modi est deserunt non. Aut sed beatae ut totam adipisci. Et dignissimos sapiente repellat. Perspiciatis provident quam magni enim in."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4780000'), "author_name"=>"Jazmyn Mohr", "content"=>["Odit doloremque enim rerum. Officia ipsam molestiae et non aut. Voluptates ut totam amet saepe libero assumenda. Est enim saepe nemo. Est nihil consequuntur labore officia et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df372477353315b4790000", "comment_id"=>"53df372477353315b4770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4790000')} 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('53df372477353315b4790000'), "comments._id"=>BSON::ObjectId('53df372477353315b4770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df372477353315b47a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Redirected to http://test.host/products/53df372477353315b4790000/comments/53df372477353315b4770000/comments/53df372477353315b47a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b47d0000'), "name"=>"Muriel Wuckert Sr.", "reference"=>"Okey Nicolas", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b47b0000'), "author_name"=>"Willis Hegmann", "content"=>["Debitis aliquid nulla recusandae incidunt quidem. Est eveniet dolorem voluptate ea deleniti et cum. Tempora sint ducimus et et. Iure cum dolorem. Quia asperiores id dolores in inventore aut maxime."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b47c0000'), "author_name"=>"Candice Bailey", "content"=>["Id pariatur nihil. Sunt sit facere qui dolore enim. Voluptas dolorem nisi tenetur quos suscipit. Dolores eum quo itaque sequi. Nihil mollitia dolorem quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b47d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df372477353315b47d0000", "comment_id"=>"53df372477353315b47b0000", "id"=>"53df372477353315b47c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b47d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b47d0000'), "comments._id"=>BSON::ObjectId('53df372477353315b47b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df372477353315b47c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Redirected to http://test.host/products/53df372477353315b47d0000/comments/53df372477353315b47b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b47d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4800000'), "name"=>"Yadira Morar", "reference"=>"Vinnie Waelchi IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b47e0000'), "author_name"=>"Skyla Jones", "content"=>["Quibusdam voluptatem saepe rerum non iusto est et. Ut quis incidunt est ullam vel molestias. Consequuntur esse molestias. Officia dicta enim quod in. Et optio ut molestias dolor sed voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b47f0000'), "author_name"=>"Gabriel Haley II", "content"=>["Perspiciatis aut incidunt voluptatum. Repellendus aliquid voluptatem blanditiis. Soluta eos ipsa et libero. Dolores vel expedita quos est est recusandae cumque. Corrupti est dolor nihil magni voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df372477353315b4800000", "comment_id"=>"53df372477353315b47e0000", "id"=>"53df372477353315b47f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4830000'), "name"=>"Onie Leannon", "reference"=>"Abigail Jacobson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4810000'), "author_name"=>"Kelvin Borer", "content"=>["Exercitationem laborum illum voluptatibus. Ad voluptas rerum. Dicta aliquam ut temporibus a. Minima qui beatae et. Repudiandae sed temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4820000'), "author_name"=>"Carmella Treutel PhD", "content"=>["Reprehenderit soluta sed adipisci. Sunt qui consequatur aliquid odio sed eius. Dicta vel explicabo iste aut. Ut expedita impedit vero sunt voluptatem magnam. Voluptatibus molestiae ipsa provident repellat occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df372477353315b4830000", "comment_id"=>"53df372477353315b4810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4860000'), "name"=>"Monty Kautzer", "reference"=>"Mr. Hubert Deckow", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4840000'), "author_name"=>"Ramiro Zemlak", "content"=>["Ut accusamus cum fuga. Numquam qui distinctio a inventore sed quae. Ipsa voluptate impedit eum recusandae sed sint numquam. Sint voluptatibus perferendis aut dolorum tempora ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4850000'), "author_name"=>"Demario Wyman", "content"=>["Sunt repudiandae totam. Omnis nesciunt qui dolores. Excepturi exercitationem sequi fugiat cum earum quo blanditiis. Qui sit quas blanditiis ut fugiat voluptas accusamus. Atque sit reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df372477353315b4860000", "comment_id"=>"53df372477353315b4840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4890000'), "name"=>"Fidel Botsford MD", "reference"=>"Ciara Marquardt", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4870000'), "author_name"=>"Fleta Osinski", "content"=>["Molestiae eveniet explicabo est ipsum placeat. Commodi atque aut labore magnam. Vitae incidunt qui praesentium qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4880000'), "author_name"=>"Madie Parisian", "content"=>["Laboriosam dolore eum perferendis maxime. Quo vel suscipit enim. Vel consequatur dolorum. Quia ex sed similique delectus quis dolore pariatur. Sed tempora maiores non perferendis optio sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df372477353315b4890000", "comment_id"=>"53df372477353315b4870000", "id"=>"53df372477353315b4880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b48c0000'), "name"=>"Damion Shanahan", "reference"=>"Daphney Wilderman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b48a0000'), "author_name"=>"Manuela Sawayn I", "content"=>["Consequatur excepturi aut doloribus nam est. Natus ipsa voluptates necessitatibus nam quas et voluptate. Pariatur omnis veritatis ipsum maxime eos ullam. Non ducimus est dicta enim tenetur autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b48b0000'), "author_name"=>"Kian Huels", "content"=>["Dolores eos consectetur. Dolor suscipit ea fugiat. Repellendus sit expedita accusamus non rerum. Libero non doloremque debitis voluptas quisquam provident aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df372477353315b48c0000", "comment_id"=>"53df372477353315b48a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b48c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b48f0000'), "name"=>"Ottis McClure", "reference"=>"Delores Murray", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b48d0000'), "author_name"=>"Nelson Rippin", "content"=>["Quia consequatur cumque optio et deserunt labore aut. Sint numquam voluptas corporis ut autem ut. Officiis magnam repudiandae. Laborum est tempore quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b48e0000'), "author_name"=>"Eveline Hintz", "content"=>["Iusto provident qui eius recusandae distinctio. Fugiat non eveniet consequatur. Alias vero quia. A sed amet repellat est veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df372477353315b48f0000", "comment_id"=>"53df372477353315b48d0000", "id"=>"53df372477353315b48e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b48f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df372477353315b4920000'), "name"=>"Willis Vandervort", "reference"=>"Evans Rosenbaum", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4900000'), "author_name"=>"Gaylord Stoltenberg", "content"=>["Sit eos dolore dicta quis rerum aut. Illo omnis debitis aut quia. Consequatur odio doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('53df372477353315b4910000'), "author_name"=>"Litzy Legros", "content"=>["Aut et deleniti magnam dolorum debitis. Molestiae est dolor velit aut velit. Quidem ex eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df372477353315b4910000", "product_id"=>"53df372477353315b4920000", "comment_id"=>"53df372477353315b4900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df372477353315b4920000'), "comments._id"=>BSON::ObjectId('53df372477353315b4900000'), "comments.0.comments._id"=>BSON::ObjectId('53df372477353315b4910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Redirected to http://test.host/products/53df372477353315b4920000/comments/53df372477353315b4900000/comments/53df372477353315b4910000 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('53df372477353315b4930000'), "firstname"=>"Dante", "lastname"=>"Stehr"}] 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=>"admin_users", :query=>{}} runtime: 0.1572ms 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('53df372477353315b4940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms Redirected to http://test.host/users/53df372477353315b4940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1526ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372477353315b4950000'), "firstname"=>"May", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1363ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df372477353315b4950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372477353315b4950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372477353315b4950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms 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.1397ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372477353315b4960000'), "firstname"=>"Alene", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df372477353315b4960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372477353315b4960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.1ms) Completed 200 OK in 31ms (Views: 30.3ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372477353315b4970000'), "firstname"=>"Kaylie", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms 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.3175ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372477353315b4980000'), "firstname"=>"Golden", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df372477353315b4990000'), "firstname"=>"Jerod", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2703ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df372477353315b4990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372477353315b4990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms 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('53df372477353315b49a0000'), "firstname"=>"Lea", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df372477353315b49a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df372477353315b49a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5511ms Unpermitted parameters: name Redirected to http://test.host/users/53df372477353315b49a0000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5223ms 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.5091ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms 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: 24.8858ms 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.5173ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2000000'), "firstname"=>"Cade", "lastname"=>"Hegmann"}] 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=>"administrators", :query=>{}} runtime: 0.1363ms 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('53df374d77353315e2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms 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.1439ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2020000'), "firstname"=>"Velda", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.9822ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df374d77353315e2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4399ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 45ms (Views: 44.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2030000'), "firstname"=>"Gideon", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2040000'), "firstname"=>"Lauriane", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df374d77353315e2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2050000'), "firstname"=>"Alan", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df374d77353315e2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms 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('53df374d77353315e2060000'), "name"=>"Delphia Hickle DDS", "reference"=>"Ms. Baylee Kautzer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2070000'), "author_name"=>"Miss Triston Brakus", "content"=>["Quo dolorum unde fugiat libero sequi pariatur provident. Architecto modi qui enim explicabo fuga necessitatibus. Et quibusdam est nam. Accusantium sint modi quidem nulla sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df374d77353315e2060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2060000')} 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('53df374d77353315e2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df374d77353315e2080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1622ms Redirected to http://test.host/admin/products/53df374d77353315e2060000/comments/53df374d77353315e2080000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2090000'), "name"=>"Velma Kuphal", "reference"=>"Selena Fritsch V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e20a0000'), "author_name"=>"Virginie White", "content"=>["Ratione rerum veniam. Maiores aliquid eveniet illum eum magnam. Et qui nesciunt amet et perspiciatis totam quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df374d77353315e2090000", "id"=>"53df374d77353315e20a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df374d77353315e20a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Redirected to http://test.host/admin/products/53df374d77353315e2090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e20b0000'), "name"=>"Lucienne Smith", "reference"=>"Jarred Gottlieb", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e20c0000'), "author_name"=>"Jeramy Mraz Sr.", "content"=>["Et quia hic voluptatibus aut veritatis voluptas. Omnis excepturi et ut. Consequatur exercitationem id est eum adipisci. Rerum a eligendi consectetur sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df374d77353315e20b0000", "id"=>"53df374d77353315e20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e20b0000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e20d0000'), "name"=>"Danial Borer", "reference"=>"Herminio Schoen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e20e0000'), "author_name"=>"Lorenzo Kirlin", "content"=>["Esse voluptas rerum. Aperiam sed sunt et minima. Numquam enim maxime temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df374d77353315e20d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e20f0000'), "name"=>"Santa Heaney", "reference"=>"Oscar Boehm", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2100000'), "author_name"=>"Elsa Stanton", "content"=>["Optio sunt numquam similique aspernatur placeat nesciunt voluptates. Eius ut debitis est sunt exercitationem. Sed voluptates voluptate unde saepe. Doloremque dignissimos omnis doloribus aut nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df374d77353315e20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2110000'), "name"=>"Hipolito Jacobson", "reference"=>"Dena Rath", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2120000'), "author_name"=>"Mr. Maymie Sawayn", "content"=>["Vel eos dolore quod delectus architecto eum enim. Similique facere repellendus qui eius recusandae. Voluptatem dolore delectus impedit sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df374d77353315e2110000", "id"=>"53df374d77353315e2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2130000'), "name"=>"Marques Kuvalis MD", "reference"=>"Percival Hamill", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2140000'), "author_name"=>"Dr. Gonzalo Mayert", "content"=>["Et dolor quo ex itaque recusandae. Excepturi itaque amet. Dicta et labore voluptatem officiis quos itaque alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df374d77353315e2140000", "product_id"=>"53df374d77353315e2130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2130000'), "comments._id"=>BSON::ObjectId('53df374d77353315e2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms Redirected to http://test.host/admin/products/53df374d77353315e2130000/comments/53df374d77353315e2140000 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('53df374d77353315e2150000'), "name"=>"Hiram Corkery", "reference"=>"Mr. Flavie Will", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e2160000'), "firstname"=>"Keven", "lastname"=>"Vandervort"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df374d77353315e2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4238ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e2170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms Redirected to http://test.host/admin/products/53df374d77353315e2150000/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('53df374d77353315e2180000'), "name"=>"Gonzalo Sporer", "reference"=>"Favian Little", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e2190000'), "firstname"=>"Cicero", "lastname"=>"Mitchell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df374d77353315e2190000", "product_id"=>"53df374d77353315e2180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e21a0000'), "name"=>"Alvis Larkin", "reference"=>"Euna Erdman", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e21b0000'), "firstname"=>"Kaden", "lastname"=>"Yost"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df374d77353315e21a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e21c0000'), "name"=>"Fabiola Conn", "reference"=>"Jayce Grady", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e21d0000'), "firstname"=>"Blake", "lastname"=>"Olson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df374d77353315e21d0000", "product_id"=>"53df374d77353315e21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3655ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e21e0000'), "name"=>"Maureen Satterfield II", "reference"=>"Mrs. Michael Grady", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df374d77353315e21f0000'), "firstname"=>"Murl", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df374d77353315e21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df374d77353315e21e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df374d77353315e21e0000/manager 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('53df374d77353315e2200000'), "name"=>"Mustafa Ziemann", "reference"=>"Kaitlyn Wiegand", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2147ms 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('53df374d77353315e2210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Redirected to http://test.host/admin/products/53df374d77353315e2210000 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('53df374d77353315e2220000'), "name"=>"Sydney Mayert", "reference"=>"Emily Schinner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1695ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df374d77353315e2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms 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.1842ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2230000'), "name"=>"Dr. Archibald Greenfelder", "reference"=>"Marie Luettgen", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df374d77353315e2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2230000')} 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.9ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2240000'), "name"=>"Norris Weimann", "reference"=>"Elwin Kerluke I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms 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.4806ms Completed 200 OK in 10ms (Views: 9.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2250000'), "name"=>"Macy O'Hara", "reference"=>"Reese Glover", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('53df374d77353315e2280000'), "name"=>"Anastacio Legros", "reference"=>"Antonina Bayer Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df374d77353315e2280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2290000'), "name"=>"Kade Harvey", "reference"=>"Scarlett Metz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df374d77353315e2290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms Redirected to http://test.host/admin/products/53df374d77353315e2290000 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('53df374d77353315e22a0000'), "firstname"=>"Carol", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1933ms 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('53df374d77353315e22b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Redirected to http://test.host/admin/users/53df374d77353315e22b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1956ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374d77353315e22c0000'), "firstname"=>"Terrence", "lastname"=>"Auer"}] 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=>"admin_users", :query=>{}} runtime: 0.1739ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df374d77353315e22c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374d77353315e22c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374d77353315e22c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms 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.1876ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374d77353315e22d0000'), "firstname"=>"Darren", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df374d77353315e22d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374d77353315e22d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374d77353315e22e0000'), "firstname"=>"Bertha", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms 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.3270ms 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('53df374d77353315e22f0000'), "firstname"=>"Braeden", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2300000'), "firstname"=>"Buster", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df374d77353315e2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374d77353315e2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Completed 200 OK in 3ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2310000'), "firstname"=>"Blake", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df374d77353315e2310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374d77353315e2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df374d77353315e2310000 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('53df374d77353315e2320000'), "firstname"=>"Sylvester", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1735ms 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('53df374d77353315e2330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms 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.1869ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2340000'), "firstname"=>"Lia", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df374d77353315e2340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2350000'), "firstname"=>"Easton", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4716ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2360000'), "firstname"=>"Elenora", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df374d77353315e2360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Completed 200 OK in 3ms (Views: 2.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2370000'), "firstname"=>"Kaley", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df374d77353315e2370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df374d77353315e2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms 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('53df374d77353315e2380000'), "name"=>"Ms. Brendan Kuphal", "reference"=>"Steve Green", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2390000'), "author_name"=>"Merl Schoen", "content"=>["Eos molestias vel ratione quis. Dolorem magnam omnis quaerat quibusdam enim non. Similique qui corrupti aut explicabo nihil ut ut. Velit porro ex dolor. Omnis ut qui recusandae accusamus natus ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df374d77353315e2380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2380000')} 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('53df374d77353315e2380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df374d77353315e23a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Redirected to http://test.host/products/53df374d77353315e2380000/comments/53df374d77353315e23a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e23b0000'), "name"=>"Mrs. Elmer Gutkowski", "reference"=>"Retta Weber", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e23c0000'), "author_name"=>"Hadley Gulgowski", "content"=>["Et nihil voluptatum. Placeat soluta eius. Dolorum quaerat fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df374d77353315e23b0000", "id"=>"53df374d77353315e23c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e23b0000')} 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('53df374d77353315e23b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df374d77353315e23c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms Redirected to http://test.host/products/53df374d77353315e23b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e23d0000'), "name"=>"Susie Homenick", "reference"=>"Sasha Davis", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e23e0000'), "author_name"=>"Dr. Pat Breitenberg", "content"=>["Doloremque sit velit atque temporibus quasi et quia. Quia atque sapiente. Eveniet autem porro vel unde rerum totam earum. Explicabo ut autem necessitatibus sunt sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df374d77353315e23d0000", "id"=>"53df374d77353315e23e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.9ms) Completed 200 OK in 38ms (Views: 36.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e23f0000'), "name"=>"Darian Kshlerin", "reference"=>"Mr. Edwin Terry", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2400000'), "author_name"=>"Mrs. Noe Pagac", "content"=>["Nobis omnis quia dicta explicabo velit. Et ratione accusamus. Commodi quasi nam vitae fuga explicabo ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df374d77353315e23f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2410000'), "name"=>"Kaden Adams", "reference"=>"Moshe Emard", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2420000'), "author_name"=>"Jada Breitenberg", "content"=>["Laboriosam error voluptate blanditiis voluptates quisquam facilis. Sint exercitationem provident tempora. Quaerat voluptatibus vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df374d77353315e2410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2430000'), "name"=>"Dovie Schmeler II", "reference"=>"Chelsie Huel", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2440000'), "author_name"=>"Jaylen Marquardt", "content"=>["Nam ipsam suscipit. Deserunt optio quis aut numquam. At quos ut cupiditate. Velit fugit reiciendis adipisci harum voluptatem velit consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df374d77353315e2430000", "id"=>"53df374d77353315e2440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2450000'), "name"=>"Vilma Stoltenberg", "reference"=>"Jaquelin Feeney", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2460000'), "author_name"=>"Thaddeus Durgan II", "content"=>["Odio eligendi ratione expedita error dolores non cumque. Doloribus mollitia omnis nobis ea laudantium. Magnam dolores sit non voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8561ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df374d77353315e2450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3863ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2470000'), "name"=>"Kristian Schneider", "reference"=>"Miss Summer Hammes", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e2480000'), "author_name"=>"Roma Carter", "content"=>["Eum velit quae dignissimos officia. Quas quam amet assumenda rerum dolores non. Molestiae odit officia culpa voluptates amet qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df374d77353315e2470000", "id"=>"53df374d77353315e2480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2490000'), "name"=>"Ms. Rae Mraz", "reference"=>"Miss Marlene Rath", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df374d77353315e24a0000'), "author_name"=>"Dr. Westley Lehner", "content"=>["Facilis reprehenderit quae ut commodi accusamus dolor voluptatum. Hic error odit. Molestiae et officiis beatae quasi accusantium optio facere. Veniam dolores placeat et laboriosam tempora officia. Occaecati accusantium cumque perferendis repudiandae numquam aut illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4990ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df374d77353315e24a0000", "product_id"=>"53df374d77353315e2490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374d77353315e2490000'), "comments._id"=>BSON::ObjectId('53df374d77353315e24a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6702ms Redirected to http://test.host/products/53df374d77353315e2490000/comments/53df374d77353315e24a0000 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('53df374d77353315e24b0000'), "firstname"=>"Jamaal", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6054ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3080ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e24c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms Redirected to http://test.host/admin/clients/53df374d77353315e24c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3174ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e24d0000'), "firstname"=>"Crawford", "lastname"=>"Hane"}] 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.2848ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df374d77353315e24d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e24d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e24d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms 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.2937ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e24e0000'), "firstname"=>"Abdiel", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df374d77353315e24e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df374d77353315e24f0000'), "firstname"=>"Junius", "lastname"=>"Schumm"}] 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.4372ms 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('53df374d77353315e2500000'), "firstname"=>"Alison", "lastname"=>"O'Hara"}] 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.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('53df374d77353315e2510000'), "firstname"=>"Walton", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5328ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df374d77353315e2510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e2510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2520000'), "firstname"=>"Adam", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df374d77353315e2520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e2520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms Redirected to http://test.host/admin/clients/53df374d77353315e2520000 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('53df374d77353315e2530000'), "firstname"=>"Lou", "lastname"=>"Braun"}] 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=>"clients", :query=>{}} runtime: 0.1850ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Redirected to http://test.host/clients/53df374d77353315e2540000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1951ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374d77353315e2550000'), "firstname"=>"Wilfrid", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms 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"=>"53df374d77353315e2550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e2550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374d77353315e2550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms 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.1880ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2560000'), "firstname"=>"Jimmy", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df374e77353315e2560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374e77353315e2560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df374e77353315e2570000'), "firstname"=>"Shaylee", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms 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('53df374e77353315e2580000'), "firstname"=>"Monte", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2590000'), "firstname"=>"Albert", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df374e77353315e2590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374e77353315e2590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms 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('53df374e77353315e25a0000'), "firstname"=>"Kendall", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df374e77353315e25a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374e77353315e25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df374e77353315e25a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms Redirected to http://test.host/clients/53df374e77353315e25a0000 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('53df374e77353315e25b0000'), "name"=>"Braxton Grant", "reference"=>"Valerie Corwin", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e25c0000'), "firstname"=>"Mireille", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df374e77353315e25b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e25b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e25b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e25b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e25d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms Redirected to http://test.host/products/53df374e77353315e25b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e25e0000'), "name"=>"Dr. Shania Reichel", "reference"=>"Camylle Breitenberg", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e25f0000'), "firstname"=>"Dejah", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df374e77353315e25f0000", "product_id"=>"53df374e77353315e25e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2600000'), "name"=>"Greg Mosciski", "reference"=>"Rudy Ward", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e2610000'), "firstname"=>"Letitia", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8998ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df374e77353315e2600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2600000')} 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.0ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2620000'), "name"=>"Geovanni Bartell", "reference"=>"Alexandrine Beahan IV", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e2630000'), "firstname"=>"Natasha", "lastname"=>"Mohr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df374e77353315e2630000", "product_id"=>"53df374e77353315e2620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2640000'), "name"=>"Mable Spinka", "reference"=>"Jadon Stamm", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df374e77353315e2650000'), "firstname"=>"Jason", "lastname"=>"O'Kon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df374e77353315e2650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df374e77353315e2640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Unpermitted parameters: name Redirected to http://test.host/products/53df374e77353315e2640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2660000'), "name"=>"Cassandre Greenfelder", "reference"=>"Wilfrid Wiegand", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2330ms 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('53df374e77353315e2670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5276ms Redirected to http://test.host/products/53df374e77353315e2670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3630ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2680000'), "name"=>"Heath Upton", "reference"=>"Golden White", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.3251ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df374e77353315e2680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms 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.3108ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2690000'), "name"=>"Lonie Jerde", "reference"=>"Niko Rath", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df374e77353315e2690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e26a0000'), "name"=>"Mr. Constance Carter", "reference"=>"Letha Christiansen", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5826ms 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.8589ms Completed 200 OK in 54ms (Views: 53.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e26b0000'), "name"=>"Joanny Halvorson", "reference"=>"Isobel Gaylord", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5783ms 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.7837ms 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('53df374e77353315e26c0000'), "name"=>"Dr. Keyon Quigley", "reference"=>"Timothy Morar", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4990ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df374e77353315e26c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e26c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms 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('53df374e77353315e26d0000'), "name"=>"Mr. Clifton Parker", "reference"=>"Heber Tillman", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df374e77353315e26f0000'), "name"=>"Jules Kuhic", "reference"=>"Elda Reilly", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5722ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df374e77353315e26f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e26f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2700000'), "name"=>"Quinton Brekke DDS", "reference"=>"Danial D'Amore", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3038ms 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('53df374e77353315e2710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3213ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2720000'), "name"=>"Vada Aufderhar DVM", "reference"=>"Mrs. Joanie Ondricka", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df374e77353315e2720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms 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('53df374e77353315e2730000'), "name"=>"Velva Ritchie III", "reference"=>"Bailey Wisoky", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms 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('53df374e77353315e2750000'), "name"=>"Mrs. Buster Thompson", "reference"=>"Marcellus Kerluke", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df374e77353315e2750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms 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('53df374e77353315e2760000'), "name"=>"Cara Walker DVM", "reference"=>"Ms. Sheridan Zieme", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df374e77353315e2760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Redirected to http://test.host/products/53df374e77353315e2760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2790000'), "name"=>"Leonel O'Hara", "reference"=>"Coy Ritchie", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2770000'), "author_name"=>"Maribel Mitchell", "content"=>["A est corrupti. Eum sapiente placeat nobis maxime. Dicta quos omnis molestias iusto facere qui. Non cum odit similique officia."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2780000'), "author_name"=>"Oswaldo Bernier", "content"=>["Labore qui magnam voluptate libero molestiae quod. Dolore at ipsam repellat sapiente et. Voluptate quia aliquid aliquam dolor quia laudantium. Accusamus natus quam earum ut quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df374e77353315e2790000", "comment_id"=>"53df374e77353315e2770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2790000'), "comments._id"=>BSON::ObjectId('53df374e77353315e2770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df374e77353315e27a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6440ms Redirected to http://test.host/products/53df374e77353315e2790000/comments/53df374e77353315e2770000/comments/53df374e77353315e27a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e27d0000'), "name"=>"Nicola Effertz", "reference"=>"Adriel Pfannerstill", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e27b0000'), "author_name"=>"Caleigh Schuster", "content"=>["Similique magni aliquid nulla officiis non aut officia. Itaque recusandae earum perspiciatis tempore. Enim id quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e27c0000'), "author_name"=>"Miss Onie Bauch", "content"=>["Omnis aut et consequuntur corporis soluta molestias tempore. Amet excepturi necessitatibus est. Eligendi ipsum vitae quis. Dolor reprehenderit tempore eaque laborum. Sit et et iure et non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df374e77353315e27d0000", "comment_id"=>"53df374e77353315e27b0000", "id"=>"53df374e77353315e27c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3818ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e27d0000'), "comments._id"=>BSON::ObjectId('53df374e77353315e27b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df374e77353315e27c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5524ms Redirected to http://test.host/products/53df374e77353315e27d0000/comments/53df374e77353315e27b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2800000'), "name"=>"Bernadine Dietrich", "reference"=>"Sylvester Conroy PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e27e0000'), "author_name"=>"Dr. Raquel Jacobson", "content"=>["Dolores et omnis architecto. Rerum consequatur et et delectus sed. Ipsa ut maxime ex quia ut recusandae harum. Alias quia qui. Impedit asperiores deserunt suscipit."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e27f0000'), "author_name"=>"Clyde Greenfelder", "content"=>["Qui aspernatur laudantium quia. Delectus fuga itaque. Assumenda nam placeat fugiat vero. Ex blanditiis vel quia. Unde qui sed excepturi quo aut eos culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df374e77353315e2800000", "comment_id"=>"53df374e77353315e27e0000", "id"=>"53df374e77353315e27f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3824ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.3ms) Completed 200 OK in 33ms (Views: 30.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2830000'), "name"=>"Arlie Kulas", "reference"=>"Trever Corkery", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2810000'), "author_name"=>"Reed Huel", "content"=>["Ab quis sequi. Labore aut quia. Minima earum omnis blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2820000'), "author_name"=>"Onie Littel", "content"=>["Delectus quos fugiat maiores enim voluptatem. Optio quis accusamus debitis ut eligendi rerum corrupti. Et et nemo consequatur consequatur. Ratione reprehenderit perferendis. Nam non in eligendi veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6083ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df374e77353315e2830000", "comment_id"=>"53df374e77353315e2810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2860000'), "name"=>"Cassie Paucek", "reference"=>"Jessica Kuhlman PhD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2840000'), "author_name"=>"Prudence Ankunding", "content"=>["Quia vel ut nam. Maxime ut eos pariatur id labore vero. Modi consequatur ut quas quia vero et blanditiis. Rerum aperiam consequatur minima commodi fuga necessitatibus. Voluptate inventore harum doloribus veniam."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2850000'), "author_name"=>"Miss Alberta Dicki", "content"=>["Suscipit est quasi non. Reiciendis id libero earum. Commodi nam assumenda rerum vel quia laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5400ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df374e77353315e2860000", "comment_id"=>"53df374e77353315e2840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2890000'), "name"=>"Mrs. Claudia Cole", "reference"=>"Marietta Christiansen", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2870000'), "author_name"=>"Macey Mohr", "content"=>["Ex molestiae eveniet laboriosam repellendus minima. Omnis eum illum aut. Libero eius voluptatum unde placeat et corporis quae. Explicabo non repellendus quia maxime."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2880000'), "author_name"=>"Camilla Heller", "content"=>["Quis accusantium sequi accusamus. Unde voluptates quia. Quae explicabo deserunt repellendus earum et aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df374e77353315e2890000", "comment_id"=>"53df374e77353315e2870000", "id"=>"53df374e77353315e2880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4032ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e28c0000'), "name"=>"Miss Godfrey Torphy", "reference"=>"Ken Harvey", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e28a0000'), "author_name"=>"Abe VonRueden", "content"=>["Nobis voluptas nisi. Eos sit consequatur eum dicta quaerat. Nostrum voluptas voluptates reiciendis. Consequatur enim sunt quia. Qui exercitationem laborum et sequi amet dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e28b0000'), "author_name"=>"Carolyne Labadie", "content"=>["Non vel ea. Saepe tenetur ipsum quas. Excepturi architecto vitae. Suscipit et doloremque. Et consectetur impedit asperiores amet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0982ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df374e77353315e28c0000", "comment_id"=>"53df374e77353315e28a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e28c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4695ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e28f0000'), "name"=>"Devan Carter", "reference"=>"Wilber Swift Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e28d0000'), "author_name"=>"Rashad McLaughlin", "content"=>["Odio rerum facilis consequatur. Corporis odio magnam beatae alias doloremque aut deserunt. Ex reiciendis qui sequi ipsum deserunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e28e0000'), "author_name"=>"Annette Schmeler", "content"=>["Recusandae enim velit maiores qui sed iure sed. Explicabo voluptatem accusamus sunt. Id velit dolor ad veritatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6167ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df374e77353315e28f0000", "comment_id"=>"53df374e77353315e28d0000", "id"=>"53df374e77353315e28e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e28f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2920000'), "name"=>"Gardner Mosciski", "reference"=>"Patsy Morar", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2900000'), "author_name"=>"Damian Stehr", "content"=>["Nam dicta iste voluptatem ipsa rerum. Et cupiditate nemo consectetur quo assumenda corrupti. Magni praesentium voluptas accusamus. Quam corporis totam aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df374e77353315e2910000'), "author_name"=>"Jose Gleichner", "content"=>["Dolorum quia est ut ipsam. Dolorum alias quo ab debitis. Fugit adipisci sit blanditiis qui nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2786ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df374e77353315e2910000", "product_id"=>"53df374e77353315e2920000", "comment_id"=>"53df374e77353315e2900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4998ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df374e77353315e2920000'), "comments._id"=>BSON::ObjectId('53df374e77353315e2900000'), "comments.0.comments._id"=>BSON::ObjectId('53df374e77353315e2910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7585ms Redirected to http://test.host/products/53df374e77353315e2920000/comments/53df374e77353315e2900000/comments/53df374e77353315e2910000 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('53df374e77353315e2930000'), "firstname"=>"Ethel", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6548ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3179ms 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('53df374e77353315e2940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4964ms Redirected to http://test.host/users/53df374e77353315e2940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3704ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2950000'), "firstname"=>"Rowena", "lastname"=>"McClure"}] 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.3229ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df374e77353315e2950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374e77353315e2950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374e77353315e2950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms 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.3194ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2960000'), "firstname"=>"Bret", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df374e77353315e2960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374e77353315e2960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2970000'), "firstname"=>"Maci", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms 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.3564ms Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df374e77353315e2980000'), "firstname"=>"Tristian", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms 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('53df374e77353315e2990000'), "firstname"=>"Pamela", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df374e77353315e2990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374e77353315e2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms 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('53df374e77353315e29a0000'), "firstname"=>"Lizeth", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df374e77353315e29a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df374e77353315e29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms Unpermitted parameters: name Redirected to http://test.host/users/53df374e77353315e29a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms 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.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.5819ms 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.3492ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3754773533160c000000'), "firstname"=>"Camila", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1960ms 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('53df3754773533160c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms 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.1494ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3754773533160c020000'), "firstname"=>"Emie", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3754773533160c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3754773533160c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 47ms (Views: 46.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3754773533160c030000'), "firstname"=>"Roosevelt", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3754773533160c040000'), "firstname"=>"Gerson", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3754773533160c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3754773533160c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3754773533160c050000'), "firstname"=>"Justice", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3754773533160c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3754773533160c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms 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('53df3754773533160c060000'), "name"=>"Darrin Mohr", "reference"=>"Thalia Farrell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3754773533160c070000'), "author_name"=>"Chase Howe", "content"=>["Laudantium cupiditate consequatur eligendi eos. Molestiae enim quas. Similique ut at soluta ullam. Velit et dignissimos nam non. Pariatur enim vel autem error quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3754773533160c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3754773533160c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3754773533160c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3754773533160c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms Redirected to http://test.host/admin/products/53df3754773533160c060000/comments/53df3755773533160c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3754773533160c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c090000'), "name"=>"Ms. Rowland Bergnaum", "reference"=>"Cary Gibson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c0a0000'), "author_name"=>"Gaetano Ledner", "content"=>["Assumenda consequatur enim minus cumque ipsum aut temporibus. Itaque rerum qui et quia est voluptas saepe. Aut et nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3761ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3755773533160c090000", "id"=>"53df3755773533160c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c090000')} 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('53df3755773533160c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Redirected to http://test.host/admin/products/53df3755773533160c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c0b0000'), "name"=>"Corene White IV", "reference"=>"Barry O'Connell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c0c0000'), "author_name"=>"Marcos Wisozk IV", "content"=>["Ipsum exercitationem et ut dolorem doloremque et fuga. Perferendis est soluta debitis ullam excepturi. Deleniti doloremque est occaecati voluptatem provident dolores aut. Dolores temporibus consequatur saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3755773533160c0b0000", "id"=>"53df3755773533160c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c0b0000')} 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.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c0d0000'), "name"=>"Danielle Kautzer", "reference"=>"Genesis McClure", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c0e0000'), "author_name"=>"Ulises Hagenes", "content"=>["Rerum magnam sunt ipsum dolorem. Et laudantium qui ullam dignissimos voluptate consequatur est. Dicta eum sed qui in dolor et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3755773533160c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c0f0000'), "name"=>"Zetta Lang", "reference"=>"Maximillia Krajcik", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c100000'), "author_name"=>"Bobby Auer", "content"=>["Accusantium est quia. Esse molestias cupiditate quam. Provident eaque vel rerum non porro voluptate doloremque. Ducimus rerum assumenda qui molestiae nisi aliquid. Vel id voluptatem ipsum qui accusamus maiores asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3755773533160c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c110000'), "name"=>"Rosalind Sauer", "reference"=>"Harley Hyatt", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c120000'), "author_name"=>"Janessa Pfannerstill Jr.", "content"=>["In odit est qui. Possimus non vel magnam officia accusamus quam eligendi. Error itaque veniam fuga dolor et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3755773533160c110000", "id"=>"53df3755773533160c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c130000'), "name"=>"Mr. Tabitha Erdman", "reference"=>"Autumn Bednar", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c140000'), "author_name"=>"Dr. Lew Schuppe", "content"=>["Vero voluptate ipsa pariatur sed. Dicta quas qui. Vel deserunt aspernatur. Molestias totam blanditiis aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3755773533160c140000", "product_id"=>"53df3755773533160c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c130000'), "comments._id"=>BSON::ObjectId('53df3755773533160c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Redirected to http://test.host/admin/products/53df3755773533160c130000/comments/53df3755773533160c140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c150000'), "name"=>"Donna Swaniawski", "reference"=>"Mrs. Skylar Bogan", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c160000'), "firstname"=>"Ignacio", "lastname"=>"Denesik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3755773533160c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms Redirected to http://test.host/admin/products/53df3755773533160c150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c180000'), "name"=>"Thad Leffler", "reference"=>"Clifton Morissette", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c190000'), "firstname"=>"Kathlyn", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3755773533160c190000", "product_id"=>"53df3755773533160c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c1a0000'), "name"=>"Mr. Burdette Daniel", "reference"=>"Wilford Herzog", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c1b0000'), "firstname"=>"Camron", "lastname"=>"Ferry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3755773533160c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c1a0000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c1c0000'), "name"=>"Leslie Jast", "reference"=>"Gordon Turcotte", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c1d0000'), "firstname"=>"Melany", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3755773533160c1d0000", "product_id"=>"53df3755773533160c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c1e0000'), "name"=>"Patricia Hills", "reference"=>"Bill Rohan", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c1f0000'), "firstname"=>"Kirsten", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3755773533160c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3755773533160c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3755773533160c1e0000/manager 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('53df3755773533160c200000'), "name"=>"Shana Okuneva", "reference"=>"Karelle Mitchell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1601ms 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('53df3755773533160c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms Redirected to http://test.host/admin/products/53df3755773533160c210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1721ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c220000'), "name"=>"Alanna Kris", "reference"=>"Mrs. Devin Walter", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1512ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3755773533160c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms 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.1458ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c230000'), "name"=>"Sigurd Kihn", "reference"=>"Moshe Tremblay", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3755773533160c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 38ms (Views: 36.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c240000'), "name"=>"Christa Torp", "reference"=>"Mr. Sanford Emmerich", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms 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.4926ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c250000'), "name"=>"Ara Fay", "reference"=>"Miss Caleigh Dare", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('53df3755773533160c280000'), "name"=>"Alicia Russel", "reference"=>"Guadalupe Glover", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3755773533160c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms 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('53df3755773533160c290000'), "name"=>"Jammie Dare", "reference"=>"Angelita Hagenes", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3755773533160c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Redirected to http://test.host/admin/products/53df3755773533160c290000 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('53df3755773533160c2a0000'), "firstname"=>"Miles", "lastname"=>"Kuhn"}] 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=>"admin_users", :query=>{}} runtime: 0.1514ms 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('53df3755773533160c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms Redirected to http://test.host/admin/users/53df3755773533160c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2292ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3755773533160c2c0000'), "firstname"=>"Wava", "lastname"=>"Rau"}] 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=>"admin_users", :query=>{}} runtime: 0.2023ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3755773533160c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3755773533160c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3755773533160c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms 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.2506ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3755773533160c2d0000'), "firstname"=>"Rosie", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3755773533160c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3755773533160c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3755773533160c2e0000'), "firstname"=>"Zack", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms 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.3051ms 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('53df3755773533160c2f0000'), "firstname"=>"Bret", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3755773533160c300000'), "firstname"=>"Anika", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3755773533160c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3755773533160c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3755773533160c310000'), "firstname"=>"Crystal", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3755773533160c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3755773533160c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3755773533160c310000 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('53df3755773533160c320000'), "firstname"=>"Mariana", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5124ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2052ms 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('53df3755773533160c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms 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.2113ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3755773533160c340000'), "firstname"=>"Liza", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3755773533160c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3755773533160c340000')} 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.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3755773533160c350000'), "firstname"=>"Madaline", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.0398ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53df3755773533160c360000'), "firstname"=>"Darien", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3755773533160c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3755773533160c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3755773533160c370000'), "firstname"=>"Ashleigh", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3755773533160c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3755773533160c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms 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('53df3755773533160c380000'), "name"=>"Rusty Wyman", "reference"=>"Oceane Haag", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c390000'), "author_name"=>"Carolanne Skiles", "content"=>["Voluptatem inventore id et. Pariatur delectus vel sed quis enim et. Dolorum voluptas itaque nobis eligendi fugiat repudiandae sequi. Perspiciatis rerum eos quidem fugiat aspernatur dolorem debitis. Consequatur vitae voluptate harum qui voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3755773533160c380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c380000')} 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('53df3755773533160c380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Redirected to http://test.host/products/53df3755773533160c380000/comments/53df3755773533160c3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c3b0000'), "name"=>"Eladio Schmidt", "reference"=>"Lenna Huels", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c3c0000'), "author_name"=>"Leone Becker", "content"=>["Qui vero aut consequuntur quis quia fuga. Nemo ducimus distinctio adipisci et id vel. Ipsam nulla quo voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3755773533160c3b0000", "id"=>"53df3755773533160c3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c3b0000')} 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('53df3755773533160c3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms Redirected to http://test.host/products/53df3755773533160c3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c3d0000'), "name"=>"Mrs. Carmel Heaney", "reference"=>"Miss Dejuan Casper", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c3e0000'), "author_name"=>"Leanna Corwin", "content"=>["Et quaerat quisquam ut expedita quos reprehenderit. Enim harum aut voluptatum delectus quia. Suscipit ullam quia labore sunt consequatur. Quaerat et debitis suscipit animi. Quod voluptatibus et qui est eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3755773533160c3d0000", "id"=>"53df3755773533160c3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c3d0000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c3f0000'), "name"=>"Dr. Antonette Schultz", "reference"=>"Aubree Ebert", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c400000'), "author_name"=>"Elva Metz", "content"=>["Doloribus eius ipsum tempore dolor libero quia. Animi deserunt et laboriosam. Et corporis aut. Fuga accusamus id exercitationem est perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3755773533160c3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c410000'), "name"=>"Frida Hane", "reference"=>"Camilla Conroy Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c420000'), "author_name"=>"Shanna Ebert DDS", "content"=>["Quia vitae temporibus rerum tempore eius eaque et. Similique architecto nemo. Sapiente aperiam at aut. Quia exercitationem omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3755773533160c410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c430000'), "name"=>"Presley Roob", "reference"=>"Christopher Eichmann", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c440000'), "author_name"=>"Mr. Theresa Ritchie", "content"=>["Reprehenderit cupiditate alias. Unde perspiciatis sit eveniet. Commodi explicabo et nesciunt. Qui officiis et iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3755773533160c430000", "id"=>"53df3755773533160c440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c450000'), "name"=>"Evan Lesch", "reference"=>"Reyes Huel Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c460000'), "author_name"=>"Dr. Sierra Crooks", "content"=>["Quibusdam incidunt autem velit animi. Aut culpa harum consequuntur. Quos cum accusantium molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3755773533160c450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c470000'), "name"=>"Marcia Fisher", "reference"=>"Adah Heaney", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c480000'), "author_name"=>"Lavonne Crooks II", "content"=>["Est dolores consequatur aut rerum. Porro minus deleniti ullam a eos. Et vel eveniet repudiandae non maiores rerum. Cupiditate nemo laudantium doloremque impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3755773533160c470000", "id"=>"53df3755773533160c480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c490000'), "name"=>"Else Jaskolski III", "reference"=>"Bartholome Cummerata", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c4a0000'), "author_name"=>"Guiseppe Rempel", "content"=>["Inventore dolore sequi voluptas voluptatibus ipsum dolor. Atque voluptatibus labore dolore facere consequatur cum. Aperiam explicabo nihil. Et sed provident rerum nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3755773533160c4a0000", "product_id"=>"53df3755773533160c490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c490000')} 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('53df3755773533160c490000'), "comments._id"=>BSON::ObjectId('53df3755773533160c4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Redirected to http://test.host/products/53df3755773533160c490000/comments/53df3755773533160c4a0000 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('53df3755773533160c4b0000'), "firstname"=>"Kiera", "lastname"=>"Bradtke"}] 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.2054ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms Redirected to http://test.host/admin/clients/53df3755773533160c4c0000 Completed 302 Found in 2ms 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('53df3755773533160c4d0000'), "firstname"=>"Eldridge", "lastname"=>"Klein"}] 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=>"clients", :query=>{}} runtime: 0.1943ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3755773533160c4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms 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.1914ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c4e0000'), "firstname"=>"Reagan", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3755773533160c4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c4e0000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c4f0000'), "firstname"=>"Trinity", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms Processing by Iord::GenericController#index as HTML MOPED: 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 9ms (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('53df3755773533160c500000'), "firstname"=>"Geraldine", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms 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('53df3755773533160c510000'), "firstname"=>"Sydni", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3755773533160c510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c520000'), "firstname"=>"Paige", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3755773533160c520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms Redirected to http://test.host/admin/clients/53df3755773533160c520000 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('53df3755773533160c530000'), "firstname"=>"Roberto", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms 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('53df3755773533160c540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms Redirected to http://test.host/clients/53df3755773533160c540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1880ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c550000'), "firstname"=>"Stephan", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1771ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3755773533160c550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c550000')} 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.1822ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3755773533160c560000'), "firstname"=>"Cora", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3755773533160c560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53df3755773533160c570000'), "firstname"=>"Mariam", "lastname"=>"Pfeffer"}] 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.3283ms 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('53df3755773533160c580000'), "firstname"=>"Ewell", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms 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('53df3755773533160c590000'), "firstname"=>"Dorothy", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3755773533160c590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms 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('53df3755773533160c5a0000'), "firstname"=>"Cortney", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3755773533160c5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3755773533160c5a0000')} 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('53df3755773533160c5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Redirected to http://test.host/clients/53df3755773533160c5a0000 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('53df3755773533160c5b0000'), "name"=>"Samson Wiegand", "reference"=>"Ms. Daisha Rodriguez", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c5c0000'), "firstname"=>"Devante", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3755773533160c5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4935ms Redirected to http://test.host/products/53df3755773533160c5b0000/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('53df3755773533160c5e0000'), "name"=>"Lonie Dickinson", "reference"=>"Vernice McKenzie", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c5f0000'), "firstname"=>"Lulu", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3755773533160c5f0000", "product_id"=>"53df3755773533160c5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3927ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 32ms (Views: 30.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c600000'), "name"=>"Nestor Harber III", "reference"=>"Maribel Barrows", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c610000'), "firstname"=>"Magnolia", "lastname"=>"Schaden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5780ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3755773533160c600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c620000'), "name"=>"Mr. Kelton Jones", "reference"=>"Ezra Veum", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c630000'), "firstname"=>"Afton", "lastname"=>"Morar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3755773533160c630000", "product_id"=>"53df3755773533160c620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms Completed 200 OK in 7ms (Views: 4.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c640000'), "name"=>"Vance Weissnat", "reference"=>"Guillermo Ernser", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3755773533160c650000'), "firstname"=>"Monica", "lastname"=>"Crooks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3755773533160c650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3755773533160c640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms Unpermitted parameters: name Redirected to http://test.host/products/53df3755773533160c640000/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('53df3755773533160c660000'), "name"=>"Bulah Turner", "reference"=>"Jaclyn Prosacco", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2809ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2326ms 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('53df3755773533160c670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms Redirected to http://test.host/products/53df3755773533160c670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2610ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c680000'), "name"=>"Shyann Feest", "reference"=>"Asia Zboncak", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2079ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3755773533160c680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c680000')} 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.1951ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c690000'), "name"=>"Hadley Bashirian", "reference"=>"Carmela Reichert", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3755773533160c690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c690000')} 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.2ms) Completed 200 OK in 7ms (Views: 6.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c6a0000'), "name"=>"Jaydon Smith", "reference"=>"Sherwood Hodkiewicz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms 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.6816ms Completed 200 OK in 18ms (Views: 17.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c6b0000'), "name"=>"Marc Champlin II", "reference"=>"Rowland Champlin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms 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.6405ms 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('53df3755773533160c6c0000'), "name"=>"Mrs. Jaqueline O'Conner", "reference"=>"Dr. Rowena Marks", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3755773533160c6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms 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('53df3755773533160c6d0000'), "name"=>"Katherine Rogahn PhD", "reference"=>"Kaci Senger I", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c6f0000'), "name"=>"Grayson Walker DVM", "reference"=>"Mr. Flavio Mohr", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3755773533160c6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c700000'), "name"=>"Johan Daugherty", "reference"=>"Vida Breitenberg Sr.", "quantity"=>"1"}] 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.1988ms 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('53df3755773533160c710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms Completed 201 Created in 27ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2039ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c720000'), "name"=>"Samanta Reinger", "reference"=>"Orion Goldner PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1361ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3755773533160c720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms 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('53df3755773533160c730000'), "name"=>"Litzy McCullough", "reference"=>"Easton Keebler", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms 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('53df3755773533160c750000'), "name"=>"Susie Quitzon", "reference"=>"Dariana Rohan", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3755773533160c750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c750000')} 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('53df3755773533160c760000'), "name"=>"Vena Block", "reference"=>"Augustine Kreiger", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3755773533160c760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c760000')} 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('53df3755773533160c760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms Redirected to http://test.host/products/53df3755773533160c760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c790000'), "name"=>"Chandler Legros", "reference"=>"Jerel Lockman", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c770000'), "author_name"=>"Darrell Leffler Jr.", "content"=>["Omnis vel iste asperiores modi nulla officia. Nostrum sed veritatis qui voluptates. Libero vero et saepe sequi omnis assumenda. Incidunt ad nisi atque. Vel rerum sed dolor."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c780000'), "author_name"=>"Abdul Pfannerstill III", "content"=>["Eos dicta sed. Ut sit aut placeat velit odit iusto error. Consectetur itaque aut amet. Est qui exercitationem ratione deleniti sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3755773533160c790000", "comment_id"=>"53df3755773533160c770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c790000'), "comments._id"=>BSON::ObjectId('53df3755773533160c770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms Redirected to http://test.host/products/53df3755773533160c790000/comments/53df3755773533160c770000/comments/53df3755773533160c7a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c7d0000'), "name"=>"Stephon Kovacek", "reference"=>"Lenora Kohler", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c7b0000'), "author_name"=>"Mrs. Margret Runolfsdottir", "content"=>["Rerum quos voluptas vel unde mollitia. Repellendus non sunt. Sunt facere explicabo a minus beatae eos. Nisi rerum fuga."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c7c0000'), "author_name"=>"Rollin Paucek", "content"=>["Quia consectetur iste reiciendis. Earum sapiente blanditiis occaecati eum molestiae. Quae quia ut neque aliquid. Aut voluptate enim suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3755773533160c7d0000", "comment_id"=>"53df3755773533160c7b0000", "id"=>"53df3755773533160c7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c7d0000')} 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('53df3755773533160c7d0000'), "comments._id"=>BSON::ObjectId('53df3755773533160c7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3755773533160c7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms Redirected to http://test.host/products/53df3755773533160c7d0000/comments/53df3755773533160c7b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c800000'), "name"=>"Osvaldo Witting V", "reference"=>"Brice Mitchell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c7e0000'), "author_name"=>"Margarette VonRueden", "content"=>["Culpa velit molestiae ipsa velit. Dolore officiis autem consequatur. Quisquam reiciendis occaecati nihil natus dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c7f0000'), "author_name"=>"Urban Hoppe", "content"=>["Sit ex est. Sed accusantium veniam voluptatum. Sapiente error enim voluptatibus vel. Sequi quis voluptatem eaque asperiores et rerum sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3755773533160c800000", "comment_id"=>"53df3755773533160c7e0000", "id"=>"53df3755773533160c7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c830000'), "name"=>"Jeremie Mann", "reference"=>"Josie Ritchie", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c810000'), "author_name"=>"Buck Nienow", "content"=>["Rerum consequatur voluptatum ducimus sit sed numquam non. Corrupti quae placeat qui. Nobis eos harum assumenda ullam omnis earum sint. Odit ipsum impedit non eum placeat."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c820000'), "author_name"=>"Kallie Kovacek", "content"=>["Ut aliquid dignissimos laboriosam. Dolore voluptatem iure est quia. Et reiciendis natus commodi veniam illo voluptatem. Deserunt molestiae optio deleniti reprehenderit. Repellat voluptate iure atque est sit aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3755773533160c830000", "comment_id"=>"53df3755773533160c810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c860000'), "name"=>"Mrs. Dion Koelpin", "reference"=>"Mr. Aurelia Ledner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c840000'), "author_name"=>"Myrtle Johnston", "content"=>["Saepe eos non quisquam voluptatem iste. Saepe omnis aspernatur a qui. Et porro molestias sint iusto est. Labore exercitationem quae error voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c850000'), "author_name"=>"Laverna Sawayn I", "content"=>["Dolores amet debitis enim vel. Quaerat non porro consequatur. Reprehenderit occaecati aperiam et voluptatum dolore quas deserunt. Reprehenderit est modi architecto autem amet voluptatum quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3755773533160c860000", "comment_id"=>"53df3755773533160c840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c890000'), "name"=>"Cordia Schoen", "reference"=>"Naomie Jacobi", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c870000'), "author_name"=>"Treva Smitham", "content"=>["Et quas sed eum ipsam minima. Non voluptatem aut vel deserunt dolores fuga at. Aliquid error quas. Dolores et expedita."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c880000'), "author_name"=>"Darrin Frami", "content"=>["Odit officiis consequatur velit ullam et et. Ullam non at doloribus autem quos. Ullam vero libero. Atque fuga et unde non aut ratione cum. Ut nisi qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3755773533160c890000", "comment_id"=>"53df3755773533160c870000", "id"=>"53df3755773533160c880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c8c0000'), "name"=>"Rex Pagac DVM", "reference"=>"Layla Bradtke V", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c8a0000'), "author_name"=>"Evan Lang", "content"=>["Quo quam magni perferendis odio qui facilis autem. Hic rerum non voluptatem. Itaque ipsa ducimus. Reiciendis est culpa ratione nesciunt dicta aut molestiae. Maxime doloremque et et nihil nam."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c8b0000'), "author_name"=>"Ms. Herminia Bayer", "content"=>["Eos reprehenderit perspiciatis aut quia ducimus omnis. Enim natus voluptatum quia veniam nobis. Voluptas itaque est optio ut et sint. Doloribus et omnis nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3755773533160c8c0000", "comment_id"=>"53df3755773533160c8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3755773533160c8f0000'), "name"=>"Kyleigh Kreiger", "reference"=>"Lucious Huel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c8d0000'), "author_name"=>"Waylon Boyle", "content"=>["Saepe minus nisi non sed similique. Maiores tempora eos et voluptas provident. Voluptas voluptatem fugiat molestias aut nulla non. Voluptatem eos ullam nobis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3755773533160c8e0000'), "author_name"=>"Kaelyn Bins DDS", "content"=>["Delectus exercitationem optio rerum ex. Unde numquam ullam repudiandae culpa et. Aut impedit natus. Quo sapiente perferendis commodi sed animi. Earum repellat in ut iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3755773533160c8f0000", "comment_id"=>"53df3755773533160c8d0000", "id"=>"53df3755773533160c8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3755773533160c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3756773533160c920000'), "name"=>"Joaquin Champlin", "reference"=>"Kip Vandervort", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3756773533160c900000'), "author_name"=>"Miss Lavada Senger", "content"=>["Et possimus repellendus eligendi. Blanditiis ut maiores necessitatibus repellendus mollitia eveniet. Culpa dicta molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df3756773533160c910000'), "author_name"=>"Sabryna Gleichner", "content"=>["Consectetur quis ab cumque est. Aspernatur ea ducimus et. Voluptate nisi magnam doloribus saepe tenetur quis. Nam nihil deserunt aut fuga nostrum velit. Ipsa cupiditate rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3756773533160c910000", "product_id"=>"53df3756773533160c920000", "comment_id"=>"53df3756773533160c900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3756773533160c920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3756773533160c920000'), "comments._id"=>BSON::ObjectId('53df3756773533160c900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3756773533160c910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Redirected to http://test.host/products/53df3756773533160c920000/comments/53df3756773533160c900000/comments/53df3756773533160c910000 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('53df3756773533160c930000'), "firstname"=>"Jody", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms 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('53df3756773533160c940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/users/53df3756773533160c940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1618ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3756773533160c950000'), "firstname"=>"Kassandra", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1415ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3756773533160c950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3756773533160c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3756773533160c950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms 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.1420ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3756773533160c960000'), "firstname"=>"Mireya", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3756773533160c960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3756773533160c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3756773533160c970000'), "firstname"=>"Yadira", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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.3831ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3756773533160c980000'), "firstname"=>"Elian", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df3756773533160c990000'), "firstname"=>"Jeffrey", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3756773533160c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3756773533160c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms 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('53df3756773533160c9a0000'), "firstname"=>"Deangelo", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3756773533160c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3756773533160c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms Unpermitted parameters: name Redirected to http://test.host/users/53df3756773533160c9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4635ms 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 MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6753ms 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.3958ms 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.3951ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639000000'), "firstname"=>"Keshawn", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5705ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1873ms 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('53df377a7735331639010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5416ms 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.2512ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639020000'), "firstname"=>"Damien", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df377a7735331639020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 47ms (Views: 45.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639030000'), "firstname"=>"Julie", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639040000'), "firstname"=>"Idell", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df377a7735331639040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639050000'), "firstname"=>"Syble", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df377a7735331639050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms 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('53df377a7735331639060000'), "name"=>"Rubye Feeney", "reference"=>"Josefa Bergstrom", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639070000'), "author_name"=>"Vernice Casper", "content"=>["Minima earum quidem quam dolor in quia. Nobis soluta et minima. Expedita rerum magnam. Ut cumque facilis tempora id. Ut voluptatem dolorem consequatur placeat aut qui eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df377a7735331639060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df377a7735331639080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms Redirected to http://test.host/admin/products/53df377a7735331639060000/comments/53df377a7735331639080000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639090000'), "name"=>"Imogene Gerhold", "reference"=>"Isaac Jakubowski", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316390a0000'), "author_name"=>"Mr. Moses Schimmel", "content"=>["Vel voluptatibus et dolores laboriosam quos consequatur quis. Similique fugit non qui quis cum eum. Fugiat sunt ratione velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df377a7735331639090000", "id"=>"53df377a77353316390a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df377a77353316390a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1003ms Redirected to http://test.host/admin/products/53df377a7735331639090000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316390b0000'), "name"=>"Miss Frieda Kling", "reference"=>"Cassidy Hessel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316390c0000'), "author_name"=>"Westley Harris", "content"=>["Facilis iusto et corrupti. Aut aut expedita asperiores aliquam aut qui magnam. Quae natus incidunt dolore atque. Architecto eum aut eum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df377a77353316390b0000", "id"=>"53df377a77353316390c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316390b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316390d0000'), "name"=>"Diego McDermott", "reference"=>"Dr. Brenna Wunsch", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316390e0000'), "author_name"=>"Randi Wilkinson", "content"=>["Nesciunt autem aut quibusdam repellat laudantium minima. Tempore voluptates debitis id suscipit maxime. Velit id eum aperiam cumque ullam ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df377a77353316390d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316390d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316390f0000'), "name"=>"Millie Schaden", "reference"=>"Bridie Sipes", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639100000'), "author_name"=>"Kiana Wolff PhD", "content"=>["Mollitia porro non sit omnis. Distinctio libero quia est quam provident consequatur laudantium. Exercitationem voluptas id. Esse qui quidem voluptate cum dolores consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df377a77353316390f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316390f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639110000'), "name"=>"Jordi Mraz", "reference"=>"Alexane Hilll", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639120000'), "author_name"=>"Darlene Moen", "content"=>["Aliquam sint sint qui omnis laboriosam quis. Aut exercitationem voluptatibus rem nulla et laborum. Laborum perferendis repellat quas. Doloribus et soluta dolorem quia rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df377a7735331639110000", "id"=>"53df377a7735331639120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639130000'), "name"=>"Icie Johnson", "reference"=>"Ms. Kaelyn Hermiston", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639140000'), "author_name"=>"Aisha Homenick", "content"=>["Provident neque necessitatibus corrupti dolores vitae. Corporis ut illo ullam quo natus temporibus. Voluptatem temporibus alias architecto delectus excepturi laboriosam aperiam. Aspernatur eligendi ea qui sed illum aut et. Ea nihil asperiores aliquid tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df377a7735331639140000", "product_id"=>"53df377a7735331639130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639130000'), "comments._id"=>BSON::ObjectId('53df377a7735331639140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5455ms Redirected to http://test.host/admin/products/53df377a7735331639130000/comments/53df377a7735331639140000 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('53df377a7735331639150000'), "name"=>"Ramiro Krajcik", "reference"=>"Moses Legros", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df377a7735331639160000'), "firstname"=>"Ansel", "lastname"=>"Schimmel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df377a7735331639150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639150000')} 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('53df377a7735331639150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df377a7735331639170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms Redirected to http://test.host/admin/products/53df377a7735331639150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639180000'), "name"=>"Ervin Sauer I", "reference"=>"Geovanny Bednar", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df377a7735331639190000'), "firstname"=>"Earline", "lastname"=>"Barrows"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df377a7735331639190000", "product_id"=>"53df377a7735331639180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316391a0000'), "name"=>"Celine Daniel I", "reference"=>"Ivah Heaney II", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df377a77353316391b0000'), "firstname"=>"Howell", "lastname"=>"Durgan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df377a77353316391a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316391a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316391c0000'), "name"=>"Fanny Runolfsson II", "reference"=>"Shaniya Zieme DDS", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df377a77353316391d0000'), "firstname"=>"Presley", "lastname"=>"Hickle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df377a77353316391d0000", "product_id"=>"53df377a77353316391c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316391c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316391e0000'), "name"=>"Raphael Hegmann", "reference"=>"Fidel Wiegand", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df377a77353316391f0000'), "firstname"=>"Maximo", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df377a77353316391f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df377a77353316391e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316391e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df377a77353316391e0000/manager 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('53df377a7735331639200000'), "name"=>"Mya Padberg DDS", "reference"=>"Tianna Streich", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1303ms 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('53df377a7735331639210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms Redirected to http://test.host/admin/products/53df377a7735331639210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1502ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639220000'), "name"=>"Raphaelle Murphy", "reference"=>"Lowell Maggio", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1251ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df377a7735331639220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms 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.1431ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639230000'), "name"=>"Cali Hermann", "reference"=>"Marisa Cruickshank MD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df377a7735331639230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.9ms) Completed 200 OK in 37ms (Views: 36.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639240000'), "name"=>"Johan Howe", "reference"=>"Sim Mertz", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms 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.4904ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639250000'), "name"=>"Antonette Flatley", "reference"=>"Amaya Haley", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df377a7735331639280000'), "name"=>"Kelsie Bashirian PhD", "reference"=>"Elias Jacobi", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df377a7735331639280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms 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('53df377a7735331639290000'), "name"=>"Camron Hoeger", "reference"=>"Joshuah Schaefer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df377a7735331639290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms Redirected to http://test.host/admin/products/53df377a7735331639290000 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('53df377a77353316392a0000'), "firstname"=>"Sage", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1329ms 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('53df377a77353316392b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms Redirected to http://test.host/admin/users/53df377a77353316392b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1486ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377a77353316392c0000'), "firstname"=>"Esmeralda", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1245ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df377a77353316392c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377a77353316392c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2046ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377a77353316392c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms 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.1384ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377a77353316392d0000'), "firstname"=>"Emiliano", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df377a77353316392d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377a77353316392d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377a77353316392e0000'), "firstname"=>"Shemar", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms 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.3034ms 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('53df377a77353316392f0000'), "firstname"=>"Alanna", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms 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('53df377a7735331639300000'), "firstname"=>"Rocky", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df377a7735331639300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377a7735331639300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377a7735331639310000'), "firstname"=>"Lavon", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df377a7735331639310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377a7735331639310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df377a7735331639310000 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('53df377a7735331639320000'), "firstname"=>"Webster", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1761ms 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('53df377a7735331639330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms 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.3009ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639340000'), "firstname"=>"Hortense", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df377a7735331639340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639350000'), "firstname"=>"Naomie", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.4ms) Completed 200 OK in 35ms (Views: 34.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639360000'), "firstname"=>"Elliott", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4743ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df377a7735331639360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4348ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df377a7735331639370000'), "firstname"=>"Ines", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df377a7735331639370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df377a7735331639370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms 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('53df377a7735331639380000'), "name"=>"Tabitha Weber", "reference"=>"Mr. Bettie Ankunding", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639390000'), "author_name"=>"Moses Nitzsche II", "content"=>["Et explicabo dicta cum facere. Est molestiae culpa sed non saepe qui at. Totam unde enim ut velit minus itaque. Earum magni et qui. Non omnis fugiat voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df377a7735331639380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639380000')} 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('53df377a7735331639380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df377a77353316393a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Redirected to http://test.host/products/53df377a7735331639380000/comments/53df377a77353316393a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316393b0000'), "name"=>"Cheyenne Spinka", "reference"=>"Dashawn McCullough II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316393c0000'), "author_name"=>"Sincere Murray", "content"=>["Aut cum dicta ducimus voluptas assumenda mollitia. Qui occaecati consequuntur dolorem cupiditate placeat voluptas. Ipsa eos et occaecati qui et facilis amet. Dicta dolore eum alias."]}]}] 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('53df377a77353316393b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df377a77353316393b0000", "id"=>"53df377a77353316393c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316393b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316393b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df377a77353316393c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5252ms Redirected to http://test.host/products/53df377a77353316393b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316393b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316393d0000'), "name"=>"Brittany Gottlieb", "reference"=>"Ms. Weldon Dicki", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316393e0000'), "author_name"=>"Vidal Donnelly", "content"=>["Repellat sint minima nisi et quod pariatur. Enim autem odio rem. Totam est eum ad eos perferendis quasi a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df377a77353316393d0000", "id"=>"53df377a77353316393e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316393d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a77353316393f0000'), "name"=>"Will Bashirian", "reference"=>"Mina Robel Jr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639400000'), "author_name"=>"Dora Roberts", "content"=>["Asperiores reiciendis est. Perferendis et soluta illum sit. Nisi ut est aut. Veniam maiores eius voluptate commodi quibusdam corporis est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df377a77353316393f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a77353316393f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4069ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639410000'), "name"=>"Nicholaus Little", "reference"=>"Miss Kennedy Fahey", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639420000'), "author_name"=>"Miss Nicole Hills", "content"=>["Quos consequatur fugiat qui. Deserunt quidem aspernatur labore iure. Consequatur iste dolorem enim ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df377a7735331639410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639430000'), "name"=>"Amely Stracke", "reference"=>"Macy Carroll V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639440000'), "author_name"=>"Maybelle Doyle", "content"=>["Recusandae ut debitis maxime excepturi voluptate consequuntur. Quis consequatur doloribus aliquid sed maiores. Fugit corrupti sit. Est nam animi et vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5500ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df377a7735331639430000", "id"=>"53df377a7735331639440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4167ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639450000'), "name"=>"Barry Kling", "reference"=>"Katelynn Strosin", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639460000'), "author_name"=>"Bulah Jacobi", "content"=>["Sit et eum architecto at nobis. Perspiciatis molestiae iste illo adipisci vitae et ipsa. Officia officiis eos distinctio eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df377a7735331639450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4059ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639470000'), "name"=>"Maudie Hansen", "reference"=>"Peter Schmitt", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377a7735331639480000'), "author_name"=>"Ellen Champlin", "content"=>["At veritatis sit repudiandae et. Cum rerum sunt ab quae est occaecati repellat. Sit neque eum quis qui ut autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df377a7735331639470000", "id"=>"53df377a7735331639480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4063ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377a7735331639490000'), "name"=>"Imelda Hauck", "reference"=>"Leopoldo Dooley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df377a77353316394a0000'), "author_name"=>"Zora Lockman V", "content"=>["Dolor sunt quo consequatur neque aut. A voluptates ab numquam magni vero aspernatur. Est id ut et voluptatem. Placeat magnam aut itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df377a77353316394a0000", "product_id"=>"53df377a7735331639490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377a7735331639490000'), "comments._id"=>BSON::ObjectId('53df377a77353316394a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7196ms Redirected to http://test.host/products/53df377a7735331639490000/comments/53df377a77353316394a0000 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('53df377a77353316394b0000'), "firstname"=>"Robert", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5996ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2951ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377a77353316394c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms Redirected to http://test.host/admin/clients/53df377a77353316394c0000 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('53df377a77353316394d0000'), "firstname"=>"Tianna", "lastname"=>"Hills"}] 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=>"clients", :query=>{}} runtime: 0.2907ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df377a77353316394d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377a77353316394d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377a77353316394d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms 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.2291ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377a77353316394e0000'), "firstname"=>"Alia", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df377a77353316394e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377a77353316394e0000')} 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.7ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b77353316394f0000'), "firstname"=>"Mya", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms Completed 200 OK in 38ms (Views: 37.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639500000'), "firstname"=>"Clinton", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms 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.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639510000'), "firstname"=>"Mikel", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df377b7735331639510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639520000'), "firstname"=>"Candace", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df377b7735331639520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms Redirected to http://test.host/admin/clients/53df377b7735331639520000 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('53df377b7735331639530000'), "firstname"=>"Edgar", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1714ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms Redirected to http://test.host/clients/53df377b7735331639540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1904ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639550000'), "firstname"=>"Mina", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1805ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df377b7735331639550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639550000')} 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('53df377b7735331639550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms 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.1786ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639560000'), "firstname"=>"Breanne", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df377b7735331639560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms 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_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df377b7735331639570000'), "firstname"=>"Donavon", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms 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('53df377b7735331639580000'), "firstname"=>"Heloise", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms 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('53df377b7735331639590000'), "firstname"=>"Cielo", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df377b7735331639590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b7735331639590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms 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('53df377b77353316395a0000'), "firstname"=>"Jessy", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df377b77353316395a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b77353316395a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df377b77353316395a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms Redirected to http://test.host/clients/53df377b77353316395a0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316395b0000'), "name"=>"Mr. Theo Feeney", "reference"=>"Collin Schiller", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df377b77353316395c0000'), "firstname"=>"Maia", "lastname"=>"Greenholt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df377b77353316395b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316395b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316395b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316395b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df377b77353316395d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms Redirected to http://test.host/products/53df377b77353316395b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316395e0000'), "name"=>"Jade Altenwerth DDS", "reference"=>"Ewald Wolff II", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df377b77353316395f0000'), "firstname"=>"Gayle", "lastname"=>"Bednar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df377b77353316395f0000", "product_id"=>"53df377b77353316395e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316395e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639600000'), "name"=>"Xander Lockman", "reference"=>"Vilma Kuhic", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df377b7735331639610000'), "firstname"=>"Junius", "lastname"=>"Dicki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df377b7735331639600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4666ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 30ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639620000'), "name"=>"Claudie Fadel IV", "reference"=>"Tina Heller", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df377b7735331639630000'), "firstname"=>"Dorris", "lastname"=>"Kerluke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df377b7735331639630000", "product_id"=>"53df377b7735331639620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Completed 200 OK in 36ms (Views: 34.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639640000'), "name"=>"Leslie Greenfelder", "reference"=>"Micheal Connelly", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df377b7735331639650000'), "firstname"=>"Amanda", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df377b7735331639650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df377b7735331639640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Unpermitted parameters: name Redirected to http://test.host/products/53df377b7735331639640000/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('53df377b7735331639660000'), "name"=>"Trey Schuppe", "reference"=>"Macy Price", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6182ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3063ms 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('53df377b7735331639670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5037ms Redirected to http://test.host/products/53df377b7735331639670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3260ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639680000'), "name"=>"Owen Dibbert DVM", "reference"=>"Bridgette Mann II", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.2851ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df377b7735331639680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms 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.3048ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639690000'), "name"=>"Jeremie Wyman", "reference"=>"Keely Luettgen", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df377b7735331639690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316396a0000'), "name"=>"Jermain Schoen", "reference"=>"Myrtle O'Hara I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6023ms 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.7965ms Completed 200 OK in 19ms (Views: 18.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316396b0000'), "name"=>"Luther Gaylord IV", "reference"=>"Cade Stoltenberg", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms 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.7325ms 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('53df377b77353316396c0000'), "name"=>"Ollie Kling", "reference"=>"Millie Kihn", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df377b77353316396c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316396c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms 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('53df377b77353316396d0000'), "name"=>"Sonya Schimmel", "reference"=>"Mr. Elliott Wiegand", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2379ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df377b77353316396f0000'), "name"=>"Forrest Ward", "reference"=>"Mya Feest", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df377b77353316396f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316396f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4288ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639700000'), "name"=>"Elenor Davis", "reference"=>"Johanna Mertz", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2977ms 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('53df377b7735331639710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3081ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639720000'), "name"=>"Eulah Ferry", "reference"=>"Brendon Kunde Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df377b7735331639720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4572ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms 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('53df377b7735331639730000'), "name"=>"Dale Wolf", "reference"=>"Khalil Pollich DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms 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('53df377b7735331639750000'), "name"=>"Hiram Ratke", "reference"=>"Rashawn Pfeffer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df377b7735331639750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms 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('53df377b7735331639760000'), "name"=>"Katelyn Cronin", "reference"=>"Kristofer Konopelski", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df377b7735331639760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Redirected to http://test.host/products/53df377b7735331639760000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639790000'), "name"=>"Trycia Franecki PhD", "reference"=>"Lincoln Dibbert", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639770000'), "author_name"=>"Katarina Satterfield", "content"=>["Dolorum consequuntur temporibus eos et inventore. Sed est consequatur qui incidunt quae. Eligendi unde eaque aliquam iste. Aut ipsum praesentium velit porro molestiae labore saepe. Aut et officia maiores ratione nobis ullam totam."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639780000'), "author_name"=>"Keagan Shields", "content"=>["Sit a nostrum non sint. Architecto repellendus perspiciatis excepturi id aut nostrum. Ut illo asperiores. Minima fugit quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df377b7735331639790000", "comment_id"=>"53df377b7735331639770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3927ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639790000'), "comments._id"=>BSON::ObjectId('53df377b7735331639770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df377b77353316397a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms Redirected to http://test.host/products/53df377b7735331639790000/comments/53df377b7735331639770000/comments/53df377b77353316397a0000 Completed 302 Found in 36ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316397d0000'), "name"=>"Danielle Streich", "reference"=>"Miss Erna Abernathy", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316397b0000'), "author_name"=>"Brendon Miller PhD", "content"=>["Nostrum rerum sit. Et laborum vitae quibusdam quo. Laudantium inventore nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316397c0000'), "author_name"=>"Monserrate Trantow II", "content"=>["Porro reiciendis omnis aut natus. Eligendi culpa doloribus consequatur ut sapiente omnis voluptas. Accusamus numquam placeat qui hic dolores accusantium. Molestias cupiditate voluptatibus qui officiis quam non soluta. Commodi quisquam dicta ab esse itaque quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316397d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df377b77353316397d0000", "comment_id"=>"53df377b77353316397b0000", "id"=>"53df377b77353316397c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316397d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316397d0000'), "comments._id"=>BSON::ObjectId('53df377b77353316397b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df377b77353316397c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms Redirected to http://test.host/products/53df377b77353316397d0000/comments/53df377b77353316397b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316397d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639800000'), "name"=>"Margot Tromp", "reference"=>"Delilah Zulauf", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316397e0000'), "author_name"=>"Julian Schuster V", "content"=>["Sint quae voluptatem quibusdam repellendus dolores natus vero. Et est rem enim et. Nihil occaecati enim. Deserunt in alias recusandae hic sunt facilis id. Id necessitatibus illum consequatur qui sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316397f0000'), "author_name"=>"Brayan Herzog", "content"=>["Ad aut exercitationem porro. Sit accusantium eaque at dolorem culpa cum molestiae. Cumque quo esse temporibus tempora qui quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df377b7735331639800000", "comment_id"=>"53df377b77353316397e0000", "id"=>"53df377b77353316397f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639800000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639830000'), "name"=>"Mrs. Gilda Wilkinson", "reference"=>"Jayden Zboncak DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639810000'), "author_name"=>"Ilene Metz", "content"=>["Dignissimos enim repellendus eius. Qui voluptatem eum eaque id ratione. Eos iste quia iure. Itaque temporibus consequatur voluptas quae."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639820000'), "author_name"=>"Estefania Mertz", "content"=>["Fuga eum esse enim laborum quia. Minus rem dignissimos laborum qui illo earum. Est autem laudantium. Et iure dignissimos ut aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df377b7735331639830000", "comment_id"=>"53df377b7735331639810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639860000'), "name"=>"Aletha Medhurst", "reference"=>"Etha Toy", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639840000'), "author_name"=>"Danny Bernier", "content"=>["Sint corrupti vero magni beatae. Sapiente omnis quis est in laboriosam. Laudantium quas aut consequuntur explicabo provident consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639850000'), "author_name"=>"Kiley Rath III", "content"=>["Pariatur porro itaque sed velit. Sint aperiam aliquam qui aspernatur. Omnis pariatur amet vel sit dolorum deleniti. Voluptatem itaque eveniet omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df377b7735331639860000", "comment_id"=>"53df377b7735331639840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639890000'), "name"=>"Theodore Corkery", "reference"=>"Maryse Rice", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639870000'), "author_name"=>"Maggie Zboncak", "content"=>["Quia molestiae fuga recusandae dolorem. Ut est dolore nam voluptatem eveniet. Tempora est repellendus fuga occaecati iure consectetur aliquid. Totam ratione quod omnis nemo laboriosam aut. Ipsa dolorem minus."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639880000'), "author_name"=>"Elvis Zieme", "content"=>["Et quo in est sint error. Molestiae exercitationem ipsum et sed eius. Mollitia corporis esse quas. Est perferendis nemo dignissimos in consequuntur omnis iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df377b7735331639890000", "comment_id"=>"53df377b7735331639870000", "id"=>"53df377b7735331639880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316398c0000'), "name"=>"Jessyca Leffler", "reference"=>"Roderick Ziemann IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316398a0000'), "author_name"=>"Neva Wolff II", "content"=>["Cumque sed suscipit aspernatur odit. Ullam accusamus qui nemo consequatur tempore quidem. Asperiores ea culpa ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316398b0000'), "author_name"=>"Wayne Stiedemann", "content"=>["Quia laborum ratione ex. Officiis cum minus numquam modi repellat. Sit nihil animi rerum tenetur. Ut repellat quae. Recusandae nostrum fugiat dolorem inventore quo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df377b77353316398c0000", "comment_id"=>"53df377b77353316398a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316398c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b77353316398f0000'), "name"=>"Elyssa Larson", "reference"=>"Rogelio Kohler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316398d0000'), "author_name"=>"Linnie Stanton", "content"=>["Sapiente amet dolor omnis dolorum dolore. Iusto sed et laudantium sit ut. Qui hic voluptatem necessitatibus est modi tempore minima. Accusantium dignissimos modi nulla sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b77353316398e0000'), "author_name"=>"Mertie Grant", "content"=>["Necessitatibus magni et consectetur ipsum aspernatur totam laborum. Quo iusto consectetur ut distinctio quis aut. Ea at in est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df377b77353316398f0000", "comment_id"=>"53df377b77353316398d0000", "id"=>"53df377b77353316398e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b77353316398f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df377b7735331639920000'), "name"=>"Olaf Quitzon MD", "reference"=>"Baylee Toy Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639900000'), "author_name"=>"Werner Balistreri III", "content"=>["Magnam quae officiis nostrum ut at ut corrupti. Sint ea voluptatem aperiam. Placeat omnis sit cumque sit harum quam. Aspernatur nobis quas aut aut quis aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df377b7735331639910000'), "author_name"=>"Ewell Herzog", "content"=>["Ratione et minus nesciunt in doloribus ut. Quaerat numquam minima itaque natus libero. Itaque et cumque aperiam iure reprehenderit incidunt dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df377b7735331639910000", "product_id"=>"53df377b7735331639920000", "comment_id"=>"53df377b7735331639900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df377b7735331639920000')} 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('53df377b7735331639920000'), "comments._id"=>BSON::ObjectId('53df377b7735331639900000'), "comments.0.comments._id"=>BSON::ObjectId('53df377b7735331639910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Redirected to http://test.host/products/53df377b7735331639920000/comments/53df377b7735331639900000/comments/53df377b7735331639910000 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('53df377b7735331639930000'), "firstname"=>"Jace", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1462ms 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('53df377b7735331639940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms Redirected to http://test.host/users/53df377b7735331639940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1510ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377b7735331639950000'), "firstname"=>"Garnet", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1701ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df377b7735331639950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377b7735331639950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377b7735331639950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8540ms 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.1688ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377b7735331639960000'), "firstname"=>"Christy", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df377b7735331639960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377b7735331639960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.8ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377b7735331639970000'), "firstname"=>"Casey", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms 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.3401ms Completed 200 OK in 33ms (Views: 32.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377b7735331639980000'), "firstname"=>"Johathan", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df377b7735331639990000'), "firstname"=>"Obie", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df377b7735331639990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377b7735331639990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms 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('53df377b77353316399a0000'), "firstname"=>"Rosella", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df377b77353316399a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df377b77353316399a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms Unpermitted parameters: name Redirected to http://test.host/users/53df377b77353316399a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms 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.3721ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms 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.3218ms 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.3190ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c000000'), "firstname"=>"Dudley", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4990ms 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('53df37bc773533166c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5009ms 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.1565ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c020000'), "firstname"=>"Jaclyn", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df37bc773533166c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bc773533166c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 46ms (Views: 45.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c030000'), "firstname"=>"Ford", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c040000'), "firstname"=>"Dino", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df37bc773533166c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bc773533166c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c050000'), "firstname"=>"Alfonzo", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.4390ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df37bc773533166c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bc773533166c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms 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('53df37bc773533166c060000'), "name"=>"Miss Helene Jakubowski", "reference"=>"Raleigh Torp", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c070000'), "author_name"=>"Sherwood Lueilwitz", "content"=>["Consequatur quae ducimus dignissimos ut omnis labore. Laudantium et temporibus omnis. Sed consequuntur rerum inventore non qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37bc773533166c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37bc773533166c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms Redirected to http://test.host/admin/products/53df37bc773533166c060000/comments/53df37bc773533166c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c090000'), "name"=>"Ms. Orlando Krajcik", "reference"=>"Brenda Rippin PhD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c0a0000'), "author_name"=>"Joy Olson", "content"=>["Incidunt ad necessitatibus magnam quo velit. Alias veritatis ea eaque ea laborum. Nihil nobis et vel dolore non molestiae. Nihil perferendis ut rerum laborum beatae. Officia ut repudiandae harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.9705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df37bc773533166c090000", "id"=>"53df37bc773533166c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37bc773533166c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Redirected to http://test.host/admin/products/53df37bc773533166c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c0b0000'), "name"=>"Marie Rempel DVM", "reference"=>"Liana Roob DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c0c0000'), "author_name"=>"Fern Kuphal V", "content"=>["Eum quia cum dolorem. Reiciendis ut quam voluptates nemo. Quae et suscipit dignissimos ea asperiores. Illo necessitatibus et ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df37bc773533166c0b0000", "id"=>"53df37bc773533166c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c0d0000'), "name"=>"Gaston Crooks", "reference"=>"Albina Miller", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c0e0000'), "author_name"=>"Harmon Cassin DDS", "content"=>["Et a consequatur iste et. Dolores facere beatae. Vel odio exercitationem minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df37bc773533166c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c0f0000'), "name"=>"Piper Lubowitz", "reference"=>"Cassandre Bergnaum", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c100000'), "author_name"=>"Jerry Langosh", "content"=>["Qui voluptatem placeat. Aliquid et ad autem recusandae et quia beatae. Sed est ut voluptatum ut aperiam corrupti. Est nostrum illo perferendis consequatur ad et eius. Tempora amet et eum ut ut ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df37bc773533166c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c110000'), "name"=>"Adan Dach", "reference"=>"Rigoberto Kuphal", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c120000'), "author_name"=>"Vada Daugherty", "content"=>["Amet velit quasi est illo aut error. Et fugit eaque suscipit consequatur. Voluptatibus rem placeat quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df37bc773533166c110000", "id"=>"53df37bc773533166c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c130000'), "name"=>"Dr. Diego Frami", "reference"=>"Mrs. Kailyn Renner", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df37bc773533166c140000'), "author_name"=>"Edwardo Lueilwitz IV", "content"=>["Sed blanditiis illo impedit vel quas. Assumenda autem quia consequuntur dignissimos ut sed deleniti. Et excepturi incidunt quis ipsum nesciunt autem. Quo assumenda non dolorum ea et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37bc773533166c140000", "product_id"=>"53df37bc773533166c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c130000'), "comments._id"=>BSON::ObjectId('53df37bc773533166c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Redirected to http://test.host/admin/products/53df37bc773533166c130000/comments/53df37bc773533166c140000 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('53df37bc773533166c150000'), "name"=>"Deanna Shanahan", "reference"=>"Lizzie Lebsack MD", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c160000'), "firstname"=>"Humberto", "lastname"=>"Jacobs"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df37bc773533166c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Redirected to http://test.host/admin/products/53df37bc773533166c150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c180000'), "name"=>"Roger Ebert", "reference"=>"Marcia Ankunding", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c190000'), "firstname"=>"Rick", "lastname"=>"Carter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df37bc773533166c190000", "product_id"=>"53df37bc773533166c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c1a0000'), "name"=>"Meghan Ledner III", "reference"=>"Liana Beatty", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c1b0000'), "firstname"=>"Sandrine", "lastname"=>"Pollich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df37bc773533166c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c1c0000'), "name"=>"Dr. Gerard Klein", "reference"=>"Chadd Hettinger V", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c1d0000'), "firstname"=>"Oswald", "lastname"=>"Kozey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df37bc773533166c1d0000", "product_id"=>"53df37bc773533166c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c1e0000'), "name"=>"Miss Catherine Dicki", "reference"=>"Grayce Walsh", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df37bc773533166c1f0000'), "firstname"=>"Jeffry", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df37bc773533166c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df37bc773533166c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df37bc773533166c1e0000/manager 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('53df37bc773533166c200000'), "name"=>"Jaylin D'Amore IV", "reference"=>"Ron Adams", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1289ms 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('53df37bc773533166c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms Redirected to http://test.host/admin/products/53df37bc773533166c210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2078ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c220000'), "name"=>"Dina Murray", "reference"=>"Mr. Everette Abernathy", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1217ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df37bc773533166c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms 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.1345ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c230000'), "name"=>"Noemi Bailey", "reference"=>"Miss Caesar Nikolaus", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df37bc773533166c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 37ms (Views: 35.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c240000'), "name"=>"Dylan Gleason", "reference"=>"Duane Russel", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms 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.4882ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bc773533166c250000'), "name"=>"Tressie Gerlach", "reference"=>"Aleen Grimes", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df37bc773533166c280000'), "name"=>"Troy Marquardt", "reference"=>"Mrs. Ubaldo Larson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df37bc773533166c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bc773533166c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c290000'), "name"=>"Tyshawn Turner", "reference"=>"Mitchell Lind", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37bd773533166c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c290000')} 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('53df37bd773533166c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Redirected to http://test.host/admin/products/53df37bd773533166c290000 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('53df37bd773533166c2a0000'), "firstname"=>"Marcelino", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1277ms 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('53df37bd773533166c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms Redirected to http://test.host/admin/users/53df37bd773533166c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1396ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c2c0000'), "firstname"=>"Tristian", "lastname"=>"Mraz"}] 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=>"admin_users", :query=>{}} runtime: 0.1283ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df37bd773533166c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c2c0000')} 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.1841ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c2d0000'), "firstname"=>"Orlo", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df37bd773533166c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1976ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c2e0000'), "firstname"=>"Quincy", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms 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 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('53df37bd773533166c2f0000'), "firstname"=>"Austen", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms 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('53df37bd773533166c300000'), "firstname"=>"Jarod", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2343ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df37bd773533166c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c310000'), "firstname"=>"Iliana", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df37bd773533166c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df37bd773533166c310000 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('53df37bd773533166c320000'), "firstname"=>"Elda", "lastname"=>"O'Conner"}] 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=>"administrators", :query=>{}} runtime: 0.1271ms 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('53df37bd773533166c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms 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.1625ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c340000'), "firstname"=>"Bernardo", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df37bd773533166c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bd773533166c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 39ms (Views: 38.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c350000'), "firstname"=>"Marjory", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c360000'), "firstname"=>"Jason", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df37bd773533166c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bd773533166c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c370000'), "firstname"=>"Luz", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df37bd773533166c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37bd773533166c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms 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('53df37bd773533166c380000'), "name"=>"German Dickens", "reference"=>"Waino Wolf", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c390000'), "author_name"=>"Wiley Sanford", "content"=>["Aut ratione maxime consequatur velit et in. Modi qui aut incidunt voluptas debitis cupiditate. Autem velit mollitia voluptatem facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37bd773533166c380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c380000')} 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('53df37bd773533166c380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37bd773533166c3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms Redirected to http://test.host/products/53df37bd773533166c380000/comments/53df37bd773533166c3a0000 Completed 500 Internal Server Error in 4ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c3b0000'), "name"=>"Efren Dietrich", "reference"=>"William Schmeler", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c3c0000'), "author_name"=>"Kian Eichmann", "content"=>["Omnis maiores animi unde in. Earum minima quos dolor. Sint voluptatem cumque ut soluta consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df37bd773533166c3b0000", "id"=>"53df37bd773533166c3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37bd773533166c3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms Redirected to http://test.host/products/53df37bd773533166c3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c3d0000'), "name"=>"Tony Weimann II", "reference"=>"Ansel Hills", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c3e0000'), "author_name"=>"Trevor Wintheiser", "content"=>["Quidem sit voluptas aut facere aspernatur. Illum eum consequatur autem. Eaque voluptatem et harum eum animi culpa ab. Et similique ut est aut excepturi commodi omnis. Soluta tempora et itaque voluptas aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1624ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df37bd773533166c3d0000", "id"=>"53df37bd773533166c3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3d0000')} 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.1ms) Completed 200 OK in 7ms (Views: 5.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c3f0000'), "name"=>"King Effertz", "reference"=>"Jessy Wuckert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c400000'), "author_name"=>"Oscar Jones", "content"=>["Inventore sequi possimus blanditiis aut id est. Dolores minus delectus recusandae expedita est. Hic id corrupti sapiente suscipit natus. Molestiae commodi repellat aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df37bd773533166c3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c410000'), "name"=>"Giles Stehr", "reference"=>"Nya Schumm", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c420000'), "author_name"=>"Mr. Keon Haag", "content"=>["Sit quis dolores in sed. Non quia maxime accusantium quae. Dolore et voluptates amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df37bd773533166c410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c430000'), "name"=>"Herta Spinka", "reference"=>"Bryana Sawayn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c440000'), "author_name"=>"Mozelle Yost", "content"=>["Rerum aspernatur eos cum ea. In veritatis quod. Dolorem odit quam. Provident odit et in impedit. Quis corporis quaerat autem pariatur sequi ab ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df37bd773533166c430000", "id"=>"53df37bd773533166c440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c450000'), "name"=>"Joy Heaney MD", "reference"=>"Tamara Macejkovic IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c460000'), "author_name"=>"Dr. Libby Fay", "content"=>["Aut rerum voluptatem perspiciatis molestias qui. Quam non delectus consequuntur. Aliquid dolorem impedit deserunt ab dolorum qui quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df37bd773533166c450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c450000')} 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.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c470000'), "name"=>"Annette Abernathy", "reference"=>"Frederick Lowe", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c480000'), "author_name"=>"Mylene Dibbert IV", "content"=>["Porro dolorem repellat quod. Nihil ratione excepturi perferendis occaecati et incidunt. Accusamus cumque adipisci est. Maxime alias voluptate nostrum minus quod qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df37bd773533166c470000", "id"=>"53df37bd773533166c480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c490000'), "name"=>"Eden Collier Jr.", "reference"=>"Hulda Block", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c4a0000'), "author_name"=>"Fidel Marks", "content"=>["Et fuga culpa velit deleniti aliquam facilis sit. Vel omnis rerum dolor voluptatem ut nulla. Quod odit numquam nesciunt quaerat sit beatae placeat. Dignissimos sint minus dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37bd773533166c4a0000", "product_id"=>"53df37bd773533166c490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c490000'), "comments._id"=>BSON::ObjectId('53df37bd773533166c4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Redirected to http://test.host/products/53df37bd773533166c490000/comments/53df37bd773533166c4a0000 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('53df37bd773533166c4b0000'), "firstname"=>"Willow", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1302ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms Redirected to http://test.host/admin/clients/53df37bd773533166c4c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1483ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c4d0000'), "firstname"=>"Ignacio", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1429ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df37bd773533166c4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms 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.1355ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c4e0000'), "firstname"=>"Dedric", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df37bd773533166c4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.7ms) Completed 200 OK in 39ms (Views: 37.6ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c4f0000'), "firstname"=>"Dallin", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms 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('53df37bd773533166c500000'), "firstname"=>"Travon", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms 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: 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('53df37bd773533166c510000'), "firstname"=>"Ashton", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df37bd773533166c510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c520000'), "firstname"=>"Una", "lastname"=>"Bins"}] 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"=>"53df37bd773533166c520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Redirected to http://test.host/admin/clients/53df37bd773533166c520000 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('53df37bd773533166c530000'), "firstname"=>"Sarai", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1479ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms Redirected to http://test.host/clients/53df37bd773533166c540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1386ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c550000'), "firstname"=>"Vernie", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1283ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df37bd773533166c550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms 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.1309ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c560000'), "firstname"=>"Gianni", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df37bd773533166c560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms 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_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c570000'), "firstname"=>"Angel", "lastname"=>"Sanford"}] 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.3017ms 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('53df37bd773533166c580000'), "firstname"=>"Janice", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c590000'), "firstname"=>"Lori", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df37bd773533166c590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms 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('53df37bd773533166c5a0000'), "firstname"=>"Madeline", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df37bd773533166c5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37bd773533166c5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms Redirected to http://test.host/clients/53df37bd773533166c5a0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c5b0000'), "name"=>"Dedric Bauch", "reference"=>"Alyce Rempel DVM", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c5c0000'), "firstname"=>"Jesus", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4146ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df37bd773533166c5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms Redirected to http://test.host/products/53df37bd773533166c5b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c5e0000'), "name"=>"Margarette Murazik", "reference"=>"Mr. Rosemary Schmidt", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c5f0000'), "firstname"=>"Teagan", "lastname"=>"Heidenreich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df37bd773533166c5f0000", "product_id"=>"53df37bd773533166c5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.3ms) Completed 200 OK in 31ms (Views: 29.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c600000'), "name"=>"Miss Joelle Marks", "reference"=>"Gerry Kris", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c610000'), "firstname"=>"Favian", "lastname"=>"Dooley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df37bd773533166c600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 38ms (Views: 36.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c620000'), "name"=>"Garrison Hilll Jr.", "reference"=>"Orrin Sawayn", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c630000'), "firstname"=>"Sherman", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df37bd773533166c630000", "product_id"=>"53df37bd773533166c620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c640000'), "name"=>"Tomas Beahan", "reference"=>"Emely Nicolas", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df37bd773533166c650000'), "firstname"=>"Mallory", "lastname"=>"Ullrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df37bd773533166c650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df37bd773533166c640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms Unpermitted parameters: name Redirected to http://test.host/products/53df37bd773533166c640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c660000'), "name"=>"Mr. Tristian Abshire", "reference"=>"Alan Powlowski", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3821ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2199ms 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('53df37bd773533166c670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/products/53df37bd773533166c670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1446ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c680000'), "name"=>"Joshua Muller", "reference"=>"Adele DuBuque III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1296ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df37bd773533166c680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms 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.1357ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c690000'), "name"=>"Wilma Lehner", "reference"=>"Magali Emard III", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df37bd773533166c690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c6a0000'), "name"=>"Dr. Francisco Simonis", "reference"=>"Ward Fahey", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms 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.6672ms Completed 200 OK in 18ms (Views: 17.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c6b0000'), "name"=>"Ressie Howell", "reference"=>"Cesar Strosin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms 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.5878ms 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('53df37bd773533166c6c0000'), "name"=>"Miss Frederik Bernier", "reference"=>"Maryjane Hettinger", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df37bd773533166c6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c6d0000'), "name"=>"Angelo Waelchi", "reference"=>"Bridget Price Jr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df37bd773533166c6f0000'), "name"=>"Mr. Fabian Von", "reference"=>"Mrs. Israel Herzog", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df37bd773533166c6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Completed 200 OK in 28ms (Views: 26.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c700000'), "name"=>"Zander Altenwerth", "reference"=>"Blake Russel", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1298ms 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('53df37bd773533166c710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1501ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c720000'), "name"=>"Juliet Monahan I", "reference"=>"Miss Josue Lockman", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df37bd773533166c720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5785ms Completed 200 OK in 5ms (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('53df37bd773533166c730000'), "name"=>"Lizeth Wuckert", "reference"=>"Carson Kuphal", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms 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('53df37bd773533166c750000'), "name"=>"Raphael Turcotte", "reference"=>"Pascale West", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37bd773533166c750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c750000')} 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('53df37bd773533166c750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms 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('53df37bd773533166c760000'), "name"=>"Yasmeen Daugherty DDS", "reference"=>"Norval Buckridge", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37bd773533166c760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms Redirected to http://test.host/products/53df37bd773533166c760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c790000'), "name"=>"Logan Hilll", "reference"=>"Barrett Stamm", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c770000'), "author_name"=>"Elvis Pagac", "content"=>["Soluta tenetur voluptate. Architecto non ipsam in at nobis. Et cumque neque."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c780000'), "author_name"=>"Deven Dickinson", "content"=>["Veniam odio unde error consequatur non voluptatum. Excepturi ut iste incidunt. Quia vitae vel ducimus. Praesentium ea natus quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37bd773533166c790000", "comment_id"=>"53df37bd773533166c770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c790000'), "comments._id"=>BSON::ObjectId('53df37bd773533166c770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df37bd773533166c7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Redirected to http://test.host/products/53df37bd773533166c790000/comments/53df37bd773533166c770000/comments/53df37bd773533166c7a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c7d0000'), "name"=>"Kitty Hermiston", "reference"=>"Kira Gutmann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c7b0000'), "author_name"=>"Emory Stark II", "content"=>["Aut consequatur aut dolor et molestiae numquam debitis. Et quo perferendis. Deleniti maiores quas accusamus. Quam nostrum occaecati velit accusantium commodi suscipit nihil. Aut vel velit necessitatibus sit consequatur rem quos."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c7c0000'), "author_name"=>"Brisa Daniel", "content"=>["Fuga non quia officia quisquam veniam. Aut ex et nemo quidem. Nisi quasi nemo occaecati magnam quibusdam dolores porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df37bd773533166c7d0000", "comment_id"=>"53df37bd773533166c7b0000", "id"=>"53df37bd773533166c7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c7d0000')} 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('53df37bd773533166c7d0000'), "comments._id"=>BSON::ObjectId('53df37bd773533166c7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df37bd773533166c7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms Redirected to http://test.host/products/53df37bd773533166c7d0000/comments/53df37bd773533166c7b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c800000'), "name"=>"Herta VonRueden", "reference"=>"Letha Hilll", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c7e0000'), "author_name"=>"Bert Marks III", "content"=>["Hic laudantium delectus. Vero a quia aliquid. Optio fugit aut est quia aliquid rerum corrupti."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c7f0000'), "author_name"=>"Robbie Prosacco", "content"=>["Quae dicta sit aut perferendis reprehenderit fugit rerum. Accusamus recusandae ad. Adipisci possimus placeat repellat voluptas velit. Adipisci sit ut nam et vel nemo quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df37bd773533166c800000", "comment_id"=>"53df37bd773533166c7e0000", "id"=>"53df37bd773533166c7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c800000')} 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.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c830000'), "name"=>"Miss Marietta Ziemann", "reference"=>"Mr. Trinity O'Kon", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c810000'), "author_name"=>"Hester Pollich V", "content"=>["Delectus quae enim sint blanditiis est. Non sint eligendi est qui. Cupiditate quia sed nulla est tenetur officiis porro. Voluptates perferendis magnam quas quis sunt. Voluptas aut sapiente sed ad ducimus repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c820000'), "author_name"=>"Duane Cummerata", "content"=>["Ipsa natus quia qui commodi. Consequatur dolor architecto consequatur. Necessitatibus quod quos quibusdam at rem magnam et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df37bd773533166c830000", "comment_id"=>"53df37bd773533166c810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c860000'), "name"=>"Griffin Dach PhD", "reference"=>"Cedrick Denesik", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c840000'), "author_name"=>"Torrance Jaskolski", "content"=>["Ipsum minima nisi quod. Qui enim et velit sunt. Nemo placeat ab inventore. Numquam dolorem rerum at dolor est dicta quibusdam. Eligendi non reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c850000'), "author_name"=>"Loyal Waters", "content"=>["Ut dolores provident. Qui eligendi consequuntur repudiandae enim iusto dolores consequatur. Et expedita et rem tenetur ducimus earum facere. Dolorem earum hic. Ratione omnis odio sunt fugit nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6935ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df37bd773533166c860000", "comment_id"=>"53df37bd773533166c840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c890000'), "name"=>"Price Wolf I", "reference"=>"Kenton Kulas", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c870000'), "author_name"=>"Maybell Ruecker", "content"=>["Veritatis suscipit et ipsam placeat dolores quia non. Assumenda voluptas quod perspiciatis vitae quas est. Est et in molestiae quisquam. In voluptate recusandae minima. Voluptatem rerum necessitatibus architecto voluptatibus excepturi qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c880000'), "author_name"=>"Bennett Funk", "content"=>["Iure eos et quo excepturi harum. Sunt minus animi accusamus. Impedit ea dolorem. Qui cupiditate ipsum. Qui eum optio voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df37bd773533166c890000", "comment_id"=>"53df37bd773533166c870000", "id"=>"53df37bd773533166c880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c8c0000'), "name"=>"Mrs. Phoebe Kuphal", "reference"=>"Carolanne Walsh", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c8a0000'), "author_name"=>"Viola Carroll Sr.", "content"=>["Voluptatem dolor qui delectus et. Qui dolores impedit reprehenderit odio. Suscipit cupiditate rerum incidunt corrupti eveniet voluptas maiores. Hic consequuntur officia qui vel recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c8b0000'), "author_name"=>"Hermann Kilback", "content"=>["Unde dolore accusamus omnis. Iure possimus magni omnis itaque qui distinctio facilis. Ipsa et recusandae iusto est. Aut sit assumenda et culpa iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df37bd773533166c8c0000", "comment_id"=>"53df37bd773533166c8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c8f0000'), "name"=>"Norris Shanahan", "reference"=>"Marlen Monahan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c8d0000'), "author_name"=>"Wilber Zemlak", "content"=>["Laborum nulla aut voluptas ratione. Autem explicabo nihil. Deserunt et possimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c8e0000'), "author_name"=>"Vita Grimes", "content"=>["Reprehenderit et consequatur velit. Aut alias ut est eveniet laudantium sint. Iusto ea nisi officiis et sit dignissimos. Aliquam rerum aut fugiat et natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df37bd773533166c8f0000", "comment_id"=>"53df37bd773533166c8d0000", "id"=>"53df37bd773533166c8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms Completed 200 OK in 5ms (Views: 2.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c920000'), "name"=>"Ms. Joanny Stracke", "reference"=>"Maynard Bode Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c900000'), "author_name"=>"Adonis Hand PhD", "content"=>["Magnam voluptas sapiente. Qui explicabo quisquam expedita. Deserunt omnis id. Nihil occaecati voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('53df37bd773533166c910000'), "author_name"=>"Benjamin Franecki", "content"=>["At qui odit velit ut. Enim officia sequi rerum. Omnis aliquid quisquam adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37bd773533166c910000", "product_id"=>"53df37bd773533166c920000", "comment_id"=>"53df37bd773533166c900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37bd773533166c920000'), "comments._id"=>BSON::ObjectId('53df37bd773533166c900000'), "comments.0.comments._id"=>BSON::ObjectId('53df37bd773533166c910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Redirected to http://test.host/products/53df37bd773533166c920000/comments/53df37bd773533166c900000/comments/53df37bd773533166c910000 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('53df37bd773533166c930000'), "firstname"=>"Rahul", "lastname"=>"Batz"}] 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=>"admin_users", :query=>{}} runtime: 0.2013ms 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('53df37bd773533166c940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Redirected to http://test.host/users/53df37bd773533166c940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2146ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c950000'), "firstname"=>"Berniece", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2407ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df37bd773533166c950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms 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.1269ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c960000'), "firstname"=>"Rudy", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df37bd773533166c960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.5ms) Completed 200 OK in 31ms (Views: 29.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c970000'), "firstname"=>"Jamil", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms 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.4650ms Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37bd773533166c980000'), "firstname"=>"Zechariah", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 38.2814ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df37bd773533166c990000'), "firstname"=>"Sylvan", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df37bd773533166c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms 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('53df37bd773533166c9a0000'), "firstname"=>"Friedrich", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df37bd773533166c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37bd773533166c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms Unpermitted parameters: name Redirected to http://test.host/users/53df37bd773533166c9a0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms 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.3450ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms 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.2298ms 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.2264ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b000000'), "firstname"=>"Bulah", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms 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('53df37e6773533169b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms 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.2844ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b020000'), "firstname"=>"Antwon", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df37e6773533169b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e6773533169b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 49ms (Views: 47.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b030000'), "firstname"=>"Fausto", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b040000'), "firstname"=>"Vicky", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df37e6773533169b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e6773533169b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b050000'), "firstname"=>"Wilson", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df37e6773533169b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e6773533169b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms 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('53df37e6773533169b060000'), "name"=>"Mrs. Sister Crona", "reference"=>"Nelle Lebsack", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b070000'), "author_name"=>"Dr. Marina McKenzie", "content"=>["Quasi dolores reiciendis maiores non. Totam molestiae porro reprehenderit saepe omnis. Qui mollitia a culpa molestias libero officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37e6773533169b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37e6773533169b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Redirected to http://test.host/admin/products/53df37e6773533169b060000/comments/53df37e6773533169b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b090000'), "name"=>"Aaron Romaguera", "reference"=>"Dave Beahan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b0a0000'), "author_name"=>"Athena Haag", "content"=>["Ut quibusdam illum mollitia eius corporis numquam. Eligendi et animi dolor nobis aut. Eos voluptatibus sit autem consequatur. Vel commodi quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3803ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df37e6773533169b090000", "id"=>"53df37e6773533169b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37e6773533169b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Redirected to http://test.host/admin/products/53df37e6773533169b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b0b0000'), "name"=>"Augustine Sawayn", "reference"=>"Mervin Hermiston", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b0c0000'), "author_name"=>"Mattie Lubowitz", "content"=>["Et illum porro vel laborum tempore occaecati. Esse sit hic nesciunt. Saepe et magni sunt aut numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df37e6773533169b0b0000", "id"=>"53df37e6773533169b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b0d0000'), "name"=>"Miss Katarina Volkman", "reference"=>"Celestine Wilkinson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b0e0000'), "author_name"=>"Rosalee Moen Sr.", "content"=>["Laboriosam perspiciatis est est eaque ea nesciunt. Iste ex illo aspernatur similique consequatur maxime. Nostrum sint et velit dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df37e6773533169b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b0f0000'), "name"=>"Maximo Nikolaus III", "reference"=>"Veronica Homenick", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b100000'), "author_name"=>"Joyce Mueller", "content"=>["Nostrum non tempora voluptatum. Et est sequi dicta illo molestias facilis. Voluptatem alias reiciendis amet est. Qui eveniet sapiente odio iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df37e6773533169b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b110000'), "name"=>"Maida Stoltenberg", "reference"=>"Elmore Krajcik", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b120000'), "author_name"=>"Cristal Mills", "content"=>["Sunt consequuntur voluptas. Beatae id pariatur voluptas ea porro molestiae. Dolor maxime consectetur totam. Quos expedita eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df37e6773533169b110000", "id"=>"53df37e6773533169b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b130000'), "name"=>"Palma Waelchi", "reference"=>"Noelia Hauck", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df37e6773533169b140000'), "author_name"=>"Mossie McDermott", "content"=>["Ab et sed et maxime maiores. Eos ea molestias. Accusantium ut a consequuntur magni minima culpa autem. Illum aliquam necessitatibus. Et fugiat illo reprehenderit dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37e6773533169b140000", "product_id"=>"53df37e6773533169b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b130000'), "comments._id"=>BSON::ObjectId('53df37e6773533169b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6746ms Redirected to http://test.host/admin/products/53df37e6773533169b130000/comments/53df37e6773533169b140000 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('53df37e6773533169b150000'), "name"=>"Stanford Bartoletti", "reference"=>"Destiney Marvin", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b160000'), "firstname"=>"Janet", "lastname"=>"Leannon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df37e6773533169b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4106ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Redirected to http://test.host/admin/products/53df37e6773533169b150000/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('53df37e6773533169b180000'), "name"=>"Ms. Javier Daugherty", "reference"=>"Jayde Kuhn", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b190000'), "firstname"=>"Newell", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df37e6773533169b190000", "product_id"=>"53df37e6773533169b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b180000')} 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.6ms) Completed 200 OK in 7ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b1a0000'), "name"=>"Ms. Dawson Heller", "reference"=>"Eda Maggio", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b1b0000'), "firstname"=>"Margarete", "lastname"=>"Wiza"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5543ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df37e6773533169b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b1c0000'), "name"=>"Lyla Hamill Sr.", "reference"=>"Ottilie Will Sr.", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b1d0000'), "firstname"=>"Ephraim", "lastname"=>"Russel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5997ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df37e6773533169b1d0000", "product_id"=>"53df37e6773533169b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4015ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b1e0000'), "name"=>"Jayden Walter", "reference"=>"Trace Parker", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df37e6773533169b1f0000'), "firstname"=>"Jeffry", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df37e6773533169b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df37e6773533169b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4039ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df37e6773533169b1e0000/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('53df37e6773533169b200000'), "name"=>"Ryley Grimes Sr.", "reference"=>"Mrs. Schuyler Farrell", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5571ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3008ms 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('53df37e6773533169b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms Redirected to http://test.host/admin/products/53df37e6773533169b210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2756ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b220000'), "name"=>"Rhett Emmerich", "reference"=>"Cory Gerhold", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.2706ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df37e6773533169b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b220000')} 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={"_id"=>BSON::ObjectId('53df37e6773533169b220000')} 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.1774ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b230000'), "name"=>"Maya Dach", "reference"=>"Bobbie Kuvalis MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df37e6773533169b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e6773533169b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 40ms (Views: 39.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e6773533169b240000'), "name"=>"Viva Greenfelder", "reference"=>"Mrs. Natasha Hauck", "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.5576ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b250000'), "name"=>"Jimmy Hane II", "reference"=>"Cesar Howe", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms 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: 4.9ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b280000'), "name"=>"Miss Mandy Rodriguez", "reference"=>"Justine Harber", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df37e7773533169b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e7773533169b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms 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('53df37e7773533169b290000'), "name"=>"Randy Gislason", "reference"=>"Jaron Ondricka", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37e7773533169b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e7773533169b290000')} 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('53df37e7773533169b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Redirected to http://test.host/admin/products/53df37e7773533169b290000 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('53df37e7773533169b2a0000'), "firstname"=>"Kelsi", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2224ms 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('53df37e7773533169b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Redirected to http://test.host/admin/users/53df37e7773533169b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2277ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b2c0000'), "firstname"=>"Mariana", "lastname"=>"Leffler"}] 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.1913ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df37e7773533169b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37e7773533169b2c0000')} 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('53df37e7773533169b2c0000')} 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.1768ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b2d0000'), "firstname"=>"Steve", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df37e7773533169b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37e7773533169b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df37e7773533169b2e0000'), "firstname"=>"Marilie", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms 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.3170ms 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('53df37e7773533169b2f0000'), "firstname"=>"Erika", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b300000'), "firstname"=>"Elvie", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df37e7773533169b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37e7773533169b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b310000'), "firstname"=>"May", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df37e7773533169b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37e7773533169b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df37e7773533169b310000 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('53df37e7773533169b320000'), "firstname"=>"Clarissa", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2107ms 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('53df37e7773533169b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms 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.2049ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b340000'), "firstname"=>"Kip", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df37e7773533169b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e7773533169b340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b350000'), "firstname"=>"Wade", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 6.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b360000'), "firstname"=>"Marquis", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df37e7773533169b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e7773533169b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df37e7773533169b370000'), "firstname"=>"Kylie", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df37e7773533169b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df37e7773533169b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms 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('53df37e7773533169b380000'), "name"=>"Dr. Keven Koelpin", "reference"=>"Linda Schroeder", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df37e7773533169b390000'), "author_name"=>"Dawn Mayer", "content"=>["Iste repellat dolore fugit ab velit at quasi. Temporibus nemo facere autem sed omnis. Exercitationem consequatur iure eaque nesciunt ut recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e7773533169b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37e7773533169b380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e7773533169b380000')} 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('53df37e7773533169b380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37e7773533169b3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Redirected to http://test.host/products/53df37e7773533169b380000/comments/53df37e7773533169b3a0000 Completed 302 Found in 6508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37e7773533169b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8328ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b3b0000'), "name"=>"Athena Thompson", "reference"=>"Jacynthe Kris", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b3c0000'), "author_name"=>"Ms. Newell Flatley", "content"=>["Consequuntur et ullam dolore officia accusamus suscipit. Corrupti quidem ut quam aut reprehenderit ea provident. Harum recusandae nisi voluptate dignissimos ut fugiat fugit. Tempora impedit omnis exercitationem. Pariatur occaecati hic qui enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6209ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df37ed773533169b3b0000", "id"=>"53df37ed773533169b3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df37ed773533169b3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms Redirected to http://test.host/products/53df37ed773533169b3b0000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4764ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b3d0000'), "name"=>"Martin Halvorson", "reference"=>"Adan Cronin PhD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b3e0000'), "author_name"=>"Talia Cummings", "content"=>["Cumque aliquam nihil. Eum voluptate alias. Natus laudantium ratione tempore possimus adipisci nulla. Dolorem in ratione neque rem quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7687ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df37ed773533169b3d0000", "id"=>"53df37ed773533169b3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7194ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 16ms (Views: 11.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b3f0000'), "name"=>"Linnie Keeling I", "reference"=>"Cyril Huel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b400000'), "author_name"=>"Magnolia Crona", "content"=>["Similique facere enim dolorem ducimus aut est. Odio culpa enim. Tenetur et aut ab ad. Sit est voluptatem ipsum assumenda similique. Et optio iusto id et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7947ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df37ed773533169b3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5726ms Completed 200 OK in 9ms (Views: 5.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b410000'), "name"=>"Beulah Nader", "reference"=>"Cleta Strosin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b420000'), "author_name"=>"Dr. Shanie Erdman", "content"=>["Deserunt et praesentium debitis vel. Voluptatem sed nulla suscipit. Fugiat vel neque earum omnis accusamus odio ullam. Vitae sunt at voluptatem laborum quis quidem consequuntur. Illo ut quod eligendi ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7061ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df37ed773533169b410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5311ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b430000'), "name"=>"Cortney Gutmann", "reference"=>"Casandra Goldner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b440000'), "author_name"=>"Joy Grant", "content"=>["Odio deleniti voluptatibus consectetur veritatis facilis placeat dicta. Odio totam provident sed eveniet. Dolorem quasi vel. Odio sapiente dolor velit iusto deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5750ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df37ed773533169b430000", "id"=>"53df37ed773533169b440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b450000'), "name"=>"Cameron Schiller II", "reference"=>"Wyman Dooley DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b460000'), "author_name"=>"Ms. Kayla Maggio", "content"=>["Eveniet et debitis ipsa odit a sit qui. Cumque quam optio ut aliquam necessitatibus fugiat voluptatem. Praesentium facere dolore. Blanditiis quas voluptas et excepturi. Nostrum natus quia qui asperiores et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6151ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df37ed773533169b450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 5.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37ed773533169b470000'), "name"=>"Clint Abbott", "reference"=>"Devin Veum", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b480000'), "author_name"=>"Mr. Pat Reilly", "content"=>["Sed impedit aut maiores. Debitis dolor ratione fuga. Voluptas omnis delectus. Deserunt cupiditate enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.4130ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df37ed773533169b470000", "id"=>"53df37ed773533169b480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms 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('53df37ed773533169b490000'), "name"=>"Carson O'Reilly", "reference"=>"Sofia Vandervort", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37ed773533169b4a0000'), "author_name"=>"Jess Ullrich", "content"=>["Autem dolore quam minima possimus eveniet. Aut dolores voluptates. Quia dolores quam repellendus sequi et. Distinctio ut quaerat blanditiis quod molestiae hic harum. Quasi sit et repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37ed773533169b4a0000", "product_id"=>"53df37ed773533169b490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37ed773533169b490000')} 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('53df37ed773533169b490000'), "comments._id"=>BSON::ObjectId('53df37ed773533169b4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8491ms Redirected to http://test.host/products/53df37ed773533169b490000/comments/53df37ed773533169b4a0000 Completed 302 Found in 3733ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b4b0000'), "firstname"=>"Serena", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8264ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3822ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5699ms Redirected to http://test.host/admin/clients/53df37f1773533169b4c0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3568ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b4d0000'), "firstname"=>"Matt", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5887ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3379ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df37f1773533169b4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4194ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms 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.2696ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b4e0000'), "firstname"=>"Eldred", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df37f1773533169b4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 13ms (Views: 10.9ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b4f0000'), "firstname"=>"Lorenzo", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms Completed 200 OK in 9ms (Views: 7.9ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b500000'), "firstname"=>"Forrest", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b510000'), "firstname"=>"Mariah", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df37f1773533169b510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms 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('53df37f1773533169b520000'), "firstname"=>"Abagail", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df37f1773533169b520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Redirected to http://test.host/admin/clients/53df37f1773533169b520000 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('53df37f1773533169b530000'), "firstname"=>"Garrick", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1980ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms Redirected to http://test.host/clients/53df37f1773533169b540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1992ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b550000'), "firstname"=>"Peggie", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms 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"=>"53df37f1773533169b550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.7453ms Redirected to http://test.host/clients Completed 302 Found in 25ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1946ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b560000'), "firstname"=>"Chaim", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df37f1773533169b560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.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('53df37f1773533169b570000'), "firstname"=>"Anastasia", "lastname"=>"Gleason"}] 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.3840ms Completed 200 OK in 45ms (Views: 44.3ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b580000'), "firstname"=>"Wanda", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms 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: 3.9ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b590000'), "firstname"=>"Luz", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df37f1773533169b590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Completed 200 OK in 4ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b5a0000'), "firstname"=>"Erica", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df37f1773533169b5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df37f1773533169b5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Redirected to http://test.host/clients/53df37f1773533169b5a0000 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('53df37f1773533169b5b0000'), "name"=>"Horacio Huel", "reference"=>"Mrs. Daryl Schmidt", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b5c0000'), "firstname"=>"Chase", "lastname"=>"Mohr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df37f1773533169b5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms Redirected to http://test.host/products/53df37f1773533169b5b0000/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('53df37f1773533169b5e0000'), "name"=>"Ned Larkin", "reference"=>"Immanuel Schiller", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b5f0000'), "firstname"=>"Otho", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df37f1773533169b5f0000", "product_id"=>"53df37f1773533169b5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b5e0000')} 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: 6.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b600000'), "name"=>"Ms. Princess Erdman", "reference"=>"Yadira Johnson", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b610000'), "firstname"=>"Reyes", "lastname"=>"Graham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df37f1773533169b600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b620000'), "name"=>"Eleazar Crist", "reference"=>"Eden Considine DVM", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b630000'), "firstname"=>"Janice", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df37f1773533169b630000", "product_id"=>"53df37f1773533169b620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b640000'), "name"=>"Marie Mitchell", "reference"=>"Raphaelle Ullrich", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df37f1773533169b650000'), "firstname"=>"Lia", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df37f1773533169b650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df37f1773533169b640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Unpermitted parameters: name Redirected to http://test.host/products/53df37f1773533169b640000/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('53df37f1773533169b660000'), "name"=>"Letha Rogahn", "reference"=>"Alfredo Morar", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2036ms 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('53df37f1773533169b670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms Redirected to http://test.host/products/53df37f1773533169b670000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b680000'), "name"=>"Ruthe Huels", "reference"=>"Shea Keeling", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2753ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df37f1773533169b680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b680000')} 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('53df37f1773533169b680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms 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('53df37f1773533169b690000'), "name"=>"Naomi Kirlin", "reference"=>"Frederic Crooks", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df37f1773533169b690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b6a0000'), "name"=>"Henriette Kutch", "reference"=>"Elise Weber III", "quantity"=>"6"}] 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.6744ms Completed 200 OK in 82ms (Views: 81.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f1773533169b6b0000'), "name"=>"Alexa Huels", "reference"=>"Macie Roob", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms 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.7378ms 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('53df37f1773533169b6c0000'), "name"=>"Grace O'Reilly", "reference"=>"Ms. Jan Schultz", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df37f1773533169b6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f1773533169b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms 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('53df37f1773533169b6d0000'), "name"=>"Lori VonRueden", "reference"=>"Dominique Yost", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b6f0000'), "name"=>"Miss Rusty Kuhic", "reference"=>"Austen McLaughlin", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df37f2773533169b6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b700000'), "name"=>"Margarita Wiegand", "reference"=>"Jaylen Ortiz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1689ms 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('53df37f2773533169b710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1591ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b720000'), "name"=>"Hassan Heathcote", "reference"=>"Ms. Carolyn Grady", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df37f2773533169b720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms 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('53df37f2773533169b730000'), "name"=>"Demarcus Dibbert", "reference"=>"Marisa Zemlak", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms 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('53df37f2773533169b750000'), "name"=>"Ole McGlynn", "reference"=>"Freddy Crist", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37f2773533169b750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms 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('53df37f2773533169b760000'), "name"=>"Addison Stanton", "reference"=>"Vidal Crooks", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df37f2773533169b760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms Redirected to http://test.host/products/53df37f2773533169b760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b790000'), "name"=>"Mrs. Justen Armstrong", "reference"=>"Isac Cartwright", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b770000'), "author_name"=>"Quentin Tremblay", "content"=>["Impedit nemo sequi rerum. Fugiat tempore voluptate ut. Error sed voluptatum quaerat odit. Rerum nihil accusantium ex possimus minus in."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b780000'), "author_name"=>"Erich Boyle", "content"=>["Blanditiis consequatur reiciendis voluptatibus asperiores dolor quod. Voluptatum ut magnam architecto repudiandae dignissimos et. Voluptas ut inventore quasi. Dolor et ea at et corrupti est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df37f2773533169b790000", "comment_id"=>"53df37f2773533169b770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b790000'), "comments._id"=>BSON::ObjectId('53df37f2773533169b770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df37f2773533169b7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4985ms Redirected to http://test.host/products/53df37f2773533169b790000/comments/53df37f2773533169b770000/comments/53df37f2773533169b7a0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b7d0000'), "name"=>"Mireya Barton", "reference"=>"Dr. Anahi Wehner", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b7b0000'), "author_name"=>"Roslyn Wilkinson", "content"=>["Vitae est dolore placeat veritatis pariatur labore necessitatibus. Fugit vel autem fugiat ex dolorem quia debitis. Beatae animi est amet quis placeat."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b7c0000'), "author_name"=>"Ms. May Wyman", "content"=>["Beatae ratione velit. Voluptas numquam dolorum culpa consectetur nihil. Id doloribus ratione aspernatur. Nihil necessitatibus hic et voluptas similique itaque aut. Aut natus delectus quia dolor fugiat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df37f2773533169b7d0000", "comment_id"=>"53df37f2773533169b7b0000", "id"=>"53df37f2773533169b7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b7d0000'), "comments._id"=>BSON::ObjectId('53df37f2773533169b7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df37f2773533169b7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Redirected to http://test.host/products/53df37f2773533169b7d0000/comments/53df37f2773533169b7b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b800000'), "name"=>"Nick Armstrong DVM", "reference"=>"Nyasia Wyman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b7e0000'), "author_name"=>"Ms. Mikayla Klocko", "content"=>["Repudiandae nobis sit. Ut adipisci officia iure. Cumque praesentium non sit saepe molestiae. Natus impedit non sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b7f0000'), "author_name"=>"Nathen Bernhard", "content"=>["Doloribus assumenda dolore omnis excepturi. Qui assumenda minima illo. Nihil rerum molestias. Et sit consequuntur numquam sed provident in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df37f2773533169b800000", "comment_id"=>"53df37f2773533169b7e0000", "id"=>"53df37f2773533169b7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b830000'), "name"=>"Micaela Goyette", "reference"=>"Haylee Franecki", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b810000'), "author_name"=>"Mrs. Samara Gerhold", "content"=>["Dolor ut commodi non omnis explicabo velit. Laboriosam dolores reprehenderit. Adipisci dolor asperiores est qui enim dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b820000'), "author_name"=>"Makenna Fay DVM", "content"=>["Alias voluptatem odio ab. Distinctio maxime sequi perspiciatis cum commodi assumenda rerum. Ducimus et sunt voluptatem quia voluptatem id aliquam. Nisi ut dolorem officia aspernatur labore eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df37f2773533169b830000", "comment_id"=>"53df37f2773533169b810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b860000'), "name"=>"Miss Berenice Ward", "reference"=>"Clare Moore DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b840000'), "author_name"=>"Gwen Emard", "content"=>["Nobis nesciunt voluptatum rem animi similique. Autem odit vel aut maiores dolor asperiores beatae. Et dignissimos illo natus laboriosam sed. Veniam magni cumque voluptates aut. Qui voluptatem illum voluptatum architecto nobis."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b850000'), "author_name"=>"Madonna Rutherford Sr.", "content"=>["Ut aut tenetur velit blanditiis beatae dignissimos. Ratione nemo quia nobis eveniet molestias rem. Odio sit sit. Ex nemo rem sint. Tempora neque quis sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df37f2773533169b860000", "comment_id"=>"53df37f2773533169b840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b890000'), "name"=>"Hayley Hoppe DVM", "reference"=>"Marcelino O'Hara", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b870000'), "author_name"=>"Eliezer Gleichner", "content"=>["Cumque vel atque qui molestiae ab ut in. Sint accusantium adipisci. Rem sed explicabo fuga sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b880000'), "author_name"=>"Earl Gleichner", "content"=>["Eum libero asperiores doloremque enim impedit. Non aliquid non esse et asperiores dicta nulla. Occaecati et est quae ut ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df37f2773533169b890000", "comment_id"=>"53df37f2773533169b870000", "id"=>"53df37f2773533169b880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b8c0000'), "name"=>"Mrs. Fiona Altenwerth", "reference"=>"Kendra Rempel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b8a0000'), "author_name"=>"Winifred Keeling", "content"=>["Consequatur temporibus quas est totam. Facilis minima corrupti vitae facere cum ea quo. Eum modi eius. Culpa reiciendis voluptate dolores eos omnis quaerat. Consectetur eveniet ullam neque sit iure possimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b8b0000'), "author_name"=>"Myrl McLaughlin", "content"=>["Et consequatur sed. Ab dolores amet sit vel voluptas. Et maxime non. Possimus quisquam maiores. Quo qui odit quia corporis ut eos sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df37f2773533169b8c0000", "comment_id"=>"53df37f2773533169b8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b8c0000')} 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.3ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b8f0000'), "name"=>"Caleigh O'Hara", "reference"=>"Darrick Konopelski", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b8d0000'), "author_name"=>"Enid Erdman", "content"=>["Est expedita hic quae numquam. Omnis nemo est. Architecto libero non aperiam et similique nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b8e0000'), "author_name"=>"Macie Greenholt Sr.", "content"=>["Debitis aliquam odio iusto qui vel est molestias. Quo ut et reprehenderit reiciendis ut quasi. Sint ex assumenda reiciendis doloremque corrupti ipsam est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df37f2773533169b8f0000", "comment_id"=>"53df37f2773533169b8d0000", "id"=>"53df37f2773533169b8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b920000'), "name"=>"Jakob Torphy", "reference"=>"Hannah Jaskolski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b900000'), "author_name"=>"Elise Klein", "content"=>["Fugit ea quisquam. Earum voluptatibus quae ut. Velit consequatur nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df37f2773533169b910000'), "author_name"=>"Sigurd Dooley", "content"=>["Laudantium ut quae temporibus ab. Magnam facilis in corporis aspernatur porro cumque quod. Nihil omnis velit accusamus cupiditate mollitia. Error quos qui molestiae aut accusantium ut. Laudantium sit maiores excepturi adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5584ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df37f2773533169b910000", "product_id"=>"53df37f2773533169b920000", "comment_id"=>"53df37f2773533169b900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df37f2773533169b920000')} 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('53df37f2773533169b920000'), "comments._id"=>BSON::ObjectId('53df37f2773533169b900000'), "comments.0.comments._id"=>BSON::ObjectId('53df37f2773533169b910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms Redirected to http://test.host/products/53df37f2773533169b920000/comments/53df37f2773533169b900000/comments/53df37f2773533169b910000 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('53df37f2773533169b930000'), "firstname"=>"Naomie", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6355ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3388ms 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('53df37f2773533169b940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Redirected to http://test.host/users/53df37f2773533169b940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2893ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b950000'), "firstname"=>"Tavares", "lastname"=>"Shields"}] 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=>"admin_users", :query=>{}} runtime: 0.2696ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df37f2773533169b950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37f2773533169b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37f2773533169b950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms 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.2751ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b960000'), "firstname"=>"Jakayla", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df37f2773533169b960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37f2773533169b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df37f2773533169b970000'), "firstname"=>"Helmer", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms 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.4270ms Completed 200 OK in 8ms (Views: 7.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b980000'), "firstname"=>"Evalyn", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms 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('53df37f2773533169b990000'), "firstname"=>"Issac", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df37f2773533169b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37f2773533169b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df37f2773533169b9a0000'), "firstname"=>"Missouri", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df37f2773533169b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df37f2773533169b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms Unpermitted parameters: name Redirected to http://test.host/users/53df37f2773533169b9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms 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.3122ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms 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.2772ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8000000'), "firstname"=>"Sidney", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2699ms 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('53df380577353316c8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms 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.1980ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8020000'), "firstname"=>"Odie", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df380577353316c8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 47ms (Views: 45.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8030000'), "firstname"=>"Evert", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.1466ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8040000'), "firstname"=>"Neal", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df380577353316c8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8050000'), "firstname"=>"Florida", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df380577353316c8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms 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('53df380577353316c8060000'), "name"=>"Carlotta Friesen", "reference"=>"Sheldon Littel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c8070000'), "author_name"=>"Justine Stoltenberg III", "content"=>["Quae quis ut odit. Ex earum omnis et vitae voluptatem omnis. Officia voluptas optio inventore tenetur rem quos et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df380577353316c8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df380577353316c8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms Redirected to http://test.host/admin/products/53df380577353316c8060000/comments/53df380577353316c8080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8090000'), "name"=>"Janis Abernathy", "reference"=>"Mrs. Aniyah Lind", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c80a0000'), "author_name"=>"Dr. Calista VonRueden", "content"=>["Ut temporibus labore natus dolores. Recusandae velit nesciunt iste. Sit rerum voluptas. Ratione doloribus nemo est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5815ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df380577353316c8090000", "id"=>"53df380577353316c80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4654ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df380577353316c80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5880ms Redirected to http://test.host/admin/products/53df380577353316c8090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c80b0000'), "name"=>"Kaleigh Ritchie", "reference"=>"Mr. Luisa Bashirian", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c80c0000'), "author_name"=>"Buck Kirlin", "content"=>["Facilis animi consequatur dolore quo alias sed labore. Vitae consequatur qui quis quo similique voluptatibus ut. Iusto quae sit sit. Cupiditate quas praesentium. Vel rem totam veniam laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df380577353316c80b0000", "id"=>"53df380577353316c80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4442ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c80d0000'), "name"=>"Mrs. Winifred Erdman", "reference"=>"Marilie Graham", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c80e0000'), "author_name"=>"Ms. Murray Aufderhar", "content"=>["Itaque maiores quod et et doloremque et. Ratione voluptatum saepe ut sed et iure accusamus. Iusto et et doloremque exercitationem sunt deleniti. Est ut sed quia esse quaerat sunt. Qui animi velit ipsa quia voluptas ipsam debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5866ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df380577353316c80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3841ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c80f0000'), "name"=>"Mr. Lance Boehm", "reference"=>"Bernice Bergnaum", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c8100000'), "author_name"=>"Kale Buckridge", "content"=>["Ut rerum atque neque. Quia nemo quis sint soluta. Vel necessitatibus accusamus nisi dolor et voluptas quas. Quia et et et placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df380577353316c80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4474ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8110000'), "name"=>"Josefa Spinka", "reference"=>"Marlen Morar", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c8120000'), "author_name"=>"Soledad Crist", "content"=>["Quia autem ut. Sit placeat voluptatem accusamus voluptatem. Maxime reiciendis minus. Eum ipsam quos nesciunt corporis omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df380577353316c8110000", "id"=>"53df380577353316c8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8130000'), "name"=>"Porter Eichmann Sr.", "reference"=>"Hanna Lind", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c8140000'), "author_name"=>"Blanche Marquardt", "content"=>["Et quia voluptas deserunt exercitationem quae possimus. Tempore pariatur aut eaque ut. Similique totam consequatur placeat veritatis est. Itaque corporis ut sit saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5698ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df380577353316c8140000", "product_id"=>"53df380577353316c8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8130000'), "comments._id"=>BSON::ObjectId('53df380577353316c8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6874ms Redirected to http://test.host/admin/products/53df380577353316c8130000/comments/53df380577353316c8140000 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('53df380577353316c8150000'), "name"=>"Alexys Corwin DDS", "reference"=>"Laisha Rogahn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df380577353316c8160000'), "firstname"=>"Cara", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5991ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df380577353316c8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df380577353316c8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Redirected to http://test.host/admin/products/53df380577353316c8150000/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('53df380577353316c8180000'), "name"=>"Ilene Bernhard", "reference"=>"Ivy Dooley Sr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df380577353316c8190000'), "firstname"=>"Verla", "lastname"=>"Ruecker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df380577353316c8190000", "product_id"=>"53df380577353316c8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4205ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c81a0000'), "name"=>"Elmo Muller", "reference"=>"Andreanne Rogahn", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df380577353316c81b0000'), "firstname"=>"Hulda", "lastname"=>"Cassin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df380577353316c81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3878ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c81c0000'), "name"=>"Scottie Batz MD", "reference"=>"Lonny Weber", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df380577353316c81d0000'), "firstname"=>"Jessica", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df380577353316c81d0000", "product_id"=>"53df380577353316c81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c81e0000'), "name"=>"Clementina Steuber PhD", "reference"=>"Miss Clare Kessler", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df380577353316c81f0000'), "firstname"=>"Jamaal", "lastname"=>"Mann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5750ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df380577353316c81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df380577353316c81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df380577353316c81e0000/manager 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('53df380577353316c8200000'), "name"=>"Jo Walter DVM", "reference"=>"William Hahn", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.2984ms 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('53df380577353316c8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5814ms Redirected to http://test.host/admin/products/53df380577353316c8210000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3666ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8220000'), "name"=>"Vicente Cronin", "reference"=>"Miss Yessenia Weber", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3662ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df380577353316c8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4384ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms 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.3326ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8230000'), "name"=>"Miss Mckenzie Witting", "reference"=>"Nikki Hagenes", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df380577353316c8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 38ms (Views: 36.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8240000'), "name"=>"Royal Bednar", "reference"=>"Howard Emard III", "quantity"=>"5"}] 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.6480ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8250000'), "name"=>"Vida Auer", "reference"=>"Desiree Reynolds", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 18ms (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('53df380577353316c8280000'), "name"=>"Lennie Lynch", "reference"=>"Jordy Leannon", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5682ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df380577353316c8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380577353316c8290000'), "name"=>"Ms. Claudine Haag", "reference"=>"Darryl Stehr I", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df380577353316c8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4924ms Redirected to http://test.host/admin/products/53df380577353316c8290000 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('53df380577353316c82a0000'), "firstname"=>"Barry", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2846ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3627ms 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('53df380577353316c82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms Redirected to http://test.host/admin/users/53df380577353316c82b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3132ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df380577353316c82c0000'), "firstname"=>"Bridgette", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2956ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df380577353316c82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df380577353316c82c0000')} 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('53df380577353316c82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms 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.2902ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df380577353316c82d0000'), "firstname"=>"Zelma", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df380577353316c82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df380577353316c82d0000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df380577353316c82e0000'), "firstname"=>"Andy", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5501ms 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.5034ms 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('53df380577353316c82f0000'), "firstname"=>"Mauricio", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df380577353316c8300000'), "firstname"=>"Claude", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df380577353316c8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df380577353316c8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df380577353316c8310000'), "firstname"=>"Lucile", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5107ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df380577353316c8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df380577353316c8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df380577353316c8310000 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('53df380577353316c8320000'), "firstname"=>"Mckenna", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2841ms 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('53df380577353316c8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms 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.2976ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8340000'), "firstname"=>"Melyssa", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df380577353316c8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.6ms) Completed 200 OK in 37ms (Views: 36.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8350000'), "firstname"=>"Will", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6068ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8360000'), "firstname"=>"Hassie", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6117ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df380577353316c8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df380577353316c8370000'), "firstname"=>"Hazel", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df380577353316c8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df380577353316c8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3954ms 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('53df380577353316c8380000'), "name"=>"Aric Crona", "reference"=>"Daron Grimes", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df380577353316c8390000'), "author_name"=>"Kristin Kling", "content"=>["Voluptatibus quia repellat dolorem aliquid rerum officiis in. Ducimus dicta consequuntur. Distinctio consequatur et inventore. Rerum iusto voluptatem debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df380577353316c8380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df380577353316c83a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Redirected to http://test.host/products/53df380577353316c8380000/comments/53df380577353316c83a0000 Completed 302 Found in 8729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380577353316c8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8166ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c83b0000'), "name"=>"Ted Wisoky", "reference"=>"Maximo Kshlerin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c83c0000'), "author_name"=>"Keshaun Zulauf", "content"=>["Inventore molestias occaecati optio nobis. Odio velit id aspernatur. Consequatur quisquam a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5678ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df380e77353316c83b0000", "id"=>"53df380e77353316c83c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6763ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df380e77353316c83c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7042ms Redirected to http://test.host/products/53df380e77353316c83b0000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4451ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c83d0000'), "name"=>"Kennedy Runolfsdottir IV", "reference"=>"Guiseppe Hyatt", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c83e0000'), "author_name"=>"Craig Cartwright", "content"=>["Ea placeat ullam veniam ex. Molestias sunt eos aliquam voluptate quis quasi. Odio quaerat rem. Rerum occaecati fuga nisi distinctio sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0069ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df380e77353316c83d0000", "id"=>"53df380e77353316c83e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6699ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 15ms (Views: 10.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c83f0000'), "name"=>"Cory Ullrich", "reference"=>"Minerva Schinner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c8400000'), "author_name"=>"Camille Reilly", "content"=>["Voluptatibus repellat fuga eveniet illo rerum libero. Officiis consequatur autem recusandae iure incidunt. Placeat aperiam similique commodi pariatur perspiciatis molestiae distinctio. Voluptate et esse ullam. Porro similique odit delectus explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.0767ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df380e77353316c83f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Completed 200 OK in 8ms (Views: 4.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c8410000'), "name"=>"Daphnee Schneider", "reference"=>"Clark Rath", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c8420000'), "author_name"=>"Amanda Cruickshank", "content"=>["Eveniet vitae et dolore ut est quidem consequatur. Et et mollitia inventore quo. Voluptatem ut dolorem ratione. Sed adipisci qui sit quas quibusdam. Velit magnam asperiores quis impedit nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7440ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df380e77353316c8410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5497ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c8430000'), "name"=>"Randal Walsh", "reference"=>"Clifton Herman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c8440000'), "author_name"=>"Fritz Mueller", "content"=>["Facere corporis consequuntur optio animi eveniet mollitia eum. Perferendis rem nihil. Velit omnis iusto quibusdam nulla est reprehenderit eum. Facilis et voluptatem blanditiis. Labore rerum adipisci odio ut doloremque recusandae qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6163ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df380e77353316c8430000", "id"=>"53df380e77353316c8440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4997ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c8450000'), "name"=>"Celia Renner", "reference"=>"Emory Block", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c8460000'), "author_name"=>"Dallas Hane", "content"=>["Ipsam molestiae officia corrupti perferendis consequatur. Illum aut praesentium est quo ea. Nostrum totam aliquid. Porro dolorem rerum eaque nihil accusamus. Reiciendis facere id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5922ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df380e77353316c8450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4834ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c8470000'), "name"=>"Kennith Harvey", "reference"=>"Miss Shannon Abbott", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c8480000'), "author_name"=>"Coty Kling", "content"=>["Nobis officia sunt at nam. Officiis deleniti qui blanditiis consectetur. Unde et quis perspiciatis dolores consequatur eaque tempora. Deserunt debitis qui. Velit architecto qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6793ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df380e77353316c8470000", "id"=>"53df380e77353316c8480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4714ms Completed 200 OK in 44ms (Views: 41.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df380e77353316c8490000'), "name"=>"Celestino Ruecker", "reference"=>"Mrs. Damaris Marquardt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df380e77353316c84a0000'), "author_name"=>"Maeve Sporer", "content"=>["Nisi quia laudantium. Ipsa saepe omnis sapiente architecto molestias debitis. Et qui soluta quis sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6236ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df380e77353316c84a0000", "product_id"=>"53df380e77353316c8490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4964ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df380e77353316c8490000'), "comments._id"=>BSON::ObjectId('53df380e77353316c84a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9687ms Redirected to http://test.host/products/53df380e77353316c8490000/comments/53df380e77353316c84a0000 Completed 302 Found in 1310ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c84b0000'), "firstname"=>"Rosetta", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8793ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4832ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c84c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6579ms Redirected to http://test.host/admin/clients/53df381077353316c84c0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4410ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c84d0000'), "firstname"=>"Franz", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4204ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df381077353316c84d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c84d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6104ms 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.4004ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c84e0000'), "firstname"=>"Noemi", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df381077353316c84e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5147ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 15ms (Views: 12.3ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c84f0000'), "firstname"=>"Alejandrin", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5318ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5722ms Completed 200 OK in 10ms (Views: 8.6ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8500000'), "firstname"=>"Mckenzie", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5814ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8510000'), "firstname"=>"Osbaldo", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5810ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df381077353316c8510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms Completed 200 OK in 6ms (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('53df381077353316c8520000'), "firstname"=>"Javier", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.4729ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df381077353316c8520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7495ms Redirected to http://test.host/admin/clients/53df381077353316c8520000 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('53df381077353316c8530000'), "firstname"=>"Lottie", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6717ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4361ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6486ms Redirected to http://test.host/clients/53df381077353316c8540000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3765ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8550000'), "firstname"=>"Amara", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3385ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df381077353316c8550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms Redirected to http://test.host/clients Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4267ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8560000'), "firstname"=>"Frederick", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df381077353316c8560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4395ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 10ms (Views: 7.4ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8570000'), "firstname"=>"Soledad", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5251ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5878ms Completed 200 OK in 60ms (Views: 58.9ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c8580000'), "firstname"=>"Chaya", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6872ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (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('53df381077353316c8590000'), "firstname"=>"Jane", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5858ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df381077353316c8590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4702ms Completed 200 OK in 5ms (Views: 2.7ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df381077353316c85a0000'), "firstname"=>"Rubye", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df381077353316c85a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df381077353316c85a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms Redirected to http://test.host/clients/53df381077353316c85a0000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c85b0000'), "name"=>"Ashley Konopelski", "reference"=>"Holden Koch", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df381077353316c85c0000'), "firstname"=>"Lauryn", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6545ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df381077353316c85b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4415ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c85b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c85b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df381077353316c85d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Redirected to http://test.host/products/53df381077353316c85b0000/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('53df381077353316c85e0000'), "name"=>"Susie Wisozk III", "reference"=>"Jake Hintz", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df381077353316c85f0000'), "firstname"=>"Ora", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df381077353316c85f0000", "product_id"=>"53df381077353316c85e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) 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('53df381077353316c8600000'), "name"=>"Jacinthe Bayer IV", "reference"=>"Jamie Schultz", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df381077353316c8610000'), "firstname"=>"Michaela", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df381077353316c8600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8620000'), "name"=>"Mrs. Parker Kiehn", "reference"=>"Manuel Macejkovic", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df381077353316c8630000'), "firstname"=>"Magdalen", "lastname"=>"Dietrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df381077353316c8630000", "product_id"=>"53df381077353316c8620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8640000'), "name"=>"Jacinthe Stokes", "reference"=>"Tia Wilderman", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df381077353316c8650000'), "firstname"=>"Odessa", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df381077353316c8650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df381077353316c8640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Unpermitted parameters: name Redirected to http://test.host/products/53df381077353316c8640000/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('53df381077353316c8660000'), "name"=>"Jayne Cummerata", "reference"=>"Carissa Ryan Sr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3005ms 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('53df381077353316c8670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Redirected to http://test.host/products/53df381077353316c8670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2841ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8680000'), "name"=>"Miss Thalia Quigley", "reference"=>"Shanon Krajcik", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.2692ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df381077353316c8680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8680000')} 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 MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1796ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8690000'), "name"=>"Oda Baumbach", "reference"=>"Wendell Morar", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df381077353316c8690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c86a0000'), "name"=>"Jaqueline Halvorson", "reference"=>"Edna Johns", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms 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.7850ms Completed 200 OK in 83ms (Views: 82.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c86b0000'), "name"=>"Clementina Wintheiser", "reference"=>"Alayna Wilderman", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms 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.8530ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c86c0000'), "name"=>"Kory Fritsch Sr.", "reference"=>"Danyka O'Reilly", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df381077353316c86c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c86c0000')} 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('53df381077353316c86d0000'), "name"=>"Charles Abbott", "reference"=>"Miss Isobel Lesch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c86f0000'), "name"=>"Willow King II", "reference"=>"Eli Wintheiser", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df381077353316c86f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8700000'), "name"=>"Jermey Trantow DDS", "reference"=>"Anais Grant III", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1958ms 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('53df381077353316c8710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms 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('53df381077353316c8720000'), "name"=>"Bettye Bashirian", "reference"=>"Janae Becker Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df381077353316c8720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms 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('53df381077353316c8730000'), "name"=>"Harold Deckow", "reference"=>"Noemi Waelchi", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms 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('53df381077353316c8750000'), "name"=>"Malinda Kautzer", "reference"=>"Faustino Streich", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df381077353316c8750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms 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('53df381077353316c8760000'), "name"=>"Darrick Kautzer", "reference"=>"Annabelle Emmerich", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df381077353316c8760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms Redirected to http://test.host/products/53df381077353316c8760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8790000'), "name"=>"Eliezer Hilll", "reference"=>"Janae Schamberger", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8770000'), "author_name"=>"Jakob McGlynn", "content"=>["Quia ab itaque sed. Sed cumque expedita deserunt voluptatem necessitatibus autem. Molestiae sed aut optio ut totam et ducimus. Repellendus nesciunt optio."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8780000'), "author_name"=>"Bret Abbott", "content"=>["Et voluptas sit. Dolores provident quo ut alias ut placeat est. Minima unde dicta sit et quae aspernatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df381077353316c8790000", "comment_id"=>"53df381077353316c8770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8790000'), "comments._id"=>BSON::ObjectId('53df381077353316c8770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df381077353316c87a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5413ms Redirected to http://test.host/products/53df381077353316c8790000/comments/53df381077353316c8770000/comments/53df381077353316c87a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c87d0000'), "name"=>"Mr. Neal Kassulke", "reference"=>"Lurline Halvorson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c87b0000'), "author_name"=>"Chesley Carroll", "content"=>["Minus nam temporibus. Dolorum laborum amet numquam quam aperiam. Voluptatem quisquam consequatur maiores tempore molestiae iusto vel. Ut eum quo delectus. Quod dolores vitae ratione consectetur dolore architecto."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c87c0000'), "author_name"=>"Dillon Corwin", "content"=>["Et quidem adipisci veritatis cupiditate eos. Ut omnis eum dolorem. Qui ab molestiae et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df381077353316c87d0000", "comment_id"=>"53df381077353316c87b0000", "id"=>"53df381077353316c87c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c87d0000'), "comments._id"=>BSON::ObjectId('53df381077353316c87b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df381077353316c87c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms Redirected to http://test.host/products/53df381077353316c87d0000/comments/53df381077353316c87b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8800000'), "name"=>"Otilia Cummings IV", "reference"=>"Layla Greenfelder", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c87e0000'), "author_name"=>"Mrs. Nils Hessel", "content"=>["Repellendus nam temporibus quo voluptas. Id ut ut impedit consequuntur ipsum excepturi. Eaque saepe aut odit sit. Porro quod numquam architecto."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c87f0000'), "author_name"=>"Flo Koepp", "content"=>["Possimus odit eveniet itaque. Ea omnis quod. Aut et provident veritatis ab ut. Ipsam omnis aut fugit et veritatis hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df381077353316c8800000", "comment_id"=>"53df381077353316c87e0000", "id"=>"53df381077353316c87f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8830000'), "name"=>"Deshaun Prohaska", "reference"=>"Isidro Wilkinson V", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8810000'), "author_name"=>"Willard Gleason", "content"=>["Maiores recusandae eius architecto qui et delectus. Rerum sit sequi. Vitae aut rerum suscipit rerum ipsum dignissimos et."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8820000'), "author_name"=>"Ms. Jazmyne Dickens", "content"=>["Ipsam quisquam dolor libero quidem quis dolores. Sunt voluptatem quo dolorum dignissimos. Quod fuga ea dignissimos. Atque aut corporis architecto. Ipsum autem quis sequi nihil labore dolorem culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6831ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df381077353316c8830000", "comment_id"=>"53df381077353316c8810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Completed 200 OK in 30ms (Views: 28.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8860000'), "name"=>"Colby Huels", "reference"=>"Patricia Mohr", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8840000'), "author_name"=>"Kaylah Hagenes PhD", "content"=>["Repellat dignissimos id repudiandae corrupti. Aut est perspiciatis eveniet id. Et et ad amet tenetur sit maiores."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8850000'), "author_name"=>"Ellen Will", "content"=>["Aut est fugit rerum. Aperiam praesentium qui debitis qui perferendis quis. Accusamus laudantium eius vitae consequatur rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df381077353316c8860000", "comment_id"=>"53df381077353316c8840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8890000'), "name"=>"Laury Mayer", "reference"=>"Rosario Satterfield", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8870000'), "author_name"=>"Brooks Ward", "content"=>["Minus quam ex. Omnis nisi necessitatibus adipisci. Non natus pariatur temporibus. Excepturi et rerum. Eaque ex placeat odio."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8880000'), "author_name"=>"Savanna Wiza", "content"=>["Quo et doloribus iste et hic et sequi. Amet iste temporibus adipisci delectus sunt molestiae. Delectus et quidem asperiores velit qui repudiandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df381077353316c8890000", "comment_id"=>"53df381077353316c8870000", "id"=>"53df381077353316c8880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3959ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c88c0000'), "name"=>"Donnell Lebsack", "reference"=>"Skyla Goldner Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c88a0000'), "author_name"=>"Demarco Bosco", "content"=>["Impedit mollitia quisquam. Vitae odit et ut. Dolorem impedit ipsum necessitatibus magni reiciendis ut at. Qui libero laudantium voluptatem. Eum voluptatem modi est aperiam aut in."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c88b0000'), "author_name"=>"Margret Breitenberg", "content"=>["Est autem sed id natus at sunt. Fugit nam quidem voluptatibus quisquam. Repellat commodi accusamus temporibus corrupti. Et perspiciatis ab et cum eum iste debitis. Omnis nostrum accusantium sed voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df381077353316c88c0000", "comment_id"=>"53df381077353316c88a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c88f0000'), "name"=>"Mr. Jerome Kunde", "reference"=>"Wilfrid Keebler MD", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c88d0000'), "author_name"=>"Herbert Welch", "content"=>["Repudiandae culpa dolorem vel fuga nemo asperiores non. Et consequatur aspernatur. Dolores blanditiis aut hic omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c88e0000'), "author_name"=>"Coby Cormier", "content"=>["Deserunt temporibus ea culpa minima. Esse quia possimus omnis. Aut sit quasi eos quia velit. Sed ipsum non facilis aut et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5272ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df381077353316c88f0000", "comment_id"=>"53df381077353316c88d0000", "id"=>"53df381077353316c88e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df381077353316c8920000'), "name"=>"Alverta Hirthe IV", "reference"=>"Michale DuBuque", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8900000'), "author_name"=>"Tierra Ernser Sr.", "content"=>["Tempora eaque doloremque recusandae quaerat assumenda quia aspernatur. Deserunt suscipit possimus eum nesciunt. Suscipit sed quam. Aliquid eum blanditiis laboriosam ut ipsam tempora. Sint pariatur fugit cum expedita."], "comments"=>[{"_id"=>BSON::ObjectId('53df381077353316c8910000'), "author_name"=>"Pascale Koss", "content"=>["Dolorum error est consequatur dolorem sed ipsum eum. Soluta quam commodi perspiciatis quisquam in corporis. Possimus sunt aliquid repudiandae ducimus dolores vel laudantium. Architecto optio non deleniti eaque corporis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df381077353316c8910000", "product_id"=>"53df381077353316c8920000", "comment_id"=>"53df381077353316c8900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df381077353316c8920000')} 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('53df381077353316c8920000'), "comments._id"=>BSON::ObjectId('53df381077353316c8900000'), "comments.0.comments._id"=>BSON::ObjectId('53df381077353316c8910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms Redirected to http://test.host/products/53df381077353316c8920000/comments/53df381077353316c8900000/comments/53df381077353316c8910000 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('53df381077353316c8930000'), "firstname"=>"Carley", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2992ms 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('53df381077353316c8940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4932ms Redirected to http://test.host/users/53df381077353316c8940000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2987ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df381077353316c8950000'), "firstname"=>"Bradly", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2779ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df381077353316c8950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df381077353316c8950000')} 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('53df381077353316c8950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms 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.2275ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df381077353316c8960000'), "firstname"=>"Paolo", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df381077353316c8960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df381077353316c8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df381077353316c8970000'), "firstname"=>"Eden", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms 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.3907ms Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df381077353316c8980000'), "firstname"=>"Loraine", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms 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('53df381077353316c8990000'), "firstname"=>"Hans", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df381077353316c8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df381077353316c8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df381077353316c89a0000'), "firstname"=>"Kaia", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df381077353316c89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df381077353316c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Unpermitted parameters: name Redirected to http://test.host/users/53df381077353316c89a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms 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.3155ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms 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.2757ms 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.2769ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7000000'), "firstname"=>"Eric", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2636ms 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('53df383077353316f7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms 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.2620ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7020000'), "firstname"=>"Darian", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df383077353316f7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 47ms (Views: 45.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7030000'), "firstname"=>"Norene", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7040000'), "firstname"=>"Bridgette", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df383077353316f7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7050000'), "firstname"=>"Alvena", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df383077353316f7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms 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('53df383077353316f7060000'), "name"=>"Chance Wehner DVM", "reference"=>"Dr. Jeromy Koch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f7070000'), "author_name"=>"Justina Maggio I", "content"=>["Veniam voluptas et ab. Mollitia qui adipisci. Beatae qui voluptatem praesentium eos. Recusandae necessitatibus deserunt id. Sit eaque sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df383077353316f7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7060000')} 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('53df383077353316f7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df383077353316f7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms Redirected to http://test.host/admin/products/53df383077353316f7060000/comments/53df383077353316f7080000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7090000'), "name"=>"Dr. Blaise Barrows", "reference"=>"Grover Kerluke", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f70a0000'), "author_name"=>"Juanita Moen", "content"=>["Voluptas earum saepe molestiae id. Atque dolor omnis saepe voluptatibus. Voluptatem incidunt soluta corrupti et nam ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df383077353316f7090000", "id"=>"53df383077353316f70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df383077353316f70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/admin/products/53df383077353316f7090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f70b0000'), "name"=>"Alverta Daniel MD", "reference"=>"Anabel Pfeffer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f70c0000'), "author_name"=>"Natalie Harris", "content"=>["Quia aperiam molestias quis. Tempora distinctio occaecati doloribus necessitatibus ad. Dolorem vitae voluptatem nisi sunt. Sed ut illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df383077353316f70b0000", "id"=>"53df383077353316f70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f70d0000'), "name"=>"Enos Russel", "reference"=>"Savanna Howell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f70e0000'), "author_name"=>"Laurel Larson", "content"=>["Deleniti error autem voluptas commodi quis placeat. Inventore placeat sit ab voluptatem nulla ipsa. Inventore perspiciatis aspernatur. Iste omnis ea fuga totam occaecati ut. Occaecati voluptates veniam reprehenderit nulla facilis iure libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df383077353316f70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f70f0000'), "name"=>"Miss Janie Cremin", "reference"=>"Kristian Will", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f7100000'), "author_name"=>"Adelia Nader DVM", "content"=>["Fuga est vero est placeat. Et ipsum sit quidem. Aperiam voluptatem unde architecto assumenda. Non error tempore facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5913ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df383077353316f70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3971ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7110000'), "name"=>"Larissa Murray", "reference"=>"Elvis Willms II", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f7120000'), "author_name"=>"Zula Kertzmann", "content"=>["Voluptatum blanditiis non quibusdam sit consequuntur autem. Et non beatae. Distinctio architecto optio suscipit. Aut eius est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5821ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df383077353316f7110000", "id"=>"53df383077353316f7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7130000'), "name"=>"Ms. Hank Waters", "reference"=>"Meghan Hackett", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f7140000'), "author_name"=>"Victor Rempel", "content"=>["Eligendi autem totam. Qui dolorem corporis placeat consequatur. Ducimus odio amet explicabo asperiores et quis veniam. Quam voluptatem sint et doloremque qui officiis. Soluta consequatur quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5896ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df383077353316f7140000", "product_id"=>"53df383077353316f7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7130000'), "comments._id"=>BSON::ObjectId('53df383077353316f7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6721ms Redirected to http://test.host/admin/products/53df383077353316f7130000/comments/53df383077353316f7140000 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('53df383077353316f7150000'), "name"=>"Martina Hodkiewicz", "reference"=>"Miss Lavinia Lemke", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df383077353316f7160000'), "firstname"=>"Mollie", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6051ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df383077353316f7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4431ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df383077353316f7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Redirected to http://test.host/admin/products/53df383077353316f7150000/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('53df383077353316f7180000'), "name"=>"Mr. Rolando Wilkinson", "reference"=>"Vladimir Streich", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df383077353316f7190000'), "firstname"=>"Roxane", "lastname"=>"Lubowitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df383077353316f7190000", "product_id"=>"53df383077353316f7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f71a0000'), "name"=>"Dr. Hunter Mills", "reference"=>"Allen Crooks IV", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df383077353316f71b0000'), "firstname"=>"Miller", "lastname"=>"Bogan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5517ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df383077353316f71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f71c0000'), "name"=>"Mrs. Salvador Rice", "reference"=>"Ebony Shields", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df383077353316f71d0000'), "firstname"=>"Hubert", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df383077353316f71d0000", "product_id"=>"53df383077353316f71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f71e0000'), "name"=>"Nat Borer", "reference"=>"Mr. Corrine Bailey", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df383077353316f71f0000'), "firstname"=>"Lindsey", "lastname"=>"Gutmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df383077353316f71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df383077353316f71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3815ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df383077353316f71e0000/manager 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('53df383077353316f7200000'), "name"=>"Mr. Violet Senger", "reference"=>"Janice Kulas", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5604ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3337ms 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('53df383077353316f7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms Redirected to http://test.host/admin/products/53df383077353316f7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3265ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7220000'), "name"=>"Libbie Feeney V", "reference"=>"Betty Little", "quantity"=>"5"}] 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.3119ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df383077353316f7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms 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.3304ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7230000'), "name"=>"Dr. Gabe Champlin", "reference"=>"Adrianna Steuber", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df383077353316f7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.9ms) Completed 200 OK in 39ms (Views: 37.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7240000'), "name"=>"Etha Mann", "reference"=>"Sydnie Fadel", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4471ms 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.6826ms Completed 200 OK in 11ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7250000'), "name"=>"Meghan Predovic", "reference"=>"Dario Wuckert", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5386ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df383077353316f7280000'), "name"=>"Reina Swaniawski Sr.", "reference"=>"Aisha Mitchell", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df383077353316f7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383077353316f7290000'), "name"=>"Lorenzo Padberg", "reference"=>"Cecile Rowe", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5828ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df383077353316f7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4575ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5840ms Redirected to http://test.host/admin/products/53df383077353316f7290000 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('53df383077353316f72a0000'), "firstname"=>"Angela", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1745ms 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('53df383077353316f72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms Redirected to http://test.host/admin/users/53df383077353316f72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3209ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383077353316f72c0000'), "firstname"=>"Angelica", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2823ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df383077353316f72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383077353316f72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383077353316f72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms 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.2890ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383077353316f72d0000'), "firstname"=>"Claud", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df383077353316f72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383077353316f72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383077353316f72e0000'), "firstname"=>"Gerard", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5428ms 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.3166ms 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('53df383077353316f72f0000'), "firstname"=>"Elliot", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383077353316f7300000'), "firstname"=>"Oscar", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df383077353316f7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383077353316f7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383077353316f7310000'), "firstname"=>"Hector", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df383077353316f7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383077353316f7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df383077353316f7310000 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('53df383077353316f7320000'), "firstname"=>"Telly", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2441ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2853ms 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('53df383077353316f7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms 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.2333ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7340000'), "firstname"=>"Fidel", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df383077353316f7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7350000'), "firstname"=>"Rebekah", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 35ms (Views: 34.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7360000'), "firstname"=>"Candace", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df383077353316f7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df383077353316f7370000'), "firstname"=>"Rebeka", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df383077353316f7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df383077353316f7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms 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('53df383077353316f7380000'), "name"=>"Romaine Keeling", "reference"=>"Mr. Brown Jast", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df383077353316f7390000'), "author_name"=>"Mr. Rosella Donnelly", "content"=>["Numquam quam commodi laboriosam ipsam. Porro temporibus dolores dolorem est. Rerum tenetur enim provident ut incidunt minima itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df383077353316f7380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df383077353316f73a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms Redirected to http://test.host/products/53df383077353316f7380000/comments/53df383077353316f73a0000 Completed 302 Found in 5727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383077353316f7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8690ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f73b0000'), "name"=>"Jamaal Weimann", "reference"=>"Freddy Rosenbaum", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f73c0000'), "author_name"=>"Rosetta Farrell PhD", "content"=>["Doloremque aut eligendi dolorem numquam iusto libero. Placeat rerum libero dolorum. Consequuntur facere facilis. A voluptatem cupiditate tempora error necessitatibus cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5544ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df383677353316f73b0000", "id"=>"53df383677353316f73c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df383677353316f73c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6705ms Redirected to http://test.host/products/53df383677353316f73b0000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5636ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f73d0000'), "name"=>"Mr. Xzavier Wuckert", "reference"=>"Kellie Homenick", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f73e0000'), "author_name"=>"Jamey Hagenes", "content"=>["Nesciunt non nobis. Illum voluptas dolorem nam ut sit. Harum eaque in atque. Reiciendis qui debitis aperiam voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6568ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df383677353316f73d0000", "id"=>"53df383677353316f73e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6577ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 58ms (Views: 53.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f73f0000'), "name"=>"Eve Keeling", "reference"=>"Vida Mertz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f7400000'), "author_name"=>"Mrs. Eldred Bahringer", "content"=>["Sapiente quo voluptas nesciunt ratione. Quia quidem iure. Nostrum mollitia dolorem eum voluptas. Et dignissimos repellat aliquam qui ducimus alias. Ut provident quia magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df383677353316f73f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4836ms Completed 200 OK in 7ms (Views: 4.5ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f7410000'), "name"=>"Shyann Torp", "reference"=>"Litzy Williamson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f7420000'), "author_name"=>"Myrtle Koelpin", "content"=>["Ut aliquam similique quaerat ullam sunt et. Ut nulla dolorum hic. Eveniet ullam aut nesciunt. Vel quis voluptatum reiciendis. Soluta velit doloremque quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7130ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df383677353316f7410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4835ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f7430000'), "name"=>"Rosemary McClure", "reference"=>"Mr. Dion Mayert", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f7440000'), "author_name"=>"Mrs. Bradford Cassin", "content"=>["Qui laudantium itaque libero qui debitis sed reprehenderit. Et saepe et aut mollitia vel natus aperiam. Amet aut tempore autem rerum ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df383677353316f7430000", "id"=>"53df383677353316f7440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f7450000'), "name"=>"Arlene Cummerata", "reference"=>"Ms. Elton Boyer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f7460000'), "author_name"=>"Jasmin Keeling Sr.", "content"=>["Quibusdam numquam qui facere. Molestiae exercitationem omnis accusamus aliquam. Perferendis aut saepe dolor. Molestias tenetur nihil. Quis exercitationem minima est amet numquam qui laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df383677353316f7450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4735ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f7470000'), "name"=>"Karina Johnson", "reference"=>"Lilly Turcotte IV", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f7480000'), "author_name"=>"Yasmine Jenkins", "content"=>["Aliquam dignissimos omnis minima aspernatur rem. Ea est cupiditate ea dolore. Doloribus et molestiae nam. Totam quod nobis aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6434ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df383677353316f7470000", "id"=>"53df383677353316f7480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4588ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383677353316f7490000'), "name"=>"Liliana Ruecker", "reference"=>"Aglae Miller", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df383677353316f74a0000'), "author_name"=>"Miss Rae Mueller", "content"=>["Voluptatem at sapiente aut est cum. Eum sed accusamus corporis earum sit. Cum in a tenetur aliquid velit rem. Et quo officiis enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6551ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df383677353316f74a0000", "product_id"=>"53df383677353316f7490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383677353316f7490000'), "comments._id"=>BSON::ObjectId('53df383677353316f74a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3747ms Redirected to http://test.host/products/53df383677353316f7490000/comments/53df383677353316f74a0000 Completed 302 Found in 2308ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f74b0000'), "firstname"=>"Irving", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9387ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4791ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f74c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6749ms Redirected to http://test.host/admin/clients/53df383977353316f74c0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4520ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f74d0000'), "firstname"=>"Abbie", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.1235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3901ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df383977353316f74d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4878ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f74d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5807ms 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.3744ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f74e0000'), "firstname"=>"Lionel", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df383977353316f74e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 15ms (Views: 12.7ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f74f0000'), "firstname"=>"Fatima", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4567ms Completed 200 OK in 52ms (Views: 50.7ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7500000'), "firstname"=>"Creola", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms 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.5ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7510000'), "firstname"=>"Colten", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df383977353316f7510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms 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('53df383977353316f7520000'), "firstname"=>"Zora", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df383977353316f7520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7520000')} 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('53df383977353316f7520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Redirected to http://test.host/admin/clients/53df383977353316f7520000 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('53df383977353316f7530000'), "firstname"=>"Jesus", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1960ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms Redirected to http://test.host/clients/53df383977353316f7540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1906ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7550000'), "firstname"=>"Emiliano", "lastname"=>"Langworth"}] 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.1696ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df383977353316f7550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms 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.1728ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7560000'), "firstname"=>"Yvonne", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df383977353316f7560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms 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('53df383977353316f7570000'), "firstname"=>"Eveline", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df383977353316f7580000'), "firstname"=>"Flossie", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms 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.7ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df383977353316f7590000'), "firstname"=>"Oleta", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df383977353316f7590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms 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('53df383977353316f75a0000'), "firstname"=>"Earlene", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df383977353316f75a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df383977353316f75a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Redirected to http://test.host/clients/53df383977353316f75a0000 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('53df383977353316f75b0000'), "name"=>"Jeanette Block DVM", "reference"=>"Amelie Schumm", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df383977353316f75c0000'), "firstname"=>"Chelsea", "lastname"=>"Hammes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df383977353316f75b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f75b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f75b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df383977353316f75d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Redirected to http://test.host/products/53df383977353316f75b0000/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('53df383977353316f75e0000'), "name"=>"Jose Nader DVM", "reference"=>"Pattie Gleason", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df383977353316f75f0000'), "firstname"=>"Winifred", "lastname"=>"Ziemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df383977353316f75f0000", "product_id"=>"53df383977353316f75e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.8ms) Completed 200 OK in 35ms (Views: 33.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7600000'), "name"=>"Eleanora Kuhlman", "reference"=>"Price Hickle", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df383977353316f7610000'), "firstname"=>"Nellie", "lastname"=>"Pacocha"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df383977353316f7600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7620000'), "name"=>"Lambert Reichel", "reference"=>"Destiney Thompson", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df383977353316f7630000'), "firstname"=>"Jana", "lastname"=>"Hills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df383977353316f7630000", "product_id"=>"53df383977353316f7620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms Completed 200 OK in 40ms (Views: 38.1ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7640000'), "name"=>"Lelah Hayes", "reference"=>"Chet Prosacco DVM", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df383977353316f7650000'), "firstname"=>"Humberto", "lastname"=>"Reinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df383977353316f7650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df383977353316f7640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms Unpermitted parameters: name Redirected to http://test.host/products/53df383977353316f7640000/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('53df383977353316f7660000'), "name"=>"Sincere Koch", "reference"=>"Itzel Cummings", "quantity"=>"2"}] 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=>"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('53df383977353316f7670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Redirected to http://test.host/products/53df383977353316f7670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7680000'), "name"=>"Wava Luettgen DVM", "reference"=>"Edgardo Smith", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1594ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df383977353316f7680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms 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('53df383977353316f7690000'), "name"=>"Mrs. Isai Windler", "reference"=>"Newton Swaniawski", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df383977353316f7690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f76a0000'), "name"=>"Dillan Wilderman", "reference"=>"Lambert Stroman IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms 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.6966ms Completed 200 OK in 21ms (Views: 20.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f76b0000'), "name"=>"Nigel Okuneva Sr.", "reference"=>"Loraine Hintz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms 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.6502ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f76c0000'), "name"=>"Ashlee Watsica", "reference"=>"Uriel Hoeger MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df383977353316f76c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms 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('53df383977353316f76d0000'), "name"=>"Columbus Bergnaum", "reference"=>"Arvel Feest", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f76f0000'), "name"=>"Adeline Weimann", "reference"=>"Stevie Reichel Sr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df383977353316f76f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7700000'), "name"=>"Omer Krajcik IV", "reference"=>"Megane Von", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1639ms 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('53df383977353316f7710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms Completed 201 Created in 29ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1594ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7720000'), "name"=>"Josianne Bergstrom", "reference"=>"Wallace Kuhlman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df383977353316f7720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7720000')} 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('53df383977353316f7720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms 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('53df383977353316f7730000'), "name"=>"Cordell Casper", "reference"=>"Margarita Kshlerin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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('53df383977353316f7750000'), "name"=>"Rebeca Hane Jr.", "reference"=>"Idella Heller", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df383977353316f7750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7750000')} 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('53df383977353316f7750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2243ms Completed 202 Accepted in 8ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7760000'), "name"=>"Milan Roberts", "reference"=>"Joannie Zulauf", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df383977353316f7760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms Redirected to http://test.host/products/53df383977353316f7760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7790000'), "name"=>"Kendall Haag DVM", "reference"=>"Ms. Bradford Brown", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7770000'), "author_name"=>"Mallory Haag", "content"=>["Aut quis voluptatem suscipit. Unde nisi quia non beatae mollitia. Rerum temporibus veritatis accusantium eum aut. Magnam nobis voluptas inventore a aut distinctio ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7780000'), "author_name"=>"Rashawn Johnston", "content"=>["Doloribus optio asperiores. Maxime aut a numquam accusamus et nisi. Architecto soluta ab laborum magnam fugiat mollitia et. Numquam occaecati quae dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df383977353316f7790000", "comment_id"=>"53df383977353316f7770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7790000'), "comments._id"=>BSON::ObjectId('53df383977353316f7770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df383977353316f77a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms Redirected to http://test.host/products/53df383977353316f7790000/comments/53df383977353316f7770000/comments/53df383977353316f77a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f77d0000'), "name"=>"Jennie Koepp", "reference"=>"Aric Wyman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f77b0000'), "author_name"=>"Emilia West", "content"=>["Beatae itaque blanditiis sit in. Est id unde sit minus cumque minima consequatur. Recusandae neque omnis. Quaerat velit sit sint rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f77c0000'), "author_name"=>"Kenya Reichel", "content"=>["Minus et totam. Omnis voluptatibus eveniet magnam consequatur molestiae. Sint voluptatem sed soluta sunt quos molestias similique. Culpa repellat iusto autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df383977353316f77d0000", "comment_id"=>"53df383977353316f77b0000", "id"=>"53df383977353316f77c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f77d0000')} 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('53df383977353316f77d0000'), "comments._id"=>BSON::ObjectId('53df383977353316f77b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df383977353316f77c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms Redirected to http://test.host/products/53df383977353316f77d0000/comments/53df383977353316f77b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7800000'), "name"=>"Garett Frami", "reference"=>"Baylee Dicki", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f77e0000'), "author_name"=>"Colton Wiegand", "content"=>["Numquam quia est. Sit asperiores dolor vel quidem et et et. Consequatur consequuntur sit quam voluptates laboriosam a recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f77f0000'), "author_name"=>"Rachelle Jerde", "content"=>["Officia earum ut sed optio. Officia nam laborum veritatis quo sit quo. Ex qui ut ipsum quisquam doloremque sed. Id at non velit accusantium. Porro consequatur tempora sunt voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df383977353316f7800000", "comment_id"=>"53df383977353316f77e0000", "id"=>"53df383977353316f77f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7830000'), "name"=>"Tina Fay", "reference"=>"Ms. Ramiro Blanda", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7810000'), "author_name"=>"Fiona Murphy", "content"=>["Dolores eaque similique enim sint. Ipsam omnis mollitia. Suscipit aspernatur ratione est. Et accusantium nostrum sit ducimus fugit excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7820000'), "author_name"=>"Mrs. Ova Brakus", "content"=>["Doloremque sint ipsa modi. Id et nihil impedit commodi dignissimos facere ipsam. Qui et magni totam debitis rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df383977353316f7830000", "comment_id"=>"53df383977353316f7810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7860000'), "name"=>"Hollie O'Conner", "reference"=>"Wayne Torphy Jr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7840000'), "author_name"=>"Dwight Hackett II", "content"=>["Iste autem corporis nobis beatae accusamus. Architecto ullam ut quo autem. Vel ad sint voluptatem numquam et."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7850000'), "author_name"=>"Isabella Kertzmann", "content"=>["Dicta ducimus qui tempore enim harum. Placeat porro aut. Et officiis provident veniam. Ad repellat at nihil aut. Velit voluptatem quo eos quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5497ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df383977353316f7860000", "comment_id"=>"53df383977353316f7840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7890000'), "name"=>"Rosetta Becker DDS", "reference"=>"Mr. Waylon Crist", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7870000'), "author_name"=>"Vickie Ankunding", "content"=>["Dolorem ut ipsa in. Aut tenetur eos ut. Vitae autem qui aut dolorem perferendis. Sunt tempore temporibus maxime."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7880000'), "author_name"=>"Kelsie Adams", "content"=>["Et consequatur quia sed dolores odit quidem occaecati. Unde ipsum aut et officiis aut et eos. Aliquid laudantium quis eos distinctio debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df383977353316f7890000", "comment_id"=>"53df383977353316f7870000", "id"=>"53df383977353316f7880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f78c0000'), "name"=>"Lorenzo Ortiz", "reference"=>"Jamaal Considine", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f78a0000'), "author_name"=>"Viola Wisoky", "content"=>["Quae quibusdam magni et recusandae non velit modi. Pariatur aliquam iure officiis magni. Perspiciatis nihil neque unde."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f78b0000'), "author_name"=>"Adalberto Lindgren", "content"=>["Consequatur magnam laborum dolorem. Dolores itaque est laudantium vel eius iste quis. Nemo est molestias dolores ullam deserunt. Quos enim qui et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df383977353316f78c0000", "comment_id"=>"53df383977353316f78a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f78f0000'), "name"=>"Paige Russel", "reference"=>"Sarai Upton", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f78d0000'), "author_name"=>"Angelica Hermann MD", "content"=>["Dolor laudantium numquam eligendi delectus magni quam reiciendis. Qui repellendus quisquam ad odio. Repudiandae harum vel quos enim eos cupiditate perferendis. Qui voluptas aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f78e0000'), "author_name"=>"Taylor Harvey", "content"=>["Ut unde minus possimus earum. Labore quos minus sunt. Aperiam nostrum qui omnis sed. Labore est aut fugit qui itaque reprehenderit molestias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df383977353316f78f0000", "comment_id"=>"53df383977353316f78d0000", "id"=>"53df383977353316f78e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df383977353316f7920000'), "name"=>"Claud Rippin", "reference"=>"Raymundo Wiza", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7900000'), "author_name"=>"Margarette Pfeffer", "content"=>["Quaerat itaque consequatur mollitia consequuntur optio esse. Quibusdam accusantium enim fugit quia in molestiae. Sint voluptas rerum officia non blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('53df383977353316f7910000'), "author_name"=>"Weldon Tillman V", "content"=>["Sequi repellendus tempora laboriosam. Quos odio labore molestiae et eos ducimus. Nihil harum repellendus incidunt accusantium temporibus esse. Exercitationem quia consequatur inventore eveniet tenetur. Nobis deserunt illo autem cupiditate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df383977353316f7910000", "product_id"=>"53df383977353316f7920000", "comment_id"=>"53df383977353316f7900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df383977353316f7920000'), "comments._id"=>BSON::ObjectId('53df383977353316f7900000'), "comments.0.comments._id"=>BSON::ObjectId('53df383977353316f7910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Redirected to http://test.host/products/53df383977353316f7920000/comments/53df383977353316f7900000/comments/53df383977353316f7910000 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('53df383977353316f7930000'), "firstname"=>"Torrance", "lastname"=>"Bradtke"}] 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.2367ms 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('53df383977353316f7940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Redirected to http://test.host/users/53df383977353316f7940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1819ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383977353316f7950000'), "firstname"=>"Giovanna", "lastname"=>"Bahringer"}] 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=>"admin_users", :query=>{}} runtime: 0.1603ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df383977353316f7950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383977353316f7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383977353316f7950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms 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.1593ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383977353316f7960000'), "firstname"=>"Ezequiel", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df383977353316f7960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383977353316f7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df383977353316f7970000'), "firstname"=>"Melyssa", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0302ms 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.4058ms 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('53df383977353316f7980000'), "firstname"=>"Estefania", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms 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: 4.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df383977353316f7990000'), "firstname"=>"Kiana", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df383977353316f7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383977353316f7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms 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('53df383977353316f79a0000'), "firstname"=>"Felicity", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df383977353316f79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df383977353316f79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms Unpermitted parameters: name Redirected to http://test.host/users/53df383977353316f79a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms 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.3104ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products 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.3478ms 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.3941ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a000000'), "firstname"=>"Arielle", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3316ms 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('53df385f773533172a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms 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.3434ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a020000'), "firstname"=>"Laurel", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df385f773533172a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df385f773533172a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 47ms (Views: 45.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a030000'), "firstname"=>"Herta", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a040000'), "firstname"=>"Jacky", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df385f773533172a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df385f773533172a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a050000'), "firstname"=>"Madonna", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.9578ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df385f773533172a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df385f773533172a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4612ms 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('53df385f773533172a060000'), "name"=>"Shanna Price IV", "reference"=>"Julius Dickens", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a070000'), "author_name"=>"Miss Joe Gorczany", "content"=>["Ut voluptatem aut. Sed tenetur et recusandae quo a nulla. Alias consequatur modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df385f773533172a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4535ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df385f773533172a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms Redirected to http://test.host/admin/products/53df385f773533172a060000/comments/53df385f773533172a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4319ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a090000'), "name"=>"Khalil Gislason I", "reference"=>"Naomi Koelpin MD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a0a0000'), "author_name"=>"Elizabeth Herman", "content"=>["Alias eos blanditiis rem sed dignissimos. Earum eveniet at. Quo sit ipsam maiores magni laboriosam. Voluptas dolorem eum voluptatem quae magni culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df385f773533172a090000", "id"=>"53df385f773533172a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5607ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df385f773533172a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6009ms Redirected to http://test.host/admin/products/53df385f773533172a090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a0b0000'), "name"=>"Abagail Windler II", "reference"=>"Corrine Donnelly", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a0c0000'), "author_name"=>"Mr. Van Koelpin", "content"=>["Alias enim impedit nam. Praesentium minus inventore reiciendis voluptatem autem. Aut vel temporibus eos amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5450ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df385f773533172a0b0000", "id"=>"53df385f773533172a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4528ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a0d0000'), "name"=>"Jane Dietrich", "reference"=>"Cydney Kuphal", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a0e0000'), "author_name"=>"Abdullah Bogisich", "content"=>["Maiores eos minima. Tempora eum possimus odio omnis at. Quis maxime rem quisquam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6322ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df385f773533172a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a0f0000'), "name"=>"Grady Schumm", "reference"=>"Luigi Veum", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a100000'), "author_name"=>"Jennings Aufderhar", "content"=>["Aperiam atque ut architecto aut. Iusto modi qui. Non assumenda eum ut non cupiditate saepe ipsa. Quas rerum explicabo cum ea consequatur. Distinctio optio non dolor illum consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4143ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df385f773533172a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a110000'), "name"=>"Ashlynn Pacocha", "reference"=>"Dr. Kaylah Dooley", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a120000'), "author_name"=>"Lloyd Bosco", "content"=>["Optio voluptatum asperiores ut quae provident aut corrupti. Quia dolor et nemo eos dignissimos aut. Repudiandae et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df385f773533172a110000", "id"=>"53df385f773533172a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3959ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a130000'), "name"=>"Golda Effertz", "reference"=>"Ines Lehner Sr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df385f773533172a140000'), "author_name"=>"Arnoldo Senger", "content"=>["Odit recusandae ea ab nisi minima dolorem. Ullam ab numquam accusamus harum veniam. Vero iure voluptatum eaque aut sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df385f773533172a140000", "product_id"=>"53df385f773533172a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a130000'), "comments._id"=>BSON::ObjectId('53df385f773533172a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Redirected to http://test.host/admin/products/53df385f773533172a130000/comments/53df385f773533172a140000 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('53df385f773533172a150000'), "name"=>"Norene Walsh DVM", "reference"=>"Ms. Glenna Blick", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a160000'), "firstname"=>"Alexandra", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df385f773533172a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Redirected to http://test.host/admin/products/53df385f773533172a150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a180000'), "name"=>"Sofia Cronin", "reference"=>"Timmy Douglas", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a190000'), "firstname"=>"Eugene", "lastname"=>"Pollich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df385f773533172a190000", "product_id"=>"53df385f773533172a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a1a0000'), "name"=>"Eden Schaefer", "reference"=>"Linda Schimmel", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a1b0000'), "firstname"=>"Angie", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df385f773533172a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a1c0000'), "name"=>"Xander Tromp MD", "reference"=>"Jany Dare", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a1d0000'), "firstname"=>"Marcelino", "lastname"=>"Padberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df385f773533172a1d0000", "product_id"=>"53df385f773533172a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a1e0000'), "name"=>"Miss Juanita Quitzon", "reference"=>"Miss Jett Connelly", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df385f773533172a1f0000'), "firstname"=>"Billie", "lastname"=>"Schowalter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df385f773533172a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df385f773533172a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df385f773533172a1e0000/manager 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('53df385f773533172a200000'), "name"=>"Trystan Wisozk", "reference"=>"Tatum Turner", "quantity"=>"3"}] 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.2840ms 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('53df385f773533172a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms Redirected to http://test.host/admin/products/53df385f773533172a210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1874ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a220000'), "name"=>"Jameson Schmidt Sr.", "reference"=>"Viviane Stracke", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2932ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df385f773533172a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3978ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms 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.3075ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a230000'), "name"=>"Katlynn Doyle", "reference"=>"Lorine Hand MD", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5801ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df385f773533172a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 38ms (Views: 36.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a240000'), "name"=>"Marianne Lindgren", "reference"=>"Broderick Farrell", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6240ms 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.6953ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a250000'), "name"=>"Mrs. Kianna Kohler", "reference"=>"Dr. Mozelle Shields", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5252ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a280000'), "name"=>"Maryam Weber", "reference"=>"Delphia Pagac I", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5704ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df385f773533172a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4238ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df385f773533172a290000'), "name"=>"Jackeline Daugherty III", "reference"=>"Alessandro Lehner", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5432ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df385f773533172a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3864ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df385f773533172a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms Redirected to http://test.host/admin/products/53df385f773533172a290000 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('53df385f773533172a2a0000'), "firstname"=>"Reva", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5995ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2998ms 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('53df385f773533172a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5283ms Redirected to http://test.host/admin/users/53df385f773533172a2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2971ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df385f773533172a2c0000'), "firstname"=>"Gracie", "lastname"=>"Erdman"}] 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=>"admin_users", :query=>{}} runtime: 0.2901ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df385f773533172a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df385f773533172a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df385f773533172a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4769ms Redirected to http://test.host/admin/users Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2947ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df385f773533172a2d0000'), "firstname"=>"Kaitlyn", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df385f773533172a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df385f773533172a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3683ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df385f773533172a2e0000'), "firstname"=>"Amara", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms 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.4674ms 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('53df385f773533172a2f0000'), "firstname"=>"Stanford", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4932ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df385f773533172a300000'), "firstname"=>"Meda", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6105ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df385f773533172a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df385f773533172a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4455ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df385f773533172a310000'), "firstname"=>"Penelope", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df385f773533172a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df385f773533172a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df385f773533172a310000 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('53df385f773533172a320000'), "firstname"=>"Maybelle", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3231ms 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('53df385f773533172a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms 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.2943ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a340000'), "firstname"=>"Mariah", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df385f773533172a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df385f773533172a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a350000'), "firstname"=>"Ciara", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 35ms (Views: 34.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df385f773533172a360000'), "firstname"=>"Maudie", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6176ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df385f773533172a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df385f773533172a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3803ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3860773533172a370000'), "firstname"=>"Jody", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1803ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3860773533172a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3860773533172a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4768ms 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('53df3860773533172a380000'), "name"=>"Mr. Zachery Daugherty", "reference"=>"Mr. Dayna Keeling", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3860773533172a390000'), "author_name"=>"Garfield Erdman", "content"=>["Neque dicta voluptatibus. Sequi a rerum et officia id eaque. Praesentium nemo sint fugit. Nihil sed quas eius alias. A debitis est incidunt aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3860773533172a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3860773533172a380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3860773533172a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4225ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3860773533172a380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3860773533172a3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms Redirected to http://test.host/products/53df3860773533172a380000/comments/53df3860773533172a3a0000 Completed 302 Found in 1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3860773533172a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8138ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a3b0000'), "name"=>"Golden Pfeffer PhD", "reference"=>"Darby Torp", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a3c0000'), "author_name"=>"Vella Fisher", "content"=>["Cum quibusdam corporis veniam laudantium quis perspiciatis. Veritatis sapiente ut. Deserunt eius qui nihil doloremque est rerum. Nulla ut ducimus non sint minus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5273ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3861773533172a3b0000", "id"=>"53df3861773533172a3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3861773533172a3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6867ms Redirected to http://test.host/products/53df3861773533172a3b0000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4736ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a3d0000'), "name"=>"Mr. Charlotte Mueller", "reference"=>"Adelle Greenfelder", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a3e0000'), "author_name"=>"Roberta Reynolds", "content"=>["Alias sit veritatis praesentium ullam et quia quo. Mollitia delectus veniam reprehenderit molestiae qui eius repudiandae. Minima qui recusandae. Et aut at a deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9440ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3861773533172a3d0000", "id"=>"53df3861773533172a3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6417ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 57ms (Views: 52.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a3f0000'), "name"=>"Olin Quigley I", "reference"=>"Chaz Ebert", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a400000'), "author_name"=>"Mathew Lubowitz", "content"=>["Amet et illum nulla quas dignissimos assumenda. Necessitatibus sint reprehenderit quia. Consequatur modi maxime autem veritatis ab soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6401ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3861773533172a3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4248ms Completed 200 OK in 7ms (Views: 4.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a410000'), "name"=>"Mr. Axel Dickinson", "reference"=>"Frankie Haley", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a420000'), "author_name"=>"Patrick Lesch", "content"=>["Praesentium ullam vel dolores quae ipsa accusamus animi. Soluta reiciendis maxime nulla possimus. Omnis exercitationem ut voluptates rerum eos quo est. Expedita accusantium unde corporis quia non atque. Quae molestiae sunt blanditiis odit in doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5815ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3861773533172a410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4637ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a430000'), "name"=>"Celestino Hamill V", "reference"=>"Joe Luettgen", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a440000'), "author_name"=>"Carson Graham", "content"=>["Animi asperiores aut rem hic corporis sint. Voluptas consectetur culpa qui qui. Aut explicabo earum ad ducimus soluta quae cumque. Qui sunt dolor temporibus voluptatem. Inventore ut similique cupiditate eius omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3861773533172a430000", "id"=>"53df3861773533172a440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4011ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a450000'), "name"=>"Reva O'Kon", "reference"=>"Mr. Bulah Wiza", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a460000'), "author_name"=>"Abe Anderson III", "content"=>["Aut alias id blanditiis suscipit vitae est. Eaque sapiente soluta in expedita voluptas autem id. Aspernatur vitae voluptas. Soluta laborum quo dolores perferendis sint. Dolor quia architecto aliquid minima molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6344ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3861773533172a450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a470000'), "name"=>"Erna Hettinger", "reference"=>"Samara Orn", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a480000'), "author_name"=>"Katelin Kiehn Sr.", "content"=>["Vel dolores voluptatem et inventore porro quia perspiciatis. Qui omnis molestias. Pariatur debitis vero. Tempore maiores aperiam. Dolor ratione veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3861773533172a470000", "id"=>"53df3861773533172a480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3861773533172a490000'), "name"=>"Serenity Bayer", "reference"=>"Liliana Hauck", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3861773533172a4a0000'), "author_name"=>"Cheyanne Schowalter", "content"=>["Ratione et quod omnis odio et nostrum repudiandae. Aut eveniet eius consequatur velit est expedita. Dolorum voluptatem dolor omnis placeat aut. Reiciendis asperiores sequi sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3861773533172a4a0000", "product_id"=>"53df3861773533172a490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3861773533172a490000'), "comments._id"=>BSON::ObjectId('53df3861773533172a4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Redirected to http://test.host/products/53df3861773533172a490000/comments/53df3861773533172a4a0000 Completed 302 Found in 1117ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3862773533172a4b0000'), "firstname"=>"Angelina", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7561ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3020ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3862773533172a4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Redirected to http://test.host/admin/clients/53df3862773533172a4c0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3140ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3862773533172a4d0000'), "firstname"=>"Pearlie", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5664ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2874ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3862773533172a4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3862773533172a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4008ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3862773533172a4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.4768ms Redirected to http://test.host/admin/clients Completed 302 Found in 17ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3137ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3862773533172a4e0000'), "firstname"=>"Tevin", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3862773533172a4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3862773533172a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 13ms (Views: 10.7ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3862773533172a4f0000'), "firstname"=>"Fermin", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5844ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms Completed 200 OK in 46ms (Views: 45.0ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a500000'), "firstname"=>"Quentin", "lastname"=>"Collins"}] 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 (2.0ms) 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('53df3863773533172a510000'), "firstname"=>"Kendall", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3863773533172a510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a520000'), "firstname"=>"Lia", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3863773533172a520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a520000')} 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('53df3863773533172a520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms Redirected to http://test.host/admin/clients/53df3863773533172a520000 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('53df3863773533172a530000'), "firstname"=>"Carley", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6166ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1715ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Redirected to http://test.host/clients/53df3863773533172a540000 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('53df3863773533172a550000'), "firstname"=>"Kiera", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1421ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3863773533172a550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms 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.1535ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a560000'), "firstname"=>"Joan", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3863773533172a560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms 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('53df3863773533172a570000'), "firstname"=>"Ismael", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a580000'), "firstname"=>"Haskell", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms 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.5ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3863773533172a590000'), "firstname"=>"Jordan", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3863773533172a590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms 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('53df3863773533172a5a0000'), "firstname"=>"Sonny", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3863773533172a5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3863773533172a5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms Redirected to http://test.host/clients/53df3863773533172a5a0000 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('53df3863773533172a5b0000'), "name"=>"Mr. Jeffry Douglas", "reference"=>"Malika Bayer Jr.", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a5c0000'), "firstname"=>"Alayna", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3863773533172a5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms Redirected to http://test.host/products/53df3863773533172a5b0000/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('53df3863773533172a5e0000'), "name"=>"Benny Gaylord", "reference"=>"Miss Shanon Stoltenberg", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a5f0000'), "firstname"=>"Aniyah", "lastname"=>"Wolf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3863773533172a5f0000", "product_id"=>"53df3863773533172a5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a600000'), "name"=>"Miss Nya Kuhn", "reference"=>"Joel Lemke", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a610000'), "firstname"=>"Sylvan", "lastname"=>"Bernier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7076ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3863773533172a600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a600000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a620000'), "name"=>"Sarah Stark", "reference"=>"Rachael Waelchi", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a630000'), "firstname"=>"Delores", "lastname"=>"Feest"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3863773533172a630000", "product_id"=>"53df3863773533172a620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a640000'), "name"=>"Akeem Olson Jr.", "reference"=>"Desmond Adams", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3863773533172a650000'), "firstname"=>"Alexandrea", "lastname"=>"Adams"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3863773533172a650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3863773533172a640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Unpermitted parameters: name Redirected to http://test.host/products/53df3863773533172a640000/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('53df3863773533172a660000'), "name"=>"Nellie Harber", "reference"=>"Alda Abbott", "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.1583ms 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('53df3863773533172a670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Redirected to http://test.host/products/53df3863773533172a670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1718ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a680000'), "name"=>"Finn Bauch", "reference"=>"Jed Koch", "quantity"=>"8"}] 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.1502ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3863773533172a680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a680000')} 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={"_id"=>BSON::ObjectId('53df3863773533172a680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms 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.1586ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a690000'), "name"=>"Shyann Torphy", "reference"=>"Carissa Pfeffer", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3863773533172a690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a690000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a6a0000'), "name"=>"Helen Larson", "reference"=>"Kyla Collier", "quantity"=>"8"}] 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.7554ms Completed 200 OK in 21ms (Views: 20.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a6b0000'), "name"=>"Terrance Schulist MD", "reference"=>"Arjun Koch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms 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.6523ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a6c0000'), "name"=>"Freeda Towne", "reference"=>"Kamron O'Kon", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3863773533172a6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms 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('53df3863773533172a6d0000'), "name"=>"Ismael Hickle", "reference"=>"Dr. Kailey Will", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a6f0000'), "name"=>"Mario Lebsack III", "reference"=>"Jess Glover", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3863773533172a6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a700000'), "name"=>"Elenor Marvin", "reference"=>"Saige Gislason", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1424ms 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('53df3863773533172a710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1537ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a720000'), "name"=>"Richard Nienow", "reference"=>"Sister Jacobson II", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3863773533172a720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms Completed 200 OK in 28ms (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('53df3863773533172a730000'), "name"=>"Brooklyn Nitzsche", "reference"=>"Dandre Spinka", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms 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('53df3863773533172a750000'), "name"=>"Sibyl Crooks", "reference"=>"Ms. Sabrina Swift", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3863773533172a750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms 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('53df3863773533172a760000'), "name"=>"Demetris Mosciski", "reference"=>"Nola Brakus", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3863773533172a760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms Redirected to http://test.host/products/53df3863773533172a760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a790000'), "name"=>"Cristopher Collins DVM", "reference"=>"Allan Miller", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a770000'), "author_name"=>"Jarod Schuster", "content"=>["Sit qui suscipit dolorem excepturi. Quaerat enim quidem quae corrupti eligendi officiis. Ad dolor reiciendis facere natus quos libero. Dolorem ut sint voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a780000'), "author_name"=>"Mr. Cristian Simonis", "content"=>["Sit qui odio est esse. Quo aut laborum ullam corrupti doloribus sint ab. Quas reiciendis et autem sunt qui. Vel quisquam velit voluptatem repellendus error. Et vel officia mollitia voluptatem unde dignissimos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3863773533172a790000", "comment_id"=>"53df3863773533172a770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a790000')} 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('53df3863773533172a790000'), "comments._id"=>BSON::ObjectId('53df3863773533172a770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3863773533172a7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9958ms Redirected to http://test.host/products/53df3863773533172a790000/comments/53df3863773533172a770000/comments/53df3863773533172a7a0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4798ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a7d0000'), "name"=>"Lurline Schroeder", "reference"=>"Cora Gleason", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a7b0000'), "author_name"=>"Robbie Erdman", "content"=>["Nam qui harum minus. Beatae ex cupiditate. Officia iusto ea consequatur laborum. Recusandae doloribus neque laborum similique amet."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a7c0000'), "author_name"=>"Margarita Wehner", "content"=>["Non illo accusantium deserunt. Vel aliquid molestiae magni nihil tempore sunt. Harum dolorum dolorem doloremque vel ut similique. Nam magnam fugit aspernatur explicabo dolores adipisci quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3863773533172a7d0000", "comment_id"=>"53df3863773533172a7b0000", "id"=>"53df3863773533172a7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3844ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a7d0000'), "comments._id"=>BSON::ObjectId('53df3863773533172a7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3863773533172a7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms Redirected to http://test.host/products/53df3863773533172a7d0000/comments/53df3863773533172a7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a800000'), "name"=>"Krystina Herzog", "reference"=>"Monique O'Conner", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a7e0000'), "author_name"=>"Cassandre Miller", "content"=>["Facere repellendus debitis vero. Eos maiores libero temporibus voluptatem. Et assumenda quos ab. Aut unde qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a7f0000'), "author_name"=>"Ms. Naomie Balistreri", "content"=>["Quibusdam ipsa reiciendis earum provident nihil corporis officiis. Nihil corrupti facere id quod et sit eum. Quia ea est laudantium. Aut porro nam in atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3863773533172a800000", "comment_id"=>"53df3863773533172a7e0000", "id"=>"53df3863773533172a7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a830000'), "name"=>"Reed Waelchi", "reference"=>"Darrion Hand", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a810000'), "author_name"=>"Mr. Erica Grady", "content"=>["Modi corrupti quidem. Cupiditate quidem possimus hic. Quis quo dolor dignissimos illum et culpa est."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a820000'), "author_name"=>"Bailee Sporer", "content"=>["Et voluptatem nihil repellat vel quis est nulla. Quaerat omnis pariatur dignissimos doloribus accusantium. Eaque rerum est repellat. Quia vero voluptatem sit voluptatem ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3863773533172a830000", "comment_id"=>"53df3863773533172a810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4068ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a860000'), "name"=>"Emery Greenfelder", "reference"=>"Laurie Pagac", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a840000'), "author_name"=>"Alejandrin Crooks", "content"=>["Asperiores nobis velit similique rem voluptatibus. Dignissimos aperiam vitae. Ut molestias iste sunt porro explicabo. Enim quis est sed. Est tempora ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a850000'), "author_name"=>"Walter Beatty", "content"=>["Unde hic accusamus veritatis nostrum maiores voluptatem temporibus. Placeat hic doloribus sed quasi recusandae dolor. Consectetur et deleniti voluptate natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3863773533172a860000", "comment_id"=>"53df3863773533172a840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a890000'), "name"=>"Dr. Efren Durgan", "reference"=>"Barney Smitham", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a870000'), "author_name"=>"Ethel Daugherty", "content"=>["Laudantium minus quidem id nemo. Quam tempora ea ea. Autem quae ipsa nobis ut molestiae fuga aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a880000'), "author_name"=>"Easter Eichmann", "content"=>["Dolor fugit cum amet iure autem. Ut aperiam veritatis qui debitis omnis nihil. Est delectus ipsa quo vel voluptatem aut minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3863773533172a890000", "comment_id"=>"53df3863773533172a870000", "id"=>"53df3863773533172a880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a8c0000'), "name"=>"Brooks Schowalter Sr.", "reference"=>"Frederik Hauck", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a8a0000'), "author_name"=>"Aryanna Kerluke V", "content"=>["Totam officia corporis voluptatibus. Et voluptas rem modi placeat. Quia rem minus. Ex ab est corporis necessitatibus. Est nam voluptatum ab qui ipsum temporibus omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a8b0000'), "author_name"=>"Koby Steuber", "content"=>["Voluptatibus cupiditate incidunt voluptate. Accusantium rerum est. In temporibus eveniet ratione ab eligendi molestiae. A aut laborum facere qui cumque adipisci. Quis est doloribus est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3863773533172a8c0000", "comment_id"=>"53df3863773533172a8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3693ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a8f0000'), "name"=>"Dr. Kianna Rutherford", "reference"=>"Eldred Brekke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a8d0000'), "author_name"=>"Stewart Hammes", "content"=>["Cum et ratione reiciendis officia. Praesentium magni et libero atque minima ut et. Perferendis totam temporibus molestiae corrupti aut repellendus laborum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a8e0000'), "author_name"=>"Julius Nitzsche PhD", "content"=>["Ipsam ex perferendis. Tempore praesentium laborum. Dolores id saepe atque ea. Commodi voluptas aut aut saepe consequuntur. Cumque sit sequi aperiam porro animi cupiditate ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4043ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3863773533172a8f0000", "comment_id"=>"53df3863773533172a8d0000", "id"=>"53df3863773533172a8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3863773533172a920000'), "name"=>"Miss Hank Crona", "reference"=>"Braulio Borer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a900000'), "author_name"=>"Alverta Hagenes", "content"=>["Totam tenetur exercitationem repudiandae. Molestiae maxime sit eos et vel. Magni dolorem sint culpa qui consequatur. Et deleniti corporis. Consequatur quo magnam a sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df3863773533172a910000'), "author_name"=>"Verda Cronin Sr.", "content"=>["Soluta in quidem tempore sint rerum id. Quam esse neque quia nihil impedit corrupti. Repellendus est corporis quibusdam nulla assumenda totam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5313ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3863773533172a910000", "product_id"=>"53df3863773533172a920000", "comment_id"=>"53df3863773533172a900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3863773533172a920000'), "comments._id"=>BSON::ObjectId('53df3863773533172a900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3863773533172a910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6325ms Redirected to http://test.host/products/53df3863773533172a920000/comments/53df3863773533172a900000/comments/53df3863773533172a910000 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('53df3863773533172a930000'), "firstname"=>"Gino", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2218ms 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('53df3863773533172a940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Redirected to http://test.host/users/53df3863773533172a940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1640ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3863773533172a950000'), "firstname"=>"Maurine", "lastname"=>"Bartell"}] 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=>"admin_users", :query=>{}} runtime: 0.2005ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3863773533172a950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3863773533172a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3863773533172a950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms 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.2157ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3863773533172a960000'), "firstname"=>"Earline", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3863773533172a960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3863773533172a960000')} 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.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('53df3863773533172a970000'), "firstname"=>"Trenton", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms 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.3954ms Completed 200 OK in 36ms (Views: 35.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3863773533172a980000'), "firstname"=>"Yasmin", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3863773533172a990000'), "firstname"=>"Madalyn", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3863773533172a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3863773533172a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms 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('53df3863773533172a9a0000'), "firstname"=>"Sage", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3863773533172a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3863773533172a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms Unpermitted parameters: name Redirected to http://test.host/users/53df3863773533172a9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7363ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms MOPED: 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=admin_users 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=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387c7735331756000000'), "firstname"=>"Buster", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1787ms 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('53df387c7735331756010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms 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.3288ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387c7735331756020000'), "firstname"=>"Lorena", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df387c7735331756020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387c7735331756020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 47ms (Views: 45.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387c7735331756030000'), "firstname"=>"Abe", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387c7735331756040000'), "firstname"=>"Elwin", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df387c7735331756040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387c7735331756040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387c7735331756050000'), "firstname"=>"Kaylie", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df387c7735331756050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387c7735331756050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms 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('53df387c7735331756060000'), "name"=>"Olaf Torp", "reference"=>"Cyril Russel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df387c7735331756070000'), "author_name"=>"Louisa McGlynn", "content"=>["Quo voluptas totam quia exercitationem. Ducimus possimus esse consequatur corrupti repudiandae provident. Repellendus placeat minima quis vero eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.8331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df387c7735331756060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df387c7735331756080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms Redirected to http://test.host/admin/products/53df387c7735331756060000/comments/53df387c7735331756080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756090000'), "name"=>"Mr. Justen Hammes", "reference"=>"Milton Gleichner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df387c77353317560a0000'), "author_name"=>"Ronaldo Hand", "content"=>["Quam omnis ex ullam facere. Et at fugiat aut dignissimos. Ea earum facere et eum delectus ipsum nobis. Cum non distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df387c7735331756090000", "id"=>"53df387c77353317560a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756090000')} 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('53df387c7735331756090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df387c77353317560a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Redirected to http://test.host/admin/products/53df387c7735331756090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317560b0000'), "name"=>"Jessie Wolff MD", "reference"=>"Al Lindgren V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df387c77353317560c0000'), "author_name"=>"Mrs. Bradly D'Amore", "content"=>["Animi sapiente rerum non aut voluptatibus. Aut aliquid adipisci doloribus itaque. Nesciunt minima ipsum sit aut iusto ducimus. Et odio nihil animi voluptas tenetur placeat. Porro similique praesentium magni ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df387c77353317560b0000", "id"=>"53df387c77353317560c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317560b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317560d0000'), "name"=>"Carley Hackett", "reference"=>"Dr. Lenora Ankunding", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df387c77353317560e0000'), "author_name"=>"Tressa Wehner", "content"=>["Ad at sed sit est. Quo dolorum eius magnam ipsam perferendis mollitia. Autem soluta laudantium est ut enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df387c77353317560d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317560d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms Completed 200 OK in 4ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317560f0000'), "name"=>"Maudie O'Reilly", "reference"=>"Bartholome Williamson I", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df387c7735331756100000'), "author_name"=>"Rylee Bogan", "content"=>["Ea cum natus quibusdam officiis rem odio. Dignissimos non fuga nostrum soluta id. Nihil eius sit voluptates architecto magnam saepe perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df387c77353317560f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317560f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756110000'), "name"=>"Adella Heathcote", "reference"=>"Anna Gislason", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df387c7735331756120000'), "author_name"=>"Noel Ortiz", "content"=>["Quo consequuntur sapiente ut molestias. Optio similique libero. In alias amet. Eligendi aliquid qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df387c7735331756110000", "id"=>"53df387c7735331756120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756130000'), "name"=>"Ezekiel Kling", "reference"=>"Erica Hartmann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df387c7735331756140000'), "author_name"=>"Nicklaus Rath", "content"=>["Esse sint quasi autem dolorem deserunt quia. Velit qui aliquid temporibus non. Maiores quibusdam nihil dolores dolorem sit quam officia. Consequuntur quia ut at molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df387c7735331756140000", "product_id"=>"53df387c7735331756130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756130000'), "comments._id"=>BSON::ObjectId('53df387c7735331756140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Redirected to http://test.host/admin/products/53df387c7735331756130000/comments/53df387c7735331756140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756150000'), "name"=>"Halie Kessler", "reference"=>"Matt McCullough", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df387c7735331756160000'), "firstname"=>"Joanne", "lastname"=>"Anderson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2368ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df387c7735331756150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756150000')} 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('53df387c7735331756150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df387c7735331756170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms Redirected to http://test.host/admin/products/53df387c7735331756150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756180000'), "name"=>"Alberto Abshire V", "reference"=>"Raegan Shanahan", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df387c7735331756190000'), "firstname"=>"Sheridan", "lastname"=>"McDermott"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df387c7735331756190000", "product_id"=>"53df387c7735331756180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317561a0000'), "name"=>"Janelle Steuber", "reference"=>"Rick Labadie", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df387c77353317561b0000'), "firstname"=>"Aisha", "lastname"=>"Spinka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df387c77353317561a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317561a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317561c0000'), "name"=>"Mitchel Collins II", "reference"=>"Grant Schroeder MD", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df387c77353317561d0000'), "firstname"=>"Ebba", "lastname"=>"Sporer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df387c77353317561d0000", "product_id"=>"53df387c77353317561c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317561c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c77353317561e0000'), "name"=>"Ms. Danielle Boyle", "reference"=>"Santino Jenkins", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df387c77353317561f0000'), "firstname"=>"Alyce", "lastname"=>"Reichert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df387c77353317561f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df387c77353317561e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c77353317561e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df387c77353317561e0000/manager 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('53df387c7735331756200000'), "name"=>"Francis Kirlin", "reference"=>"Colten Runolfsdottir", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1979ms 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('53df387c7735331756210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms Redirected to http://test.host/admin/products/53df387c7735331756210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2053ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756220000'), "name"=>"Sven Kilback", "reference"=>"Erin Lueilwitz", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1996ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df387c7735331756220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms 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.1837ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756230000'), "name"=>"Christopher Wiza", "reference"=>"Addison Dibbert", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df387c7735331756230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387c7735331756230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.7ms) Completed 200 OK in 38ms (Views: 36.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756240000'), "name"=>"Miss Derek Gottlieb", "reference"=>"Mr. Tito McKenzie", "quantity"=>"0"}] 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.5305ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387c7735331756250000'), "name"=>"Muhammad Quigley", "reference"=>"Adolf Blanda", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387d7735331756280000'), "name"=>"Aubrey Little", "reference"=>"Tanya Graham", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df387d7735331756280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms 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('53df387d7735331756290000'), "name"=>"Junior Gusikowski", "reference"=>"Mr. Jedidiah Schamberger", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df387d7735331756290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756290000')} 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('53df387d7735331756290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms Redirected to http://test.host/admin/products/53df387d7735331756290000 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('53df387d77353317562a0000'), "firstname"=>"Cary", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5598ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3162ms 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('53df387d77353317562b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms Redirected to http://test.host/admin/users/53df387d77353317562b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1911ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df387d77353317562c0000'), "firstname"=>"Lura", "lastname"=>"Torp"}] 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=>"admin_users", :query=>{}} runtime: 0.2853ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df387d77353317562c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df387d77353317562c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3929ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df387d77353317562c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms 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.2196ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df387d77353317562d0000'), "firstname"=>"Wyatt", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df387d77353317562d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df387d77353317562d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df387d77353317562e0000'), "firstname"=>"Cara", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms 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.3113ms 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('53df387d77353317562f0000'), "firstname"=>"Bethany", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df387d7735331756300000'), "firstname"=>"Sid", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df387d7735331756300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df387d7735331756300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df387d7735331756310000'), "firstname"=>"Hoyt", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df387d7735331756310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df387d7735331756310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df387d7735331756310000 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('53df387d7735331756320000'), "firstname"=>"Justice", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1572ms 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('53df387d7735331756330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms 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.1551ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387d7735331756340000'), "firstname"=>"Ivah", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df387d7735331756340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387d7735331756340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387d7735331756350000'), "firstname"=>"Toby", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.1ms) Completed 200 OK in 37ms (Views: 36.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387d7735331756360000'), "firstname"=>"Lane", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df387d7735331756360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387d7735331756360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df387d7735331756370000'), "firstname"=>"Lynn", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df387d7735331756370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df387d7735331756370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms 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('53df387d7735331756380000'), "name"=>"Jena Davis", "reference"=>"Jett Welch III", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df387d7735331756390000'), "author_name"=>"Dr. Dejah Dicki", "content"=>["Voluptatibus maiores provident occaecati mollitia. Cum dolore autem saepe hic qui ducimus maiores. Consequatur eveniet nisi ipsum mollitia harum voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df387d7735331756380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df387d77353317563a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Redirected to http://test.host/products/53df387d7735331756380000/comments/53df387d77353317563a0000 Completed 302 Found in 1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387d7735331756380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7213ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df387f77353317563b0000'), "name"=>"Courtney Koepp", "reference"=>"Colleen Schinner MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df387f77353317563c0000'), "author_name"=>"Fidel Gorczany", "content"=>["Veritatis blanditiis eos. Culpa est rerum dolorem et. Qui fugit ut perspiciatis quis. Odit alias iusto natus sapiente sequi saepe quia. Omnis explicabo odio hic veniam deleniti et facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387f77353317563b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df387f77353317563b0000", "id"=>"53df387f77353317563c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387f77353317563b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387f77353317563b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df387f77353317563c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6166ms Redirected to http://test.host/products/53df387f77353317563b0000/comments Completed 302 Found in 1451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df387f77353317563b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7292ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388077353317563d0000'), "name"=>"Cary Nikolaus", "reference"=>"Laurie Leffler", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df388077353317563e0000'), "author_name"=>"Reggie Williamson", "content"=>["Consequatur est dignissimos sunt incidunt. Adipisci enim similique quasi id totam corrupti ex. Soluta pariatur voluptas occaecati quod molestias. Aperiam assumenda enim repellendus. Nesciunt est sed dolorem ea distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6845ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df388077353317563d0000", "id"=>"53df388077353317563e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388077353317563d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5721ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 18ms (Views: 13.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388077353317563f0000'), "name"=>"Mr. Buck Cummings", "reference"=>"Amanda Mosciski", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df38807735331756400000'), "author_name"=>"Clemens Powlowski", "content"=>["Adipisci enim incidunt veritatis praesentium vitae et officiis. Ut fuga similique assumenda qui voluptas. Nam aut sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8995ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df388077353317563f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388077353317563f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5241ms Completed 200 OK in 10ms (Views: 6.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38807735331756410000'), "name"=>"Hector Klein MD", "reference"=>"Golda Herman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df38807735331756420000'), "author_name"=>"Mrs. Lisette Medhurst", "content"=>["Reiciendis autem ducimus ut aperiam optio dolorem sed. Fugit nemo et consectetur autem consequatur cupiditate. Sed aut voluptas molestiae error voluptatibus amet. Accusantium provident consectetur ipsa quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6864ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df38807735331756410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38807735331756410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4962ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38807735331756430000'), "name"=>"Beverly Roob", "reference"=>"Stacy VonRueden", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38807735331756440000'), "author_name"=>"Geraldine Willms", "content"=>["Accusantium aliquam quibusdam dolorem dolorem. Labore aliquid eos fugit dolor minima. Officia et ipsam blanditiis veritatis quia placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df38807735331756430000", "id"=>"53df38807735331756440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38807735331756430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38807735331756450000'), "name"=>"Watson Moore V", "reference"=>"Lacey Langosh", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df38807735331756460000'), "author_name"=>"Ms. Andres Will", "content"=>["Cumque sint repudiandae dolorem temporibus. Voluptatem consequatur expedita architecto doloremque in. Pariatur rerum qui magni quis velit est atque. Ut ipsum expedita est accusamus aut illo ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5533ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df38807735331756450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38807735331756450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4434ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 5.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38807735331756470000'), "name"=>"Jayce Lowe", "reference"=>"Emmanuelle Walter", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df38807735331756480000'), "author_name"=>"Arjun Mitchell", "content"=>["Aut voluptate itaque dolorum ut qui sint consequatur. Eos quis nesciunt. Nulla exercitationem consequatur eum assumenda in ad nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6392ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df38807735331756470000", "id"=>"53df38807735331756480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38807735331756470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4169ms Completed 200 OK in 7ms (Views: 3.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38807735331756490000'), "name"=>"Lenora Schultz", "reference"=>"Michael Waters", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df388077353317564a0000'), "author_name"=>"Jana Wolff IV", "content"=>["Ut explicabo aut. Qui est minus est eius harum placeat similique. Et in est soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4366ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df388077353317564a0000", "product_id"=>"53df38807735331756490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38807735331756490000')} 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('53df38807735331756490000'), "comments._id"=>BSON::ObjectId('53df388077353317564a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5769ms Redirected to http://test.host/products/53df38807735331756490000/comments/53df388077353317564a0000 Completed 302 Found in 1466ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df388277353317564b0000'), "firstname"=>"Brian", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3275ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df388277353317564c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6298ms Redirected to http://test.host/admin/clients/53df388277353317564c0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4209ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df388277353317564d0000'), "firstname"=>"Carolina", "lastname"=>"Purdy"}] 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=>"clients", :query=>{}} runtime: 0.3622ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df388277353317564d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df388277353317564d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df388277353317564d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms 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('53df388277353317564e0000'), "firstname"=>"Tiffany", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df388277353317564e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df388277353317564e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 11ms (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('53df388277353317564f0000'), "firstname"=>"Walter", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by Iord::GenericController#index as HTML MOPED: 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: 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('53df38827735331756500000'), "firstname"=>"Pietro", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756510000'), "firstname"=>"Jettie", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df38827735331756510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756520000'), "firstname"=>"Lexie", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df38827735331756520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Redirected to http://test.host/admin/clients/53df38827735331756520000 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('53df38827735331756530000'), "firstname"=>"Caden", "lastname"=>"DuBuque"}] 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=>"clients", :query=>{}} runtime: 0.2371ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Redirected to http://test.host/clients/53df38827735331756540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2434ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756550000'), "firstname"=>"Kali", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.2050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2821ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df38827735331756550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms 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.2794ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756560000'), "firstname"=>"Lenna", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df38827735331756560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756560000')} 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 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('53df38827735331756570000'), "firstname"=>"Jeanne", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38827735331756580000'), "firstname"=>"Anthony", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms 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('53df38827735331756590000'), "firstname"=>"Chadrick", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df38827735331756590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38827735331756590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3946ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df388277353317565a0000'), "firstname"=>"Brionna", "lastname"=>"Mante"}] 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"=>"53df388277353317565a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df388277353317565a0000')} 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('53df388277353317565a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Redirected to http://test.host/clients/53df388277353317565a0000 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('53df388277353317565b0000'), "name"=>"Victor Kertzmann IV", "reference"=>"Miss Samson Crist", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df388277353317565c0000'), "firstname"=>"Trinity", "lastname"=>"Willms"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6379ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df388277353317565b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317565b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4267ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317565b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317565b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df388277353317565d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms Redirected to http://test.host/products/53df388277353317565b0000/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('53df388277353317565e0000'), "name"=>"Florian Ortiz", "reference"=>"Claudine Gislason", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df388277353317565f0000'), "firstname"=>"Kiel", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df388277353317565f0000", "product_id"=>"53df388277353317565e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317565e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756600000'), "name"=>"Arvel Eichmann", "reference"=>"Torey Durgan", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df38827735331756610000'), "firstname"=>"Gilberto", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df38827735331756600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756620000'), "name"=>"Lou Goldner", "reference"=>"Perry Toy IV", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df38827735331756630000'), "firstname"=>"Moises", "lastname"=>"Nolan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df38827735331756630000", "product_id"=>"53df38827735331756620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756640000'), "name"=>"Major Schneider", "reference"=>"Spencer Runte DVM", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df38827735331756650000'), "firstname"=>"Angelina", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df38827735331756650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df38827735331756640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms Unpermitted parameters: name Redirected to http://test.host/products/53df38827735331756640000/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('53df38827735331756660000'), "name"=>"Wilfredo Feil", "reference"=>"Mrs. Eli Stoltenberg", "quantity"=>"4"}] 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.1885ms 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('53df38827735331756670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms Redirected to http://test.host/products/53df38827735331756670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1777ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756680000'), "name"=>"Ms. Lue Williamson", "reference"=>"Edwin Stroman Jr.", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df38827735331756680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756680000')} 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={"_id"=>BSON::ObjectId('53df38827735331756680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms 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.1660ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756690000'), "name"=>"Fabiola Metz DDS", "reference"=>"Maurice Lubowitz", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df38827735331756690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317566a0000'), "name"=>"Connie Jacobs", "reference"=>"Tomasa Kozey Jr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms 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.7087ms Completed 200 OK in 46ms (Views: 45.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317566b0000'), "name"=>"Trevion Reinger", "reference"=>"Gloria Orn", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms 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.7433ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317566c0000'), "name"=>"Jerod Wisozk Jr.", "reference"=>"Telly Baumbach", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df388277353317566c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317566c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms 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('53df388277353317566d0000'), "name"=>"Robbie Goodwin I", "reference"=>"Amelia Abshire", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.7ms) Completed 200 OK in 43ms (Views: 41.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317566f0000'), "name"=>"Mrs. Rene Parisian", "reference"=>"Boris Halvorson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df388277353317566f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317566f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756700000'), "name"=>"Coleman Schmitt", "reference"=>"Maverick Reinger III", "quantity"=>"7"}] 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.2644ms 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('53df38827735331756710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2563ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756720000'), "name"=>"Ciara Prosacco", "reference"=>"Theodora Vandervort DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df38827735331756720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7941ms Completed 200 OK in 6ms (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('53df38827735331756730000'), "name"=>"Danial Heathcote", "reference"=>"Delphia Kuhlman", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms 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('53df38827735331756750000'), "name"=>"Miss Jadyn Steuber", "reference"=>"Althea Mann", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df38827735331756750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms 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('53df38827735331756760000'), "name"=>"Destiney Wuckert PhD", "reference"=>"Dorothy Rempel V", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df38827735331756760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Redirected to http://test.host/products/53df38827735331756760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756790000'), "name"=>"Zander Kautzer III", "reference"=>"Dahlia Jacobson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756770000'), "author_name"=>"Sheldon Crona", "content"=>["Sit ut earum eligendi aliquid et et laborum. Cupiditate sed nostrum ut maiores sit excepturi ut. Esse beatae nisi delectus vel in. Officia cum enim et qui suscipit facilis non. Odio voluptatem est reiciendis ad nihil aut ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756780000'), "author_name"=>"Clementine Reichel", "content"=>["Aspernatur ea nihil quas blanditiis. Et et incidunt excepturi quod. Dolores harum dolorum aut id. Vitae totam et. Qui quae delectus quod quia atque porro magnam."]}]}]}] 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('53df38827735331756790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df38827735331756790000", "comment_id"=>"53df38827735331756770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756790000'), "comments._id"=>BSON::ObjectId('53df38827735331756770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df388277353317567a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms Redirected to http://test.host/products/53df38827735331756790000/comments/53df38827735331756770000/comments/53df388277353317567a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317567d0000'), "name"=>"Silas Auer Sr.", "reference"=>"Miss Fern Connelly", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317567b0000'), "author_name"=>"Lucy Sawayn", "content"=>["Sed quae aperiam vel. Ullam quaerat voluptatem aspernatur quibusdam id. Ut debitis magni unde praesentium. Id facere enim dolores voluptas ut sequi non."], "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317567c0000'), "author_name"=>"Mercedes Conroy Sr.", "content"=>["Ab optio et. Ipsa earum non ipsum voluptatibus accusantium. Sed occaecati ratione. Voluptatum in soluta vitae commodi. Distinctio mollitia accusantium accusamus quo quisquam sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317567d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df388277353317567d0000", "comment_id"=>"53df388277353317567b0000", "id"=>"53df388277353317567c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317567d0000')} 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('53df388277353317567d0000'), "comments._id"=>BSON::ObjectId('53df388277353317567b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df388277353317567c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Redirected to http://test.host/products/53df388277353317567d0000/comments/53df388277353317567b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317567d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756800000'), "name"=>"Valerie Auer IV", "reference"=>"Melvin Windler", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317567e0000'), "author_name"=>"Milford Frami", "content"=>["Eius et aut quibusdam quis eaque harum. Et dolorem quam ipsam voluptatibus est temporibus. Veniam quia ut ut odio."], "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317567f0000'), "author_name"=>"Lisa Bechtelar", "content"=>["Et aut vel sed explicabo accusantium. Fugit eos voluptas assumenda qui qui rerum. Qui reiciendis molestias sed laudantium quo. Itaque sunt aut. Quia sequi minima non aliquid aut omnis repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df38827735331756800000", "comment_id"=>"53df388277353317567e0000", "id"=>"53df388277353317567f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756830000'), "name"=>"Vivienne Terry", "reference"=>"Mr. Joana Kilback", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756810000'), "author_name"=>"Nathanael Jaskolski", "content"=>["Consectetur atque nemo sapiente quia id ad veritatis. Dolore totam amet dignissimos sit nostrum. Et tempora magni architecto amet eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756820000'), "author_name"=>"Veronica Volkman II", "content"=>["Doloremque reiciendis voluptate modi repellendus saepe mollitia. Occaecati tempore qui voluptatem. Totam aut ut hic voluptatem. Voluptatibus quam accusantium laborum voluptate quaerat eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df38827735331756830000", "comment_id"=>"53df38827735331756810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756860000'), "name"=>"Loma Jacobi", "reference"=>"Miss Shayna Medhurst", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756840000'), "author_name"=>"Ms. Lisa Langworth", "content"=>["Quia et consequatur enim aspernatur optio sequi ut. Libero asperiores et ut corporis. Enim quo aliquid. Enim rem quod eos sit dolores quae optio. Quidem accusamus est quam."], "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756850000'), "author_name"=>"Vincent Cronin", "content"=>["Consequatur voluptates provident harum et. Et vero voluptatem. Optio quis nostrum. Provident consequuntur est esse blanditiis. Quos sed modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df38827735331756860000", "comment_id"=>"53df38827735331756840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756890000'), "name"=>"Ramiro Block", "reference"=>"Dr. Eulalia Treutel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756870000'), "author_name"=>"Gloria Abbott", "content"=>["Vel quis eos. Blanditiis nulla consectetur quae ut aperiam in. Eum perspiciatis voluptas error. Laudantium possimus suscipit."], "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756880000'), "author_name"=>"Candido Rempel", "content"=>["Laudantium eius esse qui. Eius alias nesciunt dolorem velit saepe aut nostrum. Et et modi repudiandae et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df38827735331756890000", "comment_id"=>"53df38827735331756870000", "id"=>"53df38827735331756880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317568c0000'), "name"=>"Gloria Littel", "reference"=>"John Swaniawski", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317568a0000'), "author_name"=>"Estevan Purdy", "content"=>["Quia eaque maxime illo est maiores magni. Nam quia vel totam quibusdam nostrum non. Non odit inventore."], "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317568b0000'), "author_name"=>"Barbara Douglas", "content"=>["Excepturi numquam cupiditate repellat maiores. Dolorem voluptas aliquam enim nostrum tenetur. Eos sint ex fugiat ducimus qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df388277353317568c0000", "comment_id"=>"53df388277353317568a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317568c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 34ms (Views: 4.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df388277353317568f0000'), "name"=>"Mr. Cathy Moen", "reference"=>"Laurence Howell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317568d0000'), "author_name"=>"Jayden Emmerich", "content"=>["Officia rerum consequatur voluptatibus est. Doloribus modi qui ea vitae. Harum provident rerum blanditiis hic porro dolores. Et ab voluptatem officia est nihil. Dignissimos minus omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df388277353317568e0000'), "author_name"=>"Laury Waelchi", "content"=>["Non odio repudiandae illo quia architecto placeat quas. Molestiae sit aut natus dolor quisquam consequatur. Voluptatem similique aut porro ut. Adipisci ea beatae. Est delectus blanditiis qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df388277353317568f0000", "comment_id"=>"53df388277353317568d0000", "id"=>"53df388277353317568e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df388277353317568f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38827735331756920000'), "name"=>"Jerad Swaniawski", "reference"=>"Emilio Botsford", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756900000'), "author_name"=>"Amir Kohler", "content"=>["Sapiente quia dolore. Ut ab iste. Quidem inventore nisi minima minus amet consequuntur beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53df38827735331756910000'), "author_name"=>"Emanuel Larkin DVM", "content"=>["Ducimus possimus ipsam libero et voluptatibus. Non ipsum voluptatem et. Officia inventore ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df38827735331756910000", "product_id"=>"53df38827735331756920000", "comment_id"=>"53df38827735331756900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38827735331756920000')} 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('53df38827735331756920000'), "comments._id"=>BSON::ObjectId('53df38827735331756900000'), "comments.0.comments._id"=>BSON::ObjectId('53df38827735331756910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms Redirected to http://test.host/products/53df38827735331756920000/comments/53df38827735331756900000/comments/53df38827735331756910000 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('53df38827735331756930000'), "firstname"=>"Lavada", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3127ms 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('53df38827735331756940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://test.host/users/53df38827735331756940000 Completed 302 Found in 3ms 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('53df38827735331756950000'), "firstname"=>"Arnoldo", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2095ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df38827735331756950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38827735331756950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38827735331756950000')} 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.2041ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38827735331756960000'), "firstname"=>"Adolphus", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6480ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df38827735331756960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38827735331756960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms 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('53df38827735331756970000'), "firstname"=>"Buster", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms 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.4204ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38827735331756980000'), "firstname"=>"Catharine", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38827735331756990000'), "firstname"=>"Darby", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df38827735331756990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38827735331756990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms 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('53df388277353317569a0000'), "firstname"=>"Jillian", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df388277353317569a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df388277353317569a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Unpermitted parameters: name Redirected to http://test.host/users/53df388277353317569a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7162ms 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.7242ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9438ms 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.6671ms 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.6774ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783000000'), "firstname"=>"Aleen", "lastname"=>"Mosciski"}] 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=>"administrators", :query=>{}} runtime: 0.2705ms 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('53df38a27735331783010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms 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.2156ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783020000'), "firstname"=>"Amara", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df38a27735331783020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 50ms (Views: 48.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783030000'), "firstname"=>"Watson", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783040000'), "firstname"=>"Hillary", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df38a27735331783040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4175ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783050000'), "firstname"=>"Norris", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df38a27735331783050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms 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('53df38a27735331783060000'), "name"=>"Vincenza Conn", "reference"=>"Loyal Nikolaus", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38a27735331783070000'), "author_name"=>"Sabrina Lehner", "content"=>["Ex autem qui magni et. Beatae corrupti enim repellendus autem et fuga atque. Est nesciunt beatae dolorem aut itaque consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4342ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df38a27735331783060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df38a27735331783080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6111ms Redirected to http://test.host/admin/products/53df38a27735331783060000/comments/53df38a27735331783080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783090000'), "name"=>"Destini Jast", "reference"=>"Anthony Spinka", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df38a277353317830a0000'), "author_name"=>"Lilla Weissnat", "content"=>["Dolorem rerum aliquid reiciendis quibusdam. Repellendus voluptatem quis veniam fugit sunt omnis est. Quo eaque voluptas at. Sequi quo nam autem voluptatem velit voluptatibus. Eum accusamus et qui sapiente dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df38a27735331783090000", "id"=>"53df38a277353317830a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df38a277353317830a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6342ms Redirected to http://test.host/admin/products/53df38a27735331783090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317830b0000'), "name"=>"Joshua Nolan I", "reference"=>"Ms. Adonis Grady", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df38a277353317830c0000'), "author_name"=>"Mrs. Ivory Hickle", "content"=>["Vero excepturi et. Accusamus adipisci autem quia suscipit. Eaque perspiciatis aut molestias quod velit perferendis illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df38a277353317830b0000", "id"=>"53df38a277353317830c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317830b0000')} 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.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317830d0000'), "name"=>"Hettie Daugherty", "reference"=>"Dangelo Jones", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df38a277353317830e0000'), "author_name"=>"Florian Wisozk", "content"=>["Explicabo recusandae quasi aut eveniet. Omnis ullam ipsa libero voluptatum nam qui modi. Voluptatem illum dolorum ad vel. Totam molestias et itaque sapiente. Voluptatum rerum voluptatibus deserunt nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5793ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df38a277353317830d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317830d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4036ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317830f0000'), "name"=>"Camron Raynor", "reference"=>"Marjolaine Casper", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df38a27735331783100000'), "author_name"=>"Kaci Howe", "content"=>["Exercitationem aut aliquam nostrum soluta. Illo ea et accusamus et autem voluptatibus. Voluptatum sapiente sit natus possimus adipisci perferendis. Veniam velit sint voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5912ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df38a277353317830f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317830f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4346ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783110000'), "name"=>"Mr. Jaylon Hickle", "reference"=>"Jessika Padberg", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38a27735331783120000'), "author_name"=>"Bill Medhurst", "content"=>["Qui sit dolore. Occaecati et enim quidem odit expedita. Velit sequi quo sit quos. Illum rerum expedita culpa quos optio aut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df38a27735331783110000", "id"=>"53df38a27735331783120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4014ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783130000'), "name"=>"Aurelie Schimmel", "reference"=>"Mr. Ulises Stoltenberg", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38a27735331783140000'), "author_name"=>"Queen Gutmann", "content"=>["Sapiente quaerat explicabo rem sequi. Doloremque rerum impedit. Dolorum tenetur iusto omnis numquam ducimus aut. Eius quis adipisci. Odio maiores adipisci ut reprehenderit illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5771ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df38a27735331783140000", "product_id"=>"53df38a27735331783130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4302ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783130000'), "comments._id"=>BSON::ObjectId('53df38a27735331783140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5509ms Redirected to http://test.host/admin/products/53df38a27735331783130000/comments/53df38a27735331783140000 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('53df38a27735331783150000'), "name"=>"Marielle Kirlin", "reference"=>"Lisette VonRueden", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df38a27735331783160000'), "firstname"=>"Belle", "lastname"=>"Schultz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df38a27735331783150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df38a27735331783170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Redirected to http://test.host/admin/products/53df38a27735331783150000/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('53df38a27735331783180000'), "name"=>"Joe Braun", "reference"=>"Lizzie Yost", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df38a27735331783190000'), "firstname"=>"Flavie", "lastname"=>"McCullough"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df38a27735331783190000", "product_id"=>"53df38a27735331783180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317831a0000'), "name"=>"Edison Tremblay", "reference"=>"Victoria Feest", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df38a277353317831b0000'), "firstname"=>"Terry", "lastname"=>"Cummings"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3984ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df38a277353317831a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317831a0000')} 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.0ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317831c0000'), "name"=>"Miss Jaclyn Kohler", "reference"=>"Heather Ryan", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df38a277353317831d0000'), "firstname"=>"Agustina", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df38a277353317831d0000", "product_id"=>"53df38a277353317831c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317831c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a277353317831e0000'), "name"=>"Nelson Feest III", "reference"=>"Rosalind Gottlieb", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df38a277353317831f0000'), "firstname"=>"Pierce", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df38a277353317831f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df38a277353317831e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a277353317831e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df38a277353317831e0000/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('53df38a27735331783200000'), "name"=>"Miss Estrella Crona", "reference"=>"Alena Mertz", "quantity"=>"5"}] 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.2672ms 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('53df38a27735331783210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Redirected to http://test.host/admin/products/53df38a27735331783210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2237ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783220000'), "name"=>"Adah Miller PhD", "reference"=>"Ms. Mohammed Borer", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df38a27735331783220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms 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.1758ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783230000'), "name"=>"Selmer Jacobs", "reference"=>"Cesar Sauer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df38a27735331783230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.6ms) Completed 200 OK in 40ms (Views: 39.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783240000'), "name"=>"Dorthy Russel", "reference"=>"Alverta Krajcik", "quantity"=>"7"}] 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.5370ms Completed 200 OK in 12ms (Views: 11.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783250000'), "name"=>"Ms. Flavie Durgan", "reference"=>"Wellington Pouros", "quantity"=>"5"}] 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.6ms) Completed 200 OK in 19ms (Views: 4.8ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a27735331783280000'), "name"=>"Reid Brown", "reference"=>"Mr. Jalen Grady", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df38a27735331783280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms 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('53df38a27735331783290000'), "name"=>"Katlynn Herman", "reference"=>"Bessie Bernhard", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df38a27735331783290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Redirected to http://test.host/admin/products/53df38a27735331783290000 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('53df38a277353317832a0000'), "firstname"=>"Mason", "lastname"=>"Nitzsche"}] 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.2196ms 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('53df38a277353317832b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms Redirected to http://test.host/admin/users/53df38a277353317832b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2119ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38a277353317832c0000'), "firstname"=>"Gennaro", "lastname"=>"Marquardt"}] 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.1957ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df38a277353317832c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38a277353317832c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38a277353317832c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms 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.1980ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38a277353317832d0000'), "firstname"=>"Eldridge", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df38a277353317832d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38a277353317832d0000')} 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.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('53df38a277353317832e0000'), "firstname"=>"Dorothea", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms 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.3068ms 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('53df38a277353317832f0000'), "firstname"=>"Easton", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38a27735331783300000'), "firstname"=>"Matilda", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df38a27735331783300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38a27735331783300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms 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('53df38a27735331783310000'), "firstname"=>"Roderick", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df38a27735331783310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38a27735331783310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df38a27735331783310000 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('53df38a27735331783320000'), "firstname"=>"Vivien", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2585ms 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('53df38a27735331783330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms 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.2550ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783340000'), "firstname"=>"Marielle", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df38a27735331783340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783350000'), "firstname"=>"Jodie", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6280ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 38ms (Views: 37.1ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783360000'), "firstname"=>"Clara", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5601ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df38a27735331783360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df38a27735331783370000'), "firstname"=>"Walter", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5514ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df38a27735331783370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df38a27735331783370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms 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('53df38a27735331783380000'), "name"=>"Ms. Kayleigh O'Hara", "reference"=>"Dr. Nels Kuhic", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38a27735331783390000'), "author_name"=>"Kathryn Jones Jr.", "content"=>["Eum atque temporibus voluptas ducimus. Temporibus recusandae quibusdam qui quia velit dolor. Tenetur assumenda ut et id. Earum excepturi consequuntur modi quibusdam aut sed magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df38a27735331783380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df38a277353317833a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5153ms Redirected to http://test.host/products/53df38a27735331783380000/comments/53df38a277353317833a0000 Completed 302 Found in 2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a27735331783380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8193ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a577353317833b0000'), "name"=>"Demarco Reichert", "reference"=>"Kailey Hackett", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38a577353317833c0000'), "author_name"=>"Dr. Kieran Connelly", "content"=>["Incidunt culpa voluptas. Aliquid ut aut. Ab eum aspernatur tenetur necessitatibus et officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a577353317833b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5348ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df38a577353317833b0000", "id"=>"53df38a577353317833c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a577353317833b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6539ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a577353317833b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df38a577353317833c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7195ms Redirected to http://test.host/products/53df38a577353317833b0000/comments Completed 302 Found in 3713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a577353317833b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8203ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a877353317833d0000'), "name"=>"Marcel Paucek DDS", "reference"=>"Georgiana Mitchell", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df38a877353317833e0000'), "author_name"=>"Mr. Janie Witting", "content"=>["Dolorem cumque recusandae nisi dolores ullam. Nostrum accusamus aliquam velit reiciendis et sunt. Illo molestiae qui dolor sint vitae nihil. Voluptatum officia dolorem consequatur facilis beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8372ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df38a877353317833d0000", "id"=>"53df38a877353317833e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a877353317833d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6626ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 18ms (Views: 12.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a877353317833f0000'), "name"=>"Mr. Margarete Bednar", "reference"=>"Cordell Kuhn I", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38a87735331783400000'), "author_name"=>"Toni Gerlach MD", "content"=>["Provident nulla consectetur non illo. Nemo reprehenderit repellat doloribus eius quod enim et. Quasi architecto cumque facilis. Repellat accusamus nulla aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0597ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df38a877353317833f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a877353317833f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5824ms Completed 200 OK in 10ms (Views: 6.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783410000'), "name"=>"Lori Grant IV", "reference"=>"Keeley Quitzon", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783420000'), "author_name"=>"Hector Marks", "content"=>["Iure ipsam perspiciatis. Error magni voluptatibus consequatur nulla qui quisquam quia. Eveniet maxime reprehenderit. Dicta aut nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8496ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df38a97735331783410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5549ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783430000'), "name"=>"Germaine Cole", "reference"=>"Makayla Zemlak", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783440000'), "author_name"=>"Peter Davis", "content"=>["Similique non est pariatur. Sed minus reprehenderit deleniti ut velit recusandae. Quo delectus sed rerum ab. Praesentium rerum enim excepturi sit placeat non cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5901ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df38a97735331783430000", "id"=>"53df38a97735331783440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4801ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783450000'), "name"=>"Emmie Graham", "reference"=>"Paxton Pacocha", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783460000'), "author_name"=>"Hillard Fritsch Sr.", "content"=>["Rem iure eum tenetur qui in. Ipsa molestiae sapiente dignissimos tempore. Omnis ut provident in alias. Est et possimus rerum voluptates molestias. Exercitationem autem cum qui veritatis et voluptas at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5412ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df38a97735331783450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 5.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783470000'), "name"=>"Mr. Kieran Haag", "reference"=>"Casimir Bailey", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783480000'), "author_name"=>"Claire Friesen", "content"=>["Esse sed dolorum ducimus eligendi illum quos et. Dolor sed voluptate dolore. Modi accusantium ut perferendis reprehenderit debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6316ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df38a97735331783470000", "id"=>"53df38a97735331783480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4676ms Completed 200 OK in 7ms (Views: 3.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783490000'), "name"=>"Guillermo Mayert V", "reference"=>"Mrs. Elouise Gleichner", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df38a977353317834a0000'), "author_name"=>"Teresa Borer", "content"=>["Reprehenderit expedita esse. Aut iusto maiores asperiores magnam consequatur doloribus. Et placeat sed autem alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df38a977353317834a0000", "product_id"=>"53df38a97735331783490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783490000'), "comments._id"=>BSON::ObjectId('53df38a977353317834a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5879ms Redirected to http://test.host/products/53df38a97735331783490000/comments/53df38a977353317834a0000 Completed 302 Found in 339ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317834b0000'), "firstname"=>"Paris", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7414ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3334ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317834c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5709ms Redirected to http://test.host/admin/clients/53df38a977353317834c0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3622ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317834d0000'), "firstname"=>"Sarina", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3369ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df38a977353317834d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a977353317834d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a977353317834d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5533ms 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.3648ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317834e0000'), "firstname"=>"Dimitri", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df38a977353317834e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a977353317834e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 11ms (Views: 9.6ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317834f0000'), "firstname"=>"Declan", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5098ms 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('53df38a97735331783500000'), "firstname"=>"Eunice", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0527ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 12ms (Views: 10.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783510000'), "firstname"=>"Dan", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7075ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df38a97735331783510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5535ms Completed 200 OK in 9ms (Views: 5.9ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783520000'), "firstname"=>"Myron", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6441ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df38a97735331783520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4132ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6415ms Redirected to http://test.host/admin/clients/53df38a97735331783520000 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('53df38a97735331783530000'), "firstname"=>"Felipe", "lastname"=>"Satterfield"}] 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=>"clients", :query=>{}} runtime: 0.3716ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms Redirected to http://test.host/clients/53df38a97735331783540000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3132ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783550000'), "firstname"=>"Felicia", "lastname"=>"Huel"}] 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=>"clients", :query=>{}} runtime: 0.3314ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df38a97735331783550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms 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.3589ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783560000'), "firstname"=>"Valentina", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df38a97735331783560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (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('53df38a97735331783570000'), "firstname"=>"Vergie", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4954ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5722ms Completed 200 OK in 13ms (Views: 12.5ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a97735331783580000'), "firstname"=>"Rico", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5797ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df38a97735331783590000'), "firstname"=>"Jaiden", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9644ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df38a97735331783590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a97735331783590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4853ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df38a977353317835a0000'), "firstname"=>"Syble", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5269ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df38a977353317835a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a977353317835a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5018ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df38a977353317835a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5140ms Redirected to http://test.host/clients/53df38a977353317835a0000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a977353317835b0000'), "name"=>"Tristian Paucek", "reference"=>"Shanon Crona", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df38a977353317835c0000'), "firstname"=>"Andres", "lastname"=>"Cummerata"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6811ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df38a977353317835b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317835b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4746ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317835b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317835b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df38a977353317835d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms Redirected to http://test.host/products/53df38a977353317835b0000/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('53df38a977353317835e0000'), "name"=>"Joy Huels", "reference"=>"Savanna Turcotte", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df38a977353317835f0000'), "firstname"=>"Lyda", "lastname"=>"Frami"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5674ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df38a977353317835f0000", "product_id"=>"53df38a977353317835e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317835e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4601ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783600000'), "name"=>"Cullen Hessel", "reference"=>"Ivory Torp", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df38a97735331783610000'), "firstname"=>"Darren", "lastname"=>"Bergnaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5596ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df38a97735331783600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783620000'), "name"=>"Milo Okuneva DDS", "reference"=>"Mrs. Laurel Nader", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df38a97735331783630000'), "firstname"=>"Ambrose", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df38a97735331783630000", "product_id"=>"53df38a97735331783620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783640000'), "name"=>"Luisa Marvin", "reference"=>"Josh Leannon", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df38a97735331783650000'), "firstname"=>"Deshawn", "lastname"=>"Muller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df38a97735331783650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df38a97735331783640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms Unpermitted parameters: name Redirected to http://test.host/products/53df38a97735331783640000/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('53df38a97735331783660000'), "name"=>"Jailyn Bins", "reference"=>"Mateo Bechtelar", "quantity"=>"7"}] 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.1993ms 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('53df38a97735331783670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Redirected to http://test.host/products/53df38a97735331783670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1609ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783680000'), "name"=>"Amir Ziemann", "reference"=>"Deshawn Jacobs III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1541ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df38a97735331783680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms 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('53df38a97735331783690000'), "name"=>"Aaron Walter I", "reference"=>"Dr. Alice Stokes", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df38a97735331783690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('53df38a977353317836a0000'), "name"=>"Lacey Becker", "reference"=>"Julius Klein", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms 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.6631ms Completed 200 OK in 20ms (Views: 19.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a977353317836b0000'), "name"=>"Tod Marks MD", "reference"=>"Ms. Fiona Yost", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms 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.6479ms 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('53df38a977353317836c0000'), "name"=>"Mr. Bernita Torp", "reference"=>"Retha Tremblay Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df38a977353317836c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317836c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Completed 200 OK in 1ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a977353317836d0000'), "name"=>"Coleman Wisozk V", "reference"=>"Waldo Crist", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a977353317836f0000'), "name"=>"Mr. Janice Stokes", "reference"=>"Pearline Morar V", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df38a977353317836f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317836f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783700000'), "name"=>"Margie Thompson", "reference"=>"Jason McKenzie", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1597ms 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('53df38a97735331783710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1519ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783720000'), "name"=>"Alysa Koss Jr.", "reference"=>"Desmond Bashirian", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df38a97735331783720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms 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('53df38a97735331783730000'), "name"=>"Miss Hassan Schaden", "reference"=>"Rylee Howe", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.1501ms 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('53df38a97735331783750000'), "name"=>"Syble Stoltenberg III", "reference"=>"Jamie Marvin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df38a97735331783750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms 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('53df38a97735331783760000'), "name"=>"Josh Gleason Jr.", "reference"=>"Itzel Feil", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df38a97735331783760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms Redirected to http://test.host/products/53df38a97735331783760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783790000'), "name"=>"Earl Romaguera", "reference"=>"Noe Murazik", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783770000'), "author_name"=>"Linnea Osinski", "content"=>["Modi rerum cum facilis. Eum voluptates ut et. Quia in voluptatum fugit dolores quos. Magnam fugit voluptatem sint accusantium debitis. Dolorum aspernatur sunt maxime voluptatem assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('53df38a97735331783780000'), "author_name"=>"Jackie Brekke", "content"=>["Qui facere sint. Nihil veniam voluptatem sed. Culpa ea alias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df38a97735331783790000", "comment_id"=>"53df38a97735331783770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783790000')} 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('53df38a97735331783790000'), "comments._id"=>BSON::ObjectId('53df38a97735331783770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df38a977353317837a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7535ms Redirected to http://test.host/products/53df38a97735331783790000/comments/53df38a97735331783770000/comments/53df38a977353317837a0000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a977353317837d0000'), "name"=>"Korbin Fritsch", "reference"=>"Tomas Bartell", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df38a977353317837b0000'), "author_name"=>"Reginald Stiedemann IV", "content"=>["Laudantium repudiandae voluptas suscipit facilis earum sint et. Voluptate odit necessitatibus tenetur temporibus. Sit at laudantium aperiam quidem. Vitae facere vero."], "comments"=>[{"_id"=>BSON::ObjectId('53df38a977353317837c0000'), "author_name"=>"Aditya Herman III", "content"=>["Accusamus distinctio saepe. Et qui vel. Id voluptatem quos. Accusantium nam porro laborum. Fugit quam modi quod maxime."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317837d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df38a977353317837d0000", "comment_id"=>"53df38a977353317837b0000", "id"=>"53df38a977353317837c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317837d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3946ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317837d0000'), "comments._id"=>BSON::ObjectId('53df38a977353317837b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df38a977353317837c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Redirected to http://test.host/products/53df38a977353317837d0000/comments/53df38a977353317837b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a977353317837d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38a97735331783800000'), "name"=>"Mustafa D'Amore", "reference"=>"Curtis Fadel", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df38a977353317837e0000'), "author_name"=>"Alexanne Abernathy II", "content"=>["Vel facilis minus et molestiae sed ut. In fuga at similique dolor minus voluptatum. Eligendi consequuntur sunt enim veniam ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df38a977353317837f0000'), "author_name"=>"Lamont Donnelly", "content"=>["Sit sed numquam qui qui. Quidem asperiores omnis vel. Ratione omnis dolor aut et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df38a97735331783800000", "comment_id"=>"53df38a977353317837e0000", "id"=>"53df38a977353317837f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38a97735331783800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783830000'), "name"=>"Leola Cronin", "reference"=>"Rick Rau", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783810000'), "author_name"=>"Tre Deckow", "content"=>["Perspiciatis consequatur aut est dignissimos totam voluptatum. Quasi minus est qui. Nostrum aut nihil adipisci nulla."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783820000'), "author_name"=>"Cristobal Schumm", "content"=>["Illum odit at molestiae. Explicabo amet voluptatibus quos a qui qui. Sed et explicabo. Ut vel velit vero minus et hic. Voluptatibus natus et et earum et laudantium quasi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df38aa7735331783830000", "comment_id"=>"53df38aa7735331783810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa7735331783830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783860000'), "name"=>"Dino Carter", "reference"=>"Mr. Nayeli Abshire", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783840000'), "author_name"=>"Norwood Bradtke", "content"=>["Eligendi dolor dolorem doloribus autem quos maxime eum. Aut magnam sapiente voluptatem laboriosam quo inventore omnis. Provident error perspiciatis nesciunt voluptas fuga quos."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783850000'), "author_name"=>"Deshaun Treutel", "content"=>["Dignissimos et ut amet mollitia sunt. Occaecati voluptas rerum aperiam debitis. Est nostrum est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df38aa7735331783860000", "comment_id"=>"53df38aa7735331783840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa7735331783860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783890000'), "name"=>"Lisandro Barrows", "reference"=>"Mrs. Schuyler Wolf", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783870000'), "author_name"=>"Marcella Kihn", "content"=>["Et accusamus aut alias omnis qui. Sed dolorum non pariatur quo. Veritatis iure ipsam. Aspernatur alias adipisci. Impedit vel atque."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783880000'), "author_name"=>"Jaime Gottlieb", "content"=>["Fugiat dignissimos ut ut cum. Ab omnis cumque. Ut dolor quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df38aa7735331783890000", "comment_id"=>"53df38aa7735331783870000", "id"=>"53df38aa7735331783880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa7735331783890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa77353317838c0000'), "name"=>"Randal Crona", "reference"=>"Ryann Bartell", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa77353317838a0000'), "author_name"=>"Chauncey Goldner DDS", "content"=>["Odit asperiores aliquam sit magni eum atque. Ea voluptate qui beatae dignissimos cum et eos. Dolorem error et non mollitia reiciendis omnis. Qui ut sapiente sed in. Est sequi molestiae in."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa77353317838b0000'), "author_name"=>"Jessica Stoltenberg", "content"=>["Nostrum labore aut et in eos recusandae. Labore natus nobis blanditiis. Qui ex et et non. Distinctio qui ea nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df38aa77353317838c0000", "comment_id"=>"53df38aa77353317838a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa77353317838c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa77353317838f0000'), "name"=>"Mr. Johathan Hahn", "reference"=>"Jarrod Doyle", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa77353317838d0000'), "author_name"=>"Malcolm Runte", "content"=>["Est labore architecto nam nemo itaque. Consequatur culpa deleniti. Odio dolore quas doloremque pariatur est dolor praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa77353317838e0000'), "author_name"=>"Korey Marquardt II", "content"=>["Est quos vitae ut aperiam. Voluptatem enim qui ullam consequatur ducimus. At et velit beatae mollitia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df38aa77353317838f0000", "comment_id"=>"53df38aa77353317838d0000", "id"=>"53df38aa77353317838e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa77353317838f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3944ms Completed 200 OK in 5ms (Views: 2.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783920000'), "name"=>"Miss Bryana Wunsch", "reference"=>"Mateo Lowe", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783900000'), "author_name"=>"Granville Bartoletti", "content"=>["Ut enim esse omnis facilis voluptatum. Et sit eveniet. Et eum ea aut rerum consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('53df38aa7735331783910000'), "author_name"=>"Alejandrin Leffler", "content"=>["Porro voluptatem aut aspernatur unde debitis omnis dolores. Voluptatem iusto rerum eius ex impedit. Libero in et sit minima. A cumque maxime alias quam cum. Veniam provident delectus architecto dolores est voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df38aa7735331783910000", "product_id"=>"53df38aa7735331783920000", "comment_id"=>"53df38aa7735331783900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df38aa7735331783920000')} 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('53df38aa7735331783920000'), "comments._id"=>BSON::ObjectId('53df38aa7735331783900000'), "comments.0.comments._id"=>BSON::ObjectId('53df38aa7735331783910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4376ms Redirected to http://test.host/products/53df38aa7735331783920000/comments/53df38aa7735331783900000/comments/53df38aa7735331783910000 Completed 302 Found in 34ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783930000'), "firstname"=>"Tania", "lastname"=>"Beer"}] 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=>"admin_users", :query=>{}} runtime: 0.1938ms 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('53df38aa7735331783940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms Redirected to http://test.host/users/53df38aa7735331783940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3356ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783950000'), "firstname"=>"Alverta", "lastname"=>"Kautzer"}] 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.3470ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df38aa7735331783950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38aa7735331783950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38aa7735331783950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms 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.3689ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783960000'), "firstname"=>"Turner", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5830ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df38aa7735331783960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38aa7735331783960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4325ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 62ms (Views: 60.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783970000'), "firstname"=>"Kenneth", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5294ms 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.4565ms Completed 200 OK in 13ms (Views: 12.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa7735331783980000'), "firstname"=>"Janelle", "lastname"=>"Sawayn"}] 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.3ms) 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('53df38aa7735331783990000'), "firstname"=>"Sonia", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df38aa7735331783990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38aa7735331783990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms Completed 200 OK in 5ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df38aa77353317839a0000'), "firstname"=>"Carmela", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df38aa77353317839a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df38aa77353317839a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Unpermitted parameters: name Redirected to http://test.host/users/53df38aa77353317839a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4132ms 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.4804ms 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.8077ms 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.8865ms 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.6669ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837000000'), "firstname"=>"Queen", "lastname"=>"Hessel"}] 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=>"administrators", :query=>{}} runtime: 0.2169ms 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('53df39ea7735331837010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms 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.2144ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837020000'), "firstname"=>"Marcella", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df39ea7735331837020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39ea7735331837020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 49ms (Views: 47.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837030000'), "firstname"=>"Judah", "lastname"=>"Glover"}] 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 (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837040000'), "firstname"=>"Eldridge", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df39ea7735331837040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39ea7735331837040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837050000'), "firstname"=>"Caden", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df39ea7735331837050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39ea7735331837050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms 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('53df39ea7735331837060000'), "name"=>"Chadrick Price", "reference"=>"Hank Bruen", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea7735331837070000'), "author_name"=>"Arch Schoen", "content"=>["Debitis deserunt molestiae est molestiae fuga sed veniam. Aut dolorum ad est. Officia dolor enim laboriosam velit dolores rem. Deleniti similique eos optio impedit voluptatem totam. Rem ab et perferendis est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df39ea7735331837060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df39ea7735331837080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Redirected to http://test.host/admin/products/53df39ea7735331837060000/comments/53df39ea7735331837080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837090000'), "name"=>"Fabian Cummerata PhD", "reference"=>"Vicenta Raynor", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea77353318370a0000'), "author_name"=>"Oliver Mills MD", "content"=>["Voluptatem quis veritatis atque optio unde id repellat. Excepturi libero est perspiciatis beatae praesentium odit tenetur. Inventore doloribus vel enim illum ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.1422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df39ea7735331837090000", "id"=>"53df39ea77353318370a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3786ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df39ea77353318370a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms Redirected to http://test.host/admin/products/53df39ea7735331837090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318370b0000'), "name"=>"Dion Murray", "reference"=>"Meta Cronin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea77353318370c0000'), "author_name"=>"Noah Crooks", "content"=>["Rerum vel deserunt quia. Praesentium est architecto ipsam et. Vel quod et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df39ea77353318370b0000", "id"=>"53df39ea77353318370c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318370b0000')} 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.6ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318370d0000'), "name"=>"Mrs. Lera Ondricka", "reference"=>"Alda Howell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea77353318370e0000'), "author_name"=>"Noemie Johnson", "content"=>["Tenetur itaque cum voluptas fugiat modi libero. Ut laboriosam vel accusamus voluptas. Corporis neque illo est quia similique. Non enim modi excepturi dolores sed voluptatibus. Reprehenderit quos itaque eos ex perferendis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df39ea77353318370d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318370d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318370f0000'), "name"=>"Dr. Jordyn Schultz", "reference"=>"Roel Metz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea7735331837100000'), "author_name"=>"Mr. Karli Bailey", "content"=>["Ut quia nihil qui eum. Consequatur pariatur rerum. Fuga aperiam voluptatem nihil. Voluptate placeat aut laudantium officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df39ea77353318370f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318370f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837110000'), "name"=>"Mrs. Augustus Koepp", "reference"=>"Gilbert Pouros", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea7735331837120000'), "author_name"=>"Anne Fadel", "content"=>["Ducimus necessitatibus rerum praesentium. Rerum consequatur non odio eos. Corporis error quaerat doloremque iste reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df39ea7735331837110000", "id"=>"53df39ea7735331837120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837130000'), "name"=>"Dr. Nigel Kuvalis", "reference"=>"Pauline Murphy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df39ea7735331837140000'), "author_name"=>"Keon Hodkiewicz", "content"=>["Consequatur officia et. Et delectus soluta nisi sunt cumque. Aut sunt tempore adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df39ea7735331837140000", "product_id"=>"53df39ea7735331837130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837130000'), "comments._id"=>BSON::ObjectId('53df39ea7735331837140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5350ms Redirected to http://test.host/admin/products/53df39ea7735331837130000/comments/53df39ea7735331837140000 Completed 302 Found in 6ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837150000'), "name"=>"Lowell Larson IV", "reference"=>"Cynthia Boyle", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df39ea7735331837160000'), "firstname"=>"Juanita", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df39ea7735331837150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df39ea7735331837170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms Redirected to http://test.host/admin/products/53df39ea7735331837150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837180000'), "name"=>"Brock Becker", "reference"=>"Garland Johnson", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df39ea7735331837190000'), "firstname"=>"Franco", "lastname"=>"Bogisich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df39ea7735331837190000", "product_id"=>"53df39ea7735331837180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318371a0000'), "name"=>"Kayla Flatley Sr.", "reference"=>"Beulah Larson", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df39ea77353318371b0000'), "firstname"=>"Nestor", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df39ea77353318371a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318371a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318371c0000'), "name"=>"Juwan Jaskolski", "reference"=>"Annabel Abernathy", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df39ea77353318371d0000'), "firstname"=>"Hassan", "lastname"=>"Hintz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df39ea77353318371d0000", "product_id"=>"53df39ea77353318371c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318371c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea77353318371e0000'), "name"=>"Zechariah Thiel", "reference"=>"Ms. Berenice Kessler", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df39ea77353318371f0000'), "firstname"=>"Viva", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df39ea77353318371f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df39ea77353318371e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea77353318371e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df39ea77353318371e0000/manager 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('53df39ea7735331837200000'), "name"=>"Margarette Goyette", "reference"=>"Oleta Konopelski", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2063ms 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('53df39ea7735331837210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms Redirected to http://test.host/admin/products/53df39ea7735331837210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2031ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837220000'), "name"=>"Nathanael Glover", "reference"=>"Hailey Mills", "quantity"=>"8"}] 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.1506ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df39ea7735331837220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837220000')} 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('53df39ea7735331837220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms 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.1819ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837230000'), "name"=>"Destiney Simonis", "reference"=>"Mrs. Harmony McCullough", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df39ea7735331837230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39ea7735331837230000')} 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.5ms) Completed 200 OK in 38ms (Views: 37.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39ea7735331837240000'), "name"=>"Luciano Bergstrom", "reference"=>"Marcelle Padberg", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms 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.5854ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837250000'), "name"=>"Ms. Wilhelmine Lubowitz", "reference"=>"Rocio Kemmer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837280000'), "name"=>"Mylene Bernhard Jr.", "reference"=>"Oda Wolf", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df39eb7735331837280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms 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('53df39eb7735331837290000'), "name"=>"Moshe Strosin", "reference"=>"Rhiannon Murazik", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df39eb7735331837290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Redirected to http://test.host/admin/products/53df39eb7735331837290000 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('53df39eb77353318372a0000'), "firstname"=>"Elena", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2672ms 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('53df39eb77353318372b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Redirected to http://test.host/admin/users/53df39eb77353318372b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2836ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb77353318372c0000'), "firstname"=>"Jessyca", "lastname"=>"Purdy"}] 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.2646ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df39eb77353318372c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb77353318372c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb77353318372c0000')} 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.3013ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb77353318372d0000'), "firstname"=>"Don", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df39eb77353318372d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb77353318372d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb77353318372e0000'), "firstname"=>"Liana", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms 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.4542ms 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('53df39eb77353318372f0000'), "firstname"=>"Madeline", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms 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.7ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837300000'), "firstname"=>"Hardy", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8931ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df39eb7735331837300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3958ms 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('53df39eb7735331837310000'), "firstname"=>"Glennie", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5101ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df39eb7735331837310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df39eb7735331837310000 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('53df39eb7735331837320000'), "firstname"=>"Drew", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2937ms 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('53df39eb7735331837330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms 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.2917ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837340000'), "firstname"=>"Eunice", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df39eb7735331837340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39eb7735331837340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4017ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837350000'), "firstname"=>"Immanuel", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6238ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 6.1ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837360000'), "firstname"=>"Kevon", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5499ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df39eb7735331837360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39eb7735331837360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837370000'), "firstname"=>"Kaela", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5524ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df39eb7735331837370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df39eb7735331837370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms 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('53df39eb7735331837380000'), "name"=>"Bert Bailey", "reference"=>"Ernestina Cole I", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837390000'), "author_name"=>"Golden Rempel MD", "content"=>["Fugiat enim voluptates ipsam tempora perferendis omnis. Ipsam ab quia corporis odio earum reiciendis. Aliquam fuga veritatis illum modi autem dolores. Quos magnam illum voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df39eb7735331837380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837380000')} 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('53df39eb7735331837380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df39eb77353318373a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms Redirected to http://test.host/products/53df39eb7735331837380000/comments/53df39eb77353318373a0000 Completed 500 Internal Server Error in 4ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318373b0000'), "name"=>"Cullen Purdy", "reference"=>"Dr. Eugene Senger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318373c0000'), "author_name"=>"Ms. Major Heller", "content"=>["Accusantium dolore vero officia ut ut exercitationem. Alias sed nemo. Laborum aut quibusdam dolore qui necessitatibus voluptas. Fuga dolores voluptate. Voluptatem eos voluptates totam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df39eb77353318373b0000", "id"=>"53df39eb77353318373c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3794ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df39eb77353318373c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Redirected to http://test.host/products/53df39eb77353318373b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318373d0000'), "name"=>"Keon Rosenbaum DVM", "reference"=>"Cathy Crist", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318373e0000'), "author_name"=>"Derek Hahn", "content"=>["Non quibusdam et sed. Dignissimos vel nobis perspiciatis autem. Tempore ducimus exercitationem qui odio delectus consequuntur ipsum. Quisquam error quos et magni. Veniam libero fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df39eb77353318373d0000", "id"=>"53df39eb77353318373e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318373f0000'), "name"=>"Ms. Ryann Osinski", "reference"=>"Alize Doyle", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837400000'), "author_name"=>"Lonny Friesen", "content"=>["Fugit et minima delectus repellat ea quia quaerat. Sed rerum molestiae qui eum quam. Nesciunt quia temporibus. Nobis earum adipisci doloribus ratione. Quia iste exercitationem sit dignissimos asperiores quis quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4926ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df39eb77353318373f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318373f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837410000'), "name"=>"Nyasia Moen", "reference"=>"Dannie Smith PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837420000'), "author_name"=>"Ms. Clare Wyman", "content"=>["Sed ea hic et molestiae voluptatibus vitae officia. Voluptas ducimus asperiores. Voluptate ut deserunt harum nihil laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df39eb7735331837410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837430000'), "name"=>"Ms. Loraine Gutkowski", "reference"=>"Ewell Mante Jr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837440000'), "author_name"=>"Hope Leannon", "content"=>["Dolorum culpa nesciunt asperiores est accusamus repudiandae qui. Maiores nostrum dolor aut quibusdam ut reprehenderit qui. Earum et in nobis aut omnis eum. Sed necessitatibus eum nam. Porro rem fugit quia eligendi deleniti enim id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df39eb7735331837430000", "id"=>"53df39eb7735331837440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837450000'), "name"=>"Pierre Hermann", "reference"=>"Elfrieda Hyatt", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837460000'), "author_name"=>"Kaylie Zieme V", "content"=>["Incidunt totam tempora fugiat. Qui deserunt eum dolore inventore. Sunt voluptatem enim. Iure reprehenderit optio. Esse rerum illum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df39eb7735331837450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837450000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837470000'), "name"=>"Kianna Frami", "reference"=>"Dedrick Jast", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837480000'), "author_name"=>"Brandon Doyle", "content"=>["Exercitationem dolores eius vel. Eius amet ea omnis. Voluptas ipsa enim. Officia possimus repudiandae asperiores id ipsum culpa explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df39eb7735331837470000", "id"=>"53df39eb7735331837480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837490000'), "name"=>"Wilber Cassin", "reference"=>"Freida Klocko", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318374a0000'), "author_name"=>"Barney Hoppe", "content"=>["Repellendus quia eius illum nostrum ab. Voluptatem nihil inventore occaecati dolor maxime eos voluptatum. Dolor nihil totam laudantium consequatur. Dolores natus exercitationem molestiae vel aut corporis et. Eaque distinctio consequatur at doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df39eb77353318374a0000", "product_id"=>"53df39eb7735331837490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837490000'), "comments._id"=>BSON::ObjectId('53df39eb77353318374a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6793ms Redirected to http://test.host/products/53df39eb7735331837490000/comments/53df39eb77353318374a0000 Completed 500 Internal Server Error in 6ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb77353318374b0000'), "firstname"=>"Lester", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6479ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3541ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb77353318374c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms Redirected to http://test.host/admin/clients/53df39eb77353318374c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3198ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb77353318374d0000'), "firstname"=>"Felton", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3085ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df39eb77353318374d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb77353318374d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb77353318374d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms 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.3046ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb77353318374e0000'), "firstname"=>"Cleora", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df39eb77353318374e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb77353318374e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 41ms (Views: 40.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb77353318374f0000'), "firstname"=>"Pierce", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5553ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4726ms 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('53df39eb7735331837500000'), "firstname"=>"Christ", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5609ms 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.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837510000'), "firstname"=>"Isaac", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5527ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df39eb7735331837510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms Completed 200 OK in 5ms (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('53df39eb7735331837520000'), "firstname"=>"Elise", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df39eb7735331837520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Redirected to http://test.host/admin/clients/53df39eb7735331837520000 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('53df39eb7735331837530000'), "firstname"=>"Fredrick", "lastname"=>"Volkman"}] 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.2757ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Redirected to http://test.host/clients/53df39eb7735331837540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3249ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837550000'), "firstname"=>"Talon", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms 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"=>"53df39eb7735331837550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms 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.3051ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837560000'), "firstname"=>"Aiden", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6698ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df39eb7735331837560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3817ms 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('53df39eb7735331837570000'), "firstname"=>"Stephanie", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4878ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837580000'), "firstname"=>"Branson", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5633ms 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.5ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837590000'), "firstname"=>"Chelsea", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df39eb7735331837590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb7735331837590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms 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('53df39eb77353318375a0000'), "firstname"=>"Jacey", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df39eb77353318375a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb77353318375a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df39eb77353318375a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Redirected to http://test.host/clients/53df39eb77353318375a0000 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('53df39eb77353318375b0000'), "name"=>"Devante Zboncak", "reference"=>"Malika Kuhlman", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df39eb77353318375c0000'), "firstname"=>"Broderick", "lastname"=>"Larkin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6774ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df39eb77353318375b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318375b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318375b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318375b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df39eb77353318375d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms Redirected to http://test.host/products/53df39eb77353318375b0000/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('53df39eb77353318375e0000'), "name"=>"Lynn Murphy", "reference"=>"Krystina Bernier", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df39eb77353318375f0000'), "firstname"=>"Deron", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df39eb77353318375f0000", "product_id"=>"53df39eb77353318375e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318375e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 37ms (Views: 34.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837600000'), "name"=>"Jordyn Hammes", "reference"=>"Mohammed Schumm", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df39eb7735331837610000'), "firstname"=>"Myrtice", "lastname"=>"Schuppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6784ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df39eb7735331837600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4004ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837620000'), "name"=>"Lauriane Friesen", "reference"=>"Sylvester Corwin IV", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df39eb7735331837630000'), "firstname"=>"Marjolaine", "lastname"=>"Jaskolski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5738ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df39eb7735331837630000", "product_id"=>"53df39eb7735331837620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4284ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837640000'), "name"=>"Camden Jaskolski", "reference"=>"Abbigail Ziemann", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df39eb7735331837650000'), "firstname"=>"Urban", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5814ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df39eb7735331837650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df39eb7735331837640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms Unpermitted parameters: name Redirected to http://test.host/products/53df39eb7735331837640000/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('53df39eb7735331837660000'), "name"=>"Dr. Sheila Hilll", "reference"=>"Devon Rice", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2809ms 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('53df39eb7735331837670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Redirected to http://test.host/products/53df39eb7735331837670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3008ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837680000'), "name"=>"Dr. River Schmidt", "reference"=>"Cody Jerde", "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.2884ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df39eb7735331837680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms 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.2874ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837690000'), "name"=>"Anais Orn", "reference"=>"Shyanne Orn", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df39eb7735331837690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318376a0000'), "name"=>"Ms. Eliezer D'Amore", "reference"=>"Emerson Shanahan", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms 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.8692ms Completed 200 OK in 21ms (Views: 20.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318376b0000'), "name"=>"Cedrick Krajcik", "reference"=>"Adan Considine", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5320ms 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.8598ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318376c0000'), "name"=>"Miss Nadia Medhurst", "reference"=>"Kiara Runolfsdottir IV", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df39eb77353318376c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318376c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms 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('53df39eb77353318376d0000'), "name"=>"Austin Blick Jr.", "reference"=>"Marcelino Ziemann", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318376f0000'), "name"=>"Rocky Quitzon", "reference"=>"Dominique Harber", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df39eb77353318376f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318376f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837700000'), "name"=>"Alfred Botsford", "reference"=>"Coty Reilly", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1614ms 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('53df39eb7735331837710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3035ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837720000'), "name"=>"Irma Heaney", "reference"=>"Earnestine Predovic", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df39eb7735331837720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms 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('53df39eb7735331837730000'), "name"=>"Ramiro Thiel", "reference"=>"Howell Haag", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 2ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837750000'), "name"=>"Fredrick Carroll V", "reference"=>"Jevon Waters", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5615ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df39eb7735331837750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms 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('53df39eb7735331837760000'), "name"=>"Harley Walter II", "reference"=>"Enos Bogan PhD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df39eb7735331837760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Redirected to http://test.host/products/53df39eb7735331837760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837790000'), "name"=>"Reva Kuvalis", "reference"=>"Peyton Rau", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837770000'), "author_name"=>"Ari Bednar", "content"=>["Minus ad vitae. Vel quis blanditiis. Voluptate vel facilis earum assumenda dignissimos accusantium aliquam. Qui et tenetur ullam sit dolorem. Sapiente quasi aliquam quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837780000'), "author_name"=>"Sheila Hammes", "content"=>["Et temporibus explicabo similique. Repudiandae debitis qui sequi odit non consequatur magnam. Et fuga quia maxime."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df39eb7735331837790000", "comment_id"=>"53df39eb7735331837770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837790000'), "comments._id"=>BSON::ObjectId('53df39eb7735331837770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df39eb77353318377a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Redirected to http://test.host/products/53df39eb7735331837790000/comments/53df39eb7735331837770000/comments/53df39eb77353318377a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318377d0000'), "name"=>"Josephine Mraz", "reference"=>"Myra Rolfson DDS", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318377b0000'), "author_name"=>"Nestor Bradtke", "content"=>["Et autem in repellat. Et voluptatibus beatae nihil animi earum aut. Ut vel error quia rem voluptas praesentium provident."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318377c0000'), "author_name"=>"Therese Goldner", "content"=>["Nostrum culpa esse cumque. Porro alias quod. Voluptates doloremque fuga. Iure facere soluta officiis totam dignissimos dolorem officia. Reiciendis dolore saepe unde inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318377d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df39eb77353318377d0000", "comment_id"=>"53df39eb77353318377b0000", "id"=>"53df39eb77353318377c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318377d0000')} 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('53df39eb77353318377d0000'), "comments._id"=>BSON::ObjectId('53df39eb77353318377b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df39eb77353318377c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Redirected to http://test.host/products/53df39eb77353318377d0000/comments/53df39eb77353318377b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318377d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837800000'), "name"=>"Polly Corkery DVM", "reference"=>"Esther Halvorson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318377e0000'), "author_name"=>"Thelma Hintz DDS", "content"=>["Totam numquam nemo exercitationem qui fugiat perspiciatis. Sequi eaque magni impedit. Animi ut voluptatum maiores excepturi voluptatem. Doloribus ipsam asperiores tenetur sit quo."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318377f0000'), "author_name"=>"Millie Cassin PhD", "content"=>["Accusamus dolor veritatis quidem saepe quos. Qui voluptate consequatur iure ea quo soluta. Deleniti dolor quisquam. Ut dolores inventore laborum facere sed et perferendis. Corrupti nam pariatur iusto provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df39eb7735331837800000", "comment_id"=>"53df39eb77353318377e0000", "id"=>"53df39eb77353318377f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837800000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837830000'), "name"=>"Ariane Gerhold", "reference"=>"Berta Stracke I", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837810000'), "author_name"=>"Jeffery Torphy", "content"=>["Magni commodi in sit dolorum rerum quia. Porro libero omnis eveniet. Blanditiis consectetur suscipit error. Ut qui et fugit voluptas adipisci eaque illo. Repellat quisquam quae dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837820000'), "author_name"=>"Leda Spinka", "content"=>["Beatae omnis eos ratione magnam fuga. Eius sed quis omnis aut. Dolores qui nihil ad eos culpa totam. Ducimus voluptatum est. Voluptatibus ea deserunt placeat quas reprehenderit voluptatum vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df39eb7735331837830000", "comment_id"=>"53df39eb7735331837810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837860000'), "name"=>"Godfrey Ziemann MD", "reference"=>"Ms. Forrest Frami", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837840000'), "author_name"=>"Jedediah Pollich", "content"=>["Est non sint assumenda perspiciatis et molestias est. Vitae voluptatem quidem itaque suscipit rerum. Et qui quam quaerat. Est voluptates commodi ipsam neque mollitia. Occaecati laborum at doloribus repudiandae."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837850000'), "author_name"=>"Gage Stoltenberg", "content"=>["Necessitatibus eos ab. In quod praesentium dicta enim ut placeat. Minus minima adipisci vel. Consequatur voluptas velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df39eb7735331837860000", "comment_id"=>"53df39eb7735331837840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837890000'), "name"=>"Mrs. Norris Roberts", "reference"=>"Alexandre Feeney", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837870000'), "author_name"=>"Lincoln Hahn", "content"=>["Dolor maiores expedita id nostrum. Voluptates eum quia pariatur. Perspiciatis et error."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837880000'), "author_name"=>"Jarret Fadel", "content"=>["Magni quisquam voluptatem autem est. Occaecati est sunt dignissimos aliquid debitis et nihil. Quia perferendis expedita a magni dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df39eb7735331837890000", "comment_id"=>"53df39eb7735331837870000", "id"=>"53df39eb7735331837880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318378c0000'), "name"=>"Katrine Sauer", "reference"=>"Loy Goyette MD", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318378a0000'), "author_name"=>"Kristin Kris Sr.", "content"=>["Error voluptates est aspernatur eaque mollitia officia. Unde magnam et omnis quaerat non blanditiis. Numquam earum repellendus asperiores dolor animi."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318378b0000'), "author_name"=>"Bill Cummerata I", "content"=>["Veniam ut illum eligendi laborum vitae mollitia. Ipsa quia omnis voluptatibus omnis. Quis aut quia quasi. Voluptatibus sed harum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df39eb77353318378c0000", "comment_id"=>"53df39eb77353318378a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318378c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb77353318378f0000'), "name"=>"Marquis Glover Sr.", "reference"=>"Rylan Kassulke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318378d0000'), "author_name"=>"Maxime Paucek", "content"=>["Corrupti repellat vel. Aut quia numquam doloremque et recusandae adipisci beatae. Voluptas debitis sint vero. Quia fugit omnis ducimus ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb77353318378e0000'), "author_name"=>"Haylee Yost", "content"=>["Non atque voluptas culpa consequatur. Totam qui deserunt. Eos perferendis sit voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6661ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df39eb77353318378f0000", "comment_id"=>"53df39eb77353318378d0000", "id"=>"53df39eb77353318378e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb77353318378f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837920000'), "name"=>"Mrs. Janice Reynolds", "reference"=>"Clovis Runolfsson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837900000'), "author_name"=>"Eudora Gottlieb", "content"=>["Aspernatur ducimus totam veritatis a pariatur. Cum libero mollitia beatae dolorem rerum maiores. Voluptatem natus sunt quia sed doloribus dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df39eb7735331837910000'), "author_name"=>"Emmy Zboncak", "content"=>["Aperiam cumque molestiae. Sunt eos magni sit rerum mollitia consequuntur. Est ut doloribus aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df39eb7735331837910000", "product_id"=>"53df39eb7735331837920000", "comment_id"=>"53df39eb7735331837900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df39eb7735331837920000')} 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('53df39eb7735331837920000'), "comments._id"=>BSON::ObjectId('53df39eb7735331837900000'), "comments.0.comments._id"=>BSON::ObjectId('53df39eb7735331837910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Redirected to http://test.host/products/53df39eb7735331837920000/comments/53df39eb7735331837900000/comments/53df39eb7735331837910000 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('53df39eb7735331837930000'), "firstname"=>"Lurline", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2119ms 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('53df39eb7735331837940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Redirected to http://test.host/users/53df39eb7735331837940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2020ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837950000'), "firstname"=>"Alexandrine", "lastname"=>"Rodriguez"}] 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.1976ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df39eb7735331837950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms 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.1863ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837960000'), "firstname"=>"Lane", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df39eb7735331837960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.2ms) Completed 200 OK in 32ms (Views: 31.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837970000'), "firstname"=>"Raven", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4837ms 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.3863ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837980000'), "firstname"=>"Nils", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb7735331837990000'), "firstname"=>"Merlin", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df39eb7735331837990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb7735331837990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms Completed 200 OK in 38ms (Views: 36.5ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df39eb77353318379a0000'), "firstname"=>"Zena", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df39eb77353318379a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df39eb77353318379a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms Unpermitted parameters: name Redirected to http://test.host/users/53df39eb77353318379a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms 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.4535ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6671ms 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.3827ms 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.3926ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f000000'), "firstname"=>"Keaton", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5561ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1986ms 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('53df3a3d773533186f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms 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.2392ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f020000'), "firstname"=>"Ella", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 51ms (Views: 49.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f030000'), "firstname"=>"Jaclyn", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f040000'), "firstname"=>"Deborah", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3a3d773533186f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f050000'), "firstname"=>"Samanta", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3a3d773533186f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms 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('53df3a3d773533186f060000'), "name"=>"Andres Schimmel", "reference"=>"Sierra Beier", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f070000'), "author_name"=>"Westley Konopelski", "content"=>["Quidem iste aut quia ratione. Velit iusto porro odit. Non a voluptates voluptatem expedita tenetur placeat. Dolores molestias ut qui omnis officiis. Doloribus natus sapiente quaerat dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3a3d773533186f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms Redirected to http://test.host/admin/products/53df3a3d773533186f060000/comments/53df3a3d773533186f080000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f090000'), "name"=>"Pablo Stark", "reference"=>"Bridie Rempel IV", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f0a0000'), "author_name"=>"Ms. Arlie Considine", "content"=>["In aut distinctio voluptas qui omnis. Molestias repellendus accusamus ipsum non harum rerum. Nihil nisi voluptate qui magni sed. Animi facere consequatur molestiae voluptatum quis molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3a3d773533186f090000", "id"=>"53df3a3d773533186f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f090000')} 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('53df3a3d773533186f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Redirected to http://test.host/admin/products/53df3a3d773533186f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f0b0000'), "name"=>"Cecilia Lowe", "reference"=>"Rosalinda Mayer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f0c0000'), "author_name"=>"Bertram Lockman", "content"=>["Enim iusto qui laborum. Ipsum enim officia assumenda minus ullam et culpa. Qui eaque voluptate esse nobis soluta voluptatum. Placeat asperiores et voluptatibus doloremque in enim. Debitis sed a voluptatem at et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3a3d773533186f0b0000", "id"=>"53df3a3d773533186f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f0b0000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f0d0000'), "name"=>"Jerrold Deckow I", "reference"=>"Alexa Langosh", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f0e0000'), "author_name"=>"Mrs. Adrianna Durgan", "content"=>["Ut porro nesciunt veniam nobis adipisci quaerat. Repudiandae nam deserunt nihil itaque. Omnis perferendis deserunt aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3a3d773533186f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f0f0000'), "name"=>"Arlo Jacobi", "reference"=>"Dr. Hayden Buckridge", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f100000'), "author_name"=>"Ms. Alvera Wisozk", "content"=>["Eos dicta sed velit suscipit voluptatem. Et ea consectetur blanditiis placeat reiciendis totam aut. Sed a omnis impedit culpa consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3a3d773533186f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f110000'), "name"=>"Elisabeth Stiedemann", "reference"=>"Gerda Jones", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f120000'), "author_name"=>"Abdiel Heller", "content"=>["Voluptatibus minima fugit eos. Atque vel pariatur temporibus officia voluptatem vel. Eveniet quis fugit aliquam quisquam ratione. Ut dolorum culpa veniam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3a3d773533186f110000", "id"=>"53df3a3d773533186f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f130000'), "name"=>"Ardella Smitham PhD", "reference"=>"Jayda Marks", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f140000'), "author_name"=>"Myra Stehr", "content"=>["Harum voluptatum iure ut magni doloremque porro. Ea soluta modi et voluptatibus cupiditate. Neque enim aliquid sed aperiam occaecati. Ipsa perspiciatis ut. Necessitatibus quia esse illum optio molestiae eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3a3d773533186f140000", "product_id"=>"53df3a3d773533186f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f130000'), "comments._id"=>BSON::ObjectId('53df3a3d773533186f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Redirected to http://test.host/admin/products/53df3a3d773533186f130000/comments/53df3a3d773533186f140000 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('53df3a3d773533186f150000'), "name"=>"Camille Bradtke", "reference"=>"Grace Simonis Sr.", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f160000'), "firstname"=>"Keaton", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3a3d773533186f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms Redirected to http://test.host/admin/products/53df3a3d773533186f150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f180000'), "name"=>"Brennan Hammes", "reference"=>"Cali Hagenes", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f190000'), "firstname"=>"Kennedy", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f190000", "product_id"=>"53df3a3d773533186f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f180000')} 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.6ms) Completed 200 OK in 7ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f1a0000'), "name"=>"Armando Hansen", "reference"=>"Jairo Rempel", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f1b0000'), "firstname"=>"Patrick", "lastname"=>"Beer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3a3d773533186f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f1c0000'), "name"=>"Helene Auer", "reference"=>"Kassandra Wolf", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f1d0000'), "firstname"=>"Caleigh", "lastname"=>"Jast"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3a3d773533186f1d0000", "product_id"=>"53df3a3d773533186f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f1e0000'), "name"=>"Furman Gusikowski", "reference"=>"Kayley Brown", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f1f0000'), "firstname"=>"Isabelle", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3a3d773533186f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3a3d773533186f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3a3d773533186f1e0000/manager 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('53df3a3d773533186f200000'), "name"=>"Mr. Reina Hudson", "reference"=>"Jordan Konopelski", "quantity"=>"6"}] 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.1704ms 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('53df3a3d773533186f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Redirected to http://test.host/admin/products/53df3a3d773533186f210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1670ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f220000'), "name"=>"Elwyn Homenick", "reference"=>"Otha O'Hara", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1518ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3a3d773533186f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms 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('53df3a3d773533186f230000'), "name"=>"Nicholaus Wisozk", "reference"=>"Sam Sporer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 40ms (Views: 38.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f240000'), "name"=>"Ms. Breana Heaney", "reference"=>"Gerard Gutmann II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms 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.5076ms Completed 200 OK in 12ms (Views: 11.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f250000'), "name"=>"Gaylord Heidenreich", "reference"=>"Ms. Carmine Vandervort", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms 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: 4.5ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f280000'), "name"=>"Mia Treutel", "reference"=>"Ms. Kayla Sanford", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3a3d773533186f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms 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('53df3a3d773533186f290000'), "name"=>"Albin Gerhold", "reference"=>"Korey Wiza II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3a3d773533186f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms Redirected to http://test.host/admin/products/53df3a3d773533186f290000 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('53df3a3d773533186f2a0000'), "firstname"=>"Janae", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1475ms 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('53df3a3d773533186f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Redirected to http://test.host/admin/users/53df3a3d773533186f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2420ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f2c0000'), "firstname"=>"Andreane", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1381ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3a3d773533186f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3d773533186f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3d773533186f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms 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.1517ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f2d0000'), "firstname"=>"Micaela", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3d773533186f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df3a3d773533186f2e0000'), "firstname"=>"Hayden", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms 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.2614ms 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('53df3a3d773533186f2f0000'), "firstname"=>"Stanley", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f300000'), "firstname"=>"Berenice", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3a3d773533186f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3d773533186f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms 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('53df3a3d773533186f310000'), "firstname"=>"Elmo", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3a3d773533186f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3d773533186f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3a3d773533186f310000 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('53df3a3d773533186f320000'), "firstname"=>"Gerson", "lastname"=>"Purdy"}] 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=>"administrators", :query=>{}} runtime: 0.1635ms 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('53df3a3d773533186f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms 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.1643ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f340000'), "firstname"=>"Jameson", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 40ms (Views: 38.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f350000'), "firstname"=>"Wilmer", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms 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.2ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f360000'), "firstname"=>"Kali", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3a3d773533186f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f370000'), "firstname"=>"Reyes", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3a3d773533186f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3a3d773533186f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms 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('53df3a3d773533186f380000'), "name"=>"Curtis Okuneva", "reference"=>"Chase Feeney", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f390000'), "author_name"=>"Rhiannon Hand", "content"=>["Asperiores reprehenderit et accusantium dolor sunt cupiditate non. Est reprehenderit qui doloribus. Voluptas et eaque. Dolorum vero sint facilis fuga est. Itaque doloribus est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3a3d773533186f380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Redirected to http://test.host/products/53df3a3d773533186f380000/comments/53df3a3d773533186f3a0000 Completed 500 Internal Server Error in 4ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f3b0000'), "name"=>"Mr. Marilie Barton", "reference"=>"Miss Connie Christiansen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f3c0000'), "author_name"=>"Dorthy Parker II", "content"=>["Voluptatibus eum ad et voluptas cupiditate quae ut. Est id iure. Minima aliquam eligendi et sit. Cumque assumenda ut debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3a3d773533186f3b0000", "id"=>"53df3a3d773533186f3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f3b0000')} 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('53df3a3d773533186f3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3a3d773533186f3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms Redirected to http://test.host/products/53df3a3d773533186f3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f3d0000'), "name"=>"Will Ziemann", "reference"=>"Bertha Bode", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f3e0000'), "author_name"=>"Greg Haley", "content"=>["Ut nam quia enim laboriosam ut beatae reprehenderit. Nisi sint ut voluptatibus odit similique atque et. Est veniam dignissimos maxime et est omnis sit. Omnis dolor accusantium molestiae ex fugiat perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3a3d773533186f3d0000", "id"=>"53df3a3d773533186f3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f3d0000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f3f0000'), "name"=>"Stephania Kuphal V", "reference"=>"Darwin Klocko", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f400000'), "author_name"=>"Helmer Watsica", "content"=>["Et labore culpa a. Asperiores officiis at ea animi ut consectetur. Dolorum id quia. Dolorum reiciendis dicta vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3a3d773533186f3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f410000'), "name"=>"Ms. Aryanna Cartwright", "reference"=>"Aileen Zemlak", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f420000'), "author_name"=>"Norbert Dibbert V", "content"=>["Velit est aperiam voluptate perspiciatis exercitationem sed. Doloremque voluptates fuga et. Consequuntur consequatur voluptate iure molestias. A facilis veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3a3d773533186f410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f430000'), "name"=>"Katelin Hauck", "reference"=>"Alysa Armstrong", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f440000'), "author_name"=>"Mrs. Mose Schroeder", "content"=>["Perferendis aspernatur qui saepe quia aut. Ipsa sapiente numquam iste sed ad autem dignissimos. Consequatur delectus enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3a3d773533186f430000", "id"=>"53df3a3d773533186f440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f450000'), "name"=>"Ms. Blaise Eichmann", "reference"=>"Ivy Schiller", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f460000'), "author_name"=>"Miss Izaiah Parker", "content"=>["Qui sit fugiat earum dolores quia numquam dolor. Veritatis architecto autem sequi eligendi sit. Pariatur molestias dolorum quo. Incidunt perferendis quae et ut repellendus sed totam. Aperiam totam asperiores autem error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3a3d773533186f450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f450000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f470000'), "name"=>"Casper Flatley", "reference"=>"Zoey Mills", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f480000'), "author_name"=>"Madonna Pouros", "content"=>["Dolorum placeat facere. Labore consequatur quia rem animi iste error cumque. Voluptatibus velit dolorum reiciendis qui sunt quia quis. Sequi quia nihil animi nemo voluptatem dignissimos eius. Incidunt odio qui aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.7525ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3a3d773533186f470000", "id"=>"53df3a3d773533186f480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f490000'), "name"=>"Kaley Stroman", "reference"=>"Duane Champlin", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3d773533186f4a0000'), "author_name"=>"Claudine Fahey Sr.", "content"=>["Cum sed voluptatem dolorem maxime fugit blanditiis est. Consequatur qui ipsum quidem nisi sit. Illo pariatur accusantium omnis illum temporibus consequatur. Magnam est exercitationem distinctio quia sint qui. Recusandae voluptatem sit iusto accusantium omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3a3d773533186f4a0000", "product_id"=>"53df3a3d773533186f490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3d773533186f490000')} 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('53df3a3d773533186f490000'), "comments._id"=>BSON::ObjectId('53df3a3d773533186f4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Redirected to http://test.host/products/53df3a3d773533186f490000/comments/53df3a3d773533186f4a0000 Completed 500 Internal Server Error in 6ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f4b0000'), "firstname"=>"Bertrand", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2415ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms Redirected to http://test.host/admin/clients/53df3a3d773533186f4c0000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f4d0000'), "firstname"=>"Greta", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1564ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3a3d773533186f4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3d773533186f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3d773533186f4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms 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.1595ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f4e0000'), "firstname"=>"Tyler", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3a3d773533186f4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3d773533186f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 42ms (Views: 41.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3d773533186f4f0000'), "firstname"=>"Laverne", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms 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('53df3a3d773533186f500000'), "firstname"=>"Brielle", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms 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.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f510000'), "firstname"=>"Casimir", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3a3e773533186f510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms 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('53df3a3e773533186f520000'), "firstname"=>"Dwight", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3a3e773533186f520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f520000')} 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('53df3a3e773533186f520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms Redirected to http://test.host/admin/clients/53df3a3e773533186f520000 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('53df3a3e773533186f530000'), "firstname"=>"Letitia", "lastname"=>"Weber"}] 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.1696ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms Redirected to http://test.host/clients/53df3a3e773533186f540000 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('53df3a3e773533186f550000'), "firstname"=>"Else", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms 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"=>"53df3a3e773533186f550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f550000')} 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('53df3a3e773533186f550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms 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.1651ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f560000'), "firstname"=>"Crystal", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3a3e773533186f560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53df3a3e773533186f570000'), "firstname"=>"Izabella", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms 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('53df3a3e773533186f580000'), "firstname"=>"Yolanda", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms 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.4ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f590000'), "firstname"=>"Minnie", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3a3e773533186f590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms 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('53df3a3e773533186f5a0000'), "firstname"=>"Maegan", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3a3e773533186f5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3a3e773533186f5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms Redirected to http://test.host/clients/53df3a3e773533186f5a0000 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('53df3a3e773533186f5b0000'), "name"=>"Carson Kshlerin", "reference"=>"Brannon Conn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f5c0000'), "firstname"=>"Hans", "lastname"=>"Aufderhar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3a3e773533186f5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f5b0000')} 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('53df3a3e773533186f5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms Redirected to http://test.host/products/53df3a3e773533186f5b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f5e0000'), "name"=>"Mr. Kaitlin Zboncak", "reference"=>"Laury Muller", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f5f0000'), "firstname"=>"Cesar", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3a3e773533186f5f0000", "product_id"=>"53df3a3e773533186f5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 35ms (Views: 6.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f600000'), "name"=>"Mrs. Lucious Corwin", "reference"=>"Corine Kozey", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f610000'), "firstname"=>"Bernadine", "lastname"=>"Huel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3a3e773533186f600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) 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('53df3a3e773533186f620000'), "name"=>"Dereck Sawayn II", "reference"=>"Celestine Rowe", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f630000'), "firstname"=>"Dana", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3a3e773533186f630000", "product_id"=>"53df3a3e773533186f620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f640000'), "name"=>"Milo Crist", "reference"=>"Naomi Greenfelder Jr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f650000'), "firstname"=>"Agustina", "lastname"=>"Kuphal"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3a3e773533186f650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3a3e773533186f640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms Unpermitted parameters: name Redirected to http://test.host/products/53df3a3e773533186f640000/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('53df3a3e773533186f660000'), "name"=>"Torrey Kuhlman", "reference"=>"Romaine Jacobi", "quantity"=>"6"}] 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=>"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('53df3a3e773533186f670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms Redirected to http://test.host/products/53df3a3e773533186f670000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f680000'), "name"=>"Kristofer Gaylord", "reference"=>"Rollin Welch DDS", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1740ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3a3e773533186f680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1677ms 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.1983ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f690000'), "name"=>"Dr. Rosemarie Volkman", "reference"=>"Lila Wiza", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3a3e773533186f690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) 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('53df3a3e773533186f6a0000'), "name"=>"Miracle Kling V", "reference"=>"Ozella Littel", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms 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.7392ms Completed 200 OK in 20ms (Views: 19.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f6b0000'), "name"=>"Preston Boyer", "reference"=>"Deonte O'Connell", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms 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.7562ms Completed 200 OK in 5ms (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('53df3a3e773533186f6c0000'), "name"=>"Alberto Bode", "reference"=>"Quinton Grant", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3a3e773533186f6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms 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('53df3a3e773533186f6d0000'), "name"=>"Mavis Rice", "reference"=>"Dr. Ellen Block", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f6f0000'), "name"=>"Matt Gleichner", "reference"=>"Ewald Yundt", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3a3e773533186f6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f700000'), "name"=>"Victoria Stokes", "reference"=>"Teagan Heathcote", "quantity"=>"8"}] 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.2023ms 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('53df3a3e773533186f710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2909ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f720000'), "name"=>"Danyka Gorczany", "reference"=>"Aubrey Johnson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3a3e773533186f720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5298ms Completed 200 OK in 6ms (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('53df3a3e773533186f730000'), "name"=>"Darrick Kuphal", "reference"=>"Norval Ruecker", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms 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('53df3a3e773533186f750000'), "name"=>"Marlee Walsh", "reference"=>"Lennie Volkman PhD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3a3e773533186f750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms 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('53df3a3e773533186f760000'), "name"=>"Suzanne Klocko", "reference"=>"Ms. Loma Kunze", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3a3e773533186f760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms Redirected to http://test.host/products/53df3a3e773533186f760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f790000'), "name"=>"Zoey Cronin", "reference"=>"Judge Beatty", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f770000'), "author_name"=>"Katelyn Harris", "content"=>["Et quia et. Ipsum autem neque molestiae molestiae voluptate aliquid aut. Quae iste blanditiis ut nesciunt quam et occaecati. Quisquam laboriosam praesentium sed soluta. Perspiciatis nihil fuga ipsum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f780000'), "author_name"=>"Victoria Ebert", "content"=>["Nihil voluptate qui voluptatem animi ut explicabo vel. Harum non soluta magnam error sed. Perspiciatis voluptatem tempore consequatur ut est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3a3e773533186f790000", "comment_id"=>"53df3a3e773533186f770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f790000')} 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('53df3a3e773533186f790000'), "comments._id"=>BSON::ObjectId('53df3a3e773533186f770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Redirected to http://test.host/products/53df3a3e773533186f790000/comments/53df3a3e773533186f770000/comments/53df3a3e773533186f7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f7d0000'), "name"=>"Cody Bins", "reference"=>"Hallie DuBuque", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f7b0000'), "author_name"=>"Mateo Shanahan", "content"=>["Quaerat et aut ut delectus quo esse id. Ut accusamus doloribus cupiditate accusantium qui ut non. Esse sapiente voluptas nihil et."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f7c0000'), "author_name"=>"Camille Friesen", "content"=>["A delectus maxime numquam quia. Enim itaque eveniet dignissimos sit facere. Sed amet eos odio. Commodi magnam velit velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3a3e773533186f7d0000", "comment_id"=>"53df3a3e773533186f7b0000", "id"=>"53df3a3e773533186f7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f7d0000'), "comments._id"=>BSON::ObjectId('53df3a3e773533186f7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3a3e773533186f7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Redirected to http://test.host/products/53df3a3e773533186f7d0000/comments/53df3a3e773533186f7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f800000'), "name"=>"Eriberto Runolfsson", "reference"=>"Cara Rosenbaum", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f7e0000'), "author_name"=>"Marina Skiles", "content"=>["Eos accusamus tempora corrupti consequuntur. Animi eius non ratione ducimus minima. Consequatur tenetur quasi. Dicta tempore et blanditiis et est eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f7f0000'), "author_name"=>"German Leffler", "content"=>["Pariatur nam excepturi aut. Ipsa qui repellendus temporibus culpa itaque id. Sit vel reprehenderit numquam et blanditiis. Dolores quo quis. Aut et ut provident ipsum mollitia commodi et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3a3e773533186f800000", "comment_id"=>"53df3a3e773533186f7e0000", "id"=>"53df3a3e773533186f7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f800000')} 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.6ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f830000'), "name"=>"Antonia Crooks", "reference"=>"Don Shanahan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f810000'), "author_name"=>"Clinton Luettgen DDS", "content"=>["Nisi deserunt magni eos ea eum sunt. Autem quos fugiat vero. Perspiciatis maiores possimus sequi voluptas. Delectus eligendi placeat laborum sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f820000'), "author_name"=>"Kareem Senger", "content"=>["Consequatur facere ut aliquid quasi commodi animi. Tenetur exercitationem impedit nesciunt. Eius qui perspiciatis dolorem ut vel nulla. Quisquam ea nemo soluta fugit minus repellendus facilis. Aut laborum nobis est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4787ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3a3e773533186f830000", "comment_id"=>"53df3a3e773533186f810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f860000'), "name"=>"Griffin Gerhold", "reference"=>"Raleigh Hermiston", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f840000'), "author_name"=>"Wilburn Ernser", "content"=>["Mollitia quidem esse quia. Tempore similique quia ab et qui repellendus. Molestias in nihil. Id ea harum numquam magni ut delectus quod. Asperiores nesciunt consequatur quas ullam corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f850000'), "author_name"=>"Manuel Howe", "content"=>["Distinctio sit numquam illum eum esse sapiente. Corrupti ut consequuntur nostrum dolorum sit sequi omnis. Occaecati alias sapiente deleniti delectus aut odit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3a3e773533186f860000", "comment_id"=>"53df3a3e773533186f840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f890000'), "name"=>"Mrs. Carrie Strosin", "reference"=>"Dr. Samanta Prosacco", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f870000'), "author_name"=>"Melvin Grimes", "content"=>["Facere voluptatem nihil. Dolore non temporibus qui. Et repellendus cupiditate voluptatum molestias. Minus et odit ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f880000'), "author_name"=>"Esther Heller", "content"=>["Fuga sed dignissimos deleniti. Iusto est repellat libero exercitationem. Sunt eos voluptas numquam id cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3a3e773533186f890000", "comment_id"=>"53df3a3e773533186f870000", "id"=>"53df3a3e773533186f880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f8c0000'), "name"=>"Cathy Gislason", "reference"=>"Maia Oberbrunner I", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f8a0000'), "author_name"=>"Aron Wyman", "content"=>["Ea voluptatibus dignissimos vel omnis placeat. Quis maiores enim. Quis officia explicabo illum corporis reiciendis. Accusamus quos tempore minus quidem. Harum suscipit repellat."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f8b0000'), "author_name"=>"Katheryn Sporer", "content"=>["Rerum nemo ut nihil. Consectetur ut explicabo pariatur et fugiat quidem. Nam qui porro repellat sed saepe consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3a3e773533186f8c0000", "comment_id"=>"53df3a3e773533186f8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f8c0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f8f0000'), "name"=>"Miss Rosalia Roberts", "reference"=>"Geovanni Jacobson I", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f8d0000'), "author_name"=>"Bria Powlowski", "content"=>["Vel occaecati voluptate deserunt. Perferendis voluptatem fuga velit. Cupiditate aut quo ut dolor nostrum consequatur amet."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f8e0000'), "author_name"=>"Mrs. Etha Boyle", "content"=>["Sed accusamus dolor qui nihil odio laboriosam soluta. Sunt quod vel. Est occaecati temporibus et accusantium tempora. Vero at nemo et repudiandae laborum fuga. Est temporibus quo quisquam ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3a3e773533186f8f0000", "comment_id"=>"53df3a3e773533186f8d0000", "id"=>"53df3a3e773533186f8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f920000'), "name"=>"Dr. Americo Denesik", "reference"=>"Oscar Boyer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f900000'), "author_name"=>"Miss Destiny Graham", "content"=>["Nemo aut dolor est officia sit. Expedita quasi voluptas. Dolorem quo dicta quia repudiandae corrupti voluptas. Perferendis dolores maiores eum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3a3e773533186f910000'), "author_name"=>"Malcolm Glover", "content"=>["Accusantium qui et sit natus. Officia sint repellendus aspernatur voluptates et minus est. Earum est eaque cumque. Quia est aspernatur aliquid voluptatum harum ducimus. Explicabo sint ipsum dolores minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3a3e773533186f910000", "product_id"=>"53df3a3e773533186f920000", "comment_id"=>"53df3a3e773533186f900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3a3e773533186f920000')} 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('53df3a3e773533186f920000'), "comments._id"=>BSON::ObjectId('53df3a3e773533186f900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3a3e773533186f910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Redirected to http://test.host/products/53df3a3e773533186f920000/comments/53df3a3e773533186f900000/comments/53df3a3e773533186f910000 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('53df3a3e773533186f930000'), "firstname"=>"Antonina", "lastname"=>"O'Connell"}] 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=>"admin_users", :query=>{}} runtime: 0.2661ms 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('53df3a3e773533186f940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Redirected to http://test.host/users/53df3a3e773533186f940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2548ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f950000'), "firstname"=>"Coralie", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms 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"=>"53df3a3e773533186f950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3e773533186f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3e773533186f950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms 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.1579ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f960000'), "firstname"=>"Mazie", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3a3e773533186f960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3e773533186f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.0ms) Completed 200 OK in 33ms (Views: 32.3ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f970000'), "firstname"=>"Betty", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms 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.3659ms 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('53df3a3e773533186f980000'), "firstname"=>"Flossie", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms 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: 4.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f990000'), "firstname"=>"Beth", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3a3e773533186f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3e773533186f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms Completed 200 OK in 39ms (Views: 37.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3a3e773533186f9a0000'), "firstname"=>"Jude", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3a3e773533186f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3a3e773533186f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms Unpermitted parameters: name Redirected to http://test.host/users/53df3a3e773533186f9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5218ms 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.5145ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms 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.4236ms 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.4284ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8000000'), "firstname"=>"Jerald", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1377ms 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('53df3ab877353318f8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms 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.2257ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8020000'), "firstname"=>"Matilde", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3ab877353318f8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab877353318f8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 48ms (Views: 47.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8030000'), "firstname"=>"Minerva", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8040000'), "firstname"=>"Sally", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3ab877353318f8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab877353318f8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8050000'), "firstname"=>"Annabel", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3ab877353318f8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab877353318f8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms 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('53df3ab877353318f8060000'), "name"=>"Velda Monahan", "reference"=>"Kenya Ritchie PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f8070000'), "author_name"=>"Maude Mayert", "content"=>["Deserunt architecto labore deleniti. Asperiores quibusdam delectus voluptas accusantium repudiandae. Inventore quibusdam debitis ea autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4628ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3ab877353318f8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ab877353318f8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5655ms Redirected to http://test.host/admin/products/53df3ab877353318f8060000/comments/53df3ab877353318f8080000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5145ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8090000'), "name"=>"Ms. Gunner Rath", "reference"=>"Easter Morar", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f80a0000'), "author_name"=>"Mr. Charlie Corwin", "content"=>["Eos magnam omnis eveniet facilis sed quasi. Est dolor sunt aperiam earum sint consequatur. Impedit laboriosam molestias consequuntur reprehenderit placeat qui nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5903ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3ab877353318f8090000", "id"=>"53df3ab877353318f80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ab877353318f80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms Redirected to http://test.host/admin/products/53df3ab877353318f8090000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f80b0000'), "name"=>"Neha Klocko", "reference"=>"Miss Brady Flatley", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f80c0000'), "author_name"=>"Regan Mante Jr.", "content"=>["Et mollitia alias. Quis consequatur quisquam commodi qui consequuntur nam eos. Error et accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3ab877353318f80b0000", "id"=>"53df3ab877353318f80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4451ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 8.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f80d0000'), "name"=>"Mrs. Carlo Wolf", "reference"=>"Modesta Considine", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f80e0000'), "author_name"=>"Lucas Mayert", "content"=>["Ut rerum sed enim modi. Assumenda dolor qui deserunt nihil vero debitis repellendus. Qui in quia quas quod est et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3ab877353318f80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4014ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f80f0000'), "name"=>"Sam Schmidt", "reference"=>"Kenna Cremin Sr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f8100000'), "author_name"=>"Solon Gulgowski", "content"=>["Non quis totam maiores nisi quos est optio. At vitae velit. Eos cupiditate quaerat nihil sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5433ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3ab877353318f80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4169ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8110000'), "name"=>"Jazmyne Mayert IV", "reference"=>"Ottilie Kertzmann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f8120000'), "author_name"=>"Ms. Johann Hilll", "content"=>["Maxime molestiae earum sed sed voluptate. Aliquam alias eaque eius in. Qui sit provident eaque. Mollitia reprehenderit modi ut explicabo ipsum laborum qui. Quam aliquam rem neque eveniet necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3ab877353318f8110000", "id"=>"53df3ab877353318f8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8130000'), "name"=>"Troy Rau", "reference"=>"Maximo Ebert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab877353318f8140000'), "author_name"=>"Rashad Corwin DVM", "content"=>["Quaerat quia provident. Ea et quis voluptatem quia aliquid. Aut sed non perspiciatis illum. Vitae voluptatem ut delectus est ratione voluptas facilis. Fugiat et neque et consectetur et ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3ab877353318f8140000", "product_id"=>"53df3ab877353318f8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8130000'), "comments._id"=>BSON::ObjectId('53df3ab877353318f8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms Redirected to http://test.host/admin/products/53df3ab877353318f8130000/comments/53df3ab877353318f8140000 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('53df3ab877353318f8150000'), "name"=>"Forrest Pfeffer", "reference"=>"Mrs. Aaron O'Hara", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f8160000'), "firstname"=>"Sandy", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5463ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3ab877353318f8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms Redirected to http://test.host/admin/products/53df3ab877353318f8150000/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('53df3ab877353318f8180000'), "name"=>"Salma Wisoky", "reference"=>"Donavon Raynor DDS", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f8190000'), "firstname"=>"Peter", "lastname"=>"Bahringer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3ab877353318f8190000", "product_id"=>"53df3ab877353318f8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f81a0000'), "name"=>"Immanuel Johns", "reference"=>"Aidan Rice", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f81b0000'), "firstname"=>"Janice", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3ab877353318f81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f81c0000'), "name"=>"Shawna Abernathy", "reference"=>"Miss Andre Schamberger", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f81d0000'), "firstname"=>"Sterling", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5996ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3ab877353318f81d0000", "product_id"=>"53df3ab877353318f81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4426ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f81e0000'), "name"=>"Ms. Kayla Witting", "reference"=>"Retha Roob", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3ab877353318f81f0000'), "firstname"=>"Loy", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3ab877353318f81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3ab877353318f81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3ab877353318f81e0000/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('53df3ab877353318f8200000'), "name"=>"Carley Stoltenberg II", "reference"=>"Maurice Gorczany", "quantity"=>"5"}] 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.1872ms 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('53df3ab877353318f8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Redirected to http://test.host/admin/products/53df3ab877353318f8210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2100ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8220000'), "name"=>"Fay Boyer", "reference"=>"Mr. Mable Feil", "quantity"=>"0"}] 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.1541ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3ab877353318f8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8220000')} 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('53df3ab877353318f8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms 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.1780ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8230000'), "name"=>"Penelope Casper", "reference"=>"Juliet Schaden III", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3ab877353318f8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 39ms (Views: 37.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8240000'), "name"=>"Bertha Kilback", "reference"=>"Kurtis Leannon", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms 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.5144ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8250000'), "name"=>"Eugene Fisher", "reference"=>"Mittie Wehner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8280000'), "name"=>"Tiana Carroll", "reference"=>"Christ Pfeffer", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3ab877353318f8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f8290000'), "name"=>"Melyssa Greenfelder", "reference"=>"Terrill Stehr", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3ab877353318f8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab877353318f8290000')} 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('53df3ab877353318f8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Redirected to http://test.host/admin/products/53df3ab877353318f8290000 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('53df3ab877353318f82a0000'), "firstname"=>"Kelsi", "lastname"=>"Keeling"}] 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=>"admin_users", :query=>{}} runtime: 0.1735ms 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('53df3ab877353318f82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms Redirected to http://test.host/admin/users/53df3ab877353318f82b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab877353318f82c0000'), "firstname"=>"Ronaldo", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1505ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3ab877353318f82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab877353318f82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab877353318f82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms 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('53df3ab977353318f82d0000'), "firstname"=>"Jerrod", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3ab977353318f82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f82e0000'), "firstname"=>"Jackeline", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms 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.3131ms 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('53df3ab977353318f82f0000'), "firstname"=>"Brycen", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms 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('53df3ab977353318f8300000'), "firstname"=>"Leilani", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3ab977353318f8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8310000'), "firstname"=>"Burnice", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3ab977353318f8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3ab977353318f8310000 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('53df3ab977353318f8320000'), "firstname"=>"Brielle", "lastname"=>"Schroeder"}] 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=>"administrators", :query=>{}} runtime: 0.1849ms 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('53df3ab977353318f8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6190ms Redirected to http://test.host/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2136ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8340000'), "firstname"=>"Sadye", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3ab977353318f8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab977353318f8340000')} 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.1ms) Completed 200 OK in 37ms (Views: 35.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8350000'), "firstname"=>"Alejandrin", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8360000'), "firstname"=>"Fausto", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3ab977353318f8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab977353318f8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8370000'), "firstname"=>"Mina", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3ab977353318f8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ab977353318f8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms ---------------------------------------------------- CommentsControllerTest: test_should_call_create_hook ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8380000'), "name"=>"Miller Koch", "reference"=>"Mr. Velda Reinger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8390000'), "author_name"=>"Reyna Streich", "content"=>["Eveniet sed qui dolorem modi maxime ducimus. Aut facere excepturi quo ullam et tempora quam. Dolorem quod necessitatibus aut fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3ab977353318f8380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ab977353318f83a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/products/53df3ab977353318f8380000/comments/53df3ab977353318f83a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f83b0000'), "name"=>"Lucas Halvorson", "reference"=>"Sid Stamm", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f83c0000'), "author_name"=>"Murray Herzog", "content"=>["Beatae id provident quam corrupti vitae ut id. Vitae eos temporibus molestias praesentium asperiores velit. Quasi qui quia autem magnam. Tempora atque nisi est. Accusantium ut iusto eligendi ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83b0000')} 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"=>"53df3ab977353318f83b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83b0000')} 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('53df3ab977353318f83b0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ab977353318f83d0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Redirected to http://test.host/products/53df3ab977353318f83b0000/comments/53df3ab977353318f83d0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f83e0000'), "name"=>"Mrs. Sigmund Hintz", "reference"=>"Raina Dietrich", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f83f0000'), "author_name"=>"Mckayla Anderson", "content"=>["Ut aut sequi autem. Blanditiis cupiditate delectus deleniti itaque. Autem et vel voluptatibus et sed nemo sequi. Consequatur quas distinctio odio consequatur quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3ab977353318f83e0000", "id"=>"53df3ab977353318f83f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83e0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ab977353318f83f0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms Redirected to http://test.host/products/53df3ab977353318f83e0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8400000'), "name"=>"Mr. Marguerite Hauck", "reference"=>"Lonzo Hagenes", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8410000'), "author_name"=>"Rowena Reilly", "content"=>["Placeat qui quae magni. Iste est eum qui. Pariatur est vel harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3ab977353318f8400000", "id"=>"53df3ab977353318f8410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8420000'), "name"=>"Reggie Kihn", "reference"=>"Mrs. Dameon Emard", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8430000'), "author_name"=>"Dr. Kylie Zboncak", "content"=>["Quidem id ullam. Beatae velit vel. Hic autem sint rem eveniet fugiat omnis. Ut sint voluptatem non eum vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0099ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3ab977353318f8420000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8440000'), "name"=>"Miss Mable Olson", "reference"=>"Adrien Pacocha", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8450000'), "author_name"=>"Ms. Ila Monahan", "content"=>["Laudantium et vel. Officiis praesentium veritatis dolorem assumenda officia nulla amet. Nihil harum id dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3ab977353318f8440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8460000'), "name"=>"Nannie Yost MD", "reference"=>"Veronica Hermann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8470000'), "author_name"=>"Rosie Yundt", "content"=>["Qui omnis numquam consequuntur nisi. Pariatur sed et. Rem reiciendis omnis ut minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3ab977353318f8460000", "id"=>"53df3ab977353318f8470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8480000'), "name"=>"Otis Wintheiser", "reference"=>"Shyann O'Hara", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8490000'), "author_name"=>"Reynold Von", "content"=>["Dolor enim deserunt veritatis esse vel qui incidunt. Harum pariatur ut amet. Illum sed doloremque aliquam nemo et ut. Ut voluptas qui voluptatibus voluptatem aperiam nulla dolores. Rerum illum voluptas quaerat quibusdam non atque autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3ab977353318f8480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f84a0000'), "name"=>"Kaitlyn Cole", "reference"=>"Jasmin Kling", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f84b0000'), "author_name"=>"Ervin Harris", "content"=>["Eius architecto velit perspiciatis ratione rem. Vel et vero maiores et iure. Ex debitis consequuntur temporibus. Dolor maxime excepturi dolore perspiciatis officia iusto ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3ab977353318f84a0000", "id"=>"53df3ab977353318f84b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f84a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f84c0000'), "name"=>"Monty Gerhold", "reference"=>"Alexandre Aufderhar", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f84d0000'), "author_name"=>"Burdette Wehner", "content"=>["Quos vel voluptates. Fuga quidem voluptatem voluptas hic sit laudantium libero. Natus similique alias magni voluptates in itaque et. Eos deserunt quia autem minus voluptas. Eum dicta qui rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3ab977353318f84d0000", "product_id"=>"53df3ab977353318f84c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f84c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f84c0000'), "comments._id"=>BSON::ObjectId('53df3ab977353318f84d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Redirected to http://test.host/products/53df3ab977353318f84c0000/comments/53df3ab977353318f84d0000 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('53df3ab977353318f84e0000'), "firstname"=>"Elliot", "lastname"=>"Rau"}] 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=>"clients", :query=>{}} runtime: 0.2365ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f84f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms Redirected to http://test.host/admin/clients/53df3ab977353318f84f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3351ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8500000'), "firstname"=>"Ada", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2838ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3ab977353318f8500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4408ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms 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.2939ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8510000'), "firstname"=>"Jasmin", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3ab977353318f8510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 43ms (Views: 41.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8520000'), "firstname"=>"Chasity", "lastname"=>"Haley"}] 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.4636ms 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('53df3ab977353318f8530000'), "firstname"=>"Abner", "lastname"=>"Feeney"}] 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.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('53df3ab977353318f8540000'), "firstname"=>"Deion", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3ab977353318f8540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms 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('53df3ab977353318f8550000'), "firstname"=>"Earnest", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5192ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3ab977353318f8550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms Redirected to http://test.host/admin/clients/53df3ab977353318f8550000 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('53df3ab977353318f8560000'), "firstname"=>"Thea", "lastname"=>"Rolfson"}] 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=>"clients", :query=>{}} runtime: 0.3455ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Redirected to http://test.host/clients/53df3ab977353318f8570000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3055ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8580000'), "firstname"=>"Carter", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2726ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3ab977353318f8580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8580000')} 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('53df3ab977353318f8580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms 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.2876ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8590000'), "firstname"=>"Oma", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3ab977353318f8590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f8590000')} 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.8ms) 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('53df3ab977353318f85a0000'), "firstname"=>"Hobart", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms 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('53df3ab977353318f85b0000'), "firstname"=>"Chauncey", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms 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('53df3ab977353318f85c0000'), "firstname"=>"Kaycee", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5432ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3ab977353318f85c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f85c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms 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('53df3ab977353318f85d0000'), "firstname"=>"Clemens", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0981ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3ab977353318f85d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f85d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4359ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3ab977353318f85d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms Redirected to http://test.host/clients/53df3ab977353318f85d0000 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('53df3ab977353318f85e0000'), "name"=>"Willis Mohr", "reference"=>"Miss Felicia Kshlerin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f85f0000'), "firstname"=>"Magdalen", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5723ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3ab977353318f85e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f85e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f85e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f8600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Redirected to http://test.host/products/53df3ab977353318f85e0000/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('53df3ab977353318f8610000'), "name"=>"Hyman Hackett PhD", "reference"=>"Logan Tromp", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f8620000'), "firstname"=>"Cletus", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5133ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3ab977353318f8620000", "product_id"=>"53df3ab977353318f8610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5504ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 33ms (Views: 6.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8630000'), "name"=>"Noah Hartmann", "reference"=>"Sheridan Schuppe", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f8640000'), "firstname"=>"Josh", "lastname"=>"Stark"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6436ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3ab977353318f8630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('53df3ab977353318f8650000'), "name"=>"Nova Davis I", "reference"=>"Zion Bode", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f8660000'), "firstname"=>"Teagan", "lastname"=>"Anderson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4308ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3ab977353318f8660000", "product_id"=>"53df3ab977353318f8650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8670000'), "name"=>"Paula Cassin", "reference"=>"Markus Torphy DVM", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3ab977353318f8680000'), "firstname"=>"Imelda", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3ab977353318f8680000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3ab977353318f8670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms Unpermitted parameters: name Redirected to http://test.host/products/53df3ab977353318f8670000/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('53df3ab977353318f8690000'), "name"=>"Ms. Rocky Zulauf", "reference"=>"Reanna Glover II", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5917ms 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('53df3ab977353318f86a0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms Redirected to http://test.host/products/53df3ab977353318f86a0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2533ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f86b0000'), "name"=>"Davin West IV", "reference"=>"Stewart Simonis", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1976ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3ab977353318f86b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f86b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f86b0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms 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.2036ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f86c0000'), "name"=>"Dr. Kris Corkery", "reference"=>"Mrs. Jeanne Predovic", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3ab977353318f86c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f86c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f86d0000'), "name"=>"Earlene Eichmann", "reference"=>"Webster Reynolds", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms 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.8593ms Completed 200 OK in 21ms (Views: 20.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f86e0000'), "name"=>"Axel Marks Sr.", "reference"=>"Kyle Schmeler IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms 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.7334ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f86f0000'), "name"=>"Lydia Mohr", "reference"=>"Kathleen Schuppe", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3ab977353318f86f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms 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('53df3ab977353318f8700000'), "name"=>"Rosina Dooley", "reference"=>"Sadye Hahn", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.0ms) Completed 200 OK in 31ms (Views: 30.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8720000'), "name"=>"Mrs. Nayeli Will", "reference"=>"Candido Oberbrunner", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3ab977353318f8720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8730000'), "name"=>"Trinity Metz", "reference"=>"Quinton Cremin", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1983ms 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('53df3ab977353318f8740000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2064ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8750000'), "name"=>"Blanche Gutkowski", "reference"=>"Mrs. Mavis Langosh", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3ab977353318f8750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms 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('53df3ab977353318f8760000'), "name"=>"Ms. Vergie Oberbrunner", "reference"=>"Helena O'Hara", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms 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('53df3ab977353318f8780000'), "name"=>"Damian Yost", "reference"=>"Roy Morar", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3ab977353318f8780000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8780000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms 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('53df3ab977353318f8790000'), "name"=>"Dr. Ernestine Torphy", "reference"=>"Ahmed Stracke", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3ab977353318f8790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Redirected to http://test.host/products/53df3ab977353318f8790000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f87c0000'), "name"=>"Misty Frami", "reference"=>"Miss Marcelina Denesik", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f87a0000'), "author_name"=>"Francisca Klocko", "content"=>["Ut in velit quasi minima et consequuntur. Praesentium velit quod vitae dicta consequatur eum. Harum soluta consectetur. Expedita distinctio id neque non error incidunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f87b0000'), "author_name"=>"Elna Zieme MD", "content"=>["Nisi sunt qui et. Nulla fuga recusandae. Exercitationem ut consequatur voluptatem nisi expedita."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3ab977353318f87c0000", "comment_id"=>"53df3ab977353318f87a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4486ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f87c0000'), "comments._id"=>BSON::ObjectId('53df3ab977353318f87a0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3ab977353318f87d0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7406ms Redirected to http://test.host/products/53df3ab977353318f87c0000/comments/53df3ab977353318f87a0000/comments/53df3ab977353318f87d0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3682ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8800000'), "name"=>"Kayla Halvorson", "reference"=>"Mariane Kerluke", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f87e0000'), "author_name"=>"Stanton Cormier", "content"=>["Sit provident vel necessitatibus sed. Expedita id ea animi. Iure mollitia saepe est qui quis et. Magni voluptas non at sint."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f87f0000'), "author_name"=>"Will Padberg", "content"=>["Consequatur voluptatum porro fuga consequatur sed occaecati laudantium. Et amet esse natus ratione. Laudantium reiciendis qui delectus magnam cumque debitis. Aut et consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3ab977353318f8800000", "comment_id"=>"53df3ab977353318f87e0000", "id"=>"53df3ab977353318f87f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4355ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8800000'), "comments._id"=>BSON::ObjectId('53df3ab977353318f87e0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3ab977353318f87f0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6539ms Redirected to http://test.host/products/53df3ab977353318f8800000/comments/53df3ab977353318f87e0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8830000'), "name"=>"Bo Jast", "reference"=>"Merl Stamm DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8810000'), "author_name"=>"Krista Koelpin", "content"=>["Ut incidunt sed numquam. Distinctio molestias asperiores esse ea voluptas possimus. Ex ducimus dicta. Quo non recusandae distinctio. Ut possimus sed enim a repellendus ex doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8820000'), "author_name"=>"Aurelio Oberbrunner", "content"=>["Explicabo velit autem hic maiores nihil. Ipsam quo voluptatum dolorem excepturi ullam totam pariatur. Molestiae fuga sit minus repudiandae fugiat ut molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3ab977353318f8830000", "comment_id"=>"53df3ab977353318f8810000", "id"=>"53df3ab977353318f8820000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4241ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8860000'), "name"=>"Penelope Considine", "reference"=>"Dr. Erich Johnston", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8840000'), "author_name"=>"Mr. Beulah Powlowski", "content"=>["Numquam beatae maxime eius iure nihil. Ducimus consequatur minima eum omnis error voluptas qui. Cupiditate nam et dolore."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8850000'), "author_name"=>"Brianne Luettgen MD", "content"=>["Ipsa atque sed. Mollitia eius repudiandae enim autem sed repellat. Expedita cupiditate placeat in beatae sed rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6284ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3ab977353318f8860000", "comment_id"=>"53df3ab977353318f8840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4209ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8890000'), "name"=>"Reuben Vandervort", "reference"=>"Daniela Mante Jr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8870000'), "author_name"=>"Mrs. Manuel Gaylord", "content"=>["Nobis voluptatem ut exercitationem aliquam dolor. Quia est aspernatur et sequi placeat porro. Aut nihil qui voluptates modi aut quisquam voluptas. Dolorem eaque eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8880000'), "author_name"=>"Nova Gottlieb", "content"=>["Repellat similique eos amet aut. Eos aut ut maxime et ipsam sit. Quisquam fuga et laudantium et quas nostrum. Tempore sit omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3ab977353318f8890000", "comment_id"=>"53df3ab977353318f8870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f88c0000'), "name"=>"Mr. Jarret Bins", "reference"=>"Merl Von IV", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f88a0000'), "author_name"=>"Marilyne Feest", "content"=>["Omnis possimus ut eos voluptate eum. Soluta et et. Accusantium qui rerum numquam consequatur. Iste ea quos et asperiores ex qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f88b0000'), "author_name"=>"Enrique Willms", "content"=>["Voluptatem odio tempore repellendus quis debitis qui provident. Iusto eius maiores. Cupiditate vero voluptatem praesentium vitae saepe autem. Sed esse inventore id quae nam est. Sed natus molestias officiis omnis cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3ab977353318f88c0000", "comment_id"=>"53df3ab977353318f88a0000", "id"=>"53df3ab977353318f88b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f88f0000'), "name"=>"Daren Torphy", "reference"=>"Brian Smith", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f88d0000'), "author_name"=>"Emelie Huel", "content"=>["Aut dolorem consequatur qui eos ut. Amet temporibus aut adipisci iusto at sint. Magnam beatae nostrum qui. Eos hic molestiae vero ut. Totam hic nihil laborum beatae omnis id."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f88e0000'), "author_name"=>"Vladimir Heaney", "content"=>["Aut sit unde id ducimus nobis voluptatibus. At officiis laborum rem. Beatae corporis ipsum quae itaque dolorum laudantium dicta. Voluptas ut accusantium harum et in. Et voluptate pariatur nam illum inventore maiores eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3ab977353318f88f0000", "comment_id"=>"53df3ab977353318f88d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8920000'), "name"=>"Jan Denesik I", "reference"=>"Miss Pascale Herzog", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8900000'), "author_name"=>"Alessandra Huels", "content"=>["Eveniet consequuntur sequi quis quidem. Accusamus facilis et porro. Perferendis ut quia rerum sapiente aliquam et."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8910000'), "author_name"=>"Taya Schoen", "content"=>["Nihil qui nemo rerum et deleniti architecto aut. At nostrum tempora asperiores nisi consectetur soluta. Provident enim totam. Vel tenetur accusantium est doloremque enim voluptatem voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3ab977353318f8920000", "comment_id"=>"53df3ab977353318f8900000", "id"=>"53df3ab977353318f8910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8950000'), "name"=>"Jordy Padberg", "reference"=>"Mrs. Giles Effertz", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8930000'), "author_name"=>"Lourdes Robel I", "content"=>["Nemo enim quasi natus sint. Consequatur voluptatem cumque et harum eos minus non. Quis ipsa rerum odio delectus aliquam ut dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53df3ab977353318f8940000'), "author_name"=>"Chaz Tromp", "content"=>["Et dolor dolore. Iste nobis autem et et. Repellendus est ipsa inventore perferendis aut aliquid sit. Quam cumque veritatis eius. Eum voluptate esse ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3ab977353318f8940000", "product_id"=>"53df3ab977353318f8950000", "comment_id"=>"53df3ab977353318f8930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ab977353318f8950000'), "comments._id"=>BSON::ObjectId('53df3ab977353318f8930000'), "comments.0.comments._id"=>BSON::ObjectId('53df3ab977353318f8940000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms Redirected to http://test.host/products/53df3ab977353318f8950000/comments/53df3ab977353318f8930000/comments/53df3ab977353318f8940000 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('53df3ab977353318f8960000'), "firstname"=>"Brock", "lastname"=>"Connelly"}] 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.1709ms 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('53df3ab977353318f8970000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Redirected to http://test.host/users/53df3ab977353318f8970000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2136ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8980000'), "firstname"=>"Laurianne", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1932ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3ab977353318f8980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f8980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f8980000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5641ms 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.2051ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f8990000'), "firstname"=>"Wilber", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3ab977353318f8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.2ms) Completed 200 OK in 33ms (Views: 31.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f89a0000'), "firstname"=>"Isom", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms 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.3686ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f89b0000'), "firstname"=>"Rudy", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms 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('53df3ab977353318f89c0000'), "firstname"=>"Ford", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3ab977353318f89c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f89c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Completed 200 OK in 5ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ab977353318f89d0000'), "firstname"=>"Jon", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3ab977353318f89d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ab977353318f89d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Unpermitted parameters: name Redirected to http://test.host/users/53df3ab977353318f89d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms 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.5506ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7927ms 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.5103ms 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.5202ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921000000'), "firstname"=>"Jedediah", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5788ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3115ms 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('53df3ac47735331921010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5121ms 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.3508ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921020000'), "firstname"=>"Mikayla", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3ac47735331921020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac47735331921020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 48ms (Views: 46.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921030000'), "firstname"=>"Kylee", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921040000'), "firstname"=>"Jodie", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8974ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3ac47735331921040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac47735331921040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921050000'), "firstname"=>"Joshua", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3ac47735331921050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac47735331921050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms 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('53df3ac47735331921060000'), "name"=>"Thalia McCullough", "reference"=>"Kacey Daniel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac47735331921070000'), "author_name"=>"Kimberly Abernathy", "content"=>["Reprehenderit et autem. Voluptatem incidunt vitae est. Et qui occaecati aliquam sapiente voluptatibus soluta commodi. Saepe autem placeat aperiam non itaque et dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3ac47735331921060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3191ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ac47735331921080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms Redirected to http://test.host/admin/products/53df3ac47735331921060000/comments/53df3ac47735331921080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921060000')} 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('53df3ac47735331921090000'), "name"=>"Blanche Keebler V", "reference"=>"Justen Jenkins", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac477353319210a0000'), "author_name"=>"Horace Ullrich", "content"=>["Distinctio voluptatibus ab. Fugit eligendi sit sit fuga corporis quia. Corporis velit dicta inventore et consequatur saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3ac47735331921090000", "id"=>"53df3ac477353319210a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4276ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ac477353319210a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms Redirected to http://test.host/admin/products/53df3ac47735331921090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319210b0000'), "name"=>"Bo Rempel", "reference"=>"Eloy Mohr", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac477353319210c0000'), "author_name"=>"Hildegard Vandervort", "content"=>["Vel aut delectus qui deleniti rerum laborum ipsa. Veniam sint ratione. Aut numquam rerum voluptatem magnam corporis amet. Necessitatibus libero quis magnam minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3ac477353319210b0000", "id"=>"53df3ac477353319210c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319210b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4088ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319210d0000'), "name"=>"Johnnie Fritsch", "reference"=>"Tremaine Considine DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac477353319210e0000'), "author_name"=>"Jamarcus Jaskolski", "content"=>["Maiores temporibus libero aut voluptatem aperiam. Sint cum dignissimos expedita accusantium quia laboriosam distinctio. Et praesentium rerum ut et qui vel dolore. Qui consequatur est rem nulla porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1719ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3ac477353319210d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319210d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4342ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319210f0000'), "name"=>"Royal Breitenberg", "reference"=>"Cole Leffler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac47735331921100000'), "author_name"=>"Jerome Stokes", "content"=>["Nulla optio commodi molestiae. Sunt et quam quos. Est officiis ducimus sequi quasi. Facilis dolorum voluptatem qui. Iure qui ratione officiis nam quis nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3ac477353319210f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319210f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921110000'), "name"=>"Kris Maggio PhD", "reference"=>"Mrs. Sean Cronin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac47735331921120000'), "author_name"=>"Hope Kiehn II", "content"=>["Atque excepturi maxime qui omnis nisi. Autem et repudiandae aperiam commodi voluptatibus ducimus. Repellendus animi numquam optio doloremque laudantium quos voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3ac47735331921110000", "id"=>"53df3ac47735331921120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921130000'), "name"=>"Dustin Gerhold", "reference"=>"Etha Kovacek", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac47735331921140000'), "author_name"=>"Zelma Rodriguez", "content"=>["Provident rem et dicta autem in. Earum voluptas sed aut dolorem quia qui. Qui enim soluta voluptatem ea dolor. Maxime omnis suscipit molestiae aliquid excepturi ea iste. Ducimus natus aut quam ut a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5896ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3ac47735331921140000", "product_id"=>"53df3ac47735331921130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4457ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921130000'), "comments._id"=>BSON::ObjectId('53df3ac47735331921140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7258ms Redirected to http://test.host/admin/products/53df3ac47735331921130000/comments/53df3ac47735331921140000 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('53df3ac47735331921150000'), "name"=>"Cyril Oberbrunner IV", "reference"=>"Jedediah Oberbrunner PhD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3ac47735331921160000'), "firstname"=>"Jarod", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6050ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3ac47735331921150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3ac47735331921170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Redirected to http://test.host/admin/products/53df3ac47735331921150000/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('53df3ac47735331921180000'), "name"=>"Vella Volkman II", "reference"=>"Ms. Malinda Crooks", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3ac47735331921190000'), "firstname"=>"Alvena", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3ac47735331921190000", "product_id"=>"53df3ac47735331921180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319211a0000'), "name"=>"Milan Hamill", "reference"=>"Israel Dickens", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3ac477353319211b0000'), "firstname"=>"Adalberto", "lastname"=>"Murphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3ac477353319211a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319211a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319211c0000'), "name"=>"Ms. Terry Feeney", "reference"=>"Mr. Harmon Mitchell", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3ac477353319211d0000'), "firstname"=>"Luther", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3ac477353319211d0000", "product_id"=>"53df3ac477353319211c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319211c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac477353319211e0000'), "name"=>"Mrs. Oren Larkin", "reference"=>"Alanis Shanahan DDS", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3ac477353319211f0000'), "firstname"=>"Adrain", "lastname"=>"McCullough"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5220ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3ac477353319211f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3ac477353319211e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac477353319211e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3ac477353319211e0000/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('53df3ac47735331921200000'), "name"=>"Lia Goldner IV", "reference"=>"Jalon Cole", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2403ms 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('53df3ac47735331921210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8806ms Redirected to http://test.host/admin/products/53df3ac47735331921210000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2287ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921220000'), "name"=>"Ashly Moen", "reference"=>"Abdullah Reynolds", "quantity"=>"0"}] 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.1952ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3ac47735331921220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms 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.1419ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921230000'), "name"=>"Trevor Wiza II", "reference"=>"Anne McCullough DDS", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3ac47735331921230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2011ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 37ms (Views: 35.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921240000'), "name"=>"Xavier Windler", "reference"=>"Brenda Hansen", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms 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.4847ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921250000'), "name"=>"Mallie Dicki MD", "reference"=>"Jaron Gutkowski", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 17ms (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('53df3ac47735331921280000'), "name"=>"Natalie Emmerich", "reference"=>"Jaylen Kassulke", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3ac47735331921280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921290000'), "name"=>"Ms. Ibrahim Bahringer", "reference"=>"Efrain Schowalter", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3ac47735331921290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac47735331921290000')} 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('53df3ac47735331921290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Redirected to http://test.host/admin/products/53df3ac47735331921290000 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('53df3ac477353319212a0000'), "firstname"=>"Emilie", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1388ms 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('53df3ac477353319212b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3310ms Redirected to http://test.host/admin/users/53df3ac477353319212b0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1617ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ac477353319212c0000'), "firstname"=>"Norene", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1229ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3ac477353319212c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ac477353319212c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ac477353319212c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms 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.1760ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ac477353319212d0000'), "firstname"=>"Buford", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3ac477353319212d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ac477353319212d0000')} 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.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('53df3ac477353319212e0000'), "firstname"=>"Franz", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms 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.2812ms 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('53df3ac477353319212f0000'), "firstname"=>"Lucio", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921300000'), "firstname"=>"Gideon", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3ac47735331921300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ac47735331921300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921310000'), "firstname"=>"Timmy", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3ac47735331921310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3ac47735331921310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3ac47735331921310000 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('53df3ac47735331921320000'), "firstname"=>"Ceasar", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1744ms 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('53df3ac47735331921330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms 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.1779ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac47735331921340000'), "firstname"=>"Davonte", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3ac47735331921340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac47735331921340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.4ms) Completed 200 OK in 38ms (Views: 36.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac57735331921350000'), "firstname"=>"Danial", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac57735331921360000'), "firstname"=>"Freda", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3ac57735331921360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac57735331921360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3ac57735331921370000'), "firstname"=>"Bruce", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7385ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3ac57735331921370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3ac57735331921370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms ---------------------------------------------------- CommentsControllerTest: test_should_call_create_hook ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3ac57735331921380000'), "name"=>"Christopher Von", "reference"=>"Clark Mitchell", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3ac57735331921390000'), "author_name"=>"Kareem Torphy", "content"=>["Ratione fugiat sapiente laudantium quaerat ex minima est. Placeat ipsum voluptatibus. Suscipit nobis similique qui aut beatae molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac57735331921380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3ac57735331921380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac57735331921380000')} 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('53df3ac57735331921380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3ac577353319213a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Redirected to http://test.host/products/53df3ac57735331921380000/comments/53df3ac577353319213a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3ac57735331921380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319213b0000'), "name"=>"Miss Soledad Bode", "reference"=>"Mr. Mafalda Kiehn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319213c0000'), "author_name"=>"Taylor Spinka", "content"=>["Nam possimus temporibus repellat voluptates. Sapiente laudantium reprehenderit quas exercitationem aut molestiae. Est aut adipisci temporibus facilis. Dolorum distinctio ea impedit doloremque corporis velit et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4682ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3acc77353319213b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213b0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3acc77353319213d0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6981ms Redirected to http://test.host/products/53df3acc77353319213b0000/comments/53df3acc77353319213d0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4611ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319213e0000'), "name"=>"Miss Bernadette Rath", "reference"=>"Citlalli Koss", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319213f0000'), "author_name"=>"Dr. Bernhard King", "content"=>["Voluptatem minus quia nihil similique illum. Aliquam cupiditate eos. Qui eaque enim assumenda vitae ea. Quidem commodi est voluptatem. Quaerat illum quia eum deserunt aliquid soluta ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4046ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3acc77353319213e0000", "id"=>"53df3acc77353319213f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5891ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213e0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3acc77353319213f0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7784ms Redirected to http://test.host/products/53df3acc77353319213e0000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319213e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4553ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921400000'), "name"=>"Griffin Cole", "reference"=>"Lucile Considine", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921410000'), "author_name"=>"Tressie Mayer", "content"=>["Sed voluptatem incidunt quam sapiente accusantium consectetur. Impedit deleniti beatae ipsam aut veniam repellendus aut. Molestiae atque est sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3acc7735331921400000", "id"=>"53df3acc7735331921410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4838ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 55ms (Views: 51.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921420000'), "name"=>"Mina Davis", "reference"=>"Kenya Schimmel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921430000'), "author_name"=>"Kristy Watsica", "content"=>["Eos impedit blanditiis quae nihil ut sint. Dolorum unde accusamus dolorem. Reprehenderit sequi qui. Nemo qui animi reprehenderit quisquam delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4630ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3acc7735331921420000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Completed 200 OK in 7ms (Views: 4.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921440000'), "name"=>"Dr. Ernesto Bechtelar", "reference"=>"Milan Crooks", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921450000'), "author_name"=>"Manley Schmeler V", "content"=>["Temporibus et consectetur. Totam dolor quo aut enim quidem. Doloremque perspiciatis labore nobis beatae ullam aspernatur deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5614ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3acc7735331921440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921460000'), "name"=>"Celia Powlowski", "reference"=>"Aisha Wolf", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921470000'), "author_name"=>"Ray Friesen", "content"=>["Consequatur ut quisquam consectetur fuga. Fuga qui deserunt et earum tempora neque. Mollitia quia ut ad."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3acc7735331921460000", "id"=>"53df3acc7735331921470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921480000'), "name"=>"Dr. Domenick Heller", "reference"=>"Noemie Walsh", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921490000'), "author_name"=>"Armando Walsh III", "content"=>["Rerum velit corporis quis. Impedit ab minus natus enim consequatur numquam qui. Molestiae est exercitationem repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3acc7735331921480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319214a0000'), "name"=>"Ms. Arne Huel", "reference"=>"Everett Stroman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319214b0000'), "author_name"=>"Juliana Howell", "content"=>["Eius eos enim eaque consequuntur velit ratione. Quia animi nostrum quae quam voluptatem molestiae ab. Laborum et nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3acc77353319214a0000", "id"=>"53df3acc77353319214b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319214a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319214c0000'), "name"=>"Jade Daniel", "reference"=>"Tatyana Jerde", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319214d0000'), "author_name"=>"Cordelia Bradtke", "content"=>["Occaecati doloribus iusto aperiam. Maiores ut qui quidem et voluptates. Qui quae suscipit assumenda et nobis asperiores sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3acc77353319214d0000", "product_id"=>"53df3acc77353319214c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319214c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319214c0000'), "comments._id"=>BSON::ObjectId('53df3acc77353319214d0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6187ms Redirected to http://test.host/products/53df3acc77353319214c0000/comments/53df3acc77353319214d0000 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('53df3acc77353319214e0000'), "firstname"=>"Lempi", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2348ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc77353319214f0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Redirected to http://test.host/admin/clients/53df3acc77353319214f0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2542ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921500000'), "firstname"=>"Antone", "lastname"=>"Bernier"}] 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=>"clients", :query=>{}} runtime: 0.2208ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3acc7735331921500000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921500000')} 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('53df3acc7735331921500000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms 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.1638ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921510000'), "firstname"=>"Jaquelin", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3acc7735331921510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 7.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921520000'), "firstname"=>"Kennith", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7297ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms 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('53df3acc7735331921530000'), "firstname"=>"Hilbert", "lastname"=>"Paucek"}] 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.7ms) 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('53df3acc7735331921540000'), "firstname"=>"Antwon", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3acc7735331921540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms 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('53df3acc7735331921550000'), "firstname"=>"Reggie", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3acc7735331921550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921550000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms Redirected to http://test.host/admin/clients/53df3acc7735331921550000 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('53df3acc7735331921560000'), "firstname"=>"Fannie", "lastname"=>"Swaniawski"}] 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=>"clients", :query=>{}} runtime: 0.2135ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921570000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Redirected to http://test.host/clients/53df3acc7735331921570000 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('53df3acc7735331921580000'), "firstname"=>"Michael", "lastname"=>"Anderson"}] 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=>"clients", :query=>{}} runtime: 0.1986ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3acc7735331921580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921580000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms 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.2243ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921590000'), "firstname"=>"Ronny", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3acc7735331921590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc7735331921590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms 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('53df3acc77353319215a0000'), "firstname"=>"Billie", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms 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('53df3acc77353319215b0000'), "firstname"=>"Arturo", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8162ms 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('53df3acc77353319215c0000'), "firstname"=>"Clemmie", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3acc77353319215c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc77353319215c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms 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('53df3acc77353319215d0000'), "firstname"=>"Aylin", "lastname"=>"Ullrich"}] 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"=>"53df3acc77353319215d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc77353319215d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3acc77353319215d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms Redirected to http://test.host/clients/53df3acc77353319215d0000 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('53df3acc77353319215e0000'), "name"=>"Troy Lesch", "reference"=>"Miss Lurline Hessel", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3acc77353319215f0000'), "firstname"=>"Roxane", "lastname"=>"Pollich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3acc77353319215e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319215e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319215e0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319215e0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3acc7735331921600000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms Redirected to http://test.host/products/53df3acc77353319215e0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921610000'), "name"=>"Chasity Thiel", "reference"=>"Casper Cassin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3acc7735331921620000'), "firstname"=>"Ivah", "lastname"=>"Yundt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3acc7735331921620000", "product_id"=>"53df3acc7735331921610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921630000'), "name"=>"Millie Murray", "reference"=>"Ms. Paxton Kovacek", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3acc7735331921640000'), "firstname"=>"Linnie", "lastname"=>"Schinner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3acc7735331921630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921630000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921650000'), "name"=>"Kaley Trantow", "reference"=>"Buford Wiza", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3acc7735331921660000'), "firstname"=>"Karianne", "lastname"=>"Baumbach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3acc7735331921660000", "product_id"=>"53df3acc7735331921650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921670000'), "name"=>"Broderick Littel", "reference"=>"Beatrice Klocko", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3acc7735331921680000'), "firstname"=>"Emie", "lastname"=>"Emmerich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3acc7735331921680000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3acc7735331921670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms Unpermitted parameters: name Redirected to http://test.host/products/53df3acc7735331921670000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921690000'), "name"=>"Iliana Hyatt", "reference"=>"Fredrick Kuhic", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms 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('53df3acc77353319216a0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Redirected to http://test.host/products/53df3acc77353319216a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1884ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319216b0000'), "name"=>"Mrs. Gussie Gleason", "reference"=>"Ona Leuschke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1615ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3acc77353319216b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319216b0000')} 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('53df3acc77353319216b0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7364ms 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.2482ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319216c0000'), "name"=>"Max Beahan", "reference"=>"Evert Nolan I", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3acc77353319216c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319216c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319216d0000'), "name"=>"Ms. Leif Bartoletti", "reference"=>"Sabrina Mitchell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms 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: 1.2447ms Completed 200 OK in 54ms (Views: 53.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319216e0000'), "name"=>"Davon Abshire", "reference"=>"Candace Mann", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms 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.6509ms 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('53df3acc77353319216f0000'), "name"=>"Abe Pollich", "reference"=>"Adah Bruen", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3acc77353319216f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319216f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms 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('53df3acc7735331921700000'), "name"=>"Stella Klein", "reference"=>"Montana Koelpin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df3acc7735331921720000'), "name"=>"Ciara Crist", "reference"=>"Laney Miller", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3acc7735331921720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921730000'), "name"=>"Leola Kiehn", "reference"=>"Moses Cruickshank V", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1522ms 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('53df3acc7735331921740000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1646ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921750000'), "name"=>"Aleen O'Keefe", "reference"=>"Mrs. Delmer Hansen", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8394ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3acc7735331921750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms 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('53df3acc7735331921760000'), "name"=>"Ronny Bergnaum", "reference"=>"Antonia Dicki Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms 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('53df3acc7735331921780000'), "name"=>"Zoila Fadel", "reference"=>"Dawn Medhurst DDS", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3acc7735331921780000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921780000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms 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('53df3acc7735331921790000'), "name"=>"Zoila Abshire", "reference"=>"Fermin Klein", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3acc7735331921790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921790000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms Redirected to http://test.host/products/53df3acc7735331921790000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319217c0000'), "name"=>"Emmanuelle Champlin Sr.", "reference"=>"Donavon Denesik", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319217a0000'), "author_name"=>"Richie Stracke", "content"=>["Aut nemo et recusandae ea. Natus qui id rerum. Tempora inventore nesciunt eligendi ipsa itaque consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319217b0000'), "author_name"=>"Yvette Cartwright", "content"=>["Suscipit excepturi voluptas rem illum. Debitis doloremque maiores perspiciatis asperiores est itaque quae. Aut quisquam sunt voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319217c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3acc77353319217c0000", "comment_id"=>"53df3acc77353319217a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319217c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319217c0000'), "comments._id"=>BSON::ObjectId('53df3acc77353319217a0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3acc77353319217d0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms Redirected to http://test.host/products/53df3acc77353319217c0000/comments/53df3acc77353319217a0000/comments/53df3acc77353319217d0000 Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319217c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921800000'), "name"=>"Lilliana Metz", "reference"=>"Dr. Beaulah O'Hara", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319217e0000'), "author_name"=>"Natasha Blick", "content"=>["Suscipit aut eum recusandae aperiam qui. Voluptas id similique eligendi corporis. Veritatis esse non voluptatem accusantium aspernatur excepturi nam. Temporibus et odio."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319217f0000'), "author_name"=>"Oliver Cremin", "content"=>["Expedita natus sint provident. Nulla possimus quisquam atque et itaque sunt. Iure ducimus molestiae est quod minus omnis. Qui omnis delectus odit. Qui quasi exercitationem eaque minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3acc7735331921800000", "comment_id"=>"53df3acc77353319217e0000", "id"=>"53df3acc77353319217f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921800000')} 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('53df3acc7735331921800000'), "comments._id"=>BSON::ObjectId('53df3acc77353319217e0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3acc77353319217f0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Redirected to http://test.host/products/53df3acc7735331921800000/comments/53df3acc77353319217e0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921830000'), "name"=>"Sheridan DuBuque", "reference"=>"Lauretta Kautzer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921810000'), "author_name"=>"Mr. Velda Greenholt", "content"=>["Tempore blanditiis id aut. Possimus quae rerum ut temporibus commodi. Voluptates pariatur totam. Architecto culpa ducimus possimus sunt tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921820000'), "author_name"=>"Kaleb Lubowitz", "content"=>["Sed minus iusto vel aut libero sit exercitationem. Commodi recusandae velit dolore iste ipsum voluptate sint. Eos voluptatem eius eligendi inventore qui aspernatur deserunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3acc7735331921830000", "comment_id"=>"53df3acc7735331921810000", "id"=>"53df3acc7735331921820000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921860000'), "name"=>"Dr. Athena Lesch", "reference"=>"Warren Auer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921840000'), "author_name"=>"Theodora McGlynn DDS", "content"=>["Ullam nulla saepe et aut tempora. Optio deserunt porro perferendis quos rerum sit aut. Tempore fugiat laboriosam aut maxime ipsum in. Hic officia quis vel ut. Sed cupiditate accusantium voluptatum aliquam modi qui quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921850000'), "author_name"=>"Mrs. Millie Bruen", "content"=>["Omnis qui omnis perspiciatis quam. Perferendis quas alias facere reiciendis beatae rerum. Animi voluptatem deleniti quam iusto et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3acc7735331921860000", "comment_id"=>"53df3acc7735331921840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921890000'), "name"=>"Tyra Morissette", "reference"=>"Jake Heidenreich", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921870000'), "author_name"=>"Ms. Drew Zulauf", "content"=>["Iure et aut. Quo odio debitis laudantium et voluptate illum. Sunt ut rem veritatis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921880000'), "author_name"=>"Vernie Gleichner", "content"=>["Assumenda sunt expedita. Velit impedit dignissimos est vel eos. Laborum quas quia voluptatem nobis minima dolorum. Accusantium eius dolorum aut quibusdam. Modi dignissimos tempora dolores accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3acc7735331921890000", "comment_id"=>"53df3acc7735331921870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319218c0000'), "name"=>"Arnulfo Hackett III", "reference"=>"Jameson Lind DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319218a0000'), "author_name"=>"Miss Frederic Treutel", "content"=>["Placeat amet quia. Enim quia rerum et modi consequatur vel. Quae ut voluptatem et eius sed quia dolore. Aut facere dolor asperiores. Provident aut aut velit maiores fuga."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319218b0000'), "author_name"=>"Brice VonRueden V", "content"=>["Est et nulla. Ut necessitatibus occaecati qui suscipit. Consectetur molestiae ut earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4862ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3acc77353319218c0000", "comment_id"=>"53df3acc77353319218a0000", "id"=>"53df3acc77353319218b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319218c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc77353319218f0000'), "name"=>"Lillie Buckridge", "reference"=>"Jedidiah Shanahan Jr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319218d0000'), "author_name"=>"Mrs. Tanner Schinner", "content"=>["Consequatur et quibusdam ut similique in autem omnis. Est ad autem dolorem et aut fugiat pariatur. Repellendus nesciunt labore vero reprehenderit. Aperiam quas explicabo voluptas quo excepturi. Molestiae autem et officiis dolorem eligendi doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc77353319218e0000'), "author_name"=>"Bill Turcotte", "content"=>["Molestias sint molestiae fugiat doloribus soluta similique. Quia ipsa vel occaecati quibusdam. Rem inventore ut earum fugiat ea autem. Laboriosam harum praesentium excepturi. Et consequatur reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3acc77353319218f0000", "comment_id"=>"53df3acc77353319218d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc77353319218f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921920000'), "name"=>"Rick Kunde", "reference"=>"Miss Annette Sanford", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921900000'), "author_name"=>"Mr. Mathew Bergstrom", "content"=>["Soluta et autem. Ut aperiam voluptatem ab assumenda quo earum impedit. Voluptas consectetur ullam dolores ea voluptatibus eveniet et. Voluptate ut numquam aut neque pariatur quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921910000'), "author_name"=>"Davon Bernier", "content"=>["Saepe officiis quo. Aut id modi magni incidunt cumque. At voluptatem nihil sequi impedit ad est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3acc7735331921920000", "comment_id"=>"53df3acc7735331921900000", "id"=>"53df3acc7735331921910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921950000'), "name"=>"Gerardo Johnson", "reference"=>"Alisha Goyette", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921930000'), "author_name"=>"Eleonore Hand V", "content"=>["Est at sunt ut. Officia neque quia quam et. Impedit delectus consequuntur consequatur officiis. Accusamus amet et. Ut et ullam a."], "comments"=>[{"_id"=>BSON::ObjectId('53df3acc7735331921940000'), "author_name"=>"Mrs. Fabiola Harber", "content"=>["Dolor consectetur enim deserunt. Hic iusto quaerat. Quas velit rerum consequuntur ipsa. Cumque rerum laborum provident eligendi nam dolorem. Cupiditate voluptatem nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3acc7735331921940000", "product_id"=>"53df3acc7735331921950000", "comment_id"=>"53df3acc7735331921930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3acc7735331921950000')} 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('53df3acc7735331921950000'), "comments._id"=>BSON::ObjectId('53df3acc7735331921930000'), "comments.0.comments._id"=>BSON::ObjectId('53df3acc7735331921940000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Redirected to http://test.host/products/53df3acc7735331921950000/comments/53df3acc7735331921930000/comments/53df3acc7735331921940000 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('53df3acc7735331921960000'), "firstname"=>"Estella", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1339ms 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('53df3acc7735331921970000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms Redirected to http://test.host/users/53df3acc7735331921970000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1549ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921980000'), "firstname"=>"Abel", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1859ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3acc7735331921980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3acc7735331921980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3acc7735331921980000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms 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.2011ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3acc7735331921990000'), "firstname"=>"Daija", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3acc7735331921990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3acc7735331921990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3acc77353319219a0000'), "firstname"=>"Laila", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms 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.3298ms 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('53df3acc77353319219b0000'), "firstname"=>"Bridie", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2940ms 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('53df3acc77353319219c0000'), "firstname"=>"Claudia", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3acc77353319219c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3acc77353319219c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3acc77353319219d0000'), "firstname"=>"Devan", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3acc77353319219d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3acc77353319219d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms Unpermitted parameters: name Redirected to http://test.host/users/53df3acc77353319219d0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4968ms 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.4863ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6815ms 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.4042ms 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.4007ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms 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.2603ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products 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.1873ms 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.1797ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b347735331984000000'), "firstname"=>"Kenyon", "lastname"=>"Abshire"}] 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.2311ms 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('53df3b347735331984010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms 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.2554ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b347735331984020000'), "firstname"=>"Watson", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b347735331984020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b347735331984020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 48ms (Views: 46.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b347735331984030000'), "firstname"=>"Margaretta", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b347735331984040000'), "firstname"=>"Cristina", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3b347735331984040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b347735331984040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b347735331984050000'), "firstname"=>"Lukas", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3b347735331984050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b347735331984050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms 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('53df3b347735331984060000'), "name"=>"Tierra Rodriguez III", "reference"=>"Allen Wolff PhD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b347735331984070000'), "author_name"=>"Carlotta Dickens", "content"=>["Et ut veniam ut dolorem. Sint beatae consectetur consequatur. Ullam earum quae. Ducimus ea ex reiciendis officia quod dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b347735331984060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b347735331984080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Redirected to http://test.host/admin/products/53df3b347735331984060000/comments/53df3b347735331984080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4274ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b347735331984090000'), "name"=>"Ryder Corwin", "reference"=>"Natalia D'Amore", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3477353319840a0000'), "author_name"=>"Lura Cummings", "content"=>["Aut fugiat saepe blanditiis distinctio sint enim. Cupiditate odio veniam accusantium. Nisi et porro."]}]}] 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('53df3b347735331984090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5109ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b347735331984090000", "id"=>"53df3b3477353319840a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b3477353319840a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Redirected to http://test.host/admin/products/53df3b347735331984090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b347735331984090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3477353319840b0000'), "name"=>"Jesus Leffler", "reference"=>"Mariah Ryan", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3477353319840c0000'), "author_name"=>"Jerrod Okuneva", "content"=>["Pariatur deserunt non molestias. Aut saepe eligendi asperiores sed amet harum. Sed dolore accusantium alias. Iure minima quia aut rem ut quam. Ad commodi nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7418ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b3477353319840b0000", "id"=>"53df3b3477353319840c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3477353319840b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3477353319840d0000'), "name"=>"Christy Fisher", "reference"=>"Rafaela Goyette", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3477353319840e0000'), "author_name"=>"Ross Maggio III", "content"=>["Et quia excepturi. Ratione aut dicta autem et quia. Sequi architecto porro modi odit. Voluptatibus assumenda et omnis quisquam reiciendis. Eum quidem quae ipsam consectetur quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5440ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3b3477353319840d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3477353319840d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3477353319840f0000'), "name"=>"Madelyn Hamill", "reference"=>"Watson Koch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b347735331984100000'), "author_name"=>"Archibald Hills", "content"=>["Et vel soluta. Sunt doloremque voluptatibus voluptas qui iste fugiat. Voluptate pariatur esse et dignissimos magnam. Dolore dolor aut. Dolor ut rerum deserunt enim quos excepturi nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3b3477353319840f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3477353319840f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984110000'), "name"=>"Carolyn Oberbrunner Jr.", "reference"=>"Maybell Hansen", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984120000'), "author_name"=>"Agustina Armstrong", "content"=>["Harum sed quas veritatis fuga et. Et sunt ipsum neque nihil est dolores. Non aut rerum temporibus iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3b357735331984110000", "id"=>"53df3b357735331984120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984130000'), "name"=>"Tabitha Goyette", "reference"=>"Miss Shaina Kuhlman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984140000'), "author_name"=>"Keon Doyle", "content"=>["Excepturi omnis maxime soluta non delectus rem laudantium. Dolor non vero quo. Temporibus autem dolorum et. Minus consectetur asperiores quos vel ipsum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b357735331984140000", "product_id"=>"53df3b357735331984130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984130000'), "comments._id"=>BSON::ObjectId('53df3b357735331984140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6251ms Redirected to http://test.host/admin/products/53df3b357735331984130000/comments/53df3b357735331984140000 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('53df3b357735331984150000'), "name"=>"Felicity Blanda", "reference"=>"Alfonso Kris", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984160000'), "firstname"=>"Verner", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5688ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b357735331984150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Redirected to http://test.host/admin/products/53df3b357735331984150000/manager Completed 302 Found in 7ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984180000'), "name"=>"Mrs. Jewell Koch", "reference"=>"Ryder Heaney", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984190000'), "firstname"=>"Edgardo", "lastname"=>"Lang"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3b357735331984190000", "product_id"=>"53df3b357735331984180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4622ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319841a0000'), "name"=>"Amelia Lemke", "reference"=>"Mr. Lea Koss", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319841b0000'), "firstname"=>"Marisol", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3b3577353319841a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319841a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319841c0000'), "name"=>"Mr. Ottis King", "reference"=>"Clementine Dicki", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319841d0000'), "firstname"=>"Mariah", "lastname"=>"Morar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3b3577353319841d0000", "product_id"=>"53df3b3577353319841c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319841c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319841e0000'), "name"=>"Alana Dickinson", "reference"=>"Palma Jaskolski", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319841f0000'), "firstname"=>"Brendan", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3b3577353319841f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b3577353319841e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319841e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3b3577353319841e0000/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('53df3b357735331984200000'), "name"=>"Cruz Trantow", "reference"=>"Kianna Rogahn", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5773ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3443ms 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('53df3b357735331984210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms Redirected to http://test.host/admin/products/53df3b357735331984210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3357ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984220000'), "name"=>"Jaunita Walker I", "reference"=>"Mr. Duane Marvin", "quantity"=>"0"}] 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.2558ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3b357735331984220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms 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.2980ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984230000'), "name"=>"Bud Jacobi", "reference"=>"Minerva Harvey Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3b357735331984230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 40ms (Views: 38.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984240000'), "name"=>"Jeff Will", "reference"=>"Valentin Green", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms 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.6907ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984250000'), "name"=>"Kailey Fahey", "reference"=>"Delta Torphy II", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df3b357735331984280000'), "name"=>"Dr. Nicklaus Friesen", "reference"=>"Josh Satterfield", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7680ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3b357735331984280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms 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('53df3b357735331984290000'), "name"=>"Shanie Moen", "reference"=>"Dr. Meagan Orn", "quantity"=>"3"}] 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"=>"53df3b357735331984290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Redirected to http://test.host/admin/products/53df3b357735331984290000 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('53df3b3577353319842a0000'), "firstname"=>"Deontae", "lastname"=>"Batz"}] 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.2182ms 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('53df3b3577353319842b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Redirected to http://test.host/admin/users/53df3b3577353319842b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b3577353319842c0000'), "firstname"=>"Kade", "lastname"=>"Pagac"}] 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.1929ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3b3577353319842c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b3577353319842c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b3577353319842c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms 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.1854ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b3577353319842d0000'), "firstname"=>"Wilma", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3b3577353319842d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b3577353319842d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b3577353319842e0000'), "firstname"=>"Gunnar", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms 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.2950ms 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('53df3b3577353319842f0000'), "firstname"=>"Casey", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b357735331984300000'), "firstname"=>"Alford", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3b357735331984300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b357735331984300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b357735331984310000'), "firstname"=>"Rosella", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b357735331984310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b357735331984310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3b357735331984310000 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('53df3b357735331984320000'), "firstname"=>"Judge", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2069ms 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('53df3b357735331984330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms 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.1959ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b357735331984340000'), "firstname"=>"Calista", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b357735331984340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b357735331984340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 38ms (Views: 36.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b357735331984350000'), "firstname"=>"Kraig", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b357735331984360000'), "firstname"=>"Jerry", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3b357735331984360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b357735331984360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b357735331984370000'), "firstname"=>"Dorian", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3b357735331984370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b357735331984370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms 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('53df3b357735331984380000'), "name"=>"Kiel Rau", "reference"=>"Estel Larkin Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984390000'), "author_name"=>"Lester Murphy V", "content"=>["Iure consequuntur repellat occaecati ut eum. Et corporis sint commodi iure iusto aut sequi. Modi perspiciatis tempore saepe dignissimos reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b357735331984380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b3577353319843a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Redirected to http://test.host/products/53df3b357735331984380000/comments/53df3b3577353319843a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319843b0000'), "name"=>"Verner Kshlerin", "reference"=>"Felicita D'Amore", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319843c0000'), "author_name"=>"Dr. Lisandro Mueller", "content"=>["Illum aliquid adipisci dignissimos commodi quia minus pariatur. Qui deleniti autem ipsa. Exercitationem magnam eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b3577353319843b0000", "id"=>"53df3b3577353319843c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b3577353319843c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Redirected to http://test.host/products/53df3b3577353319843b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1960ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319843d0000'), "name"=>"Shaniya Wyman", "reference"=>"Maxie Hand", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319843e0000'), "author_name"=>"Sandrine Flatley", "content"=>["Et ipsa facilis. Eos vitae quaerat aliquid. Ex fugiat soluta reprehenderit sunt quia est rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b3577353319843d0000", "id"=>"53df3b3577353319843e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319843f0000'), "name"=>"Giovani Nienow", "reference"=>"Chet Hilll", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984400000'), "author_name"=>"Benjamin Langosh", "content"=>["Animi voluptas in ipsam. Autem ratione omnis. Et corporis rerum et quibusdam. Aperiam quibusdam ab nobis illum. Consequuntur et quia consectetur ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3b3577353319843f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319843f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984410000'), "name"=>"Earnest Howell", "reference"=>"Ms. Mallie Weber", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984420000'), "author_name"=>"Effie Renner", "content"=>["Perferendis quam repellendus corporis. Beatae sit magnam est culpa architecto ut. Atque et sed eius odit iure maxime perferendis. Voluptas illo earum et alias eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3b357735331984410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984430000'), "name"=>"Rylee Abbott", "reference"=>"Aubrey Swift", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984440000'), "author_name"=>"Eve Ebert Sr.", "content"=>["Hic dolores est omnis dolorum in. Aut ut voluptas ut ipsa tempore. Quaerat nesciunt unde aut sint omnis. Nihil blanditiis aliquam quidem quod ea quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3b357735331984430000", "id"=>"53df3b357735331984440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984450000'), "name"=>"Kody Nader", "reference"=>"Precious Heller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984460000'), "author_name"=>"Etha Schneider", "content"=>["Provident porro consequatur. Nihil minima enim in. Iure voluptas sit inventore praesentium ut quo doloremque. Reprehenderit reiciendis voluptatem quod dolorem nulla asperiores et. Rem cum natus non dolores in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3b357735331984450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984470000'), "name"=>"Allen Jacobson Sr.", "reference"=>"Frederic Zboncak", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984480000'), "author_name"=>"Helen Keeling", "content"=>["Error in laboriosam. Voluptatem dicta dolorem. Porro illum facilis doloremque odit. Asperiores quia quos sint. Minus in itaque ut blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3b357735331984470000", "id"=>"53df3b357735331984480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984490000'), "name"=>"Elna Runte I", "reference"=>"Karlie Lind", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319844a0000'), "author_name"=>"Ozella Gutmann IV", "content"=>["Id omnis dolorem minima ipsum non porro. Velit ipsam quidem facilis laudantium deleniti. Deserunt facere et tempore accusantium nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b3577353319844a0000", "product_id"=>"53df3b357735331984490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984490000'), "comments._id"=>BSON::ObjectId('53df3b3577353319844a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7401ms Redirected to http://test.host/products/53df3b357735331984490000/comments/53df3b3577353319844a0000 Completed 302 Found in 8ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b3577353319844b0000'), "firstname"=>"Edwin", "lastname"=>"Gislason"}] 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.2016ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b3577353319844c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Redirected to http://test.host/admin/clients/53df3b3577353319844c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2680ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b3577353319844d0000'), "firstname"=>"Keanu", "lastname"=>"Spinka"}] 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.1928ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b3577353319844d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b3577353319844d0000')} 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('53df3b3577353319844d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms 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.1884ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b3577353319844e0000'), "firstname"=>"Emma", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b3577353319844e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b3577353319844e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.3ms) Completed 200 OK in 40ms (Views: 38.8ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b3577353319844f0000'), "firstname"=>"Torey", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms 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('53df3b357735331984500000'), "firstname"=>"Gabe", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b357735331984510000'), "firstname"=>"Mario", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b357735331984510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b357735331984520000'), "firstname"=>"Marquise", "lastname"=>"VonRueden"}] 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"=>"53df3b357735331984520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms Redirected to http://test.host/admin/clients/53df3b357735331984520000 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('53df3b357735331984530000'), "firstname"=>"Dortha", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1978ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b357735331984540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms Redirected to http://test.host/clients/53df3b357735331984540000 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('53df3b357735331984550000'), "firstname"=>"Brenda", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1796ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b357735331984550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984550000')} 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('53df3b357735331984550000')} 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.1795ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b357735331984560000'), "firstname"=>"Aditya", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b357735331984560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms 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('53df3b357735331984570000'), "firstname"=>"Abdullah", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms 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('53df3b357735331984580000'), "firstname"=>"Teagan", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b357735331984590000'), "firstname"=>"Estevan", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b357735331984590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b357735331984590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms 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('53df3b3577353319845a0000'), "firstname"=>"Brittany", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3b3577353319845a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b3577353319845a0000')} 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('53df3b3577353319845a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms Redirected to http://test.host/clients/53df3b3577353319845a0000 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('53df3b3577353319845b0000'), "name"=>"Palma Medhurst", "reference"=>"Christelle Friesen", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319845c0000'), "firstname"=>"Katrina", "lastname"=>"Heathcote"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b3577353319845b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319845b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319845b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319845b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319845d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms Redirected to http://test.host/products/53df3b3577353319845b0000/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('53df3b3577353319845e0000'), "name"=>"Elisha Barrows", "reference"=>"Haleigh Dicki", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3b3577353319845f0000'), "firstname"=>"Kieran", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3b3577353319845f0000", "product_id"=>"53df3b3577353319845e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319845e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.5ms) Completed 200 OK in 31ms (Views: 29.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984600000'), "name"=>"Lane Daniel", "reference"=>"Lamont Windler", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984610000'), "firstname"=>"Gonzalo", "lastname"=>"Torphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9271ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3b357735331984600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.8ms) Completed 200 OK in 40ms (Views: 38.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984620000'), "name"=>"Jeromy Williamson", "reference"=>"Amira Kreiger", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984630000'), "firstname"=>"Adrienne", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3b357735331984630000", "product_id"=>"53df3b357735331984620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984640000'), "name"=>"Donavon Kessler", "reference"=>"Minnie Stark", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3b357735331984650000'), "firstname"=>"Ryleigh", "lastname"=>"Sporer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3b357735331984650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b357735331984640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Unpermitted parameters: name Redirected to http://test.host/products/53df3b357735331984640000/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('53df3b357735331984660000'), "name"=>"Emmet Moen", "reference"=>"Mrs. Delia Hills", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2132ms 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('53df3b357735331984670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Redirected to http://test.host/products/53df3b357735331984670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2015ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984680000'), "name"=>"Maximillian Gulgowski", "reference"=>"Francisco Sanford", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.2021ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3b357735331984680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984680000')} 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('53df3b357735331984680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms 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.2190ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984690000'), "name"=>"Isabella Bayer", "reference"=>"Carlotta Metz", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3b357735331984690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319846a0000'), "name"=>"Miss Lysanne Armstrong", "reference"=>"Mrs. Berniece Koepp", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms 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.6274ms Completed 200 OK in 19ms (Views: 18.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319846b0000'), "name"=>"Amanda Murray", "reference"=>"Nikko Stroman", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms 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.6115ms 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('53df3b3577353319846c0000'), "name"=>"Cathrine Wiza III", "reference"=>"Isabella Veum", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3b3577353319846c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319846c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms Completed 200 OK in 1ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319846d0000'), "name"=>"Ms. Nettie O'Reilly", "reference"=>"Miss Gennaro Ziemann", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319846f0000'), "name"=>"Zakary Rutherford V", "reference"=>"Mr. Elyssa Kutch", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3b3577353319846f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319846f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984700000'), "name"=>"Nils Raynor", "reference"=>"Shannon Fay DVM", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms 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('53df3b357735331984710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2044ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984720000'), "name"=>"George Ortiz", "reference"=>"Paris Lehner", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3b357735331984720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms 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('53df3b357735331984730000'), "name"=>"Miss Nikki Bashirian", "reference"=>"Mr. Lucy Abbott", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms 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('53df3b357735331984750000'), "name"=>"Miss Joesph Bauch", "reference"=>"Kailyn Collier", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b357735331984750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984750000')} 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('53df3b357735331984760000'), "name"=>"Jamar Larson", "reference"=>"Haylie Gorczany", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b357735331984760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Redirected to http://test.host/products/53df3b357735331984760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984790000'), "name"=>"Tamia Schulist", "reference"=>"Zachary Ondricka", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984770000'), "author_name"=>"Chet Boyle", "content"=>["Accusantium repellat tenetur et qui doloremque. Quod accusamus quibusdam pariatur dolorum tenetur fugit. Nemo ab aut cumque dolores optio."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984780000'), "author_name"=>"Ms. Adele Waters", "content"=>["Aut tenetur aut et ut enim. Non voluptatem praesentium qui. Sint et quo at. Qui soluta nam laudantium ut ipsa velit ex."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b357735331984790000", "comment_id"=>"53df3b357735331984770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984790000')} 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('53df3b357735331984790000'), "comments._id"=>BSON::ObjectId('53df3b357735331984770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b3577353319847a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms Redirected to http://test.host/products/53df3b357735331984790000/comments/53df3b357735331984770000/comments/53df3b3577353319847a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319847d0000'), "name"=>"Dr. Clare Russel", "reference"=>"Leanne Kuphal MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319847b0000'), "author_name"=>"Haven Funk", "content"=>["Placeat rerum id quo. Optio aut libero enim id dicta id hic. Exercitationem qui est qui. Ullam veniam laborum ipsam."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319847c0000'), "author_name"=>"Dr. Karianne Pacocha", "content"=>["Quo voluptatibus id nobis. Eveniet culpa non rerum iure aut aut quod. Hic nihil laboriosam ipsa. Nam error voluptas sint. Incidunt voluptatum eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319847d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1861ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b3577353319847d0000", "comment_id"=>"53df3b3577353319847b0000", "id"=>"53df3b3577353319847c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319847d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319847d0000'), "comments._id"=>BSON::ObjectId('53df3b3577353319847b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b3577353319847c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Redirected to http://test.host/products/53df3b3577353319847d0000/comments/53df3b3577353319847b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319847d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984800000'), "name"=>"Zita Witting II", "reference"=>"Kimberly Bogisich", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319847e0000'), "author_name"=>"Kiana Gaylord", "content"=>["Blanditiis et at natus. Similique natus quia occaecati saepe ut. Quis aut quos."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319847f0000'), "author_name"=>"Mary DuBuque Jr.", "content"=>["Cumque aut animi nihil pariatur. Officiis soluta id quaerat in. Ad occaecati quam debitis voluptatem suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3b357735331984800000", "comment_id"=>"53df3b3577353319847e0000", "id"=>"53df3b3577353319847f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984830000'), "name"=>"Rasheed Konopelski", "reference"=>"Al Bergstrom", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984810000'), "author_name"=>"Joesph Schulist DDS", "content"=>["Ad et quaerat suscipit. Molestiae at sunt ratione repellat. Debitis laboriosam tenetur quod architecto. Ex quaerat possimus eius. Assumenda quo dolor aliquam provident rerum vero."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984820000'), "author_name"=>"Ambrose Emmerich", "content"=>["Sunt eaque blanditiis accusantium id tempora. Fugit non eos. Labore consequatur enim omnis et rerum eum. Aut odio non. Numquam consequatur aspernatur veniam qui laborum nesciunt praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3b357735331984830000", "comment_id"=>"53df3b357735331984810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984860000'), "name"=>"Paolo Langosh MD", "reference"=>"Glennie Runolfsdottir PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984840000'), "author_name"=>"Kira Hane", "content"=>["Delectus voluptatem nihil impedit. Cumque quia quod quae molestiae quasi saepe inventore. Blanditiis odit reiciendis quibusdam ut vel aut. Porro cupiditate dolorem voluptates totam cumque minus nulla."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984850000'), "author_name"=>"Erich Pacocha", "content"=>["Cupiditate deleniti placeat. Occaecati in ipsam. Vel cupiditate voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3b357735331984860000", "comment_id"=>"53df3b357735331984840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984890000'), "name"=>"Alejandra Runte", "reference"=>"Asha Haley", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984870000'), "author_name"=>"Jewell Little", "content"=>["Ut ea voluptatibus quo labore at quia. Dolores et omnis explicabo molestiae. Quasi quidem ipsum dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984880000'), "author_name"=>"Chloe Feeney II", "content"=>["Quasi et suscipit quas libero quos. Ea alias et excepturi ut. Rerum non eaque vero animi saepe ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3b357735331984890000", "comment_id"=>"53df3b357735331984870000", "id"=>"53df3b357735331984880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319848c0000'), "name"=>"Jada Powlowski MD", "reference"=>"Alice Raynor", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319848a0000'), "author_name"=>"Taya Tillman", "content"=>["Odio magni a est sit commodi dolorem ipsam. Maxime libero quam eveniet in laboriosam inventore. Ipsa asperiores ad. Eveniet et dolores sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319848b0000'), "author_name"=>"Jany Reichel", "content"=>["Provident nihil mollitia nihil beatae atque voluptatem et. Officiis autem ut sequi at aut. Animi porro ipsa et sapiente fugiat. Quam architecto dolores totam molestiae. Hic placeat qui qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3b3577353319848c0000", "comment_id"=>"53df3b3577353319848a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319848c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b3577353319848f0000'), "name"=>"Vella Smitham", "reference"=>"Ward Kilback", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319848d0000'), "author_name"=>"Dr. Guillermo Lindgren", "content"=>["Quod laborum sunt velit id qui. Quibusdam facilis ullam quia et voluptatum. Voluptas laborum totam dolor."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b3577353319848e0000'), "author_name"=>"Buster Beahan DVM", "content"=>["In iure omnis commodi eveniet. Ipsa molestiae voluptatem. Assumenda iste occaecati natus et maiores. Et eaque nulla veniam saepe libero rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3b3577353319848f0000", "comment_id"=>"53df3b3577353319848d0000", "id"=>"53df3b3577353319848e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b3577353319848f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b357735331984920000'), "name"=>"Charlotte Murphy", "reference"=>"Tyrese Larson", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984900000'), "author_name"=>"Randall Macejkovic", "content"=>["Aut quam aut provident sed enim sequi et. Necessitatibus alias consectetur. Nam qui repellendus veniam ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b357735331984910000'), "author_name"=>"Ada Robel I", "content"=>["Saepe fugiat et dolores voluptatem tempora est. Consectetur sit voluptatem ad accusamus et. Qui rerum eveniet. Ad nulla cumque explicabo dolorum fuga doloribus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b357735331984910000", "product_id"=>"53df3b357735331984920000", "comment_id"=>"53df3b357735331984900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b357735331984920000'), "comments._id"=>BSON::ObjectId('53df3b357735331984900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3b357735331984910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms Redirected to http://test.host/products/53df3b357735331984920000/comments/53df3b357735331984900000/comments/53df3b357735331984910000 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('53df3b357735331984930000'), "firstname"=>"Misael", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1468ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2152ms 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('53df3b357735331984940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms Redirected to http://test.host/users/53df3b357735331984940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2119ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b357735331984950000'), "firstname"=>"Florencio", "lastname"=>"Goldner"}] 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=>"admin_users", :query=>{}} runtime: 0.1670ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3b357735331984950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b357735331984950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b357735331984950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms 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.1369ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b357735331984960000'), "firstname"=>"Ellen", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3b357735331984960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b357735331984960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 31ms (Views: 30.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b357735331984970000'), "firstname"=>"Liliana", "lastname"=>"Reynolds"}] 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.3230ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b367735331984980000'), "firstname"=>"Archibald", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b367735331984990000'), "firstname"=>"Elroy", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3b367735331984990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b367735331984990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms 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('53df3b3677353319849a0000'), "firstname"=>"Jakayla", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b3677353319849a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b3677353319849a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Unpermitted parameters: name Redirected to http://test.host/users/53df3b3677353319849a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms 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.3656ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms 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.4275ms 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.4102ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea000000'), "firstname"=>"Karlee", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1949ms 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('53df3b4077353319ea010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms 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.1627ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea020000'), "firstname"=>"Freddie", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 49ms (Views: 48.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea030000'), "firstname"=>"Lyda", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea040000'), "firstname"=>"Dagmar", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3b4077353319ea040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea050000'), "firstname"=>"Gunnar", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3b4077353319ea050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms 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('53df3b4077353319ea060000'), "name"=>"Ms. Ramona Cartwright", "reference"=>"Arielle Maggio", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea070000'), "author_name"=>"Genoveva O'Connell", "content"=>["Voluptas sunt ut nisi ea. Dignissimos assumenda molestiae possimus exercitationem placeat et consequatur. Voluptas molestias modi quia odit sunt repudiandae neque. Error quibusdam voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b4077353319ea060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea060000')} 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('53df3b4077353319ea060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Redirected to http://test.host/admin/products/53df3b4077353319ea060000/comments/53df3b4077353319ea080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea090000'), "name"=>"Dasia O'Keefe Jr.", "reference"=>"Blair Stanton", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea0a0000'), "author_name"=>"Edmund Sanford", "content"=>["Cumque tempora suscipit. Porro quibusdam molestiae et inventore quia aut. Aliquam est non ut corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b4077353319ea090000", "id"=>"53df3b4077353319ea0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea090000')} 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('53df3b4077353319ea090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms Redirected to http://test.host/admin/products/53df3b4077353319ea090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea0b0000'), "name"=>"Esperanza Feest", "reference"=>"Miss Jose Reichel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea0c0000'), "author_name"=>"Frankie Gibson IV", "content"=>["Natus sequi minima reprehenderit dignissimos. Incidunt enim harum. Quia molestias odio debitis et. Voluptate voluptatem aut autem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b4077353319ea0b0000", "id"=>"53df3b4077353319ea0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea0d0000'), "name"=>"Emile Beer", "reference"=>"Mrs. Arnulfo Huel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea0e0000'), "author_name"=>"Howell Gerlach Jr.", "content"=>["Ea doloremque ipsa velit est. Laudantium nemo ipsum quia. Eveniet voluptatem et accusantium voluptatum eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3b4077353319ea0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea0f0000'), "name"=>"Jonatan Terry", "reference"=>"Garnet Friesen", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea100000'), "author_name"=>"Dolores Hermann", "content"=>["Assumenda qui earum sed sed. Non ipsum cupiditate ipsam. Et beatae aut impedit. Asperiores et in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3b4077353319ea0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea0f0000')} 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.0ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea110000'), "name"=>"Maxie Abernathy Jr.", "reference"=>"Carissa Volkman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea120000'), "author_name"=>"Dino Vandervort", "content"=>["Dolorum dolor ut voluptatem minima libero laboriosam. Ut voluptatum recusandae sapiente sit est. Illum sed non voluptatum omnis perferendis voluptas. Dolor culpa earum aliquam quasi laudantium ipsa sit. Amet assumenda dignissimos ipsa enim vero corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3b4077353319ea110000", "id"=>"53df3b4077353319ea120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea130000'), "name"=>"Dr. Roger Kuhic", "reference"=>"Holly Gerhold", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea140000'), "author_name"=>"Roger Lebsack", "content"=>["Nihil quidem dolorem consequatur autem debitis quia. Beatae quis molestiae. Laborum iure harum voluptate aut voluptatem neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b4077353319ea140000", "product_id"=>"53df3b4077353319ea130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea130000')} 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('53df3b4077353319ea130000'), "comments._id"=>BSON::ObjectId('53df3b4077353319ea140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Redirected to http://test.host/admin/products/53df3b4077353319ea130000/comments/53df3b4077353319ea140000 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('53df3b4077353319ea150000'), "name"=>"Alessandra Jenkins", "reference"=>"Gerardo Raynor", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea160000'), "firstname"=>"Theo", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b4077353319ea150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3704ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms Redirected to http://test.host/admin/products/53df3b4077353319ea150000/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('53df3b4077353319ea180000'), "name"=>"Dedrick Robel II", "reference"=>"Trey Toy", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea190000'), "firstname"=>"Marilie", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea190000", "product_id"=>"53df3b4077353319ea180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea1a0000'), "name"=>"Cathrine Little", "reference"=>"Sidney Erdman", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea1b0000'), "firstname"=>"Owen", "lastname"=>"Effertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3b4077353319ea1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea1c0000'), "name"=>"Pearline Abbott", "reference"=>"Cordia Daugherty", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea1d0000'), "firstname"=>"Clyde", "lastname"=>"Purdy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3b4077353319ea1d0000", "product_id"=>"53df3b4077353319ea1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea1e0000'), "name"=>"Sidney Jacobson", "reference"=>"Assunta Terry", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea1f0000'), "firstname"=>"Owen", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3b4077353319ea1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b4077353319ea1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3b4077353319ea1e0000/manager 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('53df3b4077353319ea200000'), "name"=>"Mozelle Langosh", "reference"=>"Jalyn Bruen", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1591ms 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('53df3b4077353319ea210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms Redirected to http://test.host/admin/products/53df3b4077353319ea210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1927ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea220000'), "name"=>"Fleta Wiza DDS", "reference"=>"Isabell Olson MD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1761ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3b4077353319ea220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea220000')} 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('53df3b4077353319ea220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms 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.1751ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea230000'), "name"=>"Lyda Schulist", "reference"=>"Leatha Runolfsson MD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 39ms (Views: 37.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea240000'), "name"=>"Araceli Schuppe", "reference"=>"Clinton Reynolds Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms 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.5251ms Completed 200 OK in 11ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea250000'), "name"=>"Jared Stoltenberg", "reference"=>"Garfield Bailey", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea280000'), "name"=>"Davon Reilly", "reference"=>"Reta Upton DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3b4077353319ea280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms 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('53df3b4077353319ea290000'), "name"=>"Tremaine Feest", "reference"=>"Leo Klein MD", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b4077353319ea290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Redirected to http://test.host/admin/products/53df3b4077353319ea290000 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('53df3b4077353319ea2a0000'), "firstname"=>"Evangeline", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1347ms 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('53df3b4077353319ea2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Redirected to http://test.host/admin/users/53df3b4077353319ea2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1571ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea2c0000'), "firstname"=>"Pauline", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1660ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3b4077353319ea2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4077353319ea2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4077353319ea2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms 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.1675ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea2d0000'), "firstname"=>"Cecelia", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4077353319ea2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms 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('53df3b4077353319ea2e0000'), "firstname"=>"Jude", "lastname"=>"Champlin"}] 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.2894ms 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('53df3b4077353319ea2f0000'), "firstname"=>"Raphaelle", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea300000'), "firstname"=>"Laurel", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3b4077353319ea300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4077353319ea300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea310000'), "firstname"=>"Verdie", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b4077353319ea310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4077353319ea310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3b4077353319ea310000 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('53df3b4077353319ea320000'), "firstname"=>"Andres", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1906ms 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('53df3b4077353319ea330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms 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.1886ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea340000'), "firstname"=>"Sabrina", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 39ms (Views: 37.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea350000'), "firstname"=>"Irwin", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea360000'), "firstname"=>"Emilio", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3b4077353319ea360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea370000'), "firstname"=>"Clarissa", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3b4077353319ea370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b4077353319ea370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms 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('53df3b4077353319ea380000'), "name"=>"Zoie Hilll", "reference"=>"Oral Armstrong", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea390000'), "author_name"=>"Elna Osinski", "content"=>["Aliquam fuga qui sint minima iusto. Perferendis reiciendis sequi dolore aperiam incidunt cum consectetur. Tempora sit quo deserunt accusamus commodi autem eaque. Officiis delectus id reprehenderit dolores neque nihil odit. Suscipit praesentium nam quae et repudiandae et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b4077353319ea380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea380000')} 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('53df3b4077353319ea380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/products/53df3b4077353319ea380000/comments/53df3b4077353319ea3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea3b0000'), "name"=>"Horacio D'Amore", "reference"=>"Thelma Hamill", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea3c0000'), "author_name"=>"Jamil Altenwerth", "content"=>["Voluptatem eos corrupti ut perspiciatis iusto sed aut. Nihil sunt corporis. A nisi quia corrupti. Earum incidunt voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b4077353319ea3b0000", "id"=>"53df3b4077353319ea3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms Redirected to http://test.host/products/53df3b4077353319ea3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea3d0000'), "name"=>"Susanna Wyman", "reference"=>"Liana Lang PhD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea3e0000'), "author_name"=>"Cecile Hermiston", "content"=>["Eligendi voluptas officiis soluta sed dolor aspernatur. Deleniti error eveniet. Perferendis suscipit tenetur sequi rerum. Repudiandae nisi et. Autem aperiam dolorem voluptas vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b4077353319ea3d0000", "id"=>"53df3b4077353319ea3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea3f0000'), "name"=>"Kane Casper", "reference"=>"Jermey Ratke", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea400000'), "author_name"=>"Douglas Batz", "content"=>["Occaecati ipsum itaque sapiente similique. Modi id corporis autem nemo atque voluptatibus. Omnis adipisci nulla molestias velit est quia. Corrupti unde ab quia ea quidem id tenetur. Et cum atque labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3b4077353319ea3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea410000'), "name"=>"Chad Kemmer", "reference"=>"Holly Nitzsche", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea420000'), "author_name"=>"Orlando Ortiz", "content"=>["Provident inventore eum corrupti dignissimos qui repellendus nulla. Rem sapiente quaerat dolorem. Omnis sunt voluptatem totam. Aut labore consequatur eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3b4077353319ea410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea430000'), "name"=>"Melyna Grant", "reference"=>"Dan Keeling", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea440000'), "author_name"=>"Mr. Marianne Jerde", "content"=>["Ipsam quia sunt. Quia explicabo quae. Iusto asperiores nesciunt ducimus iste et. Vitae aut et molestias corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3b4077353319ea430000", "id"=>"53df3b4077353319ea440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea450000'), "name"=>"Quinton Pfannerstill PhD", "reference"=>"Tabitha Sanford", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea460000'), "author_name"=>"Camille Stracke", "content"=>["Laborum ad voluptate repudiandae. Tempore et cumque eos id ut. Voluptas et nesciunt et dolorum est quia. Consectetur ex deserunt odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3b4077353319ea450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea470000'), "name"=>"Gregoria Walsh", "reference"=>"Felipe Cruickshank", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea480000'), "author_name"=>"Icie Block", "content"=>["Ab eos qui. Qui aut hic repellat tenetur omnis. Quisquam libero voluptas voluptatem. Perferendis ut soluta ea tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7856ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3b4077353319ea470000", "id"=>"53df3b4077353319ea480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea490000'), "name"=>"Zane Kessler", "reference"=>"Autumn Yost", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4077353319ea4a0000'), "author_name"=>"Margarette Cassin", "content"=>["Similique accusamus non qui eum qui. Suscipit praesentium voluptatem dolorum sed. Ipsum et unde molestiae excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b4077353319ea4a0000", "product_id"=>"53df3b4077353319ea490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea490000')} 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('53df3b4077353319ea490000'), "comments._id"=>BSON::ObjectId('53df3b4077353319ea4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Redirected to http://test.host/products/53df3b4077353319ea490000/comments/53df3b4077353319ea4a0000 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('53df3b4077353319ea4b0000'), "firstname"=>"Caroline", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5327ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2623ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms Redirected to http://test.host/admin/clients/53df3b4077353319ea4c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2555ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea4d0000'), "firstname"=>"Jaunita", "lastname"=>"Crist"}] 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=>"clients", :query=>{}} runtime: 0.2245ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b4077353319ea4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea4d0000')} 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('53df3b4077353319ea4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms 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.1580ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea4e0000'), "firstname"=>"Dakota", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.1ms) Completed 200 OK in 40ms (Views: 39.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea4f0000'), "firstname"=>"Reanna", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms 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('53df3b4077353319ea500000'), "firstname"=>"Roderick", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea510000'), "firstname"=>"Trevor", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b4077353319ea510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms 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('53df3b4077353319ea520000'), "firstname"=>"Keely", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3b4077353319ea520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms Redirected to http://test.host/admin/clients/53df3b4077353319ea520000 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('53df3b4077353319ea530000'), "firstname"=>"Chaz", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms 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('53df3b4077353319ea540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms Redirected to http://test.host/clients/53df3b4077353319ea540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1753ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea550000'), "firstname"=>"Fausto", "lastname"=>"Koelpin"}] 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.1627ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b4077353319ea550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms 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.1540ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea560000'), "firstname"=>"Emmalee", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df3b4077353319ea570000'), "firstname"=>"Nicole", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms 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('53df3b4077353319ea580000'), "firstname"=>"Melany", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms 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('53df3b4077353319ea590000'), "firstname"=>"Rylan", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b4077353319ea590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms 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('53df3b4077353319ea5a0000'), "firstname"=>"Leonora", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3b4077353319ea5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Redirected to http://test.host/clients/53df3b4077353319ea5a0000 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('53df3b4077353319ea5b0000'), "name"=>"Dr. Noe Koss", "reference"=>"Shany Bogan", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea5c0000'), "firstname"=>"Bernadette", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b4077353319ea5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms Redirected to http://test.host/products/53df3b4077353319ea5b0000/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('53df3b4077353319ea5e0000'), "name"=>"Marianna Gutkowski", "reference"=>"Josh Denesik", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea5f0000'), "firstname"=>"Jaylin", "lastname"=>"Botsford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3b4077353319ea5f0000", "product_id"=>"53df3b4077353319ea5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.8ms) Completed 200 OK in 33ms (Views: 31.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4077353319ea600000'), "name"=>"Owen Kessler", "reference"=>"Frederic Macejkovic", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df3b4077353319ea610000'), "firstname"=>"Omari", "lastname"=>"Waelchi"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3b4077353319ea600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4077353319ea600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.5ms) Completed 200 OK in 40ms (Views: 38.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea620000'), "name"=>"Candace Purdy", "reference"=>"Jany Larson", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df3b4177353319ea630000'), "firstname"=>"Olaf", "lastname"=>"Thiel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3b4177353319ea630000", "product_id"=>"53df3b4177353319ea620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea640000'), "name"=>"Thaddeus Keeling", "reference"=>"Edward Kulas I", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3b4177353319ea650000'), "firstname"=>"Agustina", "lastname"=>"Haley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3b4177353319ea650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b4177353319ea640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Unpermitted parameters: name Redirected to http://test.host/products/53df3b4177353319ea640000/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('53df3b4177353319ea660000'), "name"=>"Leland Shanahan", "reference"=>"Eleonore Rippin", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1778ms 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('53df3b4177353319ea670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms Redirected to http://test.host/products/53df3b4177353319ea670000 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('53df3b4177353319ea680000'), "name"=>"Mr. Madeline Baumbach", "reference"=>"Gina Schimmel", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1549ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3b4177353319ea680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms 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.1631ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea690000'), "name"=>"Deven Haley", "reference"=>"Charlene Deckow", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3b4177353319ea690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) 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('53df3b4177353319ea6a0000'), "name"=>"Shayne Champlin", "reference"=>"Zakary Bradtke", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8359ms 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.6893ms Completed 200 OK in 20ms (Views: 19.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea6b0000'), "name"=>"Clare Kshlerin", "reference"=>"Mrs. Jammie Hettinger", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms 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.6391ms 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('53df3b4177353319ea6c0000'), "name"=>"Leta Little II", "reference"=>"Estefania Mitchell Jr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3b4177353319ea6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms 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('53df3b4177353319ea6d0000'), "name"=>"Ms. Camille Johnston", "reference"=>"Garrett Rau", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea6f0000'), "name"=>"Annamae Dietrich", "reference"=>"Issac Boyle", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3b4177353319ea6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea700000'), "name"=>"Godfrey Brakus", "reference"=>"Herminio Hand", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms 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('53df3b4177353319ea710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1519ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea720000'), "name"=>"Brando Schimmel", "reference"=>"Haylee Olson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3b4177353319ea720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea720000')} 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('53df3b4177353319ea720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms 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('53df3b4177353319ea730000'), "name"=>"Vada Becker Sr.", "reference"=>"Lori Ondricka", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms 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('53df3b4177353319ea750000'), "name"=>"Shea Kuhic", "reference"=>"Mr. Mackenzie Hane", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b4177353319ea750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms 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('53df3b4177353319ea760000'), "name"=>"Rosalia Nitzsche", "reference"=>"Mr. Tiffany Maggio", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b4177353319ea760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7059ms Redirected to http://test.host/products/53df3b4177353319ea760000 Completed 302 Found in 8ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea790000'), "name"=>"Corbin Rice", "reference"=>"Keanu Wisozk", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea770000'), "author_name"=>"Ralph Torphy", "content"=>["Accusamus sed commodi voluptas laudantium. Quasi nam sunt qui blanditiis sunt illo. Porro est impedit et deleniti aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea780000'), "author_name"=>"Murl Ratke", "content"=>["Dolorem saepe sit asperiores ea aspernatur dicta quos. Rem nobis ut ut quia. Fuga voluptates quo laborum amet officiis. Labore adipisci enim velit. Repellat consequuntur sed sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b4177353319ea790000", "comment_id"=>"53df3b4177353319ea770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea790000'), "comments._id"=>BSON::ObjectId('53df3b4177353319ea770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b4177353319ea7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Redirected to http://test.host/products/53df3b4177353319ea790000/comments/53df3b4177353319ea770000/comments/53df3b4177353319ea7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea7d0000'), "name"=>"Maiya Feeney", "reference"=>"Berneice Stroman III", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea7b0000'), "author_name"=>"Lenore Feeney", "content"=>["Sit ad placeat blanditiis nostrum adipisci et. Aut enim aut. Similique fugit quis non a repellat doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea7c0000'), "author_name"=>"Lyla Parisian", "content"=>["Incidunt ab repudiandae. Similique corrupti velit error perferendis repellat voluptatum. Exercitationem velit dolores ut suscipit occaecati. Necessitatibus pariatur veritatis voluptas dolorem ut sit distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b4177353319ea7d0000", "comment_id"=>"53df3b4177353319ea7b0000", "id"=>"53df3b4177353319ea7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea7d0000'), "comments._id"=>BSON::ObjectId('53df3b4177353319ea7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b4177353319ea7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Redirected to http://test.host/products/53df3b4177353319ea7d0000/comments/53df3b4177353319ea7b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea800000'), "name"=>"Viola Bergstrom", "reference"=>"Emelie Schiller Sr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea7e0000'), "author_name"=>"Arne Powlowski III", "content"=>["Nam aliquid doloribus. Eaque ut consequatur numquam omnis voluptatem mollitia. Qui quae omnis ipsa reprehenderit aut dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea7f0000'), "author_name"=>"Fred O'Kon", "content"=>["Autem maiores rerum ea dolor enim. Molestias et error omnis. Possimus veritatis et sint esse laborum. Qui ab voluptas distinctio rerum velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3b4177353319ea800000", "comment_id"=>"53df3b4177353319ea7e0000", "id"=>"53df3b4177353319ea7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea830000'), "name"=>"Clifford Terry", "reference"=>"Selmer Walker", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea810000'), "author_name"=>"Rowena Bernhard", "content"=>["Vero sint fuga sunt. Est id voluptatem fuga. Numquam eum officiis expedita autem sed. Pariatur ipsam perferendis animi quis dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea820000'), "author_name"=>"Coby Weber Sr.", "content"=>["Aut repellendus veritatis accusamus dignissimos et incidunt. Quam quia voluptate. Blanditiis quo eum adipisci. Voluptatem qui aut ea a. Est doloremque autem tempora est iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3b4177353319ea830000", "comment_id"=>"53df3b4177353319ea810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea860000'), "name"=>"Lupe Herman", "reference"=>"Ada Terry", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea840000'), "author_name"=>"Mrs. Breana Purdy", "content"=>["Corrupti molestiae asperiores est nihil impedit quia. Veniam ea dolores optio est beatae sunt maxime. Voluptatibus sint officia. Quasi delectus in odit nobis sit repellendus necessitatibus. Id similique debitis provident deserunt dignissimos et animi."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea850000'), "author_name"=>"Hillary Hintz", "content"=>["Amet ipsa voluptas enim. Qui accusantium praesentium quia quo quos eaque vel. Corrupti quod officiis deserunt. Suscipit aut ea et qui voluptatem enim. Dolorum ratione ipsa aut repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3b4177353319ea860000", "comment_id"=>"53df3b4177353319ea840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea890000'), "name"=>"Guadalupe Nolan", "reference"=>"Mckenzie Cummerata IV", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea870000'), "author_name"=>"Eliane Mante Sr.", "content"=>["Totam quo occaecati. Consectetur similique expedita voluptas qui itaque. Dicta eum beatae provident aut. Nesciunt assumenda rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea880000'), "author_name"=>"Miss Kurt Goldner", "content"=>["Sint provident ut delectus. Nulla magnam quia exercitationem odio corporis assumenda error. Odit consectetur aspernatur culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9115ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3b4177353319ea890000", "comment_id"=>"53df3b4177353319ea870000", "id"=>"53df3b4177353319ea880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea8c0000'), "name"=>"Clara Zieme I", "reference"=>"Breanna Walter DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea8a0000'), "author_name"=>"Lacy Dietrich", "content"=>["Ut architecto eligendi. Perferendis sunt velit asperiores. Saepe reprehenderit ipsa quae molestiae. Dicta ad praesentium neque. A modi dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea8b0000'), "author_name"=>"Vincenza Crooks", "content"=>["Voluptas et dolore labore quaerat iste cumque. Tempora et dicta est est. Deserunt consectetur debitis aut dignissimos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3b4177353319ea8c0000", "comment_id"=>"53df3b4177353319ea8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea8f0000'), "name"=>"Dr. Brandon Ebert", "reference"=>"Grace VonRueden", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea8d0000'), "author_name"=>"Mrs. Amelie Dicki", "content"=>["Nobis ratione nihil aut est odit. Aliquam commodi quo perspiciatis voluptate. Nesciunt placeat debitis repudiandae. Accusantium sed rerum quod dolorem consequatur. Placeat non est."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea8e0000'), "author_name"=>"Blanche Schneider", "content"=>["Qui rerum quaerat aut natus qui sunt eum. Ut est ut eum error. Quo autem soluta officiis. Qui cupiditate aut reiciendis quasi corrupti fugiat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3b4177353319ea8f0000", "comment_id"=>"53df3b4177353319ea8d0000", "id"=>"53df3b4177353319ea8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea920000'), "name"=>"Oswaldo Langworth", "reference"=>"Janelle Wehner", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea900000'), "author_name"=>"Mrs. Alexandre Maggio", "content"=>["Consequatur eius corrupti quis vel voluptas deleniti. Corrupti et quia cupiditate. Dolor consequatur eum necessitatibus perspiciatis sit. Corporis rerum sed recusandae excepturi quo."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b4177353319ea910000'), "author_name"=>"Ethelyn Wilderman", "content"=>["Suscipit recusandae reprehenderit accusantium. Porro sequi tempora enim distinctio omnis inventore ut. Non dolores vero et. Quia consectetur fugiat mollitia dolore sed. Quo consectetur sed occaecati laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b4177353319ea910000", "product_id"=>"53df3b4177353319ea920000", "comment_id"=>"53df3b4177353319ea900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b4177353319ea920000'), "comments._id"=>BSON::ObjectId('53df3b4177353319ea900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3b4177353319ea910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Redirected to http://test.host/products/53df3b4177353319ea920000/comments/53df3b4177353319ea900000/comments/53df3b4177353319ea910000 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('53df3b4177353319ea930000'), "firstname"=>"Walker", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2644ms 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('53df3b4177353319ea940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Redirected to http://test.host/users/53df3b4177353319ea940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1666ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea950000'), "firstname"=>"Moshe", "lastname"=>"Koss"}] 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=>"admin_users", :query=>{}} runtime: 0.2270ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3b4177353319ea950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4177353319ea950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4177353319ea950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms 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.2225ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea960000'), "firstname"=>"Freddie", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3b4177353319ea960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4177353319ea960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 32ms (Views: 31.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea970000'), "firstname"=>"Mortimer", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms 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.3550ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea980000'), "firstname"=>"Christopher", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4776ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b4177353319ea990000'), "firstname"=>"Remington", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3b4177353319ea990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4177353319ea990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms 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('53df3b4177353319ea9a0000'), "firstname"=>"Caroline", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b4177353319ea9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b4177353319ea9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms Unpermitted parameters: name Redirected to http://test.host/users/53df3b4177353319ea9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms 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.3391ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms 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.2754ms 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.2763ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d000000'), "firstname"=>"Carmela", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1690ms 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('53df3b477735331a4d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms 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.2165ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d020000'), "firstname"=>"Elisa", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 51ms (Views: 49.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d030000'), "firstname"=>"Ludie", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d040000'), "firstname"=>"Houston", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df3b477735331a4d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d050000'), "firstname"=>"Margaretta", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df3b477735331a4d050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms 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('53df3b477735331a4d060000'), "name"=>"Barbara Collier", "reference"=>"Kristian McKenzie", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d070000'), "author_name"=>"Ceasar Romaguera", "content"=>["Autem distinctio nesciunt natus sit. Esse quisquam nobis dolorem cumque animi. Ex sed at nobis harum. Magni quo atque perferendis labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b477735331a4d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Redirected to http://test.host/admin/products/53df3b477735331a4d060000/comments/53df3b477735331a4d080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d090000'), "name"=>"Davion Fahey", "reference"=>"Valentin Sauer", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d0a0000'), "author_name"=>"Eryn Roob", "content"=>["Unde et veniam recusandae. Magni id et rerum. Non aspernatur voluptate. Eveniet cupiditate ipsa consequatur voluptatem quas nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4072ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b477735331a4d090000", "id"=>"53df3b477735331a4d0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Redirected to http://test.host/admin/products/53df3b477735331a4d090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d0b0000'), "name"=>"Athena Rippin", "reference"=>"Randy McClure", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d0c0000'), "author_name"=>"Nora Grady", "content"=>["Placeat qui voluptates non voluptatem ea dolorum nulla. Asperiores sed voluptatem ut. Sed inventore non id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b477735331a4d0b0000", "id"=>"53df3b477735331a4d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d0d0000'), "name"=>"Mariam Schmidt", "reference"=>"Dustin Schmitt", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d0e0000'), "author_name"=>"Enola Cormier IV", "content"=>["Veniam facilis quia architecto est omnis. Consectetur quo quia. Perspiciatis in deleniti nesciunt aliquam sequi voluptatibus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df3b477735331a4d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3955ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d0f0000'), "name"=>"Miss Palma D'Amore", "reference"=>"Dortha Lindgren", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d100000'), "author_name"=>"Oleta Mills", "content"=>["Temporibus placeat incidunt cupiditate. Veritatis quas et. Adipisci sed tempora. Eos excepturi quia eum eveniet ducimus fugiat voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df3b477735331a4d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d110000'), "name"=>"Dr. Maida Bode", "reference"=>"Kenyon Dickinson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d120000'), "author_name"=>"Katrina Considine", "content"=>["Et rerum voluptatem dolores ad aspernatur tempore natus. Mollitia aut voluptatum tempore ipsum vitae consequatur omnis. Iusto voluptatem qui aut facilis sapiente nihil voluptate. Architecto pariatur repellat explicabo ut perspiciatis. Et magnam eum non animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df3b477735331a4d110000", "id"=>"53df3b477735331a4d120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d130000'), "name"=>"Jackie Jacobson", "reference"=>"Mrs. Jamie Schowalter", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d140000'), "author_name"=>"Celestino Parisian", "content"=>["Praesentium minima maxime ullam quis laborum nostrum. Commodi quam labore numquam dolores minus cum sit. Magni et consequatur veniam. Quis laboriosam voluptas ratione debitis qui consectetur. Provident deserunt excepturi maiores nemo laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b477735331a4d140000", "product_id"=>"53df3b477735331a4d130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d130000'), "comments._id"=>BSON::ObjectId('53df3b477735331a4d140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Redirected to http://test.host/admin/products/53df3b477735331a4d130000/comments/53df3b477735331a4d140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d150000'), "name"=>"Aleen Lockman", "reference"=>"Fausto Daugherty", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d160000'), "firstname"=>"Angelica", "lastname"=>"Bailey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b477735331a4d150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms Redirected to http://test.host/admin/products/53df3b477735331a4d150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d180000'), "name"=>"Jordon Sauer", "reference"=>"Flavio Feeney", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d190000'), "firstname"=>"Linda", "lastname"=>"Davis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d190000", "product_id"=>"53df3b477735331a4d180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d1a0000'), "name"=>"Albin Bernhard", "reference"=>"Damaris Gislason", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d1b0000'), "firstname"=>"Patsy", "lastname"=>"Conn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df3b477735331a4d1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d1c0000'), "name"=>"Ms. Tatum Rowe", "reference"=>"Mrs. Rae Hintz", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d1d0000'), "firstname"=>"Claud", "lastname"=>"Bahringer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df3b477735331a4d1d0000", "product_id"=>"53df3b477735331a4d1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d1e0000'), "name"=>"Albin Stanton", "reference"=>"Lydia Feest", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d1f0000'), "firstname"=>"Serenity", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df3b477735331a4d1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b477735331a4d1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df3b477735331a4d1e0000/manager 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('53df3b477735331a4d200000'), "name"=>"Claudia Hills", "reference"=>"Cassandra Kunde", "quantity"=>"1"}] 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.1545ms 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('53df3b477735331a4d210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2664ms Redirected to http://test.host/admin/products/53df3b477735331a4d210000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2639ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d220000'), "name"=>"Bo Pfeffer", "reference"=>"Neoma Baumbach PhD", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2447ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df3b477735331a4d220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms 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.2494ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d230000'), "name"=>"Mrs. Eloise Smitham", "reference"=>"Reina Kub", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 37ms (Views: 35.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d240000'), "name"=>"Nels Mills", "reference"=>"Eduardo Barrows", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms 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.4943ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d250000'), "name"=>"Karolann Hyatt IV", "reference"=>"Ernie Donnelly", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df3b477735331a4d280000'), "name"=>"Jon Lowe", "reference"=>"Maddison Luettgen", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4847ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df3b477735331a4d280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d290000'), "name"=>"Ms. Maeve Reynolds", "reference"=>"Rickie Graham III", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b477735331a4d290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Redirected to http://test.host/admin/products/53df3b477735331a4d290000 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('53df3b477735331a4d2a0000'), "firstname"=>"Arely", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1860ms 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('53df3b477735331a4d2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4225ms Redirected to http://test.host/admin/users/53df3b477735331a4d2b0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2497ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d2c0000'), "firstname"=>"Margaret", "lastname"=>"Veum"}] 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.1804ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df3b477735331a4d2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b477735331a4d2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b477735331a4d2c0000')} 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.1894ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d2d0000'), "firstname"=>"Franco", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b477735331a4d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d2e0000'), "firstname"=>"Odell", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms 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.3332ms 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('53df3b477735331a4d2f0000'), "firstname"=>"Genoveva", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms 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.2ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d300000'), "firstname"=>"Fletcher", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df3b477735331a4d300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b477735331a4d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d310000'), "firstname"=>"Richmond", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b477735331a4d310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b477735331a4d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df3b477735331a4d310000 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('53df3b477735331a4d320000'), "firstname"=>"Maribel", "lastname"=>"Johnston"}] 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=>"administrators", :query=>{}} runtime: 0.2017ms 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('53df3b477735331a4d330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms 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.1820ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d340000'), "firstname"=>"Cordie", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d340000')} 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.4ms) 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('53df3b477735331a4d350000'), "firstname"=>"Cicero", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d360000'), "firstname"=>"Derrick", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.1663ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df3b477735331a4d360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d370000'), "firstname"=>"Kamren", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df3b477735331a4d370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df3b477735331a4d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms 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('53df3b477735331a4d380000'), "name"=>"Germaine Kilback IV", "reference"=>"Mrs. Erna Lueilwitz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d390000'), "author_name"=>"Joyce Brakus II", "content"=>["Dolore et blanditiis assumenda. Nihil tenetur aut eligendi ipsum. Cumque aut sed ab ipsam veritatis. Quos atque dicta ut repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b477735331a4d380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d380000')} 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('53df3b477735331a4d380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d3a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Redirected to http://test.host/products/53df3b477735331a4d380000/comments/53df3b477735331a4d3a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d3b0000'), "name"=>"Kamren Schmeler V", "reference"=>"Ramona Smitham", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d3c0000'), "author_name"=>"Barbara Ryan", "content"=>["Voluptatibus ipsum omnis necessitatibus neque. Laboriosam temporibus saepe. Vel facilis impedit qui molestiae. Velit rerum non laudantium et reiciendis exercitationem. Enim non molestiae reiciendis veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b477735331a4d3b0000", "id"=>"53df3b477735331a4d3c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d3b0000')} 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('53df3b477735331a4d3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d3c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms Redirected to http://test.host/products/53df3b477735331a4d3b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d3d0000'), "name"=>"Stephen Blick", "reference"=>"Dandre Ledner", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d3e0000'), "author_name"=>"Sigrid Schoen", "content"=>["Neque et porro qui qui. Illum ab quis placeat. Fugit similique quas eius incidunt doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df3b477735331a4d3d0000", "id"=>"53df3b477735331a4d3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d3f0000'), "name"=>"Kristina Hahn", "reference"=>"Marvin Graham", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d400000'), "author_name"=>"Jarrell Osinski", "content"=>["Corrupti non veritatis. Dolor ipsam vel eos consequatur. Autem doloribus vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df3b477735331a4d3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d410000'), "name"=>"Eino McCullough", "reference"=>"Mr. Jamey Schoen", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d420000'), "author_name"=>"Jazlyn Becker II", "content"=>["Quibusdam explicabo enim beatae nostrum libero iste. Sed odio modi. Qui earum aliquid debitis autem eligendi. Porro quibusdam labore. Corporis qui consequatur tempora saepe beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df3b477735331a4d410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d430000'), "name"=>"Catharine Roberts", "reference"=>"Teresa Corkery MD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d440000'), "author_name"=>"Jairo Tromp V", "content"=>["Sint velit deleniti accusamus assumenda illo sit culpa. Deserunt ipsum a sed qui ut id dolor. Ut mollitia illo fuga vero. Sed iusto cumque harum quia quaerat molestiae autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df3b477735331a4d430000", "id"=>"53df3b477735331a4d440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d450000'), "name"=>"Columbus Champlin", "reference"=>"Amparo Rau", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d460000'), "author_name"=>"Marjorie Casper", "content"=>["Maxime numquam voluptate sint quibusdam aut nihil. Molestiae in omnis. Voluptates eaque facilis sequi sunt animi eius illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df3b477735331a4d450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d470000'), "name"=>"Maurice Carter I", "reference"=>"Jessie Nienow I", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d480000'), "author_name"=>"Jess Pacocha", "content"=>["Quo libero quam sed ratione. Et numquam ullam. Et adipisci quia ipsam et eius aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df3b477735331a4d470000", "id"=>"53df3b477735331a4d480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d490000'), "name"=>"Jaden Brakus", "reference"=>"Bernard Harber MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b477735331a4d4a0000'), "author_name"=>"Cicero Breitenberg", "content"=>["Rerum ut ut est ea repudiandae earum. Sed voluptates amet aut dicta nostrum asperiores. Quidem deserunt at ipsum nesciunt voluptatem dolorem nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b477735331a4d4a0000", "product_id"=>"53df3b477735331a4d490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d490000'), "comments._id"=>BSON::ObjectId('53df3b477735331a4d4a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Redirected to http://test.host/products/53df3b477735331a4d490000/comments/53df3b477735331a4d4a0000 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('53df3b477735331a4d4b0000'), "firstname"=>"Shawna", "lastname"=>"Jakubowski"}] 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=>"clients", :query=>{}} runtime: 0.1821ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d4c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms Redirected to http://test.host/admin/clients/53df3b477735331a4d4c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1525ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d4d0000'), "firstname"=>"Brooklyn", "lastname"=>"Sipes"}] 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.1520ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b477735331a4d4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d4d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms 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.1413ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d4e0000'), "firstname"=>"Abagail", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 38ms (Views: 37.3ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d4f0000'), "firstname"=>"Cloyd", "lastname"=>"Bartell"}] 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.2976ms 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('53df3b477735331a4d500000'), "firstname"=>"Mikayla", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d510000'), "firstname"=>"Delbert", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b477735331a4d510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d520000'), "firstname"=>"Jordyn", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3b477735331a4d520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms Redirected to http://test.host/admin/clients/53df3b477735331a4d520000 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('53df3b477735331a4d530000'), "firstname"=>"Freeman", "lastname"=>"Metz"}] 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.1414ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms Redirected to http://test.host/clients/53df3b477735331a4d540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1405ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d550000'), "firstname"=>"Shaun", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1282ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df3b477735331a4d550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms 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.1327ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d560000'), "firstname"=>"Warren", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms 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('53df3b477735331a4d570000'), "firstname"=>"Nathan", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5264ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms 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('53df3b477735331a4d580000'), "firstname"=>"Mae", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms 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('53df3b477735331a4d590000'), "firstname"=>"Estrella", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df3b477735331a4d590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms 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('53df3b477735331a4d5a0000'), "firstname"=>"Thelma", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df3b477735331a4d5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df3b477735331a4d5a0000')} 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('53df3b477735331a4d5a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Redirected to http://test.host/clients/53df3b477735331a4d5a0000 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('53df3b477735331a4d5b0000'), "name"=>"Bartholome Lynch II", "reference"=>"Mack Batz", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d5c0000'), "firstname"=>"Delphine", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df3b477735331a4d5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d5b0000')} 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('53df3b477735331a4d5b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d5b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d5d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Redirected to http://test.host/products/53df3b477735331a4d5b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d5e0000'), "name"=>"Bernadette Crooks", "reference"=>"Mrs. Ryleigh Brakus", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d5f0000'), "firstname"=>"Oleta", "lastname"=>"Block"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d5f0000", "product_id"=>"53df3b477735331a4d5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.8ms) Completed 200 OK in 32ms (Views: 29.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d600000'), "name"=>"Miss Roy Schmitt", "reference"=>"Payton Wiegand", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d610000'), "firstname"=>"Major", "lastname"=>"Morissette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5293ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df3b477735331a4d600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.8ms) Completed 200 OK in 39ms (Views: 36.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d620000'), "name"=>"Birdie Gibson", "reference"=>"Jameson Renner", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d630000'), "firstname"=>"Piper", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df3b477735331a4d630000", "product_id"=>"53df3b477735331a4d620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d640000'), "name"=>"Agustin Stehr", "reference"=>"Heloise Zieme", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df3b477735331a4d650000'), "firstname"=>"Uriah", "lastname"=>"Runte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df3b477735331a4d650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df3b477735331a4d640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Unpermitted parameters: name Redirected to http://test.host/products/53df3b477735331a4d640000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d660000'), "name"=>"Lelia Walter", "reference"=>"Abagail Cronin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1383ms 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('53df3b477735331a4d670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms Redirected to http://test.host/products/53df3b477735331a4d670000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1408ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d680000'), "name"=>"Mr. Shanie Graham", "reference"=>"Anika Flatley", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1272ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df3b477735331a4d680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms 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.1361ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d690000'), "name"=>"Evangeline Blanda PhD", "reference"=>"Jerrod Rippin", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df3b477735331a4d690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d6a0000'), "name"=>"Tristian Kemmer", "reference"=>"Miss Billie Gaylord", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms 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.6758ms Completed 200 OK in 18ms (Views: 17.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d6b0000'), "name"=>"Elaina Bradtke", "reference"=>"Brandi Hilll", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms 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.5837ms 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('53df3b477735331a4d6c0000'), "name"=>"Hank Bergstrom PhD", "reference"=>"Citlalli O'Conner", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df3b477735331a4d6c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms 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('53df3b477735331a4d6d0000'), "name"=>"Sandrine Daniel MD", "reference"=>"Keon Ondricka", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d6f0000'), "name"=>"Ms. Sonny McLaughlin", "reference"=>"Dino Wunsch", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df3b477735331a4d6f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b477735331a4d6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b477735331a4d700000'), "name"=>"Ashton Homenick", "reference"=>"Evert Nader", "quantity"=>"6"}] 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.1281ms 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('53df3b477735331a4d710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1565ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d720000'), "name"=>"Camron Schuppe", "reference"=>"Abel Torphy", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df3b487735331a4d720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms 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('53df3b487735331a4d730000'), "name"=>"Zita Daugherty", "reference"=>"Watson Ernser DVM", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms 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('53df3b487735331a4d750000'), "name"=>"Hadley Rath", "reference"=>"Meda Brekke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b487735331a4d750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms 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('53df3b487735331a4d760000'), "name"=>"Henri Crist", "reference"=>"Roselyn Sipes", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df3b487735331a4d760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Redirected to http://test.host/products/53df3b487735331a4d760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d790000'), "name"=>"Gabe Dare", "reference"=>"Sunny Toy II", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d770000'), "author_name"=>"Ms. Brayan Dickens", "content"=>["Deserunt facilis autem expedita et modi. Praesentium aut ea officiis. Molestias quis similique deleniti. Quibusdam id quis amet commodi est et distinctio."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d780000'), "author_name"=>"Miss Michale Kohler", "content"=>["Repudiandae nam rerum voluptatem aut. Aspernatur expedita atque et blanditiis doloribus suscipit. Facilis enim suscipit quaerat vero aut placeat qui. Omnis et corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df3b487735331a4d790000", "comment_id"=>"53df3b487735331a4d770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d790000'), "comments._id"=>BSON::ObjectId('53df3b487735331a4d770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b487735331a4d7a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Redirected to http://test.host/products/53df3b487735331a4d790000/comments/53df3b487735331a4d770000/comments/53df3b487735331a4d7a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d7d0000'), "name"=>"Vella Gaylord", "reference"=>"Zena Legros III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d7b0000'), "author_name"=>"Easter Treutel", "content"=>["Voluptatibus magni modi vitae id voluptatem ratione itaque. Et qui neque quia voluptatem rerum dolorum. Hic ducimus soluta omnis et ipsam. Aut similique nihil distinctio nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d7c0000'), "author_name"=>"Ike Hudson", "content"=>["Et id quis impedit explicabo. Nam modi quia. Voluptatibus non enim. Dolores modi temporibus quibusdam pariatur provident. Harum nihil minus quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df3b487735331a4d7d0000", "comment_id"=>"53df3b487735331a4d7b0000", "id"=>"53df3b487735331a4d7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d7d0000'), "comments._id"=>BSON::ObjectId('53df3b487735331a4d7b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df3b487735331a4d7c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Redirected to http://test.host/products/53df3b487735331a4d7d0000/comments/53df3b487735331a4d7b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d800000'), "name"=>"Mr. Gino Will", "reference"=>"Ulices Ryan", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d7e0000'), "author_name"=>"Matteo Upton II", "content"=>["Expedita est et voluptas. Cupiditate sit hic. Quae eligendi vel pariatur et voluptatem. Quia sit consequatur suscipit voluptates."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d7f0000'), "author_name"=>"Miss Gus Baumbach", "content"=>["Nihil natus eaque inventore molestias. Earum minima quia sapiente. Ut error aliquid omnis ad voluptatem rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df3b487735331a4d800000", "comment_id"=>"53df3b487735331a4d7e0000", "id"=>"53df3b487735331a4d7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d830000'), "name"=>"Brenden Casper", "reference"=>"Domingo Zemlak Sr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d810000'), "author_name"=>"Mr. Cali Larson", "content"=>["Sunt impedit debitis nam illo voluptatum quia praesentium. Minima voluptates et sed et qui. Expedita provident magnam mollitia. Consequatur nihil et molestiae sint aspernatur alias qui. Tenetur officiis accusantium ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d820000'), "author_name"=>"Alyce Gleichner", "content"=>["Rerum eius suscipit. Adipisci est temporibus ratione vitae fuga. Totam ut occaecati provident earum quos autem aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df3b487735331a4d830000", "comment_id"=>"53df3b487735331a4d810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d860000'), "name"=>"Maiya Welch", "reference"=>"Stanton Windler", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d840000'), "author_name"=>"Elda O'Connell", "content"=>["Eligendi voluptas qui qui quas voluptatibus adipisci iusto. Est ex ratione dolorum. Magnam amet aut debitis voluptatibus quae quia. Architecto alias incidunt. Corporis eius ab dolor sunt velit."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d850000'), "author_name"=>"Tamia Frami", "content"=>["Voluptates ut qui quae voluptatem. Quis sit est adipisci laboriosam veritatis. Omnis non in cumque quisquam similique neque. Modi consectetur eius omnis eligendi voluptatibus rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df3b487735331a4d860000", "comment_id"=>"53df3b487735331a4d840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d890000'), "name"=>"Matilda West DVM", "reference"=>"Elena Mayert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d870000'), "author_name"=>"Queen Kris", "content"=>["Nulla ullam ducimus voluptatem odit laboriosam dolores. Et repudiandae omnis. Doloribus facere enim rem harum suscipit quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d880000'), "author_name"=>"Guillermo Nitzsche Sr.", "content"=>["Sit aut iste. Illum reiciendis praesentium ipsa magni. Repellat amet quidem rem consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df3b487735331a4d890000", "comment_id"=>"53df3b487735331a4d870000", "id"=>"53df3b487735331a4d880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d8c0000'), "name"=>"Marian Farrell I", "reference"=>"Cary Weimann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d8a0000'), "author_name"=>"Orville Koelpin", "content"=>["Aut quis eos incidunt cum sint voluptas. Quidem quasi quis. Quasi occaecati voluptatem nam et ut eaque. Nostrum maiores voluptatibus labore consequatur est cum veniam. Id qui excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d8b0000'), "author_name"=>"Dana O'Conner III", "content"=>["Natus illo quod. Earum eum corrupti. Dolor ratione sit at nesciunt et animi. Magnam inventore dolor odit nihil labore vel ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df3b487735331a4d8c0000", "comment_id"=>"53df3b487735331a4d8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d8f0000'), "name"=>"Sage Ryan DVM", "reference"=>"Dustin Rice", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d8d0000'), "author_name"=>"Vladimir Nicolas", "content"=>["Tenetur ut soluta corrupti ut consequatur. Voluptatum aspernatur molestiae sunt doloremque. Quidem et exercitationem. Accusantium placeat dolores non omnis iusto voluptatum. Velit dolor voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d8e0000'), "author_name"=>"Shaylee Hills", "content"=>["Animi quia officiis dicta voluptas quia qui. Atque eaque qui rem delectus non. Ullam quidem consectetur fuga. Nihil atque id et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df3b487735331a4d8f0000", "comment_id"=>"53df3b487735331a4d8d0000", "id"=>"53df3b487735331a4d8e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d920000'), "name"=>"Dr. Marquise Crooks", "reference"=>"Joelle Gorczany V", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d900000'), "author_name"=>"Serena Hoeger", "content"=>["Aut aut quam tempore sed fugit dolores ipsam. Cupiditate et tempora voluptas voluptates qui. Accusamus maiores est et nesciunt autem eum esse. Velit voluptatem illo recusandae doloremque harum."], "comments"=>[{"_id"=>BSON::ObjectId('53df3b487735331a4d910000'), "author_name"=>"Jaquelin Kohler", "content"=>["Ipsa quis et. Praesentium deserunt minus quisquam provident vero blanditiis. Praesentium velit inventore dolore distinctio architecto voluptatem dolor. Quisquam distinctio assumenda mollitia qui repudiandae ad aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df3b487735331a4d910000", "product_id"=>"53df3b487735331a4d920000", "comment_id"=>"53df3b487735331a4d900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df3b487735331a4d920000'), "comments._id"=>BSON::ObjectId('53df3b487735331a4d900000'), "comments.0.comments._id"=>BSON::ObjectId('53df3b487735331a4d910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Redirected to http://test.host/products/53df3b487735331a4d920000/comments/53df3b487735331a4d900000/comments/53df3b487735331a4d910000 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('53df3b487735331a4d930000'), "firstname"=>"Lindsay", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms 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('53df3b487735331a4d940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms Redirected to http://test.host/users/53df3b487735331a4d940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1550ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d950000'), "firstname"=>"Demond", "lastname"=>"Swift"}] 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=>"admin_users", :query=>{}} runtime: 0.1447ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df3b487735331a4d950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b487735331a4d950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b487735331a4d950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms 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.1415ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d960000'), "firstname"=>"Ola", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df3b487735331a4d960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b487735331a4d960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.4ms) Completed 200 OK in 31ms (Views: 29.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d970000'), "firstname"=>"Michel", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms 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.3028ms Completed 200 OK in 9ms (Views: 8.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d980000'), "firstname"=>"Beverly", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d990000'), "firstname"=>"Precious", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df3b487735331a4d990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b487735331a4d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Completed 200 OK in 3ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df3b487735331a4d9a0000'), "firstname"=>"Jedidiah", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df3b487735331a4d9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df3b487735331a4d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms Unpermitted parameters: name Redirected to http://test.host/users/53df3b487735331a4d9a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5524ms 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.5404ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8123ms 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.5088ms 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.5358ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434000000'), "firstname"=>"Norene", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5473ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2835ms 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('53df42cc7735330434010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms 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.3466ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434020000'), "firstname"=>"Issac", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df42cc7735330434020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cc7735330434020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.4ms) Completed 200 OK in 133ms (Views: 131.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434030000'), "firstname"=>"Thora", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434040000'), "firstname"=>"Brandt", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df42cc7735330434040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cc7735330434040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434050000'), "firstname"=>"Nikko", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.3243ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df42cc7735330434050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cc7735330434050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms 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('53df42cc7735330434060000'), "name"=>"Miss Shyanne Zulauf", "reference"=>"Mr. Vivienne Thiel", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc7735330434070000'), "author_name"=>"Keira Padberg", "content"=>["Ad et maxime culpa aspernatur. Non aut et id. Sit sint voluptate. Quia non laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df42cc7735330434060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df42cc7735330434080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Redirected to http://test.host/admin/products/53df42cc7735330434060000/comments/53df42cc7735330434080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434090000'), "name"=>"Raymundo Gusikowski", "reference"=>"Dorothea Turcotte", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc77353304340a0000'), "author_name"=>"Chet Zieme", "content"=>["Ut voluptates culpa laudantium. Sed aut est officiis laborum atque corporis. Ea dolore omnis aut aut qui et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df42cc7735330434090000", "id"=>"53df42cc77353304340a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df42cc77353304340a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Redirected to http://test.host/admin/products/53df42cc7735330434090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc77353304340b0000'), "name"=>"Evans Lowe", "reference"=>"Louvenia Cremin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc77353304340c0000'), "author_name"=>"Rachelle Lemke", "content"=>["Molestiae quaerat quos architecto ratione repudiandae nostrum. Et et quos inventore. Modi consequatur omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df42cc77353304340b0000", "id"=>"53df42cc77353304340c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304340b0000')} 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.1ms) Completed 200 OK in 9ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc77353304340d0000'), "name"=>"Santina Botsford", "reference"=>"Allison Koch", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc77353304340e0000'), "author_name"=>"Nyah Reilly", "content"=>["Et molestiae cum. Sed et ipsum assumenda eos quis atque id. Animi autem aspernatur. Nemo perspiciatis quibusdam inventore odit. Modi consequuntur rerum qui perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1490ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df42cc77353304340d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304340d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc77353304340f0000'), "name"=>"Margarita Mann", "reference"=>"Shanna Haag", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc7735330434100000'), "author_name"=>"Kian Boehm", "content"=>["Ad accusamus molestiae deserunt. Repellendus impedit iste facere ut. Quo dolores sunt iusto molestiae. Hic nemo et quis iste. In molestiae consequatur quos aut et quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df42cc77353304340f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304340f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434110000'), "name"=>"Tevin Casper II", "reference"=>"Mohammed Koch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc7735330434120000'), "author_name"=>"Lauriane Lind IV", "content"=>["Reiciendis libero quia similique. Aliquid et dicta molestiae sint cum. Eos dolorum possimus in quasi rerum voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df42cc7735330434110000", "id"=>"53df42cc7735330434120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434130000'), "name"=>"Nigel Monahan", "reference"=>"Providenci Bode", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df42cc7735330434140000'), "author_name"=>"Reba Hintz", "content"=>["Asperiores impedit illo. Sed blanditiis deserunt. Ratione ut quia est. Dolorem dolores repellendus. Animi quis nihil odit ipsam sed ad."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df42cc7735330434140000", "product_id"=>"53df42cc7735330434130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434130000'), "comments._id"=>BSON::ObjectId('53df42cc7735330434140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Redirected to http://test.host/admin/products/53df42cc7735330434130000/comments/53df42cc7735330434140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434150000'), "name"=>"Mr. Rahsaan Pouros", "reference"=>"Brendan Cole", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df42cc7735330434160000'), "firstname"=>"Jenifer", "lastname"=>"Ortiz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df42cc7735330434150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5925ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df42cc7735330434170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5799ms Redirected to http://test.host/admin/products/53df42cc7735330434150000/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('53df42cc7735330434180000'), "name"=>"Cara Littel", "reference"=>"Miss Agustina Feest", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df42cc7735330434190000'), "firstname"=>"Kevin", "lastname"=>"Dicki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df42cc7735330434190000", "product_id"=>"53df42cc7735330434180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3659ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('53df42cc77353304341a0000'), "name"=>"Marcelina Hilpert", "reference"=>"Laurie Kessler", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df42cc77353304341b0000'), "firstname"=>"Shaniya", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df42cc77353304341a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304341a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) 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('53df42cc77353304341c0000'), "name"=>"Jay Bernhard", "reference"=>"Maximillia Steuber MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df42cc77353304341d0000'), "firstname"=>"Geovanny", "lastname"=>"Jakubowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df42cc77353304341d0000", "product_id"=>"53df42cc77353304341c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304341c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4087ms Completed 200 OK in 7ms (Views: 3.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc77353304341e0000'), "name"=>"Augustine Kuhlman", "reference"=>"Hosea McKenzie", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df42cc77353304341f0000'), "firstname"=>"Murl", "lastname"=>"Turner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5473ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df42cc77353304341f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df42cc77353304341e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc77353304341e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df42cc77353304341e0000/manager Completed 302 Found in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434200000'), "name"=>"Constantin Parker", "reference"=>"Jaida Stoltenberg I", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2950ms 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('53df42cc7735330434210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Redirected to http://test.host/admin/products/53df42cc7735330434210000 Completed 302 Found in 3ms 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('53df42cc7735330434220000'), "name"=>"Yoshiko Schaefer MD", "reference"=>"Danika Reilly DVM", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.1739ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df42cc7735330434220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3949ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms 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.1702ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434230000'), "name"=>"Wava Johnson", "reference"=>"Hudson Koss", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df42cc7735330434230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8518ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 49ms (Views: 45.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434240000'), "name"=>"Halle O'Reilly", "reference"=>"Lilly Rodriguez IV", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms 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.5125ms Completed 200 OK in 12ms (Views: 11.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434250000'), "name"=>"Ally Dietrich Sr.", "reference"=>"Miss Shanny Schmeler", "quantity"=>"1"}] 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.4ms) Completed 200 OK in 19ms (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('53df42cc7735330434280000'), "name"=>"Aylin Franecki", "reference"=>"Ms. Norberto Wilkinson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df42cc7735330434280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms 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('53df42cc7735330434290000'), "name"=>"Camron Rath PhD", "reference"=>"Estell Bosco II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df42cc7735330434290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cc7735330434290000')} 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('53df42cc7735330434290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/admin/products/53df42cc7735330434290000 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('53df42cc77353304342a0000'), "firstname"=>"Emery", "lastname"=>"Reilly"}] 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=>"admin_users", :query=>{}} runtime: 0.1741ms 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('53df42cc77353304342b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Redirected to http://test.host/admin/users/53df42cc77353304342b0000 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('53df42cc77353304342c0000'), "firstname"=>"Abigale", "lastname"=>"Krajcik"}] 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.1811ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df42cc77353304342c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cc77353304342c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cc77353304342c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms 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.2122ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cc77353304342d0000'), "firstname"=>"Baylee", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df42cc77353304342d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cc77353304342d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cc77353304342e0000'), "firstname"=>"Carey", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms 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.4261ms Completed 200 OK in 6ms (Views: 5.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cc77353304342f0000'), "firstname"=>"Angelica", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms 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: 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('53df42cc7735330434300000'), "firstname"=>"Bella", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df42cc7735330434300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cc7735330434300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cc7735330434310000'), "firstname"=>"Ayden", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df42cc7735330434310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cc7735330434310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df42cc7735330434310000 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('53df42cd7735330434320000'), "firstname"=>"Linnea", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1610ms 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('53df42cd7735330434330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5812ms 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.2621ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434340000'), "firstname"=>"Ayden", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df42cd7735330434340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cd7735330434340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 42ms (Views: 40.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434350000'), "firstname"=>"Morgan", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms 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.2ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434360000'), "firstname"=>"Brenna", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df42cd7735330434360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cd7735330434360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434370000'), "firstname"=>"Jazmyn", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df42cd7735330434370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df42cd7735330434370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434380000'), "name"=>"Leo Nader", "reference"=>"Mrs. Tracy Jacobi", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434390000'), "author_name"=>"Myrna Purdy", "content"=>["Id reprehenderit ducimus voluptatibus dolorem tempora quibusdam. Facere ut corporis quaerat minus numquam vitae exercitationem. Voluptatem molestias quis. Impedit modi repellendus reprehenderit saepe. Ut voluptas minus quam autem velit sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df42cd7735330434380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434380000')} 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('53df42cd7735330434380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df42cd77353304343a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Redirected to http://test.host/products/53df42cd7735330434380000/comments/53df42cd77353304343a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304343b0000'), "name"=>"Larue Stamm", "reference"=>"Boyd Murazik", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304343c0000'), "author_name"=>"Nikolas Gislason", "content"=>["Est rerum facere sit id vero voluptatem. Natus et iure aut ea ducimus. Sed ut nisi quod eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df42cd77353304343b0000", "id"=>"53df42cd77353304343c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df42cd77353304343c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Redirected to http://test.host/products/53df42cd77353304343b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304343d0000'), "name"=>"Vergie Waelchi", "reference"=>"Tina Block", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304343e0000'), "author_name"=>"Torey Olson III", "content"=>["Aut qui cum quisquam necessitatibus. Reiciendis distinctio sunt assumenda aut et eos. Inventore facilis ducimus. Amet blanditiis magni vitae est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df42cd77353304343d0000", "id"=>"53df42cd77353304343e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3801ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304343f0000'), "name"=>"Keara Schneider", "reference"=>"Meagan Walsh", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434400000'), "author_name"=>"Aniyah Hessel", "content"=>["Est natus rem aperiam doloremque animi. Et eos unde eum provident. Sequi magni corrupti reiciendis voluptas ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df42cd77353304343f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304343f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434410000'), "name"=>"Loren Anderson", "reference"=>"Isabel Lehner", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434420000'), "author_name"=>"Ole Haley Sr.", "content"=>["Magnam omnis explicabo molestiae pariatur fugit minima repellendus. Voluptatem corrupti eveniet quo deserunt similique architecto rerum. Ut inventore nesciunt quibusdam. Sunt mollitia expedita labore hic impedit. Blanditiis et voluptatem non eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df42cd7735330434410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434430000'), "name"=>"Floyd White", "reference"=>"Adan Ernser", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434440000'), "author_name"=>"Leatha Batz", "content"=>["Harum sed quia error sint necessitatibus voluptate. Nobis voluptatibus non et eos sed ducimus et. Quas voluptatem dolorum et totam. Aperiam blanditiis omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df42cd7735330434430000", "id"=>"53df42cd7735330434440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434450000'), "name"=>"Shad Gleichner", "reference"=>"Dayana Emard", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434460000'), "author_name"=>"Velma Turner", "content"=>["Necessitatibus totam et labore autem ut nulla. Iure nam ullam quae recusandae architecto ut. Quis tempore aliquam dolore autem sapiente porro. Et illum dolorem reprehenderit aut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df42cd7735330434450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434470000'), "name"=>"Ona Hickle Sr.", "reference"=>"Kieran Aufderhar", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434480000'), "author_name"=>"Sonia Jacobs", "content"=>["Animi facilis repellat aperiam laudantium. Sapiente adipisci et vero eveniet et maiores. Error vel nihil nobis et repudiandae quo. Iste perferendis modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df42cd7735330434470000", "id"=>"53df42cd7735330434480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434490000'), "name"=>"Miss Maybelle Cole", "reference"=>"Angus Wyman Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304344a0000'), "author_name"=>"Buck Hilll", "content"=>["Voluptates aliquid odit. Dolore voluptatem velit eos. Et quis nemo et. Sit nam dolorem rerum omnis. Earum eum et nobis fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df42cd77353304344a0000", "product_id"=>"53df42cd7735330434490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434490000'), "comments._id"=>BSON::ObjectId('53df42cd77353304344a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms Redirected to http://test.host/products/53df42cd7735330434490000/comments/53df42cd77353304344a0000 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('53df42cd77353304344b0000'), "firstname"=>"Bethany", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1832ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd77353304344c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Redirected to http://test.host/admin/clients/53df42cd77353304344c0000 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('53df42cd77353304344d0000'), "firstname"=>"Samson", "lastname"=>"Schulist"}] 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=>"clients", :query=>{}} runtime: 0.1714ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df42cd77353304344d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd77353304344d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd77353304344d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms 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.2257ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd77353304344e0000'), "firstname"=>"Virgil", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df42cd77353304344e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd77353304344e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.9ms) Completed 200 OK in 40ms (Views: 39.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd77353304344f0000'), "firstname"=>"Ashlee", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms 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('53df42cd7735330434500000'), "firstname"=>"Destiny", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7754ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 14ms (Views: 12.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434510000'), "firstname"=>"Chandler", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6185ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df42cd7735330434510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms 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('53df42cd7735330434520000'), "firstname"=>"Susie", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df42cd7735330434520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Redirected to http://test.host/admin/clients/53df42cd7735330434520000 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('53df42cd7735330434530000'), "firstname"=>"Pedro", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3849ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms Redirected to http://test.host/clients/53df42cd7735330434540000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3638ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434550000'), "firstname"=>"Sigrid", "lastname"=>"Goodwin"}] 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=>"clients", :query=>{}} runtime: 0.2892ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df42cd7735330434550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms 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.3646ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434560000'), "firstname"=>"Brandt", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df42cd7735330434560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (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('53df42cd7735330434570000'), "firstname"=>"Scarlett", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4943ms 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('53df42cd7735330434580000'), "firstname"=>"Nicholas", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms 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.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434590000'), "firstname"=>"Molly", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df42cd7735330434590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd7735330434590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df42cd77353304345a0000'), "firstname"=>"Zora", "lastname"=>"Emard"}] 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"=>"53df42cd77353304345a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df42cd77353304345a0000')} 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('53df42cd77353304345a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms Redirected to http://test.host/clients/53df42cd77353304345a0000 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('53df42cd77353304345b0000'), "name"=>"Mercedes Schamberger II", "reference"=>"Desmond Bergstrom", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df42cd77353304345c0000'), "firstname"=>"Celestino", "lastname"=>"Hyatt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df42cd77353304345b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304345b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304345b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304345b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df42cd77353304345d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Redirected to http://test.host/products/53df42cd77353304345b0000/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('53df42cd77353304345e0000'), "name"=>"Deontae Zemlak", "reference"=>"Mark Prohaska MD", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df42cd77353304345f0000'), "firstname"=>"Kayden", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df42cd77353304345f0000", "product_id"=>"53df42cd77353304345e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304345e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.5ms) Completed 200 OK in 34ms (Views: 31.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434600000'), "name"=>"Mrs. Lina Runte", "reference"=>"Ms. Rossie Gerlach", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df42cd7735330434610000'), "firstname"=>"Yvonne", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df42cd7735330434600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.4ms) Completed 200 OK in 45ms (Views: 42.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434620000'), "name"=>"Veda Goldner MD", "reference"=>"Gracie Gislason", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df42cd7735330434630000'), "firstname"=>"Theo", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df42cd7735330434630000", "product_id"=>"53df42cd7735330434620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434640000'), "name"=>"Darren Schmidt Sr.", "reference"=>"Dean Hirthe", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df42cd7735330434650000'), "firstname"=>"Alexa", "lastname"=>"Runolfsdottir"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df42cd7735330434650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df42cd7735330434640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Unpermitted parameters: name Redirected to http://test.host/products/53df42cd7735330434640000/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('53df42cd7735330434660000'), "name"=>"Garrett Johnson Sr.", "reference"=>"Kira Hermiston", "quantity"=>"8"}] 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=>"products", :query=>{}} runtime: 0.2157ms 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('53df42cd7735330434670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Redirected to http://test.host/products/53df42cd7735330434670000 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('53df42cd7735330434680000'), "name"=>"Leta Lesch", "reference"=>"Mrs. Reta Murphy", "quantity"=>"5"}] 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.2051ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df42cd7735330434680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms 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.1593ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434690000'), "name"=>"Manuel Klein", "reference"=>"Rhiannon Toy", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df42cd7735330434690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3845ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304346a0000'), "name"=>"Lisa Turner", "reference"=>"Lorna Mayert", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms 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: 1.1301ms Completed 200 OK in 21ms (Views: 20.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304346b0000'), "name"=>"Bernice Brakus", "reference"=>"Mr. Haskell Ortiz", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms 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.6025ms 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('53df42cd77353304346c0000'), "name"=>"Dr. Amelie Kohler", "reference"=>"Hilton Lockman", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df42cd77353304346c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304346c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms 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('53df42cd77353304346d0000'), "name"=>"Sanford Pacocha", "reference"=>"Jerald Labadie", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df42cd77353304346f0000'), "name"=>"Miss Walker Mraz", "reference"=>"Uriel Jakubowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df42cd77353304346f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304346f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Completed 200 OK in 29ms (Views: 27.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434700000'), "name"=>"Hudson Stokes", "reference"=>"Mr. Waldo Klocko", "quantity"=>"3"}] 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.1587ms 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('53df42cd7735330434710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3104ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434720000'), "name"=>"Lyla Gutmann", "reference"=>"Mrs. Carlotta Kilback", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df42cd7735330434720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434720000')} 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('53df42cd7735330434720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms 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('53df42cd7735330434730000'), "name"=>"Graham Dooley", "reference"=>"Jarod Runolfsdottir", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms 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('53df42cd7735330434750000'), "name"=>"Delpha Lang", "reference"=>"Ilene Walter", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df42cd7735330434750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms 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('53df42cd7735330434760000'), "name"=>"Mireya D'Amore", "reference"=>"Winfield Davis", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df42cd7735330434760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms Redirected to http://test.host/products/53df42cd7735330434760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434790000'), "name"=>"Mrs. Natalie Feil", "reference"=>"Hosea Altenwerth", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434770000'), "author_name"=>"Eden West DVM", "content"=>["Voluptatem provident nobis iusto voluptatem. Non qui maiores est dolore. Et ea esse necessitatibus. Ratione cum incidunt. Et eaque corporis omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434780000'), "author_name"=>"Kieran Rodriguez V", "content"=>["Sed similique nemo asperiores placeat corrupti vel voluptas. Accusamus reiciendis est esse eum aut nam iure. A porro fugit suscipit rerum necessitatibus cupiditate velit. Est beatae et. Voluptas rerum dolorum perferendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df42cd7735330434790000", "comment_id"=>"53df42cd7735330434770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434790000'), "comments._id"=>BSON::ObjectId('53df42cd7735330434770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df42cd77353304347a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms Redirected to http://test.host/products/53df42cd7735330434790000/comments/53df42cd7735330434770000/comments/53df42cd77353304347a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304347d0000'), "name"=>"Vincenza Graham", "reference"=>"Chasity Streich", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304347b0000'), "author_name"=>"Scarlett Bayer", "content"=>["Aut aut est molestiae. Vel sint esse voluptatem praesentium delectus. Expedita eos quo rerum mollitia vel dolorem quibusdam. Reprehenderit et voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304347c0000'), "author_name"=>"Elisha Kunze MD", "content"=>["Tempore inventore voluptatum. Et eius dolorem eum. Atque unde dolor cumque blanditiis. A autem molestiae fugit maiores placeat est. Excepturi tenetur eaque odit autem qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304347d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df42cd77353304347d0000", "comment_id"=>"53df42cd77353304347b0000", "id"=>"53df42cd77353304347c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304347d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304347d0000'), "comments._id"=>BSON::ObjectId('53df42cd77353304347b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df42cd77353304347c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Redirected to http://test.host/products/53df42cd77353304347d0000/comments/53df42cd77353304347b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304347d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434800000'), "name"=>"Dr. Gunner Mann", "reference"=>"Mrs. Alec Kuphal", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304347e0000'), "author_name"=>"Bonita Brakus", "content"=>["Hic nihil architecto. Soluta tempore qui cupiditate veniam. Repellat consequatur expedita omnis dolorem molestiae totam repudiandae. Dolores labore vero. Suscipit dolor voluptatem quas tempore."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304347f0000'), "author_name"=>"Nels Carroll", "content"=>["Asperiores est eum harum. Tempora nam reiciendis aut et. Neque magnam eos in pariatur. Praesentium ducimus atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df42cd7735330434800000", "comment_id"=>"53df42cd77353304347e0000", "id"=>"53df42cd77353304347f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434800000')} 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.9ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434830000'), "name"=>"Wilfred Borer", "reference"=>"Briana Botsford", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434810000'), "author_name"=>"Blaise Heidenreich II", "content"=>["Praesentium eveniet ut possimus ex perspiciatis earum. Consequuntur voluptatem vel autem. Minus magni sapiente voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434820000'), "author_name"=>"Dewayne Bartell", "content"=>["Labore quia quia quo quidem voluptas dolores maxime. Et rerum repellendus et dolores. Molestias aut minima molestiae assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df42cd7735330434830000", "comment_id"=>"53df42cd7735330434810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434860000'), "name"=>"Lew Rutherford II", "reference"=>"Mrs. Mario Skiles", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434840000'), "author_name"=>"Nelda Dickens II", "content"=>["Vel iure libero. Voluptas et est magni voluptatem corporis rerum atque. Fugiat sed et dolorem id assumenda nihil voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434850000'), "author_name"=>"Keshawn Sauer", "content"=>["Illum voluptate aliquid modi id qui alias. Nemo non in veniam labore. Expedita vitae excepturi velit sint. Et aperiam molestiae quam aut ex pariatur animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df42cd7735330434860000", "comment_id"=>"53df42cd7735330434840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434890000'), "name"=>"Gage Reilly", "reference"=>"Lenora Romaguera II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434870000'), "author_name"=>"Therese Gottlieb MD", "content"=>["Reprehenderit voluptate eveniet. Qui vitae nostrum. Nihil optio possimus. Aut possimus atque."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434880000'), "author_name"=>"Ms. Elda Auer", "content"=>["Omnis eos non. Eum corporis aut. Sunt blanditiis aut distinctio sit non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df42cd7735330434890000", "comment_id"=>"53df42cd7735330434870000", "id"=>"53df42cd7735330434880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304348c0000'), "name"=>"Susie Heathcote", "reference"=>"Alford Boehm DVM", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304348a0000'), "author_name"=>"Nicholas Schuster", "content"=>["Quod consequatur totam voluptatibus aut dolore. Molestiae assumenda et quasi in tempora. Mollitia nisi qui recusandae voluptatem. Quis perspiciatis non eveniet dicta voluptatem omnis dolores. Ipsum ratione maiores dolore."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304348b0000'), "author_name"=>"Jovany Franecki", "content"=>["Iure sunt voluptatem fugit sint aut magnam. Et nesciunt non qui explicabo dolorum. Iure et sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df42cd77353304348c0000", "comment_id"=>"53df42cd77353304348a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304348c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd77353304348f0000'), "name"=>"Mrs. Abbigail Bashirian", "reference"=>"Clair Kuhn Jr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304348d0000'), "author_name"=>"Sydni Paucek", "content"=>["Qui eos voluptas sit deserunt rerum. Aut ratione fugiat. Commodi ipsam consectetur. Aut dolores et placeat maiores reprehenderit. Voluptates consequuntur aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd77353304348e0000'), "author_name"=>"Christ Dickinson DVM", "content"=>["Non laborum molestiae saepe et. Voluptatum aliquid porro provident. Non sint laudantium quisquam eaque animi. Ipsa adipisci autem. Nihil pariatur necessitatibus et et hic neque sapiente."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df42cd77353304348f0000", "comment_id"=>"53df42cd77353304348d0000", "id"=>"53df42cd77353304348e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd77353304348f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434920000'), "name"=>"Tavares Haag", "reference"=>"Candido Gutmann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434900000'), "author_name"=>"Elinore Turner I", "content"=>["Aut modi explicabo. Sapiente reiciendis libero neque fuga fugit. Odio fugiat sit praesentium cupiditate omnis unde. Consequatur commodi saepe omnis debitis nam."], "comments"=>[{"_id"=>BSON::ObjectId('53df42cd7735330434910000'), "author_name"=>"Mr. Jack Witting", "content"=>["Officia aut placeat impedit non a consequatur nihil. Sit provident repellat. Necessitatibus ea velit veniam. Earum ipsa fugit accusantium quidem dolores commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df42cd7735330434910000", "product_id"=>"53df42cd7735330434920000", "comment_id"=>"53df42cd7735330434900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df42cd7735330434920000')} 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('53df42cd7735330434920000'), "comments._id"=>BSON::ObjectId('53df42cd7735330434900000'), "comments.0.comments._id"=>BSON::ObjectId('53df42cd7735330434910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8284ms Redirected to http://test.host/products/53df42cd7735330434920000/comments/53df42cd7735330434900000/comments/53df42cd7735330434910000 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('53df42cd7735330434930000'), "firstname"=>"Willa", "lastname"=>"Mann"}] 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.1786ms 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('53df42cd7735330434940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Redirected to http://test.host/users/53df42cd7735330434940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1814ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434950000'), "firstname"=>"Lucas", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2835ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df42cd7735330434950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cd7735330434950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cd7735330434950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms 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.1730ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434960000'), "firstname"=>"Chris", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df42cd7735330434960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cd7735330434960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.4ms) Completed 200 OK in 32ms (Views: 30.5ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434970000'), "firstname"=>"August", "lastname"=>"Jaskolski"}] 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.3970ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df42cd7735330434980000'), "firstname"=>"Carolina", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (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('53df42cd7735330434990000'), "firstname"=>"Madge", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df42cd7735330434990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cd7735330434990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms 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('53df42cd77353304349a0000'), "firstname"=>"Candace", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df42cd77353304349a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df42cd77353304349a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms Unpermitted parameters: name Redirected to http://test.host/users/53df42cd77353304349a0000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4245ms 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.4243ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5532ms 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.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.3883ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212000000'), "firstname"=>"Brenda", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6737ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3422ms 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('53df51b87735331212010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5843ms 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.3096ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212020000'), "firstname"=>"Della", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df51b87735331212020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 47ms (Views: 46.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212030000'), "firstname"=>"Orie", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6228ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212040000'), "firstname"=>"Cristopher", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df51b87735331212040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212050000'), "firstname"=>"Justina", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df51b87735331212050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms 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('53df51b87735331212060000'), "name"=>"Rubye Quigley Jr.", "reference"=>"Camron Brown", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212070000'), "author_name"=>"Germaine Marquardt DDS", "content"=>["Quia omnis neque iste ut tempora. Est et asperiores cupiditate et consectetur. Expedita repudiandae beatae. Vero ut dignissimos et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51b87735331212060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51b87735331212080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Redirected to http://test.host/admin/products/53df51b87735331212060000/comments/53df51b87735331212080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212090000'), "name"=>"Thaddeus Fritsch III", "reference"=>"Ms. Marietta Fritsch", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312120a0000'), "author_name"=>"Mauricio Goyette", "content"=>["Ad voluptas reprehenderit nobis. Repellendus aut ipsa modi aliquid. Explicabo id tempora perspiciatis delectus dolor. Et architecto consequatur delectus odio impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df51b87735331212090000", "id"=>"53df51b877353312120a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51b877353312120a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms Redirected to http://test.host/admin/products/53df51b87735331212090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312120b0000'), "name"=>"Osbaldo Romaguera", "reference"=>"Eleazar Stamm", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312120c0000'), "author_name"=>"Casandra Koepp", "content"=>["Eos laboriosam sequi ut non possimus rem. Aperiam officia quo. Quia maxime delectus quisquam totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df51b877353312120b0000", "id"=>"53df51b877353312120c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312120b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4059ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312120d0000'), "name"=>"Gardner Jacobs", "reference"=>"Alexis Fritsch PhD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312120e0000'), "author_name"=>"Dangelo Deckow I", "content"=>["Reprehenderit aperiam alias est sint odio voluptate. Ut atque earum esse. Accusantium quod nisi distinctio est. Perspiciatis ad tempore ut. Beatae et et aut fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5938ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df51b877353312120d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312120d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312120f0000'), "name"=>"Patrick Feil", "reference"=>"Leonie Thiel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212100000'), "author_name"=>"Jarvis Gaylord", "content"=>["Cum et dolores quia optio. Itaque vitae nam soluta. Dolorum qui assumenda sapiente accusantium. Nobis voluptas nostrum libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df51b877353312120f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312120f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212110000'), "name"=>"Clotilde Labadie", "reference"=>"Gertrude Cole", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212120000'), "author_name"=>"Ms. Destin Hahn", "content"=>["Quidem earum at qui in aut ducimus atque. Voluptatem et nulla ullam. Inventore ex ratione ullam neque et veritatis repellendus. Sint autem suscipit eligendi. Sunt voluptas distinctio et repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5863ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df51b87735331212110000", "id"=>"53df51b87735331212120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212130000'), "name"=>"Ike Koelpin IV", "reference"=>"Rickie Johnston", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212140000'), "author_name"=>"Callie Cole", "content"=>["Omnis exercitationem sit voluptatem. Inventore laborum delectus aut at distinctio dolorem numquam. Explicabo sed velit occaecati voluptatem perferendis sint. Minima aut repudiandae cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1930ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51b87735331212140000", "product_id"=>"53df51b87735331212130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212130000'), "comments._id"=>BSON::ObjectId('53df51b87735331212140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Redirected to http://test.host/admin/products/53df51b87735331212130000/comments/53df51b87735331212140000 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('53df51b87735331212150000'), "name"=>"Kattie Wiza", "reference"=>"Alexis Turcotte", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df51b87735331212160000'), "firstname"=>"Fernando", "lastname"=>"Pacocha"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df51b87735331212150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212150000')} 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('53df51b87735331212150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df51b87735331212170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Redirected to http://test.host/admin/products/53df51b87735331212150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212180000'), "name"=>"Kallie Hilpert", "reference"=>"Hilbert Brakus", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df51b87735331212190000'), "firstname"=>"Fermin", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df51b87735331212190000", "product_id"=>"53df51b87735331212180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312121a0000'), "name"=>"Tara Beahan", "reference"=>"Rubye Ratke MD", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df51b877353312121b0000'), "firstname"=>"Leta", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df51b877353312121a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312121a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312121c0000'), "name"=>"Rosa Ullrich", "reference"=>"Hillary Barrows", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df51b877353312121d0000'), "firstname"=>"Fernando", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df51b877353312121d0000", "product_id"=>"53df51b877353312121c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312121c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312121e0000'), "name"=>"Tevin Davis", "reference"=>"Gretchen Marks", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df51b877353312121f0000'), "firstname"=>"Wava", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df51b877353312121f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df51b877353312121e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312121e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df51b877353312121e0000/manager 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('53df51b87735331212200000'), "name"=>"Miss Tamia Tromp", "reference"=>"Mr. Amy Hudson", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1696ms 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('53df51b87735331212210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Redirected to http://test.host/admin/products/53df51b87735331212210000 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('53df51b87735331212220000'), "name"=>"Ulices Spinka", "reference"=>"Diego Gerhold", "quantity"=>"4"}] 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.1662ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df51b87735331212220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1917ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212230000'), "name"=>"Braden Anderson", "reference"=>"Miss Shayna Weissnat", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df51b87735331212230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212230000')} 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.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212240000'), "name"=>"Bret Moen", "reference"=>"Ismael Casper", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by Admin::ProductsController#index as HTML Completed 500 Internal Server Error in 2ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212250000'), "name"=>"Edwina Gerhold", "reference"=>"Katelin Stamm", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212280000'), "name"=>"Haleigh Mraz I", "reference"=>"Angelica Rosenbaum DVM", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df51b87735331212280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212290000'), "name"=>"Kale Walsh PhD", "reference"=>"Sydni Hoppe", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51b87735331212290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7193ms Redirected to http://test.host/admin/products/53df51b87735331212290000 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('53df51b877353312122a0000'), "firstname"=>"Mara", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2960ms 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('53df51b877353312122b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Redirected to http://test.host/admin/users/53df51b877353312122b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3028ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b877353312122c0000'), "firstname"=>"Catalina", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2056ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df51b877353312122c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b877353312122c0000')} 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('53df51b877353312122c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms 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.2067ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b877353312122d0000'), "firstname"=>"Stanford", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df51b877353312122d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b877353312122d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms 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('53df51b877353312122e0000'), "firstname"=>"Abigayle", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms 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('53df51b877353312122f0000'), "firstname"=>"Nasir", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9184ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b87735331212300000'), "firstname"=>"Logan", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df51b87735331212300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b87735331212300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms 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('53df51b87735331212310000'), "firstname"=>"Savanna", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df51b87735331212310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b87735331212310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df51b87735331212310000 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('53df51b87735331212320000'), "firstname"=>"Randall", "lastname"=>"Fay"}] 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=>"administrators", :query=>{}} runtime: 0.1620ms 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('53df51b87735331212330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms 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.1504ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212340000'), "firstname"=>"Stella", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df51b87735331212340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms 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_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212350000'), "firstname"=>"Karson", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 6.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212360000'), "firstname"=>"Abagail", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df51b87735331212360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51b87735331212370000'), "firstname"=>"Magnus", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df51b87735331212370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51b87735331212370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms 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('53df51b87735331212380000'), "name"=>"Janie Lemke", "reference"=>"Mittie Hammes", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212390000'), "author_name"=>"Dr. Jewell Durgan", "content"=>["Culpa quia est. Culpa porro voluptatibus neque et. Blanditiis eos animi deserunt et. Dolor ut enim consequatur. Quidem nemo ab autem soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51b87735331212380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51b877353312123a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Redirected to http://test.host/products/53df51b87735331212380000/comments/53df51b877353312123a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312123b0000'), "name"=>"Ocie Rosenbaum", "reference"=>"Timothy Moore", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312123c0000'), "author_name"=>"Constance Hilpert", "content"=>["Dolorum saepe voluptas culpa necessitatibus ratione alias facilis. Nesciunt sint dolorem et magnam aspernatur et in. Necessitatibus excepturi ad reiciendis molestias tempora qui. Qui dolorem est reprehenderit ratione et minus nobis. Temporibus optio et consequatur et dolores quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df51b877353312123b0000", "id"=>"53df51b877353312123c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51b877353312123c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Redirected to http://test.host/products/53df51b877353312123b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312123d0000'), "name"=>"Zetta Ziemann", "reference"=>"Mrs. Sophia Gibson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312123e0000'), "author_name"=>"Ronaldo Hand", "content"=>["Consequatur quia tempore blanditiis voluptatem. Alias necessitatibus eum ut qui illo repellat. Ut voluptas et quaerat temporibus reiciendis labore. Aut voluptatibus reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df51b877353312123d0000", "id"=>"53df51b877353312123e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312123f0000'), "name"=>"Anjali Haley", "reference"=>"Mathew Streich", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212400000'), "author_name"=>"Consuelo Pfannerstill Jr.", "content"=>["Aut magnam sed quasi voluptatibus minus. Qui qui dolorum. Fugiat officia dolore aut dolor et. Dolorem esse amet eaque aut doloremque cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df51b877353312123f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312123f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212410000'), "name"=>"Leon Lang V", "reference"=>"Adaline McCullough", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212420000'), "author_name"=>"Mercedes Sawayn", "content"=>["Eum alias provident ut debitis. Qui dicta eum velit. Enim distinctio nisi et aspernatur. Rerum officiis earum repellat ea ipsam harum doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df51b87735331212410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212430000'), "name"=>"Porter Schmidt", "reference"=>"Mr. Tremaine Schinner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212440000'), "author_name"=>"Lexi Hartmann DVM", "content"=>["Et minima doloribus quis et quas. Corrupti cum aut. Et saepe ut. Officiis quas magnam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df51b87735331212430000", "id"=>"53df51b87735331212440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212450000'), "name"=>"Molly Hane", "reference"=>"Darby Roob", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212460000'), "author_name"=>"Alf Kunde IV", "content"=>["Eos optio et maxime alias officiis voluptatem. Aut sed delectus. Quisquam iste facilis aut debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df51b87735331212450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212470000'), "name"=>"Constantin Batz Sr.", "reference"=>"Mrs. Camila Ferry", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df51b87735331212480000'), "author_name"=>"Ruben Schaefer", "content"=>["Dolorem quod qui veniam velit minus deserunt. Voluptatem vel maiores doloribus alias ut ipsum enim. Quam vitae adipisci debitis ipsum unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df51b87735331212470000", "id"=>"53df51b87735331212480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212490000'), "name"=>"Dax Howell", "reference"=>"Miss Imelda Kshlerin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df51b877353312124a0000'), "author_name"=>"Krystal Kautzer II", "content"=>["Ipsa odit cum dicta omnis debitis dolorem. Molestiae vero quia dolores quia voluptates exercitationem. Reprehenderit et hic consequuntur aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51b877353312124a0000", "product_id"=>"53df51b87735331212490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212490000'), "comments._id"=>BSON::ObjectId('53df51b877353312124a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Redirected to http://test.host/products/53df51b87735331212490000/comments/53df51b877353312124a0000 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('53df51b877353312124b0000'), "firstname"=>"Kiel", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2317ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b877353312124c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms Redirected to http://test.host/admin/clients/53df51b877353312124c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3157ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b877353312124d0000'), "firstname"=>"Keshaun", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2776ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df51b877353312124d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b877353312124d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3949ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b877353312124d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms 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.2325ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b877353312124e0000'), "firstname"=>"Brett", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9679ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df51b877353312124e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b877353312124e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.6ms) Completed 200 OK in 41ms (Views: 39.8ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b877353312124f0000'), "firstname"=>"Florencio", "lastname"=>"Gerhold"}] 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.3275ms 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('53df51b87735331212500000'), "firstname"=>"Werner", "lastname"=>"McClure"}] 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b87735331212510000'), "firstname"=>"Alek", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df51b87735331212510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms 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('53df51b87735331212520000'), "firstname"=>"Mercedes", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df51b87735331212520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Redirected to http://test.host/admin/clients/53df51b87735331212520000 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('53df51b87735331212530000'), "firstname"=>"Pedro", "lastname"=>"Labadie"}] 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.1584ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b87735331212540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms Redirected to http://test.host/clients/53df51b87735331212540000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b87735331212550000'), "firstname"=>"Uriel", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1317ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df51b87735331212550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms 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.1413ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b87735331212560000'), "firstname"=>"Jalen", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df51b87735331212560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms 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('53df51b87735331212570000'), "firstname"=>"Raphaelle", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms 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('53df51b87735331212580000'), "firstname"=>"Garnett", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51b87735331212590000'), "firstname"=>"Harrison", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df51b87735331212590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b87735331212590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms 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('53df51b877353312125a0000'), "firstname"=>"Beau", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df51b877353312125a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b877353312125a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51b877353312125a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms Redirected to http://test.host/clients/53df51b877353312125a0000 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('53df51b877353312125b0000'), "name"=>"Rod Conn", "reference"=>"Freida Murphy", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df51b877353312125c0000'), "firstname"=>"Andreane", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df51b877353312125b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312125b0000')} 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('53df51b877353312125b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312125b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df51b877353312125d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms Redirected to http://test.host/products/53df51b877353312125b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b877353312125e0000'), "name"=>"Sydni Crona MD", "reference"=>"Guy Hodkiewicz", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df51b877353312125f0000'), "firstname"=>"Lila", "lastname"=>"Schneider"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df51b877353312125f0000", "product_id"=>"53df51b877353312125e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b877353312125e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.4ms) Completed 200 OK in 32ms (Views: 30.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b87735331212600000'), "name"=>"Miss Arlene Jacobs", "reference"=>"Corene Breitenberg", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df51b87735331212610000'), "firstname"=>"Buddy", "lastname"=>"Roob"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df51b87735331212600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b87735331212600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.0ms) Completed 200 OK in 41ms (Views: 39.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212620000'), "name"=>"Mrs. Tatyana Kassulke", "reference"=>"Candice Rutherford", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df51b97735331212630000'), "firstname"=>"Rashad", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df51b97735331212630000", "product_id"=>"53df51b97735331212620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212640000'), "name"=>"Domenick Dooley", "reference"=>"Marilou Brekke IV", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df51b97735331212650000'), "firstname"=>"Alejandrin", "lastname"=>"Zboncak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df51b97735331212650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df51b97735331212640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms Unpermitted parameters: name Redirected to http://test.host/products/53df51b97735331212640000/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('53df51b97735331212660000'), "name"=>"Sydni Crona", "reference"=>"Rosemarie Will", "quantity"=>"0"}] 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.1414ms 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('53df51b97735331212670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Redirected to http://test.host/products/53df51b97735331212670000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212680000'), "name"=>"Freeman Bailey", "reference"=>"Logan Gutmann Jr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1466ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df51b97735331212680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212680000')} 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('53df51b97735331212680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms 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.1568ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212690000'), "name"=>"Emmitt Nolan III", "reference"=>"Dr. Francesco Hane", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df51b97735331212690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312126a0000'), "name"=>"Brett Gutmann", "reference"=>"Jacinthe Koepp", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312126b0000'), "name"=>"Alessia Nader", "reference"=>"Arvid Dibbert", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms 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.6348ms Completed 200 OK in 4ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312126c0000'), "name"=>"Lavonne Skiles", "reference"=>"Stanford Rempel DDS", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df51b977353312126c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312126c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms 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('53df51b977353312126d0000'), "name"=>"Shannon Hodkiewicz", "reference"=>"Ms. Kyler Moore", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312126f0000'), "name"=>"Jeramy Ferry", "reference"=>"Jerrell Feest", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df51b977353312126f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312126f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212700000'), "name"=>"Terrence Daugherty II", "reference"=>"Ms. Lesley Howe", "quantity"=>"4"}] 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.1377ms 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('53df51b97735331212710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1542ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212720000'), "name"=>"Thad Treutel I", "reference"=>"Stacey Senger", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df51b97735331212720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212720000')} 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('53df51b97735331212720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms 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('53df51b97735331212730000'), "name"=>"Dessie Grant", "reference"=>"Gennaro Graham", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms 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('53df51b97735331212750000'), "name"=>"Vernie Braun MD", "reference"=>"Mr. Rebekah Nitzsche", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7162ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51b97735331212750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms 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('53df51b97735331212760000'), "name"=>"Ms. Bulah Rolfson", "reference"=>"Tom Barrows", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51b97735331212760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212760000')} 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('53df51b97735331212760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Redirected to http://test.host/products/53df51b97735331212760000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212790000'), "name"=>"Ernest Cummings", "reference"=>"Corbin Braun", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212770000'), "author_name"=>"Adriana Ziemann", "content"=>["Eligendi error corrupti eos. Dolores totam repudiandae qui quos pariatur. Consequatur numquam itaque. Aut dolores dolore quia et unde repellendus a."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212780000'), "author_name"=>"Dortha Zboncak", "content"=>["Tempora laboriosam et. Consequatur et ratione corrupti perspiciatis id. Neque aut quae. Culpa vero pariatur adipisci totam. Et repudiandae nobis dicta quo ullam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51b97735331212790000", "comment_id"=>"53df51b97735331212770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212790000'), "comments._id"=>BSON::ObjectId('53df51b97735331212770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df51b977353312127a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Redirected to http://test.host/products/53df51b97735331212790000/comments/53df51b97735331212770000/comments/53df51b977353312127a0000 Completed 302 Found in 30ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312127d0000'), "name"=>"Ariane Cremin", "reference"=>"Jazmyne Barton IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312127b0000'), "author_name"=>"Shad Gerhold Sr.", "content"=>["Asperiores velit vero at voluptate alias. Amet ut et. Laudantium cumque iste. Sit laboriosam culpa voluptatem id."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312127c0000'), "author_name"=>"Ms. Grover Haag", "content"=>["Deserunt laborum dignissimos aut molestiae iste. Ab aspernatur mollitia. Laboriosam beatae ea aut harum. Quo cupiditate voluptas ut rerum nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312127d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df51b977353312127d0000", "comment_id"=>"53df51b977353312127b0000", "id"=>"53df51b977353312127c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312127d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312127d0000'), "comments._id"=>BSON::ObjectId('53df51b977353312127b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df51b977353312127c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Redirected to http://test.host/products/53df51b977353312127d0000/comments/53df51b977353312127b0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312127d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212800000'), "name"=>"Aglae Pfeffer", "reference"=>"Mr. Estefania Dickens", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312127e0000'), "author_name"=>"Camden Deckow Sr.", "content"=>["Aut repudiandae non. Repellat autem et et incidunt tenetur ea. Magni quis eveniet soluta consequatur ad eos. Ea ducimus architecto tenetur. Sit et eius rerum corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312127f0000'), "author_name"=>"Hermina Waelchi", "content"=>["Rerum voluptatem consequatur ea sapiente fuga molestiae modi. Qui quia inventore quo quae. Illum non ut nulla. Modi non nihil atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7005ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df51b97735331212800000", "comment_id"=>"53df51b977353312127e0000", "id"=>"53df51b977353312127f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212830000'), "name"=>"Ms. Norma Nader", "reference"=>"Marisa Hoeger I", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212810000'), "author_name"=>"Wyman Hegmann", "content"=>["Itaque velit natus quia. Ratione placeat eos. Necessitatibus aut ipsa officiis dignissimos nesciunt. Nihil eum eos est sit hic. Architecto est dicta pariatur quae non odio."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212820000'), "author_name"=>"Ignacio Kozey DDS", "content"=>["Saepe asperiores sint voluptas aspernatur. Explicabo officiis sed qui corporis qui voluptatem sapiente. Ipsum enim assumenda. Voluptates deleniti assumenda placeat blanditiis ad officia. Sequi vero nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df51b97735331212830000", "comment_id"=>"53df51b97735331212810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms Completed 500 Internal Server Error in 4ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212860000'), "name"=>"Adele Simonis", "reference"=>"Chauncey Ankunding Sr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212840000'), "author_name"=>"Hermann Emmerich", "content"=>["Id consectetur modi. Temporibus fuga suscipit occaecati quae neque. Harum voluptatum odit dolorem quo aut tenetur. In incidunt et quidem qui ut cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212850000'), "author_name"=>"Delpha Hirthe", "content"=>["Culpa et alias rerum quis. Vitae eveniet a. Aspernatur sint autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5921ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df51b97735331212860000", "comment_id"=>"53df51b97735331212840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212890000'), "name"=>"Benedict Maggio", "reference"=>"Werner Zulauf", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212870000'), "author_name"=>"Albina Tillman", "content"=>["Debitis qui unde non sunt necessitatibus accusamus deserunt. Mollitia sit molestias commodi harum autem optio. Voluptatem fugiat aliquid optio et autem vel voluptas. At eum sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212880000'), "author_name"=>"Ms. Stephen Davis", "content"=>["Atque ex occaecati neque omnis. Laborum voluptatem architecto libero velit temporibus nam. Debitis quidem nisi mollitia. Dolores illo assumenda accusantium amet sapiente voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5264ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df51b97735331212890000", "comment_id"=>"53df51b97735331212870000", "id"=>"53df51b97735331212880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312128c0000'), "name"=>"Marco Dare", "reference"=>"Greta Larson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312128a0000'), "author_name"=>"Donato Stroman", "content"=>["Quia amet sed. Adipisci illo molestiae fuga veniam exercitationem dolore. Atque numquam perferendis. Perspiciatis aspernatur ipsa quam facilis. Deserunt cumque aut alias."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312128b0000'), "author_name"=>"Sophie Kessler", "content"=>["Modi quos eius. Laborum ipsa qui id et itaque eos aut. Aut ad beatae autem consequatur. Et consequatur eos est veritatis fugit excepturi quod. Dolores enim asperiores natus et quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5486ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df51b977353312128c0000", "comment_id"=>"53df51b977353312128a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312128c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4364ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b977353312128f0000'), "name"=>"Marlene Schumm", "reference"=>"Savanah Terry", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312128d0000'), "author_name"=>"Ms. Roma Marquardt", "content"=>["Consectetur molestiae sit nam vel eum eius odit. Laboriosam eos error molestias assumenda eveniet. Reiciendis culpa omnis repudiandae iusto. Est ullam quis maiores ex quia. At ipsa id vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b977353312128e0000'), "author_name"=>"Judge Kreiger V", "content"=>["Aperiam dolor consequatur at perspiciatis. Dignissimos eum a voluptatem architecto deleniti eligendi natus. Qui aut voluptatem quod. Unde animi dolore atque et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5881ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df51b977353312128f0000", "comment_id"=>"53df51b977353312128d0000", "id"=>"53df51b977353312128e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b977353312128f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4121ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51b97735331212920000'), "name"=>"Alycia Lockman", "reference"=>"Nichole Corwin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212900000'), "author_name"=>"Aglae Ankunding", "content"=>["Unde impedit consequatur eum. Distinctio asperiores et quis itaque excepturi. Totam facere quaerat minima illum aperiam blanditiis. Ullam ea dignissimos necessitatibus id iste non occaecati. Delectus rem voluptas qui nesciunt eum."], "comments"=>[{"_id"=>BSON::ObjectId('53df51b97735331212910000'), "author_name"=>"Marilou Kshlerin", "content"=>["Est nostrum minus autem suscipit qui dolorem ea. Libero a repellat facilis. Consequuntur numquam placeat consequatur quos sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6389ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51b97735331212910000", "product_id"=>"53df51b97735331212920000", "comment_id"=>"53df51b97735331212900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51b97735331212920000'), "comments._id"=>BSON::ObjectId('53df51b97735331212900000'), "comments.0.comments._id"=>BSON::ObjectId('53df51b97735331212910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms Redirected to http://test.host/products/53df51b97735331212920000/comments/53df51b97735331212900000/comments/53df51b97735331212910000 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('53df51b97735331212930000'), "firstname"=>"Tabitha", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5968ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1831ms 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('53df51b97735331212940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Redirected to http://test.host/users/53df51b97735331212940000 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b97735331212950000'), "firstname"=>"Jacques", "lastname"=>"Sporer"}] 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=>"admin_users", :query=>{}} runtime: 0.1821ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df51b97735331212950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b97735331212950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b97735331212950000')} 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.1845ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b97735331212960000'), "firstname"=>"Sandra", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df51b97735331212960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b97735331212960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms 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('53df51b97735331212970000'), "firstname"=>"Norval", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by UsersController#index as HTML Completed 500 Internal Server Error in 2ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b97735331212980000'), "firstname"=>"Chaim", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3761ms 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.5ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51b97735331212990000'), "firstname"=>"Evelyn", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df51b97735331212990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b97735331212990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms 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('53df51b977353312129a0000'), "firstname"=>"Mekhi", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df51b977353312129a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51b977353312129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms Unpermitted parameters: name Redirected to http://test.host/users/53df51b977353312129a0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms 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.2441ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms 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.1986ms 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.2009ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241000000'), "firstname"=>"Pete", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1787ms 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('53df51e17735331241010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms 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.2077ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241020000'), "firstname"=>"Kade", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df51e17735331241020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 47ms (Views: 45.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241030000'), "firstname"=>"Enoch", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6923ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241040000'), "firstname"=>"Alfonso", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df51e17735331241040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241050000'), "firstname"=>"Garfield", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df51e17735331241050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms 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('53df51e17735331241060000'), "name"=>"Fletcher MacGyver II", "reference"=>"Odie Labadie", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241070000'), "author_name"=>"Albin Lakin", "content"=>["Earum illo dolorum cupiditate aut ea voluptate error. Aliquid libero nemo autem quia. Ea consectetur perferendis eum eos nostrum quis. Aut totam odit sint in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51e17735331241060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51e17735331241080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Redirected to http://test.host/admin/products/53df51e17735331241060000/comments/53df51e17735331241080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241090000'), "name"=>"Darrel Cole", "reference"=>"Ursula Dickinson PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312410a0000'), "author_name"=>"Dovie Marks IV", "content"=>["Non reiciendis error. Ut dolor quibusdam illum consequuntur doloremque quo modi. Omnis rerum pariatur impedit quisquam quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df51e17735331241090000", "id"=>"53df51e177353312410a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241090000')} 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('53df51e17735331241090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51e177353312410a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms Redirected to http://test.host/admin/products/53df51e17735331241090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312410b0000'), "name"=>"Miss Candido Frami", "reference"=>"Adolf Gibson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312410c0000'), "author_name"=>"Annabel Pouros", "content"=>["Explicabo eveniet eos aliquid. Voluptate officia ut vitae fugiat quaerat non. Vel ipsum dolore est consectetur neque. Fugiat aut illo maiores. Ratione itaque ut suscipit neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df51e177353312410b0000", "id"=>"53df51e177353312410c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312410b0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312410d0000'), "name"=>"Mr. Augustus Lindgren", "reference"=>"Arely Wuckert", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312410e0000'), "author_name"=>"Addison Kihn", "content"=>["Eos totam aut. Et molestiae ea voluptas culpa modi quia. Quia mollitia nesciunt officia ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1646ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df51e177353312410d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312410d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312410f0000'), "name"=>"Aleen Rath", "reference"=>"Arturo Orn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241100000'), "author_name"=>"Ethan Bins", "content"=>["Corporis qui nostrum sed nisi et sapiente. Ut magnam delectus enim eum maiores. Quo commodi inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df51e177353312410f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312410f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241110000'), "name"=>"Daron Boyle", "reference"=>"Verna Hoppe Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241120000'), "author_name"=>"Jakob Muller", "content"=>["Rerum accusamus dolores incidunt voluptatem est et. Odio perspiciatis natus nobis voluptas maxime dignissimos. Nulla natus ab minima non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df51e17735331241110000", "id"=>"53df51e17735331241120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241130000'), "name"=>"Jovan Schultz", "reference"=>"Caleb Kirlin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241140000'), "author_name"=>"Odell Langosh", "content"=>["Consequatur vero vitae. Laudantium perferendis unde aut consectetur dolores officia. Qui rerum sed doloribus tempore. Qui quisquam quo culpa adipisci dolorum illo perferendis. Magni eos aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51e17735331241140000", "product_id"=>"53df51e17735331241130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241130000'), "comments._id"=>BSON::ObjectId('53df51e17735331241140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Redirected to http://test.host/admin/products/53df51e17735331241130000/comments/53df51e17735331241140000 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('53df51e17735331241150000'), "name"=>"Margie Marquardt", "reference"=>"Abel Kub", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df51e17735331241160000'), "firstname"=>"Holly", "lastname"=>"Altenwerth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df51e17735331241150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df51e17735331241170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms Redirected to http://test.host/admin/products/53df51e17735331241150000/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('53df51e17735331241180000'), "name"=>"Cleve Langworth IV", "reference"=>"Eliane Little", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df51e17735331241190000'), "firstname"=>"Alfonso", "lastname"=>"Ferry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df51e17735331241190000", "product_id"=>"53df51e17735331241180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312411a0000'), "name"=>"Mr. Herta Gusikowski", "reference"=>"Lyda Pacocha DVM", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df51e177353312411b0000'), "firstname"=>"Ray", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5250ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df51e177353312411a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312411a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312411c0000'), "name"=>"Anastacio Stracke", "reference"=>"Norma Cremin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df51e177353312411d0000'), "firstname"=>"Jennie", "lastname"=>"Wisoky"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df51e177353312411d0000", "product_id"=>"53df51e177353312411c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312411c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312411e0000'), "name"=>"Jana Schmeler", "reference"=>"Jovanny D'Amore", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df51e177353312411f0000'), "firstname"=>"Imani", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5318ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df51e177353312411f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df51e177353312411e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312411e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df51e177353312411e0000/manager 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('53df51e17735331241200000'), "name"=>"Simone Lesch", "reference"=>"Leanna Blanda", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1996ms 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('53df51e17735331241210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2224ms Redirected to http://test.host/admin/products/53df51e17735331241210000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2214ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241220000'), "name"=>"Russel West", "reference"=>"Judy Adams III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2017ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df51e17735331241220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms 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.2228ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241230000'), "name"=>"Quincy Braun", "reference"=>"Adriel Kuhic", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df51e17735331241230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 37ms (Views: 35.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241240000'), "name"=>"Caleigh Luettgen", "reference"=>"Miss Liana Sporer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms 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.4796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (8.7ms) Completed 200 OK in 11ms (Views: 10.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241250000'), "name"=>"Fabiola Rosenbaum", "reference"=>"Loraine Lehner DVM", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df51e17735331241280000'), "name"=>"Isai Schamberger", "reference"=>"Ms. Asia Mraz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df51e17735331241280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms 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('53df51e17735331241290000'), "name"=>"Mia Luettgen PhD", "reference"=>"Lindsay Runolfsdottir", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51e17735331241290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms Redirected to http://test.host/admin/products/53df51e17735331241290000 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('53df51e177353312412a0000'), "firstname"=>"Karl", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3635ms 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"}} Unpermitted parameters: name MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e177353312412b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Redirected to http://test.host/admin/users/53df51e177353312412b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2210ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e177353312412c0000'), "firstname"=>"Jamil", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df51e177353312412c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e177353312412c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e177353312412c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms 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.1546ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e177353312412d0000'), "firstname"=>"Evans", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df51e177353312412d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e177353312412d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e177353312412e0000'), "firstname"=>"Jensen", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms 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.3099ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.5ms) 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('53df51e177353312412f0000'), "firstname"=>"Earnestine", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms 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('53df51e17735331241300000'), "firstname"=>"Verla", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df51e17735331241300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e17735331241300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms Completed 200 OK in 3ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e17735331241310000'), "firstname"=>"Era", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df51e17735331241310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e17735331241310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df51e17735331241310000 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('53df51e17735331241320000'), "firstname"=>"Ima", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2063ms 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('53df51e17735331241330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms 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.1404ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241340000'), "firstname"=>"Clifford", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df51e17735331241340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms) Completed 200 OK in 37ms (Views: 35.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241350000'), "firstname"=>"Watson", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241360000'), "firstname"=>"Aubree", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8009ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df51e17735331241360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df51e17735331241370000'), "firstname"=>"Citlalli", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df51e17735331241370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df51e17735331241370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms 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('53df51e17735331241380000'), "name"=>"Lafayette Kutch", "reference"=>"Reba Tromp", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241390000'), "author_name"=>"Dariana Konopelski", "content"=>["Dolore illo doloribus sit aut molestias dolor quia. Velit voluptatibus quod ut ut. Non fugit possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51e17735331241380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51e177353312413a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms Redirected to http://test.host/products/53df51e17735331241380000/comments/53df51e177353312413a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312413b0000'), "name"=>"Rosalyn Dickens", "reference"=>"Hazle Hirthe DVM", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312413c0000'), "author_name"=>"Juana Thiel", "content"=>["Vel et minima ab incidunt nisi at. Nesciunt nihil voluptate. Autem ducimus possimus numquam. Deserunt et doloribus molestiae repudiandae consequatur distinctio. Dolor officia vero hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df51e177353312413b0000", "id"=>"53df51e177353312413c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df51e177353312413c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms Redirected to http://test.host/products/53df51e177353312413b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312413d0000'), "name"=>"Enrique Kling", "reference"=>"Maybell Purdy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312413e0000'), "author_name"=>"Annamarie Willms", "content"=>["Voluptate doloremque ipsa harum. Doloremque dolores quaerat ipsa et. Sed quae unde iusto fugiat sapiente ad dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df51e177353312413d0000", "id"=>"53df51e177353312413e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312413f0000'), "name"=>"Mrs. Mark Kautzer", "reference"=>"Ms. Hudson Heller", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241400000'), "author_name"=>"Jonathan Conroy", "content"=>["Animi ea architecto. Dolor omnis omnis ullam quaerat. Voluptatibus non et officiis harum dignissimos. Veniam possimus libero officia quasi minima autem. Qui non minus magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df51e177353312413f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312413f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.6ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241410000'), "name"=>"Kory O'Reilly", "reference"=>"Elwin Legros", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241420000'), "author_name"=>"Barbara Weissnat PhD", "content"=>["Harum praesentium veniam. Et eos voluptas voluptate qui placeat aliquam. Voluptatem omnis quia qui aut. Non sed quisquam aperiam quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df51e17735331241410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241430000'), "name"=>"Audra Durgan", "reference"=>"Mr. Chase Hoppe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241440000'), "author_name"=>"Joshua Wilderman", "content"=>["Ullam voluptatibus in deserunt error corporis vitae. Placeat autem voluptatum alias expedita ducimus odio. Odit ut quo ipsam vel dolorem. Exercitationem et quam voluptas et asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df51e17735331241430000", "id"=>"53df51e17735331241440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241450000'), "name"=>"Lexie Hayes", "reference"=>"Barrett Barrows", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241460000'), "author_name"=>"Grover Ebert", "content"=>["In reiciendis eaque. Facere esse est natus qui commodi est quisquam. Atque repellendus quaerat adipisci libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df51e17735331241450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241450000')} 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 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241470000'), "name"=>"Zula Mohr", "reference"=>"Ila Jacobi PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51e17735331241480000'), "author_name"=>"Reggie Connelly", "content"=>["Libero laborum quia et qui. Ad est qui laudantium. Qui molestiae ea illo. Hic cumque ad laudantium. Qui iusto sint enim numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df51e17735331241470000", "id"=>"53df51e17735331241480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e17735331241490000'), "name"=>"Francisco Kuhic", "reference"=>"Cole Bergnaum", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df51e177353312414a0000'), "author_name"=>"Reagan Murphy PhD", "content"=>["Dignissimos nihil at recusandae. Qui ut quasi sed aliquam. Id enim optio qui totam aut. Eos et omnis id aut voluptatem quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51e177353312414a0000", "product_id"=>"53df51e17735331241490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e17735331241490000'), "comments._id"=>BSON::ObjectId('53df51e177353312414a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Redirected to http://test.host/products/53df51e17735331241490000/comments/53df51e177353312414a0000 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('53df51e177353312414b0000'), "firstname"=>"Jairo", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1283ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e177353312414c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Redirected to http://test.host/admin/clients/53df51e177353312414c0000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e177353312414d0000'), "firstname"=>"Vito", "lastname"=>"Harber"}] 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.1911ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df51e177353312414d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e177353312414d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e177353312414d0000')} 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.2421ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e177353312414e0000'), "firstname"=>"Elda", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df51e177353312414e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e177353312414e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 39ms (Views: 37.7ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e177353312414f0000'), "firstname"=>"Elliot", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms 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('53df51e17735331241500000'), "firstname"=>"Juanita", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e17735331241510000'), "firstname"=>"Norris", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df51e17735331241510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e17735331241520000'), "firstname"=>"Thaddeus", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df51e17735331241520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241520000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Redirected to http://test.host/admin/clients/53df51e17735331241520000 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('53df51e17735331241530000'), "firstname"=>"Zetta", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1374ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e17735331241540000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms Redirected to http://test.host/clients/53df51e17735331241540000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1833ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e17735331241550000'), "firstname"=>"Garth", "lastname"=>"Zieme"}] 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.1403ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df51e17735331241550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241550000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms 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.1398ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df51e17735331241560000'), "firstname"=>"Tony", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5087ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df51e17735331241560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms 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('53df51e17735331241570000'), "firstname"=>"Gavin", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms 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('53df51e17735331241580000'), "firstname"=>"Mallory", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms 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('53df51e17735331241590000'), "firstname"=>"Gardner", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df51e17735331241590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e17735331241590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms 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('53df51e177353312415a0000'), "firstname"=>"Lamont", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df51e177353312415a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e177353312415a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df51e177353312415a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms Redirected to http://test.host/clients/53df51e177353312415a0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312415b0000'), "name"=>"Ms. Jesse Botsford", "reference"=>"Greg Batz", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df51e177353312415c0000'), "firstname"=>"Rubie", "lastname"=>"Schaefer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df51e177353312415b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312415b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312415b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312415b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df51e177353312415d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Redirected to http://test.host/products/53df51e177353312415b0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e177353312415e0000'), "name"=>"Emmanuel Lockman II", "reference"=>"Harmony DuBuque", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df51e177353312415f0000'), "firstname"=>"Lexi", "lastname"=>"Cormier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4781ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df51e177353312415f0000", "product_id"=>"53df51e177353312415e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e177353312415e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4699ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 31ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241600000'), "name"=>"Stevie Glover", "reference"=>"Jackson Ruecker", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df51e27735331241610000'), "firstname"=>"Christopher", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5264ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df51e27735331241600000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241620000'), "name"=>"Nina Mills II", "reference"=>"Ms. Emmalee Murray", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df51e27735331241630000'), "firstname"=>"Ona", "lastname"=>"Stiedemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5300ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df51e27735331241630000", "product_id"=>"53df51e27735331241620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241640000'), "name"=>"Cloyd Waters", "reference"=>"Niko Reynolds", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df51e27735331241650000'), "firstname"=>"Malcolm", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df51e27735331241650000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df51e27735331241640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms Unpermitted parameters: name Redirected to http://test.host/products/53df51e27735331241640000/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('53df51e27735331241660000'), "name"=>"Ms. Betsy O'Kon", "reference"=>"Mrs. Daisy Cremin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1978ms 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('53df51e27735331241670000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Redirected to http://test.host/products/53df51e27735331241670000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241680000'), "name"=>"Michel Hermiston PhD", "reference"=>"Mr. Mariah Raynor", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1943ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df51e27735331241680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241680000')} 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={"_id"=>BSON::ObjectId('53df51e27735331241680000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms 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.2373ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241690000'), "name"=>"Mr. Travis Erdman", "reference"=>"Karl Howell MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df51e27735331241690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241690000')} 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.1ms) 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('53df51e277353312416a0000'), "name"=>"William Haag I", "reference"=>"Naomi Wilkinson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms 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.6676ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (16.5ms) Completed 200 OK in 19ms (Views: 18.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e277353312416b0000'), "name"=>"Reina Boehm", "reference"=>"Rolando Greenfelder", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms 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.6398ms 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('53df51e277353312416c0000'), "name"=>"Cali Shields", "reference"=>"Jane Reilly", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df51e277353312416c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312416c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms 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('53df51e277353312416d0000'), "name"=>"Miss Mossie Schuppe", "reference"=>"Shea Daniel Jr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7465ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df51e277353312416f0000'), "name"=>"Asha Conroy", "reference"=>"Ila Douglas", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df51e277353312416f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312416f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241700000'), "name"=>"Dax Wintheiser Jr.", "reference"=>"Gaylord Steuber", "quantity"=>"8"}] 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.1451ms 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('53df51e27735331241710000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2367ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241720000'), "name"=>"Eva Corwin", "reference"=>"Amy Brekke II", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df51e27735331241720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241720000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms 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('53df51e27735331241730000'), "name"=>"Aileen Lebsack", "reference"=>"Dr. Juston Fisher", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms 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('53df51e27735331241750000'), "name"=>"Aron Willms", "reference"=>"Emile Towne", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51e27735331241750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241750000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms 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('53df51e27735331241760000'), "name"=>"Douglas Roberts", "reference"=>"Miss Yvonne Ebert", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df51e27735331241760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241760000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Redirected to http://test.host/products/53df51e27735331241760000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241790000'), "name"=>"Orval Bergnaum", "reference"=>"Geoffrey Kulas", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241770000'), "author_name"=>"Leslie Carroll MD", "content"=>["Minus ad modi deleniti. Nobis quisquam modi dolorem dolores. Quo voluptas eos quia ut. Quis provident illum qui voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241780000'), "author_name"=>"Alyce Quitzon", "content"=>["Quasi excepturi aliquid et quo adipisci. Qui doloribus veritatis facere odio cumque eligendi modi. Doloribus maiores voluptatem. Officiis consequatur rerum dolor. Cum alias numquam itaque molestiae maxime esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df51e27735331241790000", "comment_id"=>"53df51e27735331241770000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241790000'), "comments._id"=>BSON::ObjectId('53df51e27735331241770000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df51e277353312417a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6260ms Redirected to http://test.host/products/53df51e27735331241790000/comments/53df51e27735331241770000/comments/53df51e277353312417a0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e277353312417d0000'), "name"=>"Shany Klein", "reference"=>"Adelbert Jerde", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312417b0000'), "author_name"=>"Cody Kilback I", "content"=>["Ut laudantium vero nostrum esse labore. Perferendis iure earum ut architecto et voluptatibus. A libero accusamus voluptates ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312417c0000'), "author_name"=>"Lesly Hermiston", "content"=>["Itaque voluptatem quia. Qui dignissimos sint. Dolorem tempora est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312417d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df51e277353312417d0000", "comment_id"=>"53df51e277353312417b0000", "id"=>"53df51e277353312417c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312417d0000')} 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('53df51e277353312417d0000'), "comments._id"=>BSON::ObjectId('53df51e277353312417b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df51e277353312417c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Redirected to http://test.host/products/53df51e277353312417d0000/comments/53df51e277353312417b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312417d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241800000'), "name"=>"Lora Bashirian", "reference"=>"David Dooley IV", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312417e0000'), "author_name"=>"Asha Bashirian", "content"=>["Velit temporibus est incidunt. Corporis quis magni quidem illum quae beatae ut. Voluptas est corporis voluptatem nihil amet consequatur quod."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312417f0000'), "author_name"=>"Alison Watsica", "content"=>["Explicabo numquam harum. Voluptas qui suscipit enim ut qui sapiente sit. Quasi tempora nisi aut aliquam. Incidunt temporibus aut et consectetur qui at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df51e27735331241800000", "comment_id"=>"53df51e277353312417e0000", "id"=>"53df51e277353312417f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241800000')} 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.3ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241830000'), "name"=>"Polly Nader MD", "reference"=>"Karine Ward Sr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241810000'), "author_name"=>"Celestine Heaney", "content"=>["Ab impedit officia adipisci qui numquam. Maxime reiciendis sit quaerat quo illo. Facilis ullam porro velit ad dolores eaque. Vel et officiis unde dignissimos dolores iste rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241820000'), "author_name"=>"Ms. Erik Torp", "content"=>["Rerum recusandae culpa amet non. Doloribus vitae quis voluptas omnis corrupti assumenda. Ut atque eaque distinctio et dolorem ut. Sit eius recusandae dolor alias laborum. Quis magni amet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df51e27735331241830000", "comment_id"=>"53df51e27735331241810000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241860000'), "name"=>"Waino Lynch", "reference"=>"Dr. Cody Wintheiser", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241840000'), "author_name"=>"Abel Cassin", "content"=>["Quo voluptatibus alias eveniet. Explicabo cumque alias labore sit pariatur adipisci. Perspiciatis molestiae assumenda. Quis ipsum quod illo. Error fuga reiciendis dolorum voluptatem voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241850000'), "author_name"=>"Dominique Gutmann", "content"=>["Porro sed occaecati omnis quidem est in. Et qui cum sapiente illum ut voluptatem omnis. Placeat suscipit dolore qui dicta sapiente. Eius alias reprehenderit eligendi at. Corporis id quo et aspernatur rerum sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df51e27735331241860000", "comment_id"=>"53df51e27735331241840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241890000'), "name"=>"Titus Nienow", "reference"=>"Merl Hickle", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241870000'), "author_name"=>"Mrs. Alexys Renner", "content"=>["Minima tempore atque consectetur quis ullam et a. Qui voluptates sit est earum nobis. Est magnam quaerat nisi."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241880000'), "author_name"=>"Sallie Kuphal", "content"=>["Velit adipisci in voluptatum occaecati. Ipsam quidem enim sunt labore ut iusto. Omnis rerum voluptates sed recusandae dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df51e27735331241890000", "comment_id"=>"53df51e27735331241870000", "id"=>"53df51e27735331241880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e277353312418c0000'), "name"=>"Wendy Kris", "reference"=>"Ruben Stracke PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312418a0000'), "author_name"=>"Nathen Parker", "content"=>["Nam quidem eum molestiae iste corporis deleniti. Quas qui porro ratione perferendis id doloribus quo. Laudantium incidunt minima dolores quo. Sit et ducimus. Soluta esse aliquam sit distinctio in consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312418b0000'), "author_name"=>"Ozella Swift", "content"=>["Rerum quas non dolor vel. Qui nulla enim. Sed est fugiat vero quis consequuntur. Distinctio corrupti qui rem recusandae modi atque. Quibusdam dignissimos amet expedita est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df51e277353312418c0000", "comment_id"=>"53df51e277353312418a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312418c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e277353312418f0000'), "name"=>"Noelia Armstrong", "reference"=>"Sid Stanton", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312418d0000'), "author_name"=>"Yasmeen Frami DVM", "content"=>["Maxime sed odio eos laborum non. Necessitatibus iste deleniti quasi. Autem dolorum ex repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e277353312418e0000'), "author_name"=>"Jerrold Wiegand Sr.", "content"=>["Sit amet labore est soluta debitis excepturi distinctio. Non impedit dolorum cumque commodi recusandae non. Officiis aut impedit velit quaerat. Facere odio culpa asperiores ea id commodi iste. Omnis odio perspiciatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df51e277353312418f0000", "comment_id"=>"53df51e277353312418d0000", "id"=>"53df51e277353312418e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e277353312418f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df51e27735331241920000'), "name"=>"Aidan Bayer", "reference"=>"Zion MacGyver", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241900000'), "author_name"=>"Marques Hills", "content"=>["Ut quia ab ullam. Cumque dolorem quo incidunt voluptas. Accusantium velit similique autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df51e27735331241910000'), "author_name"=>"Dolly Treutel MD", "content"=>["Et dicta aut voluptates qui velit. Repudiandae iure adipisci et. Sed doloribus qui ut voluptate minima adipisci. Eum eius officia eos officiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df51e27735331241910000", "product_id"=>"53df51e27735331241920000", "comment_id"=>"53df51e27735331241900000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df51e27735331241920000'), "comments._id"=>BSON::ObjectId('53df51e27735331241900000'), "comments.0.comments._id"=>BSON::ObjectId('53df51e27735331241910000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Redirected to http://test.host/products/53df51e27735331241920000/comments/53df51e27735331241900000/comments/53df51e27735331241910000 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('53df51e27735331241930000'), "firstname"=>"Paxton", "lastname"=>"Leuschke"}] 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=>"admin_users", :query=>{}} runtime: 0.1270ms 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('53df51e27735331241940000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms Redirected to http://test.host/users/53df51e27735331241940000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1556ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e27735331241950000'), "firstname"=>"Tressie", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1349ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df51e27735331241950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e27735331241950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e27735331241950000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4732ms 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.2135ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e27735331241960000'), "firstname"=>"Marcelle", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df51e27735331241960000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e27735331241960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 31ms (Views: 29.8ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e27735331241970000'), "firstname"=>"Elijah", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms 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.3351ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.9ms) Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e27735331241980000'), "firstname"=>"Blanche", "lastname"=>"Waelchi"}] 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 (33.5ms) Completed 200 OK in 36ms (Views: 35.9ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e27735331241990000'), "firstname"=>"Lavina", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df51e27735331241990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e27735331241990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms Completed 200 OK in 4ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df51e277353312419a0000'), "firstname"=>"Carmelo", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df51e277353312419a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df51e277353312419a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Unpermitted parameters: name Redirected to http://test.host/users/53df51e277353312419a0000 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.3481ms 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.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.3794ms 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 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.2772ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2000000'), "firstname"=>"Kimberly", "lastname"=>"Pollich"}] 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=>"administrators", :query=>{}} runtime: 0.1736ms 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('53df526f77353312f2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms 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.1902ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2020000'), "firstname"=>"Kaylah", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df526f77353312f2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 50ms (Views: 49.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2030000'), "firstname"=>"Delmer", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2040000'), "firstname"=>"Jerald", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df526f77353312f2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2050000'), "firstname"=>"Janick", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df526f77353312f2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms 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('53df526f77353312f2060000'), "name"=>"Sienna Mertz", "reference"=>"Lourdes Casper", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2070000'), "author_name"=>"Abby Feest", "content"=>["Autem quaerat consequatur velit quia quia dignissimos ut. Ab doloremque qui alias ut officiis. Fugit delectus illo esse. Assumenda occaecati dolor et in voluptatum. Ab facilis aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df526f77353312f2060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2060000')} 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('53df526f77353312f2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df526f77353312f2080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms Redirected to http://test.host/admin/products/53df526f77353312f2060000/comments/53df526f77353312f2080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2090000'), "name"=>"Ivy Price", "reference"=>"Euna Ruecker", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f20a0000'), "author_name"=>"Lavon Hauck I", "content"=>["Et occaecati impedit quod voluptas debitis. Quia facere autem. Temporibus et laborum possimus. Aspernatur officia vel et porro soluta necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df526f77353312f2090000", "id"=>"53df526f77353312f20a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2090000')} 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('53df526f77353312f2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df526f77353312f20a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms Redirected to http://test.host/admin/products/53df526f77353312f2090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f20b0000'), "name"=>"Kaylee Borer", "reference"=>"Tyrese Rutherford", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f20c0000'), "author_name"=>"Armando Hand MD", "content"=>["Est itaque eum accusantium rerum. Aliquid aperiam autem laboriosam. Voluptas eligendi repellat quos et dignissimos facere adipisci. Numquam adipisci autem architecto non eligendi reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df526f77353312f20b0000", "id"=>"53df526f77353312f20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f20b0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f20d0000'), "name"=>"Alden King", "reference"=>"Jaron Witting", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f20e0000'), "author_name"=>"Vernice Muller", "content"=>["Ut nulla et maiores earum. Illo maiores atque officia. Velit qui animi sit rerum officia aut distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df526f77353312f20d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f20f0000'), "name"=>"Miss Alec Crona", "reference"=>"Annabel Bergstrom", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2100000'), "author_name"=>"Hillard Quigley", "content"=>["Rem similique est nam aut non. Quisquam eum placeat. Dolorum atque voluptatibus sed beatae in eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df526f77353312f20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2110000'), "name"=>"Dr. Roel Littel", "reference"=>"Mittie Champlin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2120000'), "author_name"=>"Ricky Pacocha", "content"=>["Doloribus et ullam voluptatem explicabo maxime veniam. Aut ipsa quis minima occaecati et. Alias quidem occaecati facilis. Temporibus a ea doloribus veritatis eos molestiae. Molestiae dolores ut corrupti et ducimus accusantium mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df526f77353312f2110000", "id"=>"53df526f77353312f2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2130000'), "name"=>"Letitia McCullough", "reference"=>"Dayne Kemmer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2140000'), "author_name"=>"Hertha Bashirian", "content"=>["Quam explicabo mollitia autem. Et vitae alias ab animi commodi cum ut. Nisi veritatis rerum iusto dicta. Ad rerum iure eius et qui iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df526f77353312f2140000", "product_id"=>"53df526f77353312f2130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2130000'), "comments._id"=>BSON::ObjectId('53df526f77353312f2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5785ms Redirected to http://test.host/admin/products/53df526f77353312f2130000/comments/53df526f77353312f2140000 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('53df526f77353312f2150000'), "name"=>"Maymie Boehm", "reference"=>"Antone Hahn", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2160000'), "firstname"=>"Breana", "lastname"=>"McClure"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6271ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df526f77353312f2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5711ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms Redirected to http://test.host/admin/products/53df526f77353312f2150000/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('53df526f77353312f2180000'), "name"=>"Charlie Prosacco", "reference"=>"Brian Ryan", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2190000'), "firstname"=>"Lina", "lastname"=>"Borer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5581ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df526f77353312f2190000", "product_id"=>"53df526f77353312f2180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4384ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f21a0000'), "name"=>"Candice Farrell", "reference"=>"Dee Kovacek", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f21b0000'), "firstname"=>"Conner", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df526f77353312f21a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4209ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f21c0000'), "name"=>"Max Toy", "reference"=>"Izaiah Senger", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f21d0000'), "firstname"=>"Shad", "lastname"=>"Larson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5710ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df526f77353312f21d0000", "product_id"=>"53df526f77353312f21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f21e0000'), "name"=>"Dena Spencer DVM", "reference"=>"Dr. Marisol Reilly", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f21f0000'), "firstname"=>"Theo", "lastname"=>"Conn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df526f77353312f21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df526f77353312f21e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df526f77353312f21e0000/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('53df526f77353312f2200000'), "name"=>"Linwood Kuphal", "reference"=>"Ilene Ondricka", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.2567ms 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('53df526f77353312f2210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms Redirected to http://test.host/admin/products/53df526f77353312f2210000 Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2618ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2220000'), "name"=>"Alaina Bruen", "reference"=>"Emile Okuneva", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3421ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df526f77353312f2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2220000')} 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={"_id"=>BSON::ObjectId('53df526f77353312f2220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2581ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2230000'), "name"=>"Cornelius Von", "reference"=>"Maegan Schimmel", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df526f77353312f2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2240000'), "name"=>"Jaycee Lockman", "reference"=>"Afton Watsica", "quantity"=>"1"}] 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.6258ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.4ms) Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2250000'), "name"=>"Tevin Thompson", "reference"=>"Mrs. Tavares Bailey", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms 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: 4.4ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2280000'), "name"=>"Bulah Olson", "reference"=>"Lonnie Roob I", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df526f77353312f2280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms 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('53df526f77353312f2290000'), "name"=>"Dr. Mitchell Funk", "reference"=>"Ms. Amalia DuBuque", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df526f77353312f2290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Redirected to http://test.host/admin/products/53df526f77353312f2290000 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('53df526f77353312f22a0000'), "firstname"=>"Melody", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2188ms 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('53df526f77353312f22b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Redirected to http://test.host/admin/users/53df526f77353312f22b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2322ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df526f77353312f22c0000'), "firstname"=>"Neva", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1488ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df526f77353312f22c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df526f77353312f22c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df526f77353312f22c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms 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.1447ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df526f77353312f22d0000'), "firstname"=>"Ervin", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df526f77353312f22d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df526f77353312f22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df526f77353312f22e0000'), "firstname"=>"Donnell", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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.3284ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.5ms) 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('53df526f77353312f22f0000'), "firstname"=>"Clifford", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2300000'), "firstname"=>"Lon", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df526f77353312f2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df526f77353312f2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms 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('53df526f77353312f2310000'), "firstname"=>"Cecelia", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4598ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df526f77353312f2310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df526f77353312f2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df526f77353312f2310000 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('53df526f77353312f2320000'), "firstname"=>"Jamaal", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1370ms 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('53df526f77353312f2330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms 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.1593ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2340000'), "firstname"=>"Kirsten", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df526f77353312f2340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2350000'), "firstname"=>"Orlo", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2360000'), "firstname"=>"Clarissa", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df526f77353312f2360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2370000'), "firstname"=>"Augustine", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df526f77353312f2370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df526f77353312f2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms ------------------------------------------- CategorysControllerTest: test_should_create ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2380000'), "name"=>"Mrs. Odessa Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1385ms -------------------------------------------- CategorysControllerTest: test_should_destroy -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2390000'), "name"=>"Kira Buckridge IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2057ms --------------------------------------------- CategorysControllerTest: test_should_get_edit --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23a0000'), "name"=>"Ms. Jakayla McGlynn"}] 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={"category_id"=>BSON::ObjectId('53df526f77353312f23a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms ---------------------------------------------- CategorysControllerTest: test_should_get_index ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23b0000'), "name"=>"Landen Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms --------------------------------------------------- CategorysControllerTest: test_should_get_json_index --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23c0000'), "name"=>"Mrs. Ida Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f23c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms -------------------------------------------------- CategorysControllerTest: test_should_get_json_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23d0000'), "name"=>"Bonnie Gleason Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms -------------------------------------------- CategorysControllerTest: test_should_get_new -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23e0000'), "name"=>"Cloyd Roob DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f23e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms --------------------------------------------- CategorysControllerTest: test_should_get_show --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f23f0000'), "name"=>"Tevin Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms ------------------------------------------------ CategorysControllerTest: test_should_json_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2400000'), "name"=>"Coleman Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1419ms ------------------------------------------------- CategorysControllerTest: test_should_json_destroy ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2410000'), "name"=>"Jacinto Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms ---------------------------------------------------- CategorysControllerTest: test_should_json_not_create ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2420000'), "name"=>"Gretchen Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms ------------------------------------------------ CategorysControllerTest: test_should_json_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2430000'), "name"=>"Wilfredo Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms ------------------------------------------- CategorysControllerTest: test_should_update ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2440000'), "name"=>"Marilie Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df526f77353312f2440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2450000'), "name"=>"Joey Goldner", "reference"=>"Isabel Howell", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2460000'), "author_name"=>"Mrs. Valentin Kutch", "content"=>["Et ipsum consequuntur expedita minus ipsam nam iste. Sit necessitatibus assumenda quisquam est qui. Sint pariatur aut consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df526f77353312f2450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2450000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df526f77353312f2470000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms Redirected to http://test.host/products/53df526f77353312f2450000/comments/53df526f77353312f2470000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2480000'), "name"=>"Alexandrea Jacobi", "reference"=>"Johathan Dooley", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2490000'), "author_name"=>"Mathias Pollich", "content"=>["Quibusdam corrupti suscipit aperiam omnis nihil asperiores officia. Itaque adipisci sequi et nesciunt enim iste quia. Similique debitis qui et ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df526f77353312f2480000", "id"=>"53df526f77353312f2490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2480000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df526f77353312f2490000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Redirected to http://test.host/products/53df526f77353312f2480000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f24a0000'), "name"=>"Miss Ewald Paucek", "reference"=>"Maryam Flatley IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f24b0000'), "author_name"=>"Barrett Crooks", "content"=>["Perspiciatis sint provident et. Excepturi enim eaque mollitia nihil molestiae. Autem dolorem et consequatur natus eos doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df526f77353312f24a0000", "id"=>"53df526f77353312f24b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f24a0000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f24c0000'), "name"=>"Kirstin Roob V", "reference"=>"Zelda Howell", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f24d0000'), "author_name"=>"Mrs. Gisselle Veum", "content"=>["Enim perferendis modi animi qui. Nihil quia quaerat omnis nobis consequuntur. Consequatur dolor accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df526f77353312f24c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f24c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f24e0000'), "name"=>"Teagan White", "reference"=>"Lula Kutch", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f24f0000'), "author_name"=>"Kiel Russel DVM", "content"=>["Id nisi vel. Voluptatem veniam perferendis. Sunt quia accusamus saepe qui tenetur placeat. Fugit laborum aut enim amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df526f77353312f24e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2500000'), "name"=>"Elijah Rutherford", "reference"=>"Viola Kovacek", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2510000'), "author_name"=>"Kailyn Mann", "content"=>["Exercitationem voluptas magni incidunt rerum error voluptatem vero. Sapiente corrupti sunt. Sint dolore quisquam assumenda omnis sapiente deleniti laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df526f77353312f2500000", "id"=>"53df526f77353312f2510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2520000'), "name"=>"Carmine Schiller", "reference"=>"Mr. Meaghan Luettgen", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2530000'), "author_name"=>"Melyssa Wuckert IV", "content"=>["Harum qui ab officiis ipsam id provident odit. Voluptas voluptas reiciendis at. Occaecati amet atque et non delectus sunt voluptatem. Voluptatum quia aperiam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5695ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df526f77353312f2520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2540000'), "name"=>"Shawna Mann", "reference"=>"Augustus Breitenberg", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2550000'), "author_name"=>"Felicia Cronin", "content"=>["Sapiente fugit dolore recusandae ipsam aliquam sunt aut. Occaecati quisquam cupiditate. Nihil rerum et impedit enim. Consequatur beatae vel aut corporis accusantium sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df526f77353312f2540000", "id"=>"53df526f77353312f2550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2560000'), "name"=>"Vance Leffler", "reference"=>"Lazaro Morissette", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df526f77353312f2570000'), "author_name"=>"Lia Ratke", "content"=>["Repellendus harum et. Voluptates numquam vel magnam natus expedita. Deserunt qui ipsam explicabo id enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df526f77353312f2570000", "product_id"=>"53df526f77353312f2560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2560000')} 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('53df526f77353312f2560000'), "comments._id"=>BSON::ObjectId('53df526f77353312f2570000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Redirected to http://test.host/products/53df526f77353312f2560000/comments/53df526f77353312f2570000 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('53df526f77353312f2580000'), "firstname"=>"Myles", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5028ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2131ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2590000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Redirected to http://test.host/admin/clients/53df526f77353312f2590000 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('53df526f77353312f25a0000'), "firstname"=>"Juwan", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms 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"=>"53df526f77353312f25a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms 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.1690ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f25b0000'), "firstname"=>"Jennifer", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df526f77353312f25b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53df526f77353312f25c0000'), "firstname"=>"Lessie", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms 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('53df526f77353312f25d0000'), "firstname"=>"Felton", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms 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('53df526f77353312f25e0000'), "firstname"=>"Enrique", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df526f77353312f25e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f25f0000'), "firstname"=>"Gerson", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df526f77353312f25f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f25f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9638ms Redirected to http://test.host/admin/clients/53df526f77353312f25f0000 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('53df526f77353312f2600000'), "firstname"=>"Ottilie", "lastname"=>"Mertz"}] 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.3177ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2610000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4753ms Redirected to http://test.host/clients/53df526f77353312f2610000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3467ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2620000'), "firstname"=>"Cooper", "lastname"=>"Collier"}] 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=>"clients", :query=>{}} runtime: 0.3133ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df526f77353312f2620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4029ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2620000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms 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.2940ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2630000'), "firstname"=>"Delta", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df526f77353312f2630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms 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('53df526f77353312f2640000'), "firstname"=>"Eladio", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4159ms 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('53df526f77353312f2650000'), "firstname"=>"Charity", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms 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.4ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2660000'), "firstname"=>"Madilyn", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df526f77353312f2660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms 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('53df526f77353312f2670000'), "firstname"=>"Ricardo", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df526f77353312f2670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df526f77353312f2670000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms Redirected to http://test.host/clients/53df526f77353312f2670000 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('53df526f77353312f2680000'), "name"=>"Dr. Dudley Hagenes", "reference"=>"Miss Alexis Walsh", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2690000'), "firstname"=>"Wilhelm", "lastname"=>"Durgan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5662ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df526f77353312f2680000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4295ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2680000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2680000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f26a0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Redirected to http://test.host/products/53df526f77353312f2680000/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('53df526f77353312f26b0000'), "name"=>"Lera Gerlach", "reference"=>"Eliane Mueller", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f26c0000'), "firstname"=>"Golden", "lastname"=>"Champlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7038ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df526f77353312f26c0000", "product_id"=>"53df526f77353312f26b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f26b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f26d0000'), "name"=>"Destany Jakubowski", "reference"=>"Keith Wolf Jr.", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f26e0000'), "firstname"=>"Leda", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df526f77353312f26d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f26d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f26f0000'), "name"=>"Mr. Weldon Williamson", "reference"=>"Howell Kirlin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2700000'), "firstname"=>"Clemens", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5654ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df526f77353312f2700000", "product_id"=>"53df526f77353312f26f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f26f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4435ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2710000'), "name"=>"Marielle Jakubowski", "reference"=>"Nicolas Ritchie", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df526f77353312f2720000'), "firstname"=>"Freeman", "lastname"=>"Spinka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df526f77353312f2720000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df526f77353312f2710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms Unpermitted parameters: name Redirected to http://test.host/products/53df526f77353312f2710000/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('53df526f77353312f2730000'), "name"=>"Vivienne Jast", "reference"=>"Alycia Lueilwitz", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2882ms 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('53df526f77353312f2740000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms Redirected to http://test.host/products/53df526f77353312f2740000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3291ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2750000'), "name"=>"Glen Maggio", "reference"=>"Mr. Arvilla Gaylord", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2963ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df526f77353312f2750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2750000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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.2882ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2760000'), "name"=>"America Weissnat V", "reference"=>"Dr. Christop Hettinger", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df526f77353312f2760000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df526f77353312f2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df526f77353312f2770000'), "name"=>"Kylee Larson II", "reference"=>"Abel Stehr MD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms 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.8179ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (54.1ms) Completed 200 OK in 57ms (Views: 56.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2780000'), "name"=>"Lucinda Ebert", "reference"=>"Dr. Leilani Herman", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5247ms 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.8091ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2790000'), "name"=>"Eldred Murazik", "reference"=>"Rasheed Ondricka", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df527077353312f2790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms 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('53df527077353312f27a0000'), "name"=>"Elna Schamberger V", "reference"=>"Kaylah Okuneva", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f27c0000'), "name"=>"Maida Berge", "reference"=>"Ms. Rudolph Cruickshank", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df527077353312f27c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f27c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f27d0000'), "name"=>"Antwan Olson DVM", "reference"=>"Dr. Brook Lueilwitz", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1410ms 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('53df527077353312f27e0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2576ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f27f0000'), "name"=>"Dakota Prohaska", "reference"=>"Zita Strosin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df527077353312f27f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f27f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f27f0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms 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('53df527077353312f2800000'), "name"=>"Miss Margaretta Crist", "reference"=>"Devyn Okuneva PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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('53df527077353312f2820000'), "name"=>"Rebekah Armstrong", "reference"=>"Ray Ondricka", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df527077353312f2820000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2820000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms 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('53df527077353312f2830000'), "name"=>"Frederic Aufderhar", "reference"=>"Armani Daugherty", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df527077353312f2830000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2830000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Redirected to http://test.host/products/53df527077353312f2830000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2860000'), "name"=>"Schuyler Lehner", "reference"=>"Nettie Walker", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2840000'), "author_name"=>"Ms. Alda Williamson", "content"=>["Omnis quisquam voluptas est. Voluptas perferendis vero distinctio. Id eum corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2850000'), "author_name"=>"Providenci Tromp II", "content"=>["Ut aspernatur et. Ut quas et rerum sit ullam non rem. Impedit et quos ea perspiciatis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df527077353312f2860000", "comment_id"=>"53df527077353312f2840000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2860000'), "comments._id"=>BSON::ObjectId('53df527077353312f2840000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df527077353312f2870000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms Redirected to http://test.host/products/53df527077353312f2860000/comments/53df527077353312f2840000/comments/53df527077353312f2870000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f28a0000'), "name"=>"Hilma Marks III", "reference"=>"Oswald Hyatt DVM", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2880000'), "author_name"=>"Jamir Hilpert II", "content"=>["Mollitia alias voluptas temporibus cupiditate. Provident a aut nihil. Consequuntur deserunt velit delectus. Consequatur pariatur assumenda tempora dolore vel voluptatem. In ex sunt error ut ab nobis."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2890000'), "author_name"=>"Nicola Johnston", "content"=>["Sit aut officia hic nulla. Eaque possimus nihil qui est dicta ex. Officiis quibusdam deserunt mollitia. Quidem inventore unde accusantium nisi modi molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4236ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df527077353312f28a0000", "comment_id"=>"53df527077353312f2880000", "id"=>"53df527077353312f2890000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f28a0000'), "comments._id"=>BSON::ObjectId('53df527077353312f2880000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df527077353312f2890000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms Redirected to http://test.host/products/53df527077353312f28a0000/comments/53df527077353312f2880000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f28d0000'), "name"=>"Stanley Lynch DVM", "reference"=>"Mathias Thompson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f28b0000'), "author_name"=>"Neha Effertz", "content"=>["Voluptas omnis est. Nam fuga molestiae architecto quos iure quia provident. Blanditiis qui asperiores. Repellat voluptatum non id cupiditate suscipit assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f28c0000'), "author_name"=>"Ariel Lang", "content"=>["Amet iure aut. Aut ut consequatur nobis reprehenderit et. Vel reiciendis est voluptate ullam sit nam. Incidunt ut perspiciatis natus et velit facilis delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df527077353312f28d0000", "comment_id"=>"53df527077353312f28b0000", "id"=>"53df527077353312f28c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f28d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2900000'), "name"=>"Novella Johns", "reference"=>"Elena Hackett", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f28e0000'), "author_name"=>"Houston Predovic", "content"=>["Eum iste ut. Quia omnis quia odio inventore facere. Totam omnis velit eius corrupti. Est modi hic nisi nihil ipsa sed. Quia nostrum quod dignissimos quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f28f0000'), "author_name"=>"Ottilie Dickinson", "content"=>["Rem ipsum dolorum. Nemo odit reiciendis sed. Voluptatem quo incidunt dolore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df527077353312f2900000", "comment_id"=>"53df527077353312f28e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2930000'), "name"=>"Ericka Skiles", "reference"=>"Mr. Gaetano Lynch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2910000'), "author_name"=>"Eulah Nolan", "content"=>["Quis reiciendis ut molestiae reprehenderit dolor sunt. Voluptatem quisquam modi. Ut sed eum dolor maiores. Voluptas est quidem ipsam eum facere est. A voluptatem molestias minima reprehenderit."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2920000'), "author_name"=>"Marlin Weber", "content"=>["Et labore voluptates aut et nihil iste. Eos rem molestiae. Error blanditiis facilis exercitationem quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df527077353312f2930000", "comment_id"=>"53df527077353312f2910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2960000'), "name"=>"Sandra Hermiston", "reference"=>"Delphine Zieme", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2940000'), "author_name"=>"Trinity Lang", "content"=>["Vel soluta placeat distinctio aut aut at. Nihil nemo optio aspernatur ut a quasi. Pariatur libero et voluptatem veniam sed ullam. Voluptas quo sint doloribus optio dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2950000'), "author_name"=>"Anita Dicki", "content"=>["Esse similique optio sunt assumenda. Aut ipsum facere enim omnis itaque aut amet. Doloribus ut et deserunt velit unde expedita laboriosam. Ut eum minus reprehenderit. Illo excepturi quidem odit tenetur voluptas voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df527077353312f2960000", "comment_id"=>"53df527077353312f2940000", "id"=>"53df527077353312f2950000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f2990000'), "name"=>"Ryley Hauck", "reference"=>"Ms. Natalia Flatley", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2970000'), "author_name"=>"Enrique Schinner", "content"=>["Et quod magnam. Accusantium optio omnis aut aut blanditiis enim dolores. Vitae iure nulla enim ea consectetur autem magni. Labore veritatis harum autem amet et est."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f2980000'), "author_name"=>"Darryl Stiedemann", "content"=>["Distinctio tempora eos. Qui tempora consequatur commodi modi fuga non voluptatem. Illum dolorem mollitia corrupti. Sunt sed consequuntur quis. Omnis numquam quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df527077353312f2990000", "comment_id"=>"53df527077353312f2970000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f29c0000'), "name"=>"Mrs. Ramona Murphy", "reference"=>"Madison Skiles", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f29a0000'), "author_name"=>"Janie Senger PhD", "content"=>["Autem rem occaecati esse modi quia. Sapiente et velit vitae quis. Quis aut cumque sint natus."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f29b0000'), "author_name"=>"Tony Hammes", "content"=>["Dignissimos vitae non cum. Et minus iste provident amet blanditiis atque aut. Officia reprehenderit qui qui corrupti. Iste reiciendis necessitatibus ab. Pariatur consequatur incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df527077353312f29c0000", "comment_id"=>"53df527077353312f29a0000", "id"=>"53df527077353312f29b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f29c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Completed 200 OK in 42ms (Views: 5.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df527077353312f29f0000'), "name"=>"Tevin Harvey", "reference"=>"Turner King", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f29d0000'), "author_name"=>"Aurelie Ledner", "content"=>["Animi laudantium cum et. Error rerum dolor amet veniam rerum. Sint eveniet ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('53df527077353312f29e0000'), "author_name"=>"Reba Walsh", "content"=>["Temporibus aperiam eos animi qui ut at. Autem cumque cupiditate. Ad consequatur rerum placeat accusamus dolorem iste est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df527077353312f29e0000", "product_id"=>"53df527077353312f29f0000", "comment_id"=>"53df527077353312f29d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df527077353312f29f0000'), "comments._id"=>BSON::ObjectId('53df527077353312f29d0000'), "comments.0.comments._id"=>BSON::ObjectId('53df527077353312f29e0000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Redirected to http://test.host/products/53df527077353312f29f0000/comments/53df527077353312f29d0000/comments/53df527077353312f29e0000 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('53df527077353312f2a00000'), "firstname"=>"Chesley", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1919ms 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('53df527077353312f2a10000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms Redirected to http://test.host/users/53df527077353312f2a10000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1765ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df527077353312f2a20000'), "firstname"=>"Sarah", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1440ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df527077353312f2a20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df527077353312f2a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df527077353312f2a20000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms 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('53df527077353312f2a30000'), "firstname"=>"Francisco", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df527077353312f2a30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df527077353312f2a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms 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('53df527077353312f2a40000'), "firstname"=>"Miller", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms 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.3632ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.4ms) Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df527077353312f2a50000'), "firstname"=>"Madaline", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms 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.5ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df527077353312f2a60000'), "firstname"=>"Caitlyn", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df527077353312f2a60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df527077353312f2a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms 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('53df527077353312f2a70000'), "firstname"=>"Heloise", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df527077353312f2a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df527077353312f2a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms Unpermitted parameters: name Redirected to http://test.host/users/53df527077353312f2a70000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7050ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms 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.3021ms 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.2552ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a000000'), "firstname"=>"Geoffrey", "lastname"=>"Crona"}] 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=>"administrators", :query=>{}} runtime: 0.2439ms 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('53df5287773533133a010000'), "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.2515ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a020000'), "firstname"=>"Estell", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df5287773533133a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) 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('53df5287773533133a030000'), "firstname"=>"Kellen", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.2059ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a040000'), "firstname"=>"Xzavier", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df5287773533133a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a050000'), "firstname"=>"Deborah", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df5287773533133a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms 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('53df5287773533133a060000'), "name"=>"Abdiel Stehr", "reference"=>"Tia Mueller", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a070000'), "author_name"=>"Camden O'Reilly", "content"=>["Quod dignissimos sunt facere assumenda. Officia dolores perferendis. Magnam exercitationem omnis explicabo."]}]}] 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('53df5287773533133a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5287773533133a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a060000')} 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('53df5287773533133a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5287773533133a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Redirected to http://test.host/admin/products/53df5287773533133a060000/comments/53df5287773533133a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a090000'), "name"=>"Coty Gerlach", "reference"=>"Leslie Hoeger Sr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a0a0000'), "author_name"=>"Bryon Goyette", "content"=>["Libero dolorem eaque et non illo illum. Enim voluptatem distinctio dolor autem. Dignissimos fuga quas eum sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df5287773533133a090000", "id"=>"53df5287773533133a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a090000')} 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('53df5287773533133a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5287773533133a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms Redirected to http://test.host/admin/products/53df5287773533133a090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a0b0000'), "name"=>"Coleman Hermiston IV", "reference"=>"Rhiannon Heidenreich Jr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a0c0000'), "author_name"=>"Annabel Fritsch", "content"=>["Minima sunt consequatur aspernatur omnis. Similique officiis vitae porro possimus. Nisi adipisci et quod saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df5287773533133a0b0000", "id"=>"53df5287773533133a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a0b0000')} 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.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a0d0000'), "name"=>"Ford Kemmer", "reference"=>"Evangeline Lynch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a0e0000'), "author_name"=>"Judge Roberts", "content"=>["Omnis praesentium ullam. Saepe qui omnis atque aliquam quae. Dolores et architecto adipisci. Dolor molestiae rerum distinctio. Ab explicabo sed repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df5287773533133a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a0f0000'), "name"=>"Adrian Gorczany", "reference"=>"Rogelio Frami", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a100000'), "author_name"=>"Ms. Peter Rutherford", "content"=>["Aperiam magni ipsa placeat. Error qui libero eum occaecati magnam non. Nisi necessitatibus laborum qui quia tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df5287773533133a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a110000'), "name"=>"Camilla Huels", "reference"=>"Miss Madelynn Dooley", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a120000'), "author_name"=>"Kaycee Balistreri", "content"=>["Dolor ipsum omnis iure. Porro quis maiores sed neque omnis. A consequatur vero ducimus neque ut. Itaque ut aut labore et est sit iure. Id soluta non ea omnis odio quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df5287773533133a110000", "id"=>"53df5287773533133a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a130000'), "name"=>"Mr. Baron Torp", "reference"=>"Mazie Parker", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a140000'), "author_name"=>"Arnoldo Carroll", "content"=>["Ipsam voluptas doloremque aspernatur eos. Et necessitatibus harum molestiae temporibus labore. Quod distinctio excepturi et. Quisquam officia quia laborum maxime nihil labore ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5287773533133a140000", "product_id"=>"53df5287773533133a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a130000')} 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('53df5287773533133a130000'), "comments._id"=>BSON::ObjectId('53df5287773533133a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5370ms Redirected to http://test.host/admin/products/53df5287773533133a130000/comments/53df5287773533133a140000 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('53df5287773533133a150000'), "name"=>"Mrs. Lamont Funk", "reference"=>"Monty Gislason IV", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a160000'), "firstname"=>"Pearl", "lastname"=>"Rogahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df5287773533133a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms Redirected to http://test.host/admin/products/53df5287773533133a150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a180000'), "name"=>"Vincent Gorczany", "reference"=>"Ara Rempel III", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a190000'), "firstname"=>"Derick", "lastname"=>"Smitham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df5287773533133a190000", "product_id"=>"53df5287773533133a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a1a0000'), "name"=>"Shakira Veum DVM", "reference"=>"Monique Durgan", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a1b0000'), "firstname"=>"Julie", "lastname"=>"Volkman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df5287773533133a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a1c0000'), "name"=>"Kennedy Brekke", "reference"=>"Verlie Hauck", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a1d0000'), "firstname"=>"Freddie", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df5287773533133a1d0000", "product_id"=>"53df5287773533133a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a1e0000'), "name"=>"Stephon Ziemann", "reference"=>"Celia Littel Jr.", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df5287773533133a1f0000'), "firstname"=>"Curt", "lastname"=>"Roberts"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df5287773533133a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df5287773533133a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df5287773533133a1e0000/manager 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('53df5287773533133a200000'), "name"=>"Mr. Shirley Little", "reference"=>"Cruz Kshlerin", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1419ms 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('53df5287773533133a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/admin/products/53df5287773533133a210000 Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a220000'), "name"=>"Irma Auer", "reference"=>"Ariel Kohler", "quantity"=>"3"}] 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.2083ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df5287773533133a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms 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.1707ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a230000'), "name"=>"Kelli Gleichner", "reference"=>"Arvid O'Conner", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df5287773533133a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a230000')} 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.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a240000'), "name"=>"Carlos Lebsack", "reference"=>"Natalia Koch", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms 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.4825ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (8.7ms) Completed 200 OK in 11ms (Views: 10.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a250000'), "name"=>"Tierra Koss", "reference"=>"Keagan Gorczany", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df5287773533133a280000'), "name"=>"Glen Heidenreich", "reference"=>"Kyla Berge", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df5287773533133a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms 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('53df5287773533133a290000'), "name"=>"Santa Rau", "reference"=>"Laila Dooley", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5287773533133a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Redirected to http://test.host/admin/products/53df5287773533133a290000 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('53df5287773533133a2a0000'), "firstname"=>"Ayana", "lastname"=>"Padberg"}] 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=>"admin_users", :query=>{}} runtime: 0.1278ms 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('53df5287773533133a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4379ms Redirected to http://test.host/admin/users/53df5287773533133a2b0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3584ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5287773533133a2c0000'), "firstname"=>"Callie", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3371ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df5287773533133a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5287773533133a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4681ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5287773533133a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms 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.3206ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5287773533133a2d0000'), "firstname"=>"Modesta", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df5287773533133a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5287773533133a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 10ms (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('53df5287773533133a2e0000'), "firstname"=>"Leopold", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms 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.4971ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (5.0ms) Completed 200 OK in 9ms (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('53df5287773533133a2f0000'), "firstname"=>"Serena", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms 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.7ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5287773533133a300000'), "firstname"=>"Alexander", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df5287773533133a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5287773533133a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms Completed 200 OK in 5ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5287773533133a310000'), "firstname"=>"Jerad", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df5287773533133a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5287773533133a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df5287773533133a310000 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('53df5287773533133a320000'), "firstname"=>"Ashton", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2767ms 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('53df5287773533133a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6811ms 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.2724ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a340000'), "firstname"=>"Martina", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df5287773533133a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a350000'), "firstname"=>"Maegan", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 9ms (Views: 8.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a360000'), "firstname"=>"Grace", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df5287773533133a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4814ms Completed 200 OK in 8ms (Views: 5.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5287773533133a370000'), "firstname"=>"Miles", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5952ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df5287773533133a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5287773533133a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 4ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a380000'), "name"=>"Kaleb Rohan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2677ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a390000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Redirected to http://test.host/categories/53df5287773533133a390000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2624ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3a0000'), "name"=>"Patience Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2474ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df5287773533133a3a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a3a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2430ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3b0000'), "name"=>"Maia Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df5287773533133a3b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.7ms) Completed 200 OK in 14ms (Views: 12.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3c0000'), "name"=>"Brandyn Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4258ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (4.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2510ms Completed 200 OK in 9ms (Views: 8.4ms) ---------------------------------------------------- CategoriesControllerTest: test_should_get_json_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3d0000'), "name"=>"Gussie Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms Processing by CategoriesController#index as JSON Completed 406 Not Acceptable in 1ms --------------------------------------------------- CategoriesControllerTest: test_should_get_json_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3e0000'), "name"=>"Mrs. Imelda Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Processing by CategoriesController#show as JSON Parameters: {"id"=>"53df5287773533133a3e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Completed 406 Not Acceptable in 2ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a3f0000'), "name"=>"Marlee Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a410000'), "name"=>"Leon Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df5287773533133a410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 5ms (Views: 3.8ms) ------------------------------------------------- CategoriesControllerTest: test_should_json_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a420000'), "name"=>"Miss Holden Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1935ms Processing by CategoriesController#create as JSON Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a430000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms Completed 406 Not Acceptable in 3ms -------------------------------------------------- CategoriesControllerTest: test_should_json_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a440000'), "name"=>"Mr. Verda Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms Processing by CategoriesController#destroy as JSON Parameters: {"id"=>"53df5287773533133a440000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a440000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms Completed 406 Not Acceptable in 2ms ----------------------------------------------------- CategoriesControllerTest: test_should_json_not_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a450000'), "name"=>"Maya Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms Processing by CategoriesController#create as JSON Parameters: {"category"=>{"quantity"=>1}} Unpermitted parameters: quantity Completed 406 Not Acceptable in 2ms ------------------------------------------------- CategoriesControllerTest: test_should_json_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a460000'), "name"=>"Moriah McClure IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms Processing by CategoriesController#update as JSON Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df5287773533133a460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a460000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms Completed 406 Not Acceptable in 4ms -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5287773533133a470000'), "name"=>"Everardo Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df5287773533133a470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5287773533133a470000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5287773533133a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms Redirected to http://test.host/categories/53df5287773533133a470000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a480000'), "name"=>"Mr. Darrin Sporer", "reference"=>"Ms. Kobe Tillman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a490000'), "author_name"=>"Ms. Lawrence Purdy", "content"=>["Explicabo non quasi. Eaque rerum praesentium officiis voluptate commodi debitis. Ipsum temporibus debitis ut voluptas. Voluptatum itaque magni et et qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5287773533133a480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a480000')} 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('53df5287773533133a480000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5287773533133a4a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms Redirected to http://test.host/products/53df5287773533133a480000/comments/53df5287773533133a4a0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a4b0000'), "name"=>"Roma Osinski", "reference"=>"Lexie Watsica", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a4c0000'), "author_name"=>"Gayle Streich", "content"=>["Non est porro rerum consequatur reiciendis. Tempore autem quia. Dolor expedita non nam aliquid facilis. Et sapiente aut iste enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df5287773533133a4b0000", "id"=>"53df5287773533133a4c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5287773533133a4c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Redirected to http://test.host/products/53df5287773533133a4b0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a4d0000'), "name"=>"Meghan Reichert", "reference"=>"Chester Smith", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a4e0000'), "author_name"=>"Kaitlyn Ruecker", "content"=>["Qui laborum dolorem rem odit ut maxime. Et vitae omnis consequatur qui corrupti. Minima in est quia iste est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df5287773533133a4d0000", "id"=>"53df5287773533133a4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a4f0000'), "name"=>"General Bednar III", "reference"=>"Mallory Jacobi", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a500000'), "author_name"=>"Elroy Abshire III", "content"=>["Velit qui optio reiciendis. Quidem sint qui. Temporibus impedit ut qui. Ullam non ipsam quod laborum aperiam. Quia quo sequi reprehenderit eos consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df5287773533133a4f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a510000'), "name"=>"Charlotte Zemlak", "reference"=>"Elmo Hagenes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a520000'), "author_name"=>"Dr. Santa Johnson", "content"=>["Voluptates ab architecto molestiae sint ut quis tempora. Veniam sunt officiis porro. Dolores error quia sequi eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df5287773533133a510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a530000'), "name"=>"Adele Bins", "reference"=>"Bernadette Kilback", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a540000'), "author_name"=>"Aaron Lindgren DVM", "content"=>["Dolores ea qui eum possimus. Tenetur quae quasi. Et quidem corrupti ea quia. Praesentium qui corporis autem omnis. Ab voluptates doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df5287773533133a530000", "id"=>"53df5287773533133a540000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a550000'), "name"=>"Werner Corwin", "reference"=>"Mathilde Kerluke", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a560000'), "author_name"=>"Ms. Veronica Mitchell", "content"=>["Deserunt et delectus vitae ab officia officiis. Sit iusto saepe voluptatem quia sunt quia rerum. Molestiae ratione excepturi est adipisci. Est impedit ab aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df5287773533133a550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a570000'), "name"=>"Jerome Gulgowski", "reference"=>"Shaniya Connelly", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a580000'), "author_name"=>"Mrs. Santos Witting", "content"=>["Illo vel incidunt enim accusantium omnis. Quasi sed dolorum ea nihil. Architecto fugiat exercitationem. In et delectus dicta ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df5287773533133a570000", "id"=>"53df5287773533133a580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5287773533133a590000'), "name"=>"German Hahn V", "reference"=>"Dolly Reynolds", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5287773533133a5a0000'), "author_name"=>"Mrs. Bertram Kub", "content"=>["Laudantium sequi dolores nesciunt voluptatem est aut. Alias sed molestias consequatur quibusdam. Sint enim modi laborum dolorem aliquam atque. Non distinctio sed et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5287773533133a5a0000", "product_id"=>"53df5287773533133a590000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5287773533133a590000')} 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('53df5287773533133a590000'), "comments._id"=>BSON::ObjectId('53df5287773533133a5a0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Redirected to http://test.host/products/53df5287773533133a590000/comments/53df5287773533133a5a0000 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('53df5287773533133a5b0000'), "firstname"=>"Jaylin", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1352ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5287773533133a5c0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms Redirected to http://test.host/admin/clients/53df5287773533133a5c0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2286ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5287773533133a5d0000'), "firstname"=>"Dortha", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1246ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df5287773533133a5d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5287773533133a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5287773533133a5d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms 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.1781ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5287773533133a5e0000'), "firstname"=>"Jarret", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df5287773533133a5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5287773533133a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df5287773533133a5f0000'), "firstname"=>"Brendan", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms 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('53df5288773533133a600000'), "firstname"=>"Nona", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5288773533133a610000'), "firstname"=>"Herminio", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df5288773533133a610000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms 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('53df5288773533133a620000'), "firstname"=>"Walker", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df5288773533133a620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a620000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Redirected to http://test.host/admin/clients/53df5288773533133a620000 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('53df5288773533133a630000'), "firstname"=>"Randal", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1501ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5288773533133a640000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms Redirected to http://test.host/clients/53df5288773533133a640000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2042ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5288773533133a650000'), "firstname"=>"Sandra", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3875ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3131ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df5288773533133a650000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a650000')} 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('53df5288773533133a650000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms 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.3355ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5288773533133a660000'), "firstname"=>"Brant", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df5288773533133a660000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df5288773533133a670000'), "firstname"=>"Salvador", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4947ms 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('53df5288773533133a680000'), "firstname"=>"Dominic", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5682ms 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('53df5288773533133a690000'), "firstname"=>"Curt", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5523ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df5288773533133a690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4086ms 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('53df5288773533133a6a0000'), "firstname"=>"Jammie", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df5288773533133a6a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5288773533133a6a0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms Redirected to http://test.host/clients/53df5288773533133a6a0000 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('53df5288773533133a6b0000'), "name"=>"Dejon Lockman", "reference"=>"Dr. Letha Kertzmann", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a6c0000'), "firstname"=>"Ray", "lastname"=>"Bruen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df5288773533133a6b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a6b0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a6b0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a6d0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Redirected to http://test.host/products/53df5288773533133a6b0000/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('53df5288773533133a6e0000'), "name"=>"Hilton Mraz", "reference"=>"Bernhard Dach", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a6f0000'), "firstname"=>"Patricia", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df5288773533133a6f0000", "product_id"=>"53df5288773533133a6e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a700000'), "name"=>"Morris Hyatt", "reference"=>"Frances Bahringer", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a710000'), "firstname"=>"Eriberto", "lastname"=>"Labadie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df5288773533133a700000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a720000'), "name"=>"Mrs. Vicenta Gusikowski", "reference"=>"Kelly Feest", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a730000'), "firstname"=>"Earnestine", "lastname"=>"Rowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df5288773533133a730000", "product_id"=>"53df5288773533133a720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a740000'), "name"=>"Virgie Block", "reference"=>"Lisandro Tromp Jr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df5288773533133a750000'), "firstname"=>"Oran", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5673ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df5288773533133a750000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df5288773533133a740000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms Unpermitted parameters: name Redirected to http://test.host/products/53df5288773533133a740000/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('53df5288773533133a760000'), "name"=>"Buford Schuster I", "reference"=>"Mr. Zella Gorczany", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2893ms 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('53df5288773533133a770000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5272ms Redirected to http://test.host/products/53df5288773533133a770000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3305ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a780000'), "name"=>"Mr. Judge Flatley", "reference"=>"Gilbert Lindgren", "quantity"=>"2"}] 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.2863ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df5288773533133a780000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a780000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms 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.2604ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a790000'), "name"=>"Lucius Tremblay", "reference"=>"Jamal Will PhD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df5288773533133a790000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a7a0000'), "name"=>"Lucio Kuphal", "reference"=>"Zack Bogan", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms 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.7004ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (17.3ms) Completed 200 OK in 20ms (Views: 19.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a7b0000'), "name"=>"Margaret Blanda II", "reference"=>"Jolie Quitzon I", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms 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.7821ms 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('53df5288773533133a7c0000'), "name"=>"Miss Sydnee Carroll", "reference"=>"Ms. Emmie Runolfsson", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df5288773533133a7c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a7d0000'), "name"=>"Zander Daniel", "reference"=>"Kyla Beahan", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df5288773533133a7f0000'), "name"=>"Cristal Ortiz", "reference"=>"Eliza Bailey", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df5288773533133a7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms Completed 200 OK in 7ms (Views: 5.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a800000'), "name"=>"Marcellus Green", "reference"=>"Delores Kirlin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3706ms 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('53df5288773533133a810000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5576ms Completed 201 Created in 4ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3072ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a820000'), "name"=>"Ralph Spencer", "reference"=>"Lupe Schulist", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5153ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df5288773533133a820000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5479ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a820000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Completed 200 OK in 4ms (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('53df5288773533133a830000'), "name"=>"Rossie Hauck", "reference"=>"Mr. Aniya Skiles", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a850000'), "name"=>"Justina Paucek", "reference"=>"Pearl Reynolds", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5288773533133a850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3917ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a850000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a860000'), "name"=>"Samson Walsh", "reference"=>"Joel Hintz", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5288773533133a860000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4335ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a860000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Redirected to http://test.host/products/53df5288773533133a860000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a890000'), "name"=>"Elyse Schamberger V", "reference"=>"Armando Beatty", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a870000'), "author_name"=>"Alysha Gorczany", "content"=>["Velit necessitatibus repudiandae fugiat ab. Tempora eligendi beatae nemo. Ullam soluta distinctio beatae deleniti corrupti quia porro."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a880000'), "author_name"=>"Kale Volkman", "content"=>["Culpa rerum tenetur occaecati eligendi voluptas laudantium. Molestiae provident velit voluptatem. Sapiente aut impedit est in. Necessitatibus autem ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5288773533133a890000", "comment_id"=>"53df5288773533133a870000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4525ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a890000'), "comments._id"=>BSON::ObjectId('53df5288773533133a870000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df5288773533133a8a0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7649ms Redirected to http://test.host/products/53df5288773533133a890000/comments/53df5288773533133a870000/comments/53df5288773533133a8a0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a8d0000'), "name"=>"Ms. Cheyanne Ebert", "reference"=>"Rosario Mante", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a8b0000'), "author_name"=>"Robert Ferry", "content"=>["Rem reprehenderit aliquid rerum. Consectetur architecto quisquam ea debitis molestias eum. Sit voluptatem hic eos consectetur. Et consequatur aut repellat sapiente facilis nihil. Error enim eum delectus commodi rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a8c0000'), "author_name"=>"Arno Pfeffer", "content"=>["Deserunt iusto et aspernatur. Amet praesentium quis quod voluptatem quaerat. Est error in sit reprehenderit omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3973ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df5288773533133a8d0000", "comment_id"=>"53df5288773533133a8b0000", "id"=>"53df5288773533133a8c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a8d0000'), "comments._id"=>BSON::ObjectId('53df5288773533133a8b0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df5288773533133a8c0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Redirected to http://test.host/products/53df5288773533133a8d0000/comments/53df5288773533133a8b0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a900000'), "name"=>"Shania Schamberger", "reference"=>"Abdul Hilll", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a8e0000'), "author_name"=>"Nola Olson IV", "content"=>["Rerum ut cupiditate. Omnis repudiandae qui quia pariatur dolorum distinctio vitae. Dolorum architecto quia ea facilis optio sit. Et qui debitis magni eius. Aut culpa architecto ab voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a8f0000'), "author_name"=>"Mr. Lola Beier", "content"=>["Repellendus distinctio natus sit. Id quas animi voluptatibus aliquid placeat. Temporibus odio totam eveniet inventore veniam dolores. Sapiente fugiat dicta ea. Velit rerum occaecati est provident commodi vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df5288773533133a900000", "comment_id"=>"53df5288773533133a8e0000", "id"=>"53df5288773533133a8f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4069ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 10ms (Views: 6.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a930000'), "name"=>"Kianna Hayes DVM", "reference"=>"Saige Kautzer", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a910000'), "author_name"=>"Gracie Dickens", "content"=>["Temporibus est quis architecto qui ducimus alias dolorem. Soluta rem sed accusantium temporibus. Nihil excepturi voluptatem possimus tempora."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a920000'), "author_name"=>"Marcelo Stoltenberg", "content"=>["Sit magni aliquid. Ipsam sed consequuntur iure a ad ea est. Rerum omnis earum nemo ab corrupti omnis aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df5288773533133a930000", "comment_id"=>"53df5288773533133a910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a960000'), "name"=>"Nils Renner I", "reference"=>"Taya Zemlak IV", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a940000'), "author_name"=>"Okey Ratke", "content"=>["Rerum placeat qui omnis. Quibusdam eaque accusantium qui. Et maiores non. Non maiores numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a950000'), "author_name"=>"Chadrick Haag", "content"=>["Velit qui minus. Dolor quia rerum consectetur sit eum quod repellendus. Ut vel fuga commodi. Repellendus laboriosam possimus vel aut dicta animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df5288773533133a960000", "comment_id"=>"53df5288773533133a940000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a990000'), "name"=>"Domenico Gottlieb", "reference"=>"Dr. Aric O'Kon", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a970000'), "author_name"=>"Cathrine Senger", "content"=>["Accusamus repellat perferendis perspiciatis nesciunt ad repudiandae. Rem commodi harum molestias velit. Odio quasi quod. Ex fugiat iusto. Et omnis quod laudantium."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a980000'), "author_name"=>"Mrs. Nicola Strosin", "content"=>["Sit non suscipit et. Expedita dolor vel architecto. Et ea consequatur. Dolor in illo facilis eum. Ea quaerat ut accusamus iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df5288773533133a990000", "comment_id"=>"53df5288773533133a970000", "id"=>"53df5288773533133a980000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a9c0000'), "name"=>"Shany Jerde", "reference"=>"Theron Kovacek", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a9a0000'), "author_name"=>"Sallie Willms", "content"=>["Similique aut dolorem architecto quia non. Sunt sit ad mollitia pariatur dolores exercitationem sunt. Facere maxime vero quae. Cupiditate quo dignissimos voluptas explicabo veniam."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a9b0000'), "author_name"=>"Alexandrea Ortiz Sr.", "content"=>["Quas saepe et et pariatur eos neque quia. Accusantium nihil placeat. Culpa repellendus temporibus enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df5288773533133a9c0000", "comment_id"=>"53df5288773533133a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133a9f0000'), "name"=>"Jalon Hirthe", "reference"=>"Tanner Streich", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a9d0000'), "author_name"=>"Mr. Michale Kerluke", "content"=>["Aperiam modi vel quod. Iste culpa expedita. Quia eveniet error asperiores. Non animi et. Rerum corrupti dolorem et aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133a9e0000'), "author_name"=>"Newell Reilly", "content"=>["Totam ipsum at. Beatae soluta est ut nihil. Quis rem ipsam ducimus at facilis asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4811ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df5288773533133a9f0000", "comment_id"=>"53df5288773533133a9d0000", "id"=>"53df5288773533133a9e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5288773533133aa20000'), "name"=>"Giuseppe Wintheiser Jr.", "reference"=>"Kenyatta Medhurst", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133aa00000'), "author_name"=>"Hayley Kshlerin", "content"=>["Dolor accusamus quam temporibus at ut. Nobis quo optio officiis amet inventore sequi. Porro voluptas consequuntur ut cum blanditiis quibusdam ea. Quis et porro qui minima est deserunt rerum. Sunt autem officia quaerat dolorem officiis et cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('53df5288773533133aa10000'), "author_name"=>"Adrien Ward", "content"=>["Aut aut ut doloremque. Sit maxime earum. Nobis omnis eos nulla sunt officia quidem et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5288773533133aa10000", "product_id"=>"53df5288773533133aa20000", "comment_id"=>"53df5288773533133aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133aa20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5288773533133aa20000'), "comments._id"=>BSON::ObjectId('53df5288773533133aa00000'), "comments.0.comments._id"=>BSON::ObjectId('53df5288773533133aa10000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4841ms Redirected to http://test.host/products/53df5288773533133aa20000/comments/53df5288773533133aa00000/comments/53df5288773533133aa10000 Completed 302 Found in 12ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5288773533133aa30000'), "firstname"=>"Adriana", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5885ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2828ms 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('53df5288773533133aa40000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Redirected to http://test.host/users/53df5288773533133aa40000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3002ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5288773533133aa50000'), "firstname"=>"Kacey", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2741ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df5288773533133aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5288773533133aa50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5288773533133aa50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms 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.2866ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5288773533133aa60000'), "firstname"=>"Katelynn", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df5288773533133aa60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5288773533133aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3915ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('53df5288773533133aa70000'), "firstname"=>"Lera", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms 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.5113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.6ms) Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5288773533133aa80000'), "firstname"=>"Julian", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms 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('53df5288773533133aa90000'), "firstname"=>"Felipa", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5382ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df5288773533133aa90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5288773533133aa90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms 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('53df5288773533133aaa0000'), "firstname"=>"Clotilde", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df5288773533133aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5288773533133aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms Unpermitted parameters: name Redirected to http://test.host/users/53df5288773533133aaa0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5713ms 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.2757ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms 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.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.5088ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5311773533139e000000'), "firstname"=>"Isabelle", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2754ms 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('53df5311773533139e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms 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.2689ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5311773533139e020000'), "firstname"=>"Amber", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df5311773533139e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5311773533139e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 50ms (Views: 49.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5311773533139e030000'), "firstname"=>"Arno", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5311773533139e040000'), "firstname"=>"Mikel", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df5311773533139e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5311773533139e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5311773533139e050000'), "firstname"=>"Rocio", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df5311773533139e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5311773533139e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms 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('53df5311773533139e060000'), "name"=>"Olen Wolff III", "reference"=>"Leonel Halvorson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e070000'), "author_name"=>"Deborah Macejkovic", "content"=>["Soluta quaerat quo quasi nihil et non. Magni et et vero. Eveniet iste explicabo magni. Et tempora sit ipsa voluptatum et inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5311773533139e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5179ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5311773533139e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms Redirected to http://test.host/admin/products/53df5311773533139e060000/comments/53df5311773533139e080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4443ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e090000'), "name"=>"Wilfredo Little", "reference"=>"Kory Glover", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e0a0000'), "author_name"=>"Joesph Bode", "content"=>["Aut quos modi ut atque corporis asperiores. Corrupti adipisci eos minima vel doloribus. Suscipit ad modi molestias at qui velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df5311773533139e090000", "id"=>"53df5311773533139e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5311773533139e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5824ms Redirected to http://test.host/admin/products/53df5311773533139e090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e0b0000'), "name"=>"Pascale Johnston", "reference"=>"Lamont Schroeder", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e0c0000'), "author_name"=>"Catharine Green IV", "content"=>["Quo voluptas sed qui id at blanditiis. Architecto ratione eveniet in sunt iusto veniam tempore. Laudantium modi quia laboriosam non nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4965ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df5311773533139e0b0000", "id"=>"53df5311773533139e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e0d0000'), "name"=>"Arlie Gleichner", "reference"=>"Junior Nader", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e0e0000'), "author_name"=>"Davon Zboncak", "content"=>["Laboriosam ut necessitatibus aut quia. Aut et recusandae. Odit molestiae sunt nostrum nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5684ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df5311773533139e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e0f0000'), "name"=>"Ulices Carroll", "reference"=>"Garett Legros DVM", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e100000'), "author_name"=>"Jairo Sanford", "content"=>["Quam soluta veritatis earum et. Natus et quis et. Voluptatem blanditiis quia tenetur qui tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5729ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df5311773533139e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e110000'), "name"=>"Crystal Swaniawski DDS", "reference"=>"Austen Schimmel III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e120000'), "author_name"=>"Dr. Charlene Balistreri", "content"=>["Reprehenderit incidunt vel excepturi rerum. Sit aut aspernatur odit. Reiciendis consectetur tenetur doloribus delectus laboriosam. Aut animi quos sequi ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6008ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df5311773533139e110000", "id"=>"53df5311773533139e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e130000'), "name"=>"Edna Will", "reference"=>"Miss Yvonne Olson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df5311773533139e140000'), "author_name"=>"Guadalupe Walsh", "content"=>["Similique eaque dolor veritatis. Voluptas ea harum sed et. Eius et est quia consectetur blanditiis dolor autem. Quo suscipit natus quam sed dicta. Earum odit in voluptas culpa officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5311773533139e140000", "product_id"=>"53df5311773533139e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e130000'), "comments._id"=>BSON::ObjectId('53df5311773533139e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6053ms Redirected to http://test.host/admin/products/53df5311773533139e130000/comments/53df5311773533139e140000 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('53df5311773533139e150000'), "name"=>"Stella Kuhn DDS", "reference"=>"Nasir Abernathy", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e160000'), "firstname"=>"Skyla", "lastname"=>"Koelpin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5807ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df5311773533139e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/admin/products/53df5311773533139e150000/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('53df5311773533139e180000'), "name"=>"Bartholome Sauer", "reference"=>"Mohamed Hoeger", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e190000'), "firstname"=>"Neal", "lastname"=>"Towne"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5069ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df5311773533139e190000", "product_id"=>"53df5311773533139e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e180000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e1a0000'), "name"=>"Yesenia Kuhlman", "reference"=>"Elenor Shields", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e1b0000'), "firstname"=>"Anais", "lastname"=>"Littel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df5311773533139e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e1c0000'), "name"=>"Vito Hackett", "reference"=>"Kaleigh Wilderman", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e1d0000'), "firstname"=>"Kyler", "lastname"=>"Mosciski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5603ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df5311773533139e1d0000", "product_id"=>"53df5311773533139e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e1e0000'), "name"=>"Marc Johnston", "reference"=>"Lester Schamberger", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df5311773533139e1f0000'), "firstname"=>"Rodolfo", "lastname"=>"D'Amore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df5311773533139e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df5311773533139e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df5311773533139e1e0000/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('53df5311773533139e200000'), "name"=>"Alexandre Kirlin", "reference"=>"Alyson Casper", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3029ms 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('53df5311773533139e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms Redirected to http://test.host/admin/products/53df5311773533139e210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2965ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e220000'), "name"=>"Ethan Cormier", "reference"=>"Ellie Ernser", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3178ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df5311773533139e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5084ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms 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.3054ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e230000'), "name"=>"Kyleigh Price I", "reference"=>"Dianna Hudson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df5311773533139e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3581ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e240000'), "name"=>"Dasia Davis", "reference"=>"Claudie Bauch", "quantity"=>"7"}] 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.7001ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.7ms) Completed 200 OK in 13ms (Views: 12.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e250000'), "name"=>"Jason Crooks", "reference"=>"Junior Beer", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms 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: 4.4ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5311773533139e280000'), "name"=>"Fatima Gulgowski", "reference"=>"Kaylah Wilkinson PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5565ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df5311773533139e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5311773533139e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms 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('53df5312773533139e290000'), "name"=>"Miss Kenneth Harber", "reference"=>"Everett Jakubowski", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5312773533139e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Redirected to http://test.host/admin/products/53df5312773533139e290000 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('53df5312773533139e2a0000'), "firstname"=>"Keira", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5587ms 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('53df5312773533139e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms Redirected to http://test.host/admin/users/53df5312773533139e2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2105ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e2c0000'), "firstname"=>"Kim", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2016ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df5312773533139e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms 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.1690ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e2d0000'), "firstname"=>"Levi", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df5312773533139e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e2d0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e2e0000'), "firstname"=>"Katheryn", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms 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.3191ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.5ms) 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('53df5312773533139e2f0000'), "firstname"=>"Matilda", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e300000'), "firstname"=>"Jaida", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df5312773533139e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms 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('53df5312773533139e310000'), "firstname"=>"Lydia", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df5312773533139e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df5312773533139e310000 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('53df5312773533139e320000'), "firstname"=>"Natalia", "lastname"=>"Erdman"}] 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=>"administrators", :query=>{}} runtime: 0.1919ms 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('53df5312773533139e330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms 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.1833ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5312773533139e340000'), "firstname"=>"Berry", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df5312773533139e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5312773533139e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5312773533139e350000'), "firstname"=>"Westley", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5312773533139e360000'), "firstname"=>"Alana", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df5312773533139e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5312773533139e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df5312773533139e370000'), "firstname"=>"Kyleigh", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df5312773533139e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df5312773533139e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e380000'), "name"=>"Josianne Langosh Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2124ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e390000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms Redirected to http://test.host/categories/53df5312773533139e390000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1820ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e3a0000'), "name"=>"Marjolaine Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1623ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df5312773533139e3a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e3a0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1861ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e3b0000'), "name"=>"Noah Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df5312773533139e3b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e3c0000'), "name"=>"Irma Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2803ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2059ms Completed 200 OK in 7ms (Views: 6.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e3d0000'), "name"=>"Russel Dach PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e3f0000'), "name"=>"Candice Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df5312773533139e3f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df5312773533139e400000'), "name"=>"Ariane Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df5312773533139e400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df5312773533139e400000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df5312773533139e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms Redirected to http://test.host/categories/53df5312773533139e400000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e410000'), "name"=>"Durward Goyette IV", "reference"=>"Malachi Cole", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e420000'), "author_name"=>"Elroy Goldner", "content"=>["Animi quisquam dolorum vel ea nemo ipsa ut. Cupiditate dolor eos laborum. Odit aliquam cupiditate quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5312773533139e410000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e410000')} 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('53df5312773533139e410000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5312773533139e430000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Redirected to http://test.host/products/53df5312773533139e410000/comments/53df5312773533139e430000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e440000'), "name"=>"Denis Larkin", "reference"=>"Kaitlin Doyle DDS", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e450000'), "author_name"=>"Rosina Cronin", "content"=>["Eum tempora sint voluptatem harum. Autem veniam et cumque. Sit mollitia distinctio dolores veniam numquam quod. Praesentium eum qui ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df5312773533139e440000", "id"=>"53df5312773533139e450000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e440000')} 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('53df5312773533139e440000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df5312773533139e450000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms Redirected to http://test.host/products/53df5312773533139e440000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e460000'), "name"=>"Martin Stanton", "reference"=>"Judy Casper", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e470000'), "author_name"=>"Odell Abernathy DVM", "content"=>["Sit ipsam nam. Repellat alias provident ut dolorem magni repellendus eum. Quidem voluptas autem repudiandae quia. Consequatur temporibus debitis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df5312773533139e460000", "id"=>"53df5312773533139e470000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.0ms) Completed 200 OK in 41ms (Views: 39.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e480000'), "name"=>"Terrill Hartmann", "reference"=>"Dr. Taylor Bernier", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e490000'), "author_name"=>"Noemy Hoeger", "content"=>["Ut id sit at id dignissimos voluptatibus aut. Quod ex aliquam. Sit aliquid temporibus pariatur voluptatem placeat. Expedita mollitia quia velit in atque repellat. Porro delectus voluptatem eveniet ad eos qui nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df5312773533139e480000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e4a0000'), "name"=>"Clair Labadie", "reference"=>"Haskell Herman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e4b0000'), "author_name"=>"Sigurd Schowalter", "content"=>["Illum hic quo tenetur animi est sed. Ut dolores nostrum et harum eaque et eum. Est nisi optio ea architecto. Porro corporis ab nostrum nam rerum voluptatem laboriosam. Velit labore et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df5312773533139e4a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e4c0000'), "name"=>"Karina Morar", "reference"=>"Cleta Corkery", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e4d0000'), "author_name"=>"Eva Mayer", "content"=>["Ut magnam quidem sit ab aut ea cupiditate. Totam ex et similique quod. Dolor aut et et repudiandae eum accusamus. Est ut eius quo beatae. Expedita error quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df5312773533139e4c0000", "id"=>"53df5312773533139e4d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e4e0000'), "name"=>"Adah Keeling", "reference"=>"Frederic Kuhn", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e4f0000'), "author_name"=>"Randall Lebsack", "content"=>["Aliquam architecto quae aspernatur eligendi corporis. Ut eos ipsam. Deserunt sint in rerum error doloribus excepturi illum. Sint repellat tenetur error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6271ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df5312773533139e4e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e500000'), "name"=>"Emilie Raynor", "reference"=>"Otilia Windler", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e510000'), "author_name"=>"Meta Koepp V", "content"=>["Et inventore officiis laborum consequatur. Delectus necessitatibus omnis sint. Voluptatem dolores explicabo est. Dolores alias sapiente aut delectus ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df5312773533139e500000", "id"=>"53df5312773533139e510000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e520000'), "name"=>"Philip Hintz", "reference"=>"Jackson Stark", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e530000'), "author_name"=>"Mr. Thomas Nikolaus", "content"=>["Reiciendis rerum labore autem laudantium. Dolores dolores consequatur. Ullam impedit repellat autem debitis alias dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5312773533139e530000", "product_id"=>"53df5312773533139e520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e520000'), "comments._id"=>BSON::ObjectId('53df5312773533139e530000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Redirected to http://test.host/products/53df5312773533139e520000/comments/53df5312773533139e530000 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('53df5312773533139e540000'), "firstname"=>"Isaiah", "lastname"=>"McLaughlin"}] 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=>"clients", :query=>{}} runtime: 0.1632ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e550000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms Redirected to http://test.host/admin/clients/53df5312773533139e550000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e560000'), "firstname"=>"Manuela", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms 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"=>"53df5312773533139e560000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e560000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms 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.1821ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e570000'), "firstname"=>"Johan", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df5312773533139e570000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e570000')} 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 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e580000'), "firstname"=>"Oren", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms 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('53df5312773533139e590000'), "firstname"=>"Joanny", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e5a0000'), "firstname"=>"Ed", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df5312773533139e5a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e5b0000'), "firstname"=>"Zachary", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df5312773533139e5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Redirected to http://test.host/admin/clients/53df5312773533139e5b0000 Completed 302 Found in 36ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e5c0000'), "firstname"=>"Weston", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms 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('53df5312773533139e5d0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Redirected to http://test.host/clients/53df5312773533139e5d0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2205ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e5e0000'), "firstname"=>"Alexa", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms 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"=>"53df5312773533139e5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5e0000')} 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.1955ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e5f0000'), "firstname"=>"Luisa", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df5312773533139e5f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) 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('53df5312773533139e600000'), "firstname"=>"Braxton", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df5312773533139e610000'), "firstname"=>"Odell", "lastname"=>"Kertzmann"}] 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.8ms) 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('53df5312773533139e620000'), "firstname"=>"Theo", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df5312773533139e620000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms 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('53df5312773533139e630000'), "firstname"=>"Brenda", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df5312773533139e630000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df5312773533139e630000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Redirected to http://test.host/clients/53df5312773533139e630000 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('53df5312773533139e640000'), "name"=>"Spencer Nader", "reference"=>"Domenic Dicki MD", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e650000'), "firstname"=>"Alisa", "lastname"=>"Thiel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df5312773533139e640000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e640000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e640000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e660000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms Redirected to http://test.host/products/53df5312773533139e640000/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('53df5312773533139e670000'), "name"=>"Mrs. Florencio Brekke", "reference"=>"Orland Welch", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e680000'), "firstname"=>"Silas", "lastname"=>"Torphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df5312773533139e680000", "product_id"=>"53df5312773533139e670000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e690000'), "name"=>"Aiyana Orn", "reference"=>"Ms. Magnolia Walker", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e6a0000'), "firstname"=>"Tomasa", "lastname"=>"Prohaska"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df5312773533139e690000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e6b0000'), "name"=>"Eloisa Howe V", "reference"=>"Lois Hessel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e6c0000'), "firstname"=>"Vickie", "lastname"=>"Baumbach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df5312773533139e6c0000", "product_id"=>"53df5312773533139e6b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e6d0000'), "name"=>"Leda Moen", "reference"=>"Berniece Daniel", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df5312773533139e6e0000'), "firstname"=>"Garfield", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5052ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df5312773533139e6e0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df5312773533139e6d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms Unpermitted parameters: name Redirected to http://test.host/products/53df5312773533139e6d0000/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('53df5312773533139e6f0000'), "name"=>"Mrs. Hope Douglas", "reference"=>"Sabina Murazik", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2818ms 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('53df5312773533139e700000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Redirected to http://test.host/products/53df5312773533139e700000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3259ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e710000'), "name"=>"Theodora Bogisich III", "reference"=>"Devon Schamberger", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.2981ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df5312773533139e710000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e710000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Redirected to http://test.host/products Completed 302 Found in 28ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2956ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e720000'), "name"=>"Carlotta Hills", "reference"=>"Rudy Mohr", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df5312773533139e720000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e730000'), "name"=>"Torrance McLaughlin", "reference"=>"Norwood Murazik", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms 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: 1.4927ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (56.5ms) Completed 200 OK in 59ms (Views: 58.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e740000'), "name"=>"Dr. Giles Anderson", "reference"=>"Enoch Runolfsson", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5814ms 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.8522ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e750000'), "name"=>"Johan Schimmel", "reference"=>"Harmon Harber", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df5312773533139e750000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms 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('53df5312773533139e760000'), "name"=>"Bradley Spinka Sr.", "reference"=>"Joel Harber", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e780000'), "name"=>"Derrick Koch", "reference"=>"Mrs. Ariane Larson", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df5312773533139e780000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e790000'), "name"=>"Christ Renner DDS", "reference"=>"Diana Wiegand", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2815ms 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('53df5312773533139e7a0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2930ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e7b0000'), "name"=>"Dakota Rau", "reference"=>"Ms. Delia Lakin", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df5312773533139e7b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7b0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms 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('53df5312773533139e7c0000'), "name"=>"Manuela Senger", "reference"=>"Gayle Berge", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms 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('53df5312773533139e7e0000'), "name"=>"David Jaskolski", "reference"=>"Ward Koss", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5312773533139e7e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms 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('53df5312773533139e7f0000'), "name"=>"Mr. Eldon Kunze", "reference"=>"Delta Rippin", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df5312773533139e7f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e7f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms Redirected to http://test.host/products/53df5312773533139e7f0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e820000'), "name"=>"Noelia O'Hara", "reference"=>"Sister Kirlin IV", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e800000'), "author_name"=>"Mervin Dooley", "content"=>["Accusamus sit repudiandae. Dolorum eius voluptatum sed deserunt perspiciatis numquam. Tempore voluptate et facere exercitationem odio est nam."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e810000'), "author_name"=>"Alice Christiansen", "content"=>["Officia sed quidem consequatur sed blanditiis. Impedit et velit provident. Autem facere ut veniam aliquam quis porro. Sint quis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df5312773533139e820000", "comment_id"=>"53df5312773533139e800000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3927ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e820000'), "comments._id"=>BSON::ObjectId('53df5312773533139e800000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df5312773533139e830000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6765ms Redirected to http://test.host/products/53df5312773533139e820000/comments/53df5312773533139e800000/comments/53df5312773533139e830000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e860000'), "name"=>"Anthony Schroeder DDS", "reference"=>"Conner Bartoletti", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e840000'), "author_name"=>"Ms. Marianne Marks", "content"=>["Eveniet odit sunt provident unde ipsa consequuntur. Quo ut praesentium in officiis sed. Voluptatum sit est. Vel sunt non praesentium cumque quas itaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e850000'), "author_name"=>"Violette Ferry", "content"=>["Et ut ut placeat harum. Sunt rerum tenetur et magnam sit. Inventore repudiandae aut fugiat tenetur reprehenderit eveniet. Vero non voluptatem qui aut quaerat. Est nam a ut omnis ad veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df5312773533139e860000", "comment_id"=>"53df5312773533139e840000", "id"=>"53df5312773533139e850000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e860000'), "comments._id"=>BSON::ObjectId('53df5312773533139e840000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df5312773533139e850000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6499ms Redirected to http://test.host/products/53df5312773533139e860000/comments/53df5312773533139e840000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e890000'), "name"=>"Meghan Krajcik", "reference"=>"Delilah Funk", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e870000'), "author_name"=>"Thad Dicki", "content"=>["Eos dicta reiciendis rerum. Odio incidunt vero fugit aliquam quaerat. Mollitia repellendus consequatur quod delectus et non nihil. Aut aliquid unde est rerum voluptates. Et voluptates dolore quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e880000'), "author_name"=>"Lou Gleason", "content"=>["Et qui maxime. Eum est enim unde aut voluptatem. Ad ab mollitia explicabo labore. Dolores incidunt repellat consequatur est et odit. Rerum ut esse quisquam accusamus magnam qui consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6393ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df5312773533139e890000", "comment_id"=>"53df5312773533139e870000", "id"=>"53df5312773533139e880000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e8c0000'), "name"=>"Oceane Block", "reference"=>"Creola Batz", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e8a0000'), "author_name"=>"Catalina Fadel", "content"=>["Impedit sunt quisquam pariatur soluta non deleniti. Sit quia eius qui repellat accusamus consectetur. Sint asperiores cupiditate aut placeat praesentium qui similique. Sapiente sit labore. Officiis et nam facere placeat et ex."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e8b0000'), "author_name"=>"Mrs. Kirstin Moen", "content"=>["Dignissimos tempore deleniti et eos culpa qui. Aliquid totam consequuntur vero inventore. Molestiae aspernatur enim aut temporibus repellendus qui. Quia eos totam dolorem aut est quia consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6068ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df5312773533139e8c0000", "comment_id"=>"53df5312773533139e8a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4333ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e8f0000'), "name"=>"Akeem Strosin", "reference"=>"Lamar Walsh", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e8d0000'), "author_name"=>"Miss Tia Bergnaum", "content"=>["Autem tempore alias. Quaerat dolores porro. Excepturi unde omnis qui soluta delectus. Et dolor inventore deserunt consequatur qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e8e0000'), "author_name"=>"Jacky McLaughlin", "content"=>["Vero molestiae nisi iusto. Rerum corporis consequatur nemo voluptate magnam. Est facere assumenda ipsam molestiae sed inventore. Nostrum amet consectetur quisquam in praesentium quos unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5829ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df5312773533139e8f0000", "comment_id"=>"53df5312773533139e8d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4211ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e920000'), "name"=>"Valentina Schoen", "reference"=>"Britney Jones", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e900000'), "author_name"=>"Baylee Kreiger II", "content"=>["Aliquam nihil consequatur exercitationem laboriosam est aut. Facilis ex blanditiis et velit. Nobis soluta molestiae. Et ut possimus dolor sequi omnis. Odio quaerat omnis neque eveniet et et labore."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e910000'), "author_name"=>"Cecile Runolfsdottir DVM", "content"=>["Eveniet aliquid et nobis est. Nisi cum cumque pariatur magni rem fuga autem. Laborum fuga eveniet beatae non ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5968ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df5312773533139e920000", "comment_id"=>"53df5312773533139e900000", "id"=>"53df5312773533139e910000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4163ms Completed 200 OK in 38ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e950000'), "name"=>"Rachelle Connelly", "reference"=>"Jerry Wilderman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e930000'), "author_name"=>"Rozella Pouros", "content"=>["Asperiores dolorem quo nostrum quidem deleniti blanditiis ut. Pariatur et accusamus quis modi. Error perspiciatis reprehenderit voluptatem et cupiditate qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e940000'), "author_name"=>"Turner Gleason", "content"=>["Eos et sunt commodi eius. Animi nemo corporis deleniti et. Nesciunt quia quaerat delectus tempore non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6638ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df5312773533139e950000", "comment_id"=>"53df5312773533139e930000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e980000'), "name"=>"Rogelio Ritchie II", "reference"=>"Esperanza O'Kon III", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e960000'), "author_name"=>"Hettie Ebert", "content"=>["Laboriosam deleniti natus quis minus quo velit. Sit voluptatibus a id tenetur voluptas eos eligendi. Voluptatem consequatur et ut sunt. Laborum aut doloribus corporis similique."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e970000'), "author_name"=>"Keyshawn Hagenes", "content"=>["Et perspiciatis dolore a et iste ipsa. Nobis dolores autem hic quia beatae. Aut tenetur nemo omnis laudantium quis. Vitae doloremque veritatis. Optio voluptate consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6203ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df5312773533139e980000", "comment_id"=>"53df5312773533139e960000", "id"=>"53df5312773533139e970000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4303ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df5312773533139e9b0000'), "name"=>"Ruthe Kautzer DVM", "reference"=>"Ara Cummings", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e990000'), "author_name"=>"Rosina Hoppe MD", "content"=>["Minima eligendi excepturi et fuga nihil. Inventore et nesciunt rerum. Hic mollitia nesciunt."], "comments"=>[{"_id"=>BSON::ObjectId('53df5312773533139e9a0000'), "author_name"=>"Corrine Quitzon", "content"=>["Fuga ipsa iure quia. Exercitationem id in dolorem. Aliquid quisquam ut voluptatem dolor. Accusamus omnis eveniet vel et repellendus excepturi minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5995ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df5312773533139e9a0000", "product_id"=>"53df5312773533139e9b0000", "comment_id"=>"53df5312773533139e990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df5312773533139e9b0000'), "comments._id"=>BSON::ObjectId('53df5312773533139e990000'), "comments.0.comments._id"=>BSON::ObjectId('53df5312773533139e9a0000')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7500ms Redirected to http://test.host/products/53df5312773533139e9b0000/comments/53df5312773533139e990000/comments/53df5312773533139e9a0000 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('53df5312773533139e9c0000'), "firstname"=>"Juanita", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6013ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2848ms 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('53df5312773533139e9d0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms Redirected to http://test.host/users/53df5312773533139e9d0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2986ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e9e0000'), "firstname"=>"Ruben", "lastname"=>"Hyatt"}] 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=>"admin_users", :query=>{}} runtime: 0.1719ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df5312773533139e9e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e9e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms 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.3005ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df5312773533139e9f0000'), "firstname"=>"Victor", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df5312773533139e9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139e9f0000')} 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.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('53df5312773533139ea00000'), "firstname"=>"Earl", "lastname"=>"Brakus"}] 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.3447ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (7.3ms) 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('53df5312773533139ea10000'), "firstname"=>"Savannah", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3272ms 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('53df5312773533139ea20000'), "firstname"=>"Belle", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df5312773533139ea20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139ea20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms 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('53df5312773533139ea30000'), "firstname"=>"Warren", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df5312773533139ea30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df5312773533139ea30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms Unpermitted parameters: name Redirected to http://test.host/users/53df5312773533139ea30000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms 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.2643ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products 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.2301ms 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=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce000000'), "firstname"=>"Rosella", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2262ms 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('53df533f77353313ce010000'), "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.1906ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce020000'), "firstname"=>"Fausto", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df533f77353313ce020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce020000')} 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.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('53df533f77353313ce030000'), "firstname"=>"Edyth", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.6375ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce040000'), "firstname"=>"Pattie", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5106ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df533f77353313ce040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce050000'), "firstname"=>"Stephany", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df533f77353313ce050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms 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('53df533f77353313ce060000'), "name"=>"Earline Wunsch", "reference"=>"Mr. Herminio Dietrich", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce070000'), "author_name"=>"Fermin Bayer", "content"=>["Dolor sed quia fugit autem unde ratione quae. Culpa maiores voluptas. Ad quibusdam atque hic sed rerum. Veniam sunt iusto quas voluptatibus excepturi. Eos tempora a ea consequatur voluptate ipsa distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df533f77353313ce060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4093ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df533f77353313ce080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Redirected to http://test.host/admin/products/53df533f77353313ce060000/comments/53df533f77353313ce080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce090000'), "name"=>"Rosa Russel", "reference"=>"Hellen Huel", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce0a0000'), "author_name"=>"Mr. Alexandra Gleason", "content"=>["Incidunt quam eligendi eum voluptas reprehenderit iste quae. Voluptates dolores nulla voluptatem eum numquam suscipit. Ut ea nihil modi inventore sapiente aut. Dolorem velit nihil provident. Esse ut deleniti libero atque aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df533f77353313ce090000", "id"=>"53df533f77353313ce0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce090000')} 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('53df533f77353313ce090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df533f77353313ce0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms Redirected to http://test.host/admin/products/53df533f77353313ce090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce0b0000'), "name"=>"Ms. Emanuel Torp", "reference"=>"Simone Hammes V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce0c0000'), "author_name"=>"Dayne Dooley", "content"=>["Magnam dolore sint. Voluptas in ea quas. Occaecati non cupiditate vitae nihil beatae. Magnam quos laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3913ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df533f77353313ce0b0000", "id"=>"53df533f77353313ce0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce0d0000'), "name"=>"Nova Mante", "reference"=>"Mrs. Ward Nader", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce0e0000'), "author_name"=>"Micaela Bernier", "content"=>["Enim mollitia est odio iusto quae. Eum necessitatibus consequatur rerum similique consequatur numquam. Voluptatum et optio libero veritatis. Nihil nisi quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df533f77353313ce0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce0f0000'), "name"=>"Ms. Miracle Barton", "reference"=>"Reagan Gislason V", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce100000'), "author_name"=>"Carter Barton", "content"=>["Ea occaecati impedit incidunt dignissimos eum alias. Et dolorem dolor laudantium. Id impedit ut magnam. Sed aut et voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df533f77353313ce0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce0f0000')} 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.8ms) Completed 200 OK in 8ms (Views: 5.4ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce110000'), "name"=>"Chaim Connelly", "reference"=>"Mariam Feest", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce120000'), "author_name"=>"Belle Mitchell", "content"=>["Harum accusantium adipisci voluptatum sed omnis. Perferendis quia ut illo dolores quis. Doloremque consectetur natus officiis est consequuntur repellat. Est ipsum iusto non ut et. Earum rerum sunt sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df533f77353313ce110000", "id"=>"53df533f77353313ce120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce130000'), "name"=>"Tremayne Jacobs I", "reference"=>"Denis Greenholt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df533f77353313ce140000'), "author_name"=>"Emily Dickens", "content"=>["Et voluptatem odit. Voluptates voluptatem sapiente. Consequatur vel similique id voluptas veniam. Delectus tempore odio occaecati earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df533f77353313ce140000", "product_id"=>"53df533f77353313ce130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce130000')} 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('53df533f77353313ce130000'), "comments._id"=>BSON::ObjectId('53df533f77353313ce140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Redirected to http://test.host/admin/products/53df533f77353313ce130000/comments/53df533f77353313ce140000 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('53df533f77353313ce150000'), "name"=>"Cameron Lang", "reference"=>"Jolie Mitchell", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce160000'), "firstname"=>"Fabiola", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df533f77353313ce150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms Redirected to http://test.host/admin/products/53df533f77353313ce150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce180000'), "name"=>"Letitia Crona", "reference"=>"Miller Kozey", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce190000'), "firstname"=>"Sylvia", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df533f77353313ce190000", "product_id"=>"53df533f77353313ce180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce1a0000'), "name"=>"Genevieve Bailey", "reference"=>"Diana Padberg", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce1b0000'), "firstname"=>"Lindsey", "lastname"=>"Kuhlman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df533f77353313ce1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce1c0000'), "name"=>"Archibald Prosacco Jr.", "reference"=>"Tressie Kiehn", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce1d0000'), "firstname"=>"Elise", "lastname"=>"Carroll"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df533f77353313ce1d0000", "product_id"=>"53df533f77353313ce1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce1e0000'), "name"=>"Gideon Kozey", "reference"=>"Ms. Juvenal Funk", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df533f77353313ce1f0000'), "firstname"=>"Rae", "lastname"=>"Ullrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9059ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df533f77353313ce1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df533f77353313ce1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df533f77353313ce1e0000/manager 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('53df533f77353313ce200000'), "name"=>"Trace Leannon Sr.", "reference"=>"Emmitt Marquardt", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1962ms 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('53df533f77353313ce210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Redirected to http://test.host/admin/products/53df533f77353313ce210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1916ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce220000'), "name"=>"Miss Michaela Roob", "reference"=>"Queenie Monahan", "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.1841ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df533f77353313ce220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4704ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms 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('53df533f77353313ce230000'), "name"=>"Ray Lesch", "reference"=>"Manley Pagac", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df533f77353313ce230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce240000'), "name"=>"Mr. Isai Mertz", "reference"=>"Mrs. Yessenia Collier", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms 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.4913ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.2ms) Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce250000'), "name"=>"Ms. Daija Cronin", "reference"=>"Felipe Orn", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (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('53df533f77353313ce280000'), "name"=>"Parker Rippin", "reference"=>"Chanelle Ruecker", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2103ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df533f77353313ce280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms 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('53df533f77353313ce290000'), "name"=>"Polly Rice V", "reference"=>"Mr. Silas Schaden", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df533f77353313ce290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df533f77353313ce290000')} 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('53df533f77353313ce290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms Redirected to http://test.host/admin/products/53df533f77353313ce290000 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('53df533f77353313ce2a0000'), "firstname"=>"Cleora", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1690ms 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('53df533f77353313ce2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms Redirected to http://test.host/admin/users/53df533f77353313ce2b0000 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('53df533f77353313ce2c0000'), "firstname"=>"Precious", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1517ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df533f77353313ce2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df533f77353313ce2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df533f77353313ce2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms 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.1631ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce2d0000'), "firstname"=>"Cyril", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df533f77353313ce2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df533f77353313ce2d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce2e0000'), "firstname"=>"Candice", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms 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.3265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce2f0000'), "firstname"=>"Ephraim", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce300000'), "firstname"=>"Orpha", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df533f77353313ce300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df533f77353313ce300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce310000'), "firstname"=>"Marcellus", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df533f77353313ce310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df533f77353313ce310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df533f77353313ce310000 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('53df533f77353313ce320000'), "firstname"=>"Roberto", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1749ms 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('53df533f77353313ce330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms 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: 30.4127ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce340000'), "firstname"=>"Nedra", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df533f77353313ce340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce340000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce350000'), "firstname"=>"Keyshawn", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce360000'), "firstname"=>"Amya", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df533f77353313ce360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce370000'), "firstname"=>"Coty", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df533f77353313ce370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df533f77353313ce370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce380000'), "name"=>"Miss Armani Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce390000'), "name"=>"Cletus Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3a0000'), "name"=>"Emil Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3b0000'), "name"=>"Brooklyn Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3c0000'), "name"=>"Bulah Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3d0000'), "name"=>"Micaela Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3e0000'), "name"=>"Mateo Schneider V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce3f0000'), "name"=>"Abigale White Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce400000'), "name"=>"Cristopher Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce410000'), "name"=>"Rebekah West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce420000'), "name"=>"Lucile Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce430000'), "name"=>"Holden Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce440000'), "name"=>"Frida McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce450000'), "name"=>"Marianne Wiza III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce460000'), "name"=>"Ken Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce470000'), "name"=>"Kristopher McDermott DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce480000'), "name"=>"Loyce Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce490000'), "name"=>"Alivia Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4a0000'), "name"=>"Lambert Considine IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4b0000'), "name"=>"Tyrese Waelchi DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4c0000'), "name"=>"Mr. Aaron Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4d0000'), "name"=>"Shawn King III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4e0000'), "name"=>"Taya Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce4f0000'), "name"=>"Rylan Doyle MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce500000'), "name"=>"Joaquin Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce510000'), "name"=>"Pedro Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce520000'), "name"=>"Angeline Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce530000'), "name"=>"Kyle Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce540000'), "name"=>"Conrad Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce550000'), "name"=>"Hans Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce560000'), "name"=>"Archibald Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce570000'), "name"=>"Chelsie Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce580000'), "name"=>"Newell Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce590000'), "name"=>"Katheryn Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5a0000'), "name"=>"Lindsay Heidenreich DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5b0000'), "name"=>"Elody Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5c0000'), "name"=>"Hassie Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5d0000'), "name"=>"Dr. Dane Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5e0000'), "name"=>"Immanuel Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce5f0000'), "name"=>"Dereck Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce600000'), "name"=>"Evie Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce610000'), "name"=>"Garth Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce620000'), "name"=>"Bertrand Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce630000'), "name"=>"Mariane Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce640000'), "name"=>"Melvin Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce650000'), "name"=>"Ansley Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce660000'), "name"=>"Elmo Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce670000'), "name"=>"Retha Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce680000'), "name"=>"Ms. Chester Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce690000'), "name"=>"Arno Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6a0000'), "name"=>"Clare Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6b0000'), "name"=>"Virginia Anderson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6c0000'), "name"=>"Joanny Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6d0000'), "name"=>"Rubye Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6e0000'), "name"=>"Jaclyn Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce6f0000'), "name"=>"Halle Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce700000'), "name"=>"Mark Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce710000'), "name"=>"Eloisa Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce720000'), "name"=>"Orpha Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce730000'), "name"=>"Emelia Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce740000'), "name"=>"Marvin Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce750000'), "name"=>"Easter Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce760000'), "name"=>"Sonny Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce770000'), "name"=>"Vicenta Littel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce780000'), "name"=>"Leonard Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce790000'), "name"=>"Marlee Gislason IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7a0000'), "name"=>"Santos Hudson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7b0000'), "name"=>"Alfonzo Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7c0000'), "name"=>"Stephon Hartmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7d0000'), "name"=>"Aliyah Heathcote Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7e0000'), "name"=>"Kim Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce7f0000'), "name"=>"Miss Luz Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce800000'), "name"=>"Alexandria Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce810000'), "name"=>"Ed Boehm DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce820000'), "name"=>"Mollie Kutch PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce830000'), "name"=>"Adela Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce840000'), "name"=>"Melvin Gislason I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce850000'), "name"=>"Lea Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce860000'), "name"=>"Gonzalo Denesik PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce870000'), "name"=>"Camila Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce880000'), "name"=>"Oswald Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce890000'), "name"=>"Bill Powlowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8a0000'), "name"=>"Mrs. April Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8b0000'), "name"=>"Miss Loma Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8c0000'), "name"=>"Florida Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8d0000'), "name"=>"Miss Baron Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8e0000'), "name"=>"Corene Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce8f0000'), "name"=>"Lorna Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce900000'), "name"=>"Brannon Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce910000'), "name"=>"Mr. Ashton Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce920000'), "name"=>"Teagan Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce930000'), "name"=>"Izabella Hodkiewicz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce940000'), "name"=>"Sabrina Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce950000'), "name"=>"Clementina Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce960000'), "name"=>"Trudie Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce970000'), "name"=>"Branson Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce980000'), "name"=>"Bryce Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce990000'), "name"=>"Wallace Smith I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9a0000'), "name"=>"Saige Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9b0000'), "name"=>"Johnathon Graham Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1481ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9c0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms Redirected to http://test.host/categories/53df533f77353313ce9c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1614ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9d0000'), "name"=>"Mrs. Cordell Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9e0000'), "name"=>"Desmond Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ce9f0000'), "name"=>"Stone Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ce9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea00000'), "name"=>"Velva Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea10000'), "name"=>"Zoila Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea20000'), "name"=>"Evan Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea30000'), "name"=>"Sheldon Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea40000'), "name"=>"Bettye Collins PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea50000'), "name"=>"Kim Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea60000'), "name"=>"Cathy Gerlach I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea70000'), "name"=>"Kaci Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea80000'), "name"=>"Nicklaus Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cea90000'), "name"=>"Declan Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cea90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceaa0000'), "name"=>"Keshawn Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceab0000'), "name"=>"Aidan Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceac0000'), "name"=>"Carey Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cead0000'), "name"=>"Jaleel Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cead0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceae0000'), "name"=>"Aileen Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceaf0000'), "name"=>"Shanelle Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceaf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb00000'), "name"=>"Devan Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb10000'), "name"=>"Ima Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb20000'), "name"=>"Vincenza Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb30000'), "name"=>"Aleen Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb40000'), "name"=>"Mrs. Franz Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb50000'), "name"=>"Carmel Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb60000'), "name"=>"Sim Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb70000'), "name"=>"Yvette Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb80000'), "name"=>"Ms. Gussie Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceb90000'), "name"=>"Madilyn Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceb90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313ceba0000'), "name"=>"Jamey Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313ceba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cebb0000'), "name"=>"Delores Grady IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cebc0000'), "name"=>"Maria Harvey DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cebc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cebd0000'), "name"=>"Mrs. Verdie Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cebd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cebe0000'), "name"=>"Rhea Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cebf0000'), "name"=>"Katelin Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cec00000'), "name"=>"Elsie Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cec00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cec10000'), "name"=>"Jess Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cec10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df533f77353313cec20000'), "name"=>"Judah Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df533f77353313cec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec30000'), "name"=>"Iliana Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec40000'), "name"=>"Kale Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec50000'), "name"=>"Genesis Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec60000'), "name"=>"Haylee Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec70000'), "name"=>"Mr. Madie Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec80000'), "name"=>"Gracie Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec90000'), "name"=>"Mrs. Winfield Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceca0000'), "name"=>"Janessa Armstrong DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecb0000'), "name"=>"Travis Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecc0000'), "name"=>"Hilbert Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecd0000'), "name"=>"Nikolas Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cece0000'), "name"=>"Austyn Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cece0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecf0000'), "name"=>"Angel Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced00000'), "name"=>"Reta Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced10000'), "name"=>"Nathanael Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced20000'), "name"=>"Jasen Botsford III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced30000'), "name"=>"Eli Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced40000'), "name"=>"Jerry Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced50000'), "name"=>"Rickie Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced60000'), "name"=>"Lavina Hintz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced70000'), "name"=>"Hollie Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced80000'), "name"=>"Freddy Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced90000'), "name"=>"Abe Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceda0000'), "name"=>"Melyna Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceda0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedb0000'), "name"=>"Duane Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedc0000'), "name"=>"Ms. Berta Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedd0000'), "name"=>"Caden Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cede0000'), "name"=>"Magali Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cede0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedf0000'), "name"=>"Dr. Xzavier Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee00000'), "name"=>"Elmira Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee10000'), "name"=>"Garry Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee20000'), "name"=>"Ms. Virgil Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.7549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee30000'), "name"=>"Kenya Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee40000'), "name"=>"Elwyn Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee50000'), "name"=>"Uriah Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee60000'), "name"=>"Marcus Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee70000'), "name"=>"Santina Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee80000'), "name"=>"Conrad Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee90000'), "name"=>"Stan Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceea0000'), "name"=>"Dr. Wilford Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceeb0000'), "name"=>"Faustino Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceec0000'), "name"=>"Ms. Bernice Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceed0000'), "name"=>"Sigmund Schuster III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceee0000'), "name"=>"Ms. Maximilian Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceef0000'), "name"=>"Catalina Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef00000'), "name"=>"Jerrell Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef10000'), "name"=>"Randal Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef20000'), "name"=>"Jess Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef30000'), "name"=>"Alessia Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef40000'), "name"=>"Abby Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef50000'), "name"=>"Kendall Robel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef60000'), "name"=>"Deshaun Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef70000'), "name"=>"Luis Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef80000'), "name"=>"Lavonne Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef90000'), "name"=>"Jaime Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefa0000'), "name"=>"Joaquin Ratke Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefb0000'), "name"=>"Nikko Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefc0000'), "name"=>"Chyna Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefd0000'), "name"=>"Maverick Hackett III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefe0000'), "name"=>"Nayeli Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceff0000'), "name"=>"Vince Ernser II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce000100'), "name"=>"Elody Hettinger I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1591ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df533f77353313ce9d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df533f77353313ce9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df533f77353313ce9d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1626ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce010100'), "name"=>"Susie Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce020100'), "name"=>"Mr. Jody Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce030100'), "name"=>"Elenor Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce040100'), "name"=>"Genevieve Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce050100'), "name"=>"Yvonne Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce060100'), "name"=>"Lizeth Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce070100'), "name"=>"Antwan Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce080100'), "name"=>"Miss Audie Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce090100'), "name"=>"Darrion Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0a0100'), "name"=>"Kiera Parisian IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0b0100'), "name"=>"Mary Kiehn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0c0100'), "name"=>"Miss Christelle Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0d0100'), "name"=>"Alexane Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0e0100'), "name"=>"Bethany Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0f0100'), "name"=>"Ms. Daphnee Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce100100'), "name"=>"Lesley Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce110100'), "name"=>"Keyon Aufderhar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce120100'), "name"=>"Noble Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce130100'), "name"=>"Donald Jacobi V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce140100'), "name"=>"Branson Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce150100'), "name"=>"Angelo DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce160100'), "name"=>"Chloe Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce170100'), "name"=>"Cordie Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce180100'), "name"=>"Kenny Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce190100'), "name"=>"Martin Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1a0100'), "name"=>"Mr. Laura Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1b0100'), "name"=>"Imelda Bahringer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1c0100'), "name"=>"Jacey Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1d0100'), "name"=>"Iliana Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1e0100'), "name"=>"Gerson Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1f0100'), "name"=>"Hallie Mayer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce200100'), "name"=>"Rory Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce210100'), "name"=>"Kaylie Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce220100'), "name"=>"Garret Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce230100'), "name"=>"Matilda Hoeger Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce240100'), "name"=>"Sandra Heidenreich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce250100'), "name"=>"Gisselle Wilkinson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce260100'), "name"=>"Santino Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce270100'), "name"=>"Eryn Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce280100'), "name"=>"Tillman Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce290100'), "name"=>"Vilma Haley I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2a0100'), "name"=>"Peter Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2b0100'), "name"=>"Ms. Ariane Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2c0100'), "name"=>"Wilburn Maggio DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2d0100'), "name"=>"Cora Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2e0100'), "name"=>"Durward Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2f0100'), "name"=>"Rebecca Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce300100'), "name"=>"Xzavier Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce310100'), "name"=>"Brandon Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce320100'), "name"=>"Lee Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce330100'), "name"=>"Margaretta Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce340100'), "name"=>"Gabriel Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce350100'), "name"=>"Mr. Cristina Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce360100'), "name"=>"Daphnee O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce370100'), "name"=>"Mr. Jessy Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce380100'), "name"=>"Ms. Jerald Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce390100'), "name"=>"Arno Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3a0100'), "name"=>"Annabell Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3b0100'), "name"=>"Alex Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3c0100'), "name"=>"Payton Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3d0100'), "name"=>"Albina Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3e0100'), "name"=>"Ryleigh Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3f0100'), "name"=>"Sharon Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce400100'), "name"=>"Gabrielle Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce410100'), "name"=>"Jerad Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce420100'), "name"=>"Maeve Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce430100'), "name"=>"Dr. Bobbie Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce440100'), "name"=>"Dr. Melvin Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce450100'), "name"=>"Marion Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce460100'), "name"=>"Martin Grant II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce470100'), "name"=>"Mr. Vella Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce480100'), "name"=>"Mr. Lucie Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce490100'), "name"=>"Wilhelmine Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4a0100'), "name"=>"Boyd Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4b0100'), "name"=>"Abdullah Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4c0100'), "name"=>"Jerry Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4d0100'), "name"=>"Katarina Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4e0100'), "name"=>"Laverna Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4f0100'), "name"=>"Ms. Hilma Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce500100'), "name"=>"Art Smitham V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce510100'), "name"=>"Camila Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce520100'), "name"=>"Soledad Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce530100'), "name"=>"Luciano Monahan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce540100'), "name"=>"Ward Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce550100'), "name"=>"Flavio Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce560100'), "name"=>"Trey Welch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce570100'), "name"=>"Jakayla Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce580100'), "name"=>"Mrs. Seth Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce590100'), "name"=>"Judd Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5a0100'), "name"=>"Manuel Jacobi MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5b0100'), "name"=>"Dr. Stella Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5c0100'), "name"=>"Seth Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5d0100'), "name"=>"Greta Brown MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5e0100'), "name"=>"Reta Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5f0100'), "name"=>"Karl Kassulke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce600100'), "name"=>"Claud O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce610100'), "name"=>"Taya Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce620100'), "name"=>"Douglas Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce630100'), "name"=>"Era Franecki DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce640100'), "name"=>"Jamie Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df534077353313ce010100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df534077353313ce010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce650100'), "name"=>"Ms. Afton Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce660100'), "name"=>"Alta Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce670100'), "name"=>"Retha Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce680100'), "name"=>"Santa Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce690100'), "name"=>"Jairo Stark DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6a0100'), "name"=>"Rae McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6b0100'), "name"=>"Ms. Jazlyn Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6c0100'), "name"=>"Tracey Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6d0100'), "name"=>"Anna Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6e0100'), "name"=>"Ms. Jerrod Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6f0100'), "name"=>"Evalyn Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce700100'), "name"=>"Kaelyn Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce710100'), "name"=>"Onie Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce720100'), "name"=>"Carson Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce730100'), "name"=>"Maximillia Williamson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce740100'), "name"=>"Jarrell Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce750100'), "name"=>"Herminio Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce760100'), "name"=>"Hassie Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce770100'), "name"=>"Rose Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce780100'), "name"=>"Chadrick Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce790100'), "name"=>"Serenity Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7a0100'), "name"=>"Stone Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7b0100'), "name"=>"Eulah Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7c0100'), "name"=>"Issac Wuckert V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7d0100'), "name"=>"Mr. Camren Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7e0100'), "name"=>"Lempi Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7f0100'), "name"=>"Trevion Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce800100'), "name"=>"Ben Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce810100'), "name"=>"Aurelie Heller III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce820100'), "name"=>"Kira Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce830100'), "name"=>"Wyatt Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce840100'), "name"=>"Roman Monahan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce850100'), "name"=>"Peggie Frami Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce860100'), "name"=>"Scotty Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce870100'), "name"=>"Maryse Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce880100'), "name"=>"Ryann Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce890100'), "name"=>"Dalton Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8a0100'), "name"=>"Winfield Graham MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8b0100'), "name"=>"Ellie Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8c0100'), "name"=>"Miss Alia Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1996ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8d0100'), "name"=>"Alvera Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8e0100'), "name"=>"Miss Cory Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8f0100'), "name"=>"Camron Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce900100'), "name"=>"Colin Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce910100'), "name"=>"Eleazar Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce920100'), "name"=>"Reina Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce930100'), "name"=>"Barry Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce940100'), "name"=>"Tessie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce950100'), "name"=>"General Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce960100'), "name"=>"Erwin Nikolaus II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce970100'), "name"=>"Andre Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce980100'), "name"=>"Damian Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce990100'), "name"=>"Miss Jaylon Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9a0100'), "name"=>"Kadin Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9b0100'), "name"=>"Jazmyn Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9c0100'), "name"=>"Kenneth Mayert III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9d0100'), "name"=>"Joyce Barton Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9e0100'), "name"=>"Kenyatta Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9f0100'), "name"=>"Nicole Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea00100'), "name"=>"Vernon Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea10100'), "name"=>"Miss Cynthia Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea20100'), "name"=>"Luella Metz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea30100'), "name"=>"Layla Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea40100'), "name"=>"Keenan Schoen MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea50100'), "name"=>"Josianne Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea60100'), "name"=>"Laney O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea70100'), "name"=>"Zakary Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea80100'), "name"=>"Gregory O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea90100'), "name"=>"Tomasa Quitzon V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceaa0100'), "name"=>"Henry Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceaa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceab0100'), "name"=>"Dagmar Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceac0100'), "name"=>"Mossie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cead0100'), "name"=>"Curt Kertzmann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cead0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceae0100'), "name"=>"Macie Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceaf0100'), "name"=>"Mr. Curt Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceaf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb00100'), "name"=>"Chad Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb10100'), "name"=>"Lina Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb20100'), "name"=>"Lennie Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb30100'), "name"=>"Geovanni Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb40100'), "name"=>"Dalton Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb50100'), "name"=>"Miss Leo Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb60100'), "name"=>"Cristobal Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb70100'), "name"=>"Ryleigh Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb80100'), "name"=>"Jarrell Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb90100'), "name"=>"Nikko Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceba0100'), "name"=>"Miss Kiley Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebb0100'), "name"=>"Lauren Parisian MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebc0100'), "name"=>"Melisa Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebd0100'), "name"=>"Clarissa Heathcote MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebe0100'), "name"=>"Agustin Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebf0100'), "name"=>"Coby O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec00100'), "name"=>"Lillie Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec10100'), "name"=>"Quinn Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec20100'), "name"=>"Milford Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec30100'), "name"=>"Mia Stoltenberg DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec40100'), "name"=>"Osvaldo O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec50100'), "name"=>"Laura Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec60100'), "name"=>"Wava Huels DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec70100'), "name"=>"Justice Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec80100'), "name"=>"Owen Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339791584185] runtime: 0.1140ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (36.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2454ms Completed 200 OK in 42ms (Views: 41.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec90100'), "name"=>"Eldred Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceca0100'), "name"=>"Mrs. Yazmin DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecb0100'), "name"=>"Savanna Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecc0100'), "name"=>"Odie Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecd0100'), "name"=>"Ulises Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cece0100'), "name"=>"Ms. Percival Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cece0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecf0100'), "name"=>"Otis Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced00100'), "name"=>"Christy Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced10100'), "name"=>"Wendell Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced20100'), "name"=>"Virgie Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced30100'), "name"=>"Ford Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced40100'), "name"=>"Leo Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced50100'), "name"=>"Carolanne Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced60100'), "name"=>"Dusty Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced70100'), "name"=>"Rhiannon Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced80100'), "name"=>"Ms. Terrell Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced90100'), "name"=>"Edwardo Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceda0100'), "name"=>"Rebekah Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceda0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedb0100'), "name"=>"Angel Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedc0100'), "name"=>"Era Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedd0100'), "name"=>"Khalid Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cede0100'), "name"=>"Colin Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cede0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedf0100'), "name"=>"Mr. Spencer Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee00100'), "name"=>"Kirstin Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee10100'), "name"=>"Ethelyn Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee20100'), "name"=>"Miss Izabella Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee30100'), "name"=>"Miss Darby Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee40100'), "name"=>"Horacio Wisozk DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee50100'), "name"=>"Milton Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee60100'), "name"=>"Mrs. Kip Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee70100'), "name"=>"Meredith Haag DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee80100'), "name"=>"Abigale Beahan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee90100'), "name"=>"Ms. Jeromy Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceea0100'), "name"=>"Mr. Travis Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceeb0100'), "name"=>"Ashley Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceeb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceec0100'), "name"=>"Kirk Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceed0100'), "name"=>"Kyra Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceee0100'), "name"=>"Mrs. Bulah Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceef0100'), "name"=>"Helen Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef00100'), "name"=>"Georgianna Bahringer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef10100'), "name"=>"Nicholaus Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef20100'), "name"=>"Juliana O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef30100'), "name"=>"Napoleon Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef40100'), "name"=>"Brielle Collins I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef50100'), "name"=>"Jakob Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef60100'), "name"=>"Mrs. Ivory Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef70100'), "name"=>"Danyka Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef80100'), "name"=>"Audra Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cef90100'), "name"=>"Arielle Willms Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cef90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefa0100'), "name"=>"Alyce Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefb0100'), "name"=>"Samanta Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefc0100'), "name"=>"Ulises Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefd0100'), "name"=>"Devonte Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cefe0100'), "name"=>"Carissa Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cefe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceff0100'), "name"=>"Alexa Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce000200'), "name"=>"Mr. Tressie Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce010200'), "name"=>"Aurore Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce020200'), "name"=>"Quincy Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce030200'), "name"=>"Christian Kilback III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce040200'), "name"=>"Makenna Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce050200'), "name"=>"Milo Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce060200'), "name"=>"Bernie Hamill MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce070200'), "name"=>"Hattie Boyle IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce080200'), "name"=>"Rosalia Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce090200'), "name"=>"Buddy Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0a0200'), "name"=>"Marcel Schimmel III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0b0200'), "name"=>"Imelda Johnston III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0c0200'), "name"=>"Idell Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0d0200'), "name"=>"Cristopher Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0e0200'), "name"=>"Addie Heathcote DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce0f0200'), "name"=>"Miss Katelynn Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce100200'), "name"=>"Pierre Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce110200'), "name"=>"Jarret Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce120200'), "name"=>"Arlene Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce130200'), "name"=>"Terrell Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce140200'), "name"=>"Evangeline Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce150200'), "name"=>"Johnpaul Spencer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce160200'), "name"=>"Keenan Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce170200'), "name"=>"Ms. Hilario Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce180200'), "name"=>"Kim Russel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce190200'), "name"=>"Gust Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1a0200'), "name"=>"Elwin Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1b0200'), "name"=>"Mrs. Henriette Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1c0200'), "name"=>"Willis Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1d0200'), "name"=>"Elvis Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1e0200'), "name"=>"Ms. Bertram Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce1f0200'), "name"=>"London Kreiger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce200200'), "name"=>"Meda Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce210200'), "name"=>"Dr. Destany Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce220200'), "name"=>"Kailey Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce230200'), "name"=>"Eleanora Purdy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce240200'), "name"=>"Waylon Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce250200'), "name"=>"Dr. Sonia Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce260200'), "name"=>"Melyna McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce270200'), "name"=>"Jeffry Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce280200'), "name"=>"Dr. Maxie Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce290200'), "name"=>"Trenton Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2a0200'), "name"=>"Zelma Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2b0200'), "name"=>"Violette Smitham MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2c0200'), "name"=>"Ms. Jerry Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2e0200'), "name"=>"Mrs. Lyda Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce2f0200'), "name"=>"Rusty Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce300200'), "name"=>"Ferne Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce310200'), "name"=>"Frank Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce320200'), "name"=>"Miss Arnulfo Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce330200'), "name"=>"Izaiah Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce340200'), "name"=>"Floyd Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce350200'), "name"=>"Fatima Morar DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce360200'), "name"=>"Trent Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce370200'), "name"=>"Mrs. Keshaun Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce380200'), "name"=>"Pablo Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce390200'), "name"=>"Anabel Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3a0200'), "name"=>"Skylar Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3b0200'), "name"=>"Ladarius Ondricka DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3c0200'), "name"=>"Kiara Leannon IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3d0200'), "name"=>"Gordon Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3e0200'), "name"=>"Zechariah Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce3f0200'), "name"=>"Aracely Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce400200'), "name"=>"Kaia Sipes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce410200'), "name"=>"Madelyn Mosciski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce420200'), "name"=>"Floy Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.8806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce430200'), "name"=>"Kaylee Berge II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce440200'), "name"=>"Ms. Tatyana Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce450200'), "name"=>"Lyric Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce460200'), "name"=>"Orlando Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce470200'), "name"=>"Janae Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce480200'), "name"=>"Josiah Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce490200'), "name"=>"Mikayla Bergnaum Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4a0200'), "name"=>"Herbert Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4b0200'), "name"=>"Isabel Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4c0200'), "name"=>"Kraig Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4d0200'), "name"=>"Mr. Nestor Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4e0200'), "name"=>"Norbert Mante Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce4f0200'), "name"=>"Mr. Ruby Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce500200'), "name"=>"Ms. Trinity Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce510200'), "name"=>"Isabella Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce520200'), "name"=>"Isom Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce530200'), "name"=>"Mr. Larissa Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce540200'), "name"=>"Antonetta DuBuque PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce550200'), "name"=>"Chelsey Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce560200'), "name"=>"Quincy Beer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce570200'), "name"=>"Velda Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce580200'), "name"=>"Mrs. Brielle Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce590200'), "name"=>"Cathrine Paucek I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5a0200'), "name"=>"Arnold Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5b0200'), "name"=>"Pietro Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5c0200'), "name"=>"Linnie Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5d0200'), "name"=>"Miss Miracle Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5e0200'), "name"=>"Donny Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce5f0200'), "name"=>"Mrs. Colton Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce600200'), "name"=>"Vinnie Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce610200'), "name"=>"Ms. Verna McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce620200'), "name"=>"Jamel Sanford MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce630200'), "name"=>"Burdette Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce640200'), "name"=>"Jo Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce650200'), "name"=>"Makenzie Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce660200'), "name"=>"Sonny Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce670200'), "name"=>"Nigel Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce680200'), "name"=>"Mr. Max Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce690200'), "name"=>"Delfina Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6a0200'), "name"=>"Jerry Morissette III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6b0200'), "name"=>"Elsie Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6c0200'), "name"=>"Dr. Treva Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6d0200'), "name"=>"Else Rohan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6e0200'), "name"=>"Mr. Danny Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce6f0200'), "name"=>"Dr. Devonte Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce700200'), "name"=>"Alf Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce710200'), "name"=>"Adonis Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce720200'), "name"=>"Marshall Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce730200'), "name"=>"Toy Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce740200'), "name"=>"Alexa Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce750200'), "name"=>"Hobart Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce760200'), "name"=>"Lewis Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce770200'), "name"=>"Camila Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce780200'), "name"=>"Jaeden Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce790200'), "name"=>"Bernice Gleichner MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7a0200'), "name"=>"Juanita Haag PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7b0200'), "name"=>"Mia Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7c0200'), "name"=>"Rocky Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7d0200'), "name"=>"Tremayne Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7e0200'), "name"=>"Jermain Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce7f0200'), "name"=>"Anita Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce800200'), "name"=>"Flo Kautzer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce810200'), "name"=>"Creola Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce820200'), "name"=>"Laurine Hirthe DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce830200'), "name"=>"Thora DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce840200'), "name"=>"Rowland Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce850200'), "name"=>"Jordy Sawayn IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce860200'), "name"=>"Miss Hassie Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce870200'), "name"=>"Ms. Russ Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce880200'), "name"=>"Miss Jacklyn Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce890200'), "name"=>"Mr. Trevion Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8a0200'), "name"=>"Domenic Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8b0200'), "name"=>"Geraldine Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8c0200'), "name"=>"Michele Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8d0200'), "name"=>"Sonya Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8e0200'), "name"=>"Kody MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce8f0200'), "name"=>"Fausto Pacocha DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce900200'), "name"=>"Ms. Colt Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce910200'), "name"=>"Nikki Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df534077353313ce2e0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df534077353313ce2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce920200'), "name"=>"Dr. Cassie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce930200'), "name"=>"Uriel Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce940200'), "name"=>"Layla Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce950200'), "name"=>"Abagail Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce960200'), "name"=>"Mr. Tierra McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce970200'), "name"=>"Zola Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce980200'), "name"=>"Larissa Blanda III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce990200'), "name"=>"Jerrod Gleichner PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9a0200'), "name"=>"Ashleigh Rosenbaum DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9b0200'), "name"=>"Audra Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9c0200'), "name"=>"Neha Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9d0200'), "name"=>"Ezekiel Spencer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9e0200'), "name"=>"Anahi Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ce9f0200'), "name"=>"Joana Little MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea00200'), "name"=>"Josiane Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea10200'), "name"=>"Jayde Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea20200'), "name"=>"Darien Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea30200'), "name"=>"Ms. Dexter McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea40200'), "name"=>"Gaetano Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea50200'), "name"=>"Kyla Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea60200'), "name"=>"Benton Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea70200'), "name"=>"Katlynn Conn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea80200'), "name"=>"Nia Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cea90200'), "name"=>"Barton Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cea90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceaa0200'), "name"=>"Anne Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceaa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceab0200'), "name"=>"Misael O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceac0200'), "name"=>"Henderson Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cead0200'), "name"=>"Jacey Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cead0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceae0200'), "name"=>"Isaiah Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceaf0200'), "name"=>"Mrs. Kelton Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceaf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb00200'), "name"=>"Myra Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb10200'), "name"=>"Shawna Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb20200'), "name"=>"Thea Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb30200'), "name"=>"Rebecca Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb40200'), "name"=>"Ms. Darrin Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb50200'), "name"=>"Mrs. Emmet Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb60200'), "name"=>"Orland Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb70200'), "name"=>"Derrick Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb80200'), "name"=>"Leopold Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceb90200'), "name"=>"Vance Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceb90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceba0200'), "name"=>"Octavia O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebb0200'), "name"=>"Phyllis Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebc0200'), "name"=>"Valerie Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebd0200'), "name"=>"Mr. Adrienne Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebe0200'), "name"=>"Minnie Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cebf0200'), "name"=>"Mrs. Dillan Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cebf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec00200'), "name"=>"Dessie Kilback III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec10200'), "name"=>"Erwin Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec20200'), "name"=>"Shanon Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec30200'), "name"=>"Juvenal Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec40200'), "name"=>"Elsa Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec50200'), "name"=>"Ashtyn Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec60200'), "name"=>"Aglae Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec70200'), "name"=>"Valentina Halvorson III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec80200'), "name"=>"Jillian Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cec90200'), "name"=>"Clyde Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cec90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceca0200'), "name"=>"Jannie Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecb0200'), "name"=>"Savanah Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecc0200'), "name"=>"Kay Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecd0200'), "name"=>"Candelario Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cece0200'), "name"=>"Zane Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cece0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cecf0200'), "name"=>"Jaida Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cecf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced00200'), "name"=>"Tomas Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced10200'), "name"=>"Destin Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced20200'), "name"=>"Maida Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced30200'), "name"=>"Jamey Smith I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced40200'), "name"=>"Celine Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced50200'), "name"=>"Priscilla Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced60200'), "name"=>"Elbert Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced70200'), "name"=>"Belle Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced80200'), "name"=>"Joan Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ced90200'), "name"=>"Jordyn Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ced90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313ceda0200'), "name"=>"Hazle Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ceda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedb0200'), "name"=>"Mr. Faye Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedc0200'), "name"=>"Sanford Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedd0200'), "name"=>"Dr. Mathilde O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cede0200'), "name"=>"Tessie Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cede0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cedf0200'), "name"=>"Annabell Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cedf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534077353313cee00200'), "name"=>"Cassandra Grimes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313cee00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee10200'), "name"=>"Mireille Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee20200'), "name"=>"Samson Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee30200'), "name"=>"Juliet Greenfelder II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee40200'), "name"=>"Margarette Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee50200'), "name"=>"Miss Veronica Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee60200'), "name"=>"Donnell Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee70200'), "name"=>"Miss Lorenz Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee80200'), "name"=>"Buck Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cee90200'), "name"=>"Gerald Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cee90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceea0200'), "name"=>"Pablo Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceeb0200'), "name"=>"Dr. Maurine Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceeb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceec0200'), "name"=>"Damien Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceed0200'), "name"=>"Sheila Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceee0200'), "name"=>"Mateo Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313ceef0200'), "name"=>"Oren Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313ceef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef00200'), "name"=>"Mr. Roma Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef10200'), "name"=>"Pablo O'Connell II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef20200'), "name"=>"Florida Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef30200'), "name"=>"Mrs. Heloise Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef40200'), "name"=>"Floy Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df534177353313cef50200'), "name"=>"Ford Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534177353313cef50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df534077353313ce920200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df534077353313ce920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1996ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df534077353313ce920200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df534077353313ce920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms Redirected to http://test.host/categories/53df534077353313ce920200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313cef60200'), "name"=>"Sim Kreiger", "reference"=>"Alexys Quigley", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313cef70200'), "author_name"=>"Keenan Price", "content"=>["Doloremque quis magni impedit quibusdam doloribus voluptatibus commodi. Necessitatibus laboriosam quae voluptatem velit est ullam. Deserunt nostrum perferendis amet. Qui fugiat veritatis autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef60200')} 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"=>"53df534177353313cef60200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef60200')} 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('53df534177353313cef60200')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df534177353313cef80200'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms Redirected to http://test.host/products/53df534177353313cef60200/comments/53df534177353313cef80200 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313cef90200'), "name"=>"Charlene Runolfsdottir Sr.", "reference"=>"Ms. Maybell Kling", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313cefa0200'), "author_name"=>"Maximo Hills", "content"=>["Non minus id natus quam. Et amet eius dolor voluptates dolores. Aut nam iure aperiam. Nihil est repudiandae. Id vitae sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df534177353313cef90200", "id"=>"53df534177353313cefa0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef90200')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df534177353313cefa0200')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Redirected to http://test.host/products/53df534177353313cef90200/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cef90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313cefb0200'), "name"=>"Jade DuBuque", "reference"=>"Floy Denesik III", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313cefc0200'), "author_name"=>"Myrtis Nicolas", "content"=>["Praesentium aliquid sed ad dolorem quis repudiandae. Eos soluta architecto quo possimus dignissimos qui ut. Unde et fugit doloremque explicabo voluptas. Animi quisquam quia aut ab aspernatur nostrum nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df534177353313cefb0200", "id"=>"53df534177353313cefc0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cefb0200')} 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.4ms) Completed 200 OK in 8ms (Views: 5.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313cefd0200'), "name"=>"Dennis Rice", "reference"=>"Consuelo Torp", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313cefe0200'), "author_name"=>"Curt Schiller", "content"=>["Aperiam dolorem sapiente. Fuga praesentium dolores doloribus. Culpa dolor fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df534177353313cefd0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313cefd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ceff0200'), "name"=>"Kamron Connelly", "reference"=>"Jazlyn Reinger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce000300'), "author_name"=>"Ms. Winfield Boyle", "content"=>["In expedita nihil voluptates consequatur. Vitae qui rerum est enim. Aut explicabo eveniet porro iusto voluptatem. Eum non atque voluptatum fugit voluptas. Est quo et mollitia voluptatem expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df534177353313ceff0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ceff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce010300'), "name"=>"Arlene Quitzon", "reference"=>"Oceane Runolfsdottir II", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce020300'), "author_name"=>"Casimer Jacobs", "content"=>["Et sed voluptatem at totam dolorum non officiis. Inventore quo qui cupiditate ut et ex dolores. Occaecati et non quis aliquam qui quos deserunt. Adipisci vel repellendus. Optio velit excepturi blanditiis beatae voluptatem vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6837ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df534177353313ce010300", "id"=>"53df534177353313ce020300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce030300'), "name"=>"Lorenz Quitzon", "reference"=>"Kamryn Greenholt", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce040300'), "author_name"=>"Selina Fay", "content"=>["Molestiae veniam dolores doloribus ea distinctio veritatis eos. Cum perferendis qui numquam et blanditiis cupiditate. Ut doloremque ducimus suscipit. Esse animi incidunt delectus molestiae tempore. Placeat dicta accusamus id error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df534177353313ce030300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce050300'), "name"=>"Winnifred Ondricka IV", "reference"=>"Yvonne Watsica", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce060300'), "author_name"=>"Adalberto Schoen", "content"=>["Aperiam eum dolorem omnis sed sit aut expedita. Ut maxime voluptatem atque. Eos provident rerum repellat debitis id. Sed dolore id illum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df534177353313ce050300", "id"=>"53df534177353313ce060300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce070300'), "name"=>"Jenifer Mueller III", "reference"=>"Kamron Rath", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce080300'), "author_name"=>"Vern Stokes", "content"=>["Veniam voluptatibus ut veritatis tenetur rerum quod. Eaque ea quas dolorem. Ea et dolor qui earum ut quos et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df534177353313ce080300", "product_id"=>"53df534177353313ce070300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce070300')} 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('53df534177353313ce070300'), "comments._id"=>BSON::ObjectId('53df534177353313ce080300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Redirected to http://test.host/products/53df534177353313ce070300/comments/53df534177353313ce080300 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('53df534177353313ce090300'), "firstname"=>"Wayne", "lastname"=>"Schoen"}] 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.2575ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce0a0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms Redirected to http://test.host/admin/clients/53df534177353313ce0a0300 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('53df534177353313ce0b0300'), "firstname"=>"Mariano", "lastname"=>"McKenzie"}] 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=>"clients", :query=>{}} runtime: 0.2205ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df534177353313ce0b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce0b0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms 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.2299ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce0c0300'), "firstname"=>"Rene", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df534177353313ce0c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce0c0300')} 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.9ms) 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('53df534177353313ce0d0300'), "firstname"=>"Ferne", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce0e0300'), "firstname"=>"Fae", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms 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('53df534177353313ce0f0300'), "firstname"=>"Noemi", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df534177353313ce0f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms 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('53df534177353313ce100300'), "firstname"=>"Elisabeth", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df534177353313ce100300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce100300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms Redirected to http://test.host/admin/clients/53df534177353313ce100300 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('53df534177353313ce110300'), "firstname"=>"Kristin", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1467ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce120300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Redirected to http://test.host/clients/53df534177353313ce120300 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce130300'), "firstname"=>"Nola", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1422ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df534177353313ce130300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce130300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms 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.1515ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce140300'), "firstname"=>"Thelma", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df534177353313ce140300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53df534177353313ce150300'), "firstname"=>"Rosa", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df534177353313ce160300'), "firstname"=>"Evan", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms 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.4ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df534177353313ce170300'), "firstname"=>"Eldridge", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df534177353313ce170300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms 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('53df534177353313ce180300'), "firstname"=>"Queenie", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df534177353313ce180300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df534177353313ce180300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms Redirected to http://test.host/clients/53df534177353313ce180300 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('53df534177353313ce190300'), "name"=>"Maeve Grant", "reference"=>"Keanu Effertz I", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce1a0300'), "firstname"=>"Quinn", "lastname"=>"Effertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df534177353313ce190300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce190300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce190300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce1b0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms Redirected to http://test.host/products/53df534177353313ce190300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce1c0300'), "name"=>"Modesto Greenfelder", "reference"=>"Drake Kulas", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce1d0300'), "firstname"=>"Macey", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5934ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df534177353313ce1d0300", "product_id"=>"53df534177353313ce1c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce1c0300')} 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.8ms) Completed 200 OK in 10ms (Views: 8.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce1e0300'), "name"=>"Niko Quigley", "reference"=>"Audrey Ankunding", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce1f0300'), "firstname"=>"Liza", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df534177353313ce1e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (27.7ms) Completed 200 OK in 31ms (Views: 29.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce200300'), "name"=>"Mrs. Yoshiko Cassin", "reference"=>"Ms. Reed Deckow", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce210300'), "firstname"=>"Laisha", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df534177353313ce210300", "product_id"=>"53df534177353313ce200300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce220300'), "name"=>"Donato Heaney", "reference"=>"Seth Rippin Jr.", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df534177353313ce230300'), "firstname"=>"Ashton", "lastname"=>"Swaniawski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df534177353313ce230300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df534177353313ce220300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms Unpermitted parameters: name Redirected to http://test.host/products/53df534177353313ce220300/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('53df534177353313ce240300'), "name"=>"Mrs. Rupert Green", "reference"=>"Mr. Pamela Haley", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5859ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2865ms 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('53df534177353313ce250300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms Redirected to http://test.host/products/53df534177353313ce250300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3211ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce260300'), "name"=>"Liliana Nader", "reference"=>"Elda Wyman", "quantity"=>"8"}] 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.2853ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df534177353313ce260300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce260300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms 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.2917ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce270300'), "name"=>"Kaitlin Schumm", "reference"=>"Jillian Hoppe", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df534177353313ce270300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce280300'), "name"=>"Lucius Kiehn", "reference"=>"Jeramie Ryan I", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms 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.9034ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (18.2ms) Completed 200 OK in 21ms (Views: 20.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce290300'), "name"=>"Kian Olson", "reference"=>"Irma Balistreri III", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms 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.8029ms Completed 200 OK in 5ms (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('53df534177353313ce2a0300'), "name"=>"Mrs. Shaniya Miller", "reference"=>"Adele O'Conner", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df534177353313ce2a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms 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('53df534177353313ce2b0300'), "name"=>"Mckenna Gibson", "reference"=>"Lane Lebsack", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce2d0300'), "name"=>"Jennifer Abernathy PhD", "reference"=>"Wilford Konopelski MD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5938ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df534177353313ce2d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3926ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce2e0300'), "name"=>"Elyssa Stehr", "reference"=>"Arno Thompson", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2810ms 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('53df534177353313ce2f0300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2948ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce300300'), "name"=>"Autumn Williamson", "reference"=>"Benton Kertzmann V", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df534177353313ce300300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce300300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms 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('53df534177353313ce310300'), "name"=>"Akeem Nolan", "reference"=>"Tatyana Schumm", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 28ms (Views: 0.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce330300'), "name"=>"Miss Tristian Morar", "reference"=>"Paula Koch", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5770ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df534177353313ce330300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4107ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce330300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms 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('53df534177353313ce340300'), "name"=>"Marianne Schaden", "reference"=>"Era Rolfson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df534177353313ce340300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3768ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce340300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Redirected to http://test.host/products/53df534177353313ce340300 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce370300'), "name"=>"Herman Jerde", "reference"=>"Deven Wiegand", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce350300'), "author_name"=>"Rebeca Quitzon V", "content"=>["Et et omnis unde. Pariatur expedita ut officiis delectus. Molestiae error possimus quam qui dolores laudantium quas. Aut laudantium ut odio aut. Aut cupiditate quia harum."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce360300'), "author_name"=>"Alivia Morissette", "content"=>["Amet expedita quis ut accusamus natus et aliquam. Ex aperiam explicabo. Provident pariatur ratione qui. Ut nulla nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df534177353313ce370300", "comment_id"=>"53df534177353313ce350300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce370300'), "comments._id"=>BSON::ObjectId('53df534177353313ce350300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df534177353313ce380300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7064ms Redirected to http://test.host/products/53df534177353313ce370300/comments/53df534177353313ce350300/comments/53df534177353313ce380300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce3b0300'), "name"=>"Javier Gerlach", "reference"=>"Rylee Lind", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce390300'), "author_name"=>"Casandra Powlowski", "content"=>["Cumque velit aperiam optio numquam est magni. Non natus velit eveniet qui dicta inventore. Ducimus enim voluptatem consequatur. Nisi dolorum quae. Adipisci qui eveniet rem."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce3a0300'), "author_name"=>"Roberta Wiegand", "content"=>["Iure et voluptas. Fuga asperiores ut. Non omnis suscipit autem sed aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce3b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.5786ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df534177353313ce3b0300", "comment_id"=>"53df534177353313ce390300", "id"=>"53df534177353313ce3a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce3b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3783ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce3b0300'), "comments._id"=>BSON::ObjectId('53df534177353313ce390300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df534177353313ce3a0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms Redirected to http://test.host/products/53df534177353313ce3b0300/comments/53df534177353313ce390300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce3b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce3e0300'), "name"=>"Lizeth Torphy", "reference"=>"Ms. Donavon Kuhn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce3c0300'), "author_name"=>"Nayeli Dare", "content"=>["Eos modi qui ut quis in saepe. Consequatur non iste eos eius repellendus autem. Possimus fuga culpa ut alias placeat. Cumque quis voluptas officiis totam. Est numquam autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce3d0300'), "author_name"=>"Abdul Legros DDS", "content"=>["Quasi consectetur reprehenderit. Id qui sint deleniti illum. Blanditiis commodi deserunt alias eveniet repellendus delectus minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8037ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df534177353313ce3e0300", "comment_id"=>"53df534177353313ce3c0300", "id"=>"53df534177353313ce3d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce3e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce410300'), "name"=>"Diana Murazik", "reference"=>"Dandre Legros", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce3f0300'), "author_name"=>"Josianne Rodriguez II", "content"=>["In quaerat eaque dolorem exercitationem. Commodi rem laborum unde. Ea id sunt voluptas voluptatem aspernatur. Repellendus quia quasi ratione."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce400300'), "author_name"=>"Mrs. Will Terry", "content"=>["Dignissimos voluptate esse possimus magni dolorem. Et nisi nostrum omnis voluptatem necessitatibus. In assumenda voluptas provident est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5564ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df534177353313ce410300", "comment_id"=>"53df534177353313ce3f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce440300'), "name"=>"Mr. Ova Williamson", "reference"=>"Miss Sylvia Dibbert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce420300'), "author_name"=>"Elouise Hayes", "content"=>["Et eveniet sit odio nemo voluptas. Sapiente voluptatem ipsa et error. Quos perspiciatis eos aut ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce430300'), "author_name"=>"Titus Little", "content"=>["Harum qui unde. Facilis et autem iusto voluptatibus qui. Nulla aliquam nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5755ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df534177353313ce440300", "comment_id"=>"53df534177353313ce420300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce440300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce470300'), "name"=>"Miss Kenton McDermott", "reference"=>"Tevin Parker", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce450300'), "author_name"=>"Alta Rempel", "content"=>["Et commodi ut maiores explicabo. Eos earum similique. Sunt ut quo error. Facilis beatae et tenetur asperiores repudiandae suscipit eaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce460300'), "author_name"=>"Lindsay Jast", "content"=>["Odit placeat assumenda consequatur dolor vel quia enim. Nesciunt adipisci accusamus molestias fugiat et ducimus deleniti. Esse quod sapiente delectus est sed praesentium. Veritatis est et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4932ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df534177353313ce470300", "comment_id"=>"53df534177353313ce450300", "id"=>"53df534177353313ce460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4029ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce4a0300'), "name"=>"Miss Adella Von", "reference"=>"Kolby Okuneva", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce480300'), "author_name"=>"Kyler Rosenbaum", "content"=>["Id et fuga commodi iste quos assumenda. Magni quia tenetur enim. Ut iure voluptate. Nemo expedita eaque veritatis qui voluptatem. Eaque corrupti molestias ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce490300'), "author_name"=>"Dr. Aglae Bauch", "content"=>["Pariatur dolor omnis laboriosam quidem animi minus. Ratione dicta et ea. Blanditiis autem consectetur error placeat nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df534177353313ce4a0300", "comment_id"=>"53df534177353313ce480300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce4a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce4d0300'), "name"=>"Isadore Boehm", "reference"=>"Rossie Doyle II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce4b0300'), "author_name"=>"Charley Gerhold", "content"=>["Quis nemo error. Ut enim enim molestias et. Doloremque recusandae omnis iste neque. Impedit aliquam et explicabo ex."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce4c0300'), "author_name"=>"Meagan Jerde", "content"=>["Placeat enim iste nihil. Doloribus quia sapiente est sint deleniti. Culpa asperiores ducimus tenetur debitis quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df534177353313ce4d0300", "comment_id"=>"53df534177353313ce4b0300", "id"=>"53df534177353313ce4c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce4d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3659ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df534177353313ce500300'), "name"=>"Mrs. Joshua Schroeder", "reference"=>"Ms. Curtis Reichel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce4e0300'), "author_name"=>"Santina Pouros III", "content"=>["Totam dolor inventore sed distinctio pariatur cumque voluptates. Reiciendis autem et error asperiores. Dignissimos et error repudiandae alias quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df534177353313ce4f0300'), "author_name"=>"Zack Moore", "content"=>["Qui pariatur dignissimos. Dolorum magnam eum et nisi. Omnis sequi nam magnam molestiae asperiores. Dolores amet libero aliquam autem magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df534177353313ce4f0300", "product_id"=>"53df534177353313ce500300", "comment_id"=>"53df534177353313ce4e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3999ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df534177353313ce500300'), "comments._id"=>BSON::ObjectId('53df534177353313ce4e0300'), "comments.0.comments._id"=>BSON::ObjectId('53df534177353313ce4f0300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6474ms Redirected to http://test.host/products/53df534177353313ce500300/comments/53df534177353313ce4e0300/comments/53df534177353313ce4f0300 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('53df534177353313ce510300'), "firstname"=>"Jeramy", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms 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('53df534177353313ce520300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Redirected to http://test.host/users/53df534177353313ce520300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2375ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df534177353313ce530300'), "firstname"=>"Kelli", "lastname"=>"Bailey"}] 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.2021ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df534177353313ce530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df534177353313ce530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df534177353313ce530300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms 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.1498ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df534177353313ce540300'), "firstname"=>"Adella", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df534177353313ce540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df534177353313ce540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df534177353313ce550300'), "firstname"=>"Deven", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7229ms 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.4600ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (33.6ms) Completed 200 OK in 36ms (Views: 35.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df534177353313ce560300'), "firstname"=>"Lisette", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4851ms 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: 4.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df534177353313ce570300'), "firstname"=>"Khalil", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5304ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df534177353313ce570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df534177353313ce570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms 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('53df534177353313ce580300'), "firstname"=>"Guadalupe", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df534177353313ce580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df534177353313ce580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Unpermitted parameters: name Redirected to http://test.host/users/53df534177353313ce580300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms 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.2491ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms 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 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.2033ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3528ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431000000'), "firstname"=>"Marco", "lastname"=>"Maggio"}] 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=>"administrators", :query=>{}} runtime: 0.2079ms 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('53df54287735331431010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms 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.2394ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431020000'), "firstname"=>"Florida", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df54287735331431020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 50ms (Views: 48.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431030000'), "firstname"=>"Marcelina", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.3287ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431040000'), "firstname"=>"Athena", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5003ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df54287735331431040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431050000'), "firstname"=>"Jordi", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df54287735331431050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms 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('53df54287735331431060000'), "name"=>"Miss Rhea Morar", "reference"=>"Ursula Sporer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df54287735331431070000'), "author_name"=>"Elian Lueilwitz", "content"=>["Eum quidem et ut. Esse accusamus id ratione impedit ipsum. Non eius cumque tempore omnis reiciendis corrupti. Quo sed ut repellat. Quia eum soluta eum nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df54287735331431060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df54287735331431080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Redirected to http://test.host/admin/products/53df54287735331431060000/comments/53df54287735331431080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431090000'), "name"=>"Olin Ratke", "reference"=>"Noemy Runolfsdottir", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df542877353314310a0000'), "author_name"=>"Johanna Crona", "content"=>["Consequatur est minus totam. Velit quia accusantium maxime. Et eveniet et eligendi. Optio minus beatae eum hic sapiente dolores molestiae. Veritatis dolorem est beatae expedita ducimus perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df54287735331431090000", "id"=>"53df542877353314310a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431090000')} 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('53df54287735331431090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df542877353314310a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Redirected to http://test.host/admin/products/53df54287735331431090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314310b0000'), "name"=>"Aylin Jacobs", "reference"=>"Efren Reilly", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df542877353314310c0000'), "author_name"=>"Cathrine Mohr", "content"=>["Error at ratione quisquam. Nisi error veritatis impedit sapiente. Dolore repudiandae nihil exercitationem accusantium delectus sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df542877353314310b0000", "id"=>"53df542877353314310c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314310b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314310d0000'), "name"=>"Hyman Welch", "reference"=>"Athena Cremin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df542877353314310e0000'), "author_name"=>"Darrion Kuphal", "content"=>["Vitae hic et dolorem commodi tempora delectus adipisci. Corrupti sit molestias officia. Itaque ad architecto temporibus officiis. Adipisci qui quaerat nesciunt nisi ab ut facilis. Cum debitis natus dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df542877353314310d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314310d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314310f0000'), "name"=>"Jaden Abshire", "reference"=>"Mohammad Smith", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df54287735331431100000'), "author_name"=>"Nikki Torphy", "content"=>["Provident doloribus nam ut minus. Est temporibus est velit. Quis molestias rerum est. Ut eos aperiam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df542877353314310f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314310f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431110000'), "name"=>"Delaney Bergstrom", "reference"=>"Mrs. Dewitt Stokes", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df54287735331431120000'), "author_name"=>"Elsie Roberts", "content"=>["Voluptatum et est ab sint impedit qui quis. Illo cum debitis. Delectus facilis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df54287735331431110000", "id"=>"53df54287735331431120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431130000'), "name"=>"Citlalli Ledner", "reference"=>"Serena Bergstrom", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df54287735331431140000'), "author_name"=>"Arnoldo Hand IV", "content"=>["Voluptatem non sunt. Maxime et animi inventore nobis aut neque quos. Laborum dolorum adipisci eum et ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df54287735331431140000", "product_id"=>"53df54287735331431130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431130000')} 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('53df54287735331431130000'), "comments._id"=>BSON::ObjectId('53df54287735331431140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Redirected to http://test.host/admin/products/53df54287735331431130000/comments/53df54287735331431140000 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('53df54287735331431150000'), "name"=>"Cristian Reichert", "reference"=>"Ms. Favian Leannon", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df54287735331431160000'), "firstname"=>"Kaylie", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5563ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df54287735331431150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df54287735331431170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms Redirected to http://test.host/admin/products/53df54287735331431150000/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('53df54287735331431180000'), "name"=>"Lolita Conroy", "reference"=>"Dejuan Stroman", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df54287735331431190000'), "firstname"=>"Hilda", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df54287735331431190000", "product_id"=>"53df54287735331431180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431180000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314311a0000'), "name"=>"Emil Hodkiewicz II", "reference"=>"Adela Casper I", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df542877353314311b0000'), "firstname"=>"Lamont", "lastname"=>"Krajcik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df542877353314311a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314311a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314311c0000'), "name"=>"Jayde Funk", "reference"=>"Lauretta Kiehn", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df542877353314311d0000'), "firstname"=>"Quincy", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df542877353314311d0000", "product_id"=>"53df542877353314311c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314311c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542877353314311e0000'), "name"=>"Karina Eichmann", "reference"=>"Ms. Alivia Hane", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df542877353314311f0000'), "firstname"=>"Vivien", "lastname"=>"Hettinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df542877353314311f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df542877353314311e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542877353314311e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df542877353314311e0000/manager 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('53df54287735331431200000'), "name"=>"Mrs. Raegan Zulauf", "reference"=>"Kayley Harris", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1735ms 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('53df54287735331431210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Redirected to http://test.host/admin/products/53df54287735331431210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431220000'), "name"=>"Mr. Evelyn Hegmann", "reference"=>"Caesar Gibson", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1704ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df54287735331431220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431220000')} 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={"_id"=>BSON::ObjectId('53df54287735331431220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms 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.1831ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431230000'), "name"=>"Alexanne Lubowitz", "reference"=>"Roy Kuhn II", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df54287735331431230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431240000'), "name"=>"Savanna McGlynn", "reference"=>"Joshua Funk Jr.", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms 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.4797ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.0ms) Completed 200 OK in 12ms (Views: 11.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431250000'), "name"=>"Rebecca Crooks II", "reference"=>"Neva Wyman", "quantity"=>"1"}] 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.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54287735331431280000'), "name"=>"Tyrese Conroy", "reference"=>"Lessie Predovic", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df54287735331431280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms 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('53df54287735331431290000'), "name"=>"Miss Summer Grant", "reference"=>"Bette Lemke", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df54287735331431290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54287735331431290000')} 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('53df54287735331431290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0985ms Redirected to http://test.host/admin/products/53df54287735331431290000 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('53df542877353314312a0000'), "firstname"=>"Bridie", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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('53df542877353314312b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Redirected to http://test.host/admin/users/53df542877353314312b0000 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('53df542877353314312c0000'), "firstname"=>"Ervin", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1739ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df542877353314312c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542877353314312c0000')} 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('53df542877353314312c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms 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.1919ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542877353314312d0000'), "firstname"=>"Brenden", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df542877353314312d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542877353314312d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542877353314312e0000'), "firstname"=>"Lottie", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms 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.3190ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) 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('53df542877353314312f0000'), "firstname"=>"Fiona", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54287735331431300000'), "firstname"=>"Frida", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df54287735331431300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54287735331431300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54287735331431310000'), "firstname"=>"Coralie", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df54287735331431310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54287735331431310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df54287735331431310000 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('53df54287735331431320000'), "firstname"=>"Domenick", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1881ms 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('53df54287735331431330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms 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.1768ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431340000'), "firstname"=>"Vincenzo", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df54287735331431340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431350000'), "firstname"=>"Elouise", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6964ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431360000'), "firstname"=>"Ariane", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df54287735331431360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54287735331431370000'), "firstname"=>"Jamaal", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df54287735331431370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54287735331431370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54287735331431380000'), "name"=>"Alec Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54287735331431380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431390000'), "name"=>"Ahmad Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313a0000'), "name"=>"Johnnie Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313b0000'), "name"=>"Jacklyn Hodkiewicz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313c0000'), "name"=>"Teresa Hintz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313d0000'), "name"=>"Ms. Helga Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313e0000'), "name"=>"Trevor Schumm Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313f0000'), "name"=>"Simeon Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431400000'), "name"=>"Audie Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431410000'), "name"=>"Judd Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431420000'), "name"=>"Mrs. Kristian Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431430000'), "name"=>"Sydney Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431440000'), "name"=>"Hadley Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431450000'), "name"=>"Troy King MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431460000'), "name"=>"Candida Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431470000'), "name"=>"Jennie Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431480000'), "name"=>"Mazie Stracke Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431490000'), "name"=>"Alysson Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314a0000'), "name"=>"Ms. Adan Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314b0000'), "name"=>"Neal Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314c0000'), "name"=>"Erika Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314d0000'), "name"=>"Erin Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314e0000'), "name"=>"Mrs. Aileen Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314f0000'), "name"=>"Ms. Zola O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431500000'), "name"=>"Kristina Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431510000'), "name"=>"Bettie Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431520000'), "name"=>"Bridget Hammes IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431530000'), "name"=>"Johnny Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431540000'), "name"=>"Sebastian Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431550000'), "name"=>"Turner Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431560000'), "name"=>"Albertha Wintheiser PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431570000'), "name"=>"Einar Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431580000'), "name"=>"Fabiola Mann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431590000'), "name"=>"Caesar Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315a0000'), "name"=>"Trevion Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315b0000'), "name"=>"Dr. Stephany Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315c0000'), "name"=>"Rosalind Hermann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315d0000'), "name"=>"Sierra Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315e0000'), "name"=>"Mrs. Alaina McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315f0000'), "name"=>"Amya Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431600000'), "name"=>"Lauryn Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431610000'), "name"=>"Lula Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431620000'), "name"=>"Dr. Nick Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431630000'), "name"=>"Haskell Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431640000'), "name"=>"Seamus Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431650000'), "name"=>"Alison Carter Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431660000'), "name"=>"Rusty Carter PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431670000'), "name"=>"Amani Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431680000'), "name"=>"Ambrose O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431690000'), "name"=>"Dario Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316a0000'), "name"=>"Justice Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316b0000'), "name"=>"Dangelo Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316c0000'), "name"=>"Connor Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316d0000'), "name"=>"Flo Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316e0000'), "name"=>"Lavina Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316f0000'), "name"=>"Eulalia Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431700000'), "name"=>"Ms. Ottilie O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431710000'), "name"=>"Vivianne Torp V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431720000'), "name"=>"Karelle Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431730000'), "name"=>"Johnny Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431740000'), "name"=>"Michelle Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431750000'), "name"=>"Elyssa Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431760000'), "name"=>"Susana McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431770000'), "name"=>"Kraig Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431780000'), "name"=>"Ms. Tevin Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431790000'), "name"=>"Guillermo Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317a0000'), "name"=>"Bernard Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317b0000'), "name"=>"Della Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317c0000'), "name"=>"Dominique Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317d0000'), "name"=>"Laurine McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317e0000'), "name"=>"Ms. Tavares Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317f0000'), "name"=>"Nola Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431800000'), "name"=>"Ruthie Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431810000'), "name"=>"Letha Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431820000'), "name"=>"Deron Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431830000'), "name"=>"Lucienne Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431840000'), "name"=>"Alize Gottlieb I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431850000'), "name"=>"Brenna Kilback DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431860000'), "name"=>"Mrs. Augustus Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431870000'), "name"=>"Jeanette Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431880000'), "name"=>"Dorris Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431890000'), "name"=>"Mrs. Omer Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318a0000'), "name"=>"Mrs. Floyd Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318b0000'), "name"=>"Miss Houston Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318c0000'), "name"=>"Deangelo Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318d0000'), "name"=>"Irving Thiel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318e0000'), "name"=>"Destiny Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318f0000'), "name"=>"Denis Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431900000'), "name"=>"Cyrus Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431910000'), "name"=>"Miss Joseph Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431920000'), "name"=>"Lina Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431930000'), "name"=>"Mrs. Reuben Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431940000'), "name"=>"Mortimer Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431950000'), "name"=>"Miss Deborah Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431960000'), "name"=>"Norberto Bode I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431970000'), "name"=>"Dr. Garnett Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431980000'), "name"=>"Walter Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431990000'), "name"=>"Rogers Kub DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319a0000'), "name"=>"Maryjane Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319b0000'), "name"=>"Toy Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1619ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319c0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms Redirected to http://test.host/categories/53df542977353314319c0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2818ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319d0000'), "name"=>"Jaleel Rau V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319e0000'), "name"=>"Joel Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319f0000'), "name"=>"Mrs. Chanelle Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a00000'), "name"=>"Miss Harmony Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a10000'), "name"=>"Stephon Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a20000'), "name"=>"Norris Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a30000'), "name"=>"Mrs. Lynn Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a40000'), "name"=>"Janice Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a50000'), "name"=>"Madie Bartoletti MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a60000'), "name"=>"Shad Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a70000'), "name"=>"Halie Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a80000'), "name"=>"Felipa Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a90000'), "name"=>"Mr. Tremayne Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431aa0000'), "name"=>"Aiyana Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ab0000'), "name"=>"Brycen Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ac0000'), "name"=>"Nels Wehner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ad0000'), "name"=>"Rafaela Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ae0000'), "name"=>"Roselyn Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431af0000'), "name"=>"Coty Walsh I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b00000'), "name"=>"Mr. Janae Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b10000'), "name"=>"Abner Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b20000'), "name"=>"Marlene Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b30000'), "name"=>"Heber Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b40000'), "name"=>"Ottis Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b50000'), "name"=>"Alena Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b60000'), "name"=>"Mrs. Bradley Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b70000'), "name"=>"Ransom Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b80000'), "name"=>"Adrian Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b90000'), "name"=>"Dr. Delphia Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ba0000'), "name"=>"Keenan O'Reilly DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bb0000'), "name"=>"Jo Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bc0000'), "name"=>"Gayle Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bd0000'), "name"=>"Dr. Jairo Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431be0000'), "name"=>"Diana Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bf0000'), "name"=>"Ephraim Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c00000'), "name"=>"Arlene Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c10000'), "name"=>"Wilhelm Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c20000'), "name"=>"Torrance Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c30000'), "name"=>"Baby Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c40000'), "name"=>"Ms. Felipa Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c50000'), "name"=>"Ms. Owen Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c60000'), "name"=>"Michaela Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c70000'), "name"=>"Hadley Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c80000'), "name"=>"Karianne Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c90000'), "name"=>"Josiah Howe II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ca0000'), "name"=>"Royce Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cb0000'), "name"=>"Laverna Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cc0000'), "name"=>"Annamarie Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cd0000'), "name"=>"Aglae Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ce0000'), "name"=>"Germaine Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cf0000'), "name"=>"Jed Bruen Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d00000'), "name"=>"Giovanna Daniel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d10000'), "name"=>"Jimmy Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d20000'), "name"=>"Verla Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d30000'), "name"=>"Salma Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d40000'), "name"=>"Tito Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d50000'), "name"=>"Gordon Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d60000'), "name"=>"Cecelia Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d70000'), "name"=>"Madelyn Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d80000'), "name"=>"Connie Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d90000'), "name"=>"Mrs. Deborah Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431da0000'), "name"=>"Emmanuelle Nitzsche I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431db0000'), "name"=>"Donny Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431dc0000'), "name"=>"Shakira Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431dd0000'), "name"=>"Mr. Justus Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431de0000'), "name"=>"Aliyah Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431df0000'), "name"=>"Danyka Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e00000'), "name"=>"Bernadette Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e10000'), "name"=>"Emile Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e20000'), "name"=>"Van Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e30000'), "name"=>"Delilah Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e40000'), "name"=>"Rod Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e50000'), "name"=>"Golda Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e60000'), "name"=>"Jaylon Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e70000'), "name"=>"Carmelo Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e80000'), "name"=>"Cyrus Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e90000'), "name"=>"Emile Kuhlman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ea0000'), "name"=>"Bo Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431eb0000'), "name"=>"Coy Langosh MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ec0000'), "name"=>"Jerod Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ed0000'), "name"=>"Elton Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ee0000'), "name"=>"Miss Hershel Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ef0000'), "name"=>"Halie Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f00000'), "name"=>"Gage Leannon MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f10000'), "name"=>"Jasen Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f20000'), "name"=>"Louisa Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f30000'), "name"=>"Julia Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f40000'), "name"=>"Dr. Victoria Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f50000'), "name"=>"Arturo Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f60000'), "name"=>"Ms. Merritt Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f70000'), "name"=>"Jarod Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f80000'), "name"=>"Lamont Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f90000'), "name"=>"Ms. Ellsworth VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fa0000'), "name"=>"Kallie Reilly DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fb0000'), "name"=>"Mr. Clint Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fc0000'), "name"=>"Dock Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fd0000'), "name"=>"Guido Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fe0000'), "name"=>"Aaron Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ff0000'), "name"=>"Bella Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431000100'), "name"=>"Ms. Tanner Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1875ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df542977353314319d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df542977353314319d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df542977353314319d0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1653ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431010100'), "name"=>"Loma Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431020100'), "name"=>"Ms. Chyna Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431030100'), "name"=>"Mrs. Wyatt Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431040100'), "name"=>"Sherman Brekke V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431050100'), "name"=>"Bridie Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431060100'), "name"=>"Alba Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431070100'), "name"=>"Beau Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431080100'), "name"=>"Antwon Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431090100'), "name"=>"Ignatius Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310a0100'), "name"=>"Kiley Schumm IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310b0100'), "name"=>"Audrey Rutherford MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310c0100'), "name"=>"Joanie Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310d0100'), "name"=>"Dr. Deangelo Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310e0100'), "name"=>"Gia Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310f0100'), "name"=>"Lewis Veum PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431100100'), "name"=>"Jamey Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431110100'), "name"=>"Beverly Goodwin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431120100'), "name"=>"Vincenza Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431130100'), "name"=>"London Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431140100'), "name"=>"Lavinia Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431150100'), "name"=>"Dr. Karine Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431160100'), "name"=>"Annette Welch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431170100'), "name"=>"Mrs. Rhea Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431180100'), "name"=>"Lela Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431190100'), "name"=>"Mrs. Maryam McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311a0100'), "name"=>"Alexander Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311b0100'), "name"=>"Reid Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311c0100'), "name"=>"Harmon Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311d0100'), "name"=>"Madelynn Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311e0100'), "name"=>"Hilda Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311f0100'), "name"=>"Casandra Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431200100'), "name"=>"Dr. Murphy Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431210100'), "name"=>"Jaylan Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431220100'), "name"=>"Daphnee Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431230100'), "name"=>"Mollie Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431240100'), "name"=>"Stefanie Mann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431250100'), "name"=>"Amir Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431260100'), "name"=>"Golden Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431270100'), "name"=>"Kathryne Terry MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431280100'), "name"=>"Kara Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431290100'), "name"=>"Candelario Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312a0100'), "name"=>"Keshawn Gerlach DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312b0100'), "name"=>"Iliana Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312c0100'), "name"=>"Sherwood Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312d0100'), "name"=>"Dr. Ofelia Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312e0100'), "name"=>"Mrs. Domingo Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312f0100'), "name"=>"Nedra Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431300100'), "name"=>"Anya Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431310100'), "name"=>"Ms. Annetta Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431320100'), "name"=>"Derek Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431330100'), "name"=>"Zaria Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431340100'), "name"=>"Carey Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431350100'), "name"=>"Albertha Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431360100'), "name"=>"Blair Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431370100'), "name"=>"Adolphus Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431380100'), "name"=>"Geovanni Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431390100'), "name"=>"Celine Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313a0100'), "name"=>"Nikko Marvin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313b0100'), "name"=>"Magdalena Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313c0100'), "name"=>"Brielle Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313d0100'), "name"=>"Martine Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313e0100'), "name"=>"Jaylon Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313f0100'), "name"=>"Enrique Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431400100'), "name"=>"Kattie O'Connell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431410100'), "name"=>"Miss Jayden Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431420100'), "name"=>"Dorothea Goyette MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431430100'), "name"=>"Tiana Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431440100'), "name"=>"Susana Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431450100'), "name"=>"Janie Turcotte DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431460100'), "name"=>"Cornelius Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431470100'), "name"=>"Mr. Felton Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431480100'), "name"=>"Rahsaan Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431490100'), "name"=>"Miss Lavada Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314a0100'), "name"=>"Miss Juanita Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314b0100'), "name"=>"Neoma Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314c0100'), "name"=>"Dino Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314d0100'), "name"=>"Kamryn Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314e0100'), "name"=>"Dr. Gordon Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314f0100'), "name"=>"Dock Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431500100'), "name"=>"Bryana Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431510100'), "name"=>"Dr. Madaline Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431520100'), "name"=>"Freddy Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431530100'), "name"=>"Mrs. Hilma Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431540100'), "name"=>"Earnestine Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431550100'), "name"=>"Amira Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431560100'), "name"=>"Jarret Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431570100'), "name"=>"Jocelyn Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431580100'), "name"=>"Kraig Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431590100'), "name"=>"Erich Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315a0100'), "name"=>"Lucienne Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315b0100'), "name"=>"Brooke Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315c0100'), "name"=>"Ms. Eugenia Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315d0100'), "name"=>"Kari Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315e0100'), "name"=>"Karolann Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314315f0100'), "name"=>"Angel Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314315f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431600100'), "name"=>"Arely Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431610100'), "name"=>"Damaris Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431620100'), "name"=>"Alvera Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431630100'), "name"=>"Amelie Robel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431640100'), "name"=>"Miss Georgiana Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df54297735331431010100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54297735331431010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 9.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431650100'), "name"=>"Ebba Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431660100'), "name"=>"Lionel Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431670100'), "name"=>"Cesar Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431680100'), "name"=>"Dr. Freida Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431690100'), "name"=>"Mrs. Zion Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316a0100'), "name"=>"Will Kessler DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316b0100'), "name"=>"Dustin Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316c0100'), "name"=>"Irving Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316d0100'), "name"=>"Fannie Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316e0100'), "name"=>"Carlos Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314316f0100'), "name"=>"Miss Declan Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314316f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431700100'), "name"=>"Meredith Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431710100'), "name"=>"Owen Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431720100'), "name"=>"Gussie Carter III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431730100'), "name"=>"Dustin Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431740100'), "name"=>"Roberto Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431750100'), "name"=>"Jessyca Bechtelar Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431760100'), "name"=>"Julian Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431770100'), "name"=>"Harmon Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431780100'), "name"=>"Annalise Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431790100'), "name"=>"Sally Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317a0100'), "name"=>"Alverta Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317b0100'), "name"=>"Shemar McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317c0100'), "name"=>"Michele Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317d0100'), "name"=>"Keshawn Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317e0100'), "name"=>"Joshuah Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314317f0100'), "name"=>"Scarlett Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314317f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431800100'), "name"=>"Joshua Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431810100'), "name"=>"Kaylie Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431820100'), "name"=>"Jovany Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431830100'), "name"=>"Amir Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431840100'), "name"=>"Miss Diamond Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431850100'), "name"=>"Mazie Klein PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431860100'), "name"=>"Kendra Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431870100'), "name"=>"Cielo Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431880100'), "name"=>"Devante Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431890100'), "name"=>"Mr. Betty Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318a0100'), "name"=>"Jazmyn Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318b0100'), "name"=>"Lane Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.6290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318c0100'), "name"=>"Ms. Ethyl Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318d0100'), "name"=>"Jett Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318e0100'), "name"=>"Una Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314318f0100'), "name"=>"Jamal Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314318f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431900100'), "name"=>"Larry Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431910100'), "name"=>"Mrs. Phoebe Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431920100'), "name"=>"Yolanda Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431930100'), "name"=>"Iliana Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431940100'), "name"=>"Bianka Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431950100'), "name"=>"Ms. Henriette Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431960100'), "name"=>"Nicholaus Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431970100'), "name"=>"Winnifred Gislason DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431980100'), "name"=>"Verlie Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431990100'), "name"=>"Alda Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319a0100'), "name"=>"Mrs. Kamryn Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319b0100'), "name"=>"Osbaldo Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319c0100'), "name"=>"Claudie Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319d0100'), "name"=>"Freeman Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319e0100'), "name"=>"Mae Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314319f0100'), "name"=>"Elza Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314319f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a00100'), "name"=>"Rosemary Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a10100'), "name"=>"Kaleigh Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a20100'), "name"=>"Alexandrea Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a30100'), "name"=>"Miss Clinton Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a40100'), "name"=>"Herbert Crona Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a50100'), "name"=>"Elfrieda Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a60100'), "name"=>"William McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a70100'), "name"=>"Birdie Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a80100'), "name"=>"Brock Morissette DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431a90100'), "name"=>"Reilly Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431aa0100'), "name"=>"Jewell Lynch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ab0100'), "name"=>"Irwin Abernathy PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ac0100'), "name"=>"Otha Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ad0100'), "name"=>"Peggie Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ae0100'), "name"=>"Josue Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431af0100'), "name"=>"Guillermo Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b00100'), "name"=>"Carmel Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b10100'), "name"=>"Mr. Robyn Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b20100'), "name"=>"Xavier Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b30100'), "name"=>"Miss Janick Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b40100'), "name"=>"Giovanny Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b50100'), "name"=>"Robert Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b60100'), "name"=>"Kaylah Denesik V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b70100'), "name"=>"Danyka Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b80100'), "name"=>"Meghan Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431b90100'), "name"=>"Miss Ferne Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ba0100'), "name"=>"Miss Kathlyn Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bb0100'), "name"=>"Andreane Bruen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bc0100'), "name"=>"Jovani Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bd0100'), "name"=>"Kiera Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431be0100'), "name"=>"Jaime Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431bf0100'), "name"=>"Annabelle Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c00100'), "name"=>"Jarvis Davis DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c10100'), "name"=>"Floy O'Conner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c20100'), "name"=>"Lucile Weber PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c30100'), "name"=>"Colin Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c40100'), "name"=>"Keira Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c50100'), "name"=>"Demetris Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c60100'), "name"=>"Carole Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c70100'), "name"=>"Queenie Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c80100'), "name"=>"Koby Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339937480836] runtime: 0.1029ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (39.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2245ms Completed 200 OK in 46ms (Views: 45.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431c90100'), "name"=>"Houston Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ca0100'), "name"=>"Georgiana Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cb0100'), "name"=>"Matt Miller II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cc0100'), "name"=>"Jillian Fadel III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cd0100'), "name"=>"Mr. Tony Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ce0100'), "name"=>"Evert Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431cf0100'), "name"=>"Monica Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d00100'), "name"=>"Mya Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d10100'), "name"=>"Cathryn Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d20100'), "name"=>"Dessie Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d30100'), "name"=>"Alba Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d40100'), "name"=>"Junior Kemmer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d50100'), "name"=>"Sandy Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d60100'), "name"=>"Lesly McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d70100'), "name"=>"Elsie Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d80100'), "name"=>"Brennan Lang V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431d90100'), "name"=>"Harmon Schiller III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431da0100'), "name"=>"Katrina Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431db0100'), "name"=>"Kaley Schiller Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431dc0100'), "name"=>"Everett Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431dd0100'), "name"=>"Vince Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431de0100'), "name"=>"Ms. Santa Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431df0100'), "name"=>"Annette Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e00100'), "name"=>"Georgiana Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e10100'), "name"=>"Lionel Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e20100'), "name"=>"Ericka Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e30100'), "name"=>"Alanna Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e40100'), "name"=>"Alberta Turcotte Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e50100'), "name"=>"Annabell Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e60100'), "name"=>"Athena Bins Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e70100'), "name"=>"Bridget Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e80100'), "name"=>"Arielle Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431e90100'), "name"=>"Ms. Adeline Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ea0100'), "name"=>"Alfred DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431eb0100'), "name"=>"Mr. Ida Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ec0100'), "name"=>"April Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ed0100'), "name"=>"Lillie Weber I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ee0100'), "name"=>"Shanon Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ef0100'), "name"=>"Geo Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f00100'), "name"=>"Aniyah Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f10100'), "name"=>"Scarlett Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f20100'), "name"=>"Rodrick Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f30100'), "name"=>"Maxwell Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f40100'), "name"=>"Leda Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f50100'), "name"=>"Emerson Kuhlman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f60100'), "name"=>"Maddison Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f70100'), "name"=>"Donato Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f80100'), "name"=>"Fritz Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431f90100'), "name"=>"Mrs. Helmer Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fa0100'), "name"=>"Nedra Homenick MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fb0100'), "name"=>"Daphnee Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fc0100'), "name"=>"Duncan Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fd0100'), "name"=>"Miss Katrine Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431fe0100'), "name"=>"Travon Crona DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431ff0100'), "name"=>"Samara Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431000200'), "name"=>"Emelia Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431010200'), "name"=>"Elisa Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431020200'), "name"=>"Rita Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431030200'), "name"=>"Joy Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431040200'), "name"=>"Orval Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431050200'), "name"=>"Tre Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431060200'), "name"=>"Albert Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431070200'), "name"=>"Luigi Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431080200'), "name"=>"Richie Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431090200'), "name"=>"Lurline Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310a0200'), "name"=>"Priscilla Ritchie II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310b0200'), "name"=>"Miss Joanne O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310c0200'), "name"=>"Colby Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310d0200'), "name"=>"Gladyce Runte V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310e0200'), "name"=>"Valentina Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314310f0200'), "name"=>"Magali Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314310f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431100200'), "name"=>"Santa Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431110200'), "name"=>"Elva Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431120200'), "name"=>"Bartholome Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431130200'), "name"=>"Madison Streich V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431140200'), "name"=>"Mrs. Madge Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431150200'), "name"=>"Ms. Elisa Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431160200'), "name"=>"Jocelyn Buckridge MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431170200'), "name"=>"Nathanial Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431180200'), "name"=>"Lorenzo Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431190200'), "name"=>"Andreane Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311a0200'), "name"=>"Mr. Archibald Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311b0200'), "name"=>"Deangelo Schamberger II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311c0200'), "name"=>"Dawn Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311d0200'), "name"=>"Dakota Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311e0200'), "name"=>"Allen Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314311f0200'), "name"=>"Buster Schulist IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314311f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431200200'), "name"=>"Britney Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431210200'), "name"=>"Josefa Pfeffer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431220200'), "name"=>"Roxane Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431230200'), "name"=>"Modesta Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431240200'), "name"=>"Lauriane Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431250200'), "name"=>"Korbin Kautzer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431260200'), "name"=>"Winfield Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431270200'), "name"=>"Ivory Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431280200'), "name"=>"Gregoria Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431290200'), "name"=>"Muhammad Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312a0200'), "name"=>"Colin Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312b0200'), "name"=>"Alexys Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312c0200'), "name"=>"Ms. Lauren Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[340721862681] runtime: 0.0883ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1817ms Completed 500 Internal Server Error in 9ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312d0200'), "name"=>"Miss Adelia Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312e0200'), "name"=>"Consuelo Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314312f0200'), "name"=>"Jeffrey Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314312f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431300200'), "name"=>"Edna Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431310200'), "name"=>"Mrs. Reece Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431320200'), "name"=>"Shakira Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431330200'), "name"=>"Willow Wilkinson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431340200'), "name"=>"Gina Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431350200'), "name"=>"Sanford Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431360200'), "name"=>"Miss Shayna Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431370200'), "name"=>"Mrs. Norwood Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431380200'), "name"=>"Kaya Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431390200'), "name"=>"Dakota Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313a0200'), "name"=>"Citlalli Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313b0200'), "name"=>"Tristin Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313c0200'), "name"=>"Sylvia Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313d0200'), "name"=>"Sammy Cummerata DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313e0200'), "name"=>"Kyleigh Padberg IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314313f0200'), "name"=>"German Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314313f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431400200'), "name"=>"Cyrus Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431410200'), "name"=>"Ms. Rosemary Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431420200'), "name"=>"Marquise Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431430200'), "name"=>"Mrs. Donny Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431440200'), "name"=>"Mr. Diego Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431450200'), "name"=>"Sydni Lakin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431460200'), "name"=>"Abby Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431470200'), "name"=>"Sherwood Howe V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431480200'), "name"=>"Edward Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431490200'), "name"=>"Johnathan McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314a0200'), "name"=>"Derek Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314b0200'), "name"=>"Luis Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314c0200'), "name"=>"Tate Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314d0200'), "name"=>"Ronaldo Gutkowski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314e0200'), "name"=>"Roselyn Von IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542977353314314f0200'), "name"=>"Annette Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542977353314314f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431500200'), "name"=>"Mollie Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431510200'), "name"=>"Ms. Velma O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431520200'), "name"=>"Rickie Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431530200'), "name"=>"Laila Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431540200'), "name"=>"River Homenick DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431550200'), "name"=>"Jarrell Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431560200'), "name"=>"Itzel Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431570200'), "name"=>"Nya Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431580200'), "name"=>"Sylvia Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54297735331431590200'), "name"=>"Murl Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54297735331431590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315a0200'), "name"=>"Bertrand Keeling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315b0200'), "name"=>"Waino Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315c0200'), "name"=>"Jermain Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315d0200'), "name"=>"Jeff Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315e0200'), "name"=>"Holden Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314315f0200'), "name"=>"Bryana Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314315f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431600200'), "name"=>"Vita Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431610200'), "name"=>"Ms. Olaf Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431620200'), "name"=>"Maureen Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431630200'), "name"=>"Jace Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431640200'), "name"=>"Quinten Hilpert III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431650200'), "name"=>"Yasmin Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431660200'), "name"=>"Ewell Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431670200'), "name"=>"Kaitlin Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431680200'), "name"=>"Caterina Pacocha III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431690200'), "name"=>"Vaughn Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316a0200'), "name"=>"Mr. Kennedy Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316b0200'), "name"=>"Effie Schumm PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316c0200'), "name"=>"Sedrick Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316d0200'), "name"=>"Clementina Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316e0200'), "name"=>"Raheem Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314316f0200'), "name"=>"Hellen Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314316f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431700200'), "name"=>"Anastasia D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431710200'), "name"=>"Cortez Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431720200'), "name"=>"Imelda Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431730200'), "name"=>"Felicity Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431740200'), "name"=>"Leanne Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431750200'), "name"=>"Forest McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431760200'), "name"=>"Lyla Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431770200'), "name"=>"Haley Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431780200'), "name"=>"Marquise Cronin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431790200'), "name"=>"Kamren Ernser I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317a0200'), "name"=>"Roberta Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317b0200'), "name"=>"Kasey Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317c0200'), "name"=>"Merlin Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317d0200'), "name"=>"Britney Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317e0200'), "name"=>"Marques Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314317f0200'), "name"=>"Tyrell Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314317f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431800200'), "name"=>"Judah Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431810200'), "name"=>"Jayde Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431820200'), "name"=>"Cassidy Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431830200'), "name"=>"Dolores Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431840200'), "name"=>"Fidel Welch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431850200'), "name"=>"Delphia Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431860200'), "name"=>"Minnie Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431870200'), "name"=>"Cooper Beatty DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431880200'), "name"=>"Simone Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431890200'), "name"=>"Herman Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318a0200'), "name"=>"Lori Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318b0200'), "name"=>"Ms. Clifton Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318c0200'), "name"=>"Trycia Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318d0200'), "name"=>"Jessica Dare DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318e0200'), "name"=>"Amalia Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314318f0200'), "name"=>"Deonte Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314318f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431900200'), "name"=>"Angelina Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431920200'), "name"=>"Claude Beahan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431930200'), "name"=>"Nathan Wuckert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431940200'), "name"=>"Arnoldo Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431950200'), "name"=>"Esteban Balistreri Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431960200'), "name"=>"Ms. Ricky Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431970200'), "name"=>"Mrs. Korbin Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431980200'), "name"=>"Jamal McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431990200'), "name"=>"Larissa Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319a0200'), "name"=>"Marquise Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319b0200'), "name"=>"Aleen Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319c0200'), "name"=>"Tyler Von V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319d0200'), "name"=>"Janessa Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319e0200'), "name"=>"Sierra Fay Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314319f0200'), "name"=>"Miss Braulio Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314319f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a00200'), "name"=>"Lazaro Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a10200'), "name"=>"Mrs. Dillan Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a20200'), "name"=>"Leopold Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a30200'), "name"=>"Maximillian Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a40200'), "name"=>"Isabella Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a50200'), "name"=>"Adeline Stoltenberg II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a60200'), "name"=>"Mr. Paris Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a70200'), "name"=>"Lamar Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a80200'), "name"=>"Watson Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431a90200'), "name"=>"Lorenza Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431aa0200'), "name"=>"Mr. Wilhelm Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ab0200'), "name"=>"Henri Muller Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ac0200'), "name"=>"Ward Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ad0200'), "name"=>"Xzavier Halvorson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ae0200'), "name"=>"Lelia Johns DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431af0200'), "name"=>"Luigi Beahan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b00200'), "name"=>"Edison Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b10200'), "name"=>"Freda Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b20200'), "name"=>"Paige Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b30200'), "name"=>"Mckenna Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b40200'), "name"=>"Zakary Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b50200'), "name"=>"Jaida Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b60200'), "name"=>"Adaline Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b70200'), "name"=>"Arnaldo Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b80200'), "name"=>"Cory Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431b90200'), "name"=>"Linwood Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ba0200'), "name"=>"Braulio Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431bb0200'), "name"=>"Jose Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431bc0200'), "name"=>"Ms. Chloe Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431bd0200'), "name"=>"Mose Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431be0200'), "name"=>"Tressa Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431bf0200'), "name"=>"Maud Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c00200'), "name"=>"Charlie Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c10200'), "name"=>"Hattie Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c20200'), "name"=>"Markus Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c30200'), "name"=>"Adriana Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c40200'), "name"=>"Miss Chyna Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c50200'), "name"=>"Isabella Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c60200'), "name"=>"Carey Bahringer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c70200'), "name"=>"Kelli Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c80200'), "name"=>"Miguel Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431c90200'), "name"=>"Carter Bartell III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ca0200'), "name"=>"Ford Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431cb0200'), "name"=>"Mervin Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431cc0200'), "name"=>"Dorothea Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431cd0200'), "name"=>"Mrs. Mackenzie Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ce0200'), "name"=>"Howell Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431cf0200'), "name"=>"Brent Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d00200'), "name"=>"Lillian Langworth V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d10200'), "name"=>"Buck Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d20200'), "name"=>"Jaqueline Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d30200'), "name"=>"Chadd Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d40200'), "name"=>"Miss Kaylee Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d50200'), "name"=>"Marjolaine Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d60200'), "name"=>"Christop Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d70200'), "name"=>"Roberta Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d80200'), "name"=>"Ms. Max Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431d90200'), "name"=>"Willis Wiegand Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431da0200'), "name"=>"Katelyn Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431db0200'), "name"=>"Laila McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431dc0200'), "name"=>"Ramon Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431dd0200'), "name"=>"Kira Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431de0200'), "name"=>"Scottie Conn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431df0200'), "name"=>"Jaquan Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e00200'), "name"=>"Wava Kovacek MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e10200'), "name"=>"Tomasa Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e20200'), "name"=>"Darian Goodwin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e30200'), "name"=>"Camilla Schamberger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e40200'), "name"=>"Jarrod Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e50200'), "name"=>"Wilton Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e60200'), "name"=>"Gunnar Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e70200'), "name"=>"Tess Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e80200'), "name"=>"Darlene Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431e90200'), "name"=>"Lloyd Smith PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ea0200'), "name"=>"Jay Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431eb0200'), "name"=>"Madelyn Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ec0200'), "name"=>"Jared Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ed0200'), "name"=>"Ladarius Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ee0200'), "name"=>"Marianne Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ef0200'), "name"=>"Arjun Green II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f00200'), "name"=>"Weston Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f10200'), "name"=>"Miss Kurt Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f20200'), "name"=>"Nedra Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f30200'), "name"=>"Michael Little III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f40200'), "name"=>"Dimitri Volkman Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f50200'), "name"=>"Theresia Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df542a7735331431920200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df542a7735331431920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f60200'), "name"=>"Mrs. Sonia Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f70200'), "name"=>"Faustino McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f80200'), "name"=>"Mrs. Aaliyah Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431f90200'), "name"=>"Shanna Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431fa0200'), "name"=>"Erika Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431fb0200'), "name"=>"Stanford Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431fc0200'), "name"=>"Mitchell Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431fd0200'), "name"=>"Melody Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431fe0200'), "name"=>"Norwood Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431ff0200'), "name"=>"Caitlyn Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431000300'), "name"=>"Mr. Sunny Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431010300'), "name"=>"Amya Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431020300'), "name"=>"Kayley Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431030300'), "name"=>"Ms. Carter Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431040300'), "name"=>"Mrs. Myrtle Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431050300'), "name"=>"Miss Reece Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431060300'), "name"=>"Jacinthe Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431070300'), "name"=>"Laila Koch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431080300'), "name"=>"Judson Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431090300'), "name"=>"Mara Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310a0300'), "name"=>"Lea Hoppe DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310b0300'), "name"=>"Mrs. Danny Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310c0300'), "name"=>"Bud Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310d0300'), "name"=>"Mrs. Kaylah Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310e0300'), "name"=>"Keyon Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314310f0300'), "name"=>"Zena Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314310f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431100300'), "name"=>"Nolan Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431110300'), "name"=>"Lesly Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431120300'), "name"=>"Mrs. Casimir Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431130300'), "name"=>"Merl Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431140300'), "name"=>"Haven Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431150300'), "name"=>"Nicola Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431160300'), "name"=>"Toby Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431170300'), "name"=>"Dr. Ernest Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431180300'), "name"=>"Michel Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431190300'), "name"=>"Velva Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311a0300'), "name"=>"Elyse Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311b0300'), "name"=>"Marquis Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311c0300'), "name"=>"Arnaldo Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311d0300'), "name"=>"Alexie Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311e0300'), "name"=>"Aditya Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314311f0300'), "name"=>"Marlen Mertz IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314311f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431200300'), "name"=>"Arthur Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431210300'), "name"=>"Guillermo Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431220300'), "name"=>"Mr. Moses Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431230300'), "name"=>"Charlene Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431240300'), "name"=>"Ayana Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431250300'), "name"=>"Don Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431260300'), "name"=>"Tamia Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431270300'), "name"=>"Ferne Welch V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431280300'), "name"=>"Connie Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431290300'), "name"=>"Mabelle Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312a0300'), "name"=>"Mathew Bins IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312b0300'), "name"=>"Jaqueline Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312c0300'), "name"=>"Jordi Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312d0300'), "name"=>"Keon Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312e0300'), "name"=>"Zaria Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314312f0300'), "name"=>"Ms. Daniella Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314312f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431300300'), "name"=>"Kenyon Stokes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431310300'), "name"=>"Diana Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431320300'), "name"=>"Austin Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431330300'), "name"=>"Raphaelle Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431340300'), "name"=>"Margot Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431350300'), "name"=>"Nettie Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431360300'), "name"=>"Jerel Howell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431370300'), "name"=>"Dominique Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431380300'), "name"=>"Dameon Stark Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431390300'), "name"=>"Dr. Grace Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313a0300'), "name"=>"Ed Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313b0300'), "name"=>"Mrs. Jett Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313c0300'), "name"=>"Erling Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313d0300'), "name"=>"Demarco Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313e0300'), "name"=>"Laurine Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314313f0300'), "name"=>"Rod Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314313f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431400300'), "name"=>"Dangelo Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431400300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431410300'), "name"=>"Nathan Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431420300'), "name"=>"Gabriella Stark DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431420300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431430300'), "name"=>"Mrs. Betty Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431440300'), "name"=>"Miss Gardner Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431440300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431450300'), "name"=>"John Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431460300'), "name"=>"Rita Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431460300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431470300'), "name"=>"Donnie Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431480300'), "name"=>"Mr. Alayna Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431480300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431490300'), "name"=>"Silas Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314a0300'), "name"=>"Malika Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314b0300'), "name"=>"Ms. Brandi Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314c0300'), "name"=>"Kyle Bartell III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314d0300'), "name"=>"Mazie Hyatt PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314e0300'), "name"=>"Elijah Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a77353314314f0300'), "name"=>"Giuseppe Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a77353314314f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431500300'), "name"=>"Owen Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431510300'), "name"=>"Delmer Turner MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431510300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431520300'), "name"=>"Arnulfo Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431520300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431530300'), "name"=>"Mr. Velva Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431540300'), "name"=>"Jamison Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431550300'), "name"=>"Dr. Arch Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431550300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431560300'), "name"=>"Angelica Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431560300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431570300'), "name"=>"Elroy Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431580300'), "name"=>"Tianna Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df542a7735331431590300'), "name"=>"Kendall Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431590300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df542a7735331431f60200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df542a7735331431f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df542a7735331431f60200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df542a7735331431f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms Redirected to http://test.host/categories/53df542a7735331431f60200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314315a0300'), "name"=>"Vada Barton", "reference"=>"Kasandra Murazik MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df542a77353314315b0300'), "author_name"=>"Abdul Herzog", "content"=>["Dolores suscipit dignissimos vero cum expedita aut. Ratione ut odit aut qui amet reprehenderit. Voluptas sit voluptas et natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df542a77353314315a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315a0300')} 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('53df542a77353314315a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df542a77353314315c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms Redirected to http://test.host/products/53df542a77353314315a0300/comments/53df542a77353314315c0300 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314315d0300'), "name"=>"Corbin Kunze", "reference"=>"Garrick Lind", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df542a77353314315e0300'), "author_name"=>"Miss Graciela Pfeffer", "content"=>["Mollitia sunt aliquid deserunt voluptatum eaque earum. Ab expedita dolores sed voluptas eum a. Enim exercitationem voluptates voluptas recusandae hic ipsam. Corporis pariatur commodi expedita. Voluptatem iure ratione distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df542a77353314315d0300", "id"=>"53df542a77353314315e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315d0300')} 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('53df542a77353314315d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df542a77353314315e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Redirected to http://test.host/products/53df542a77353314315d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314315f0300'), "name"=>"Julie Willms", "reference"=>"Ms. Bill Dare", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df542a7735331431600300'), "author_name"=>"Max Johnson Sr.", "content"=>["Dolor est voluptatem quaerat. Minus autem dolores soluta est excepturi. Eveniet fuga provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df542a77353314315f0300", "id"=>"53df542a7735331431600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314315f0300')} 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 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431610300'), "name"=>"Joan Schaefer", "reference"=>"Dangelo Nitzsche", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df542a7735331431620300'), "author_name"=>"Clement Ortiz", "content"=>["Doloremque perferendis illum voluptates sit. Ut eos ea aliquam optio doloribus ullam. Laborum quasi numquam dolorem natus nobis. Occaecati veritatis ab. Nihil nostrum omnis qui blanditiis ut commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df542a7735331431610300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431610300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431630300'), "name"=>"Zack Bailey MD", "reference"=>"Janis Batz II", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df542a7735331431640300'), "author_name"=>"Mr. Toney Smith", "content"=>["Enim aut sit. Ducimus et et neque eum enim at. Neque voluptas magnam enim. Accusantium praesentium distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df542a7735331431630300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431630300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431650300'), "name"=>"Durward Hammes", "reference"=>"Jackson Fay", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df542a7735331431660300'), "author_name"=>"Alexzander Kutch", "content"=>["Sed pariatur ab occaecati enim optio quaerat quia. Ullam tempore quis assumenda eligendi delectus voluptatem aut. Deleniti voluptate eum hic nobis quia. Aut sint provident. Ut omnis et est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df542a7735331431650300", "id"=>"53df542a7735331431660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431650300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431670300'), "name"=>"Anibal Klein DDS", "reference"=>"Jarrett Tromp", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df542a7735331431680300'), "author_name"=>"Miss Ole Roob", "content"=>["Non accusantium et. Ea fugit provident modi eius recusandae quia. Aut non accusantium perspiciatis modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df542a7735331431670300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431670300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431690300'), "name"=>"Elvera Huels", "reference"=>"Mariano Hettinger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df542a77353314316a0300'), "author_name"=>"Silas Hermiston", "content"=>["Laboriosam dignissimos nisi tempore minima aut quibusdam. Soluta et illo omnis aut. Aut autem nemo. Quas itaque error. Molestiae pariatur nemo facilis ex aut voluptatem voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df542a7735331431690300", "id"=>"53df542a77353314316a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431690300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314316b0300'), "name"=>"Salvatore Cronin", "reference"=>"Kristin Roob", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df542a77353314316c0300'), "author_name"=>"Alia Heller", "content"=>["Atque enim quia error illum tempore quibusdam. Rerum sapiente saepe occaecati odio modi. Earum consequatur et. Sequi impedit eius. Iure reiciendis velit minima consequatur et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df542a77353314316c0300", "product_id"=>"53df542a77353314316b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314316b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314316b0300'), "comments._id"=>BSON::ObjectId('53df542a77353314316c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms Redirected to http://test.host/products/53df542a77353314316b0300/comments/53df542a77353314316c0300 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('53df542a77353314316d0300'), "firstname"=>"Aiden", "lastname"=>"Watsica"}] 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=>"clients", :query=>{}} runtime: 0.1393ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a77353314316e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Redirected to http://test.host/admin/clients/53df542a77353314316e0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2069ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a77353314316f0300'), "firstname"=>"Shanon", "lastname"=>"McCullough"}] 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.1813ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df542a77353314316f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a77353314316f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a77353314316f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms 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.1479ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a7735331431700300'), "firstname"=>"Manley", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df542a7735331431700300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431700300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df542a7735331431710300'), "firstname"=>"Lucy", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms 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('53df542a7735331431720300'), "firstname"=>"Dovie", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms 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.4ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a7735331431730300'), "firstname"=>"Mathias", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df542a7735331431730300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431730300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms 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('53df542a7735331431740300'), "firstname"=>"Abby", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df542a7735331431740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431740300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms Redirected to http://test.host/admin/clients/53df542a7735331431740300 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('53df542a7735331431750300'), "firstname"=>"Kassandra", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1350ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a7735331431760300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms Redirected to http://test.host/clients/53df542a7735331431760300 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('53df542a7735331431770300'), "firstname"=>"Ludwig", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1289ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df542a7735331431770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431770300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8245ms Redirected to http://test.host/clients Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2531ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df542a7735331431780300'), "firstname"=>"Ahmad", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df542a7735331431780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a7735331431780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df542a7735331431790300'), "firstname"=>"Maegan", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms 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('53df542a77353314317a0300'), "firstname"=>"Erick", "lastname"=>"Swift"}] 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.6ms) 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('53df542a77353314317b0300'), "firstname"=>"Kyra", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df542a77353314317b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a77353314317b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms 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('53df542a77353314317c0300'), "firstname"=>"Yasmine", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df542a77353314317c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df542a77353314317c0300')} 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('53df542a77353314317c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Redirected to http://test.host/clients/53df542a77353314317c0300 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('53df542a77353314317d0300'), "name"=>"Kirk Kshlerin", "reference"=>"Rae Harris", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df542a77353314317e0300'), "firstname"=>"Jaida", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df542a77353314317d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314317d0300')} 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('53df542a77353314317d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314317d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df542a77353314317f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Redirected to http://test.host/products/53df542a77353314317d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431800300'), "name"=>"Katherine Lebsack", "reference"=>"Amalia Schulist", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df542a7735331431810300'), "firstname"=>"Craig", "lastname"=>"Littel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df542a7735331431810300", "product_id"=>"53df542a7735331431800300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431800300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431820300'), "name"=>"Ms. Elsie Hintz", "reference"=>"Lewis Nienow", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df542a7735331431830300'), "firstname"=>"Austen", "lastname"=>"Homenick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df542a7735331431820300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431840300'), "name"=>"Lempi Little III", "reference"=>"Ms. Elaina Daniel", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df542a7735331431850300'), "firstname"=>"Mertie", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df542a7735331431850300", "product_id"=>"53df542a7735331431840300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431840300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Completed 200 OK in 30ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431860300'), "name"=>"Julien Nicolas", "reference"=>"Connor Bogan", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df542a7735331431870300'), "firstname"=>"Esteban", "lastname"=>"Conn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df542a7735331431870300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df542a7735331431860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431860300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms Unpermitted parameters: name Redirected to http://test.host/products/53df542a7735331431860300/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('53df542a7735331431880300'), "name"=>"Buford Casper", "reference"=>"Deron White MD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1819ms 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('53df542a7735331431890300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Redirected to http://test.host/products/53df542a7735331431890300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1729ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314318a0300'), "name"=>"Vickie Oberbrunner", "reference"=>"Raul Koepp", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2130ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df542a77353314318a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314318a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314318a0300')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2018ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314318b0300'), "name"=>"Caitlyn Bartell DVM", "reference"=>"Karley Batz", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df542a77353314318b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314318b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) 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('53df542a77353314318c0300'), "name"=>"Grover Quigley", "reference"=>"Chasity Hayes DVM", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms 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.7429ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (18.3ms) Completed 200 OK in 21ms (Views: 20.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314318d0300'), "name"=>"Jasmin Grady", "reference"=>"Gerhard Dibbert", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms 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: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a77353314318e0300'), "name"=>"Jade Kutch", "reference"=>"Rosie Hilll", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df542a77353314318e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a77353314318e0300')} 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('53df542a77353314318f0300'), "name"=>"Belle Fadel", "reference"=>"Carmine O'Kon", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df542a7735331431910300'), "name"=>"Garth Klein", "reference"=>"Sunny Lynch Jr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df542a7735331431910300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431920300'), "name"=>"Maiya Senger", "reference"=>"Mrs. Aurelio O'Hara", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1907ms 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('53df542a7735331431930300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1826ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542a7735331431940300'), "name"=>"Yolanda Daniel", "reference"=>"Joey Sipes Jr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df542a7735331431940300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431940300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms 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('53df542a7735331431950300'), "name"=>"Miss Lilyan Jerde", "reference"=>"Barney Marks", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms 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('53df542a7735331431970300'), "name"=>"Blaise Bednar", "reference"=>"Ryan Pagac", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df542a7735331431970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431970300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms 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('53df542a7735331431980300'), "name"=>"Akeem Gutkowski Jr.", "reference"=>"Halie Blanda PhD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df542a7735331431980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.7068ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542a7735331431980300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms Redirected to http://test.host/products/53df542a7735331431980300 Completed 302 Found in 29ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b77353314319b0300'), "name"=>"Leanne Hamill", "reference"=>"Lori Wisozk Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431990300'), "author_name"=>"Henriette Stroman", "content"=>["Sint aliquam fuga alias non ipsam dolorem et. Quia iure aspernatur dolorem. Et dignissimos quidem. Doloremque autem inventore et iste. Quisquam sequi in earum fuga necessitatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b77353314319a0300'), "author_name"=>"Keshawn Hettinger", "content"=>["Occaecati accusantium et dolorem voluptatum doloribus quasi ut. Et quo autem earum quasi enim. Facilis esse similique voluptatem ducimus sit ex. Culpa sapiente recusandae maxime itaque et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df542b77353314319b0300", "comment_id"=>"53df542b7735331431990300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4028ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319b0300'), "comments._id"=>BSON::ObjectId('53df542b7735331431990300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df542b77353314319c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5867ms Redirected to http://test.host/products/53df542b77353314319b0300/comments/53df542b7735331431990300/comments/53df542b77353314319c0300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b77353314319f0300'), "name"=>"Mckayla Metz", "reference"=>"Karen Schuppe V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df542b77353314319d0300'), "author_name"=>"Dr. Cullen Quitzon", "content"=>["Sit quia temporibus pariatur qui vero. Sit consequatur est atque et mollitia ea. Nemo laudantium dolorem impedit et saepe."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b77353314319e0300'), "author_name"=>"Alec Collins", "content"=>["Beatae odio ut labore sed veritatis. Qui aut esse. Autem ut voluptate. Fuga officia ut. Maiores placeat libero velit dicta voluptates."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df542b77353314319f0300", "comment_id"=>"53df542b77353314319d0300", "id"=>"53df542b77353314319e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319f0300'), "comments._id"=>BSON::ObjectId('53df542b77353314319d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df542b77353314319e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Redirected to http://test.host/products/53df542b77353314319f0300/comments/53df542b77353314319d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b77353314319f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431a20300'), "name"=>"Bertha Grant", "reference"=>"Eliane Boyer PhD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a00300'), "author_name"=>"Floyd Schaden", "content"=>["Cumque ab animi. Et cumque non tenetur. Iusto maiores eveniet voluptate officiis blanditiis. Corrupti unde est numquam consequatur. Iste deleniti eos quod aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a10300'), "author_name"=>"Finn Kertzmann", "content"=>["Sed et expedita officiis vero dolorum dolor saepe. Beatae numquam consequatur cum fugit et laboriosam. Aperiam sit aut quia incidunt ut voluptates ut. Libero minima quisquam culpa. Quis iste expedita est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3121ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df542b7735331431a20300", "comment_id"=>"53df542b7735331431a00300", "id"=>"53df542b7735331431a10300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431a20300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 43ms (Views: 40.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431a50300'), "name"=>"Vicky Rau", "reference"=>"Sonya Nienow", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a30300'), "author_name"=>"Jennifer Lubowitz", "content"=>["Necessitatibus dignissimos asperiores. Sit tempore qui porro sint. Qui similique quasi rerum enim. Temporibus sed laborum autem. Labore veniam distinctio molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a40300'), "author_name"=>"Magdalena Breitenberg DDS", "content"=>["Voluptas labore repudiandae distinctio reprehenderit et. Eveniet vitae assumenda maxime magni nihil consequatur et. Exercitationem odio sed. Qui necessitatibus eos et molestias dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df542b7735331431a50300", "comment_id"=>"53df542b7735331431a30300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431a50300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431a80300'), "name"=>"Mr. Alena Parisian", "reference"=>"Novella Konopelski", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a60300'), "author_name"=>"Miss Wilson Schoen", "content"=>["Ipsam culpa aut repudiandae. Ducimus eligendi voluptatibus in explicabo. Et necessitatibus vel debitis ipsam ex qui at. Voluptatum tenetur ipsum consequuntur et similique autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a70300'), "author_name"=>"Tyra Kozey", "content"=>["Quidem reiciendis qui et. Omnis impedit explicabo. At ea facilis provident fugiat optio. Dicta ducimus dolorem. Distinctio pariatur sed expedita non ipsa rerum reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df542b7735331431a80300", "comment_id"=>"53df542b7735331431a60300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431a80300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431ab0300'), "name"=>"Leta Orn", "reference"=>"Norberto Wehner", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431a90300'), "author_name"=>"Miss Hattie O'Conner", "content"=>["Repellat recusandae debitis incidunt nihil qui quia. Dicta animi beatae optio delectus non. Minus aut sunt ducimus esse atque aut. Vero quae aliquam numquam sed. Est sit blanditiis tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431aa0300'), "author_name"=>"Mr. Lorenz Hackett", "content"=>["Et eius earum magni placeat aliquam nihil est. Natus pariatur tenetur. Qui eligendi id mollitia sed non nulla consequuntur. Fugit voluptatibus id est esse maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df542b7735331431ab0300", "comment_id"=>"53df542b7735331431a90300", "id"=>"53df542b7735331431aa0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431ab0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431ae0300'), "name"=>"Marilou Williamson", "reference"=>"Russell Grant", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431ac0300'), "author_name"=>"Shana Cormier", "content"=>["Necessitatibus veniam quisquam non voluptas iste. Culpa doloremque harum dolorum. Nobis consequuntur est."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431ad0300'), "author_name"=>"Miss Carmela Hayes", "content"=>["Molestiae est commodi assumenda aut et voluptates itaque. Non ratione sit cupiditate neque quis corrupti. Libero nulla vero nisi quae maiores possimus distinctio. Quidem magni veritatis qui magnam. Magnam harum quisquam exercitationem ducimus tempore in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df542b7735331431ae0300", "comment_id"=>"53df542b7735331431ac0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431ae0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431b10300'), "name"=>"Miss Lonzo Homenick", "reference"=>"Rosie Stiedemann", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431af0300'), "author_name"=>"Percy Wisozk", "content"=>["Quasi quaerat tempore est. Impedit sed doloribus quasi tempore occaecati ab. Dolorem at dolor fugit architecto excepturi culpa."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431b00300'), "author_name"=>"Davion Bechtelar", "content"=>["Laborum dolorem delectus. Sit quos quia. Corporis et praesentium repellat omnis rerum tempore placeat. Beatae rerum quas fuga ea laudantium optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df542b7735331431b10300", "comment_id"=>"53df542b7735331431af0300", "id"=>"53df542b7735331431b00300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431b10300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df542b7735331431b40300'), "name"=>"Nolan O'Connell Jr.", "reference"=>"Deon Reichel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431b20300'), "author_name"=>"Trenton Hahn", "content"=>["Iusto facere nihil consequatur et consequatur pariatur. Placeat ut explicabo aliquam eveniet culpa reiciendis. Eligendi recusandae ab vel officia ea. Nihil aliquid rem et velit qui ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df542b7735331431b30300'), "author_name"=>"Jason Beer", "content"=>["Similique ducimus quaerat dolor optio sit. Dolore consequatur porro deleniti. Vel quia aut non perferendis dolorem rerum. At provident voluptate ipsum qui consequatur recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df542b7735331431b30300", "product_id"=>"53df542b7735331431b40300", "comment_id"=>"53df542b7735331431b20300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431b40300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3912ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df542b7735331431b40300'), "comments._id"=>BSON::ObjectId('53df542b7735331431b20300'), "comments.0.comments._id"=>BSON::ObjectId('53df542b7735331431b30300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5112ms Redirected to http://test.host/products/53df542b7735331431b40300/comments/53df542b7735331431b20300/comments/53df542b7735331431b30300 Completed 302 Found in 9ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542b7735331431b50300'), "firstname"=>"Kelvin", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2426ms 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('53df542b7735331431b60300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Redirected to http://test.host/users/53df542b7735331431b60300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2559ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542b7735331431b70300'), "firstname"=>"Vita", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2376ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df542b7735331431b70300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542b7735331431b70300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542b7735331431b70300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms 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.2454ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542b7735331431b80300'), "firstname"=>"Ronny", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df542b7735331431b80300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542b7735331431b80300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms 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('53df542b7735331431b90300'), "firstname"=>"Kian", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5459ms 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.4940ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.7ms) Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542b7735331431ba0300'), "firstname"=>"Enola", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df542b7735331431bb0300'), "firstname"=>"Kadin", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5466ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df542b7735331431bb0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542b7735331431bb0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3723ms 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('53df542b7735331431bc0300'), "firstname"=>"Samir", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df542b7735331431bc0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df542b7735331431bc0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4868ms Unpermitted parameters: name Redirected to http://test.host/users/53df542b7735331431bc0300 Completed 302 Found in 3ms 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.3346ms 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.3507ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms 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.2276ms 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=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7459ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa000000'), "firstname"=>"Jaydon", "lastname"=>"Schmitt"}] 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=>"administrators", :query=>{}} runtime: 0.2673ms 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('53df54e677353314aa010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms 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.2111ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa020000'), "firstname"=>"Tyrese", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df54e677353314aa020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e677353314aa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 50ms (Views: 49.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa030000'), "firstname"=>"Emelia", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa040000'), "firstname"=>"Johnson", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df54e677353314aa040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e677353314aa040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa050000'), "firstname"=>"Ofelia", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.4162ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df54e677353314aa050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e677353314aa050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3894ms 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('53df54e677353314aa060000'), "name"=>"Kathryne Morar", "reference"=>"Clifford Turcotte DDS", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa070000'), "author_name"=>"Rosendo Predovic", "content"=>["Impedit ut cum saepe nesciunt corrupti dolore. Ut et enim. Ut esse explicabo ratione nemo hic et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df54e677353314aa060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df54e677353314aa080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5715ms Redirected to http://test.host/admin/products/53df54e677353314aa060000/comments/53df54e677353314aa080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4507ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa090000'), "name"=>"Cornell Doyle", "reference"=>"Zion Schimmel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa0a0000'), "author_name"=>"Clark Mertz", "content"=>["Blanditiis dolor incidunt aperiam sunt dolore veniam necessitatibus. Repudiandae eveniet rem quas excepturi. Quam est ab non et. Ducimus illo quia dolorum blanditiis. Id quo molestiae dolor voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df54e677353314aa090000", "id"=>"53df54e677353314aa0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df54e677353314aa0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Redirected to http://test.host/admin/products/53df54e677353314aa090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3841ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa0b0000'), "name"=>"Rhianna Larkin", "reference"=>"Victoria Kuvalis", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa0c0000'), "author_name"=>"Ms. Jensen Auer", "content"=>["Optio reiciendis ipsa odit eius qui voluptate. Impedit fugit recusandae quidem incidunt ut et. Neque qui esse. Illo et commodi consectetur ex eum iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df54e677353314aa0b0000", "id"=>"53df54e677353314aa0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa0d0000'), "name"=>"Narciso Rosenbaum", "reference"=>"Miss Gladyce Feil", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa0e0000'), "author_name"=>"Jayden Fritsch", "content"=>["Et qui porro aliquid et consequatur inventore illo. Hic excepturi officia. Illum autem omnis qui. Vitae in ipsum aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6103ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df54e677353314aa0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa0f0000'), "name"=>"Kira Reichert", "reference"=>"Keara Kutch", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa100000'), "author_name"=>"Lesley Walsh", "content"=>["Mollitia et quis qui corporis sit et. Voluptas omnis nisi aut corporis. Recusandae quaerat possimus placeat error iure labore officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5883ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df54e677353314aa0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa110000'), "name"=>"Lane Kautzer", "reference"=>"Angelina Stiedemann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa120000'), "author_name"=>"Jada Quigley", "content"=>["Eius pariatur officiis et vero. Nam dolor tempora ducimus. Repellendus perspiciatis quaerat et. Ea et libero quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df54e677353314aa110000", "id"=>"53df54e677353314aa120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e677353314aa130000'), "name"=>"Rex Luettgen", "reference"=>"Easter Raynor", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e677353314aa140000'), "author_name"=>"Aric Hahn PhD", "content"=>["Quod illo nihil. Occaecati perspiciatis nesciunt non. Eos magnam inventore veritatis aspernatur unde vel. Cum perspiciatis neque sit ipsa omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df54e677353314aa140000", "product_id"=>"53df54e677353314aa130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa130000'), "comments._id"=>BSON::ObjectId('53df54e677353314aa140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Redirected to http://test.host/admin/products/53df54e677353314aa130000/comments/53df54e677353314aa140000 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('53df54e677353314aa150000'), "name"=>"Bret Stanton II", "reference"=>"Nannie Cummings II", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df54e677353314aa160000'), "firstname"=>"Deion", "lastname"=>"Emard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df54e677353314aa150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa150000')} 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('53df54e677353314aa150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e677353314aa150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df54e677353314aa170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms Redirected to http://test.host/admin/products/53df54e677353314aa150000/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('53df54e777353314aa180000'), "name"=>"Ms. Kirk Reilly", "reference"=>"Benjamin West", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df54e777353314aa190000'), "firstname"=>"Shemar", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df54e777353314aa190000", "product_id"=>"53df54e777353314aa180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa180000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1a0000'), "name"=>"Electa Zemlak", "reference"=>"Deondre Lowe", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df54e777353314aa1b0000'), "firstname"=>"Margarette", "lastname"=>"King"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df54e777353314aa1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1c0000'), "name"=>"Lourdes Wehner", "reference"=>"Ms. Pat Metz", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df54e777353314aa1d0000'), "firstname"=>"Lavern", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df54e777353314aa1d0000", "product_id"=>"53df54e777353314aa1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1e0000'), "name"=>"Elena Wiza", "reference"=>"Brad Nienow", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df54e777353314aa1f0000'), "firstname"=>"Jordon", "lastname"=>"Lynch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df54e777353314aa1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df54e777353314aa1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df54e777353314aa1e0000/manager 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('53df54e777353314aa200000'), "name"=>"Mr. Francesca Casper", "reference"=>"Mrs. Alberto Abernathy", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1731ms 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('53df54e777353314aa210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms Redirected to http://test.host/admin/products/53df54e777353314aa210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa220000'), "name"=>"Autumn Huels", "reference"=>"Jovany Kuhic PhD", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7369ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1559ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df54e777353314aa220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa220000')} 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={"_id"=>BSON::ObjectId('53df54e777353314aa220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms 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.1811ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa230000'), "name"=>"Carolyne Heidenreich", "reference"=>"Percy Gibson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df54e777353314aa230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa240000'), "name"=>"Vincenza Herzog", "reference"=>"Shanna Hermiston DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms 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.5439ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.3ms) Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa250000'), "name"=>"Cesar Turner", "reference"=>"Jedediah Walker", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa280000'), "name"=>"Karley Fahey", "reference"=>"Cristobal Tromp MD", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df54e777353314aa280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms 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('53df54e777353314aa290000'), "name"=>"Camryn Halvorson", "reference"=>"Justus Senger", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df54e777353314aa290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e777353314aa290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms Redirected to http://test.host/admin/products/53df54e777353314aa290000 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('53df54e777353314aa2a0000'), "firstname"=>"Efren", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2540ms 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('53df54e777353314aa2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Redirected to http://test.host/admin/users/53df54e777353314aa2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2246ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2c0000'), "firstname"=>"Oswaldo", "lastname"=>"Donnelly"}] 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=>"admin_users", :query=>{}} runtime: 0.1774ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df54e777353314aa2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e777353314aa2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e777353314aa2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms 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.1642ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2d0000'), "firstname"=>"Raymundo", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df54e777353314aa2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e777353314aa2d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2e0000'), "firstname"=>"Vanessa", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms 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.3093ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) 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('53df54e777353314aa2f0000'), "firstname"=>"Lionel", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa300000'), "firstname"=>"Korey", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df54e777353314aa300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e777353314aa300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa310000'), "firstname"=>"Cyril", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df54e777353314aa310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e777353314aa310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df54e777353314aa310000 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('53df54e777353314aa320000'), "firstname"=>"Aron", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1735ms 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('53df54e777353314aa330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms 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.1839ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa340000'), "firstname"=>"Chandler", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df54e777353314aa340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e777353314aa340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3582ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa350000'), "firstname"=>"Alena", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6835ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa360000'), "firstname"=>"Pamela", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df54e777353314aa360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e777353314aa360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa370000'), "firstname"=>"Garnett", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df54e777353314aa370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df54e777353314aa370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa380000'), "name"=>"Brenda Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa390000'), "name"=>"Dr. Mossie Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3a0000'), "name"=>"Florencio Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3b0000'), "name"=>"Miss Aglae Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3c0000'), "name"=>"Kailee Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3d0000'), "name"=>"Zoey Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3e0000'), "name"=>"Fanny Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3f0000'), "name"=>"Lucio Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa400000'), "name"=>"Elliott Maggio II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa410000'), "name"=>"Magali Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa420000'), "name"=>"Johnson Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa430000'), "name"=>"Jayda Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa440000'), "name"=>"Clair Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa450000'), "name"=>"Parker Gutkowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa460000'), "name"=>"Arlene Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa470000'), "name"=>"Cyrus Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa480000'), "name"=>"Ms. Hank Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa490000'), "name"=>"Anastasia Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4a0000'), "name"=>"Walker Blanda MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4b0000'), "name"=>"Donny Tillman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4c0000'), "name"=>"Benny Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4d0000'), "name"=>"Sabrina Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4e0000'), "name"=>"Miss Aletha Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4f0000'), "name"=>"Marlon Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa500000'), "name"=>"Antwan Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa510000'), "name"=>"Jacinthe Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa520000'), "name"=>"Mr. Rubye Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa530000'), "name"=>"Ova Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa540000'), "name"=>"Miss Eliseo Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa550000'), "name"=>"Michele Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa560000'), "name"=>"Jaylen Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa570000'), "name"=>"Delphia Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa580000'), "name"=>"Miss Gilberto Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa590000'), "name"=>"Nathen Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5a0000'), "name"=>"Mr. Amina Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5b0000'), "name"=>"Sallie Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5c0000'), "name"=>"Millie Farrell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5d0000'), "name"=>"Ben Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5e0000'), "name"=>"Edmond Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5f0000'), "name"=>"Ivy Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa600000'), "name"=>"Trevor Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa610000'), "name"=>"Maddison Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa620000'), "name"=>"Coty Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa630000'), "name"=>"Shannon Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa640000'), "name"=>"Destiny Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa650000'), "name"=>"Peter Cummings Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa660000'), "name"=>"Erling Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa670000'), "name"=>"Kira Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa680000'), "name"=>"Ms. Gudrun Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa690000'), "name"=>"Robbie Kub MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6a0000'), "name"=>"Dariana Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6b0000'), "name"=>"Chet Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6c0000'), "name"=>"Shania Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6d0000'), "name"=>"Gregorio Beatty DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6e0000'), "name"=>"Lee Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6f0000'), "name"=>"Dejah Macejkovic DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa700000'), "name"=>"Dale Satterfield IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa710000'), "name"=>"Sammie Zieme DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa720000'), "name"=>"Alexzander Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa730000'), "name"=>"Faye Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa740000'), "name"=>"Anderson Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa750000'), "name"=>"Dr. Vance Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1979ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa760000'), "name"=>"Isaiah Lockman PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa770000'), "name"=>"Dr. Maureen Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa780000'), "name"=>"Verdie Leuschke PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa790000'), "name"=>"Aubrey D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7a0000'), "name"=>"Dashawn Reilly"}] 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={"category_id"=>BSON::ObjectId('53df54e777353314aa7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7b0000'), "name"=>"Karianne Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7c0000'), "name"=>"Mrs. Amos Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7d0000'), "name"=>"Miss Steve Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7e0000'), "name"=>"Jarred Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7f0000'), "name"=>"Bernie Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa800000'), "name"=>"Ms. Levi Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa810000'), "name"=>"Myah Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa820000'), "name"=>"Rhett Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa830000'), "name"=>"Dr. Isabel Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa840000'), "name"=>"Margaret Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa850000'), "name"=>"Blaze Schamberger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa860000'), "name"=>"Danial Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa870000'), "name"=>"Scotty Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa880000'), "name"=>"Arvid Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa890000'), "name"=>"Travis Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8a0000'), "name"=>"Prince Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8b0000'), "name"=>"Mariana Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8c0000'), "name"=>"Vance Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8d0000'), "name"=>"Cory Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8e0000'), "name"=>"Major Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8f0000'), "name"=>"Dr. Julien Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa900000'), "name"=>"Rozella Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa910000'), "name"=>"Dakota Mann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa920000'), "name"=>"Dennis Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa930000'), "name"=>"Ms. Isobel Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa940000'), "name"=>"Brian Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.9669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa950000'), "name"=>"Lynn Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa960000'), "name"=>"Mrs. Justus Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa970000'), "name"=>"Mayra Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1747ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Redirected to http://test.host/categories/53df54e777353314aa980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1839ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa990000'), "name"=>"Laurel Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9a0000'), "name"=>"Alvena Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9b0000'), "name"=>"Neha Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9c0000'), "name"=>"Hortense Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9d0000'), "name"=>"Jose Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9e0000'), "name"=>"Mrs. Elmore White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9f0000'), "name"=>"Miss Nicolette Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa00000'), "name"=>"Darien Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa10000'), "name"=>"Stephany Rau MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa20000'), "name"=>"Webster Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa30000'), "name"=>"Dr. Forest Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa40000'), "name"=>"Ariane Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa50000'), "name"=>"Roslyn Bins MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa60000'), "name"=>"Marquis O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa70000'), "name"=>"Elody Parker Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa80000'), "name"=>"Rupert Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa90000'), "name"=>"Delphia Huel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaaa0000'), "name"=>"Desmond Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaab0000'), "name"=>"Kianna Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaac0000'), "name"=>"Mr. Vicente Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaad0000'), "name"=>"Eduardo Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaae0000'), "name"=>"Rita Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaaf0000'), "name"=>"Jodie Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaaf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab00000'), "name"=>"Mariana Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab10000'), "name"=>"Dion Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab20000'), "name"=>"Junius Russel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab30000'), "name"=>"Beverly Emmerich III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab40000'), "name"=>"Bernadette Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab50000'), "name"=>"Elody Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab60000'), "name"=>"Vesta Rosenbaum DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab70000'), "name"=>"Alyson Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab80000'), "name"=>"Therese Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab90000'), "name"=>"Dewitt Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaba0000'), "name"=>"Armando Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aabb0000'), "name"=>"Shaylee Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aabb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aabc0000'), "name"=>"Vance Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aabc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aabd0000'), "name"=>"Stephany Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aabd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aabe0000'), "name"=>"Johann Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aabe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aabf0000'), "name"=>"Jermey Lesch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aabf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac00000'), "name"=>"Vita Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac10000'), "name"=>"Reinhold Schiller DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac20000'), "name"=>"Mrs. Amara Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac30000'), "name"=>"Maria Erdman Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac40000'), "name"=>"Barry VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac50000'), "name"=>"Miss Gavin Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac60000'), "name"=>"Monroe Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac70000'), "name"=>"Dillan Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac80000'), "name"=>"Otho Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aac90000'), "name"=>"Kristy Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaca0000'), "name"=>"Mrs. Andrew Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aacb0000'), "name"=>"Anibal Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aacb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aacc0000'), "name"=>"Baron Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aacc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aacd0000'), "name"=>"Marguerite Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aacd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aace0000'), "name"=>"Enos Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aace0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aacf0000'), "name"=>"Mr. Eva Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aacf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad00000'), "name"=>"Miss Kiera Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad10000'), "name"=>"Esperanza Schmitt DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad20000'), "name"=>"Miss Guillermo Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad30000'), "name"=>"Alfred Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad40000'), "name"=>"Tiffany McGlynn DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad50000'), "name"=>"Tyreek West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad60000'), "name"=>"Justice Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad70000'), "name"=>"Marcelino Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad80000'), "name"=>"Alanis Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aad90000'), "name"=>"Anastasia Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aad90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aada0000'), "name"=>"Leone Aufderhar II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aada0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aadb0000'), "name"=>"Mabel Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aadb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aadc0000'), "name"=>"Patricia Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aadc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aadd0000'), "name"=>"Terry Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aadd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aade0000'), "name"=>"Jakayla Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aade0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aadf0000'), "name"=>"Mr. Casimir Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aadf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae00000'), "name"=>"Mr. Carlos Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae10000'), "name"=>"Mr. Sage Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae20000'), "name"=>"Alta Erdman Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae30000'), "name"=>"Miss Janis Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae40000'), "name"=>"Mr. Marisa Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae50000'), "name"=>"Mable Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae60000'), "name"=>"Madyson Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae70000'), "name"=>"Myron Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae80000'), "name"=>"Maryam Sporer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aae90000'), "name"=>"Mrs. Ebony Emmerich"}] 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={"category_id"=>BSON::ObjectId('53df54e777353314aae90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaea0000'), "name"=>"Nasir Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaeb0000'), "name"=>"Danial Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaec0000'), "name"=>"Cali Maggio DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaed0000'), "name"=>"Mr. Monserrat Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaee0000'), "name"=>"Daren Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaef0000'), "name"=>"Odie Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf00000'), "name"=>"Ms. Wade Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf10000'), "name"=>"Jeremie Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf20000'), "name"=>"Marcella Bauch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf30000'), "name"=>"Kristy Hintz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf40000'), "name"=>"Marianna Christiansen"}] 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={"category_id"=>BSON::ObjectId('53df54e777353314aaf40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf50000'), "name"=>"Dr. Adelia Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf60000'), "name"=>"Jerrold Jacobi MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf70000'), "name"=>"Hester Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf80000'), "name"=>"Madonna Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2673ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df54e777353314aa990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e777353314aa990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e777353314aa990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3194ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaf90000'), "name"=>"Anika Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aafa0000'), "name"=>"Tyrese Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aafa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aafb0000'), "name"=>"Jacinto Ondricka I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aafb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aafc0000'), "name"=>"Cecilia Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aafc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aafd0000'), "name"=>"Miss Kristina Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aafd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aafe0000'), "name"=>"Magdalen Hayes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aafe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaff0000'), "name"=>"Lilliana Moore III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa000100'), "name"=>"Shaun Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa010100'), "name"=>"Krista Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa020100'), "name"=>"Lucious Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa030100'), "name"=>"Fanny Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa040100'), "name"=>"Cecilia Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa050100'), "name"=>"Kaley Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa060100'), "name"=>"Erna Moen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa070100'), "name"=>"Mr. Ova Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa080100'), "name"=>"Mr. Katharina Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa090100'), "name"=>"Daniella Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0a0100'), "name"=>"Adonis Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0b0100'), "name"=>"Nova Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0c0100'), "name"=>"Whitney VonRueden I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0d0100'), "name"=>"Lauriane Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0e0100'), "name"=>"Ms. Francisca Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa0f0100'), "name"=>"Lessie Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.9570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa100100'), "name"=>"Gwen Kassulke III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa110100'), "name"=>"Dr. Reta Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa120100'), "name"=>"Dr. Katelyn Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa130100'), "name"=>"Kristoffer Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa140100'), "name"=>"Lester Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa150100'), "name"=>"Mrs. Mandy Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa160100'), "name"=>"Jovany Fisher DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa170100'), "name"=>"Jaydon Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa180100'), "name"=>"Crystal Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa190100'), "name"=>"Phyllis Heller I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1a0100'), "name"=>"Aliza Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1b0100'), "name"=>"Melody Bahringer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1c0100'), "name"=>"King Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1d0100'), "name"=>"Dr. Willy Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1e0100'), "name"=>"Hattie Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa1f0100'), "name"=>"Ila Thiel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa200100'), "name"=>"Cristobal Ankunding V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa210100'), "name"=>"Mertie Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa220100'), "name"=>"Ludie Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa230100'), "name"=>"Christelle Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa240100'), "name"=>"Robb Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa250100'), "name"=>"Asia Schneider V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa260100'), "name"=>"Izaiah Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa270100'), "name"=>"Treva Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa280100'), "name"=>"Dr. Virgie Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa290100'), "name"=>"Maymie Goodwin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2a0100'), "name"=>"Anabel Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2b0100'), "name"=>"Noelia Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2c0100'), "name"=>"Brisa Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2d0100'), "name"=>"Mrs. Carole Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2e0100'), "name"=>"Dortha Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa2f0100'), "name"=>"Santiago O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa300100'), "name"=>"Mr. Morris Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa310100'), "name"=>"Dana Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa320100'), "name"=>"Toy Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa330100'), "name"=>"Lenore Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa340100'), "name"=>"Lue Rogahn III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa350100'), "name"=>"Dr. Skyla Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa360100'), "name"=>"Rosamond Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa370100'), "name"=>"Missouri Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa380100'), "name"=>"Roselyn Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa390100'), "name"=>"Jammie Gerhold V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3a0100'), "name"=>"Hobart Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3b0100'), "name"=>"Sean West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3c0100'), "name"=>"Miss Izaiah Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3d0100'), "name"=>"Jamarcus Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3e0100'), "name"=>"Margaret Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa3f0100'), "name"=>"Crawford Hoppe DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa400100'), "name"=>"Ms. Hyman Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa410100'), "name"=>"Nico Cassin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa420100'), "name"=>"Dr. Genevieve Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa430100'), "name"=>"Gustave Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa440100'), "name"=>"Donnie Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa450100'), "name"=>"Baby Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa460100'), "name"=>"Daryl Stanton III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa470100'), "name"=>"Assunta Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa480100'), "name"=>"Germaine Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa490100'), "name"=>"Nasir Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4a0100'), "name"=>"Dr. Cathrine Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4b0100'), "name"=>"Lavonne Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4c0100'), "name"=>"Adriel Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4d0100'), "name"=>"Cora Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4e0100'), "name"=>"Heloise Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa4f0100'), "name"=>"Elisabeth Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa500100'), "name"=>"Kenton Corwin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa510100'), "name"=>"Daryl McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa520100'), "name"=>"Hassan Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa530100'), "name"=>"Tina Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa540100'), "name"=>"Joy Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa550100'), "name"=>"Kendall Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa560100'), "name"=>"Orion Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa570100'), "name"=>"Garret Breitenberg DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa580100'), "name"=>"Grayson Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df54e777353314aaf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e777353314aaf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.7ms) Completed 200 OK in 34ms (Views: 33.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa590100'), "name"=>"Otilia Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5a0100'), "name"=>"Mrs. Arvel Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5b0100'), "name"=>"Mireille Bernier I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5c0100'), "name"=>"Benton Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5d0100'), "name"=>"Elva Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5e0100'), "name"=>"Grady Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa5f0100'), "name"=>"Carmelo Bogan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa600100'), "name"=>"Ms. Kellie Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa610100'), "name"=>"Jannie Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa620100'), "name"=>"Elinore Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa630100'), "name"=>"Dr. Leonel Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa640100'), "name"=>"Mr. Leann Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa650100'), "name"=>"Mr. Filiberto Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa660100'), "name"=>"Vickie Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa670100'), "name"=>"Rickie Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa680100'), "name"=>"Immanuel Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa690100'), "name"=>"Adan Thompson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6a0100'), "name"=>"Leanna Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6b0100'), "name"=>"Vernie Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6c0100'), "name"=>"Christop Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6d0100'), "name"=>"Amy Effertz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6e0100'), "name"=>"Gerry Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa6f0100'), "name"=>"Elsa Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa700100'), "name"=>"Marcus Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa710100'), "name"=>"Anastasia Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa720100'), "name"=>"Dameon Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa730100'), "name"=>"Chaim Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa740100'), "name"=>"Jerrod Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa750100'), "name"=>"Ashleigh Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa760100'), "name"=>"Eduardo Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa770100'), "name"=>"Sandrine Abbott Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa780100'), "name"=>"Trenton Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa790100'), "name"=>"Orrin Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7a0100'), "name"=>"Beaulah Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7b0100'), "name"=>"Mr. Eriberto Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7c0100'), "name"=>"Herman Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7d0100'), "name"=>"Arden Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7e0100'), "name"=>"Kenyatta Kunde Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa7f0100'), "name"=>"Margarett Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa800100'), "name"=>"Russ Bruen III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa810100'), "name"=>"Rosalinda Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa820100'), "name"=>"Katrina Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa830100'), "name"=>"Alysa Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa840100'), "name"=>"Fern McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa850100'), "name"=>"Mariana Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa860100'), "name"=>"Alicia Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa870100'), "name"=>"Roberta McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa880100'), "name"=>"Ernestine Glover V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa890100'), "name"=>"Joey Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8a0100'), "name"=>"Grayson Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8b0100'), "name"=>"Marcellus Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8c0100'), "name"=>"Oda Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8d0100'), "name"=>"Sam Hane DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8e0100'), "name"=>"Buck O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa8f0100'), "name"=>"Belle Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa900100'), "name"=>"Khalil Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa910100'), "name"=>"Ricky Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa920100'), "name"=>"Sophia Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa930100'), "name"=>"Marilou Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa940100'), "name"=>"Keyshawn Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa950100'), "name"=>"Dillan Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa960100'), "name"=>"Myles Weber IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa970100'), "name"=>"Demarco Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa980100'), "name"=>"Cletus Kassulke DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa990100'), "name"=>"Miss Vladimir Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9a0100'), "name"=>"Ursula Gerlach V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9b0100'), "name"=>"Eloisa Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9c0100'), "name"=>"Kelli Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9d0100'), "name"=>"Clotilde Schiller Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9e0100'), "name"=>"Antoinette Zemlak MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aa9f0100'), "name"=>"Miss Johathan Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aa9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa00100'), "name"=>"Carlos Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa10100'), "name"=>"Mr. Torey Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa20100'), "name"=>"Dr. Arlene Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa30100'), "name"=>"Nayeli Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa40100'), "name"=>"Torrance DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa50100'), "name"=>"Dayna Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa60100'), "name"=>"Miss Grover Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa70100'), "name"=>"Rory Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa80100'), "name"=>"Mr. Nash Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaa90100'), "name"=>"Ed Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaa90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaaa0100'), "name"=>"Jane Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaaa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaab0100'), "name"=>"Chanel Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaac0100'), "name"=>"Madelyn Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaad0100'), "name"=>"Catharine Ankunding MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaae0100'), "name"=>"Mr. Olen O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aaaf0100'), "name"=>"Layla Reinger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aaaf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab00100'), "name"=>"Marilou Hauck V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab10100'), "name"=>"Mrs. Anabelle Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab20100'), "name"=>"Domenica Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab30100'), "name"=>"Ransom Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab40100'), "name"=>"Aimee Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab50100'), "name"=>"Stephanie Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab60100'), "name"=>"Ms. Yasmeen Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab70100'), "name"=>"Mrs. Stefanie Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e777353314aab80100'), "name"=>"Dr. Jamie Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e777353314aab80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339722262834] runtime: 0.0908ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (12.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1884ms Completed 200 OK in 18ms (Views: 17.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab90100'), "name"=>"Amaya Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaba0100'), "name"=>"Karolann Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabb0100'), "name"=>"Gladyce Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabc0100'), "name"=>"Verdie Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabd0100'), "name"=>"Felipe Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabe0100'), "name"=>"Crawford Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabf0100'), "name"=>"Gabrielle Glover MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac00100'), "name"=>"Oceane Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac10100'), "name"=>"Alene Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac20100'), "name"=>"Ms. Iliana Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac30100'), "name"=>"Urban Hirthe I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac40100'), "name"=>"Deonte Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac50100'), "name"=>"Reagan Brakus II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac60100'), "name"=>"Jayde Tromp III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac70100'), "name"=>"Maxine Koepp Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac80100'), "name"=>"Diana Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac90100'), "name"=>"Lorenz Bartoletti DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaca0100'), "name"=>"Mitchel Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacb0100'), "name"=>"Yasmeen Berge IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacc0100'), "name"=>"Emilie Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacd0100'), "name"=>"Lyda Murphy I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aace0100'), "name"=>"Miss Mafalda Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aace0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacf0100'), "name"=>"Tiara Sawayn DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad00100'), "name"=>"Miss Reinhold Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad10100'), "name"=>"Deborah Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad20100'), "name"=>"Selena Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad30100'), "name"=>"Mrs. Adrain Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad40100'), "name"=>"Dr. Cara Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad50100'), "name"=>"Domingo Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad60100'), "name"=>"Guillermo Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad70100'), "name"=>"Mr. Annamarie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad80100'), "name"=>"Earlene Schowalter Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad90100'), "name"=>"Tyler Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aada0100'), "name"=>"Clemmie Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aada0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadb0100'), "name"=>"Estel Hauck V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadc0100'), "name"=>"Triston Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadd0100'), "name"=>"Evie Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aade0100'), "name"=>"Mr. Nia Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aade0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadf0100'), "name"=>"Kaia Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae00100'), "name"=>"Miss Theo Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae10100'), "name"=>"Osvaldo Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae20100'), "name"=>"Bethel Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae30100'), "name"=>"Sonia Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae40100'), "name"=>"Mr. Lenny Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae50100'), "name"=>"Alfreda Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae60100'), "name"=>"Ms. Erich Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae70100'), "name"=>"Marcus Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae80100'), "name"=>"Mr. Faustino Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae90100'), "name"=>"Theodora Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaea0100'), "name"=>"Geraldine Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaeb0100'), "name"=>"Zakary Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaeb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaec0100'), "name"=>"Retta Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaed0100'), "name"=>"Van Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaee0100'), "name"=>"Aaliyah Feeney MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaef0100'), "name"=>"Alda Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf00100'), "name"=>"Rosie Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf10100'), "name"=>"Lucas Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf20100'), "name"=>"Mr. Rolando Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf30100'), "name"=>"Oleta Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf40100'), "name"=>"Lila Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf50100'), "name"=>"Norbert Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf60100'), "name"=>"Mrs. Josh Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf70100'), "name"=>"Buddy Weissnat"}] 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={"category_id"=>BSON::ObjectId('53df54e877353314aaf70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf80100'), "name"=>"Dalton Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf90100'), "name"=>"Afton Buckridge I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafa0100'), "name"=>"Madalyn Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafb0100'), "name"=>"Dr. Lola Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafc0100'), "name"=>"Fermin Bernhard DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafd0100'), "name"=>"Jakayla Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafe0100'), "name"=>"Lucious Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaff0100'), "name"=>"Mrs. Devonte Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa000200'), "name"=>"Andres Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa010200'), "name"=>"Einar Parker MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa020200'), "name"=>"Mr. Modesto Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa030200'), "name"=>"Ms. Israel Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa040200'), "name"=>"Florence Anderson"}] 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={"category_id"=>BSON::ObjectId('53df54e877353314aa040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa050200'), "name"=>"Jamison Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa060200'), "name"=>"Miss Shany Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa070200'), "name"=>"Francesco Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa080200'), "name"=>"Skye Casper DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa090200'), "name"=>"Jesus Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0a0200'), "name"=>"Miss Ernie Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0b0200'), "name"=>"Antonina Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0c0200'), "name"=>"Flo Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0d0200'), "name"=>"Austin Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0e0200'), "name"=>"Sabryna Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0f0200'), "name"=>"Edwina Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa100200'), "name"=>"Aracely Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa110200'), "name"=>"Ophelia Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa120200'), "name"=>"Florida Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa130200'), "name"=>"Colten Harber IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa140200'), "name"=>"Reinhold Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa150200'), "name"=>"Joshua O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa160200'), "name"=>"Nya Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa170200'), "name"=>"Marcos Pfannerstill DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa180200'), "name"=>"Vanessa McCullough V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[340454702200] runtime: 0.0999ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (7.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2289ms Completed 200 OK in 14ms (Views: 13.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa190200'), "name"=>"Adela Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1a0200'), "name"=>"Houston Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1b0200'), "name"=>"Lia Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1c0200'), "name"=>"Edward Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1d0200'), "name"=>"Edwina Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1e0200'), "name"=>"Candido Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1f0200'), "name"=>"Vanessa Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa200200'), "name"=>"Orion Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa210200'), "name"=>"Bernadette Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa220200'), "name"=>"Mrs. Shawn Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa230200'), "name"=>"Keyon Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa240200'), "name"=>"Arianna Brekke Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa250200'), "name"=>"Randal Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa260200'), "name"=>"Dr. Pamela Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa270200'), "name"=>"Keagan Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa280200'), "name"=>"Asa Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa290200'), "name"=>"Deanna Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2a0200'), "name"=>"Celestino Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2b0200'), "name"=>"Corbin Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2c0200'), "name"=>"Theron Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2d0200'), "name"=>"Joan Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2e0200'), "name"=>"Jakob Effertz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2f0200'), "name"=>"Vicky Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa300200'), "name"=>"Mattie Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa310200'), "name"=>"Mr. Marie Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa320200'), "name"=>"Ludie Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa330200'), "name"=>"Juliet Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa340200'), "name"=>"Jensen Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa350200'), "name"=>"Clementine Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa360200'), "name"=>"Ali Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa370200'), "name"=>"Daniella O'Kon II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa380200'), "name"=>"Simone Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa390200'), "name"=>"Ila Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3a0200'), "name"=>"Shakira Farrell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3b0200'), "name"=>"Marley King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3c0200'), "name"=>"Chase Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3d0200'), "name"=>"Mr. Josiane Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3e0200'), "name"=>"Ashton Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3f0200'), "name"=>"Cleora Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa400200'), "name"=>"Wilhelm Fisher II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa410200'), "name"=>"Buddy Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa420200'), "name"=>"Mr. Tina Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa430200'), "name"=>"Queenie Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa440200'), "name"=>"Silas Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa450200'), "name"=>"Jaylin Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa460200'), "name"=>"Ayana Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa470200'), "name"=>"Royal Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa480200'), "name"=>"Kirstin Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa490200'), "name"=>"Liam Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4a0200'), "name"=>"Tomasa Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4b0200'), "name"=>"Elda Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4c0200'), "name"=>"Lupe Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4d0200'), "name"=>"Earnest Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4e0200'), "name"=>"Roselyn Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4f0200'), "name"=>"Alexa Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa500200'), "name"=>"Julianne Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa510200'), "name"=>"Lesley Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa520200'), "name"=>"Novella Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa530200'), "name"=>"Gretchen Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa540200'), "name"=>"Theresa Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa550200'), "name"=>"Jada Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa560200'), "name"=>"Dolly Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa570200'), "name"=>"Mrs. Cleve Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa580200'), "name"=>"Bill Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa590200'), "name"=>"Miss Sandrine Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5a0200'), "name"=>"Leanne Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5b0200'), "name"=>"Deshaun Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5c0200'), "name"=>"Vivianne Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5d0200'), "name"=>"Zakary Raynor Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5e0200'), "name"=>"Peggie Johnston DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa5f0200'), "name"=>"Viva Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa600200'), "name"=>"Johnpaul Kassulke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa610200'), "name"=>"Cornell Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa620200'), "name"=>"Joesph Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa630200'), "name"=>"Elsie Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa640200'), "name"=>"Einar Dibbert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa650200'), "name"=>"Ezra Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa660200'), "name"=>"Nicole Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa670200'), "name"=>"Mayra Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa680200'), "name"=>"Cordia Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa690200'), "name"=>"Skyla Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6a0200'), "name"=>"Stevie Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6b0200'), "name"=>"Beaulah Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6c0200'), "name"=>"Cooper Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6d0200'), "name"=>"Lucy Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6e0200'), "name"=>"Justice Swift II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa6f0200'), "name"=>"Tiffany Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa700200'), "name"=>"Hayden Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa710200'), "name"=>"Efrain Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa720200'), "name"=>"Joana Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa730200'), "name"=>"Mae Rice MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa740200'), "name"=>"Eveline Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa750200'), "name"=>"Mr. Clotilde Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa760200'), "name"=>"Mrs. Jayson Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa770200'), "name"=>"Annamae Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa780200'), "name"=>"Edward Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 9ms (Views: 8.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7a0200'), "name"=>"Reagan Shields Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7b0200'), "name"=>"Pietro Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7c0200'), "name"=>"Elijah Weissnat DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7d0200'), "name"=>"Leola Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7e0200'), "name"=>"Heidi Swaniawski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa7f0200'), "name"=>"Maude O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa800200'), "name"=>"Enid Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa810200'), "name"=>"Alan Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa820200'), "name"=>"Demarcus Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa830200'), "name"=>"Duane O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa840200'), "name"=>"Neha Krajcik DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa850200'), "name"=>"Margarete Kreiger Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa860200'), "name"=>"Queen Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa870200'), "name"=>"Garland Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa880200'), "name"=>"Miss Krystal Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa890200'), "name"=>"Mrs. Randi McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8a0200'), "name"=>"Diamond Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8b0200'), "name"=>"Zula Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8c0200'), "name"=>"Calista Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8d0200'), "name"=>"Lucile Schowalter DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8e0200'), "name"=>"Georgiana McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa8f0200'), "name"=>"Grayson Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa900200'), "name"=>"Candida Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa910200'), "name"=>"Mr. Ursula Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa920200'), "name"=>"Dr. Shana Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa930200'), "name"=>"Daniela Satterfield MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa940200'), "name"=>"Miss Soledad Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa950200'), "name"=>"Aliya Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa960200'), "name"=>"Fausto Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa970200'), "name"=>"Mrs. Herminio Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa980200'), "name"=>"Ms. Stephany Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa990200'), "name"=>"Clifford Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9a0200'), "name"=>"Miss Madilyn Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9b0200'), "name"=>"Daryl Hirthe DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9c0200'), "name"=>"Kitty Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9d0200'), "name"=>"Alessia Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9e0200'), "name"=>"Elvis Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa9f0200'), "name"=>"Millie Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa00200'), "name"=>"Kaleb Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa10200'), "name"=>"Ivory Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa20200'), "name"=>"Carey Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa30200'), "name"=>"Benton Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa40200'), "name"=>"Alexandrea Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa50200'), "name"=>"Maudie Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa60200'), "name"=>"Mrs. Nadia Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa70200'), "name"=>"Shayne Hermann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa80200'), "name"=>"Scarlett Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaa90200'), "name"=>"Reanna Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaa90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaaa0200'), "name"=>"Rudy Quitzon IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaaa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaab0200'), "name"=>"Gia Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaac0200'), "name"=>"Aaron Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaad0200'), "name"=>"Mr. Constance Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaae0200'), "name"=>"Brain Ortiz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaaf0200'), "name"=>"Cesar Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaaf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab00200'), "name"=>"Dr. Maybell O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab10200'), "name"=>"Jaquan Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab20200'), "name"=>"Mr. Jenifer West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab30200'), "name"=>"Iva Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab40200'), "name"=>"Dr. Leonor Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab50200'), "name"=>"Lupe Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab60200'), "name"=>"Annamae Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab70200'), "name"=>"Velda Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab80200'), "name"=>"Nicholaus Reichel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aab90200'), "name"=>"Christ Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aab90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaba0200'), "name"=>"Kathryn Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabb0200'), "name"=>"Jayme Prohaska Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabc0200'), "name"=>"Perry Corwin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabd0200'), "name"=>"Salvador Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabe0200'), "name"=>"Concepcion Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aabf0200'), "name"=>"Dr. Kayley Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aabf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac00200'), "name"=>"Katarina Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac10200'), "name"=>"Deontae O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac20200'), "name"=>"Kyra Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac30200'), "name"=>"Fernando White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac40200'), "name"=>"Lilyan Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac50200'), "name"=>"Erik Dicki V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac60200'), "name"=>"Hank Jaskolski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac70200'), "name"=>"Marcelo Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac80200'), "name"=>"Kelli Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aac90200'), "name"=>"Miss Gabriel Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aac90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaca0200'), "name"=>"Ms. Era Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacb0200'), "name"=>"June Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacc0200'), "name"=>"Terence Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacd0200'), "name"=>"Phyllis Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aace0200'), "name"=>"May King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aace0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aacf0200'), "name"=>"Ms. Declan Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aacf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad00200'), "name"=>"Miss Ara Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad10200'), "name"=>"Jordy Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad20200'), "name"=>"Jairo Gleason II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad30200'), "name"=>"Ms. Delores Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad40200'), "name"=>"Elvera Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad50200'), "name"=>"Laverne Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad60200'), "name"=>"Keshaun West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad70200'), "name"=>"Ernestina Dibbert IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad80200'), "name"=>"Alden Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aad90200'), "name"=>"Joelle Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aad90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df54e877353314aa7a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e877353314aa7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aada0200'), "name"=>"Mr. Collin Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadb0200'), "name"=>"Daren Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadc0200'), "name"=>"Reta Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadd0200'), "name"=>"Marge Carroll II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aade0200'), "name"=>"Dixie Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aade0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aadf0200'), "name"=>"Luciano Towne IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aadf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae00200'), "name"=>"Kayden Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae10200'), "name"=>"Douglas Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae20200'), "name"=>"Grady Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae30200'), "name"=>"Rigoberto Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae40200'), "name"=>"Madisyn Moore DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae50200'), "name"=>"Randal Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae60200'), "name"=>"Mandy Kuvalis"}] 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={"category_id"=>BSON::ObjectId('53df54e877353314aae60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae70200'), "name"=>"Dr. Helen Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae80200'), "name"=>"Maxie Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aae90200'), "name"=>"Chandler Dooley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aae90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaea0200'), "name"=>"Crystel Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaeb0200'), "name"=>"Mr. Mathilde Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaeb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaec0200'), "name"=>"Maxwell Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaed0200'), "name"=>"Kenneth Bergstrom V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaee0200'), "name"=>"Ms. Blanca Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaef0200'), "name"=>"Dr. Keith Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf00200'), "name"=>"Vincenzo Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf10200'), "name"=>"Ari Kling DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf20200'), "name"=>"Gregory Sporer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf30200'), "name"=>"Alanis Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf40200'), "name"=>"Braulio Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf50200'), "name"=>"Morgan Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf60200'), "name"=>"Fritz Baumbach I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf70200'), "name"=>"Jarrell Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf80200'), "name"=>"Ally Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaf90200'), "name"=>"Glen D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaf90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafa0200'), "name"=>"Hudson Boyle PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafb0200'), "name"=>"Gardner Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafc0200'), "name"=>"Dr. Justice Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafd0200'), "name"=>"Dane Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aafe0200'), "name"=>"Zaria Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aafe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aaff0200'), "name"=>"Dr. Jace Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aaff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa000300'), "name"=>"Diamond Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa010300'), "name"=>"Giles Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa020300'), "name"=>"Annette Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa030300'), "name"=>"Rosendo Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa040300'), "name"=>"Adela Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa050300'), "name"=>"Dr. Pietro Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa060300'), "name"=>"Dr. Santino McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa070300'), "name"=>"Mr. Hassan McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa080300'), "name"=>"Miss Dell Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa090300'), "name"=>"Toni Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0a0300'), "name"=>"Gia Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0b0300'), "name"=>"Carole Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0c0300'), "name"=>"Cathryn Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0d0300'), "name"=>"Elza Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0e0300'), "name"=>"Clement Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa0f0300'), "name"=>"Ariel Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa100300'), "name"=>"Vinnie Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa110300'), "name"=>"Alvina Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa120300'), "name"=>"Ms. Kathleen Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa130300'), "name"=>"Katelynn Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa140300'), "name"=>"Raleigh Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa150300'), "name"=>"Miss Boris Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa160300'), "name"=>"Mina Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa170300'), "name"=>"Stuart Homenick V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa180300'), "name"=>"Dahlia Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa190300'), "name"=>"Rudolph Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1a0300'), "name"=>"Mrs. Maryam Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1b0300'), "name"=>"Fatima Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1c0300'), "name"=>"Ernesto Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1d0300'), "name"=>"Cyrus Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1e0300'), "name"=>"Yasmin Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa1f0300'), "name"=>"Seth Spinka MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa1f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa200300'), "name"=>"Jerrold Spinka III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa210300'), "name"=>"Gideon Mueller DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa220300'), "name"=>"Mrs. Madyson Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa230300'), "name"=>"Joana Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa240300'), "name"=>"Pink Littel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa250300'), "name"=>"Lance Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa260300'), "name"=>"Abbie Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa270300'), "name"=>"Javier Mayert DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa280300'), "name"=>"Guiseppe Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa290300'), "name"=>"Kim Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2a0300'), "name"=>"Lottie Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2b0300'), "name"=>"Estrella McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2c0300'), "name"=>"Wilburn Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2d0300'), "name"=>"Jadon Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2e0300'), "name"=>"Beth Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa2f0300'), "name"=>"Genoveva King V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa2f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa300300'), "name"=>"Mya Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa310300'), "name"=>"Fausto Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa320300'), "name"=>"Walton Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa330300'), "name"=>"Miss Deondre Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa340300'), "name"=>"Carole Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa350300'), "name"=>"Isabelle Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa360300'), "name"=>"Lennie Yost PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa370300'), "name"=>"Dereck Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa380300'), "name"=>"Rudolph Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa390300'), "name"=>"Mrs. Justus Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aa390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df54e877353314aada0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e877353314aada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df54e877353314aada0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df54e877353314aada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms Redirected to http://test.host/categories/53df54e877353314aada0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3a0300'), "name"=>"Sanford Thompson", "reference"=>"Morgan Altenwerth", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa3b0300'), "author_name"=>"Tania Rempel", "content"=>["Voluptas dolore est. Sed dolore nam mollitia qui id. Debitis iste sed consequuntur ea quidem. Et corrupti quis temporibus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df54e877353314aa3a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df54e877353314aa3c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Redirected to http://test.host/products/53df54e877353314aa3a0300/comments/53df54e877353314aa3c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3d0300'), "name"=>"Riley Baumbach", "reference"=>"Darryl Rowe", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa3e0300'), "author_name"=>"Roman Thiel", "content"=>["Alias id molestiae qui est sunt. Placeat omnis iusto sit et dolor. Non ab fugiat assumenda eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df54e877353314aa3d0300", "id"=>"53df54e877353314aa3e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df54e877353314aa3e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms Redirected to http://test.host/products/53df54e877353314aa3d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa3f0300'), "name"=>"Ms. Kaelyn Bednar", "reference"=>"Justyn Terry", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa400300'), "author_name"=>"Kyra Will", "content"=>["Nisi recusandae architecto. Reiciendis laudantium voluptatum non dolore. At veritatis et sint assumenda iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df54e877353314aa3f0300", "id"=>"53df54e877353314aa400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa3f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa410300'), "name"=>"Telly Okuneva II", "reference"=>"Darby VonRueden III", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa420300'), "author_name"=>"Maribel Little", "content"=>["Dolores eos libero nesciunt et. Reprehenderit et cupiditate odit ducimus. Delectus cupiditate ducimus. Cumque eos magni laudantium voluptas aspernatur. Nihil repudiandae aut laboriosam veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df54e877353314aa410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.8ms) Completed 200 OK in 41ms (Views: 39.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa430300'), "name"=>"Brandi Frami IV", "reference"=>"Adam Reichel III", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa440300'), "author_name"=>"Collin Hyatt Jr.", "content"=>["Reiciendis inventore ut laboriosam. Beatae sint ipsa laborum. Et eos fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df54e877353314aa430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa450300'), "name"=>"Landen Schuster DVM", "reference"=>"Ms. Albertha Weimann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa460300'), "author_name"=>"Sheridan Keebler IV", "content"=>["Sed velit ea. Voluptatem ipsam est iste quia accusantium quo. Quos optio et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4245ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df54e877353314aa450300", "id"=>"53df54e877353314aa460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa470300'), "name"=>"Glennie Waters MD", "reference"=>"Maria Littel", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa480300'), "author_name"=>"Royal Koch", "content"=>["Aperiam officiis similique deleniti reiciendis. Voluptatem reiciendis assumenda quo ut. Esse quos velit vitae sit non exercitationem est. Placeat illo blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df54e877353314aa470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa490300'), "name"=>"Vita Lehner", "reference"=>"Rhiannon Dickens II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa4a0300'), "author_name"=>"Caitlyn Goyette", "content"=>["Id commodi rerum ducimus qui. Culpa temporibus saepe. Eaque corrupti tempora autem. Porro possimus ut est. Officiis vel odio autem deleniti voluptates porro minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5327ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df54e877353314aa490300", "id"=>"53df54e877353314aa4a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4b0300'), "name"=>"Miss Stefan Langworth", "reference"=>"Dion Ledner", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e877353314aa4c0300'), "author_name"=>"Mary Deckow DVM", "content"=>["Ex mollitia reiciendis cum ea consequuntur nisi atque. Mollitia est fuga iste. Asperiores aut est ad id molestias debitis quibusdam. Aspernatur nisi quia necessitatibus soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df54e877353314aa4c0300", "product_id"=>"53df54e877353314aa4b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa4b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e877353314aa4b0300'), "comments._id"=>BSON::ObjectId('53df54e877353314aa4c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Redirected to http://test.host/products/53df54e877353314aa4b0300/comments/53df54e877353314aa4c0300 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('53df54e877353314aa4d0300'), "firstname"=>"Vivianne", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5847ms 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('53df54e877353314aa4e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms Redirected to http://test.host/admin/clients/53df54e877353314aa4e0300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2477ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa4f0300'), "firstname"=>"Laverne", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1958ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df54e877353314aa4f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e877353314aa4f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e877353314aa4f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms 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.2239ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa500300'), "firstname"=>"Mireya", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df54e877353314aa500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e877353314aa500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa510300'), "firstname"=>"Marvin", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms 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('53df54e877353314aa520300'), "firstname"=>"Ettie", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e877353314aa530300'), "firstname"=>"Mylene", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df54e877353314aa530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e877353314aa530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa540300'), "firstname"=>"Eulalia", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7213ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df54e977353314aa540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms Redirected to http://test.host/admin/clients/53df54e977353314aa540300 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('53df54e977353314aa550300'), "firstname"=>"Reva", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1679ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms Redirected to http://test.host/clients/53df54e977353314aa560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2062ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa570300'), "firstname"=>"Elvera", "lastname"=>"Pagac"}] 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.1543ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df54e977353314aa570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms Redirected to http://test.host/clients Completed 302 Found in 33ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3509ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa580300'), "firstname"=>"Jazmyne", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df54e977353314aa580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 8ms (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('53df54e977353314aa590300'), "firstname"=>"Elmore", "lastname"=>"Lemke"}] 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.4175ms Completed 200 OK in 9ms (Views: 8.7ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa5a0300'), "firstname"=>"Ebony", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms 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('53df54e977353314aa5b0300'), "firstname"=>"Hermann", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df54e977353314aa5b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa5b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms 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('53df54e977353314aa5c0300'), "firstname"=>"Floyd", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df54e977353314aa5c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df54e977353314aa5c0300')} 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('53df54e977353314aa5c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Redirected to http://test.host/clients/53df54e977353314aa5c0300 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('53df54e977353314aa5d0300'), "name"=>"June Goldner Jr.", "reference"=>"Faustino Lehner", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa5e0300'), "firstname"=>"Delilah", "lastname"=>"Towne"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df54e977353314aa5d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa5d0300')} 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('53df54e977353314aa5d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa5d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa5f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms Redirected to http://test.host/products/53df54e977353314aa5d0300/manager Completed 302 Found in 9ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa600300'), "name"=>"Peyton Hilll", "reference"=>"Magdalen Murray", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa610300'), "firstname"=>"Albin", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df54e977353314aa610300", "product_id"=>"53df54e977353314aa600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa600300')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa620300'), "name"=>"Laila Mertz", "reference"=>"Wilfredo Swift", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa630300'), "firstname"=>"Cristian", "lastname"=>"Zieme"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df54e977353314aa620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa640300'), "name"=>"Maxwell Russel II", "reference"=>"Elliott Koelpin IV", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa650300'), "firstname"=>"Jose", "lastname"=>"Leffler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df54e977353314aa650300", "product_id"=>"53df54e977353314aa640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa660300'), "name"=>"Willard McLaughlin", "reference"=>"Cathrine Fadel DDS", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df54e977353314aa670300'), "firstname"=>"Kattie", "lastname"=>"Boyer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df54e977353314aa670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df54e977353314aa660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Unpermitted parameters: name Redirected to http://test.host/products/53df54e977353314aa660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa680300'), "name"=>"Torey Rau", "reference"=>"Dr. Vernon Abshire", "quantity"=>"5"}] 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.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('53df54e977353314aa690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Redirected to http://test.host/products/53df54e977353314aa690300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2136ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa6a0300'), "name"=>"Marty Lueilwitz III", "reference"=>"Destinee Cummerata", "quantity"=>"2"}] 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=>"products", :query=>{}} runtime: 0.1907ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df54e977353314aa6a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa6a0300')} 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={"_id"=>BSON::ObjectId('53df54e977353314aa6a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms 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.1864ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa6b0300'), "name"=>"Walker Wunsch", "reference"=>"Carrie Blick", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df54e977353314aa6b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa6b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.2ms) Completed 200 OK in 34ms (Views: 32.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa6c0300'), "name"=>"Mr. Enos Feeney", "reference"=>"Aric McDermott", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms 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.7649ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (56.3ms) Completed 200 OK in 59ms (Views: 58.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa6d0300'), "name"=>"Collin Frami", "reference"=>"Russ Nitzsche IV", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms 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.7347ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa6e0300'), "name"=>"Alanis Heidenreich III", "reference"=>"Eudora Lakin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df54e977353314aa6e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa6e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms 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('53df54e977353314aa6f0300'), "name"=>"Morris Wolf Jr.", "reference"=>"Alaina Stracke", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa710300'), "name"=>"Vivien Heller IV", "reference"=>"Dr. Clay Glover", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df54e977353314aa710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa720300'), "name"=>"Mrs. Shaun O'Connell", "reference"=>"Myles Baumbach", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2250ms 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('53df54e977353314aa730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1798ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa740300'), "name"=>"Lucinda Wisozk", "reference"=>"Jaclyn Gislason", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df54e977353314aa740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa740300')} 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('53df54e977353314aa740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms 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('53df54e977353314aa750300'), "name"=>"Loraine Olson", "reference"=>"Dane Jones", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms 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('53df54e977353314aa770300'), "name"=>"Toni Medhurst IV", "reference"=>"Cora Gutkowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df54e977353314aa770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa770300')} 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('53df54e977353314aa770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms 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('53df54e977353314aa780300'), "name"=>"Terence Schuppe", "reference"=>"Herminia Bahringer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df54e977353314aa780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa780300')} 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('53df54e977353314aa780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6517ms Redirected to http://test.host/products/53df54e977353314aa780300 Completed 302 Found in 7ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa7b0300'), "name"=>"Deven Heathcote", "reference"=>"Billie Connelly", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa790300'), "author_name"=>"Miss Davonte Koch", "content"=>["Sint autem ut aliquam aut. Repudiandae quasi aspernatur suscipit officia id. Repellendus omnis illo officia voluptatibus est. Autem aspernatur eos aperiam ut tenetur facilis. Ipsum dignissimos alias ut et."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa7a0300'), "author_name"=>"Anastacio Cummerata", "content"=>["Ut commodi eius ipsa molestiae necessitatibus aliquid. Temporibus tempore ad voluptatem neque molestiae. Debitis consectetur sed magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df54e977353314aa7b0300", "comment_id"=>"53df54e977353314aa790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7b0300'), "comments._id"=>BSON::ObjectId('53df54e977353314aa790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df54e977353314aa7c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Redirected to http://test.host/products/53df54e977353314aa7b0300/comments/53df54e977353314aa790300/comments/53df54e977353314aa7c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa7f0300'), "name"=>"Miss Arch Quitzon", "reference"=>"Melody Mayert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa7d0300'), "author_name"=>"Gabe Jacobson", "content"=>["In et dolorem culpa sed repellendus. Quasi nam molestiae eaque et at aliquam. Voluptatum totam sed tempora qui consequatur. Ullam sed id et. Est est eligendi qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa7e0300'), "author_name"=>"Kiley Stark MD", "content"=>["Voluptate in vel quam quia. Unde voluptatem quam. Dolorum omnis voluptatum est aliquid incidunt. Qui alias neque non atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df54e977353314aa7f0300", "comment_id"=>"53df54e977353314aa7d0300", "id"=>"53df54e977353314aa7e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7f0300'), "comments._id"=>BSON::ObjectId('53df54e977353314aa7d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df54e977353314aa7e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Redirected to http://test.host/products/53df54e977353314aa7f0300/comments/53df54e977353314aa7d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.8265ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa820300'), "name"=>"Eloy Thiel", "reference"=>"Andres Simonis", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa800300'), "author_name"=>"Birdie Kiehn", "content"=>["Ut autem molestiae ut pariatur magni quam. Id et in incidunt quidem rerum similique. Consequatur cum sit est enim quia ipsa. Esse sunt quod ut quibusdam atque quia odio. Commodi voluptatem ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa810300'), "author_name"=>"Vance Monahan", "content"=>["Qui fugit amet laboriosam ut natus qui tempore. Sed odio dolorem excepturi voluptas id sit rerum. Dignissimos repudiandae eos quas velit. Numquam illum totam. Sunt dolores ipsum molestias quia nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df54e977353314aa820300", "comment_id"=>"53df54e977353314aa800300", "id"=>"53df54e977353314aa810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa850300'), "name"=>"Dr. Hilbert Fisher", "reference"=>"Josianne Bernier", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa830300'), "author_name"=>"Francisca Ortiz", "content"=>["Temporibus est ipsam dolorem omnis omnis culpa tenetur. Culpa qui omnis ad reiciendis ut voluptas sit. Eaque debitis tempore enim. Voluptatem hic ut iste assumenda. Consequatur atque sunt dolores doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa840300'), "author_name"=>"Mrs. Oran Walter", "content"=>["Quibusdam ea quis. Porro aliquid distinctio et consectetur nihil hic. Vero nulla labore nam voluptatem. Eos velit vitae eius sit aliquid perspiciatis. Accusamus dolorem impedit autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5690ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df54e977353314aa850300", "comment_id"=>"53df54e977353314aa830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa880300'), "name"=>"Davon Olson", "reference"=>"Mrs. Donnie Heller", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa860300'), "author_name"=>"Ms. Lina Schamberger", "content"=>["Placeat quaerat consequatur et provident. Aliquid eveniet quod accusantium sint. Quam et praesentium. Qui in repellat aperiam maxime. Aut doloremque qui in quae accusantium."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa870300'), "author_name"=>"Neva Mraz", "content"=>["Eius delectus placeat autem eos quia commodi harum. Odit quis non quaerat iusto nihil sed. Ut eveniet est et molestiae. Ipsa cumque aliquam. Sunt nostrum dolorum sit doloremque repudiandae autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df54e977353314aa880300", "comment_id"=>"53df54e977353314aa860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4379ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa8b0300'), "name"=>"Mr. Skye Emmerich", "reference"=>"Olga Prosacco", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa890300'), "author_name"=>"Hassan Gutmann", "content"=>["Qui reprehenderit dignissimos magni est deleniti. Voluptatem ut a aspernatur culpa. Dignissimos sequi sit inventore autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa8a0300'), "author_name"=>"Monique Swaniawski", "content"=>["Autem eveniet iusto aut minima. Numquam in ut excepturi et libero. Nobis numquam vel provident aut autem expedita. Iste dolores fuga accusantium. Hic consequatur sit eaque vel placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df54e977353314aa8b0300", "comment_id"=>"53df54e977353314aa890300", "id"=>"53df54e977353314aa8a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa8b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa8e0300'), "name"=>"Daren Cremin", "reference"=>"Allan Rath", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa8c0300'), "author_name"=>"Mrs. Sierra Quitzon", "content"=>["Consectetur modi alias velit assumenda molestiae incidunt error. Necessitatibus recusandae ut nihil eius aut voluptatem facilis. Cum voluptatem enim nesciunt id. Qui quis rerum. Est ut fuga nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa8d0300'), "author_name"=>"Matilde Wintheiser PhD", "content"=>["Eligendi impedit quis. Reprehenderit fugiat est ea non et. Commodi dicta facilis tempore esse provident. Culpa aut et eius ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5680ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df54e977353314aa8e0300", "comment_id"=>"53df54e977353314aa8c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa8e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 43ms (Views: 5.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa910300'), "name"=>"Angel Shanahan", "reference"=>"Lane Funk", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa8f0300'), "author_name"=>"Keegan Ziemann", "content"=>["Dolores sed deleniti nobis. Et mollitia omnis enim fugiat totam nulla adipisci. Ea consequatur odit et sed quia quae. Minima quis aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa900300'), "author_name"=>"Rupert Swift DDS", "content"=>["Quasi perspiciatis sunt enim labore occaecati sint voluptatem. Delectus iusto dolore aut maxime error. Et omnis voluptas corporis atque eveniet autem. Perspiciatis adipisci magni earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5934ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df54e977353314aa910300", "comment_id"=>"53df54e977353314aa8f0300", "id"=>"53df54e977353314aa900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa940300'), "name"=>"Stephanie Jacobs Sr.", "reference"=>"Sadie Fadel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa920300'), "author_name"=>"Marianna Kilback", "content"=>["Ea quidem sequi dicta. Doloremque accusantium laborum. Consequatur nemo ipsa quia voluptate quis rerum et. Minus et vel odit ducimus saepe doloremque beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53df54e977353314aa930300'), "author_name"=>"Elinor Bins", "content"=>["Consectetur molestiae eligendi eos voluptatem. Iure expedita quam dignissimos minima similique omnis libero. Minima numquam repudiandae quo voluptatem. Est quae consequatur quas maxime. Et sit quae et et saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df54e977353314aa930300", "product_id"=>"53df54e977353314aa940300", "comment_id"=>"53df54e977353314aa920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df54e977353314aa940300'), "comments._id"=>BSON::ObjectId('53df54e977353314aa920300'), "comments.0.comments._id"=>BSON::ObjectId('53df54e977353314aa930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Redirected to http://test.host/products/53df54e977353314aa940300/comments/53df54e977353314aa920300/comments/53df54e977353314aa930300 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('53df54e977353314aa950300'), "firstname"=>"Destini", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1650ms 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('53df54e977353314aa960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Redirected to http://test.host/users/53df54e977353314aa960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1814ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa970300'), "firstname"=>"Grover", "lastname"=>"Cruickshank"}] 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=>"admin_users", :query=>{}} runtime: 0.1735ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df54e977353314aa970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e977353314aa970300')} 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('53df54e977353314aa970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms 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.1656ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa980300'), "firstname"=>"Nelson", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df54e977353314aa980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e977353314aa980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa990300'), "firstname"=>"Adriana", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms 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.3352ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.3ms) Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df54e977353314aa9a0300'), "firstname"=>"Elva", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3563ms 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('53df54e977353314aa9b0300'), "firstname"=>"Kristin", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df54e977353314aa9b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e977353314aa9b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms 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('53df54e977353314aa9c0300'), "firstname"=>"Nayeli", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df54e977353314aa9c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df54e977353314aa9c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms Unpermitted parameters: name Redirected to http://test.host/users/53df54e977353314aa9c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms 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.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.3829ms 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.2760ms 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.3012ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1888ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554577353315b5000000'), "firstname"=>"Shanna", "lastname"=>"Littel"}] 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=>"administrators", :query=>{}} runtime: 0.1640ms 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('53df554577353315b5010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms 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('53df554577353315b5020000'), "firstname"=>"Broderick", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df554577353315b5020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554577353315b5020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) 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('53df554577353315b5030000'), "firstname"=>"Melody", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.8234ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554577353315b5040000'), "firstname"=>"Leslie", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df554577353315b5040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554577353315b5040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554577353315b5050000'), "firstname"=>"Al", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df554577353315b5050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554577353315b5050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms 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('53df554577353315b5060000'), "name"=>"Jean Ward", "reference"=>"Candida Upton", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b5070000'), "author_name"=>"Oswaldo Schmidt", "content"=>["Quo accusamus consectetur qui sint. Incidunt quas sit officiis odit non tenetur eum. Cupiditate magni sit ut. Atque vero velit repellendus quisquam. Et aut eos repellat magnam eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df554577353315b5060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4539ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df554577353315b5080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms Redirected to http://test.host/admin/products/53df554577353315b5060000/comments/53df554577353315b5080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5090000'), "name"=>"Mrs. Orlando Boehm", "reference"=>"Franco Welch I", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b50a0000'), "author_name"=>"Jabari Steuber III", "content"=>["Eius quae eos. Explicabo velit voluptatem similique eligendi sed quasi. Maiores cumque rem omnis doloribus ducimus animi autem. Et repellendus reiciendis praesentium dolore ipsum inventore itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df554577353315b5090000", "id"=>"53df554577353315b50a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df554577353315b50a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms Redirected to http://test.host/admin/products/53df554577353315b5090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b50b0000'), "name"=>"Scotty Von", "reference"=>"Sarah Strosin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b50c0000'), "author_name"=>"Dr. Lawson MacGyver", "content"=>["Nesciunt qui itaque enim ducimus et. Dolorem inventore ad. Veniam dolorem quod impedit omnis. Animi itaque dolorem explicabo consequatur quibusdam ut. Similique a accusamus nulla pariatur quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4227ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df554577353315b50b0000", "id"=>"53df554577353315b50c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b50b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b50d0000'), "name"=>"Russel Schaefer", "reference"=>"Brett Goyette", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b50e0000'), "author_name"=>"Clotilde Harris", "content"=>["Facere explicabo enim necessitatibus voluptatum. Aut quibusdam iste quas architecto incidunt sit hic. Non est ut sunt optio ducimus. Qui sed autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df554577353315b50d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b50d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b50f0000'), "name"=>"Koby Murazik", "reference"=>"Rod Goodwin DDS", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b5100000'), "author_name"=>"Zoie Brekke", "content"=>["Corrupti aut voluptates amet et eos. Velit ut sit odio adipisci ex officiis. Repudiandae aliquid quidem. Dolor odio dicta ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df554577353315b50f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b50f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5110000'), "name"=>"Cicero Bosco", "reference"=>"Rosamond Padberg", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b5120000'), "author_name"=>"Dr. Adelia Lubowitz", "content"=>["Earum in nemo facere odit aut est et. Eveniet corporis quod provident est. Minus eveniet aspernatur et quis sit veritatis nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df554577353315b5110000", "id"=>"53df554577353315b5120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5130000'), "name"=>"Chelsie Ruecker", "reference"=>"Mauricio Quitzon II", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df554577353315b5140000'), "author_name"=>"Estelle Marvin", "content"=>["Consequatur veritatis asperiores. Mollitia expedita soluta. Dolorem autem omnis quia laborum similique est aut. Corporis beatae qui dicta quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df554577353315b5140000", "product_id"=>"53df554577353315b5130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5130000'), "comments._id"=>BSON::ObjectId('53df554577353315b5140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Redirected to http://test.host/admin/products/53df554577353315b5130000/comments/53df554577353315b5140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5150000'), "name"=>"Jaylon Morar", "reference"=>"Kiley Padberg", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df554577353315b5160000'), "firstname"=>"Edmund", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df554577353315b5150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df554577353315b5170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms Redirected to http://test.host/admin/products/53df554577353315b5150000/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('53df554577353315b5180000'), "name"=>"Wyman Haley", "reference"=>"Candace Kertzmann Sr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df554577353315b5190000'), "firstname"=>"Jasper", "lastname"=>"Langworth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df554577353315b5190000", "product_id"=>"53df554577353315b5180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5180000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b51a0000'), "name"=>"Pink O'Connell", "reference"=>"Miss Georgiana Senger", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df554577353315b51b0000'), "firstname"=>"Ally", "lastname"=>"Feest"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df554577353315b51a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b51a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b51c0000'), "name"=>"Amya Leuschke", "reference"=>"Loma Hermiston I", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df554577353315b51d0000'), "firstname"=>"Rubie", "lastname"=>"Rath"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df554577353315b51d0000", "product_id"=>"53df554577353315b51c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b51c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b51e0000'), "name"=>"Cedrick Adams", "reference"=>"Osbaldo Lockman PhD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df554577353315b51f0000'), "firstname"=>"Heber", "lastname"=>"Abshire"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7602ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df554577353315b51f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df554577353315b51e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b51e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df554577353315b51e0000/manager 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('53df554577353315b5200000'), "name"=>"Nat Hammes", "reference"=>"Webster Gaylord", "quantity"=>"4"}] 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.1773ms 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('53df554577353315b5210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms Redirected to http://test.host/admin/products/53df554577353315b5210000 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('53df554577353315b5220000'), "name"=>"Seamus Schoen", "reference"=>"Isadore Feil", "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.1805ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df554577353315b5220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1826ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5230000'), "name"=>"Roel Ankunding IV", "reference"=>"Rita Ankunding", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df554577353315b5230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5240000'), "name"=>"Amiya Yundt", "reference"=>"Mrs. Jane Jerde", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms 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.4985ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.4ms) Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5250000'), "name"=>"Thomas Lubowitz", "reference"=>"Alisha Boyle", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms 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: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df554577353315b5280000'), "name"=>"Vena Keeling I", "reference"=>"Clementina Williamson", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7291ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df554577353315b5280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms 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('53df554577353315b5290000'), "name"=>"Ruthe Yundt", "reference"=>"Dee Mraz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df554577353315b5290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df554577353315b5290000')} 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('53df554577353315b5290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Redirected to http://test.host/admin/products/53df554577353315b5290000 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('53df554577353315b52a0000'), "firstname"=>"Kennith", "lastname"=>"Rolfson"}] 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.1863ms 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('53df554577353315b52b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Redirected to http://test.host/admin/users/53df554577353315b52b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2420ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df554577353315b52c0000'), "firstname"=>"Giovanny", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df554577353315b52c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df554577353315b52c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df554577353315b52c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms 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.1381ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df554577353315b52d0000'), "firstname"=>"Jarvis", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df554577353315b52d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df554577353315b52d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df554577353315b52e0000'), "firstname"=>"Madeline", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms 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.3155ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) 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('53df554577353315b52f0000'), "firstname"=>"Angelo", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df554577353315b5300000'), "firstname"=>"Michel", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df554577353315b5300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df554577353315b5300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms Completed 200 OK in 3ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df554577353315b5310000'), "firstname"=>"Aditya", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df554577353315b5310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df554577353315b5310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df554577353315b5310000 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('53df554577353315b5320000'), "firstname"=>"Deshawn", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1649ms 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('53df554577353315b5330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms 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.3679ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554577353315b5340000'), "firstname"=>"Raven", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df554577353315b5340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554577353315b5340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554677353315b5350000'), "firstname"=>"Abdul", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554677353315b5360000'), "firstname"=>"Rhett", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df554677353315b5360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554677353315b5360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df554677353315b5370000'), "firstname"=>"Rey", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df554677353315b5370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df554677353315b5370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5380000'), "name"=>"Samara Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5390000'), "name"=>"Kacey Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53a0000'), "name"=>"Felicity Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53b0000'), "name"=>"Reagan Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53c0000'), "name"=>"Joaquin Schinner Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53d0000'), "name"=>"Magdalena Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53e0000'), "name"=>"Enoch Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53f0000'), "name"=>"Laura Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5400000'), "name"=>"Mrs. Marcelo Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5410000'), "name"=>"Loyal McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5420000'), "name"=>"Rocio Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5430000'), "name"=>"Berta Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5440000'), "name"=>"Alysa Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5450000'), "name"=>"Alison King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5460000'), "name"=>"Mable Gorczany PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5470000'), "name"=>"Lafayette Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5480000'), "name"=>"Mr. Jaylan O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5490000'), "name"=>"Dr. Edwina Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54a0000'), "name"=>"Anahi Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54b0000'), "name"=>"Angela Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54c0000'), "name"=>"Mekhi Ziemann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54d0000'), "name"=>"Miss Jamey Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54e0000'), "name"=>"Pietro Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54f0000'), "name"=>"Ernestine Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5500000'), "name"=>"Philip Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5510000'), "name"=>"Ms. Ava Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5520000'), "name"=>"Karelle Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5530000'), "name"=>"Hazel Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5540000'), "name"=>"Jonatan Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5550000'), "name"=>"Kaden Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5560000'), "name"=>"Jedediah Wiza Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5570000'), "name"=>"Ms. Reyes Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5580000'), "name"=>"Caitlyn Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5590000'), "name"=>"Quentin Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55a0000'), "name"=>"Tyra Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55b0000'), "name"=>"Eddie Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55c0000'), "name"=>"Leif Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55d0000'), "name"=>"Marlon Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55e0000'), "name"=>"Presley Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55f0000'), "name"=>"Benny Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5600000'), "name"=>"Ronaldo Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5610000'), "name"=>"Gudrun Hermiston V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5620000'), "name"=>"Mrs. Helen Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5630000'), "name"=>"Kevon Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5640000'), "name"=>"Kylee Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5650000'), "name"=>"Dr. Alberta Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5660000'), "name"=>"Gina Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5670000'), "name"=>"Brain Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5680000'), "name"=>"Jamar Abernathy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5690000'), "name"=>"Jeanette Kertzmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56a0000'), "name"=>"George Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56b0000'), "name"=>"Brycen Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56c0000'), "name"=>"Osbaldo Doyle PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56d0000'), "name"=>"Jadyn Farrell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56e0000'), "name"=>"Luisa Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56f0000'), "name"=>"Burnice Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5700000'), "name"=>"Jude McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5710000'), "name"=>"Lawrence Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5720000'), "name"=>"Mrs. Efren Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5730000'), "name"=>"Oswald Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5740000'), "name"=>"Judah Pacocha Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5750000'), "name"=>"Wilfredo Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5760000'), "name"=>"Alayna Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5770000'), "name"=>"Korey Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5780000'), "name"=>"Brown Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5790000'), "name"=>"Mr. Heloise O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57a0000'), "name"=>"Lottie Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57b0000'), "name"=>"Eugenia Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57c0000'), "name"=>"Ramon Kuhn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57d0000'), "name"=>"Aileen McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57e0000'), "name"=>"Rosemary Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57f0000'), "name"=>"Dr. Giovanni Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5800000'), "name"=>"Miss Lina Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5810000'), "name"=>"Miss Mellie Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5820000'), "name"=>"Ford Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5830000'), "name"=>"Manuela Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5840000'), "name"=>"Bettye Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5850000'), "name"=>"Brielle Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5860000'), "name"=>"Dalton Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5870000'), "name"=>"Mrs. Melody Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5880000'), "name"=>"Rahsaan Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5890000'), "name"=>"Dr. Trey Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58a0000'), "name"=>"Arno Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58b0000'), "name"=>"Ms. Liliana McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58c0000'), "name"=>"Frederick Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58d0000'), "name"=>"Timothy McLaughlin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58e0000'), "name"=>"Aimee Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58f0000'), "name"=>"Mya Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5900000'), "name"=>"Issac Beahan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5910000'), "name"=>"Adela Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5920000'), "name"=>"Keegan Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5930000'), "name"=>"Halie Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5940000'), "name"=>"Delilah Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5950000'), "name"=>"Mark Cartwright I"}] 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={"category_id"=>BSON::ObjectId('53df554677353315b5950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5960000'), "name"=>"Jake Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5970000'), "name"=>"Gustave Feeney IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1372ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms Redirected to http://test.host/categories/53df554677353315b5980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1564ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5990000'), "name"=>"Beth Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59a0000'), "name"=>"Pauline Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59b0000'), "name"=>"Noelia Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59c0000'), "name"=>"Nola Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59d0000'), "name"=>"Rogelio Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59e0000'), "name"=>"Osbaldo Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59f0000'), "name"=>"Mayra Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a00000'), "name"=>"Mittie Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a10000'), "name"=>"Freda Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a20000'), "name"=>"Mack DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a30000'), "name"=>"Alberta Medhurst DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a40000'), "name"=>"Cleo Hessel DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a50000'), "name"=>"Cameron Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a60000'), "name"=>"Sheridan Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a70000'), "name"=>"Norval Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a80000'), "name"=>"Flo Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a90000'), "name"=>"Maryse Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5aa0000'), "name"=>"Gladys Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ab0000'), "name"=>"Domenick Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ac0000'), "name"=>"Dina Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ad0000'), "name"=>"Estel Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ae0000'), "name"=>"Angel Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5af0000'), "name"=>"Dessie Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b00000'), "name"=>"Fannie Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b10000'), "name"=>"Darion Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b20000'), "name"=>"Lilyan Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b30000'), "name"=>"Guido Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b40000'), "name"=>"Jarret Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b50000'), "name"=>"Zula Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b60000'), "name"=>"Beth Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b70000'), "name"=>"Virginia Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b80000'), "name"=>"Jensen Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b90000'), "name"=>"Garrick Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ba0000'), "name"=>"Ernestine Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bb0000'), "name"=>"Anjali Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bc0000'), "name"=>"Amely Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bd0000'), "name"=>"Patience Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5be0000'), "name"=>"Kari Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bf0000'), "name"=>"Emmanuelle Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c00000'), "name"=>"Mylene Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c10000'), "name"=>"Johnnie Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c20000'), "name"=>"Angela Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c30000'), "name"=>"Julien Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c40000'), "name"=>"Edmund Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c50000'), "name"=>"Garnet Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c60000'), "name"=>"Kitty Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c70000'), "name"=>"Amir Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c80000'), "name"=>"Freda Reilly DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c90000'), "name"=>"Yazmin Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ca0000'), "name"=>"Evans Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cb0000'), "name"=>"Miss Ignatius Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cc0000'), "name"=>"Kylie Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cd0000'), "name"=>"Leland Klein V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ce0000'), "name"=>"Ms. Ora Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cf0000'), "name"=>"Joanne Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d00000'), "name"=>"Fabiola Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d10000'), "name"=>"Mrs. Lafayette Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d20000'), "name"=>"Ms. Kenya Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d30000'), "name"=>"Miss Gunnar Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d40000'), "name"=>"Judah Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d50000'), "name"=>"Mrs. Lucious McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d60000'), "name"=>"Kristina Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d70000'), "name"=>"Miss Reina Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d80000'), "name"=>"Shayna Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d90000'), "name"=>"Miss Terrell Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5da0000'), "name"=>"Mrs. Tianna Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5db0000'), "name"=>"Sammie Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5dc0000'), "name"=>"Elroy Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5dd0000'), "name"=>"Ms. Nellie Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5de0000'), "name"=>"Blake Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5df0000'), "name"=>"Makayla Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e00000'), "name"=>"Antonio Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e10000'), "name"=>"Mr. Kelli Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e20000'), "name"=>"Arnoldo Crist III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e30000'), "name"=>"Madalyn Kling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e40000'), "name"=>"Mrs. Bessie Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e50000'), "name"=>"Alexandrea Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e60000'), "name"=>"Danial Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e70000'), "name"=>"Vergie Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e80000'), "name"=>"Charles Jerde MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e90000'), "name"=>"Isabelle Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ea0000'), "name"=>"Eldridge Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5eb0000'), "name"=>"Miguel Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ec0000'), "name"=>"Dillon Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ed0000'), "name"=>"Carole Douglas II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ee0000'), "name"=>"Gerald Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ef0000'), "name"=>"Caroline Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f00000'), "name"=>"Loraine Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f10000'), "name"=>"Bianka Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f20000'), "name"=>"Jennie Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f30000'), "name"=>"Arne DuBuque MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f40000'), "name"=>"Reina Reichel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f50000'), "name"=>"Unique Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f60000'), "name"=>"Liana Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f70000'), "name"=>"Moises McGlynn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f80000'), "name"=>"Sarina Dietrich IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1218ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df554677353315b5990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df554677353315b5990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df554677353315b5990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1354ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f90000'), "name"=>"Mrs. Treva Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fa0000'), "name"=>"Beau Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fb0000'), "name"=>"Joe Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fc0000'), "name"=>"Dr. Ken Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fd0000'), "name"=>"Florine Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fe0000'), "name"=>"Alexander Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ff0000'), "name"=>"Estefania Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5000100'), "name"=>"Nicole Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5010100'), "name"=>"Godfrey Jakubowski Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5020100'), "name"=>"Braxton Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5030100'), "name"=>"Justine Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5040100'), "name"=>"Miss Gerard Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5050100'), "name"=>"Ms. Cedrick Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5060100'), "name"=>"Ms. Alexanne McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5070100'), "name"=>"Elmore Fadel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5080100'), "name"=>"Miss Erwin Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5090100'), "name"=>"Franco Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50a0100'), "name"=>"Dr. Evans Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50b0100'), "name"=>"Precious Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50c0100'), "name"=>"Elisha Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50d0100'), "name"=>"Deven Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50e0100'), "name"=>"Joannie Schoen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50f0100'), "name"=>"Isom Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5100100'), "name"=>"Mr. Mario Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5110100'), "name"=>"Lesly Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5120100'), "name"=>"Lambert Harris III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5130100'), "name"=>"Carole Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5140100'), "name"=>"Kobe Ratke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5150100'), "name"=>"Alba McLaughlin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5160100'), "name"=>"Rhoda Christiansen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5170100'), "name"=>"Iliana Wolf IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5180100'), "name"=>"Creola Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5190100'), "name"=>"Hattie Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51a0100'), "name"=>"Kennedi Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51b0100'), "name"=>"Ms. Otis Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51c0100'), "name"=>"Mrs. Rosendo Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51d0100'), "name"=>"Deborah Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51e0100'), "name"=>"Karl O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b51f0100'), "name"=>"Reba Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b51f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5200100'), "name"=>"Ozella Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5210100'), "name"=>"Gracie Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5220100'), "name"=>"Pauline Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5230100'), "name"=>"Lela Koch DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5240100'), "name"=>"Angelita Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5250100'), "name"=>"Bobbie Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5260100'), "name"=>"Dasia Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5270100'), "name"=>"Fidel Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5280100'), "name"=>"Lincoln Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5290100'), "name"=>"Cortez Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52a0100'), "name"=>"Alexa Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52b0100'), "name"=>"Drew Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52c0100'), "name"=>"Cecelia Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52d0100'), "name"=>"Drew Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52e0100'), "name"=>"Keeley Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b52f0100'), "name"=>"Dr. Bridie Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b52f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5300100'), "name"=>"Hobart Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5310100'), "name"=>"Queen Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5320100'), "name"=>"Gerard Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5330100'), "name"=>"Elian Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5340100'), "name"=>"Mr. Glenda Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2066ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5350100'), "name"=>"Melvin Rowe Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5360100'), "name"=>"Lisette Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5370100'), "name"=>"Ms. Percival Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5380100'), "name"=>"Cheyanne Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5390100'), "name"=>"Mireya Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53a0100'), "name"=>"Zola Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53b0100'), "name"=>"Loy Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53c0100'), "name"=>"Marco Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53d0100'), "name"=>"Irma Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53e0100'), "name"=>"Ed Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b53f0100'), "name"=>"Mallie Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b53f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5400100'), "name"=>"Marianne Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5410100'), "name"=>"Myles Bogisich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5420100'), "name"=>"Aurelia Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5430100'), "name"=>"Stone Roberts MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5440100'), "name"=>"Anabelle Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5450100'), "name"=>"Paul Champlin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5460100'), "name"=>"Aliyah Heaney Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5470100'), "name"=>"Dayne Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5480100'), "name"=>"Nayeli Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5490100'), "name"=>"Mr. Norval Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54a0100'), "name"=>"Deontae Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54b0100'), "name"=>"Dr. Jude Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54c0100'), "name"=>"Linwood Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54d0100'), "name"=>"Tito Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54e0100'), "name"=>"Braulio Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b54f0100'), "name"=>"Andres Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b54f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5500100'), "name"=>"Wava Marvin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5510100'), "name"=>"Burley Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5520100'), "name"=>"Ms. Gladyce Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5530100'), "name"=>"Phoebe Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5540100'), "name"=>"Baby Reynolds IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5550100'), "name"=>"Modesta Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5560100'), "name"=>"Gracie Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5570100'), "name"=>"Rosamond Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5580100'), "name"=>"Danyka Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df554677353315b5f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df554677353315b5f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4293ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.4ms) Completed 200 OK in 50ms (Views: 47.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5590100'), "name"=>"Gerda Kemmer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55a0100'), "name"=>"Flavio McDermott I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55b0100'), "name"=>"Elta Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55c0100'), "name"=>"Mohammed Legros MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55d0100'), "name"=>"Florence Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55e0100'), "name"=>"Tina Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b55f0100'), "name"=>"Gudrun Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b55f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5600100'), "name"=>"Agnes West Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5610100'), "name"=>"Jada Donnelly II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5620100'), "name"=>"Ms. Akeem Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5630100'), "name"=>"Jovany Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5640100'), "name"=>"Glennie Wiza PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5650100'), "name"=>"Calista Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5660100'), "name"=>"Ms. Maeve Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5670100'), "name"=>"Sabryna Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5680100'), "name"=>"Tyree Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5690100'), "name"=>"Amy Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56a0100'), "name"=>"Julius Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56b0100'), "name"=>"Mrs. Cathryn Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56c0100'), "name"=>"Zelma Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56d0100'), "name"=>"Russel Collier PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56e0100'), "name"=>"Kobe Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b56f0100'), "name"=>"Rodger Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b56f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5700100'), "name"=>"Eliza Lueilwitz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5710100'), "name"=>"Boris Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5720100'), "name"=>"Miss Garry Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5730100'), "name"=>"Chelsea Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5740100'), "name"=>"Mercedes Botsford II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5750100'), "name"=>"Camille Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5760100'), "name"=>"Elias Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5770100'), "name"=>"Mrs. Kenny Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5780100'), "name"=>"Angelina Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5790100'), "name"=>"Mrs. Ronny Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57a0100'), "name"=>"Blaise Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57b0100'), "name"=>"Mrs. Zakary Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57c0100'), "name"=>"Maximo Cremin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57d0100'), "name"=>"Hulda O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57e0100'), "name"=>"Lester Macejkovic V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b57f0100'), "name"=>"Laisha Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b57f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5800100'), "name"=>"Palma Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5810100'), "name"=>"Miss Whitney Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5820100'), "name"=>"Laurie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5830100'), "name"=>"Cristopher Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5840100'), "name"=>"Kylee Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5850100'), "name"=>"Miss Narciso Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5860100'), "name"=>"Aurelie Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5870100'), "name"=>"Alfonso Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5880100'), "name"=>"Creola Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5890100'), "name"=>"Dannie Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1954ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58a0100'), "name"=>"Filiberto Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58b0100'), "name"=>"Helene Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58c0100'), "name"=>"Milton Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58d0100'), "name"=>"Lurline Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58e0100'), "name"=>"Jamir Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b58f0100'), "name"=>"Sydnee Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b58f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5900100'), "name"=>"Garrett Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5910100'), "name"=>"Gene Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5920100'), "name"=>"Kaitlin Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5930100'), "name"=>"Karine Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5940100'), "name"=>"Muhammad Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5950100'), "name"=>"Bettie Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5960100'), "name"=>"Zoey DuBuque DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5970100'), "name"=>"Wiley Schowalter DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5980100'), "name"=>"Ross Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5990100'), "name"=>"Maxwell Doyle III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59a0100'), "name"=>"Maci Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59b0100'), "name"=>"Gust Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59c0100'), "name"=>"Edwin Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59d0100'), "name"=>"Issac Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59e0100'), "name"=>"Frederique Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b59f0100'), "name"=>"Elsie Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b59f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a00100'), "name"=>"Miss Doris Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a10100'), "name"=>"Joshuah Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a20100'), "name"=>"Dulce Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a30100'), "name"=>"Mauricio Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a40100'), "name"=>"Elissa Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a50100'), "name"=>"Constance Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a60100'), "name"=>"Mrs. Madisen Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a70100'), "name"=>"Mrs. Keanu Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a80100'), "name"=>"Everette Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5a90100'), "name"=>"Miss Marjolaine Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5aa0100'), "name"=>"Maxine West DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ab0100'), "name"=>"Lupe Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ac0100'), "name"=>"Louvenia Lebsack DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ad0100'), "name"=>"Mrs. Eda Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ae0100'), "name"=>"Tad Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5af0100'), "name"=>"Dr. Russ Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b00100'), "name"=>"Jeff Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b10100'), "name"=>"Linda Parker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b20100'), "name"=>"Katelynn Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b30100'), "name"=>"Darrel Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b40100'), "name"=>"Kamille Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b50100'), "name"=>"Burnice Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b60100'), "name"=>"Luisa Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b70100'), "name"=>"Noemi Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b80100'), "name"=>"Else Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[340577966617] runtime: 0.1118ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (13.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2393ms Completed 200 OK in 20ms (Views: 19.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5b90100'), "name"=>"Hubert Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ba0100'), "name"=>"Ms. Paris Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bb0100'), "name"=>"Addie Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bc0100'), "name"=>"Elody Lueilwitz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bd0100'), "name"=>"Thomas Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5be0100'), "name"=>"Finn D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5bf0100'), "name"=>"Simeon Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c00100'), "name"=>"Rosemarie Lebsack IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c10100'), "name"=>"Pierce Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c20100'), "name"=>"Dr. Violette Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c30100'), "name"=>"Ms. Frank Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c40100'), "name"=>"Kayleigh Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c50100'), "name"=>"Estel Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c60100'), "name"=>"Mrs. Baylee Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c70100'), "name"=>"Jerel Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c80100'), "name"=>"Jackeline Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5c90100'), "name"=>"Dave Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ca0100'), "name"=>"Hipolito Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cb0100'), "name"=>"Mrs. Rahul Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cc0100'), "name"=>"Mrs. Eugenia Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cd0100'), "name"=>"Mr. Makenzie Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ce0100'), "name"=>"Jo Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5cf0100'), "name"=>"Jean Gutmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d00100'), "name"=>"Junius Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d10100'), "name"=>"Ms. Porter Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d20100'), "name"=>"Nia Altenwerth DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d30100'), "name"=>"Dr. Lupe Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d40100'), "name"=>"Hassan Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d50100'), "name"=>"Joelle Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d60100'), "name"=>"Mr. Jacey Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d70100'), "name"=>"Bianka Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d80100'), "name"=>"Keely Swaniawski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5d90100'), "name"=>"Dorian Rippin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5da0100'), "name"=>"Mr. Nicholas Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5db0100'), "name"=>"Shana Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5dc0100'), "name"=>"Filomena Quitzon DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5dd0100'), "name"=>"Edgar Kunde DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5de0100'), "name"=>"Dr. Lucile Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5df0100'), "name"=>"Ms. Benny Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e00100'), "name"=>"Harrison Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e10100'), "name"=>"Emmy Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e20100'), "name"=>"Chasity Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e30100'), "name"=>"Hildegard Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e40100'), "name"=>"Aniyah Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e50100'), "name"=>"Nona Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e60100'), "name"=>"Vella Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e70100'), "name"=>"Antonia Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e80100'), "name"=>"Evangeline Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5e90100'), "name"=>"Carli Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ea0100'), "name"=>"Christophe Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5eb0100'), "name"=>"Madisyn Schowalter III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ec0100'), "name"=>"Herminia Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ed0100'), "name"=>"Monserrate Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ee0100'), "name"=>"Miss Alvis Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ef0100'), "name"=>"Aliya Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f00100'), "name"=>"Asia Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f10100'), "name"=>"Donnie Schuster V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f20100'), "name"=>"Birdie Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f30100'), "name"=>"Dr. Rowan Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f40100'), "name"=>"Ms. Bethany Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f50100'), "name"=>"Vivianne Kutch Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f60100'), "name"=>"Alfred Corwin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f70100'), "name"=>"Arturo Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f80100'), "name"=>"Jairo Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5f90100'), "name"=>"Aubrey Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fa0100'), "name"=>"Gerda Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fb0100'), "name"=>"Tyra Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fc0100'), "name"=>"Skylar Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fd0100'), "name"=>"Paris Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5fe0100'), "name"=>"Wilson Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5ff0100'), "name"=>"Ms. Hardy Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5000200'), "name"=>"Fermin Farrell I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5010200'), "name"=>"Charlie Kemmer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5020200'), "name"=>"Judah Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5030200'), "name"=>"Edd Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5040200'), "name"=>"Kathryne Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5050200'), "name"=>"Ms. Newell Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5060200'), "name"=>"Enoch Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5070200'), "name"=>"Demario Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5080200'), "name"=>"Dr. Carmen Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5090200'), "name"=>"Rickie Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50a0200'), "name"=>"Velda Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50b0200'), "name"=>"Mrs. Zoila Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50c0200'), "name"=>"Melvin Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50d0200'), "name"=>"Sydnee Blick PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50e0200'), "name"=>"Bette Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b50f0200'), "name"=>"Jammie Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b50f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5100200'), "name"=>"Gladyce Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5110200'), "name"=>"Alisha Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5120200'), "name"=>"Dario Harvey Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554677353315b5130200'), "name"=>"Justine Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554677353315b5130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554777353315b5140200'), "name"=>"London Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554777353315b5140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554777353315b5150200'), "name"=>"Tyrese Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554777353315b5150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554777353315b5160200'), "name"=>"Fleta Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554777353315b5160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554777353315b5170200'), "name"=>"Prudence D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554777353315b5170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df554777353315b5180200'), "name"=>"Candace Ferry III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df554777353315b5180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.7875ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.7810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.8033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.9397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[340364642368] runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.9165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339649775953] runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.8759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339903166979] runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.8194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[340735818737] runtime: 0.1829ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.7558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[339700919124] runtime: 0.1800ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (13.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.4733ms Completed 200 OK in 109ms (Views: 108.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5190200'), "name"=>"Ariane Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51a0200'), "name"=>"Miss Carli Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51b0200'), "name"=>"Vilma Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51c0200'), "name"=>"Mr. Emory Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51d0200'), "name"=>"Miss Dameon Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51e0200'), "name"=>"Destinee Parker DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b51f0200'), "name"=>"Norberto Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b51f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5200200'), "name"=>"Claudine Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5210200'), "name"=>"Kiley Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5220200'), "name"=>"Melvina Raynor Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5230200'), "name"=>"Letitia Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5240200'), "name"=>"Mario Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5250200'), "name"=>"Marjolaine Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5260200'), "name"=>"Enola Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5270200'), "name"=>"Skylar Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5280200'), "name"=>"Camylle Hahn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5290200'), "name"=>"Will Kemmer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52a0200'), "name"=>"Rashawn Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52b0200'), "name"=>"Vicky Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52c0200'), "name"=>"Jennifer Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52d0200'), "name"=>"Meda O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52e0200'), "name"=>"Hallie Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b52f0200'), "name"=>"Dr. Albert Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b52f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5300200'), "name"=>"Emilie Runolfsdottir DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5310200'), "name"=>"Adrianna Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5320200'), "name"=>"Miss Margaretta Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5330200'), "name"=>"Yoshiko O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5340200'), "name"=>"Precious Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5350200'), "name"=>"Brennan Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5360200'), "name"=>"Terence Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5370200'), "name"=>"Dr. Haskell Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5380200'), "name"=>"Simeon Williamson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5390200'), "name"=>"Jayce Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53a0200'), "name"=>"Raquel Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53b0200'), "name"=>"Hope Dare DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53c0200'), "name"=>"Ellen Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53d0200'), "name"=>"Dianna Lueilwitz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53e0200'), "name"=>"Marty Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b53f0200'), "name"=>"Ms. Bradley Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 21.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b53f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5400200'), "name"=>"Ms. Daisha Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5410200'), "name"=>"Chance Stamm PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5420200'), "name"=>"Kasey Cummerata Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5430200'), "name"=>"Ola Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5440200'), "name"=>"Molly Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5450200'), "name"=>"Johnathan Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5460200'), "name"=>"Harley Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5470200'), "name"=>"Muriel Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5480200'), "name"=>"Oma Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5490200'), "name"=>"Mrs. Alisha Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54a0200'), "name"=>"Emmalee Shanahan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54b0200'), "name"=>"Jared Jakubowski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54c0200'), "name"=>"Amaya Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54d0200'), "name"=>"Mr. Arielle Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54e0200'), "name"=>"Antonetta Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b54f0200'), "name"=>"Mrs. Hope Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b54f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5500200'), "name"=>"Miss Antonetta Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5510200'), "name"=>"Mrs. Gay Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5520200'), "name"=>"Matilde Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5530200'), "name"=>"Vallie Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5540200'), "name"=>"Ibrahim Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5550200'), "name"=>"Meggie Howell Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5560200'), "name"=>"Allen Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5570200'), "name"=>"Aubrey Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5580200'), "name"=>"Patience Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5590200'), "name"=>"Schuyler Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55a0200'), "name"=>"Toney Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55b0200'), "name"=>"Rosalia Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55c0200'), "name"=>"Deshaun Ondricka II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55d0200'), "name"=>"Willie Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55e0200'), "name"=>"Cedrick Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b55f0200'), "name"=>"Kari Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b55f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5600200'), "name"=>"Dr. Noemi O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5610200'), "name"=>"Christop O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5620200'), "name"=>"Ayla Luettgen MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5630200'), "name"=>"Madyson Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5640200'), "name"=>"Tristian Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5650200'), "name"=>"Allan Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5660200'), "name"=>"Lavinia Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5670200'), "name"=>"Yasmin McCullough III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5680200'), "name"=>"Beatrice Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5690200'), "name"=>"Mae D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56a0200'), "name"=>"Prince Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56b0200'), "name"=>"Ms. Edyth Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56c0200'), "name"=>"Jamil Kemmer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56d0200'), "name"=>"Ally Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56e0200'), "name"=>"Vernie Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b56f0200'), "name"=>"Willard Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b56f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5700200'), "name"=>"Mrs. Presley Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5710200'), "name"=>"Roger Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5720200'), "name"=>"Pierre Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5730200'), "name"=>"Javon Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5740200'), "name"=>"Jordane Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5750200'), "name"=>"Freda Kiehn IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5760200'), "name"=>"Glennie Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5770200'), "name"=>"Reid Howe III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5780200'), "name"=>"Bridie Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 7ms (Views: 6.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57a0200'), "name"=>"Graciela Ebert"}] 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={"category_id"=>BSON::ObjectId('53df556e77353315b57a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57b0200'), "name"=>"Ms. Gideon Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57c0200'), "name"=>"Justice Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57d0200'), "name"=>"Jesse Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57e0200'), "name"=>"Dianna Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b57f0200'), "name"=>"Easter Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5800200'), "name"=>"Mr. Nya Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5810200'), "name"=>"Dr. Dorcas Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5820200'), "name"=>"Alanis Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5830200'), "name"=>"Polly Tromp DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5840200'), "name"=>"Dr. Edgardo Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5850200'), "name"=>"Hester Fahey V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5860200'), "name"=>"Vivian Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5870200'), "name"=>"Pamela West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5880200'), "name"=>"Liliane Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5890200'), "name"=>"Maci Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58a0200'), "name"=>"Daisha Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58b0200'), "name"=>"Melany Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58c0200'), "name"=>"Name Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58d0200'), "name"=>"Jolie Schoen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58e0200'), "name"=>"Jessy Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b58f0200'), "name"=>"Nash Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b58f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5900200'), "name"=>"Domenico Kunde IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5910200'), "name"=>"Israel Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5920200'), "name"=>"Odessa Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5930200'), "name"=>"Lester Weber Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5940200'), "name"=>"Katharina Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5950200'), "name"=>"Mr. Haven Yundt"}] 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={"category_id"=>BSON::ObjectId('53df556e77353315b5950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5960200'), "name"=>"Humberto Harber III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5970200'), "name"=>"Kristina Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5980200'), "name"=>"Alivia Nader V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5990200'), "name"=>"Virginie Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59a0200'), "name"=>"Juliana Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59b0200'), "name"=>"Dr. Wilburn Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59c0200'), "name"=>"Tianna Schiller DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59d0200'), "name"=>"Pierre Bergnaum Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59e0200'), "name"=>"Javonte Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b59f0200'), "name"=>"George Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b59f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a00200'), "name"=>"Miles Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a10200'), "name"=>"Clay Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a20200'), "name"=>"Cleve Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a30200'), "name"=>"Billie Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a40200'), "name"=>"Rowland Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a50200'), "name"=>"Houston Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a60200'), "name"=>"Richie Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a70200'), "name"=>"Hiram Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a80200'), "name"=>"Maci Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5a90200'), "name"=>"Mr. Morgan Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5aa0200'), "name"=>"Chesley Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ab0200'), "name"=>"Dr. Marco Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ac0200'), "name"=>"Rhett Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ad0200'), "name"=>"Candice Runolfsson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ae0200'), "name"=>"Mr. Destinee Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5af0200'), "name"=>"Dr. Rudy Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b00200'), "name"=>"Sophia Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b10200'), "name"=>"Chasity Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b20200'), "name"=>"Antone Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b30200'), "name"=>"Mr. Donnell Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b40200'), "name"=>"Dorris O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b50200'), "name"=>"Creola Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b60200'), "name"=>"Aletha Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b70200'), "name"=>"Freida Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b80200'), "name"=>"Mrs. Adolph Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5b90200'), "name"=>"Jordyn Kling Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ba0200'), "name"=>"Antwan Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5bb0200'), "name"=>"Ms. Katelin Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5bc0200'), "name"=>"Frankie D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5bd0200'), "name"=>"Jasen Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5be0200'), "name"=>"Roberta Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5bf0200'), "name"=>"Pat Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c00200'), "name"=>"Virginie Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c10200'), "name"=>"Dr. Alanis Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c20200'), "name"=>"Marianne Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c30200'), "name"=>"Jayce Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c40200'), "name"=>"Delaney Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c50200'), "name"=>"Ahmad Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c60200'), "name"=>"Amelie Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c70200'), "name"=>"Ruth Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c80200'), "name"=>"Gavin Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5c90200'), "name"=>"Jace O'Hara Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ca0200'), "name"=>"Mrs. Wilton Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5cb0200'), "name"=>"Sylvia O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5cc0200'), "name"=>"Carleton Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5cd0200'), "name"=>"Jonatan Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5ce0200'), "name"=>"Brock Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5cf0200'), "name"=>"Dr. Cecilia Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d00200'), "name"=>"Vincent Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d10200'), "name"=>"Bernice Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d20200'), "name"=>"Mrs. Zion Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d30200'), "name"=>"Orpha Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d40200'), "name"=>"Salvatore Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d50200'), "name"=>"Hershel Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d60200'), "name"=>"Jada Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d70200'), "name"=>"Roger Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d80200'), "name"=>"Brandt Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5d90200'), "name"=>"Roderick Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df556e77353315b57a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df556e77353315b57a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b57a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5da0200'), "name"=>"Pablo Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5db0200'), "name"=>"Paolo McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5dc0200'), "name"=>"Meggie Torphy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556e77353315b5dd0200'), "name"=>"Leonardo Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5de0200'), "name"=>"Angeline Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5df0200'), "name"=>"Desmond Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e00200'), "name"=>"Miss Camylle Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e10200'), "name"=>"Keeley Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e20200'), "name"=>"Antonina O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e30200'), "name"=>"Judd Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e40200'), "name"=>"Barrett Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e50200'), "name"=>"Alia Lubowitz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e60200'), "name"=>"Delbert Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e70200'), "name"=>"Mr. Edmund Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e80200'), "name"=>"Scarlett Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5e90200'), "name"=>"Brice Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ea0200'), "name"=>"Ms. Maverick Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5eb0200'), "name"=>"Delbert Windler Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ec0200'), "name"=>"William Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ed0200'), "name"=>"Mattie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ee0200'), "name"=>"Mr. Chasity Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ef0200'), "name"=>"Concepcion Kemmer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f00200'), "name"=>"Golda Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f10200'), "name"=>"Gregg Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f20200'), "name"=>"Wade Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f30200'), "name"=>"Tiara Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f40200'), "name"=>"Sydni Runte V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f50200'), "name"=>"Jeanette Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f60200'), "name"=>"Bernhard Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f70200'), "name"=>"Clay Gerlach Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f80200'), "name"=>"Roel Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5f90200'), "name"=>"Gerald Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5fa0200'), "name"=>"Tremayne Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5fb0200'), "name"=>"Dock Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5fc0200'), "name"=>"Reina Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5fd0200'), "name"=>"Mrs. Johanna Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5fe0200'), "name"=>"Joseph Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5ff0200'), "name"=>"Juliana Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5000300'), "name"=>"Asa Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5010300'), "name"=>"Steve Marks Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5020300'), "name"=>"Celia Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5030300'), "name"=>"Mr. Maximillia Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5040300'), "name"=>"Cassidy Mills Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5050300'), "name"=>"Kiley Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5060300'), "name"=>"Jeanette Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5070300'), "name"=>"Sasha Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5080300'), "name"=>"Miss Adam Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5090300'), "name"=>"Mozell Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50a0300'), "name"=>"Ezequiel Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50b0300'), "name"=>"Zander Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50c0300'), "name"=>"Cortney Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50d0300'), "name"=>"Emory Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50e0300'), "name"=>"Domenic Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b50f0300'), "name"=>"Marques Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b50f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5100300'), "name"=>"Jolie Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5110300'), "name"=>"Vena Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5120300'), "name"=>"Mr. Vernice Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5130300'), "name"=>"Miss Hiram Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5140300'), "name"=>"Jalon Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5150300'), "name"=>"Juvenal Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5160300'), "name"=>"Toy Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5170300'), "name"=>"Bettye Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5180300'), "name"=>"Rachael Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5190300'), "name"=>"Maximus Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51a0300'), "name"=>"Pearlie Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51b0300'), "name"=>"Lacy Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51c0300'), "name"=>"Audra Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51d0300'), "name"=>"Maria Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51e0300'), "name"=>"Fernando Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b51f0300'), "name"=>"Andre Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b51f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5200300'), "name"=>"Isaac Roob MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5210300'), "name"=>"Brendan Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5220300'), "name"=>"Clarabelle Hartmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5230300'), "name"=>"Chyna Prohaska Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5240300'), "name"=>"Pearlie Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5250300'), "name"=>"Travon Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5260300'), "name"=>"Retta Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5270300'), "name"=>"Odessa Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5280300'), "name"=>"Lorena Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5290300'), "name"=>"Mr. Taylor Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52a0300'), "name"=>"Keanu Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52b0300'), "name"=>"Emmy VonRueden Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52c0300'), "name"=>"Leta Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52d0300'), "name"=>"Krystel Schultz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52e0300'), "name"=>"Larue Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b52f0300'), "name"=>"Dr. Eunice Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b52f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5300300'), "name"=>"Florence Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5310300'), "name"=>"Mary Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5320300'), "name"=>"Keven Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5330300'), "name"=>"Elnora Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5340300'), "name"=>"Haven Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5350300'), "name"=>"Elouise Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5360300'), "name"=>"Dr. Clinton Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5370300'), "name"=>"Johnpaul Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5380300'), "name"=>"Daisy Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5390300'), "name"=>"Odell Daugherty V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556f77353315b5390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df556e77353315b5da0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df556e77353315b5da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df556e77353315b5da0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df556e77353315b5da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms Redirected to http://test.host/categories/53df556e77353315b5da0200 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b53a0300'), "name"=>"Kirsten O'Keefe Jr.", "reference"=>"Steve Adams DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b53b0300'), "author_name"=>"Benedict Nitzsche Jr.", "content"=>["Saepe a dolores impedit rerum ducimus est temporibus. Est dolorem modi. Quos odio sequi saepe culpa iure ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53a0300')} 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"=>"53df556f77353315b53a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53a0300')} 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('53df556f77353315b53a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df556f77353315b53c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Redirected to http://test.host/products/53df556f77353315b53a0300/comments/53df556f77353315b53c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b53d0300'), "name"=>"Cole Dooley", "reference"=>"Ali Marquardt", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b53e0300'), "author_name"=>"Ms. Christy Wiza", "content"=>["Sed minus ut et fugiat quam soluta. Recusandae est fugit voluptatem laborum necessitatibus cum aut. Aut consequuntur rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df556f77353315b53d0300", "id"=>"53df556f77353315b53e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53d0300')} 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('53df556f77353315b53d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df556f77353315b53e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Redirected to http://test.host/products/53df556f77353315b53d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1962ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b53f0300'), "name"=>"Ardella Dickens", "reference"=>"Loren Hoppe", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5400300'), "author_name"=>"Justen Miller", "content"=>["Unde illo vel non voluptatibus dolor placeat ipsam. Debitis exercitationem qui eos ullam. Repudiandae error cumque aut sit fugit facilis ea. Eligendi odit dolores perspiciatis deleniti ex amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df556f77353315b53f0300", "id"=>"53df556f77353315b5400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b53f0300')} 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.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5410300'), "name"=>"Miss Zakary Doyle", "reference"=>"Maeve Cartwright I", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5420300'), "author_name"=>"Bernhard Hyatt", "content"=>["Ducimus placeat sint dolores. Assumenda sint maiores doloribus in voluptatem. Perspiciatis temporibus ipsum. Repellendus laborum et mollitia voluptate ea est. Laudantium quas repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df556f77353315b5410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5430300'), "name"=>"Ignacio Mayert", "reference"=>"Ena Rohan", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5440300'), "author_name"=>"Miss Leanna Corwin", "content"=>["Odit et quia veritatis voluptatem aliquam dolores sint. Ad ut debitis. Dolore iste et qui officiis fugit sed. Dolores earum sed tempore et ratione itaque. Iusto rerum explicabo sunt enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df556f77353315b5430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5450300'), "name"=>"Elinore Kunde", "reference"=>"Laurianne Wolff", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5460300'), "author_name"=>"Effie Lynch", "content"=>["Quia voluptas voluptatum. Est neque quisquam. Consectetur et aut ut minus dignissimos sunt maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9453ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df556f77353315b5450300", "id"=>"53df556f77353315b5460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5470300'), "name"=>"Mrs. Louvenia Hartmann", "reference"=>"Mya Rowe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5480300'), "author_name"=>"Lulu McDermott I", "content"=>["Nihil et est. Provident eveniet unde quo saepe ut. Ut praesentium aut. Et architecto quia nemo. Nobis ut quia est et dolores veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df556f77353315b5470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 32ms (Views: 30.3ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5490300'), "name"=>"Luella Larkin", "reference"=>"Petra Homenick", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b54a0300'), "author_name"=>"Stephan Murazik", "content"=>["Quo corporis voluptas voluptate est laboriosam. Ut adipisci illum aut repellat ratione. Enim alias dolore est odit blanditiis. Vel eos adipisci veniam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df556f77353315b5490300", "id"=>"53df556f77353315b54a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4443ms Completed 200 OK in 9ms (Views: 3.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b54b0300'), "name"=>"Teagan Barton", "reference"=>"Liliane Crist", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b54c0300'), "author_name"=>"Jedidiah Hane", "content"=>["Eos earum accusantium sit debitis repudiandae. Et quas eveniet. Vitae blanditiis ut distinctio a maiores perspiciatis aliquam. Voluptatem id consequatur doloremque laudantium atque. Eum sit quia necessitatibus aut eos unde ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5520ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df556f77353315b54c0300", "product_id"=>"53df556f77353315b54b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b54b0300')} 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('53df556f77353315b54b0300'), "comments._id"=>BSON::ObjectId('53df556f77353315b54c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Redirected to http://test.host/products/53df556f77353315b54b0300/comments/53df556f77353315b54c0300 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('53df556f77353315b54d0300'), "firstname"=>"Robert", "lastname"=>"McKenzie"}] 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=>"clients", :query=>{}} runtime: 0.1778ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b54e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms Redirected to http://test.host/admin/clients/53df556f77353315b54e0300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1841ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b54f0300'), "firstname"=>"Pinkie", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1562ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df556f77353315b54f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b54f0300')} 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('53df556f77353315b54f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.2133ms Redirected to http://test.host/admin/clients Completed 302 Found in 16ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2319ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5500300'), "firstname"=>"Conor", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df556f77353315b5500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5500300')} 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.6ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5510300'), "firstname"=>"Demario", "lastname"=>"Wisozk"}] 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.3757ms 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('53df556f77353315b5520300'), "firstname"=>"Angie", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5530300'), "firstname"=>"Judson", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df556f77353315b5530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms 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('53df556f77353315b5540300'), "firstname"=>"Edwardo", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df556f77353315b5540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms Redirected to http://test.host/admin/clients/53df556f77353315b5540300 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('53df556f77353315b5550300'), "firstname"=>"Albin", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1278ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms Redirected to http://test.host/clients/53df556f77353315b5560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1414ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5570300'), "firstname"=>"Fiona", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1239ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df556f77353315b5570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms 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.1393ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5580300'), "firstname"=>"Wilton", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df556f77353315b5580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b5580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms 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('53df556f77353315b5590300'), "firstname"=>"Luisa", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4829ms Completed 200 OK in 37ms (Views: 36.3ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df556f77353315b55a0300'), "firstname"=>"Monte", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms 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('53df556f77353315b55b0300'), "firstname"=>"Tre", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df556f77353315b55b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b55b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms 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('53df556f77353315b55c0300'), "firstname"=>"Marcella", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df556f77353315b55c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df556f77353315b55c0300')} 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('53df556f77353315b55c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms Redirected to http://test.host/clients/53df556f77353315b55c0300 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('53df556f77353315b55d0300'), "name"=>"Myrl Gottlieb", "reference"=>"Ezequiel Rempel", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b55e0300'), "firstname"=>"Enid", "lastname"=>"Skiles"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df556f77353315b55d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b55d0300')} 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('53df556f77353315b55d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b55d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b55f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms Redirected to http://test.host/products/53df556f77353315b55d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5600300'), "name"=>"Isobel Barton", "reference"=>"Callie Barton DVM", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b5610300'), "firstname"=>"Charley", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df556f77353315b5610300", "product_id"=>"53df556f77353315b5600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5620300'), "name"=>"Jaquelin Emmerich", "reference"=>"Corrine Cole", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b5630300'), "firstname"=>"Judge", "lastname"=>"Klocko"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df556f77353315b5620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5640300'), "name"=>"Ocie Langosh I", "reference"=>"Miss Tristin Bashirian", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b5650300'), "firstname"=>"Evangeline", "lastname"=>"Gutmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df556f77353315b5650300", "product_id"=>"53df556f77353315b5640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5660300'), "name"=>"Jaylan Glover", "reference"=>"Kayden Kertzmann", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df556f77353315b5670300'), "firstname"=>"Frederic", "lastname"=>"Rau"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df556f77353315b5670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df556f77353315b5660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Unpermitted parameters: name Redirected to http://test.host/products/53df556f77353315b5660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5680300'), "name"=>"Marco Crist", "reference"=>"Lexie Ondricka", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2314ms 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('53df556f77353315b5690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Redirected to http://test.host/products/53df556f77353315b5690300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1867ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b56a0300'), "name"=>"Efren Mann PhD", "reference"=>"Chauncey Fadel", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1702ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df556f77353315b56a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b56a0300')} 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('53df556f77353315b56a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms 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('53df556f77353315b56b0300'), "name"=>"Mr. Aisha Ryan", "reference"=>"Fay Durgan", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df556f77353315b56b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b56b0300')} 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.0ms) 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('53df556f77353315b56c0300'), "name"=>"Verdie Haag", "reference"=>"Vincenzo Moen MD", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms 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.6609ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (41.5ms) Completed 200 OK in 44ms (Views: 43.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b56d0300'), "name"=>"Ana Koepp", "reference"=>"Mrs. Shanna Quitzon", "quantity"=>"8"}] 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.6696ms Completed 200 OK in 4ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b56e0300'), "name"=>"Ms. Mary Carroll", "reference"=>"Franco Runolfsson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df556f77353315b56e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b56e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms 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('53df556f77353315b56f0300'), "name"=>"Evalyn Simonis", "reference"=>"Kailee Tromp V", "quantity"=>"5"}] 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 (2.5ms) 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('53df556f77353315b5710300'), "name"=>"Lyla Ritchie", "reference"=>"Zackary Harris IV", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df556f77353315b5710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5720300'), "name"=>"Zoila Lynch", "reference"=>"Lelia Schaden", "quantity"=>"2"}] 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.2258ms 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('53df556f77353315b5730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1876ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5740300'), "name"=>"Frederic Rippin", "reference"=>"Kayleigh Conroy", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df556f77353315b5740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms 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('53df556f77353315b5750300'), "name"=>"Dora Howell PhD", "reference"=>"Laury Kihn DVM", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms 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('53df556f77353315b5770300'), "name"=>"Alec Schulist", "reference"=>"Eric Kilback", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df556f77353315b5770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms 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('53df556f77353315b5780300'), "name"=>"Ms. Jefferey Wiza", "reference"=>"Alfonso Nicolas DVM", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df556f77353315b5780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms Redirected to http://test.host/products/53df556f77353315b5780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b57b0300'), "name"=>"Kaya Roberts", "reference"=>"Mallie Marks", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5790300'), "author_name"=>"Mia Anderson", "content"=>["Pariatur qui ratione tenetur error voluptatem. Sit eum sunt. Quia assumenda et consequuntur quis ex. Id sint sit dolorem perferendis numquam facilis ducimus. Ullam doloremque aspernatur ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b57a0300'), "author_name"=>"Doris Fritsch", "content"=>["Quo dolore omnis. Rerum eaque et nulla sint vitae distinctio. Velit nam harum ut. Nihil rerum reiciendis rem nesciunt earum quidem quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df556f77353315b57b0300", "comment_id"=>"53df556f77353315b5790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4358ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57b0300'), "comments._id"=>BSON::ObjectId('53df556f77353315b5790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df556f77353315b57c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6923ms Redirected to http://test.host/products/53df556f77353315b57b0300/comments/53df556f77353315b5790300/comments/53df556f77353315b57c0300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b57f0300'), "name"=>"Sofia O'Reilly DDS", "reference"=>"Mrs. Burley Connelly", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b57d0300'), "author_name"=>"Katelin Heaney", "content"=>["Voluptatem unde cumque ipsam est nisi laborum aut. Autem repudiandae sint nisi quaerat ab. Dolor voluptatem illo iste blanditiis possimus fugit excepturi. Autem doloremque consequatur libero quia accusantium odit. Aliquid nemo dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b57e0300'), "author_name"=>"Loyce Gaylord", "content"=>["Consequatur quia vel enim praesentium. Doloribus fugit consequatur. Modi est quasi vitae provident totam unde non. Qui ratione voluptatum provident commodi et tenetur magnam. Aut necessitatibus hic quaerat vitae nulla possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3491ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df556f77353315b57f0300", "comment_id"=>"53df556f77353315b57d0300", "id"=>"53df556f77353315b57e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57f0300'), "comments._id"=>BSON::ObjectId('53df556f77353315b57d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df556f77353315b57e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6568ms Redirected to http://test.host/products/53df556f77353315b57f0300/comments/53df556f77353315b57d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b57f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5820300'), "name"=>"Theron Nicolas DVM", "reference"=>"Ms. Hailey Daniel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5800300'), "author_name"=>"Dr. Buck Hane", "content"=>["Nihil et dicta dignissimos esse. Laboriosam dolores quaerat repellat explicabo nulla. A corporis soluta vero. Ut omnis eum mollitia quaerat deleniti libero eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5810300'), "author_name"=>"Margot Bechtelar", "content"=>["Necessitatibus et sed commodi officiis voluptatum. Accusantium dolores nesciunt in placeat. Quia reiciendis libero animi. Ea repellendus hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4973ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df556f77353315b5820300", "comment_id"=>"53df556f77353315b5800300", "id"=>"53df556f77353315b5810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4343ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5850300'), "name"=>"Cyrus Hayes", "reference"=>"Rosa Langworth", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5830300'), "author_name"=>"Lucie Kozey", "content"=>["Eius in porro ut quam. Et illum eos aut qui sint. Voluptatem sint eligendi placeat quos accusamus. Ut tenetur tempore sint mollitia earum."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5840300'), "author_name"=>"Brain Schiller", "content"=>["Nulla qui est. Quos sapiente voluptatem praesentium dolorem deleniti distinctio. Incidunt vel ullam omnis quia. Fugiat illo quis temporibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df556f77353315b5850300", "comment_id"=>"53df556f77353315b5830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5880300'), "name"=>"Delta Watsica", "reference"=>"Athena Brekke", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5860300'), "author_name"=>"Miss Rebekah Greenholt", "content"=>["Autem iusto aut vero eius voluptates sit. Nobis dolorem commodi aliquam error aut facilis saepe. Qui quis excepturi dignissimos rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5870300'), "author_name"=>"Mr. Willis Feest", "content"=>["Odit delectus qui officiis dolorum saepe molestiae minima. Ut rerum dicta. Unde odit molestiae asperiores aut architecto error sapiente. Laboriosam at magni labore necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df556f77353315b5880300", "comment_id"=>"53df556f77353315b5860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b58b0300'), "name"=>"Bethel Moen", "reference"=>"Veronica Satterfield", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5890300'), "author_name"=>"Loy Spencer Sr.", "content"=>["Enim natus nihil. Aut nulla molestias rerum aut ab id sed. Ducimus et dolorem ad facere iure magni. Illum commodi omnis quia aperiam. Aspernatur culpa ea vitae perferendis ut vel qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b58a0300'), "author_name"=>"Clinton Jacobs PhD", "content"=>["Commodi consequuntur sunt. Architecto ducimus dolorem dicta sed. Aut assumenda expedita voluptatibus repellendus consectetur. Reiciendis quia soluta ipsa similique commodi at veritatis. Ipsa est quisquam distinctio vero odit sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df556f77353315b58b0300", "comment_id"=>"53df556f77353315b5890300", "id"=>"53df556f77353315b58a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b58b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4143ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b58e0300'), "name"=>"Nathaniel Walker", "reference"=>"Shaun Wintheiser", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b58c0300'), "author_name"=>"Bertram Heller", "content"=>["Nihil sint voluptas pariatur quaerat eum labore voluptatibus. Saepe vel alias aut voluptates et rerum mollitia. Repellendus nostrum nisi et perferendis ad dignissimos."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b58d0300'), "author_name"=>"Ms. Barton Hodkiewicz", "content"=>["Optio et repellendus minima debitis. Quis facilis vel nihil. Ut soluta libero et et itaque quae velit. Rerum qui optio perferendis qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5621ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df556f77353315b58e0300", "comment_id"=>"53df556f77353315b58c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b58e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5910300'), "name"=>"Martine Connelly", "reference"=>"Leslie Haag", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b58f0300'), "author_name"=>"Althea Quitzon", "content"=>["Nobis dolore aut sit quasi sed sapiente iusto. Cupiditate magnam debitis voluptatem est praesentium nulla eligendi. Eos accusamus distinctio quia nobis."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5900300'), "author_name"=>"Esmeralda Cronin", "content"=>["Repudiandae unde nemo nobis assumenda velit. Distinctio ut error veniam. Qui quia ipsum alias tempore atque adipisci tempora. Corrupti enim et illum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df556f77353315b5910300", "comment_id"=>"53df556f77353315b58f0300", "id"=>"53df556f77353315b5900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Completed 200 OK in 30ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5940300'), "name"=>"Clinton Breitenberg DVM", "reference"=>"Dr. Charity Schroeder", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5920300'), "author_name"=>"Cara Boyer", "content"=>["Eos sint earum qui eos. Deleniti ullam quisquam iure odit reiciendis quae. Quo ipsa perferendis corporis at repellat blanditiis. Autem id eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53df556f77353315b5930300'), "author_name"=>"Adolph Casper PhD", "content"=>["Et eaque voluptatem ex unde. Tempore quasi fugit. Quis voluptates voluptas cum repellat quia. Qui mollitia nemo recusandae perferendis magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6310ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df556f77353315b5930300", "product_id"=>"53df556f77353315b5940300", "comment_id"=>"53df556f77353315b5920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df556f77353315b5940300'), "comments._id"=>BSON::ObjectId('53df556f77353315b5920300'), "comments.0.comments._id"=>BSON::ObjectId('53df556f77353315b5930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7041ms Redirected to http://test.host/products/53df556f77353315b5940300/comments/53df556f77353315b5920300/comments/53df556f77353315b5930300 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('53df556f77353315b5950300'), "firstname"=>"Whitney", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3211ms 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('53df556f77353315b5960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Redirected to http://test.host/users/53df556f77353315b5960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3704ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5970300'), "firstname"=>"Conrad", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3486ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df556f77353315b5970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df556f77353315b5970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4193ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df556f77353315b5970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms 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.3397ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df556f77353315b5980300'), "firstname"=>"Korey", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df556f77353315b5980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df556f77353315b5980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4812ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('53df556f77353315b5990300'), "firstname"=>"Reymundo", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms 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 Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.7ms) Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df556f77353315b59a0300'), "firstname"=>"Jayden", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms 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('53df556f77353315b59b0300'), "firstname"=>"Kristopher", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df556f77353315b59b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df556f77353315b59b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms 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('53df556f77353315b59c0300'), "firstname"=>"Dallin", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df556f77353315b59c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df556f77353315b59c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms Unpermitted parameters: name Redirected to http://test.host/users/53df556f77353315b59c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5033ms 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.5174ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.8169ms 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.8748ms 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.4126ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.9412ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c7735330447000000'), "firstname"=>"Lurline", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1421ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c7735330447010000'), "firstname"=>"Hester", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c7735330447020000'), "firstname"=>"Aiden", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c7735330447030000'), "firstname"=>"Bailee", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c7735330447040000'), "firstname"=>"Elian", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447050000'), "name"=>"Perry Lemke", "reference"=>"Jasmin Orn", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df867c7735330447060000'), "author_name"=>"Vincenzo Connelly MD", "content"=>["Assumenda qui dolores ipsa. Molestiae quidem tempora illo nesciunt rerum. Tenetur qui voluptatem perspiciatis harum quia. Modi et aut et placeat dolores. Eius assumenda amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df867c7735330447050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447070000'), "name"=>"Candida Abbott", "reference"=>"Laverna Becker", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df867c7735330447080000'), "author_name"=>"Genesis Gutkowski", "content"=>["Mollitia perferendis quae nisi repudiandae quo perspiciatis. Doloribus qui non nesciunt ut blanditiis amet. Sequi totam error aliquid ducimus. Recusandae est quis. Delectus dolores perspiciatis omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df867c7735330447070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447090000'), "name"=>"Ms. Louie Towne", "reference"=>"Jake Abernathy III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df867c77353304470a0000'), "author_name"=>"Orlando Boyle", "content"=>["Corporis incidunt ut reiciendis qui optio. Culpa rem officiis repudiandae id facilis ut. Consectetur culpa debitis iure. Incidunt possimus nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304470b0000'), "name"=>"Justina Ankunding", "reference"=>"Chance Kunde PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df867c77353304470c0000'), "author_name"=>"Marie Turner", "content"=>["At magnam cupiditate. Vel quisquam fuga reprehenderit. Doloremque illum esse est quo perspiciatis maiores quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304470d0000'), "name"=>"Demarco Rolfson DDS", "reference"=>"Miss Astrid Grimes", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df867c77353304470e0000'), "author_name"=>"General Bailey", "content"=>["Nemo maxime numquam. Dolores excepturi pariatur consequuntur voluptatem. Quia natus fugit minima reprehenderit qui voluptate architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304470f0000'), "name"=>"Lloyd Cummings", "reference"=>"Mr. Augustine Greenholt", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df867c7735330447100000'), "author_name"=>"Sallie Langworth", "content"=>["Et inventore tempora aut blanditiis deserunt. Qui asperiores id et. Aliquam iure doloribus nemo quia recusandae possimus. Enim voluptatem officiis omnis quis dolores sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447110000'), "name"=>"Ms. Joel Grady", "reference"=>"Jaren Gerlach V", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df867c7735330447120000'), "author_name"=>"Marlene Carter", "content"=>["Et sequi rerum cum. Sed doloribus deserunt. Necessitatibus laborum ipsa commodi tempora saepe similique. Quisquam placeat perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447130000'), "name"=>"Blaise Gleason MD", "reference"=>"Lexus Hayes", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df867c7735330447140000'), "firstname"=>"Raymundo", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447150000'), "name"=>"Ms. Judson Johns", "reference"=>"Nickolas Kirlin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df867c7735330447160000'), "firstname"=>"Caleb", "lastname"=>"Friesen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447170000'), "name"=>"Dr. Janessa Littel", "reference"=>"Georgette Rohan", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df867c7735330447180000'), "firstname"=>"Kenya", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447190000'), "name"=>"Jon Hintz", "reference"=>"Mrs. Moises Hoppe", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df867c77353304471a0000'), "firstname"=>"Alva", "lastname"=>"Beer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304471b0000'), "name"=>"Charlene Turner", "reference"=>"Cathrine Schmitt", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df867c77353304471c0000'), "firstname"=>"Hulda", "lastname"=>"Zieme"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304471d0000'), "name"=>"Mikayla Hermann DVM", "reference"=>"Tommie Mosciski", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1425ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304471e0000'), "name"=>"Dedric Sauer", "reference"=>"Novella Kuhn DVM", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.1422ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c77353304471f0000'), "name"=>"Julian Durgan", "reference"=>"Lula Gusikowski", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447200000'), "name"=>"Dwight Wehner", "reference"=>"Nick Gerhold", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447210000'), "name"=>"Lynn O'Hara", "reference"=>"Rosanna Hirthe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447220000'), "name"=>"Erica Reichert", "reference"=>"Whitney Morissette", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867c7735330447230000'), "name"=>"Arnoldo Collins", "reference"=>"Rachel Lind", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447240000'), "firstname"=>"Kirk", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3478ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447250000'), "firstname"=>"Augustine", "lastname"=>"Larkin"}] 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.2927ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447260000'), "firstname"=>"Demarcus", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5563ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447270000'), "firstname"=>"Natasha", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447280000'), "firstname"=>"Keely", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c7735330447290000'), "firstname"=>"Cristobal", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867c77353304472a0000'), "firstname"=>"Camren", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5222ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c77353304472b0000'), "firstname"=>"Imogene", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1375ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3481ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c77353304472c0000'), "firstname"=>"Kali", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c77353304472d0000'), "firstname"=>"Rafaela", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c77353304472e0000'), "firstname"=>"Evans", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df867c77353304472f0000'), "firstname"=>"Taryn", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4975ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447300000'), "name"=>"Miss Keshawn Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447310000'), "name"=>"Anya Heathcote II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447320000'), "name"=>"Oda Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447330000'), "name"=>"Erwin Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447340000'), "name"=>"Lucinda Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447350000'), "name"=>"Mr. Chadd Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447360000'), "name"=>"Aaliyah Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447370000'), "name"=>"Bo Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447380000'), "name"=>"Georgianna Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447390000'), "name"=>"Vaughn Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473a0000'), "name"=>"Pansy Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473b0000'), "name"=>"Estevan Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473c0000'), "name"=>"Karen Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473d0000'), "name"=>"Sandy Dach I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473e0000'), "name"=>"Cleta Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473f0000'), "name"=>"Mitchel Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447400000'), "name"=>"Jon Jakubowski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447410000'), "name"=>"Juvenal Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447420000'), "name"=>"Dr. Ryleigh Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447430000'), "name"=>"Valerie Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447440000'), "name"=>"Orion Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447450000'), "name"=>"Donato Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447460000'), "name"=>"Ms. Emie Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447470000'), "name"=>"Emelie Borer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447480000'), "name"=>"Cynthia Heidenreich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447490000'), "name"=>"Ms. Theodora Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474a0000'), "name"=>"Jerrell Rau MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474b0000'), "name"=>"Marley Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474c0000'), "name"=>"Albert Hodkiewicz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474d0000'), "name"=>"Isac Wisozk II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474e0000'), "name"=>"Brice McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474f0000'), "name"=>"Katelin Cronin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447500000'), "name"=>"Miss Bethany Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447510000'), "name"=>"Fern Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447520000'), "name"=>"Bernardo Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447530000'), "name"=>"Ms. Aubree Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447540000'), "name"=>"Houston Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447550000'), "name"=>"Asia Hyatt I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447560000'), "name"=>"Mrs. Jovan Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447570000'), "name"=>"Miss Isadore Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447580000'), "name"=>"Bethel Hagenes Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447590000'), "name"=>"Herman Kuhic II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475a0000'), "name"=>"Chelsea Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475b0000'), "name"=>"Dr. Adolf Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475c0000'), "name"=>"Alessandra Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475d0000'), "name"=>"Malinda Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475e0000'), "name"=>"Trace Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475f0000'), "name"=>"Mr. Violette Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447600000'), "name"=>"Danny Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447610000'), "name"=>"Rosella Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447620000'), "name"=>"Mr. Flo Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447630000'), "name"=>"Raphaelle Bernier V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447640000'), "name"=>"Mrs. Rudy Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447650000'), "name"=>"Giuseppe O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447660000'), "name"=>"Grady Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447670000'), "name"=>"Murphy Denesik DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447680000'), "name"=>"Rafaela Mohr DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447690000'), "name"=>"Corbin Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476a0000'), "name"=>"Dr. Rogers Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476b0000'), "name"=>"Jimmy Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476c0000'), "name"=>"Keegan Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476d0000'), "name"=>"Flossie Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476e0000'), "name"=>"Dr. Davon Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304476f0000'), "name"=>"Dannie Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304476f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447700000'), "name"=>"Eileen Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447710000'), "name"=>"Tomasa Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447720000'), "name"=>"Athena Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447730000'), "name"=>"Genesis Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447740000'), "name"=>"Madison Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447750000'), "name"=>"Mr. Rosetta Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447760000'), "name"=>"Mrs. Kiara McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447770000'), "name"=>"Ted Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447780000'), "name"=>"Dr. Jaylen Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447790000'), "name"=>"Willy Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477a0000'), "name"=>"Rusty Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477b0000'), "name"=>"Krystel Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477c0000'), "name"=>"Kara Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477d0000'), "name"=>"Elsie Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477e0000'), "name"=>"Jacinto Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304477f0000'), "name"=>"Douglas Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304477f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447800000'), "name"=>"Liam Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447810000'), "name"=>"Dr. Ashley Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447820000'), "name"=>"Louvenia Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447830000'), "name"=>"Candido Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447840000'), "name"=>"Kenny Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447850000'), "name"=>"Ms. Jackie West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447860000'), "name"=>"Perry Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447870000'), "name"=>"Mae Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447880000'), "name"=>"Ms. Brendan Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447890000'), "name"=>"Mrs. Marc Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478a0000'), "name"=>"Mr. Eino Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478b0000'), "name"=>"Frederick Russel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478c0000'), "name"=>"Aaliyah Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478d0000'), "name"=>"Thurman Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478e0000'), "name"=>"Kara Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304478f0000'), "name"=>"Anita Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304478f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1246ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447900000'), "name"=>"Ernie Roob IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447910000'), "name"=>"Kevin West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447920000'), "name"=>"Benny Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447930000'), "name"=>"Stanford Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447940000'), "name"=>"Iva Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447950000'), "name"=>"Autumn Wunsch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447960000'), "name"=>"Antonetta Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447970000'), "name"=>"Merritt Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447980000'), "name"=>"Isaiah Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447990000'), "name"=>"Matteo Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479a0000'), "name"=>"Otto Feil II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479b0000'), "name"=>"Miss Fanny Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479c0000'), "name"=>"Nico Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479d0000'), "name"=>"Mr. Reinhold Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479e0000'), "name"=>"Vicky Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304479f0000'), "name"=>"Ocie Stehr PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304479f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a00000'), "name"=>"Silas Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a10000'), "name"=>"Oleta Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a20000'), "name"=>"Miss Moises Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a30000'), "name"=>"Danielle Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a40000'), "name"=>"Vincenza Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a50000'), "name"=>"Genevieve Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a60000'), "name"=>"Fritz Morar IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a70000'), "name"=>"Mr. Alanis Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a80000'), "name"=>"Miss Bethany Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447a90000'), "name"=>"Zane Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447aa0000'), "name"=>"Rhiannon Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ab0000'), "name"=>"Mrs. Cornell Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ac0000'), "name"=>"Raegan Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ad0000'), "name"=>"Hailie Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ae0000'), "name"=>"Monroe Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447af0000'), "name"=>"Dr. Torey Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b00000'), "name"=>"Michelle Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b10000'), "name"=>"Charlie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b20000'), "name"=>"Ray Gusikowski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b30000'), "name"=>"Rosanna Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b40000'), "name"=>"Chauncey Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b50000'), "name"=>"Lera Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b60000'), "name"=>"Emie Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b70000'), "name"=>"Leola Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b80000'), "name"=>"Kasey Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447b90000'), "name"=>"Tomasa Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ba0000'), "name"=>"Mozell Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447bb0000'), "name"=>"Else Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447bc0000'), "name"=>"Jeramy Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447bd0000'), "name"=>"Cordia Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447be0000'), "name"=>"Deja Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447bf0000'), "name"=>"David Satterfield V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c00000'), "name"=>"Mr. Zaria Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c10000'), "name"=>"Evie Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c20000'), "name"=>"Sim Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c30000'), "name"=>"Marielle Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c40000'), "name"=>"Cleta Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c50000'), "name"=>"Abigail Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c60000'), "name"=>"Casimer Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c70000'), "name"=>"Buck Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c80000'), "name"=>"Ms. Yasmine DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447c90000'), "name"=>"Carol Cassin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ca0000'), "name"=>"Dasia Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447cb0000'), "name"=>"Tremaine Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447cc0000'), "name"=>"Constantin Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447cd0000'), "name"=>"Britney Pfannerstill I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ce0000'), "name"=>"Lucius Donnelly V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.3365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447cf0000'), "name"=>"Bartholome Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d00000'), "name"=>"Conor Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d10000'), "name"=>"Meaghan Kunze IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d20000'), "name"=>"Dario Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d30000'), "name"=>"Ms. Clara Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d40000'), "name"=>"Jewell Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d50000'), "name"=>"Dr. Irwin Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d60000'), "name"=>"Mrs. Myrtie Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d70000'), "name"=>"Kelvin Nicolas PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d80000'), "name"=>"Miss Annabel Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447d90000'), "name"=>"Jarred Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447da0000'), "name"=>"Hortense Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447db0000'), "name"=>"Riley Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447dc0000'), "name"=>"Prudence Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447dd0000'), "name"=>"Hazel Klocko III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447de0000'), "name"=>"Deron Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447df0000'), "name"=>"Magnolia Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e00000'), "name"=>"Gabrielle Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e10000'), "name"=>"Allene West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e20000'), "name"=>"Raphaelle Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e30000'), "name"=>"Gilberto Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e40000'), "name"=>"Mr. Mose Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e50000'), "name"=>"Madge Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e60000'), "name"=>"Everett Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e70000'), "name"=>"Cooper Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e80000'), "name"=>"Abe Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447e90000'), "name"=>"Stacey Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ea0000'), "name"=>"Sandy Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447eb0000'), "name"=>"Shayna Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ec0000'), "name"=>"Maia Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ed0000'), "name"=>"Faustino Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ee0000'), "name"=>"Pablo Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ef0000'), "name"=>"Nayeli Adams Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1388ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f00000'), "name"=>"Pablo Wolff PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f10000'), "name"=>"Elijah Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f20000'), "name"=>"Jennyfer Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f30000'), "name"=>"Mr. Marilyne Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f40000'), "name"=>"Dr. Hannah Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f50000'), "name"=>"Ozella McGlynn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f60000'), "name"=>"Jana MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f70000'), "name"=>"Mathew Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f80000'), "name"=>"Henriette Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447f90000'), "name"=>"Adela Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447fa0000'), "name"=>"Deonte Mosciski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447fb0000'), "name"=>"Mrs. Marcelo Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447fc0000'), "name"=>"Wilhelm Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447fd0000'), "name"=>"Ricardo Gislason I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447fe0000'), "name"=>"Bartholome Halvorson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447ff0000'), "name"=>"Bertrand Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447000100'), "name"=>"Giles Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447010100'), "name"=>"Aracely Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447020100'), "name"=>"Ally Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447030100'), "name"=>"Luna Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447040100'), "name"=>"Ms. Nelle Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447050100'), "name"=>"Jody Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447060100'), "name"=>"Vincenzo Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447070100'), "name"=>"Ms. Tanner Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447080100'), "name"=>"Westley Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447090100'), "name"=>"Ms. Leatha Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470a0100'), "name"=>"Deven Hoppe V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470b0100'), "name"=>"Ayana Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470c0100'), "name"=>"Erin Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470d0100'), "name"=>"Maxie Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470e0100'), "name"=>"Alayna Ratke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304470f0100'), "name"=>"Mr. Rickie Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304470f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447100100'), "name"=>"Deontae Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447110100'), "name"=>"Glenna Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447120100'), "name"=>"Rosie Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447130100'), "name"=>"Annie Johnson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447140100'), "name"=>"Emilia Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447150100'), "name"=>"Wyatt Russel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447160100'), "name"=>"Genesis Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447170100'), "name"=>"Blaze Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447180100'), "name"=>"Bartholome Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447190100'), "name"=>"Mr. Desiree Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471a0100'), "name"=>"Dr. Arlene Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471b0100'), "name"=>"Wilton Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471c0100'), "name"=>"Mr. Modesta Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471d0100'), "name"=>"Mrs. Brionna Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471e0100'), "name"=>"Cloyd Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304471f0100'), "name"=>"Petra Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304471f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447200100'), "name"=>"Shirley Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447210100'), "name"=>"Dr. Michael Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447220100'), "name"=>"Brandon Durgan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447230100'), "name"=>"Jany Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447240100'), "name"=>"Wayne Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447250100'), "name"=>"Kenna Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447260100'), "name"=>"Alison Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447270100'), "name"=>"Vivian Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447280100'), "name"=>"Aurelio Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447290100'), "name"=>"Lukas Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472a0100'), "name"=>"Mrs. Hailee Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472b0100'), "name"=>"Shaniya Stroman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472c0100'), "name"=>"Oswaldo Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472d0100'), "name"=>"Mossie Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472e0100'), "name"=>"Blaze Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304472f0100'), "name"=>"Mr. Moshe Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304472f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447300100'), "name"=>"Martine Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447310100'), "name"=>"Alena Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447320100'), "name"=>"Alan Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447330100'), "name"=>"Lavinia Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447340100'), "name"=>"Vaughn Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447350100'), "name"=>"Roberta Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447360100'), "name"=>"Valerie Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447370100'), "name"=>"Ms. Aric Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447380100'), "name"=>"Mark Swift PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447390100'), "name"=>"Tito Ritchie DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473a0100'), "name"=>"Jevon Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473b0100'), "name"=>"Karelle Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473c0100'), "name"=>"Makenna Hauck MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473d0100'), "name"=>"Mrs. Viva Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473e0100'), "name"=>"Mrs. Francisco Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304473f0100'), "name"=>"Mrs. Reese Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304473f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447400100'), "name"=>"Joey Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447410100'), "name"=>"Natalie Rice I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447420100'), "name"=>"Wilton Wilderman II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447430100'), "name"=>"Audra Bogan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447440100'), "name"=>"Sherman Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447450100'), "name"=>"Tom Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447460100'), "name"=>"Laverne Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447470100'), "name"=>"Fredy Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447480100'), "name"=>"Terrence Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447490100'), "name"=>"Eleanora Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474a0100'), "name"=>"Kitty Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474b0100'), "name"=>"Winnifred Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474c0100'), "name"=>"Dr. Rowan O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474d0100'), "name"=>"Wilbert Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474e0100'), "name"=>"Zane Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304474f0100'), "name"=>"Juvenal Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304474f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447500100'), "name"=>"Jacky Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447510100'), "name"=>"Madyson Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447520100'), "name"=>"Joy Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447530100'), "name"=>"Ayana Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447540100'), "name"=>"Franco McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447550100'), "name"=>"Marty Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447560100'), "name"=>"Miss Maybell Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447570100'), "name"=>"Christ Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447580100'), "name"=>"Billie Kunde II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c7735330447590100'), "name"=>"Justine Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c7735330447590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475a0100'), "name"=>"Gerald Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475b0100'), "name"=>"Everette Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475c0100'), "name"=>"Keegan Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475d0100'), "name"=>"Urban Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475e0100'), "name"=>"Julia Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867c77353304475f0100'), "name"=>"Mrs. Shany Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867c77353304475f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447600100'), "name"=>"Faustino Larson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447610100'), "name"=>"Karli Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447620100'), "name"=>"Jarrell Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447630100'), "name"=>"Abbigail Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447640100'), "name"=>"Miss Alexane Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447650100'), "name"=>"Rylee Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447660100'), "name"=>"Norma Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447670100'), "name"=>"Wilhelmine Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447680100'), "name"=>"Dr. Tate Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447690100'), "name"=>"Fannie Heller Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476a0100'), "name"=>"Harmony Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476b0100'), "name"=>"Cassidy Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476c0100'), "name"=>"Ms. Emilie Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476d0100'), "name"=>"Cecilia Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476e0100'), "name"=>"Jordane Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476f0100'), "name"=>"Santina Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447700100'), "name"=>"Sage Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447710100'), "name"=>"Mrs. Laisha Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447720100'), "name"=>"Ms. Tate Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447730100'), "name"=>"Rhiannon Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447740100'), "name"=>"Lynn Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447750100'), "name"=>"Stuart Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447760100'), "name"=>"Noemie Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447770100'), "name"=>"Zoey Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447780100'), "name"=>"Mr. Jason Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447790100'), "name"=>"Rachael Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477a0100'), "name"=>"Jarrell Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477b0100'), "name"=>"Alicia Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477c0100'), "name"=>"Allison Hoeger DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477d0100'), "name"=>"Zelda Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477e0100'), "name"=>"Brando Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477f0100'), "name"=>"Aniya Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447800100'), "name"=>"Delia Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447810100'), "name"=>"Savanah McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447820100'), "name"=>"Otto Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447830100'), "name"=>"Alexys Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447840100'), "name"=>"Nicola Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447850100'), "name"=>"General Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447860100'), "name"=>"Miss Noble Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447870100'), "name"=>"Dino Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447880100'), "name"=>"Nia Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447890100'), "name"=>"Emma Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478a0100'), "name"=>"Miss Anastasia O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478b0100'), "name"=>"Makayla Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478c0100'), "name"=>"Dorthy Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478d0100'), "name"=>"Grace Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478e0100'), "name"=>"Adriel Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478f0100'), "name"=>"Delores Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447900100'), "name"=>"Brandi Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447910100'), "name"=>"Schuyler Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447920100'), "name"=>"Alize Howe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447930100'), "name"=>"Zakary Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447940100'), "name"=>"Trent Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447950100'), "name"=>"Ms. Lexus Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447960100'), "name"=>"Daren Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447970100'), "name"=>"Marley Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447980100'), "name"=>"Gerardo Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447990100'), "name"=>"Cicero Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479a0100'), "name"=>"Tania Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479b0100'), "name"=>"Delphia Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479c0100'), "name"=>"Maeve Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479d0100'), "name"=>"Lorine Shanahan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479e0100'), "name"=>"Mikayla Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479f0100'), "name"=>"Chester Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a00100'), "name"=>"Fermin Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a10100'), "name"=>"Ottilie Adams DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a20100'), "name"=>"Priscilla Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a30100'), "name"=>"Ronny Nader IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a40100'), "name"=>"Jarrell Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a50100'), "name"=>"Jeramy Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a60100'), "name"=>"Dr. Lloyd Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a70100'), "name"=>"Bonnie Shields V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a80100'), "name"=>"Meghan Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a90100'), "name"=>"Keyon Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447aa0100'), "name"=>"Beth Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ab0100'), "name"=>"Mr. Emmett Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ac0100'), "name"=>"Brannon Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ad0100'), "name"=>"Jedediah Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ae0100'), "name"=>"Berniece Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447af0100'), "name"=>"Margaretta Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b00100'), "name"=>"Dr. Jennyfer Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b10100'), "name"=>"Jerod Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b20100'), "name"=>"Ebony Nicolas I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b30100'), "name"=>"Gus Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b40100'), "name"=>"Raphael Bergnaum DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b50100'), "name"=>"Jaydon Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b60100'), "name"=>"Jarod Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b70100'), "name"=>"Lucious Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b80100'), "name"=>"David Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b90100'), "name"=>"Jarret King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ba0100'), "name"=>"Edd Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bb0100'), "name"=>"Dorothy Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bc0100'), "name"=>"Montana Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bd0100'), "name"=>"Keshaun Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447be0100'), "name"=>"Andres Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bf0100'), "name"=>"Afton Johnston II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c00100'), "name"=>"Felix Johns II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c10100'), "name"=>"Miss Kayleigh Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c20100'), "name"=>"Santos Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c30100'), "name"=>"Araceli Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c40100'), "name"=>"Ms. Tanner Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c50100'), "name"=>"Lyric McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c60100'), "name"=>"Hershel Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c70100'), "name"=>"Breanna Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c80100'), "name"=>"Adah McClure I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c90100'), "name"=>"Sadie Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ca0100'), "name"=>"Zita Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cb0100'), "name"=>"Rudy Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cc0100'), "name"=>"Mr. Jaron Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cd0100'), "name"=>"Mr. Jasen Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ce0100'), "name"=>"Ophelia Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cf0100'), "name"=>"Anne Altenwerth I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d00100'), "name"=>"Finn Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d10100'), "name"=>"Dusty Krajcik II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d20100'), "name"=>"Lillian O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d30100'), "name"=>"Ursula Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.8814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d40100'), "name"=>"Myrtie Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d50100'), "name"=>"Lucas Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d60100'), "name"=>"Mason Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d70100'), "name"=>"Jeramy Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d80100'), "name"=>"Carmel Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d90100'), "name"=>"Calista Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447da0100'), "name"=>"Ignacio Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447db0100'), "name"=>"Helena Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447dc0100'), "name"=>"Angus Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447dd0100'), "name"=>"Sven Prohaska DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447de0100'), "name"=>"Mr. David Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447df0100'), "name"=>"Jarrell Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e00100'), "name"=>"Josianne Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e10100'), "name"=>"Miss Emilia Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e20100'), "name"=>"Willard Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e30100'), "name"=>"Darius Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e40100'), "name"=>"Harry Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e50100'), "name"=>"Trey Abshire III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e60100'), "name"=>"Maximilian Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e70100'), "name"=>"Mrs. Tianna Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e80100'), "name"=>"Esteban Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e90100'), "name"=>"Graham Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ea0100'), "name"=>"Miss Maximus Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447eb0100'), "name"=>"Rosie Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ec0100'), "name"=>"Jeffery Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ed0100'), "name"=>"Annabell Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ee0100'), "name"=>"Agustina Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ef0100'), "name"=>"Johanna O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f00100'), "name"=>"Grace Hayes PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f10100'), "name"=>"Dr. Florian Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f20100'), "name"=>"Mrs. Cindy Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f30100'), "name"=>"Harvey Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f40100'), "name"=>"Eduardo Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f50100'), "name"=>"Dr. Triston Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f60100'), "name"=>"Loma Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f70100'), "name"=>"Macy Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f80100'), "name"=>"Stan Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f90100'), "name"=>"Ms. Toby Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fa0100'), "name"=>"Ms. Hulda Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fb0100'), "name"=>"Maci Hartmann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fc0100'), "name"=>"Kelsi Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fd0100'), "name"=>"Calista Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fe0100'), "name"=>"Darian Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ff0100'), "name"=>"Mr. Fatima Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447000200'), "name"=>"Kole Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447010200'), "name"=>"Jorge Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447020200'), "name"=>"Estefania Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447030200'), "name"=>"Leola Wintheiser PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447040200'), "name"=>"Ms. Constance Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447050200'), "name"=>"Chadd Roberts III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447060200'), "name"=>"Mrs. Maryam Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447070200'), "name"=>"Trace Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447080200'), "name"=>"Lisandro Hilll Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447090200'), "name"=>"April Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470a0200'), "name"=>"Isabelle Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470b0200'), "name"=>"Miss Brendon Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470c0200'), "name"=>"Rosamond Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470d0200'), "name"=>"Dina Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470e0200'), "name"=>"Trevion Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470f0200'), "name"=>"Jacinthe Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447100200'), "name"=>"Myah Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447110200'), "name"=>"Laney Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447120200'), "name"=>"Ms. Riley Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447130200'), "name"=>"Augusta Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447140200'), "name"=>"Mireya Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447150200'), "name"=>"Ashleigh Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447160200'), "name"=>"Zita Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447170200'), "name"=>"Reyna Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447180200'), "name"=>"Theo Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447190200'), "name"=>"Earline Ritchie DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471a0200'), "name"=>"Waldo Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471b0200'), "name"=>"Teagan Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471c0200'), "name"=>"Verdie Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471d0200'), "name"=>"Carmella Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471e0200'), "name"=>"Mr. Neha Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471f0200'), "name"=>"Nicolas Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447200200'), "name"=>"Mrs. Isabell Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447210200'), "name"=>"Baylee Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447220200'), "name"=>"Shawn Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447230200'), "name"=>"Cicero Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447240200'), "name"=>"Osborne Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447250200'), "name"=>"Ms. Quinton Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447260200'), "name"=>"Miss Jules Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447270200'), "name"=>"Don Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447280200'), "name"=>"Bridget Kiehn MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447290200'), "name"=>"Sigrid Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472a0200'), "name"=>"Landen Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472b0200'), "name"=>"Lindsey Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472c0200'), "name"=>"Ms. Nicole Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472d0200'), "name"=>"Jessy Thompson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472e0200'), "name"=>"Lonny Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472f0200'), "name"=>"Reva Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447300200'), "name"=>"Braulio Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447310200'), "name"=>"Roberto Weimann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447320200'), "name"=>"Leonie Rogahn Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447330200'), "name"=>"Winfield Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447340200'), "name"=>"Lowell Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447350200'), "name"=>"Kenton Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447360200'), "name"=>"Dr. Alysha Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447370200'), "name"=>"Micheal Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447380200'), "name"=>"Johanna Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447390200'), "name"=>"Osbaldo Hoppe Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473a0200'), "name"=>"Mariana Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473b0200'), "name"=>"Mrs. Jazlyn Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473c0200'), "name"=>"Dr. Braulio Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473d0200'), "name"=>"Stephanie Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473e0200'), "name"=>"Maximillian Schowalter DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304473f0200'), "name"=>"Newton McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304473f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447400200'), "name"=>"Mr. Monroe Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447410200'), "name"=>"Theresa Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447420200'), "name"=>"Olga Torphy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447430200'), "name"=>"Wilfrid Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447440200'), "name"=>"Marcellus Greenholt PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447450200'), "name"=>"Quincy Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447460200'), "name"=>"Verda Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447470200'), "name"=>"Rylee Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447480200'), "name"=>"Mrs. Neva Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447490200'), "name"=>"Imogene Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474a0200'), "name"=>"Oma Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474b0200'), "name"=>"Anita Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474c0200'), "name"=>"Antwan Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474d0200'), "name"=>"Else McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474e0200'), "name"=>"Dr. Kadin Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304474f0200'), "name"=>"Devon Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304474f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447500200'), "name"=>"Darrick Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447510200'), "name"=>"Sonny Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447520200'), "name"=>"Elvis Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447530200'), "name"=>"Elinore Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447540200'), "name"=>"Chadrick Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447550200'), "name"=>"Aiyana Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447560200'), "name"=>"Bette Abshire Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447570200'), "name"=>"Efren Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447580200'), "name"=>"Ken MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447590200'), "name"=>"Derrick Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475a0200'), "name"=>"Rosetta Barrows IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475b0200'), "name"=>"Tyler Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475c0200'), "name"=>"Selina Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475d0200'), "name"=>"Laurence McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475e0200'), "name"=>"Kiera Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304475f0200'), "name"=>"Rod Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304475f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447600200'), "name"=>"Ms. Ernie Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447610200'), "name"=>"Jody Spinka MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447620200'), "name"=>"Maximus Murphy IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447630200'), "name"=>"Sonny Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447640200'), "name"=>"Alexandria Padberg PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447650200'), "name"=>"Dr. Rylan Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447660200'), "name"=>"Bernhard Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447670200'), "name"=>"Ivah Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447680200'), "name"=>"Frederique Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447690200'), "name"=>"Mazie Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476a0200'), "name"=>"Giovanni Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476b0200'), "name"=>"Adrain Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476c0200'), "name"=>"Miss Lukas Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476d0200'), "name"=>"Miss Jaden Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476e0200'), "name"=>"Mrs. Jeff Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304476f0200'), "name"=>"Dr. Corine Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304476f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447700200'), "name"=>"Vada Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447710200'), "name"=>"Dimitri Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447720200'), "name"=>"Marilou Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447730200'), "name"=>"Blanca Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447740200'), "name"=>"Carolyn Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447750200'), "name"=>"Miss Maurine Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447760200'), "name"=>"Daphney Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447770200'), "name"=>"Zion Gutmann PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447780200'), "name"=>"Annamarie Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447790200'), "name"=>"Halle Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477a0200'), "name"=>"Chadrick Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477b0200'), "name"=>"Jayda Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477c0200'), "name"=>"Elian Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477d0200'), "name"=>"Miss Jaycee Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477e0200'), "name"=>"Shanna Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304477f0200'), "name"=>"Patsy Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304477f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447800200'), "name"=>"Alta Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447810200'), "name"=>"Dandre Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447820200'), "name"=>"Ally Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447830200'), "name"=>"Dr. Gino Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447840200'), "name"=>"Ms. Therese Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447850200'), "name"=>"Walter Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447860200'), "name"=>"Lavon Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447870200'), "name"=>"Prince Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447880200'), "name"=>"Laron Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447890200'), "name"=>"Ms. Ismael Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478a0200'), "name"=>"Mateo Cruickshank I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478b0200'), "name"=>"Jairo Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478c0200'), "name"=>"Derek Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478d0200'), "name"=>"Karen Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478e0200'), "name"=>"Miss Lula O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304478f0200'), "name"=>"Darwin Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304478f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447900200'), "name"=>"Eliezer Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447910200'), "name"=>"Isabel Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447920200'), "name"=>"Mr. Ciara King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447930200'), "name"=>"Taryn Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447940200'), "name"=>"Kira Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447950200'), "name"=>"Miss Anjali Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447960200'), "name"=>"Tommie Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447970200'), "name"=>"Odessa Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447980200'), "name"=>"Mr. Curt Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447990200'), "name"=>"Garret Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479a0200'), "name"=>"Mrs. Melvin VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479b0200'), "name"=>"Mrs. Coralie Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479c0200'), "name"=>"Jessika Nienow DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479d0200'), "name"=>"Freida Smitham II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479e0200'), "name"=>"Norval Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304479f0200'), "name"=>"Magdalena Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304479f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a00200'), "name"=>"Ms. Israel Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a10200'), "name"=>"Willy Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a20200'), "name"=>"Amber Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a30200'), "name"=>"Dorthy Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a40200'), "name"=>"Cora Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a50200'), "name"=>"Mrs. Casper Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a60200'), "name"=>"Rubye Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a70200'), "name"=>"Erna Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a80200'), "name"=>"Erwin Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447a90200'), "name"=>"Laurianne Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447aa0200'), "name"=>"Dawson Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ab0200'), "name"=>"Jan Ryan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ac0200'), "name"=>"Berenice Cummings IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ad0200'), "name"=>"Mr. Torrance Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ae0200'), "name"=>"Dino Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447af0200'), "name"=>"Emerson Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b00200'), "name"=>"Maxime Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b10200'), "name"=>"Mr. Minerva Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b20200'), "name"=>"Vince Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b30200'), "name"=>"Cyril McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b40200'), "name"=>"Mrs. Cristian DuBuque"}] 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={"category_id"=>BSON::ObjectId('53df867d7735330447b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b50200'), "name"=>"Roderick O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b60200'), "name"=>"Virginia Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b70200'), "name"=>"Dillon Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b80200'), "name"=>"Margaretta Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447b90200'), "name"=>"Lina Herman IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ba0200'), "name"=>"Bud Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bb0200'), "name"=>"Alden Kemmer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1877ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bc0200'), "name"=>"Rozella McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bd0200'), "name"=>"Faye Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447be0200'), "name"=>"Dr. Jarrod Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447bf0200'), "name"=>"Jonatan Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c00200'), "name"=>"Mrs. Peter Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c10200'), "name"=>"Ms. Carli Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c20200'), "name"=>"Nathanael Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c30200'), "name"=>"Brayan Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c40200'), "name"=>"Helena Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c50200'), "name"=>"Dasia Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c60200'), "name"=>"Brendan Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c70200'), "name"=>"Mr. Rubye Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c80200'), "name"=>"Samir Mosciski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447c90200'), "name"=>"Mrs. Rosetta Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ca0200'), "name"=>"Elena Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cb0200'), "name"=>"Cordia Sipes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cc0200'), "name"=>"Lorenz Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cd0200'), "name"=>"Nina Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ce0200'), "name"=>"Ms. Jamir Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447cf0200'), "name"=>"Lucile Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d00200'), "name"=>"Oswald Breitenberg IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d10200'), "name"=>"Deshaun Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d20200'), "name"=>"Newell Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d30200'), "name"=>"Nikita Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d40200'), "name"=>"Andreanne Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d50200'), "name"=>"Vladimir Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d60200'), "name"=>"Dorcas Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d70200'), "name"=>"Colby Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d80200'), "name"=>"Dr. Benedict Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447d90200'), "name"=>"Alana Lowe IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447da0200'), "name"=>"Ned Glover III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447db0200'), "name"=>"Dedrick Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447dc0200'), "name"=>"Astrid Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447dd0200'), "name"=>"Fernando Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447de0200'), "name"=>"Kathryne Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447df0200'), "name"=>"Dennis Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e00200'), "name"=>"Mohammed Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e10200'), "name"=>"Mrs. Nikki Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e20200'), "name"=>"Kenneth Robel V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e30200'), "name"=>"Evert Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e40200'), "name"=>"Raina Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e50200'), "name"=>"Miss Maximo Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e60200'), "name"=>"Archibald Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e70200'), "name"=>"Bernadette Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e80200'), "name"=>"Joaquin Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447e90200'), "name"=>"Ms. Tiara Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ea0200'), "name"=>"Joshua Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447eb0200'), "name"=>"Halle Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ec0200'), "name"=>"Jolie Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ed0200'), "name"=>"Myrtice Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ee0200'), "name"=>"Pearlie Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ef0200'), "name"=>"Queenie Morissette IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f00200'), "name"=>"Alec Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f10200'), "name"=>"Dr. Freeman Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f20200'), "name"=>"Bradly Hilpert MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f30200'), "name"=>"Jazmyne O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f40200'), "name"=>"Maryse Cremin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f50200'), "name"=>"Dr. Zachary Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f60200'), "name"=>"Lora Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f70200'), "name"=>"Macey Kub MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f80200'), "name"=>"Connie Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447f90200'), "name"=>"Willy Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fa0200'), "name"=>"Van Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fb0200'), "name"=>"Timothy Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fc0200'), "name"=>"Dr. Stephania Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fd0200'), "name"=>"Leonardo Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447fe0200'), "name"=>"Colleen Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447ff0200'), "name"=>"Jaida Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447000300'), "name"=>"Melissa Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447010300'), "name"=>"Laila Cronin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447020300'), "name"=>"Garnet Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447030300'), "name"=>"Gregory Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447040300'), "name"=>"Kristian Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447050300'), "name"=>"Mr. Dejuan Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447060300'), "name"=>"Walton Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447070300'), "name"=>"Letitia Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447080300'), "name"=>"Shanon Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447090300'), "name"=>"Zoe Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470a0300'), "name"=>"Randal Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470b0300'), "name"=>"Anibal Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470c0300'), "name"=>"Everette Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470d0300'), "name"=>"Antwon Murray Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470e0300'), "name"=>"Cristina Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304470f0300'), "name"=>"Donald Gorczany MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304470f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447100300'), "name"=>"Ms. Angelo Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447110300'), "name"=>"Henriette Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447120300'), "name"=>"Consuelo Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447130300'), "name"=>"Dr. Darius Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447140300'), "name"=>"Cristobal Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447150300'), "name"=>"Javonte Balistreri MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447160300'), "name"=>"Ms. Colten Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447170300'), "name"=>"Ms. Joel Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447180300'), "name"=>"Sydnie DuBuque DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1016ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447190300'), "name"=>"Meda Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471a0300'), "name"=>"Donny Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471b0300'), "name"=>"Abdullah Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471c0300'), "name"=>"Mose Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471d0300'), "name"=>"Darius Leffler I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471e0300'), "name"=>"Raina Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304471f0300'), "name"=>"Ramona Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304471f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447200300'), "name"=>"Kristina Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447210300'), "name"=>"Adelia Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447220300'), "name"=>"Mrs. Davion Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447230300'), "name"=>"Felipa Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447240300'), "name"=>"Lula DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447250300'), "name"=>"Clovis Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447260300'), "name"=>"Brando Pacocha MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447270300'), "name"=>"Effie O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447280300'), "name"=>"Mrs. Kailyn Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d7735330447290300'), "name"=>"Kevin Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d7735330447290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472a0300'), "name"=>"Faye Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472b0300'), "name"=>"Clementina Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472c0300'), "name"=>"Daphnee Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472d0300'), "name"=>"Mrs. Esmeralda Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472e0300'), "name"=>"Karen Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df867d77353304472f0300'), "name"=>"Coralie Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df867d77353304472f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447300300'), "name"=>"Maximus Smitham", "reference"=>"Reid Haley II", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447310300'), "author_name"=>"Tania Lind Sr.", "content"=>["Dolore at itaque. Fugiat amet iste tempora at dolores quis. Harum nulla ut repellendus laborum quas. Illum modi dolores est in excepturi. Corporis facilis velit soluta et accusantium consequatur id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df867d7735330447300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447320300'), "name"=>"Mr. Federico Weber", "reference"=>"Elwyn Boyle", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447330300'), "author_name"=>"Elenora Stanton PhD", "content"=>["Eum eos quod. Dolorem ducimus aut velit sed. Sunt ducimus officiis enim. Et excepturi id beatae illum."]}]}] 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('53df867d7735330447320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447340300'), "name"=>"Shawna Murphy Sr.", "reference"=>"Mr. Hilton Jaskolski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447350300'), "author_name"=>"Santos Schroeder", "content"=>["Ratione natus autem et tempora nemo. Fugiat sunt hic quia autem consequatur magnam. Dolor quas mollitia. Velit rem tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447360300'), "name"=>"Weldon Bruen", "reference"=>"Geoffrey Schuster", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447370300'), "author_name"=>"Eda Doyle", "content"=>["Sed voluptatem quis ipsum molestiae fuga. Voluptas qui dicta sint. Fugiat id quaerat pariatur cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447380300'), "name"=>"Westley Kilback", "reference"=>"Ms. Angelita Stanton", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447390300'), "author_name"=>"Asa Weissnat", "content"=>["Quia quisquam accusamus. Soluta ut ducimus necessitatibus quo est amet. Veniam eveniet numquam libero rem aliquid aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d77353304473a0300'), "name"=>"Cameron Harber", "reference"=>"Nola Schuppe", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df867d77353304473b0300'), "author_name"=>"Kylie Mueller", "content"=>["Eligendi quos itaque incidunt. Provident ea ducimus ullam eum. Laborum aspernatur reprehenderit voluptatem. Laudantium id rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d77353304473c0300'), "name"=>"Julianne Little", "reference"=>"Ms. Aliyah Mayer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df867d77353304473d0300'), "author_name"=>"Ms. Lizeth Lakin", "content"=>["Sed maiores unde. Sed inventore nostrum. Libero sint hic non harum deleniti minima dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9534ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d77353304473e0300'), "name"=>"Brandt Gleichner", "reference"=>"Chance Stroman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df867d77353304473f0300'), "author_name"=>"Providenci Reinger", "content"=>["Officiis dolores aut voluptatibus dolores sunt. Sunt voluptatem facilis non ipsum quia id enim. Ratione voluptatem ut voluptates. Reiciendis asperiores dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1372ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867d7735330447400300'), "name"=>"Jeffrey McGlynn", "reference"=>"Katarina Rutherford", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df867d7735330447410300'), "author_name"=>"Bridie Cronin", "content"=>["Nostrum provident animi dolor tempore. Et ut omnis. Repellat incidunt expedita consequatur nostrum atque. Molestiae quia aliquam distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6105ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447420300'), "firstname"=>"Daisha", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2905ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447430300'), "firstname"=>"Claudine", "lastname"=>"Osinski"}] 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=>"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('53df867d7735330447440300'), "firstname"=>"Roderick", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447450300'), "firstname"=>"Darrion", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447460300'), "firstname"=>"Freddie", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447470300'), "firstname"=>"Adrianna", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447480300'), "firstname"=>"Edgardo", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7083ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d7735330447490300'), "firstname"=>"Audrey", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.0371ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3612ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867d77353304474a0300'), "firstname"=>"Torrance", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6025ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3044ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867e77353304474b0300'), "firstname"=>"Trisha", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5697ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867e77353304474c0300'), "firstname"=>"Krista", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867e77353304474d0300'), "firstname"=>"Alford", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867e77353304474e0300'), "firstname"=>"Malcolm", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df867e77353304474f0300'), "firstname"=>"Dusty", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5035ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447500300'), "name"=>"Mrs. Greyson Frami", "reference"=>"Destany Kunde", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df867e7735330447510300'), "firstname"=>"Dana", "lastname"=>"Baumbach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6058ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447520300'), "name"=>"Mallie Dickinson IV", "reference"=>"Sid Cartwright", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df867e7735330447530300'), "firstname"=>"Misael", "lastname"=>"Cassin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447540300'), "name"=>"Malachi Dibbert PhD", "reference"=>"Sim McDermott V", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df867e7735330447550300'), "firstname"=>"Ned", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447560300'), "name"=>"Mr. Vivienne Simonis", "reference"=>"Kraig Huel", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df867e7735330447570300'), "firstname"=>"Cleve", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447580300'), "name"=>"Leo Goyette", "reference"=>"Tanner Mante", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df867e7735330447590300'), "firstname"=>"Maryam", "lastname"=>"Weber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304475a0300'), "name"=>"Mr. Skyla Padberg", "reference"=>"Scot Schmitt", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2281ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304475b0300'), "name"=>"Isabell Keebler", "reference"=>"Miss Chasity Kunze", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms 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('53df867e77353304475c0300'), "name"=>"Vaughn Renner", "reference"=>"Rosalee Okuneva", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5188ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304475d0300'), "name"=>"Mrs. Megane Grant", "reference"=>"Loren Dickens DDS", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5241ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304475e0300'), "name"=>"Jasen Dibbert", "reference"=>"Jarret Kling", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304475f0300'), "name"=>"Bartholome Homenick", "reference"=>"Corine Nienow", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447600300'), "name"=>"Leonie Bins PhD", "reference"=>"Miss Norval Grady", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447610300'), "name"=>"Mr. Blanche Lind", "reference"=>"Rowan Kuhic Sr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447620300'), "name"=>"Lavern Wiza", "reference"=>"Emely Prohaska", "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.1816ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447630300'), "name"=>"Van Beier", "reference"=>"Enrico Kling", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447640300'), "name"=>"Abdul Wisozk", "reference"=>"Dell Dare", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447650300'), "name"=>"Dejah Walsh", "reference"=>"Alexis Kuhlman", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447660300'), "name"=>"Dr. Sanford Pagac", "reference"=>"Charles Raynor DDS", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447690300'), "name"=>"Cielo Gorczany", "reference"=>"Mr. Kendrick Kihn", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447670300'), "author_name"=>"Salma Lang", "content"=>["Pariatur ex quia at enim voluptas. Deleniti dolor illo ut corrupti optio. Impedit a eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447680300'), "author_name"=>"Sharon Bauch", "content"=>["Inventore unde architecto et voluptatum cumque fuga aperiam. Tempora et et velit velit et. Est molestiae quis sed eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df867e7735330447690300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304476c0300'), "name"=>"Rusty Smith", "reference"=>"Dallas White", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304476a0300'), "author_name"=>"Henriette Robel", "content"=>["Temporibus consequatur odio similique. Nostrum omnis aut. Rerum sed eius. Molestiae sequi minus quo. Neque officia ratione iusto quia quo ad in."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304476b0300'), "author_name"=>"Destany Maggio", "content"=>["A maiores perferendis omnis ad dolores animi. Sed beatae est repudiandae nihil aut est minima. Architecto deleniti eaque aliquid. Ea omnis et officia reiciendis ad unde totam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df867e77353304476c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304476f0300'), "name"=>"Javier Moore", "reference"=>"Johnpaul Stoltenberg", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304476d0300'), "author_name"=>"Lyric Franecki", "content"=>["Asperiores ut dolore. Nostrum aliquam odit. Veritatis tempore deserunt ipsam tenetur modi quam ut. Velit dolorum recusandae. Incidunt dolore iusto modi aut fugiat molestias ex."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304476e0300'), "author_name"=>"Jadon Hegmann", "content"=>["Corrupti quia et eos. Quos neque soluta odit ipsum. Totam in fuga neque. Tempore dolores quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2095ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447720300'), "name"=>"Megane Reynolds", "reference"=>"Tad Mann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447700300'), "author_name"=>"Eulalia Auer", "content"=>["Dignissimos odit aperiam est. Eos repudiandae voluptas sunt tempore numquam. Nisi possimus rem reprehenderit perferendis ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447710300'), "author_name"=>"Eloisa Heaney", "content"=>["Commodi ipsa quae consequatur temporibus dignissimos ut. Qui molestias libero. Voluptatem non et ullam sint. Ea neque est ab consequatur eaque. Et nam voluptatem harum beatae in possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447750300'), "name"=>"Keegan Heller MD", "reference"=>"Brooklyn Wolff", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447730300'), "author_name"=>"Micah Sporer", "content"=>["Et non dolorem quia. Fugit eum harum consectetur non. Voluptas occaecati beatae. Autem similique cum inventore nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447740300'), "author_name"=>"Ms. Elvera Maggio", "content"=>["Et iusto incidunt ut explicabo sint repellat. Eum tenetur aut et itaque impedit. Quam possimus nemo rem. Vel nemo ut reprehenderit ipsum incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447780300'), "name"=>"Dortha Kutch V", "reference"=>"Jay Lockman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447760300'), "author_name"=>"Luna Russel", "content"=>["Nulla velit eius est. Magnam maiores autem. Consectetur cumque esse laudantium aut. Exercitationem similique animi."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447770300'), "author_name"=>"Cameron Rohan", "content"=>["Ea error ut qui et suscipit. Repudiandae labore possimus doloribus nihil. Error aut amet sunt modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304477b0300'), "name"=>"Chesley Rolfson Jr.", "reference"=>"Grant Cruickshank Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447790300'), "author_name"=>"Mortimer Mayert", "content"=>["Perferendis dolores rerum officiis consectetur ipsum dicta est. At quia a non aspernatur omnis modi saepe. Dolore est tempore placeat cumque eaque repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304477a0300'), "author_name"=>"Myah Gislason", "content"=>["Vero aut aliquam. In quasi nihil. Dolores ut animi. Qui quia tempore laudantium aut soluta et non. Magni voluptas porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e77353304477e0300'), "name"=>"Dr. Merritt Donnelly", "reference"=>"Mrs. Nyah Kuhn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304477c0300'), "author_name"=>"Chadd Jones", "content"=>["Aliquid nulla corrupti veniam nisi. Sit qui quo. Nihil fugiat debitis suscipit reprehenderit amet harum. Magnam et sunt libero numquam quo temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304477d0300'), "author_name"=>"Brett Kessler", "content"=>["Architecto beatae odit temporibus magni. Assumenda sit consequuntur ipsam beatae voluptas earum ut. Doloremque in odio est voluptas quae eligendi cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df867e7735330447810300'), "name"=>"Zackary Hand DVM", "reference"=>"Corine Mayert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df867e77353304477f0300'), "author_name"=>"Rogelio Runte", "content"=>["Consequuntur velit deleniti est. Sequi dolor qui laudantium distinctio et quo. Enim omnis ut maiores. Porro recusandae voluptas nostrum et minus ab. Illo aliquam exercitationem ea beatae quia aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('53df867e7735330447800300'), "author_name"=>"Joshuah Prosacco", "content"=>["Dolores voluptas quam vitae eum. Facere voluptatem quia. Est expedita cumque sunt error. Sed aut ex qui deserunt. Corrupti quod provident excepturi qui voluptatibus et non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447820300'), "firstname"=>"Kadin", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2175ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447830300'), "firstname"=>"Remington", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms 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('53df867e7735330447840300'), "firstname"=>"Zackary", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447850300'), "firstname"=>"Mollie", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447860300'), "firstname"=>"Otho", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447870300'), "firstname"=>"Josefina", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df867e7735330447880300'), "firstname"=>"Guadalupe", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5153ms 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.4869ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5710ms 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.4144ms 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.4118ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5702ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f000000'), "firstname"=>"Columbus", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1324ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f010000'), "firstname"=>"Dorothea", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f020000'), "firstname"=>"Nelson", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f030000'), "firstname"=>"Casey", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.2031ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f040000'), "firstname"=>"Tiffany", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f050000'), "name"=>"Marta Reinger", "reference"=>"Luciano Dibbert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f060000'), "author_name"=>"Alexandrea Lebsack DDS", "content"=>["Et ipsam deserunt provident tempora. Enim illum nam sint aut ipsam dolores. Qui autem eveniet enim non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86ee773533048f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f070000'), "name"=>"Horacio Miller", "reference"=>"Jennifer Brown", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f080000'), "author_name"=>"Mrs. Riley Hyatt", "content"=>["Autem quo modi. Nostrum tempora consequatur tempore est. Deleniti autem odio harum eveniet repudiandae occaecati quasi. Dolores repellendus dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86ee773533048f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f090000'), "name"=>"Maria Fahey", "reference"=>"Linnie VonRueden", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f0a0000'), "author_name"=>"Mrs. Haley Reinger", "content"=>["Aut est quidem. Quae ut consectetur sit labore rerum dolorum. Incidunt est quia quis asperiores quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0b0000'), "name"=>"Mr. Randi Bartell", "reference"=>"Dora Waelchi", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f0c0000'), "author_name"=>"Ms. Lance Lynch", "content"=>["Laboriosam ut nostrum. Velit saepe quibusdam facilis labore maiores. Beatae incidunt dolor rerum ex voluptatem et vitae. Eos aut et commodi cum minus eum quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5929ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0d0000'), "name"=>"Karson Franecki", "reference"=>"Florencio Brakus", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f0e0000'), "author_name"=>"Mrs. Alison Zulauf", "content"=>["Similique incidunt libero distinctio. Quia qui consequuntur maxime aliquam. Est autem error possimus dolores nisi. Ad laborum soluta repellendus repellat et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5689ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0f0000'), "name"=>"Barbara Langworth III", "reference"=>"Daisy Terry", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f100000'), "author_name"=>"Allen Emmerich PhD", "content"=>["Porro incidunt voluptates ipsam nesciunt quae nemo doloremque. Consequatur quam porro deleniti sunt unde aspernatur. Ratione tempora accusamus nam praesentium eligendi voluptatem magni. Voluptas tempore rerum dolorem commodi veniam eum aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7301ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f110000'), "name"=>"Fletcher White", "reference"=>"Cicero Bergnaum", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df86ee773533048f120000'), "author_name"=>"Kevon Streich", "content"=>["Qui iure enim molestiae. Beatae tempora tenetur consectetur. Qui perferendis quam nostrum. Velit qui sit quas qui. Laboriosam optio ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5627ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f130000'), "name"=>"Alexie Botsford DDS", "reference"=>"Cathy Dibbert", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df86ee773533048f140000'), "firstname"=>"Sydney", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6639ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f150000'), "name"=>"Ladarius Becker", "reference"=>"Scottie Pouros Sr.", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df86ee773533048f160000'), "firstname"=>"Ana", "lastname"=>"Frami"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f170000'), "name"=>"Vincenza Marquardt", "reference"=>"Charlene Connelly", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df86ee773533048f180000'), "firstname"=>"Sabrina", "lastname"=>"Dach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f190000'), "name"=>"Mr. Madyson Harber", "reference"=>"Mrs. Keenan Gusikowski", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df86ee773533048f1a0000'), "firstname"=>"Owen", "lastname"=>"Reinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1b0000'), "name"=>"Roberta Cassin", "reference"=>"Precious Steuber", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df86ee773533048f1c0000'), "firstname"=>"Kieran", "lastname"=>"Hermann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1d0000'), "name"=>"Candida Lowe II", "reference"=>"Roslyn Kovacek MD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2119ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1e0000'), "name"=>"Ms. Orrin Morissette", "reference"=>"Mrs. Brown Pagac", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1521ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1f0000'), "name"=>"Jake Gaylord II", "reference"=>"Curtis Wehner", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f200000'), "name"=>"Albert Schneider", "reference"=>"Federico O'Kon", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f210000'), "name"=>"Loy Rutherford", "reference"=>"Misael Kautzer DDS", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f220000'), "name"=>"Orlando Gleason I", "reference"=>"Edgardo Purdy", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2966ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f230000'), "name"=>"Devonte Gottlieb", "reference"=>"Ms. Kaylie Breitenberg", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f240000'), "firstname"=>"Colten", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1578ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f250000'), "firstname"=>"Jaleel", "lastname"=>"Berge"}] 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=>"admin_users", :query=>{}} runtime: 0.1515ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f260000'), "firstname"=>"Molly", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f270000'), "firstname"=>"Name", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f280000'), "firstname"=>"Trace", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f290000'), "firstname"=>"Delilah", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2a0000'), "firstname"=>"Shanelle", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2b0000'), "firstname"=>"Viva", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1721ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2c0000'), "firstname"=>"Laura", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2d0000'), "firstname"=>"Carmelo", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2e0000'), "firstname"=>"Sabrina", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f2f0000'), "firstname"=>"Kimberly", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f300000'), "name"=>"Freddie Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f310000'), "name"=>"Gudrun Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f320000'), "name"=>"Sim Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f330000'), "name"=>"Litzy Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f340000'), "name"=>"Zachary Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f350000'), "name"=>"Brandi Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f360000'), "name"=>"Armand Gleason DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f370000'), "name"=>"Brock Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f380000'), "name"=>"Trey Dickinson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f390000'), "name"=>"Mrs. Werner Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3a0000'), "name"=>"Asia Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3b0000'), "name"=>"Dr. Noah Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3c0000'), "name"=>"Eino Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3d0000'), "name"=>"Ms. Claire Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3e0000'), "name"=>"Ulices Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f3f0000'), "name"=>"Maye McClure PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f400000'), "name"=>"Izabella Champlin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f410000'), "name"=>"Ludie Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f420000'), "name"=>"Christy Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f430000'), "name"=>"Maymie Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f440000'), "name"=>"Joanny Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f450000'), "name"=>"Dr. Tremayne Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f460000'), "name"=>"Robbie Schneider PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f470000'), "name"=>"Amina McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f480000'), "name"=>"Loma Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f490000'), "name"=>"Santos Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4a0000'), "name"=>"Sigurd Dickinson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4b0000'), "name"=>"Verda Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4c0000'), "name"=>"Miss Lemuel Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4d0000'), "name"=>"Milford Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4e0000'), "name"=>"Cassandre Kerluke DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f4f0000'), "name"=>"Arianna McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f500000'), "name"=>"Howard Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f510000'), "name"=>"Kelley Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f520000'), "name"=>"Berry Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f530000'), "name"=>"Godfrey Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f540000'), "name"=>"Bernard Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f550000'), "name"=>"Zander Treutel DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f560000'), "name"=>"Jarrell Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f570000'), "name"=>"Stephan Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f580000'), "name"=>"Dawson Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f590000'), "name"=>"Ms. Jerome Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5a0000'), "name"=>"Ms. Elsa Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5b0000'), "name"=>"Dr. Isabel Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5c0000'), "name"=>"Santiago Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5d0000'), "name"=>"Sigurd Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5e0000'), "name"=>"Kayley Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f5f0000'), "name"=>"Edgar Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f600000'), "name"=>"Edmund Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f610000'), "name"=>"Mabelle Grimes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f620000'), "name"=>"Alexzander Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f630000'), "name"=>"Guiseppe Sawayn I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f640000'), "name"=>"Constance Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f650000'), "name"=>"Ally Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f660000'), "name"=>"Clinton Vandervort PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f670000'), "name"=>"Jarred Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f680000'), "name"=>"Major Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f690000'), "name"=>"Dallas O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6a0000'), "name"=>"Dianna Koss Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6b0000'), "name"=>"Tyson Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6c0000'), "name"=>"Maximilian Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6d0000'), "name"=>"Aylin Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6e0000'), "name"=>"Ms. Arvid Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f6f0000'), "name"=>"Vince Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f700000'), "name"=>"Annamae Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f710000'), "name"=>"Maximo Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f720000'), "name"=>"Alanis Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f730000'), "name"=>"Theresia Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f740000'), "name"=>"Cordelia Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f750000'), "name"=>"Jarrett Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f760000'), "name"=>"Bruce Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f770000'), "name"=>"Eldred Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f780000'), "name"=>"Mrs. Justice Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f790000'), "name"=>"Loyce Fay V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7a0000'), "name"=>"Dayton Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7b0000'), "name"=>"Onie Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7c0000'), "name"=>"Elsa Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7d0000'), "name"=>"Mrs. Nikko McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7e0000'), "name"=>"Gerson Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f7f0000'), "name"=>"Jackson Grimes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f800000'), "name"=>"Harmony Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f810000'), "name"=>"Karine Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f820000'), "name"=>"Ms. Winifred Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f830000'), "name"=>"Kip Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f840000'), "name"=>"Jarrett Purdy PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f850000'), "name"=>"Mrs. Grant Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f860000'), "name"=>"Mrs. Florine Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f870000'), "name"=>"Jessika Hand MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f880000'), "name"=>"Frederic Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f890000'), "name"=>"Ewald Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8a0000'), "name"=>"Cordelia Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8b0000'), "name"=>"Miss Adah Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8c0000'), "name"=>"Gordon Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8d0000'), "name"=>"Landen Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8e0000'), "name"=>"Edgar Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f8f0000'), "name"=>"Sage Robel DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2282ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f900000'), "name"=>"Ara Mitchell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f910000'), "name"=>"Ms. Karianne O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f920000'), "name"=>"Harmony Collier III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f930000'), "name"=>"Miss Missouri West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f940000'), "name"=>"Mrs. Elmer Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f950000'), "name"=>"Lionel Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f960000'), "name"=>"Danny Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f970000'), "name"=>"Mrs. Pearl Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f980000'), "name"=>"Claud Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f990000'), "name"=>"Nikki Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9a0000'), "name"=>"Beryl Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9b0000'), "name"=>"Percy Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9c0000'), "name"=>"Myrna Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9d0000'), "name"=>"Dr. Monique Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9e0000'), "name"=>"Jane Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f9f0000'), "name"=>"Randi Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa00000'), "name"=>"Loyal Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa10000'), "name"=>"Axel Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa20000'), "name"=>"Lavonne Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa30000'), "name"=>"Elton Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa40000'), "name"=>"Norene Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa50000'), "name"=>"Tomas Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa60000'), "name"=>"Mrs. Alivia Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa70000'), "name"=>"Mr. Araceli Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa80000'), "name"=>"Kacie Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fa90000'), "name"=>"Clovis Schmeler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fa90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048faa0000'), "name"=>"Brandt Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fab0000'), "name"=>"Lavada Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fac0000'), "name"=>"Maud Kozey III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fad0000'), "name"=>"Jana Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fae0000'), "name"=>"Ms. Isai Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048faf0000'), "name"=>"Hollie Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048faf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb00000'), "name"=>"Mr. Genoveva Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb10000'), "name"=>"Ruby Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb20000'), "name"=>"Dr. Jada Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb30000'), "name"=>"Bernardo Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb40000'), "name"=>"Willy Kerluke DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb50000'), "name"=>"Emilie Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb60000'), "name"=>"Angie Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb70000'), "name"=>"Elnora Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb80000'), "name"=>"Kirk Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fb90000'), "name"=>"Kathleen Raynor MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fb90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fba0000'), "name"=>"Mack Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fbb0000'), "name"=>"Dr. Edwina Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fbc0000'), "name"=>"Sabryna Blanda Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fbc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fbd0000'), "name"=>"Dr. Leilani Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fbd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fbe0000'), "name"=>"Gino Volkman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fbf0000'), "name"=>"Vidal Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc00000'), "name"=>"Jared Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc10000'), "name"=>"David Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc20000'), "name"=>"Sadie O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc30000'), "name"=>"Ms. Hazel Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc40000'), "name"=>"Alta McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc50000'), "name"=>"Theresia Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc60000'), "name"=>"Maymie Koelpin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc70000'), "name"=>"Horace Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc80000'), "name"=>"Otha Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fc90000'), "name"=>"Alfonzo Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fca0000'), "name"=>"Asa Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fcb0000'), "name"=>"Sallie Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fcc0000'), "name"=>"Cathryn Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fcc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fcd0000'), "name"=>"Christina Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fce0000'), "name"=>"Ms. Adele Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.8658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fcf0000'), "name"=>"Nadia Swaniawski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fcf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd00000'), "name"=>"Orin Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd10000'), "name"=>"Silas Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd20000'), "name"=>"Fred Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd30000'), "name"=>"Mrs. Dennis Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd40000'), "name"=>"Kayleigh Smitham DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd50000'), "name"=>"Dr. Antonetta Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd60000'), "name"=>"Neil Hansen DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd70000'), "name"=>"Darrin Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd80000'), "name"=>"Joshuah Paucek PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fd90000'), "name"=>"Mallory Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fd90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fda0000'), "name"=>"Mittie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fda0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fdb0000'), "name"=>"Francesco Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fdc0000'), "name"=>"Velda Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fdc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fdd0000'), "name"=>"Arno Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fdd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fde0000'), "name"=>"Cloyd Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fdf0000'), "name"=>"Mellie Spencer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe00000'), "name"=>"Ms. Lorenzo Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe10000'), "name"=>"Kevon Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe20000'), "name"=>"Bernadine Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe30000'), "name"=>"Moises Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe40000'), "name"=>"Sigmund Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe50000'), "name"=>"Jaquelin Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe60000'), "name"=>"Mr. Georgiana Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe70000'), "name"=>"Carmel Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe80000'), "name"=>"Miss Caterina Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fe90000'), "name"=>"Alec MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fe90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fea0000'), "name"=>"Dariana Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048feb0000'), "name"=>"Charlie Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fec0000'), "name"=>"Darby Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fed0000'), "name"=>"Zoila Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fee0000'), "name"=>"Yolanda Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fef0000'), "name"=>"Delia Bayer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1508ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff00000'), "name"=>"Monserrat Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff10000'), "name"=>"Miss Cassandra Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff20000'), "name"=>"Erick Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff30000'), "name"=>"Johann Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff40000'), "name"=>"Christopher Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff50000'), "name"=>"Marcelle Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff60000'), "name"=>"Emile Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff70000'), "name"=>"Cristobal Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff80000'), "name"=>"Timmy Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ff90000'), "name"=>"Louvenia Boyer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ff90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ffa0000'), "name"=>"Mr. Lorna Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ffa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ffb0000'), "name"=>"Ms. Antwan Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ffc0000'), "name"=>"Madilyn Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ffc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ffd0000'), "name"=>"Mrs. Jacky Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ffd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048ffe0000'), "name"=>"Mr. Manley Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048ffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048fff0000'), "name"=>"Kameron Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048fff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f000100'), "name"=>"Miss Rasheed Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f010100'), "name"=>"Tristin Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f020100'), "name"=>"Sydni Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f030100'), "name"=>"Haley Witting Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f040100'), "name"=>"Alyson Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f050100'), "name"=>"Miss Nyah Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f060100'), "name"=>"Lavada Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f070100'), "name"=>"Beau Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f080100'), "name"=>"Delphine Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f090100'), "name"=>"Rickie Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0a0100'), "name"=>"Gisselle Buckridge Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0b0100'), "name"=>"Lelia Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0c0100'), "name"=>"Elnora Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0d0100'), "name"=>"Sophia Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0e0100'), "name"=>"Angela Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f0f0100'), "name"=>"Ms. Hilbert Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f100100'), "name"=>"Cory Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f110100'), "name"=>"Vernon Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f120100'), "name"=>"Maya Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f130100'), "name"=>"Monroe Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f140100'), "name"=>"Ward King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f150100'), "name"=>"Dr. Anita Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f160100'), "name"=>"Jennie Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f170100'), "name"=>"Jaqueline Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f180100'), "name"=>"Claire Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f190100'), "name"=>"Isabel Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1a0100'), "name"=>"Mr. Calista Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1b0100'), "name"=>"Lavon Ferry DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1c0100'), "name"=>"Lillian Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1d0100'), "name"=>"Erick Heathcote Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ee773533048f1e0100'), "name"=>"Dayton Huels Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ee773533048f1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1f0100'), "name"=>"Miss Briana Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f200100'), "name"=>"Gertrude Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f210100'), "name"=>"Reggie Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f220100'), "name"=>"Ms. Theo Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f230100'), "name"=>"Gloria Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f240100'), "name"=>"Sophia Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f250100'), "name"=>"Tracy Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f260100'), "name"=>"Martine Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f270100'), "name"=>"Dixie Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f280100'), "name"=>"Oran McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f290100'), "name"=>"Ciara Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2a0100'), "name"=>"Barney Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2b0100'), "name"=>"Onie Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2c0100'), "name"=>"Destin Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2d0100'), "name"=>"Leon Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2e0100'), "name"=>"Ms. Blake Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2f0100'), "name"=>"Heloise Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f300100'), "name"=>"Kristoffer Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f310100'), "name"=>"Elmore Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f320100'), "name"=>"Telly Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f330100'), "name"=>"Dalton Padberg Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f340100'), "name"=>"Christopher Mosciski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f350100'), "name"=>"Kenyatta Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f360100'), "name"=>"Antone Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f370100'), "name"=>"Retha Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f380100'), "name"=>"Kevon Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f390100'), "name"=>"Addie Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3a0100'), "name"=>"Frida Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3b0100'), "name"=>"Immanuel Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3c0100'), "name"=>"August Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3d0100'), "name"=>"Ray Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3e0100'), "name"=>"Stefan Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3f0100'), "name"=>"Eunice Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f400100'), "name"=>"Ms. Arlene Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f410100'), "name"=>"Karson Erdman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f420100'), "name"=>"Chet Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f430100'), "name"=>"Vance Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f440100'), "name"=>"Dr. Bernardo Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f450100'), "name"=>"Kane Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f460100'), "name"=>"Audra Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f470100'), "name"=>"Jazmyne McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f480100'), "name"=>"Miss Colby Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f490100'), "name"=>"Norris Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4a0100'), "name"=>"Caden Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4b0100'), "name"=>"Rod Douglas PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4c0100'), "name"=>"Renee Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4d0100'), "name"=>"Joany Mante DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4e0100'), "name"=>"Anthony Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4f0100'), "name"=>"Claud Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f500100'), "name"=>"Ebony Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f510100'), "name"=>"Claud Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f520100'), "name"=>"Alanna Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f530100'), "name"=>"Vesta Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f540100'), "name"=>"Mrs. Jaunita Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f550100'), "name"=>"Mertie Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f560100'), "name"=>"Jazmyn Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f570100'), "name"=>"Darrel Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f580100'), "name"=>"Judge Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f590100'), "name"=>"Nyasia Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5a0100'), "name"=>"Jay Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5b0100'), "name"=>"Junius Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5c0100'), "name"=>"Dr. Monique Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5d0100'), "name"=>"Tanner Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5e0100'), "name"=>"Amy Cole V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5f0100'), "name"=>"Kamron Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f600100'), "name"=>"Miss Crystel Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f610100'), "name"=>"Ben Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f620100'), "name"=>"Maurice Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f630100'), "name"=>"Leopoldo Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f640100'), "name"=>"Paula O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f650100'), "name"=>"Jaida Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f660100'), "name"=>"Bradly Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f670100'), "name"=>"Javon Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f680100'), "name"=>"Joanie Mayer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f690100'), "name"=>"Mrs. Oswald Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6a0100'), "name"=>"Luther Jacobs IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6b0100'), "name"=>"Amir Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6c0100'), "name"=>"Gabriella Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6d0100'), "name"=>"Brendon Bruen DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6e0100'), "name"=>"Toy Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6f0100'), "name"=>"Miss Noemi Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f700100'), "name"=>"Daisha Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f710100'), "name"=>"Louie Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f720100'), "name"=>"Dr. Margarett Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f730100'), "name"=>"Eldora Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f740100'), "name"=>"Garrett Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f750100'), "name"=>"Cade Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f760100'), "name"=>"Billie Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f770100'), "name"=>"Ms. Wilhelm Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f780100'), "name"=>"Chet Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f790100'), "name"=>"Marjorie O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7a0100'), "name"=>"Priscilla Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7b0100'), "name"=>"Arlene Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7c0100'), "name"=>"Bernardo Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7d0100'), "name"=>"Harry Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7e0100'), "name"=>"Gennaro Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7f0100'), "name"=>"Guiseppe Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f800100'), "name"=>"Suzanne Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f810100'), "name"=>"Lina Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f820100'), "name"=>"Jordon Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f830100'), "name"=>"Stone Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f840100'), "name"=>"Miss William Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f850100'), "name"=>"Savion Simonis Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f860100'), "name"=>"Therese Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f870100'), "name"=>"Phoebe Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f880100'), "name"=>"Gerda Lebsack I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f890100'), "name"=>"Vanessa Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8a0100'), "name"=>"Mr. Demario Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8b0100'), "name"=>"Geovanny Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8c0100'), "name"=>"Orville Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8d0100'), "name"=>"Dixie Breitenberg IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8e0100'), "name"=>"Keith Veum PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8f0100'), "name"=>"Breanna Stiedemann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f900100'), "name"=>"Mae Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f910100'), "name"=>"Carmela Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f920100'), "name"=>"Carson Ritchie V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f930100'), "name"=>"Kian Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f940100'), "name"=>"Elvera Mayer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f950100'), "name"=>"Dr. Annamae Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f960100'), "name"=>"Birdie Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f970100'), "name"=>"Adella Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f980100'), "name"=>"Dallas Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f990100'), "name"=>"Melisa Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9a0100'), "name"=>"Brigitte Greenholt II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9b0100'), "name"=>"Mr. Myah Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9c0100'), "name"=>"Mariah Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9d0100'), "name"=>"Antwan Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9e0100'), "name"=>"Courtney McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9f0100'), "name"=>"Milan Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa00100'), "name"=>"Nona Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa10100'), "name"=>"Flossie Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa20100'), "name"=>"Antoinette Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa30100'), "name"=>"Dr. Andreanne Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa40100'), "name"=>"Leora Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa50100'), "name"=>"Coty Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa60100'), "name"=>"Scarlett Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa70100'), "name"=>"Keith Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa80100'), "name"=>"Julian Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa90100'), "name"=>"Ms. Dario Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048faa0100'), "name"=>"Allie Kassulke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048faa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fab0100'), "name"=>"Mattie Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fac0100'), "name"=>"Zackary Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fad0100'), "name"=>"Fermin Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fae0100'), "name"=>"Mr. Aurelia DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048faf0100'), "name"=>"Christelle Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048faf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb00100'), "name"=>"Virgil Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb10100'), "name"=>"Dr. Dedric Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb20100'), "name"=>"Dariana Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb30100'), "name"=>"Jaqueline Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb40100'), "name"=>"Miss Alvera Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb50100'), "name"=>"Rodger Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb60100'), "name"=>"Kenton Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb70100'), "name"=>"Hermina Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb80100'), "name"=>"Fredrick McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb90100'), "name"=>"Mortimer Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fba0100'), "name"=>"Evalyn Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbb0100'), "name"=>"Max Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbc0100'), "name"=>"Johathan Rice IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbd0100'), "name"=>"Tressie Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbe0100'), "name"=>"Amaya Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbf0100'), "name"=>"Kyle Murray Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms Could not log "query.moped" event. Interrupt: ["/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/protocol/query.rb:185:in `log_inspect'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/loggable.rb:22:in `log_operations'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/log_subscriber.rb:37:in `debug'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/log_subscriber.rb:16:in `query'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/subscriber.rb:68:in `finish'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/log_subscriber.rb:83:in `finish'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/fanout.rb:96:in `finish'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/fanout.rb:40:in `block in finish'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/fanout.rb:40:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/fanout.rb:40:in `finish'", "/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:36:in `finish'", "/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:25: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/moped-2.0.0.beta6/lib/moped/instrumentable.rb:31:in `instrument'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:616:in `logging'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:587:in `flush'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:391:in `process'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/operation/read.rb:48:in `execute'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:648:in `read'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:411:in `query'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/cursor.rb:137:in `block in load_docs'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/cluster.rb:243:in `block in with_primary'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:204:in `block in ensure_primary'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/executable.rb:25:in `execute'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/node.rb:203:in `ensure_primary'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/cluster.rb:242:in `with_primary'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/read_preference/primary.rb:55:in `block in with_node'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/read_preference/selectable.rb:65:in `call'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/read_preference/selectable.rb:65:in `with_retry'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/read_preference/primary.rb:54:in `with_node'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/cursor.rb:136:in `load_docs'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/query_cache.rb:229:in `block in load_docs'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/query_cache.rb:135:in `with_cache'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/query_cache.rb:229:in `load_docs'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/cursor.rb:27:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/moped-2.0.0.beta6/lib/moped/query.rb:77:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/contextual/mongo.rb:122:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/contextual.rb:20:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/targets/enumerable.rb:181:in `each'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/targets/enumerable.rb:457:in `entries'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/targets/enumerable.rb:457:in `method_missing'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/referenced/many.rb:410:in `method_missing'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/auto_save.rb:72:in `Array'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/auto_save.rb:72:in `block (2 levels) in autosave'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/auto_save.rb:30:in `__autosaving__'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/relations/auto_save.rb:66:in `block in autosave'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:375:in `_run__2641428202189819181__save__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/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/interceptable.rb:138:in `run_callbacks'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/persistable/creatable.rb:115:in `prepare_insert'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/persistable/creatable.rb:23:in `insert'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/persistable/savable.rb:23:in `save'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/mongoid-5b0f031992cb/lib/mongoid/persistable/savable.rb:44:in `save!'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/configuration.rb:14:in `block in initialize'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/evaluation.rb:15:in `[]'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/evaluation.rb:15:in `create'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy/create.rb:12:in `block in result'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy/create.rb:9:in `tap'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy/create.rb:9:in `result'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory.rb:42:in `run'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory_runner.rb:23:in `block in run'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:161:in `instrument'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory_runner.rb:22:in `run'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'", "/home/geoffroy/projects/iord/test/controllers/categories_controller_test.rb:9:in `block (2 levels) in '", "/home/geoffroy/projects/iord/test/controllers/categories_controller_test.rb:8:in `times'", "/home/geoffroy/projects/iord/test/controllers/categories_controller_test.rb:8:in `block in '", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:407:in `_run__1163430627200966318__setup__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/activesupport-4.0.2/lib/active_support/testing/setup_and_teardown.rb:26:in `before_setup'", "/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1255: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'"] MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc00100'), "name"=>"Elijah Mayer"}] 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={"category_id"=>BSON::ObjectId('53df86ef773533048fc00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc10100'), "name"=>"Paris Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc20100'), "name"=>"Ewald Stehr DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc30100'), "name"=>"Heaven Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc40100'), "name"=>"Braden Dooley"}] 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={"category_id"=>BSON::ObjectId('53df86ef773533048fc40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc50100'), "name"=>"Litzy Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc60100'), "name"=>"Keira Howe DVM"}] 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={"category_id"=>BSON::ObjectId('53df86ef773533048fc60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc70100'), "name"=>"Marlin Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc80100'), "name"=>"Evans Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc90100'), "name"=>"Treva Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fca0100'), "name"=>"Stefan Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcb0100'), "name"=>"Rocio Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcc0100'), "name"=>"Granville Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcd0100'), "name"=>"Rupert Labadie DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fce0100'), "name"=>"Madelyn Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcf0100'), "name"=>"Calista Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd00100'), "name"=>"Garland Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd10100'), "name"=>"Beulah Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd20100'), "name"=>"Dr. Vivien Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd30100'), "name"=>"Adrien Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd40100'), "name"=>"Noe Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd50100'), "name"=>"Florencio Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd60100'), "name"=>"Kevon Stoltenberg DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd70100'), "name"=>"Rhett Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd80100'), "name"=>"Orin Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd90100'), "name"=>"Pierce Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fda0100'), "name"=>"Nathanial Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fda0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdb0100'), "name"=>"D'angelo Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdc0100'), "name"=>"Virgie Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdd0100'), "name"=>"Hans McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fde0100'), "name"=>"Mallory Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fde0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdf0100'), "name"=>"Hayden Blanda V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe00100'), "name"=>"Fred Sanford II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe10100'), "name"=>"Jillian Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe20100'), "name"=>"Hudson Murphy DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe30100'), "name"=>"Ms. Rolando Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe40100'), "name"=>"Elva Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe50100'), "name"=>"Celestine Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe60100'), "name"=>"Rose Cronin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe70100'), "name"=>"Annamae Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe80100'), "name"=>"Abner Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe90100'), "name"=>"Johnathan Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fea0100'), "name"=>"Kale Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048feb0100'), "name"=>"Dianna Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048feb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fec0100'), "name"=>"Mauricio Howell Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fed0100'), "name"=>"Jena Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fee0100'), "name"=>"Gideon Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fef0100'), "name"=>"Ivory Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff00100'), "name"=>"Dr. Andres Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff10100'), "name"=>"Mr. Daniella Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff20100'), "name"=>"Candida Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff30100'), "name"=>"Lucy Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff40100'), "name"=>"Alford Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff50100'), "name"=>"Parker Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff60100'), "name"=>"Joy Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff70100'), "name"=>"Adam Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff80100'), "name"=>"Osborne Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff90100'), "name"=>"Bernadette Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffa0100'), "name"=>"Sedrick Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffb0100'), "name"=>"Mylene Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffc0100'), "name"=>"Jayden Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffd0100'), "name"=>"Kristian Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffe0100'), "name"=>"Vladimir Dare I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fff0100'), "name"=>"Stephania Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f000200'), "name"=>"Josefa McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f010200'), "name"=>"Dr. Augustine Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f020200'), "name"=>"Maximilian Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f030200'), "name"=>"Walter Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f040200'), "name"=>"Dr. Brandon Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f050200'), "name"=>"Gertrude Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f060200'), "name"=>"Kaylin Rowe DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f070200'), "name"=>"Savanah Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f080200'), "name"=>"Penelope Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f090200'), "name"=>"Lexus Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0a0200'), "name"=>"Devonte Koelpin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0b0200'), "name"=>"Jonathan Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0c0200'), "name"=>"Mr. Ola Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0d0200'), "name"=>"Vladimir Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0e0200'), "name"=>"Helga Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0f0200'), "name"=>"Ms. Omer Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f100200'), "name"=>"Lenna Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f110200'), "name"=>"Marcelina Ernser MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f120200'), "name"=>"Mr. Fabiola Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f130200'), "name"=>"Alanna Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f140200'), "name"=>"Erika Larson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f150200'), "name"=>"Marisol Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f160200'), "name"=>"Hardy Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f170200'), "name"=>"Bernhard Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f180200'), "name"=>"Maggie Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f190200'), "name"=>"Dana Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1a0200'), "name"=>"Dr. Blanca Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1b0200'), "name"=>"Keshawn Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1c0200'), "name"=>"Nyah Willms DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1d0200'), "name"=>"Lester Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1e0200'), "name"=>"Bridget Brakus I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1f0200'), "name"=>"Stephen Moen MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f200200'), "name"=>"Theodore Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f210200'), "name"=>"Mrs. Sofia Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f220200'), "name"=>"Cathryn Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f230200'), "name"=>"Oswald Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f240200'), "name"=>"Wiley Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f250200'), "name"=>"Keira Franecki Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f260200'), "name"=>"Hadley Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f270200'), "name"=>"Carlos Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f280200'), "name"=>"Amari Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f290200'), "name"=>"Cody Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2a0200'), "name"=>"Cleta Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2b0200'), "name"=>"Norbert Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2c0200'), "name"=>"Ashtyn Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2d0200'), "name"=>"Zachery Dach V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2e0200'), "name"=>"Ervin McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2f0200'), "name"=>"Morton Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f300200'), "name"=>"Ottis O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f310200'), "name"=>"Miss Burley Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f320200'), "name"=>"Opal Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f330200'), "name"=>"Lenny Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f340200'), "name"=>"Nathen Bernhard DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f350200'), "name"=>"Mrs. Norma Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f360200'), "name"=>"Yazmin Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f370200'), "name"=>"Cory Graham I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f380200'), "name"=>"Lessie Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f390200'), "name"=>"Aubree McClure MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3a0200'), "name"=>"Mr. Susana Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3b0200'), "name"=>"Jo Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3c0200'), "name"=>"Kailyn Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3d0200'), "name"=>"Laisha Mitchell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3e0200'), "name"=>"Eldora Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3f0200'), "name"=>"Greta Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f400200'), "name"=>"Walker Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f410200'), "name"=>"Eldora Stiedemann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f420200'), "name"=>"Kaya O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f430200'), "name"=>"Mattie Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f440200'), "name"=>"Lilla Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f450200'), "name"=>"Bella Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f460200'), "name"=>"Dr. Trinity Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f470200'), "name"=>"Wilmer Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f480200'), "name"=>"Vernie Huels Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f490200'), "name"=>"Jayme Konopelski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4a0200'), "name"=>"Ms. Urban Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4b0200'), "name"=>"Crystel Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4c0200'), "name"=>"Mrs. Elbert Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4d0200'), "name"=>"Rosalyn Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4e0200'), "name"=>"Shanel Rolfson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f4f0200'), "name"=>"Astrid Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f500200'), "name"=>"Lilla Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f510200'), "name"=>"Isai Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f520200'), "name"=>"Alden Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f530200'), "name"=>"Bernadette Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f540200'), "name"=>"Remington Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f550200'), "name"=>"Lorena Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f560200'), "name"=>"Ms. Brock Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f570200'), "name"=>"Juston Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f580200'), "name"=>"Oran Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f590200'), "name"=>"Lea Lindgren Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5a0200'), "name"=>"Dovie Gerlach V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5b0200'), "name"=>"Ebony McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5c0200'), "name"=>"Telly Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5d0200'), "name"=>"Edd Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5e0200'), "name"=>"Andreane Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f5f0200'), "name"=>"Ms. Megane Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f600200'), "name"=>"Lauriane Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f610200'), "name"=>"Ms. Alexandrea Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f620200'), "name"=>"Lupe Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f630200'), "name"=>"Jonatan Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f640200'), "name"=>"Cordelia Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f650200'), "name"=>"Kiley Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f660200'), "name"=>"Mrs. Carleton Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f670200'), "name"=>"Brycen Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f680200'), "name"=>"Frankie Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f690200'), "name"=>"Maynard Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6a0200'), "name"=>"Jody Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6b0200'), "name"=>"Oswald O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6c0200'), "name"=>"Mr. Audie Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6d0200'), "name"=>"Stuart Wolf I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6e0200'), "name"=>"Jaron Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f6f0200'), "name"=>"Anjali Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f700200'), "name"=>"Ms. Chaya Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f710200'), "name"=>"Kitty Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f720200'), "name"=>"Westley Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f730200'), "name"=>"Erika Ruecker DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f740200'), "name"=>"Ms. Patience Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f750200'), "name"=>"Shea Breitenberg V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f760200'), "name"=>"Darlene Reichel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f770200'), "name"=>"Bernadine Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f780200'), "name"=>"Laisha Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f790200'), "name"=>"Oma Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7a0200'), "name"=>"Kassandra Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7b0200'), "name"=>"Jettie Williamson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7c0200'), "name"=>"Julianne Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7d0200'), "name"=>"Krystel Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7e0200'), "name"=>"Jamie Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f7f0200'), "name"=>"Deonte Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f800200'), "name"=>"Mr. Stella Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f810200'), "name"=>"Chad Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f820200'), "name"=>"Miss Carmella Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f830200'), "name"=>"Cecile Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f840200'), "name"=>"Ezekiel Graham I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f850200'), "name"=>"Aurelia Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f860200'), "name"=>"Dallin Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f870200'), "name"=>"Keely Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f880200'), "name"=>"Flavio Rau III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f890200'), "name"=>"Dr. Winfield Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8a0200'), "name"=>"Miss Kathlyn Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8b0200'), "name"=>"Pearlie Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8c0200'), "name"=>"Miss Junior Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8d0200'), "name"=>"Ms. Lorna Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8e0200'), "name"=>"Chase Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f8f0200'), "name"=>"Zander Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f900200'), "name"=>"Oda Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f910200'), "name"=>"Priscilla Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f920200'), "name"=>"Tessie Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f930200'), "name"=>"Porter Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f940200'), "name"=>"Amani Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f950200'), "name"=>"Raphaelle Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f960200'), "name"=>"Merritt Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f970200'), "name"=>"Fletcher Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f980200'), "name"=>"Schuyler Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f990200'), "name"=>"Paula Nikolaus Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9a0200'), "name"=>"Violet Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9b0200'), "name"=>"Marcos Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9c0200'), "name"=>"Frankie Ernser I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9d0200'), "name"=>"Ms. Geovany Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9e0200'), "name"=>"Nyasia Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f9f0200'), "name"=>"Aglae Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa00200'), "name"=>"Granville Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa10200'), "name"=>"America Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa20200'), "name"=>"Ned Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa30200'), "name"=>"Derick Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa40200'), "name"=>"Dr. Patricia Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa50200'), "name"=>"Dr. Meghan Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa60200'), "name"=>"Brandi Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa70200'), "name"=>"Jess Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa80200'), "name"=>"Adrien Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fa90200'), "name"=>"Jasper Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fa90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048faa0200'), "name"=>"Shaina Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048faa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fab0200'), "name"=>"Oswald Schulist IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fac0200'), "name"=>"Zelma Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fad0200'), "name"=>"Colton McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fae0200'), "name"=>"Kristoffer Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048faf0200'), "name"=>"Wilfred Heaney II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048faf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb00200'), "name"=>"Lucious Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb10200'), "name"=>"Otis Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb20200'), "name"=>"Ryan Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb30200'), "name"=>"Jaunita O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb40200'), "name"=>"Hermina Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb50200'), "name"=>"Coy Huels V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb60200'), "name"=>"Yolanda Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb70200'), "name"=>"Jodie Brekke PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb80200'), "name"=>"Cary Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fb90200'), "name"=>"Reba Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fb90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fba0200'), "name"=>"Polly Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbb0200'), "name"=>"Brad Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbc0200'), "name"=>"Maegan Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbd0200'), "name"=>"Martin Vandervort I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbe0200'), "name"=>"Abigayle Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fbf0200'), "name"=>"Meghan Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fbf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc00200'), "name"=>"Alessandra O'Conner I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc10200'), "name"=>"Harmony Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc20200'), "name"=>"Jerad Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc30200'), "name"=>"Miss Kathryn Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc40200'), "name"=>"Carter Bins DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc50200'), "name"=>"Deonte Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc60200'), "name"=>"Trace Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc70200'), "name"=>"Jerrold Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc80200'), "name"=>"Joelle Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fc90200'), "name"=>"Ms. Georgette Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fc90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fca0200'), "name"=>"Hassie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcb0200'), "name"=>"Demetris Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcc0200'), "name"=>"Deanna Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcd0200'), "name"=>"Arnulfo Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fce0200'), "name"=>"Dr. Newton Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fcf0200'), "name"=>"Jaquan Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fcf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1960ms -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd00200'), "name"=>"Dr. Deon Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd10200'), "name"=>"Leif Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd20200'), "name"=>"Gonzalo Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd30200'), "name"=>"Kaelyn Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd40200'), "name"=>"Mr. Sienna Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd50200'), "name"=>"Jakayla Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd60200'), "name"=>"Garth Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd70200'), "name"=>"Margarita Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd80200'), "name"=>"Jerrod Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fd90200'), "name"=>"Genevieve Leannon II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fd90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fda0200'), "name"=>"Augustus Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdb0200'), "name"=>"Taylor Krajcik I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdc0200'), "name"=>"Maia Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdd0200'), "name"=>"Michel Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fde0200'), "name"=>"Nasir Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fde0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fdf0200'), "name"=>"Jerrod Paucek MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fdf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe00200'), "name"=>"Avis Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe10200'), "name"=>"Johnathan Halvorson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe20200'), "name"=>"Cristal Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe30200'), "name"=>"Lulu Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe40200'), "name"=>"Dr. Jerrell Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe50200'), "name"=>"Miss Beverly Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe60200'), "name"=>"Lonie Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe70200'), "name"=>"Marquise Bayer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe80200'), "name"=>"Justina Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fe90200'), "name"=>"Miss Chris Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fe90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fea0200'), "name"=>"Golda Heaney DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048feb0200'), "name"=>"Ms. Scottie Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048feb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fec0200'), "name"=>"General Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fed0200'), "name"=>"Maiya Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fee0200'), "name"=>"Deontae Friesen Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fef0200'), "name"=>"Trudie Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff00200'), "name"=>"Rosalinda Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff10200'), "name"=>"Yasmine Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff20200'), "name"=>"Trent Weber DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff30200'), "name"=>"Reva Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff40200'), "name"=>"Fae Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff50200'), "name"=>"Melvin Von V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff60200'), "name"=>"Cameron Mills IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff70200'), "name"=>"Mr. Arnulfo Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff80200'), "name"=>"Alessandro Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ff90200'), "name"=>"Kelvin Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ff90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffa0200'), "name"=>"Adam Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffb0200'), "name"=>"Selena Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffc0200'), "name"=>"Dr. Art Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffd0200'), "name"=>"Alberta Kunze IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048ffe0200'), "name"=>"Dalton Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048ffe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048fff0200'), "name"=>"Colten Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048fff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1037ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f000300'), "name"=>"Gwendolyn Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1051ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f010300'), "name"=>"Ramiro Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1034ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f020300'), "name"=>"Sigrid Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f030300'), "name"=>"Brock Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f040300'), "name"=>"Ms. Jerel Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f050300'), "name"=>"Mr. Abbey Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f060300'), "name"=>"Cara Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f070300'), "name"=>"Marjolaine Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f080300'), "name"=>"Cary Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1016ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f090300'), "name"=>"Audie Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0a0300'), "name"=>"Vincenza Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0b0300'), "name"=>"Adell Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0c0300'), "name"=>"Roxanne Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0d0300'), "name"=>"Eulah Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0e0300'), "name"=>"Ms. Tyreek O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f0f0300'), "name"=>"Dr. Lemuel Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1016ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f100300'), "name"=>"Graham Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f110300'), "name"=>"Otha Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f120300'), "name"=>"Preston Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f130300'), "name"=>"Carson Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f140300'), "name"=>"Rex Adams II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f150300'), "name"=>"Randall Smith Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f160300'), "name"=>"Jamie Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f170300'), "name"=>"Mrs. Mose Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f180300'), "name"=>"Jayson Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f190300'), "name"=>"Gisselle Harvey Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1a0300'), "name"=>"Aron Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1b0300'), "name"=>"Keaton Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1c0300'), "name"=>"Glen Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1d0300'), "name"=>"Aida Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1e0300'), "name"=>"Kevin Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f1f0300'), "name"=>"Archibald Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f1f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f200300'), "name"=>"Trycia Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f210300'), "name"=>"Ken Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f220300'), "name"=>"Taurean Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f230300'), "name"=>"Miss Jazmyn Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f240300'), "name"=>"Rosina Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f250300'), "name"=>"Isidro Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f260300'), "name"=>"Dr. Alejandrin Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f270300'), "name"=>"Emmanuelle Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f280300'), "name"=>"Marquis Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f290300'), "name"=>"Lolita Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2a0300'), "name"=>"Darion Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2b0300'), "name"=>"Mr. Axel Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2c0300'), "name"=>"Chaim Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2d0300'), "name"=>"Charlene Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2e0300'), "name"=>"Mabel Gulgowski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f2f0300'), "name"=>"Mrs. Berneice McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df86ef773533048f2f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f300300'), "name"=>"Sandrine Swift", "reference"=>"Krystel Okuneva", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f310300'), "author_name"=>"Ephraim Davis", "content"=>["Suscipit corporis nemo enim aut commodi et. Qui praesentium cum blanditiis dolorem velit. Officiis iusto suscipit laudantium omnis ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86ef773533048f300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f320300'), "name"=>"Ms. Autumn Wunsch", "reference"=>"Roma Reilly", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f330300'), "author_name"=>"Helga West", "content"=>["Quia tempore architecto vel et. Soluta nihil rerum nobis dolore. Doloribus eius ratione fuga quos corporis est. Incidunt rerum dolorem doloribus repudiandae. Fuga sint molestiae odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86ef773533048f320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f340300'), "name"=>"Mya Harris", "reference"=>"Jada Stokes", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f350300'), "author_name"=>"Johan Dietrich", "content"=>["Aut voluptatem saepe. Nesciunt ex modi qui dignissimos provident qui assumenda. Ut consequatur aspernatur iure non sed sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5901ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f360300'), "name"=>"Reyna Tillman", "reference"=>"Constantin Osinski", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f370300'), "author_name"=>"Rhoda Ledner IV", "content"=>["Voluptatibus aut magni non commodi. Saepe ut aut. Consequatur quos numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5708ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f380300'), "name"=>"Roma Schmidt", "reference"=>"Raymond Fadel I", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f390300'), "author_name"=>"Ms. Stephania Greenfelder", "content"=>["Ea a praesentium libero. Sit sunt eligendi. Odio magnam harum cumque cupiditate enim cum neque. Quod similique quam voluptas sit voluptatum mollitia non. Consequuntur dicta tempore repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86ef773533048f3a0300'), "name"=>"Joy Mohr", "reference"=>"Octavia Heathcote", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df86ef773533048f3b0300'), "author_name"=>"Dangelo Yundt MD", "content"=>["Et ad delectus illo nihil et omnis. Rem consequatur reprehenderit dolores consequatur libero odio. Quisquam repellat facilis. Rerum molestiae consequuntur soluta vel quia provident optio. Nesciunt modi quia cum ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f3c0300'), "name"=>"Juvenal Swift", "reference"=>"Mrs. Chase Sipes", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f3d0300'), "author_name"=>"Collin Hickle MD", "content"=>["Placeat amet voluptas tempore aut cupiditate ipsam. Vel est nisi a nihil. Eos tenetur reprehenderit debitis est qui voluptates mollitia. Nostrum non voluptas dolore eum. Et animi nesciunt quos exercitationem enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6227ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f3e0300'), "name"=>"Santiago Lakin", "reference"=>"Estrella Rippin III", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f3f0300'), "author_name"=>"Deven White", "content"=>["Expedita facere laboriosam temporibus qui et ipsum. Quibusdam voluptas explicabo doloribus ex quisquam rerum. Aperiam voluptate deserunt saepe quisquam nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1937ms ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f400300'), "name"=>"Mollie Hansen", "reference"=>"Zola Muller Jr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f410300'), "author_name"=>"Theodora Emmerich", "content"=>["Quaerat aut pariatur nulla. Saepe quia illo sed. Dicta et et laudantium quia blanditiis. Ipsa eos accusamus quis vel ut vel itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f420300'), "firstname"=>"Simeon", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5937ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2471ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f430300'), "firstname"=>"Hiram", "lastname"=>"Cartwright"}] 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=>"clients", :query=>{}} runtime: 0.2074ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f440300'), "firstname"=>"Carole", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f450300'), "firstname"=>"Norbert", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f460300'), "firstname"=>"Antonetta", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f470300'), "firstname"=>"Lora", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f480300'), "firstname"=>"Lavonne", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f490300'), "firstname"=>"Doug", "lastname"=>"Price"}] 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=>"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('53df86f0773533048f4a0300'), "firstname"=>"Madalyn", "lastname"=>"Lockman"}] 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.1925ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f4b0300'), "firstname"=>"Camila", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f4c0300'), "firstname"=>"Freddy", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f4d0300'), "firstname"=>"Francesco", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f4e0300'), "firstname"=>"Jenifer", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f4f0300'), "firstname"=>"Christa", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f500300'), "name"=>"Kacie Lowe", "reference"=>"Christiana Casper Jr.", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df86f0773533048f510300'), "firstname"=>"Hermann", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f520300'), "name"=>"Oceane Williamson", "reference"=>"Aurelia Lynch", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df86f0773533048f530300'), "firstname"=>"Lois", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f540300'), "name"=>"Carley Barrows", "reference"=>"Dawn Conn", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df86f0773533048f550300'), "firstname"=>"Dillon", "lastname"=>"Friesen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f560300'), "name"=>"Miss Scot Auer", "reference"=>"Jamison Keebler", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df86f0773533048f570300'), "firstname"=>"Alfonso", "lastname"=>"Frami"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f580300'), "name"=>"Judah Ledner", "reference"=>"Sadye Bauch", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df86f0773533048f590300'), "firstname"=>"Josiah", "lastname"=>"Hills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5a0300'), "name"=>"Adalberto Stark", "reference"=>"Horacio Mayert", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7526ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5b0300'), "name"=>"Zoe Murazik", "reference"=>"Lauren Gusikowski", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.1525ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5c0300'), "name"=>"Odessa Corwin", "reference"=>"Marcia Kautzer Sr.", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5d0300'), "name"=>"Nadia Braun", "reference"=>"Devonte Wisozk", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5e0300'), "name"=>"Piper Grimes", "reference"=>"Kenna Barton", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f5f0300'), "name"=>"Hattie Nicolas", "reference"=>"Josephine Raynor", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f600300'), "name"=>"Tiffany McCullough", "reference"=>"Barton Willms", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f610300'), "name"=>"Paris Kub", "reference"=>"Esperanza Nader MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f620300'), "name"=>"Jovany Lesch", "reference"=>"Lessie Donnelly", "quantity"=>"3"}] 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.1878ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f630300'), "name"=>"Ashlee Dietrich I", "reference"=>"Dr. Candice Crist", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f640300'), "name"=>"Elda Bahringer", "reference"=>"Beulah Pouros", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f650300'), "name"=>"Cecil Morar", "reference"=>"Geraldine Reinger", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f660300'), "name"=>"Dwight Corkery", "reference"=>"Lora Cremin", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f690300'), "name"=>"Peggie Schultz", "reference"=>"Caroline Ziemann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f670300'), "author_name"=>"Dr. Darrick Wunsch", "content"=>["Non fugiat veritatis neque aut eligendi impedit commodi. Tenetur consequatur nisi qui. Sit consequatur vel non. Mollitia dolores et dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f680300'), "author_name"=>"Linwood Dibbert", "content"=>["Delectus in aliquid aut rerum voluptas nobis. Atque pariatur occaecati autem. Quo ut est eum. Ut earum fugiat dolorem enim tenetur qui. In ipsa molestiae quasi ea eius ipsum ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86f0773533048f690300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1978ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f6c0300'), "name"=>"Jillian Ritchie", "reference"=>"Bud Greenfelder", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f6a0300'), "author_name"=>"Antwon Reilly DVM", "content"=>["Saepe facilis sint asperiores aut quasi rem. Harum dolores consequatur sint. Aut quas expedita pariatur molestiae sed. Aspernatur occaecati consectetur dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f6b0300'), "author_name"=>"Earline Schinner", "content"=>["Sint ut quia incidunt. Laborum accusamus vel reprehenderit qui recusandae fugiat id. Sequi laudantium quis itaque harum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df86f0773533048f6c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f6f0300'), "name"=>"Mariela Wisozk V", "reference"=>"Ruthie Renner", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f6d0300'), "author_name"=>"Brendon Okuneva", "content"=>["Maiores voluptatum et vitae earum. Quam dicta debitis similique ipsum sunt. Incidunt nulla illum qui iusto expedita. Distinctio laudantium exercitationem ut quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f6e0300'), "author_name"=>"Ethelyn Runte", "content"=>["Natus rem excepturi laborum temporibus ab distinctio reiciendis. Id reiciendis atque consequatur. Et accusantium excepturi. Accusamus dignissimos rerum. Consequatur dolorem reprehenderit aliquam explicabo quis sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0784ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f720300'), "name"=>"Cleta Anderson", "reference"=>"Savanah McDermott", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f700300'), "author_name"=>"Edyth Koelpin I", "content"=>["Iste laboriosam aliquid. Similique consequatur non laborum maiores voluptate. At enim explicabo dolores aut rerum quisquam. Reprehenderit harum sint rerum tempore."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f710300'), "author_name"=>"Gisselle Hand DDS", "content"=>["Perferendis quo ut. Nobis sint distinctio iste magnam. Est sint aut aut eum. Architecto quo a et. Earum omnis provident enim rerum asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f750300'), "name"=>"David Jast", "reference"=>"Miss Chasity Bogan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f730300'), "author_name"=>"Stefanie Ritchie", "content"=>["Fugiat molestiae inventore fuga. Quia occaecati adipisci accusantium ratione in. Similique modi omnis nostrum quia nobis et. Perspiciatis ut in repellendus velit aut quas."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f740300'), "author_name"=>"Lacy Schaefer", "content"=>["Quia ab eum. Non dolores et tenetur aut error excepturi quae. Nostrum iure ab est. Quia odit quia. Accusamus minus inventore repellat explicabo sint quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f780300'), "name"=>"Geovanny Legros", "reference"=>"Stefanie Ullrich", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f760300'), "author_name"=>"Kendrick Feeney", "content"=>["Dignissimos rerum adipisci repellendus. Voluptatem quia provident aperiam maiores. Est quia consectetur. Ut cupiditate ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f770300'), "author_name"=>"Ardella Haag III", "content"=>["Quasi et enim veniam nobis. Qui et dicta expedita officiis ea id aut. Vitae est ut quo cum officia iusto tenetur. Rem vel explicabo quia nisi et rerum libero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f7b0300'), "name"=>"Ben Rice", "reference"=>"Ricky Hilll", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f790300'), "author_name"=>"Colton Klocko DVM", "content"=>["Et sit voluptatem. Repellendus atque natus blanditiis magni. Fugiat omnis excepturi id. Officiis totam ea quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f7a0300'), "author_name"=>"Reina Pouros", "content"=>["Amet libero necessitatibus laboriosam. Officiis aspernatur quos adipisci. At odit error est. Nemo nostrum sit. Deleniti non et quo voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f7e0300'), "name"=>"Mrs. Mable Muller", "reference"=>"Kale Casper", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f7c0300'), "author_name"=>"Mrs. Tyrel Fadel", "content"=>["Quis dolore et sed assumenda ratione. Sequi dolor repellat inventore. Voluptatem esse officiis magnam illum cum odio id. Veritatis consequatur quis hic dolorem ullam delectus incidunt. Nam et ipsam et tempora tempore ut fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f7d0300'), "author_name"=>"Lionel Lebsack", "content"=>["Eos sequi voluptatem hic magni. Error sapiente commodi rerum dolor voluptas at. Laboriosam natus iure magnam est debitis. Et consequuntur nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f810300'), "name"=>"Justine Ruecker II", "reference"=>"Clementina Marquardt", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f7f0300'), "author_name"=>"Brandy Hermann", "content"=>["Ea nemo in rem autem officiis mollitia. Quidem nihil et temporibus sed. Praesentium ut qui repudiandae eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df86f0773533048f800300'), "author_name"=>"Sabryna Mills", "content"=>["Occaecati animi repellendus delectus temporibus placeat cupiditate. Natus omnis dignissimos doloribus cumque debitis et sapiente. Nisi rerum eos eaque vero. Et eos recusandae qui alias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f820300'), "firstname"=>"Javier", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2728ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f830300'), "firstname"=>"Bill", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2626ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f840300'), "firstname"=>"Merle", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f850300'), "firstname"=>"Johann", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f860300'), "firstname"=>"Jayson", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f870300'), "firstname"=>"Chadrick", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df86f0773533048f880300'), "firstname"=>"Stewart", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil 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.2415ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms 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.2009ms 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.1952ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4120ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871177353304bc000000'), "firstname"=>"Reece", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1871ms 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('53df871177353304bc010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms 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.2004ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871177353304bc020000'), "firstname"=>"Jacey", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.9144ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df871177353304bc020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871177353304bc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.5ms) Completed 200 OK in 143ms (Views: 142.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc030000'), "firstname"=>"Lonie", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.8516ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (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('53df871277353304bc040000'), "firstname"=>"Griffin", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6164ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df871277353304bc040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871277353304bc040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4267ms Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc050000'), "firstname"=>"Margarett", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5687ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df871277353304bc050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871277353304bc050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms 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('53df871277353304bc060000'), "name"=>"Amelie Grant", "reference"=>"Michael Heaney", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc070000'), "author_name"=>"Rebecca Gorczany", "content"=>["Voluptatem voluptas qui eaque velit quisquam minus aut. Illum explicabo velit esse minus sequi. Numquam natus repellendus et aut quidem assumenda quaerat. Deleniti voluptas placeat iusto ea cum. Et non autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4631ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df871277353304bc060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df871277353304bc080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8718ms Redirected to http://test.host/admin/products/53df871277353304bc060000/comments/53df871277353304bc080000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc090000'), "name"=>"Davion Dietrich", "reference"=>"Richard Corwin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc0a0000'), "author_name"=>"Lavina Collins", "content"=>["Nobis tempora et ea omnis rerum nesciunt. Unde repudiandae consequuntur quod. Voluptatem natus molestiae ut. Earum est consequatur fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df871277353304bc090000", "id"=>"53df871277353304bc0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc090000')} 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('53df871277353304bc090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df871277353304bc0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms Redirected to http://test.host/admin/products/53df871277353304bc090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0b0000'), "name"=>"Talia Hessel", "reference"=>"Elfrieda Wiegand IV", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc0c0000'), "author_name"=>"Raphael Pagac", "content"=>["Autem dolor eveniet reprehenderit rerum accusamus. Facere dolores est nulla quas doloremque tempore quia. Beatae autem sint eos eos sit et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df871277353304bc0b0000", "id"=>"53df871277353304bc0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0d0000'), "name"=>"Dorris Murazik", "reference"=>"Alba Mertz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc0e0000'), "author_name"=>"Jalyn Walsh", "content"=>["Praesentium pariatur deleniti vero error veritatis at iure. Vero asperiores sint. Veniam quae ipsam laudantium quo. Dignissimos excepturi molestiae minus quia molestiae quaerat autem. Molestias voluptas ad eligendi sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df871277353304bc0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0f0000'), "name"=>"Lulu Bogisich", "reference"=>"Maurice Durgan I", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc100000'), "author_name"=>"Jeremy Sauer", "content"=>["Aut quibusdam omnis sit est. Recusandae placeat consequatur fugit sequi. Similique molestiae sint velit dolor delectus alias quidem. Vitae esse explicabo quis qui. Quas magni et suscipit accusamus sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5896ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df871277353304bc0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc110000'), "name"=>"Luis Pacocha", "reference"=>"Samir Bashirian", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc120000'), "author_name"=>"Danielle Stiedemann DVM", "content"=>["Non corporis qui placeat et voluptas. Cum quo totam est consequatur. Autem dolore itaque. Tempora eius vitae aut qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df871277353304bc110000", "id"=>"53df871277353304bc120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc130000'), "name"=>"Cora Walker", "reference"=>"Violette Schoen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df871277353304bc140000'), "author_name"=>"John Spencer", "content"=>["Labore optio debitis voluptas rem non libero. Quo rem sed ipsum amet quaerat rerum qui. Quaerat quisquam sed ut asperiores veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df871277353304bc140000", "product_id"=>"53df871277353304bc130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc130000'), "comments._id"=>BSON::ObjectId('53df871277353304bc140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Redirected to http://test.host/admin/products/53df871277353304bc130000/comments/53df871277353304bc140000 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('53df871277353304bc150000'), "name"=>"Bethany Bosco", "reference"=>"Otilia Bode V", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc160000'), "firstname"=>"Susana", "lastname"=>"Hayes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df871277353304bc150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms Redirected to http://test.host/admin/products/53df871277353304bc150000/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('53df871277353304bc180000'), "name"=>"Mylene Moen", "reference"=>"Desmond Schmeler IV", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc190000'), "firstname"=>"London", "lastname"=>"Hayes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df871277353304bc190000", "product_id"=>"53df871277353304bc180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc1a0000'), "name"=>"Kurt Tremblay", "reference"=>"Vidal Ernser", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc1b0000'), "firstname"=>"Ora", "lastname"=>"Ullrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2954ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df871277353304bc1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc1c0000'), "name"=>"Miss Ora Prohaska", "reference"=>"Adelbert Veum Sr.", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc1d0000'), "firstname"=>"Zella", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df871277353304bc1d0000", "product_id"=>"53df871277353304bc1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc1e0000'), "name"=>"Montana Weimann DDS", "reference"=>"Gabriel Carroll I", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df871277353304bc1f0000'), "firstname"=>"Margot", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df871277353304bc1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df871277353304bc1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df871277353304bc1e0000/manager 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('53df871277353304bc200000'), "name"=>"Princess Casper", "reference"=>"Zoe Corwin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4978ms 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('53df871277353304bc210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Redirected to http://test.host/admin/products/53df871277353304bc210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc220000'), "name"=>"Lempi Pagac", "reference"=>"Ms. Aurelio Mitchell", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2144ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df871277353304bc220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms 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.2987ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc230000'), "name"=>"Hoyt Moen", "reference"=>"Dylan Marvin", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df871277353304bc230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc230000')} 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.2ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc240000'), "name"=>"Breanne Kreiger", "reference"=>"Dexter Bartell", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms 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.5114ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.4ms) Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc250000'), "name"=>"Mrs. Danielle Frami", "reference"=>"Adah Christiansen Jr.", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871277353304bc280000'), "name"=>"Kaci Hansen", "reference"=>"Justine Bartell", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df871277353304bc280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms 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('53df871277353304bc290000'), "name"=>"Kieran Ortiz", "reference"=>"Isaiah Baumbach", "quantity"=>"0"}] 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"=>"53df871277353304bc290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871277353304bc290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/admin/products/53df871277353304bc290000 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('53df871277353304bc2a0000'), "firstname"=>"Waylon", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2069ms 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('53df871277353304bc2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms Redirected to http://test.host/admin/users/53df871277353304bc2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2264ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871277353304bc2c0000'), "firstname"=>"Amber", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1972ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df871277353304bc2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871277353304bc2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871277353304bc2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms 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.1615ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871277353304bc2d0000'), "firstname"=>"Joey", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df871277353304bc2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871277353304bc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871277353304bc2e0000'), "firstname"=>"Magdalena", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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.3021ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) 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('53df871277353304bc2f0000'), "firstname"=>"Joyce", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871277353304bc300000'), "firstname"=>"Hosea", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df871277353304bc300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871277353304bc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871277353304bc310000'), "firstname"=>"Nannie", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df871277353304bc310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871277353304bc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df871277353304bc310000 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('53df871277353304bc320000'), "firstname"=>"Jeanette", "lastname"=>"Ebert"}] 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=>"administrators", :query=>{}} runtime: 0.1370ms 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('53df871277353304bc330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Redirected to http://test.host/administrator Completed 302 Found in 34ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1876ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc340000'), "firstname"=>"Colin", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df871277353304bc340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871277353304bc340000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc350000'), "firstname"=>"Jeffrey", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc360000'), "firstname"=>"Roosevelt", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df871277353304bc360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871277353304bc360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df871277353304bc370000'), "firstname"=>"Margaret", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df871277353304bc370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df871277353304bc370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc380000'), "name"=>"Madie Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc390000'), "name"=>"Madison Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3a0000'), "name"=>"Santino Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3b0000'), "name"=>"Dexter Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3c0000'), "name"=>"Talia Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3d0000'), "name"=>"Max Prosacco PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3e0000'), "name"=>"Sasha Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc3f0000'), "name"=>"Franz Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc400000'), "name"=>"Lon Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc410000'), "name"=>"Jett Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc420000'), "name"=>"Alysa Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc430000'), "name"=>"Brooke O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc440000'), "name"=>"Katherine Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc450000'), "name"=>"Margie Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc460000'), "name"=>"Corrine Romaguera IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc470000'), "name"=>"Gideon Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc480000'), "name"=>"Loren Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc490000'), "name"=>"Verlie Wunsch DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4a0000'), "name"=>"Columbus Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4b0000'), "name"=>"Kimberly Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4c0000'), "name"=>"Dr. Lolita Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4d0000'), "name"=>"Nyah Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4e0000'), "name"=>"Kory Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc4f0000'), "name"=>"Dr. Carolyne Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc500000'), "name"=>"Giles Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc510000'), "name"=>"Dante Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc520000'), "name"=>"Emily Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc530000'), "name"=>"Darrel Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc540000'), "name"=>"Sydney Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc550000'), "name"=>"Oral Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc560000'), "name"=>"Jeanie Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc570000'), "name"=>"Elza Quitzon MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc580000'), "name"=>"Joan Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc590000'), "name"=>"Malcolm Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5a0000'), "name"=>"Mrs. Brett Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5b0000'), "name"=>"Ali Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5c0000'), "name"=>"Jaunita Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5d0000'), "name"=>"Albert Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5e0000'), "name"=>"Vinnie King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc5f0000'), "name"=>"Tessie Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc600000'), "name"=>"Jackeline Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc610000'), "name"=>"Giovani Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc620000'), "name"=>"Hellen Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc630000'), "name"=>"Dashawn Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc640000'), "name"=>"Laurence Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc650000'), "name"=>"Ms. Jedediah Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc660000'), "name"=>"Zoe Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc670000'), "name"=>"Jerod Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc680000'), "name"=>"Rubie Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc690000'), "name"=>"Godfrey Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6a0000'), "name"=>"Camila Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6b0000'), "name"=>"Graham Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6c0000'), "name"=>"Miss Orie Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6d0000'), "name"=>"Ms. Grayce Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6e0000'), "name"=>"Herbert Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc6f0000'), "name"=>"Cleveland Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc700000'), "name"=>"Trycia Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc710000'), "name"=>"Monique Yost DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc720000'), "name"=>"Thaddeus Bins IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc730000'), "name"=>"Kiel Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc740000'), "name"=>"Ms. Noemy Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc750000'), "name"=>"Abe Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc760000'), "name"=>"Ally Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc770000'), "name"=>"Maria Ward V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc780000'), "name"=>"Benton Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc790000'), "name"=>"Fabiola Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7a0000'), "name"=>"Josianne Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7b0000'), "name"=>"Karelle Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7c0000'), "name"=>"Art Ritchie DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7d0000'), "name"=>"Salvador Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7e0000'), "name"=>"Bridget Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc7f0000'), "name"=>"Braulio O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc800000'), "name"=>"Miss Arnulfo Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc810000'), "name"=>"Dr. Lenore Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc820000'), "name"=>"Lillie Conn Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc830000'), "name"=>"Kevon Baumbach DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc840000'), "name"=>"Holden Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc850000'), "name"=>"Kirsten Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc860000'), "name"=>"Selena Ritchie I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc870000'), "name"=>"Serenity Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc880000'), "name"=>"Major Wisozk Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc890000'), "name"=>"Raymundo Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8a0000'), "name"=>"Marie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8b0000'), "name"=>"Alphonso Conroy III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8c0000'), "name"=>"Chloe Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8d0000'), "name"=>"Miss Dashawn King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8e0000'), "name"=>"Kale Krajcik PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc8f0000'), "name"=>"Ava Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc900000'), "name"=>"Gonzalo Stiedemann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc910000'), "name"=>"Juana Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc920000'), "name"=>"Demario Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc930000'), "name"=>"Alejandra Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc940000'), "name"=>"Mrs. Aaron Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc950000'), "name"=>"Giovanna Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc960000'), "name"=>"Estel Yundt I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc970000'), "name"=>"Verner Streich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1416ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms Redirected to http://test.host/categories/53df871277353304bc980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1670ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc990000'), "name"=>"Delpha Batz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9a0000'), "name"=>"Christa Dooley PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9b0000'), "name"=>"Efren Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9c0000'), "name"=>"Mrs. Gussie Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9d0000'), "name"=>"Nella Harvey Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9e0000'), "name"=>"Emmalee Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc9f0000'), "name"=>"Matilde Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca00000'), "name"=>"Mrs. Roma Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca10000'), "name"=>"Ervin Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca20000'), "name"=>"Mr. Imani Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca30000'), "name"=>"Ms. Novella Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca40000'), "name"=>"Wade Hammes IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca50000'), "name"=>"Demarcus Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca60000'), "name"=>"Logan Hammes III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca70000'), "name"=>"Nella Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca80000'), "name"=>"Aric Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bca90000'), "name"=>"Darion Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bca90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcaa0000'), "name"=>"Bill Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcab0000'), "name"=>"Mr. Kiarra Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcac0000'), "name"=>"Rosalee Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcad0000'), "name"=>"Mrs. Monte Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcae0000'), "name"=>"Tyrel Mann PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcaf0000'), "name"=>"Chadd Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcaf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb00000'), "name"=>"Candida VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb10000'), "name"=>"Brianne Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb20000'), "name"=>"Dorcas Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb30000'), "name"=>"Meredith Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb40000'), "name"=>"Velma Pagac II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb50000'), "name"=>"Augusta Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb60000'), "name"=>"Mrs. Orlando Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb70000'), "name"=>"Emmy Mertz IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb80000'), "name"=>"Eddie Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcb90000'), "name"=>"Schuyler Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcb90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcba0000'), "name"=>"Katlyn Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcbb0000'), "name"=>"Jackie Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcbc0000'), "name"=>"Jocelyn Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcbc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcbd0000'), "name"=>"Morton Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcbd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcbe0000'), "name"=>"Dr. Elsie Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcbf0000'), "name"=>"June Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc00000'), "name"=>"Berry Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc10000'), "name"=>"Coy Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc20000'), "name"=>"Norbert Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc30000'), "name"=>"Clemmie Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc40000'), "name"=>"Gabriel Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc50000'), "name"=>"Jayce Dare IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc60000'), "name"=>"Ambrose Beer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc70000'), "name"=>"Carolanne Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc80000'), "name"=>"Eudora Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcc90000'), "name"=>"Miss Alva Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcca0000'), "name"=>"Mr. Dashawn Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bccb0000'), "name"=>"Fleta Frami IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bccc0000'), "name"=>"Cecil Stark MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bccc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bccd0000'), "name"=>"Ava Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcce0000'), "name"=>"Abigail Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bccf0000'), "name"=>"Jany Johnston Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bccf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd00000'), "name"=>"Maddison Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd10000'), "name"=>"Claudine Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd20000'), "name"=>"Louie Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd30000'), "name"=>"Katelin Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd40000'), "name"=>"Elmer Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd50000'), "name"=>"Osvaldo Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd60000'), "name"=>"Creola Quitzon I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd70000'), "name"=>"Kaden Boehm Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd80000'), "name"=>"Abe Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcd90000'), "name"=>"Mackenzie Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcd90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcda0000'), "name"=>"Leann Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcda0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcdb0000'), "name"=>"Jarred Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcdc0000'), "name"=>"Larue Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcdc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcdd0000'), "name"=>"Lilyan Lynch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcdd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcde0000'), "name"=>"Deron Bahringer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcdf0000'), "name"=>"Merl Toy DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce00000'), "name"=>"August Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce10000'), "name"=>"Herta Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce20000'), "name"=>"Riley Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce30000'), "name"=>"Ms. Liana Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce40000'), "name"=>"Mr. Terrell Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce50000'), "name"=>"Laurianne Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce60000'), "name"=>"Aurelie Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce70000'), "name"=>"Mekhi Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce80000'), "name"=>"Edward Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bce90000'), "name"=>"Rusty Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bce90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcea0000'), "name"=>"Barrett Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bceb0000'), "name"=>"Mona Doyle PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcec0000'), "name"=>"Jamar O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bced0000'), "name"=>"Greyson Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bced0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcee0000'), "name"=>"Rhianna Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcef0000'), "name"=>"Freddie Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf00000'), "name"=>"Yasmine Beatty Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf10000'), "name"=>"Mr. Laura Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf20000'), "name"=>"Mr. Isabelle Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf30000'), "name"=>"Alice DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf40000'), "name"=>"Bernice Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf50000'), "name"=>"Aron Hegmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf60000'), "name"=>"Dr. Mark Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf70000'), "name"=>"Mrs. Paige Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf80000'), "name"=>"Amely Jacobs Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1346ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df871277353304bc990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871277353304bc990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871277353304bc990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1670ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcf90000'), "name"=>"Keven McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcfa0000'), "name"=>"Davin Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcfa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcfb0000'), "name"=>"Hilda Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcfc0000'), "name"=>"Mr. Reid Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcfd0000'), "name"=>"Anthony Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcfd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcfe0000'), "name"=>"Rasheed Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bcff0000'), "name"=>"Alexander Lubowitz DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc000100'), "name"=>"Penelope Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc010100'), "name"=>"Anais Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc020100'), "name"=>"Elena Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc030100'), "name"=>"Gilberto Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc040100'), "name"=>"Mabelle Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc050100'), "name"=>"Abdiel Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc060100'), "name"=>"Anya Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc070100'), "name"=>"Miss Kaleigh Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc080100'), "name"=>"Elenora Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc090100'), "name"=>"Tyrell Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0a0100'), "name"=>"Cyrus Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0b0100'), "name"=>"Lauryn Gleichner IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0c0100'), "name"=>"Holly Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0d0100'), "name"=>"Vella Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0e0100'), "name"=>"Piper Herman IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc0f0100'), "name"=>"Glenna Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc100100'), "name"=>"Cyril Parker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871277353304bc110100'), "name"=>"Constance Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bc110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc120100'), "name"=>"Rashad Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc130100'), "name"=>"Mitchell Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc140100'), "name"=>"Jamar Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc150100'), "name"=>"Ms. Sydnie Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc160100'), "name"=>"Delta Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc170100'), "name"=>"Kade Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc180100'), "name"=>"Jaeden Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc190100'), "name"=>"D'angelo Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1a0100'), "name"=>"Bennie Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1b0100'), "name"=>"Reagan Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1c0100'), "name"=>"Cassandre Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1d0100'), "name"=>"Alexys Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1e0100'), "name"=>"Mr. Tomas Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1f0100'), "name"=>"Dr. Alexandrea Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc200100'), "name"=>"Werner Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc210100'), "name"=>"Ms. Asha Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc220100'), "name"=>"Marianne Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc230100'), "name"=>"Jody Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc240100'), "name"=>"Maci Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc250100'), "name"=>"Makayla Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc260100'), "name"=>"Mackenzie Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc270100'), "name"=>"Miss Rubye MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc280100'), "name"=>"Miss Nicolas Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc290100'), "name"=>"Brain Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2a0100'), "name"=>"Keeley Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2b0100'), "name"=>"Amani Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2c0100'), "name"=>"Keegan Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2d0100'), "name"=>"Dr. Monty Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2e0100'), "name"=>"Renee Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2f0100'), "name"=>"Turner Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc300100'), "name"=>"Mr. Delphia Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc310100'), "name"=>"Muriel Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc320100'), "name"=>"Mr. Dallin Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc330100'), "name"=>"Jessyca Abshire V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc340100'), "name"=>"Alessandra Hirthe Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc350100'), "name"=>"Ms. Cesar Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc360100'), "name"=>"Mia Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc370100'), "name"=>"Mrs. Vallie Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc380100'), "name"=>"Maxine Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc390100'), "name"=>"Elza Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3a0100'), "name"=>"Odie Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3b0100'), "name"=>"Hoyt Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3c0100'), "name"=>"Clifford Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3d0100'), "name"=>"Ms. Shirley Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3e0100'), "name"=>"Annamarie Bruen Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3f0100'), "name"=>"Mr. Narciso Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc400100'), "name"=>"Trever Dietrich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc410100'), "name"=>"Harmon Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc420100'), "name"=>"Mrs. Aurelia Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc430100'), "name"=>"Marty Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc440100'), "name"=>"Lia Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc450100'), "name"=>"Jacynthe Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc460100'), "name"=>"Ellie Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc470100'), "name"=>"Miss Jeromy Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc480100'), "name"=>"Demario DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc490100'), "name"=>"Linnea Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4a0100'), "name"=>"Stuart Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4b0100'), "name"=>"Judge Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4c0100'), "name"=>"Jaylen Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4d0100'), "name"=>"Wilhelmine Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4e0100'), "name"=>"Cara Hoppe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4f0100'), "name"=>"Mr. Jack Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc500100'), "name"=>"Felicia Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc510100'), "name"=>"Mr. Wilhelmine Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc520100'), "name"=>"Mrs. Myrtie Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc530100'), "name"=>"General Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc540100'), "name"=>"Dorcas Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc550100'), "name"=>"Tina Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc560100'), "name"=>"Miss Garett Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc570100'), "name"=>"Ellie Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc580100'), "name"=>"Tracey Vandervort III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df871277353304bcf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871277353304bcf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871277353304bcf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.7ms) Completed 200 OK in 34ms (Views: 33.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc590100'), "name"=>"Obie Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5a0100'), "name"=>"Mrs. Wayne Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5b0100'), "name"=>"Mrs. Flavie Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5c0100'), "name"=>"Mrs. Quincy Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5d0100'), "name"=>"Derek Walker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5e0100'), "name"=>"Efrain Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5f0100'), "name"=>"Patricia Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc600100'), "name"=>"Dominic Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc610100'), "name"=>"Madisen Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc620100'), "name"=>"Celia Mitchell PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc630100'), "name"=>"Miss Lucas Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc640100'), "name"=>"Maurice Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc650100'), "name"=>"Ms. Miles Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc660100'), "name"=>"Miss Colin Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc670100'), "name"=>"Kiarra Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc680100'), "name"=>"Meggie Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc690100'), "name"=>"Myles Bartoletti Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6a0100'), "name"=>"Esmeralda Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6b0100'), "name"=>"Miss Boyd Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6c0100'), "name"=>"Raymundo Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6d0100'), "name"=>"Vita Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6e0100'), "name"=>"Britney Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6f0100'), "name"=>"Everette Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc700100'), "name"=>"Alivia Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc710100'), "name"=>"Asia Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc720100'), "name"=>"Zachary Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc730100'), "name"=>"Mr. Corrine Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc740100'), "name"=>"Rylee Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc750100'), "name"=>"Dr. Jaron Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc760100'), "name"=>"Shea Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc770100'), "name"=>"Laurianne Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc780100'), "name"=>"Hobart Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc790100'), "name"=>"Zachary Hills PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7a0100'), "name"=>"Bulah Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7b0100'), "name"=>"Kattie Runte DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7c0100'), "name"=>"Gordon Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7d0100'), "name"=>"Jazmin Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7e0100'), "name"=>"Andrew Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7f0100'), "name"=>"Diamond Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc800100'), "name"=>"Miss Kaylin Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc810100'), "name"=>"Mr. Erick Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc820100'), "name"=>"Maria Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc830100'), "name"=>"Saul Goyette IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc840100'), "name"=>"Erich Gerhold Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc850100'), "name"=>"Isom Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc860100'), "name"=>"Diego Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc870100'), "name"=>"Maximillia MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc880100'), "name"=>"Camilla Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc890100'), "name"=>"Bennett Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8a0100'), "name"=>"Nikita Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8b0100'), "name"=>"Winston Little Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8c0100'), "name"=>"Geo Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8d0100'), "name"=>"Myriam Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8e0100'), "name"=>"Horacio Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8f0100'), "name"=>"Stephania Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc900100'), "name"=>"Silas Borer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc910100'), "name"=>"Ursula Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc920100'), "name"=>"Charity Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc930100'), "name"=>"Bradley Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc940100'), "name"=>"Julius Durgan MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc950100'), "name"=>"Shayna Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc960100'), "name"=>"Deontae Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc970100'), "name"=>"Silas Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc980100'), "name"=>"Harold Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc990100'), "name"=>"Jermain O'Reilly II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9a0100'), "name"=>"Mr. Ashley Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9b0100'), "name"=>"Camylle Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9c0100'), "name"=>"Charley Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9d0100'), "name"=>"Edna Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9e0100'), "name"=>"Raymundo Bauch PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9f0100'), "name"=>"Pierce Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca00100'), "name"=>"Destini Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca10100'), "name"=>"Golden Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca20100'), "name"=>"Ayden Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca30100'), "name"=>"David Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca40100'), "name"=>"Eunice Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca50100'), "name"=>"Taylor Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca60100'), "name"=>"Addie McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca70100'), "name"=>"Nelle Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca80100'), "name"=>"Monty Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca90100'), "name"=>"Jeramy Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcaa0100'), "name"=>"Dr. Jovani Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcaa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcab0100'), "name"=>"Carole Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcac0100'), "name"=>"Arno Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcad0100'), "name"=>"Fabian MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcae0100'), "name"=>"Jarrod Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcaf0100'), "name"=>"Bette Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcaf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb00100'), "name"=>"Eliza Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb10100'), "name"=>"Israel Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb20100'), "name"=>"Sonny Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb30100'), "name"=>"Lowell Wisoky IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb40100'), "name"=>"Skye Wisozk MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb50100'), "name"=>"Maximillian Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb60100'), "name"=>"Louisa Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb70100'), "name"=>"Evangeline Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb80100'), "name"=>"Austen Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215070230209] runtime: 0.0870ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (11.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1850ms Completed 200 OK in 17ms (Views: 16.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb90100'), "name"=>"Brennan Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcba0100'), "name"=>"Claudine Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbb0100'), "name"=>"Rey Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbc0100'), "name"=>"Arno Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbd0100'), "name"=>"Dina Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbe0100'), "name"=>"Chris Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbf0100'), "name"=>"Miss Juwan Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc00100'), "name"=>"Julia Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc10100'), "name"=>"Alayna Conn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc20100'), "name"=>"Dante Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc30100'), "name"=>"Teresa Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc40100'), "name"=>"Tracy Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc50100'), "name"=>"Ryann Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc60100'), "name"=>"Madisen Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc70100'), "name"=>"Pete Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc80100'), "name"=>"Hailee Howe II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc90100'), "name"=>"Mr. Lourdes Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcca0100'), "name"=>"Kenny Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccb0100'), "name"=>"Jesse Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccc0100'), "name"=>"Alberta Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccd0100'), "name"=>"Madelyn Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcce0100'), "name"=>"Leland Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccf0100'), "name"=>"Fermin Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd00100'), "name"=>"Hal Rath III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd10100'), "name"=>"Mrs. Nigel Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd20100'), "name"=>"Marlee Haley PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd30100'), "name"=>"Sammie Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd40100'), "name"=>"Donnie Weimann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd50100'), "name"=>"Destany Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd60100'), "name"=>"Jaime Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd70100'), "name"=>"Sister Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd80100'), "name"=>"Darrel Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd90100'), "name"=>"Mr. Jaden Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcda0100'), "name"=>"Marques Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcda0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdb0100'), "name"=>"Vickie Hodkiewicz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdc0100'), "name"=>"Mckayla Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdd0100'), "name"=>"Leanna Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcde0100'), "name"=>"Buddy Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcde0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdf0100'), "name"=>"Nicklaus Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce00100'), "name"=>"Dashawn Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce10100'), "name"=>"Aletha Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce20100'), "name"=>"Savion Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce30100'), "name"=>"Sean Runolfsson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce40100'), "name"=>"Doyle Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce50100'), "name"=>"Napoleon Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce60100'), "name"=>"Donato Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce70100'), "name"=>"Wyatt Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce80100'), "name"=>"Alysa Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce90100'), "name"=>"Mr. Deonte Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcea0100'), "name"=>"Monty White V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bceb0100'), "name"=>"Maye Metz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bceb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcec0100'), "name"=>"Tatyana Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bced0100'), "name"=>"Rose Parisian Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bced0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcee0100'), "name"=>"Adam Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcef0100'), "name"=>"Myrtie Fritsch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf00100'), "name"=>"Annette Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf10100'), "name"=>"Riley MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf20100'), "name"=>"Modesto Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf30100'), "name"=>"Marcelo Bechtelar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf40100'), "name"=>"Miss Aryanna Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf50100'), "name"=>"Maya Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf60100'), "name"=>"Reba Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf70100'), "name"=>"Lexus Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf80100'), "name"=>"Jimmy Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf90100'), "name"=>"Miss Shayne Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfa0100'), "name"=>"Dr. Jackson Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfb0100'), "name"=>"Mrs. Silas Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfc0100'), "name"=>"Nyasia Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfd0100'), "name"=>"Clarissa Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfe0100'), "name"=>"Josh Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcff0100'), "name"=>"Webster Brekke Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc000200'), "name"=>"Dereck Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc010200'), "name"=>"Dr. Vern Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc020200'), "name"=>"Maureen Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc030200'), "name"=>"Schuyler Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc040200'), "name"=>"Elsa Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc050200'), "name"=>"Mr. Prince Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc060200'), "name"=>"Carol Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc070200'), "name"=>"Connie Altenwerth IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc080200'), "name"=>"Ms. Vita Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc090200'), "name"=>"Kyla Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0a0200'), "name"=>"Abe Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0b0200'), "name"=>"Savanna Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0c0200'), "name"=>"Khalil Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0d0200'), "name"=>"Lesley Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0e0200'), "name"=>"Vida Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0f0200'), "name"=>"Mrs. Gail Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc100200'), "name"=>"Gabriel Ebert IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc110200'), "name"=>"Fredrick Weber II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc120200'), "name"=>"Rowland Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc130200'), "name"=>"Kenny Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc140200'), "name"=>"Zetta Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc150200'), "name"=>"Stevie Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc160200'), "name"=>"Mrs. Lisa Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc170200'), "name"=>"Kadin Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc180200'), "name"=>"Dr. Darius Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215484271676] runtime: 0.1015ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1835ms Completed 200 OK in 13ms (Views: 12.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc190200'), "name"=>"Jada O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1a0200'), "name"=>"Rosemary Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1b0200'), "name"=>"Rocky Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1c0200'), "name"=>"Flavie Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1d0200'), "name"=>"Ethel Bode DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1e0200'), "name"=>"Tommie Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1f0200'), "name"=>"Sylvia Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc200200'), "name"=>"Rudy Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc210200'), "name"=>"Evalyn Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc220200'), "name"=>"Miss Charity Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc230200'), "name"=>"Shana Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc240200'), "name"=>"Miss Amanda Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc250200'), "name"=>"Gino Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc260200'), "name"=>"Ms. Ebony Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc270200'), "name"=>"Barbara Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc280200'), "name"=>"Buck Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc290200'), "name"=>"Zoe Emard DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2a0200'), "name"=>"Era Stokes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2b0200'), "name"=>"Dr. Fabiola Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2c0200'), "name"=>"Evie Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2d0200'), "name"=>"Alek Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2e0200'), "name"=>"Dr. Alessandro Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2f0200'), "name"=>"Maiya Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc300200'), "name"=>"Pedro Sporer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc310200'), "name"=>"Ernesto Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc320200'), "name"=>"Miss Jaida Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc330200'), "name"=>"Maxie Larkin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc340200'), "name"=>"Alanna Roberts DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc350200'), "name"=>"Mrs. Clotilde Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc360200'), "name"=>"Lelia Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc370200'), "name"=>"Bianka Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc380200'), "name"=>"Mrs. Brooklyn Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc390200'), "name"=>"Ms. Dewitt Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3a0200'), "name"=>"Mark Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3b0200'), "name"=>"Thad Mueller MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3c0200'), "name"=>"Enos O'Hara DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3d0200'), "name"=>"Audrey Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3e0200'), "name"=>"Marguerite Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3f0200'), "name"=>"Tierra Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc400200'), "name"=>"Gage Douglas Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc410200'), "name"=>"Ms. Dolly Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc420200'), "name"=>"Stella Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc430200'), "name"=>"Miss Leora Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc440200'), "name"=>"Ms. Angeline Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc450200'), "name"=>"Lance Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc460200'), "name"=>"Chyna Sauer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc470200'), "name"=>"Rhianna Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc480200'), "name"=>"Mr. Emanuel Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc490200'), "name"=>"Dr. Hayden Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4a0200'), "name"=>"Mr. Patricia Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4b0200'), "name"=>"Miss Raphael Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4c0200'), "name"=>"Alfreda Monahan MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4d0200'), "name"=>"Meggie Kirlin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4e0200'), "name"=>"Alex Bashirian PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc4f0200'), "name"=>"Columbus Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc500200'), "name"=>"Zachery Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc510200'), "name"=>"Haley Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc520200'), "name"=>"Lucious McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc530200'), "name"=>"Jackson Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc540200'), "name"=>"Lillian Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc550200'), "name"=>"Reyes Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc560200'), "name"=>"Mr. Cesar Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc570200'), "name"=>"Green Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc580200'), "name"=>"Cyril Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc590200'), "name"=>"Rylan Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5a0200'), "name"=>"Hershel Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5b0200'), "name"=>"Randi Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5c0200'), "name"=>"Shakira Weimann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5d0200'), "name"=>"Ethel Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5e0200'), "name"=>"Ms. Mafalda Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc5f0200'), "name"=>"Darby Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc600200'), "name"=>"Ms. Yessenia Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc610200'), "name"=>"Mr. Marty Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc620200'), "name"=>"April Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc630200'), "name"=>"Llewellyn Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc640200'), "name"=>"Anthony Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc650200'), "name"=>"Gaston Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc660200'), "name"=>"Helga Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc670200'), "name"=>"Garret Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc680200'), "name"=>"Mrs. Frank Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc690200'), "name"=>"Belle Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6a0200'), "name"=>"Mrs. Jadon Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6b0200'), "name"=>"Kelton Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6c0200'), "name"=>"Roxanne Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6d0200'), "name"=>"Mr. Dashawn Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6e0200'), "name"=>"George Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc6f0200'), "name"=>"Corine Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc700200'), "name"=>"Dashawn Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc710200'), "name"=>"Torey Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc720200'), "name"=>"Tyreek Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc730200'), "name"=>"Cedrick Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc740200'), "name"=>"Asha Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc750200'), "name"=>"Riley Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc760200'), "name"=>"Reed Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc770200'), "name"=>"Maudie Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc780200'), "name"=>"Delphine Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 9ms (Views: 8.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7a0200'), "name"=>"Trystan Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7b0200'), "name"=>"Billie McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7c0200'), "name"=>"Francisco Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7d0200'), "name"=>"Jamar Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7e0200'), "name"=>"Gideon Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc7f0200'), "name"=>"Aletha Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc800200'), "name"=>"Josefina Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc810200'), "name"=>"Ivy Ritchie PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc820200'), "name"=>"Alison Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc830200'), "name"=>"Addie Willms I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc840200'), "name"=>"Brice Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc850200'), "name"=>"Adele Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc860200'), "name"=>"Abby Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc870200'), "name"=>"Xzavier Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc880200'), "name"=>"Miss Aletha Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc890200'), "name"=>"Mr. Chelsie Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8a0200'), "name"=>"Gaylord Murphy MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8b0200'), "name"=>"Merritt Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8c0200'), "name"=>"Alvina Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8d0200'), "name"=>"Jerrell Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8e0200'), "name"=>"Kari Keebler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc8f0200'), "name"=>"Mayra Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc900200'), "name"=>"Dale Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc910200'), "name"=>"Abbigail Satterfield PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc920200'), "name"=>"Graciela Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc930200'), "name"=>"Pat Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc940200'), "name"=>"Domenic Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc950200'), "name"=>"Mr. Zachery Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc960200'), "name"=>"Dorothy Rohan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc970200'), "name"=>"Aileen Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc980200'), "name"=>"Mr. Avis Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc990200'), "name"=>"Missouri Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9a0200'), "name"=>"Destany Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9b0200'), "name"=>"Amie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9c0200'), "name"=>"Olin Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9d0200'), "name"=>"Estel Crooks Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9e0200'), "name"=>"Naomi Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc9f0200'), "name"=>"Dr. Ike Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca00200'), "name"=>"Mr. Destiney Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca10200'), "name"=>"Berneice Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca20200'), "name"=>"Dr. Wiley Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca30200'), "name"=>"Ari Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca40200'), "name"=>"August Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca50200'), "name"=>"Sandrine Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca60200'), "name"=>"Noe Schinner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca70200'), "name"=>"Henry McCullough DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca80200'), "name"=>"Danial Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bca90200'), "name"=>"Gilda Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bca90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcaa0200'), "name"=>"Lucie Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcaa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcab0200'), "name"=>"Alvah Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcac0200'), "name"=>"Lela Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcad0200'), "name"=>"Gerhard Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcae0200'), "name"=>"General Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcaf0200'), "name"=>"Jadyn Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcaf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb00200'), "name"=>"Nels Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb10200'), "name"=>"Lambert Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb20200'), "name"=>"Maybelle Murazik III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb30200'), "name"=>"Mr. Lessie Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb40200'), "name"=>"Mrs. Carissa Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb50200'), "name"=>"Winnifred Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb60200'), "name"=>"Stewart Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb70200'), "name"=>"Pink Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb80200'), "name"=>"Garfield Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcb90200'), "name"=>"Isac Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcb90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcba0200'), "name"=>"Modesta Legros II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbb0200'), "name"=>"Adam Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbc0200'), "name"=>"Ahmad West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbd0200'), "name"=>"Karina Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbe0200'), "name"=>"Mrs. Alfonzo Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcbf0200'), "name"=>"Trevor Volkman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcbf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc00200'), "name"=>"Leann Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc10200'), "name"=>"Sydnee Gutkowski Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc20200'), "name"=>"Narciso Abshire III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc30200'), "name"=>"Amy Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc40200'), "name"=>"Alba Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc50200'), "name"=>"Zane Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc60200'), "name"=>"Dr. Kali Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc70200'), "name"=>"Vicenta Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc80200'), "name"=>"Demetris Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcc90200'), "name"=>"Ms. Maeve Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcc90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcca0200'), "name"=>"Hulda Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccb0200'), "name"=>"Arne Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccc0200'), "name"=>"Mazie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccd0200'), "name"=>"Art D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcce0200'), "name"=>"Mellie Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bccf0200'), "name"=>"Libby Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bccf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd00200'), "name"=>"Evert Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd10200'), "name"=>"Gretchen Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd20200'), "name"=>"Lottie Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd30200'), "name"=>"Mr. Arch Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd40200'), "name"=>"Deron Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd50200'), "name"=>"Jillian Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd60200'), "name"=>"Anderson Kunde III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd70200'), "name"=>"Mrs. Hosea Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd80200'), "name"=>"Jayce Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcd90200'), "name"=>"Monroe Kulas DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcd90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df871377353304bc7a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871377353304bc7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcda0200'), "name"=>"Mrs. Anjali Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdb0200'), "name"=>"Monica Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdc0200'), "name"=>"Yasmeen Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdd0200'), "name"=>"Lesley McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcde0200'), "name"=>"Daphnee Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcde0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcdf0200'), "name"=>"Alessia Witting Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcdf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce00200'), "name"=>"Sean Hamill V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce10200'), "name"=>"Adriel McLaughlin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce20200'), "name"=>"Ms. Selena Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce30200'), "name"=>"Yadira Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce40200'), "name"=>"Tanya Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce50200'), "name"=>"Adaline Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce60200'), "name"=>"Margaret Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce70200'), "name"=>"Trisha Reilly III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce80200'), "name"=>"Alena Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bce90200'), "name"=>"Mr. Donnell Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bce90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcea0200'), "name"=>"Mr. Eino Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bceb0200'), "name"=>"Dr. Brenna Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bceb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcec0200'), "name"=>"Horacio Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bced0200'), "name"=>"Easter Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bced0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcee0200'), "name"=>"Keara Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcef0200'), "name"=>"Bonnie Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf00200'), "name"=>"Milford Green Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf10200'), "name"=>"Brionna Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf20200'), "name"=>"Nova Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf30200'), "name"=>"Jody O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf40200'), "name"=>"Chanelle Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf50200'), "name"=>"Jaeden Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf60200'), "name"=>"Janet Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf70200'), "name"=>"Mr. Aniya Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf80200'), "name"=>"Baby Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcf90200'), "name"=>"Clint Greenfelder Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcf90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfa0200'), "name"=>"Brennan Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfb0200'), "name"=>"Mrs. Reid Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfc0200'), "name"=>"Mr. Izaiah O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfd0200'), "name"=>"Dr. Dell Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcfe0200'), "name"=>"Alva Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcfe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bcff0200'), "name"=>"Dr. Kirk Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc000300'), "name"=>"Jamison Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc010300'), "name"=>"Glenna Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc020300'), "name"=>"Eleazar Stamm III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc030300'), "name"=>"Dr. Abbey Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc040300'), "name"=>"Gaylord Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc050300'), "name"=>"Mrs. Torrance Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc060300'), "name"=>"Horace Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc070300'), "name"=>"Cameron Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc080300'), "name"=>"Alivia Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc090300'), "name"=>"Rosario Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0a0300'), "name"=>"Austin Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0b0300'), "name"=>"Martine Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0c0300'), "name"=>"Rocio Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0d0300'), "name"=>"Rosalind Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0e0300'), "name"=>"Candelario Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc0f0300'), "name"=>"Abel Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc100300'), "name"=>"Ibrahim Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc110300'), "name"=>"Aiden Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc120300'), "name"=>"Justen Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc130300'), "name"=>"Dr. Rachael Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc140300'), "name"=>"Miss Ila Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc150300'), "name"=>"Carmelo Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc160300'), "name"=>"Mike Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc170300'), "name"=>"Toy Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc180300'), "name"=>"Gilda Towne IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc190300'), "name"=>"Rae Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1a0300'), "name"=>"Mr. Wilton Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1b0300'), "name"=>"Dr. Brandy Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1c0300'), "name"=>"Ms. Minerva Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1d0300'), "name"=>"Vesta Kihn MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1e0300'), "name"=>"Mr. Leda Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc1f0300'), "name"=>"Ewell Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc1f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc200300'), "name"=>"Miss Trace Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc210300'), "name"=>"Jayme Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc220300'), "name"=>"Evert Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc230300'), "name"=>"Iliana Morar III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc240300'), "name"=>"Dimitri Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc250300'), "name"=>"Amely Breitenberg Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc260300'), "name"=>"Sage Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc270300'), "name"=>"Phyllis Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc280300'), "name"=>"Yvette Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc290300'), "name"=>"Odell Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2a0300'), "name"=>"Brenden O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2b0300'), "name"=>"Neoma Mante III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2c0300'), "name"=>"Mr. Clair Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2d0300'), "name"=>"Vito Wehner I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2e0300'), "name"=>"Jane Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc2f0300'), "name"=>"Tavares Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc2f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc300300'), "name"=>"Aimee Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc310300'), "name"=>"Javier Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc320300'), "name"=>"Clara Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc330300'), "name"=>"Gretchen Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc340300'), "name"=>"Fredy Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc350300'), "name"=>"Dallin Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc360300'), "name"=>"Bertha Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc370300'), "name"=>"Beth Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc380300'), "name"=>"Breanne Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df871377353304bc390300'), "name"=>"Julian Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bc390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df871377353304bcda0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871377353304bcda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df871377353304bcda0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df871377353304bcda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms Redirected to http://test.host/categories/53df871377353304bcda0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871377353304bc3a0300'), "name"=>"Rosina Botsford", "reference"=>"Irving Cruickshank", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871377353304bc3b0300'), "author_name"=>"Lonzo Feil", "content"=>["Voluptates delectus tempora sit. Et voluptatem adipisci debitis a. Est animi et explicabo qui vel beatae qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871377353304bc3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df871377353304bc3a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871377353304bc3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871377353304bc3a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df871377353304bc3c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms Redirected to http://test.host/products/53df871377353304bc3a0300/comments/53df871377353304bc3c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871377353304bc3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc3d0300'), "name"=>"Ahmad Kassulke", "reference"=>"Lenny Mitchell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc3e0300'), "author_name"=>"Ellie Luettgen", "content"=>["Doloribus sed et voluptas qui dolor similique. Dolor consequuntur dicta. Accusantium illum et explicabo fugiat omnis quo laudantium. Esse est soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df871477353304bc3d0300", "id"=>"53df871477353304bc3e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc3d0300')} 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('53df871477353304bc3d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df871477353304bc3e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Redirected to http://test.host/products/53df871477353304bc3d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc3f0300'), "name"=>"Joel Jakubowski", "reference"=>"Tito Heathcote", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc400300'), "author_name"=>"Colt Lindgren II", "content"=>["Quos ut inventore exercitationem tenetur repellendus. Maxime quaerat accusantium sint ad fugit eveniet tenetur. Illum eum rem consequatur est. Voluptatem tenetur dolorem. Non quo unde nihil et facilis saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df871477353304bc3f0300", "id"=>"53df871477353304bc400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc3f0300')} 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.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc410300'), "name"=>"Shanny Frami Jr.", "reference"=>"Ms. Wava Koch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc420300'), "author_name"=>"Greta Stoltenberg", "content"=>["Nihil vitae incidunt occaecati dolore. Quibusdam autem natus ratione nesciunt. Et adipisci dolores animi qui esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df871477353304bc410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3517ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.2ms) Completed 200 OK in 43ms (Views: 40.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc430300'), "name"=>"Antonina Emmerich", "reference"=>"Ms. Layne Stoltenberg", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc440300'), "author_name"=>"Desmond Terry", "content"=>["Ex dicta reiciendis et debitis voluptatum ut. Adipisci perferendis sapiente cum rem. Praesentium suscipit culpa qui blanditiis sapiente dignissimos. Ex est enim distinctio aliquid modi impedit. Quam quos qui sit aut minus deleniti quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df871477353304bc430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc450300'), "name"=>"Mrs. Danielle Heidenreich", "reference"=>"Cassidy Bernhard Sr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc460300'), "author_name"=>"Lavern Schamberger", "content"=>["Temporibus dignissimos dolorum et odit aut omnis. Reiciendis dolore fugiat reprehenderit id. Optio modi voluptatem consectetur unde dolorem maxime. Repellendus ut cum sint illo consequatur laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df871477353304bc450300", "id"=>"53df871477353304bc460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc470300'), "name"=>"Jeffery Beahan V", "reference"=>"Elaina Pollich", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc480300'), "author_name"=>"Gerry Walker", "content"=>["Vel distinctio et. Praesentium voluptate fugit autem et. Aliquam eos saepe quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df871477353304bc470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc490300'), "name"=>"Patricia Dietrich", "reference"=>"Linnea Jakubowski DDS", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc4a0300'), "author_name"=>"Susanna Reynolds", "content"=>["Voluptatibus eaque corrupti repellat. Magni saepe ut modi nihil. Qui dolor eum accusamus commodi deleniti est qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df871477353304bc490300", "id"=>"53df871477353304bc4a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc4b0300'), "name"=>"Myrtis Fritsch DVM", "reference"=>"Jane Bashirian", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc4c0300'), "author_name"=>"Berenice Hayes", "content"=>["Quidem et iste tempora sed perferendis architecto. Quasi sunt dolores corporis aut impedit voluptates eum. Quos unde molestias nihil et aspernatur. Accusantium possimus aut blanditiis perspiciatis autem odio. Aut magni velit voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df871477353304bc4c0300", "product_id"=>"53df871477353304bc4b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc4b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc4b0300'), "comments._id"=>BSON::ObjectId('53df871477353304bc4c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Redirected to http://test.host/products/53df871477353304bc4b0300/comments/53df871477353304bc4c0300 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('53df871477353304bc4d0300'), "firstname"=>"Melody", "lastname"=>"Morar"}] 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=>"clients", :query=>{}} runtime: 0.1437ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc4e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms Redirected to http://test.host/admin/clients/53df871477353304bc4e0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1535ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc4f0300'), "firstname"=>"Ike", "lastname"=>"Kub"}] 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.1350ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df871477353304bc4f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc4f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc4f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms 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.1438ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc500300'), "firstname"=>"Thora", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df871477353304bc500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('53df871477353304bc510300'), "firstname"=>"Jean", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df871477353304bc520300'), "firstname"=>"Vance", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5663ms 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('53df871477353304bc530300'), "firstname"=>"Genesis", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df871477353304bc530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc540300'), "firstname"=>"Agustina", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df871477353304bc540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms Redirected to http://test.host/admin/clients/53df871477353304bc540300 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('53df871477353304bc550300'), "firstname"=>"Ervin", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms 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('53df871477353304bc560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms Redirected to http://test.host/clients/53df871477353304bc560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1799ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc570300'), "firstname"=>"Jace", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1641ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df871477353304bc570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.1263ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc570300')} 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 33ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1948ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc580300'), "firstname"=>"Corine", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df871477353304bc580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 8ms (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('53df871477353304bc590300'), "firstname"=>"Kane", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3565ms Completed 200 OK in 9ms (Views: 8.3ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df871477353304bc5a0300'), "firstname"=>"Korey", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms 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('53df871477353304bc5b0300'), "firstname"=>"Virginia", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df871477353304bc5b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc5b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms 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('53df871477353304bc5c0300'), "firstname"=>"Celestino", "lastname"=>"Monahan"}] 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"=>"53df871477353304bc5c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc5c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df871477353304bc5c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3050ms Redirected to http://test.host/clients/53df871477353304bc5c0300 Completed 302 Found in 8ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc5d0300'), "name"=>"Tabitha Vandervort", "reference"=>"Green Russel", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc5e0300'), "firstname"=>"Sofia", "lastname"=>"Langosh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df871477353304bc5d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc5d0300')} 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('53df871477353304bc5d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc5d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc5f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms Redirected to http://test.host/products/53df871477353304bc5d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc600300'), "name"=>"Adalberto Collins", "reference"=>"Alana Hane", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc610300'), "firstname"=>"Derek", "lastname"=>"Larson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df871477353304bc610300", "product_id"=>"53df871477353304bc600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc600300')} 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.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc620300'), "name"=>"Dr. Adriana Schneider", "reference"=>"Jannie Veum", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc630300'), "firstname"=>"Ignatius", "lastname"=>"Monahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df871477353304bc620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc640300'), "name"=>"Myrna Murphy", "reference"=>"Vernon Wunsch", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc650300'), "firstname"=>"Jovani", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df871477353304bc650300", "product_id"=>"53df871477353304bc640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc660300'), "name"=>"Riley Purdy", "reference"=>"Mrs. Zackery Smitham", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df871477353304bc670300'), "firstname"=>"Teagan", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df871477353304bc670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df871477353304bc660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Unpermitted parameters: name Redirected to http://test.host/products/53df871477353304bc660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc680300'), "name"=>"Ms. Gilbert Gusikowski", "reference"=>"Johnpaul Boehm", "quantity"=>"5"}] 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.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('53df871477353304bc690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms Redirected to http://test.host/products/53df871477353304bc690300 Completed 302 Found in 2ms 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('53df871477353304bc6a0300'), "name"=>"Margarita Durgan", "reference"=>"Lola Prosacco", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1645ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df871477353304bc6a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc6a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc6a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms 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.1714ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc6b0300'), "name"=>"Ray D'Amore", "reference"=>"Alexanne Doyle", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df871477353304bc6b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc6b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.7ms) Completed 200 OK in 33ms (Views: 31.9ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc6c0300'), "name"=>"Gregory Ratke I", "reference"=>"Davon Bogan", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2004ms 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.7656ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (56.2ms) Completed 200 OK in 59ms (Views: 58.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc6d0300'), "name"=>"Dr. Idell Mante", "reference"=>"Sabina Emmerich", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms 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.8713ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc6e0300'), "name"=>"Payton Lind", "reference"=>"Adrain Shields", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df871477353304bc6e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc6e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms 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('53df871477353304bc6f0300'), "name"=>"Ethelyn Willms", "reference"=>"Dr. Clement Morar", "quantity"=>"6"}] 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 (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc710300'), "name"=>"Kareem Baumbach II", "reference"=>"Dagmar Rau", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df871477353304bc710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc720300'), "name"=>"Bill Kozey", "reference"=>"Maymie Smith MD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2692ms 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('53df871477353304bc730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1778ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc740300'), "name"=>"Fredrick Tromp", "reference"=>"Skylar Kessler", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df871477353304bc740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5966ms Completed 200 OK in 8ms (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('53df871477353304bc750300'), "name"=>"Evalyn Friesen", "reference"=>"Pasquale Kub Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms 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('53df871477353304bc770300'), "name"=>"Immanuel Bednar", "reference"=>"Mr. Rahul Shanahan", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df871477353304bc770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc770300')} 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('53df871477353304bc770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms 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('53df871477353304bc780300'), "name"=>"Pietro Hahn", "reference"=>"Mrs. Johnson Labadie", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df871477353304bc780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms Redirected to http://test.host/products/53df871477353304bc780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc7b0300'), "name"=>"Lyla Muller", "reference"=>"Carmelo O'Connell", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc790300'), "author_name"=>"Mrs. Orin Grimes", "content"=>["Quos iusto voluptatem. Et non iste ex porro ut vitae voluptatem. Odit impedit ut. Exercitationem doloremque eius eligendi suscipit magnam. Provident ipsam porro ea magnam."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc7a0300'), "author_name"=>"Ms. Shayna Shields", "content"=>["Asperiores est commodi. Ut itaque aut dolorem id amet. Quisquam numquam eos quaerat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df871477353304bc7b0300", "comment_id"=>"53df871477353304bc790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7b0300'), "comments._id"=>BSON::ObjectId('53df871477353304bc790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df871477353304bc7c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Redirected to http://test.host/products/53df871477353304bc7b0300/comments/53df871477353304bc790300/comments/53df871477353304bc7c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc7f0300'), "name"=>"Zachery Koch", "reference"=>"Travon Wuckert", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc7d0300'), "author_name"=>"Ayana Ondricka II", "content"=>["Molestiae officia cupiditate voluptatibus harum quidem sit minima. Minus et quae ut possimus labore et repellendus. Non enim hic autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc7e0300'), "author_name"=>"Russ Gorczany", "content"=>["Velit voluptas quia ullam quisquam quos deserunt rerum. Voluptatum ipsum magnam repellat. Aliquam impedit laboriosam esse facilis exercitationem necessitatibus. Omnis molestiae iure nam voluptas fugiat amet eum. Voluptatem repudiandae quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df871477353304bc7f0300", "comment_id"=>"53df871477353304bc7d0300", "id"=>"53df871477353304bc7e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7f0300')} 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('53df871477353304bc7f0300'), "comments._id"=>BSON::ObjectId('53df871477353304bc7d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df871477353304bc7e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5509ms Redirected to http://test.host/products/53df871477353304bc7f0300/comments/53df871477353304bc7d0300/comments Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc820300'), "name"=>"Ewald Okuneva", "reference"=>"Jaida Stark", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc800300'), "author_name"=>"Alycia Senger V", "content"=>["Sit quod mollitia repellendus blanditiis officiis fugiat. Officiis itaque omnis illo. Dolore aut distinctio corrupti vero sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc810300'), "author_name"=>"Mrs. Max Herzog", "content"=>["Quidem dolorem quasi. Debitis est expedita dolore quis. Architecto odit ab voluptatem omnis placeat. Sit culpa asperiores vitae et a sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df871477353304bc820300", "comment_id"=>"53df871477353304bc800300", "id"=>"53df871477353304bc810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc820300')} 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.7ms) Completed 200 OK in 9ms (Views: 6.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc850300'), "name"=>"Haley Hilll", "reference"=>"Jessica Abshire MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc830300'), "author_name"=>"Aliza Schaden", "content"=>["Placeat soluta est fugit. In magni debitis. Asperiores voluptates eum. Et dolorum quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc840300'), "author_name"=>"Damian Ullrich", "content"=>["Occaecati facilis optio nam eum qui qui. Aut quia necessitatibus. Eius molestiae illo. Totam voluptatum magnam sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df871477353304bc850300", "comment_id"=>"53df871477353304bc830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc880300'), "name"=>"Marlene Boehm", "reference"=>"Darius Brakus Sr.", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc860300'), "author_name"=>"Blair Pagac", "content"=>["Ipsam assumenda sit. Esse numquam sit et. Excepturi eligendi corrupti. Cumque ipsa occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc870300'), "author_name"=>"Vidal Gorczany", "content"=>["Ad ea quo ex nulla. Quibusdam nisi qui quia debitis quo. Et incidunt vel voluptas nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4805ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df871477353304bc880300", "comment_id"=>"53df871477353304bc860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3762ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc8b0300'), "name"=>"Ms. Sibyl Johns", "reference"=>"Amani Ziemann", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc890300'), "author_name"=>"Ms. Irwin Fritsch", "content"=>["Delectus nesciunt sit et numquam illum. Perferendis aut fuga et vero. Sunt velit sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc8a0300'), "author_name"=>"Triston Lang", "content"=>["Provident eos hic ut. Explicabo aliquam exercitationem inventore distinctio eveniet ipsum. Facilis quos impedit consequuntur eos. Reprehenderit dolor incidunt. Tenetur odio qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df871477353304bc8b0300", "comment_id"=>"53df871477353304bc890300", "id"=>"53df871477353304bc8a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc8b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4312ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc8e0300'), "name"=>"Reid Harvey DVM", "reference"=>"Mr. Miguel Welch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc8c0300'), "author_name"=>"Sarah Daniel", "content"=>["Esse possimus officiis. Qui omnis quis est dolorem dolores voluptas. Iste ut est aut eaque. Sit assumenda voluptatibus voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc8d0300'), "author_name"=>"Mrs. Allen Hermiston", "content"=>["Soluta corrupti asperiores nesciunt nihil quo eaque aut. Sed sed in ex. Neque reprehenderit occaecati possimus ut dolore. Voluptates ut amet quod molestiae dignissimos cum ipsa. Earum iusto voluptatibus nihil velit quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df871477353304bc8e0300", "comment_id"=>"53df871477353304bc8c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc8e0300')} 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.2ms) Completed 200 OK in 42ms (Views: 39.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc910300'), "name"=>"Rhea King", "reference"=>"Adrienne Halvorson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc8f0300'), "author_name"=>"Jermaine Wisozk", "content"=>["Excepturi sapiente vitae ut et ab velit autem. Aliquid repellat velit mollitia. Consequatur dolore aut qui at maxime aliquam omnis. Magni voluptatibus et fugit molestiae qui perferendis. Quam dignissimos quae et."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc900300'), "author_name"=>"Mike Lemke", "content"=>["Reprehenderit corrupti voluptas architecto ducimus expedita. Id nisi ad perspiciatis sit vero error et. Eum aliquam iste rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df871477353304bc910300", "comment_id"=>"53df871477353304bc8f0300", "id"=>"53df871477353304bc900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4005ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df871477353304bc940300'), "name"=>"Gracie Renner", "reference"=>"Einar Fisher", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc920300'), "author_name"=>"Asa Block", "content"=>["In qui voluptates id. Dignissimos ullam vero voluptatem dolorem aspernatur. Consequuntur et reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('53df871477353304bc930300'), "author_name"=>"Meda Gulgowski", "content"=>["Reprehenderit iure nemo assumenda recusandae tempora. Totam deleniti soluta et. Doloribus animi omnis eveniet. Earum quis enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df871477353304bc930300", "product_id"=>"53df871477353304bc940300", "comment_id"=>"53df871477353304bc920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3988ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df871477353304bc940300'), "comments._id"=>BSON::ObjectId('53df871477353304bc920300'), "comments.0.comments._id"=>BSON::ObjectId('53df871477353304bc930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6519ms Redirected to http://test.host/products/53df871477353304bc940300/comments/53df871477353304bc920300/comments/53df871477353304bc930300 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('53df871477353304bc950300'), "firstname"=>"Delphia", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2653ms 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('53df871477353304bc960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Redirected to http://test.host/users/53df871477353304bc960300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2736ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871477353304bc970300'), "firstname"=>"Dessie", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2718ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df871477353304bc970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871477353304bc970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4013ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871477353304bc970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5845ms Redirected to http://test.host/users Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2401ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871477353304bc980300'), "firstname"=>"Assunta", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df871477353304bc980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871477353304bc980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms 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('53df871477353304bc990300'), "firstname"=>"Esta", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms 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.4236ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.8ms) Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871477353304bc9a0300'), "firstname"=>"Lorine", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df871477353304bc9b0300'), "firstname"=>"Verda", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df871477353304bc9b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871477353304bc9b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms 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('53df871477353304bc9c0300'), "firstname"=>"Harmony", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df871477353304bc9c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df871477353304bc9c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Unpermitted parameters: name Redirected to http://test.host/users/53df871477353304bc9c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms 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.3059ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms 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.2743ms 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.2738ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4956ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8749773533051b000000'), "firstname"=>"Foster", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 238.6675ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.5552ms 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('53df874a773533051b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8281ms Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4964ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b020000'), "firstname"=>"Enrique", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7272ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df874a773533051b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5738ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.0ms) Completed 200 OK in 77ms (Views: 74.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b030000'), "firstname"=>"Lilly", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6383ms 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.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b040000'), "firstname"=>"Eliza", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6194ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df874a773533051b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b050000'), "firstname"=>"Karley", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df874a773533051b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4082ms 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('53df874a773533051b060000'), "name"=>"Edmund Abbott", "reference"=>"Pierre Jast", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b070000'), "author_name"=>"Ms. Berniece Hansen", "content"=>["Reiciendis qui esse perferendis. Excepturi quas a possimus sed optio sint eaque. Mollitia doloremque et optio qui. Aperiam accusantium dolore sit quos totam explicabo architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5983ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df874a773533051b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5054ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df874a773533051b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2358ms Redirected to http://test.host/admin/products/53df874a773533051b060000/comments/53df874a773533051b080000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4449ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b090000'), "name"=>"Gretchen Schiller", "reference"=>"Carmel Boyle", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b0a0000'), "author_name"=>"Friedrich Murazik Sr.", "content"=>["At fugit dolore ullam tempora reprehenderit provident. Velit nulla vitae. Cum numquam nulla fugiat et optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df874a773533051b090000", "id"=>"53df874a773533051b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df874a773533051b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms Redirected to http://test.host/admin/products/53df874a773533051b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b0b0000'), "name"=>"Kaya Veum DDS", "reference"=>"Verona Reilly", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b0c0000'), "author_name"=>"Maverick Beier", "content"=>["Dolores accusantium ex id. Cupiditate eos delectus nisi. Mollitia sapiente explicabo omnis corporis voluptate excepturi qui. Labore sit consequuntur qui est optio molestiae odit. Voluptatem facere dolor accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df874a773533051b0b0000", "id"=>"53df874a773533051b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b0d0000'), "name"=>"Bertrand Runte Jr.", "reference"=>"Kyle Marks", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b0e0000'), "author_name"=>"Douglas Wilderman", "content"=>["Sunt ad et perferendis quae ipsum ut laboriosam. Praesentium recusandae ut dolores ipsa accusamus accusantium labore. Consequatur aut omnis veritatis aspernatur praesentium. Velit cupiditate ea. Veritatis rem ut aperiam voluptatem illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df874a773533051b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b0f0000'), "name"=>"Thora Rippin III", "reference"=>"Miss Jermain Altenwerth", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b100000'), "author_name"=>"Nelle Bernier", "content"=>["Minima aut quod sunt qui. Culpa nam ipsa adipisci sapiente molestiae delectus. Tenetur sequi reiciendis id voluptatibus porro. Corporis amet et accusantium. Eius eos quam explicabo in rem aut quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df874a773533051b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b110000'), "name"=>"Mr. Vada Hagenes", "reference"=>"Darrell Turcotte", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b120000'), "author_name"=>"Keaton Mosciski DVM", "content"=>["Libero nam sed. Non adipisci culpa consequatur dolorem quaerat nemo minus. Voluptates aut sunt. Similique velit reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df874a773533051b110000", "id"=>"53df874a773533051b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b130000'), "name"=>"Orin Kohler", "reference"=>"Mrs. Laverne Frami", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df874a773533051b140000'), "author_name"=>"Garfield Jenkins DVM", "content"=>["Officia eos in magni. Debitis natus quas quia. Id ipsam suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df874a773533051b140000", "product_id"=>"53df874a773533051b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3815ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b130000'), "comments._id"=>BSON::ObjectId('53df874a773533051b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5491ms Redirected to http://test.host/admin/products/53df874a773533051b130000/comments/53df874a773533051b140000 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('53df874a773533051b150000'), "name"=>"Athena Zulauf I", "reference"=>"Letha Prosacco", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b160000'), "firstname"=>"Hettie", "lastname"=>"Koelpin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df874a773533051b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms Redirected to http://test.host/admin/products/53df874a773533051b150000/manager Completed 302 Found in 8ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b180000'), "name"=>"Ludie Bahringer", "reference"=>"Cora Parisian", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b190000'), "firstname"=>"Johnathan", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1752ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df874a773533051b190000", "product_id"=>"53df874a773533051b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 15ms (Views: 11.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b1a0000'), "name"=>"Rafaela Little", "reference"=>"Miss Viviane Jast", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b1b0000'), "firstname"=>"Cristopher", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6320ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df874a773533051b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 6.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b1c0000'), "name"=>"Elinore Ruecker MD", "reference"=>"Angus Stamm", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b1d0000'), "firstname"=>"Tess", "lastname"=>"Cruickshank"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5372ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df874a773533051b1d0000", "product_id"=>"53df874a773533051b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4103ms Completed 200 OK in 7ms (Views: 3.9ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b1e0000'), "name"=>"Hilario Smitham", "reference"=>"Aryanna Johnson", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df874a773533051b1f0000'), "firstname"=>"Consuelo", "lastname"=>"Cassin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df874a773533051b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df874a773533051b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df874a773533051b1e0000/manager Completed 302 Found in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b200000'), "name"=>"Anais O'Conner", "reference"=>"Domenick Smith", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2698ms 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('53df874a773533051b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Redirected to http://test.host/admin/products/53df874a773533051b210000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2451ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b220000'), "name"=>"Mr. Eduardo Balistreri", "reference"=>"Ms. Alia Hahn", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3023ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df874a773533051b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms 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.2635ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b230000'), "name"=>"Charity Hegmann", "reference"=>"Thaddeus Rath", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df874a773533051b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 10ms (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('53df874a773533051b240000'), "name"=>"Dr. Alexzander Morar", "reference"=>"Alessandro Quigley", "quantity"=>"5"}] 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.5514ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (11.1ms) 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('53df874a773533051b250000'), "name"=>"Mabel Jacobson", "reference"=>"Miss Ashley Cruickshank", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df874a773533051b280000'), "name"=>"Houston Kuhlman", "reference"=>"Elody Bechtelar", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df874a773533051b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms 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('53df874a773533051b290000'), "name"=>"Dusty Tillman", "reference"=>"Selina Lindgren PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df874a773533051b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df874a773533051b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms Redirected to http://test.host/admin/products/53df874a773533051b290000 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('53df874a773533051b2a0000'), "firstname"=>"Bernard", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1510ms 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('53df874a773533051b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Redirected to http://test.host/admin/users/53df874a773533051b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1733ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df874a773533051b2c0000'), "firstname"=>"Clement", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2112ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df874a773533051b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df874a773533051b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df874a773533051b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4774ms 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.2306ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df874a773533051b2d0000'), "firstname"=>"Kaia", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df874a773533051b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df874a773533051b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53df874a773533051b2e0000'), "firstname"=>"Vicente", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms 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.3904ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.9ms) Completed 200 OK in 7ms (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('53df874a773533051b2f0000'), "firstname"=>"Carmella", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms 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.7ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df874a773533051b300000'), "firstname"=>"Keenan", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df874a773533051b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df874a773533051b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df874a773533051b310000'), "firstname"=>"Keenan", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df874a773533051b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df874a773533051b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df874a773533051b310000 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('53df874a773533051b320000'), "firstname"=>"Shawn", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1734ms 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('53df874a773533051b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms 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.1536ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b340000'), "firstname"=>"Angeline", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df874a773533051b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b350000'), "firstname"=>"Myrna", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b360000'), "firstname"=>"Skyla", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df874a773533051b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df874a773533051b370000'), "firstname"=>"Morgan", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2416ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df874a773533051b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df874a773533051b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b380000'), "name"=>"Elroy Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b390000'), "name"=>"Earl Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3a0000'), "name"=>"Yolanda Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3b0000'), "name"=>"Jake D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3c0000'), "name"=>"Clementine Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3d0000'), "name"=>"Kennith Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3e0000'), "name"=>"Cristina Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b3f0000'), "name"=>"Tressie Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b400000'), "name"=>"Rosendo Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b410000'), "name"=>"Unique Labadie IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b420000'), "name"=>"Winfield Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b430000'), "name"=>"Gussie Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b440000'), "name"=>"Lyla Macejkovic MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b450000'), "name"=>"Royce Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b460000'), "name"=>"Miss Maynard Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b470000'), "name"=>"Rupert Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b480000'), "name"=>"Maida Block V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b490000'), "name"=>"Montana Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4a0000'), "name"=>"Javonte Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4b0000'), "name"=>"Elmira Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4c0000'), "name"=>"Ursula Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4d0000'), "name"=>"Ms. Ransom Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4e0000'), "name"=>"Mireille Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b4f0000'), "name"=>"Shayne Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b500000'), "name"=>"Rosalinda Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b510000'), "name"=>"Greyson Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b520000'), "name"=>"Carley Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b530000'), "name"=>"Delmer Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b540000'), "name"=>"Lawrence Yost DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b550000'), "name"=>"Dr. Zita Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b560000'), "name"=>"Mrs. Zora Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b570000'), "name"=>"Stacey Aufderhar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b580000'), "name"=>"Terrill Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b590000'), "name"=>"Addison Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5a0000'), "name"=>"Dr. Chet Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5b0000'), "name"=>"Jasmin Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5c0000'), "name"=>"Yasmin Kub DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5d0000'), "name"=>"Wilber Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5e0000'), "name"=>"Mrs. Prince Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b5f0000'), "name"=>"Janae Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b600000'), "name"=>"Lelia Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b610000'), "name"=>"Electa Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b620000'), "name"=>"Ida Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b630000'), "name"=>"Lula Kiehn III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b640000'), "name"=>"Jerrod Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b650000'), "name"=>"Georgiana Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b660000'), "name"=>"Ona Little PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b670000'), "name"=>"Misty Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b680000'), "name"=>"Jacky Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b690000'), "name"=>"Laurine Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6a0000'), "name"=>"Emilie Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6b0000'), "name"=>"Miss Gianni Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6c0000'), "name"=>"Adrienne Fadel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6d0000'), "name"=>"Liliana Hackett Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6e0000'), "name"=>"Eileen Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b6f0000'), "name"=>"Eleanore Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b700000'), "name"=>"Valerie Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b710000'), "name"=>"Ahmad Bernier DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b720000'), "name"=>"Alec Schneider MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b730000'), "name"=>"Burley Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b740000'), "name"=>"Kavon Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b750000'), "name"=>"Glenda Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b760000'), "name"=>"Zakary Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b770000'), "name"=>"Icie Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b780000'), "name"=>"Zoie Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b790000'), "name"=>"Ari Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7a0000'), "name"=>"Ephraim McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7b0000'), "name"=>"Mariane Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7c0000'), "name"=>"Emelia Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7d0000'), "name"=>"Leo Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7e0000'), "name"=>"Daisha Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b7f0000'), "name"=>"Vickie Haag Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b800000'), "name"=>"Kristoffer Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b810000'), "name"=>"Dayana Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b820000'), "name"=>"Ms. Reyes Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b830000'), "name"=>"Carole Simonis Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b840000'), "name"=>"Margot Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b850000'), "name"=>"Antonetta Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b860000'), "name"=>"Charley Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b870000'), "name"=>"Betty Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b880000'), "name"=>"Nakia Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b890000'), "name"=>"Price Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8a0000'), "name"=>"Jose Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8b0000'), "name"=>"Kiley Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8c0000'), "name"=>"Breana McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8d0000'), "name"=>"Yadira Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8e0000'), "name"=>"Chelsea Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b8f0000'), "name"=>"Darren DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b900000'), "name"=>"Rosemarie Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b910000'), "name"=>"Orval Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b920000'), "name"=>"Francis Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b930000'), "name"=>"Milford Franecki Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b940000'), "name"=>"Otilia Steuber V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b950000'), "name"=>"Mafalda Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b960000'), "name"=>"Lacy Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b970000'), "name"=>"Ole Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2754ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms Redirected to http://test.host/categories/53df874a773533051b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3023ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b990000'), "name"=>"Filiberto Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b9a0000'), "name"=>"Joy Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b9b0000'), "name"=>"Carmel Bartell Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b9c0000'), "name"=>"Esther Stokes III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874a773533051b9d0000'), "name"=>"Dylan Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874a773533051b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9e0000'), "name"=>"David Auer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9f0000'), "name"=>"Lera Kuphal Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba00000'), "name"=>"Reuben Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba10000'), "name"=>"Dortha Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba20000'), "name"=>"Richie Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba30000'), "name"=>"Pierre Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba40000'), "name"=>"Miss Pietro Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba50000'), "name"=>"Earl Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba60000'), "name"=>"Elton Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba70000'), "name"=>"Mrs. Lenna Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba80000'), "name"=>"Aisha Kohler DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba90000'), "name"=>"Mr. Duane Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051baa0000'), "name"=>"Mrs. Faye Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bab0000'), "name"=>"Kara Roberts V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bac0000'), "name"=>"Arno Jakubowski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bad0000'), "name"=>"Gerry Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bae0000'), "name"=>"Krystal Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051baf0000'), "name"=>"Stan Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051baf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb00000'), "name"=>"Chester Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb10000'), "name"=>"Miss Luigi Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb20000'), "name"=>"Mrs. Cassandre Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb30000'), "name"=>"Archibald Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb40000'), "name"=>"Zoe Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb50000'), "name"=>"Joseph Kautzer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb60000'), "name"=>"Cornell Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb70000'), "name"=>"Douglas Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb80000'), "name"=>"Dr. Jorge Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb90000'), "name"=>"Elenor Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bba0000'), "name"=>"Dr. Lilliana Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bbb0000'), "name"=>"Ms. Gladys Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bbc0000'), "name"=>"Ismael Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bbc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bbd0000'), "name"=>"Dudley Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bbd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bbe0000'), "name"=>"Fannie Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bbf0000'), "name"=>"Deon Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc00000'), "name"=>"Ms. Jarret Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc10000'), "name"=>"Alexandrine Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc20000'), "name"=>"Mustafa Wiegand DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc30000'), "name"=>"Heath Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc40000'), "name"=>"Geoffrey Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc50000'), "name"=>"Cassie Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc60000'), "name"=>"Osvaldo Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc70000'), "name"=>"Miss Maybelle Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc80000'), "name"=>"Leanne McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bc90000'), "name"=>"Mrs. Irwin Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bca0000'), "name"=>"Regan Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bcb0000'), "name"=>"Jakob Bashirian III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bcc0000'), "name"=>"Miss Trey Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bcc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bcd0000'), "name"=>"Everardo Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bce0000'), "name"=>"Astrid Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bcf0000'), "name"=>"Oliver Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bcf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd00000'), "name"=>"Efren Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd10000'), "name"=>"Britney Boehm V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd20000'), "name"=>"Perry Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd30000'), "name"=>"Malvina Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd40000'), "name"=>"Kelli Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd50000'), "name"=>"Ms. Jayda Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd60000'), "name"=>"Alia McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd70000'), "name"=>"Noemi Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd80000'), "name"=>"Tianna Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bd90000'), "name"=>"Dr. Ursula Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bd90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bda0000'), "name"=>"Tavares Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bda0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bdb0000'), "name"=>"Miss Melody Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bdc0000'), "name"=>"Brian Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bdc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bdd0000'), "name"=>"Casimir Conroy MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bdd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bde0000'), "name"=>"Dangelo Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bdf0000'), "name"=>"Wanda Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.8928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be00000'), "name"=>"Coy Weissnat MD"}] 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={"category_id"=>BSON::ObjectId('53df874b773533051be00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be10000'), "name"=>"Rachelle Ebert"}] 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={"category_id"=>BSON::ObjectId('53df874b773533051be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be20000'), "name"=>"Kaleb Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be30000'), "name"=>"Adrien Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be40000'), "name"=>"Mr. Adah Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be50000'), "name"=>"Myrtis Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be60000'), "name"=>"Ezekiel Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be70000'), "name"=>"Mr. Maya King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be80000'), "name"=>"Evalyn Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051be90000'), "name"=>"Marshall McLaughlin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051be90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bea0000'), "name"=>"Demetrius Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051beb0000'), "name"=>"Jayson Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bec0000'), "name"=>"Estella Kilback Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bed0000'), "name"=>"Clarissa Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bee0000'), "name"=>"Miss Andres Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bef0000'), "name"=>"Jalyn Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf00000'), "name"=>"Clinton Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf10000'), "name"=>"Mrs. Alanis Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf20000'), "name"=>"Judah Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf30000'), "name"=>"Leo Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf40000'), "name"=>"Mr. Linwood Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf50000'), "name"=>"Gregorio Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf60000'), "name"=>"Miss Collin Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf70000'), "name"=>"Alexis Kreiger MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf80000'), "name"=>"Dale Auer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2714ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df874a773533051b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df874a773533051b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df874a773533051b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2857ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bf90000'), "name"=>"Kristian Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bfa0000'), "name"=>"Jennings Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bfa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bfb0000'), "name"=>"Linda Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bfc0000'), "name"=>"Justice Schmeler III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bfd0000'), "name"=>"Lelah Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bfd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bfe0000'), "name"=>"Idella Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bff0000'), "name"=>"Emory Borer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b000100'), "name"=>"Cameron Steuber"}] 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={"category_id"=>BSON::ObjectId('53df874b773533051b000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b010100'), "name"=>"Ms. April Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b020100'), "name"=>"Maurice Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b030100'), "name"=>"Vince Predovic IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b040100'), "name"=>"Mr. Chris Vandervort"}] 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={"category_id"=>BSON::ObjectId('53df874b773533051b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b050100'), "name"=>"Hilario Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b060100'), "name"=>"Magnolia Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b070100'), "name"=>"Vickie Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b080100'), "name"=>"Jacinto Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b090100'), "name"=>"Dr. Marjorie Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0a0100'), "name"=>"Elwin Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0b0100'), "name"=>"Mack Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0c0100'), "name"=>"Garett Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0d0100'), "name"=>"Mr. Jerod Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0e0100'), "name"=>"Cristian VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b0f0100'), "name"=>"Althea Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b100100'), "name"=>"Rusty Frami DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b110100'), "name"=>"Cali Pollich DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b120100'), "name"=>"Dr. Eloisa Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b130100'), "name"=>"Boris Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b140100'), "name"=>"Jorge Mayert Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b150100'), "name"=>"Moises McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b160100'), "name"=>"Miss Maryse Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b170100'), "name"=>"Monty Gerhold II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b180100'), "name"=>"Leanna Breitenberg DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b190100'), "name"=>"Isadore Marvin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1a0100'), "name"=>"Aurelio Kulas IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1b0100'), "name"=>"Calista Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1c0100'), "name"=>"Margie Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1d0100'), "name"=>"Barney Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1e0100'), "name"=>"Katharina Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b1f0100'), "name"=>"Wallace Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b200100'), "name"=>"Dariana Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b210100'), "name"=>"Dr. Ettie Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b220100'), "name"=>"Martina Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b230100'), "name"=>"Zella Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b240100'), "name"=>"Mr. Charlie Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b250100'), "name"=>"Kennedi Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b260100'), "name"=>"Jakob Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b270100'), "name"=>"Mr. Deanna Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b280100'), "name"=>"Maryam Wilderman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b290100'), "name"=>"Jimmie Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2a0100'), "name"=>"Mae O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2b0100'), "name"=>"Sylvester Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2c0100'), "name"=>"Elsie Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2d0100'), "name"=>"Dr. Jaycee Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2e0100'), "name"=>"Mrs. Ethyl Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b2f0100'), "name"=>"Kenton Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b300100'), "name"=>"Jeff Turcotte DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b310100'), "name"=>"Jeanne Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b320100'), "name"=>"Miss Krystina Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b330100'), "name"=>"Talia Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b340100'), "name"=>"Betsy Tremblay III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b350100'), "name"=>"Cullen Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b360100'), "name"=>"Chet Rolfson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b370100'), "name"=>"Murray Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b380100'), "name"=>"Darron Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b390100'), "name"=>"Ora Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3a0100'), "name"=>"Lia Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3b0100'), "name"=>"Jaiden Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3c0100'), "name"=>"Mrs. Audra Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3d0100'), "name"=>"Erika Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3e0100'), "name"=>"Clement Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b3f0100'), "name"=>"Emily Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b400100'), "name"=>"Johnathan Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b410100'), "name"=>"Sidney Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b420100'), "name"=>"Athena Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b430100'), "name"=>"Delores Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b440100'), "name"=>"Gennaro Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b450100'), "name"=>"Mrs. Jensen Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b460100'), "name"=>"Peter Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b470100'), "name"=>"Elmore Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b480100'), "name"=>"Fatima Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b490100'), "name"=>"Florence Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4a0100'), "name"=>"Cindy Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4b0100'), "name"=>"Brad Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4c0100'), "name"=>"Theron Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4d0100'), "name"=>"Ms. Isidro Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4e0100'), "name"=>"Ashton Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b4f0100'), "name"=>"Rylee Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b500100'), "name"=>"Christopher Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b510100'), "name"=>"Gwen Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b520100'), "name"=>"Vivianne Wolf Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b530100'), "name"=>"Joseph Howell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b540100'), "name"=>"Malvina Jast IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b550100'), "name"=>"Nelle Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b560100'), "name"=>"Raoul Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b570100'), "name"=>"Ms. Lavada Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b580100'), "name"=>"Miss Corbin Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df874b773533051bf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df874b773533051bf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (31.1ms) Completed 200 OK in 36ms (Views: 35.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b590100'), "name"=>"Coy Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5a0100'), "name"=>"Gwendolyn Stehr"}] 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={"category_id"=>BSON::ObjectId('53df874b773533051b5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5b0100'), "name"=>"Jon Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5c0100'), "name"=>"Candice Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5d0100'), "name"=>"Christop Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5e0100'), "name"=>"Alexandria Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b5f0100'), "name"=>"Mrs. Jasmin Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b600100'), "name"=>"Miss Anita Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b610100'), "name"=>"Mervin Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b620100'), "name"=>"Benjamin Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b630100'), "name"=>"Felix Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b640100'), "name"=>"Kurtis Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b650100'), "name"=>"Amelia Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b660100'), "name"=>"Cassandre Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b670100'), "name"=>"Bettie Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b680100'), "name"=>"Sylvan O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b690100'), "name"=>"Dr. Eloisa Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6a0100'), "name"=>"Dr. Tianna Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6b0100'), "name"=>"Celestino Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6c0100'), "name"=>"Ana Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6d0100'), "name"=>"Nick Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6e0100'), "name"=>"Arielle D'Amore MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b6f0100'), "name"=>"Arvel Beer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b700100'), "name"=>"Jermaine Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b710100'), "name"=>"Newton Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b720100'), "name"=>"Antonia Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b730100'), "name"=>"Heather Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b740100'), "name"=>"Zoe Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b750100'), "name"=>"Golden Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b760100'), "name"=>"Hattie Crist DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b770100'), "name"=>"Luciano Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b780100'), "name"=>"Bryana Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b790100'), "name"=>"Rowan Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7a0100'), "name"=>"Loy Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7b0100'), "name"=>"Queenie Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7c0100'), "name"=>"Peyton Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7d0100'), "name"=>"Mr. Tyrell Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7e0100'), "name"=>"Verla Erdman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b7f0100'), "name"=>"Gia Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b800100'), "name"=>"Mac Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b810100'), "name"=>"Dessie Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b820100'), "name"=>"Dr. Roselyn Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b830100'), "name"=>"Vivianne Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b840100'), "name"=>"Molly Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b850100'), "name"=>"Johnnie Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b860100'), "name"=>"Geovanni D'Amore DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b870100'), "name"=>"Cedrick Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b880100'), "name"=>"Tomasa Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b890100'), "name"=>"Kelton Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8a0100'), "name"=>"Mr. Hadley Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8b0100'), "name"=>"Magali Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8c0100'), "name"=>"Austen Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8d0100'), "name"=>"Jayda Marquardt DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8e0100'), "name"=>"Catalina Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b8f0100'), "name"=>"Miss Gladyce Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b900100'), "name"=>"Carmela Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b910100'), "name"=>"Guiseppe Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b920100'), "name"=>"Arturo Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b930100'), "name"=>"Nova Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b940100'), "name"=>"Gustave Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b950100'), "name"=>"Dr. Layne Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b960100'), "name"=>"Lura MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b970100'), "name"=>"Lennie Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b980100'), "name"=>"Marta Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b990100'), "name"=>"Anjali Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9a0100'), "name"=>"Chester Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9b0100'), "name"=>"Lucie Carroll Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9c0100'), "name"=>"Paul Ullrich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9d0100'), "name"=>"Tyrese Weissnat Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9e0100'), "name"=>"Courtney Veum II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051b9f0100'), "name"=>"Ms. Maggie Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051b9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba00100'), "name"=>"Mr. Esteban Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba10100'), "name"=>"Wiley Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba20100'), "name"=>"Cyrus Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba30100'), "name"=>"Buck Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba40100'), "name"=>"Garrick Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba50100'), "name"=>"Madelynn Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba60100'), "name"=>"Dayna Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba70100'), "name"=>"Garrett Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba80100'), "name"=>"Kristin Kertzmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051ba90100'), "name"=>"Andy Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051ba90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051baa0100'), "name"=>"Garth Goyette I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051baa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bab0100'), "name"=>"Ellsworth Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bac0100'), "name"=>"Jordyn Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bad0100'), "name"=>"Ms. Alec Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bae0100'), "name"=>"Robin Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051baf0100'), "name"=>"Darren McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051baf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb00100'), "name"=>"Lexi Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb10100'), "name"=>"Ebony Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb20100'), "name"=>"Magdalen Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb30100'), "name"=>"Uriah Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb40100'), "name"=>"Ms. Orie Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb50100'), "name"=>"Jessy Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb60100'), "name"=>"Trever Kuphal II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb70100'), "name"=>"Ayana Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df874b773533051bb80100'), "name"=>"Clyde Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df874b773533051bb80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216268559713] runtime: 0.0988ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (14.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2361ms Completed 200 OK in 23948ms (Views: 23947.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bb90100'), "name"=>"Mrs. Alden Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bb90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bba0100'), "name"=>"Bettye Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bbb0100'), "name"=>"Micaela Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bbb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bbc0100'), "name"=>"Foster Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bbc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bbd0100'), "name"=>"Miss Esteban Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bbd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bbe0100'), "name"=>"Jo Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bbe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bbf0100'), "name"=>"Ethan Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bbf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc00100'), "name"=>"Roscoe Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc10100'), "name"=>"Weldon Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc20100'), "name"=>"Eliza Ledner V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc30100'), "name"=>"Viviane O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc40100'), "name"=>"Anabel Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc50100'), "name"=>"Jose Windler III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc60100'), "name"=>"Martine Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc70100'), "name"=>"Gerda Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc80100'), "name"=>"Keanu Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bc90100'), "name"=>"Lexus Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bc90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bca0100'), "name"=>"Alva Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bcb0100'), "name"=>"Wilton Prosacco PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bcb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bcc0100'), "name"=>"Queenie Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bcc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bcd0100'), "name"=>"Ms. Ruth Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bcd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bce0100'), "name"=>"Dora Jast III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bcf0100'), "name"=>"Reyna Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bcf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd00100'), "name"=>"Mrs. Eveline Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd10100'), "name"=>"Ebba Will IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd20100'), "name"=>"Zoila Nicolas II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd30100'), "name"=>"Giovani Skiles Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd40100'), "name"=>"Mohamed Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd50100'), "name"=>"Rolando Barrows II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd60100'), "name"=>"Vern Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd70100'), "name"=>"German Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd80100'), "name"=>"Heloise Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bd90100'), "name"=>"Monte Kris Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bd90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bda0100'), "name"=>"Lulu Rosenbaum V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bda0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bdb0100'), "name"=>"Edyth Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bdb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bdc0100'), "name"=>"Moises Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bdc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bdd0100'), "name"=>"Dr. Giles Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bdd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bde0100'), "name"=>"Breana Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bde0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bdf0100'), "name"=>"Jaeden Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bdf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be00100'), "name"=>"Annamarie Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be10100'), "name"=>"Mya Waelchi DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be20100'), "name"=>"Lilyan Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be30100'), "name"=>"Phoebe Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be40100'), "name"=>"Trudie Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be50100'), "name"=>"Madelynn Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be60100'), "name"=>"Margot Quitzon I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be70100'), "name"=>"Saul Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be80100'), "name"=>"Hillary Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051be90100'), "name"=>"Kiel O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051be90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bea0100'), "name"=>"Elvis Haley Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051beb0100'), "name"=>"Erik Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051beb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bec0100'), "name"=>"Eden Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bed0100'), "name"=>"Ms. Meagan Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bee0100'), "name"=>"Carlo Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bef0100'), "name"=>"Anissa Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf00100'), "name"=>"Ora Hintz IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf10100'), "name"=>"Lazaro Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf20100'), "name"=>"Yvette Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf30100'), "name"=>"Aubrey Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf40100'), "name"=>"Christelle Murphy DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf50100'), "name"=>"Peggie Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf60100'), "name"=>"Dr. Hilda Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf70100'), "name"=>"Mohamed Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf80100'), "name"=>"Mrs. Kaden Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bf90100'), "name"=>"Jacklyn Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bf90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bfa0100'), "name"=>"Marcos Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bfa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bfb0100'), "name"=>"Dr. Trinity Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bfb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bfc0100'), "name"=>"Judah Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bfc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bfd0100'), "name"=>"Vesta Tromp I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bfd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bfe0100'), "name"=>"Carlee Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bfe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051bff0100'), "name"=>"Enola Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051bff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b000200'), "name"=>"Mrs. Dallas Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b010200'), "name"=>"Brycen Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.4975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b020200'), "name"=>"Irma McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b030200'), "name"=>"Marielle Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b040200'), "name"=>"Brian Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b050200'), "name"=>"Dr. Tyrell Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b060200'), "name"=>"Jovany Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b070200'), "name"=>"Lori Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b080200'), "name"=>"Adah Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b090200'), "name"=>"Orion Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0a0200'), "name"=>"Jayson Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0b0200'), "name"=>"Mrs. Jerald Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0c0200'), "name"=>"Ms. Hipolito Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0d0200'), "name"=>"Clarissa Collier I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0e0200'), "name"=>"Alan Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b0f0200'), "name"=>"Anthony Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b100200'), "name"=>"Verona Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b110200'), "name"=>"Micah Weimann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b120200'), "name"=>"Rhoda Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b130200'), "name"=>"Lue Braun V"}] 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={"category_id"=>BSON::ObjectId('53df8763773533051b130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b140200'), "name"=>"Taurean Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b150200'), "name"=>"Mrs. Keyshawn Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b160200'), "name"=>"Miss Danika Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b170200'), "name"=>"Anika Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8763773533051b180200'), "name"=>"Magnolia Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8763773533051b180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134307722] runtime: 0.1239ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (8.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3316ms Completed 200 OK in 3292ms (Views: 3291.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b190200'), "name"=>"Clovis O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1a0200'), "name"=>"Thomas Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1b0200'), "name"=>"Jesus Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1c0200'), "name"=>"Valentine Hayes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1d0200'), "name"=>"Dashawn Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1e0200'), "name"=>"Carol Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1f0200'), "name"=>"Miss Willard Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b200200'), "name"=>"Arturo Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b210200'), "name"=>"Glenna Zieme III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b220200'), "name"=>"Greg Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b230200'), "name"=>"Cecile Schiller I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b240200'), "name"=>"Miss Jabari Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b250200'), "name"=>"Mr. Kevin Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b260200'), "name"=>"Dr. Violette Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b270200'), "name"=>"Kacie Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b280200'), "name"=>"Mrs. Chyna Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.7581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b290200'), "name"=>"Rahul Schmidt PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2a0200'), "name"=>"Aleen Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2b0200'), "name"=>"Abbey Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2c0200'), "name"=>"Hailee Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2d0200'), "name"=>"River Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2e0200'), "name"=>"Karina Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2f0200'), "name"=>"Albin Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b300200'), "name"=>"Alaina Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b310200'), "name"=>"Miss Hoyt Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b320200'), "name"=>"Yasmine Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b330200'), "name"=>"Miss Shayne Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b340200'), "name"=>"Miss Winifred Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b350200'), "name"=>"Angelica Murazik Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b360200'), "name"=>"Pete Rath DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b370200'), "name"=>"Dr. Rhoda Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b380200'), "name"=>"Mrs. Raoul Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b390200'), "name"=>"Lue Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3a0200'), "name"=>"Miss Murray Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3b0200'), "name"=>"Bill Vandervort PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3c0200'), "name"=>"Mrs. Filiberto West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3d0200'), "name"=>"Miss Emilia Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3e0200'), "name"=>"Emerald Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3f0200'), "name"=>"Mr. Jazmin Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b400200'), "name"=>"Cindy Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b410200'), "name"=>"Megane Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b420200'), "name"=>"Walter Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b430200'), "name"=>"Ambrose Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b440200'), "name"=>"Janet Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b450200'), "name"=>"Alaina Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b460200'), "name"=>"Alyce Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b470200'), "name"=>"Vivianne Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b480200'), "name"=>"Dr. Delta Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b490200'), "name"=>"Timothy Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4a0200'), "name"=>"Tracy Altenwerth V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4b0200'), "name"=>"Arvel Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4c0200'), "name"=>"Aurelia Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4d0200'), "name"=>"Eloise Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4e0200'), "name"=>"Marcelle Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4f0200'), "name"=>"Mr. Landen Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b500200'), "name"=>"Shirley Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b510200'), "name"=>"Wilbert Huels Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b520200'), "name"=>"Daisha Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b530200'), "name"=>"Mrs. Beaulah Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b540200'), "name"=>"Brant Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b550200'), "name"=>"Whitney Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b560200'), "name"=>"Leann Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b570200'), "name"=>"Akeem Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b580200'), "name"=>"Earnestine Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b590200'), "name"=>"Lessie Hoppe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5a0200'), "name"=>"Junius Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5b0200'), "name"=>"Mallory Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5c0200'), "name"=>"Leanna Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5d0200'), "name"=>"Dr. Lacey Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5e0200'), "name"=>"Ms. Ludie Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b5f0200'), "name"=>"Nikki Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b600200'), "name"=>"Clinton O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b610200'), "name"=>"Rowena Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b620200'), "name"=>"Charley Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b630200'), "name"=>"Cameron Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b640200'), "name"=>"Juanita Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.8432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b650200'), "name"=>"Dr. Demario Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b660200'), "name"=>"Marianne Crooks Jr."}] 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={"category_id"=>BSON::ObjectId('53df8767773533051b660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b670200'), "name"=>"Bessie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b680200'), "name"=>"Josefina Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b690200'), "name"=>"Rae Romaguera PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6a0200'), "name"=>"Allison Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6b0200'), "name"=>"Lora Wyman"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051b6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6c0200'), "name"=>"Clovis Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6d0200'), "name"=>"Marty Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6e0200'), "name"=>"Libby Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b6f0200'), "name"=>"Kari Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b700200'), "name"=>"Nathanial Spinka I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b710200'), "name"=>"Monica Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b720200'), "name"=>"Adrain Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b730200'), "name"=>"Nia Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b740200'), "name"=>"Teresa Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b750200'), "name"=>"Dr. Cole Erdman"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051b750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b760200'), "name"=>"Luigi Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b770200'), "name"=>"Vernie Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b780200'), "name"=>"Cordelia Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.2ms) Completed 200 OK in 37ms (Views: 36.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7a0200'), "name"=>"Electa Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7b0200'), "name"=>"Loma Dicki Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7c0200'), "name"=>"Lavinia Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7d0200'), "name"=>"Felicity Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7e0200'), "name"=>"Marcelino Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b7f0200'), "name"=>"Dereck Wunsch"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051b7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b800200'), "name"=>"Nathen Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b810200'), "name"=>"Ron Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b820200'), "name"=>"Rosalinda Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b830200'), "name"=>"Deanna Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b840200'), "name"=>"Ben Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b850200'), "name"=>"Myrtis Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b860200'), "name"=>"Unique Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.8349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b870200'), "name"=>"Kayla Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b880200'), "name"=>"Chad Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b890200'), "name"=>"Mr. Candida Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8a0200'), "name"=>"Jaida Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8b0200'), "name"=>"Rigoberto Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8c0200'), "name"=>"Manley Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8d0200'), "name"=>"Miss Vance Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8e0200'), "name"=>"Citlalli Corkery I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b8f0200'), "name"=>"Dr. Frankie Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b900200'), "name"=>"Jarod Bechtelar III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b910200'), "name"=>"Alisha Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b920200'), "name"=>"Billie Kemmer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b930200'), "name"=>"Jude Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b940200'), "name"=>"Rodolfo Luettgen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b950200'), "name"=>"Xzavier Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b960200'), "name"=>"Anjali Corkery I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b970200'), "name"=>"Ashleigh Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b980200'), "name"=>"Rosemarie Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b990200'), "name"=>"Alverta Walter MD"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051b990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9a0200'), "name"=>"Emmet Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9b0200'), "name"=>"Shawna Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9c0200'), "name"=>"Esther Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9d0200'), "name"=>"Elroy Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9e0200'), "name"=>"Maegan Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b9f0200'), "name"=>"Dina Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba00200'), "name"=>"Brandyn Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba10200'), "name"=>"Maurine Boyer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba20200'), "name"=>"Ms. Misael Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba30200'), "name"=>"Rocio Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba40200'), "name"=>"Abbey Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba50200'), "name"=>"Dominique Conroy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba60200'), "name"=>"Orrin Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba70200'), "name"=>"Mr. Tristian Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba80200'), "name"=>"Regan Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051ba90200'), "name"=>"Samantha Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051ba90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051baa0200'), "name"=>"Jovani Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051baa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bab0200'), "name"=>"Ms. Tiara Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bac0200'), "name"=>"Robb Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bad0200'), "name"=>"Anastasia Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bae0200'), "name"=>"Esta Grimes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051baf0200'), "name"=>"Hermann Pfannerstill"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051baf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb00200'), "name"=>"Ms. Derick Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb10200'), "name"=>"Candido Larkin"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051bb10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb20200'), "name"=>"Elijah Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb30200'), "name"=>"Joany Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.9138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb40200'), "name"=>"Devante Murphy Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb50200'), "name"=>"Elian Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb60200'), "name"=>"Gwendolyn Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb70200'), "name"=>"Jesus DuBuque Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb80200'), "name"=>"Ms. Jarred Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bb90200'), "name"=>"Angela Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bb90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bba0200'), "name"=>"Neil Lindgren"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051bba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bbb0200'), "name"=>"Willis Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bbb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bbc0200'), "name"=>"Rachel Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bbc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bbd0200'), "name"=>"Mrs. Lacey Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bbd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bbe0200'), "name"=>"Miss Rory Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bbe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bbf0200'), "name"=>"Lesley Heaney DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bbf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc00200'), "name"=>"Otho Schmidt V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc10200'), "name"=>"Caroline Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc20200'), "name"=>"Mateo Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc30200'), "name"=>"Sandrine Borer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc40200'), "name"=>"Delfina Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc50200'), "name"=>"Miss Jazmin Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc60200'), "name"=>"Thad Boyle"}] 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={"category_id"=>BSON::ObjectId('53df8767773533051bc60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc70200'), "name"=>"Ally Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc80200'), "name"=>"Gunnar Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bc90200'), "name"=>"Dr. Tiara Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bc90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bca0200'), "name"=>"Dannie Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bcb0200'), "name"=>"Bertha O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bcb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bcc0200'), "name"=>"Mrs. Sarina Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bcc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bcd0200'), "name"=>"Imelda Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bcd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bce0200'), "name"=>"Jameson Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bcf0200'), "name"=>"Miss Linnea Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bcf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd00200'), "name"=>"Jaunita Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd10200'), "name"=>"Nicholaus Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd20200'), "name"=>"Moriah Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd30200'), "name"=>"Mrs. Cletus Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd40200'), "name"=>"Ervin Toy IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd50200'), "name"=>"Orland Romaguera DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd60200'), "name"=>"Vicente Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd70200'), "name"=>"Dr. Fabian Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd80200'), "name"=>"Ms. Moises Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bd90200'), "name"=>"Stone Runolfsdottir Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bd90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8767773533051b7a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8767773533051b7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bda0200'), "name"=>"Anahi Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bdb0200'), "name"=>"Shirley Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bdb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bdc0200'), "name"=>"Elsie Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bdc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bdd0200'), "name"=>"Josephine Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bdd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bde0200'), "name"=>"Cody Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bde0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bdf0200'), "name"=>"Ramona Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bdf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be00200'), "name"=>"Buster Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be10200'), "name"=>"Javonte Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be20200'), "name"=>"Mrs. Harmony Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be30200'), "name"=>"Celestino McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be40200'), "name"=>"Noelia Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be50200'), "name"=>"Kamren Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be60200'), "name"=>"Oleta Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be70200'), "name"=>"Emmalee Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be80200'), "name"=>"Garnett O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051be90200'), "name"=>"Joana Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051be90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bea0200'), "name"=>"Miss Kristin DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051beb0200'), "name"=>"Miss Randall Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051beb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bec0200'), "name"=>"Daphne Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bed0200'), "name"=>"Camila Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bee0200'), "name"=>"Queen Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bef0200'), "name"=>"Mr. Landen Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf00200'), "name"=>"Joany Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf10200'), "name"=>"Dewitt Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf20200'), "name"=>"Eldridge Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf30200'), "name"=>"Charley Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf40200'), "name"=>"Mervin Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf50200'), "name"=>"Eileen Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf60200'), "name"=>"Ward Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf70200'), "name"=>"Ceasar Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf80200'), "name"=>"Edyth Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bf90200'), "name"=>"Abagail Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bf90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bfa0200'), "name"=>"Reina Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bfa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bfb0200'), "name"=>"Dr. Donato Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bfb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bfc0200'), "name"=>"Anjali Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bfc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bfd0200'), "name"=>"Mateo McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bfd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bfe0200'), "name"=>"Vito Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bfe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051bff0200'), "name"=>"Eriberto Brakus PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b000300'), "name"=>"Kylee Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b010300'), "name"=>"Aditya Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b020300'), "name"=>"Destiney Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b030300'), "name"=>"Jaron Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b040300'), "name"=>"Cole Nader V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b050300'), "name"=>"Keon Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b060300'), "name"=>"Reinhold Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b070300'), "name"=>"Caterina Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b080300'), "name"=>"George Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b090300'), "name"=>"Maxwell Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0a0300'), "name"=>"Velva Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0b0300'), "name"=>"Hilbert Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0c0300'), "name"=>"Caden Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0d0300'), "name"=>"Diamond Blanda Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0e0300'), "name"=>"Amelie Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b0f0300'), "name"=>"Lew Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b100300'), "name"=>"Burnice Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b110300'), "name"=>"Mikel Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b120300'), "name"=>"Darion Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b130300'), "name"=>"Ms. Doyle Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b140300'), "name"=>"Elmira McKenzie DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b150300'), "name"=>"Mathias Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b160300'), "name"=>"Kaya O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b170300'), "name"=>"Geovanny Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b180300'), "name"=>"Miss Roel King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b190300'), "name"=>"Bobbie Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1a0300'), "name"=>"Dr. Monroe Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1b0300'), "name"=>"Serenity Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1c0300'), "name"=>"Jon Bogisich Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1d0300'), "name"=>"Destiny Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1e0300'), "name"=>"Daniela Jakubowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b1f0300'), "name"=>"Dr. Madelynn Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b1f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b200300'), "name"=>"Deion Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b210300'), "name"=>"Elroy Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b220300'), "name"=>"Mr. Gilbert Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b230300'), "name"=>"George Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b240300'), "name"=>"Mrs. Kameron Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b250300'), "name"=>"Eli Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b260300'), "name"=>"Jevon Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b270300'), "name"=>"Iva Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b280300'), "name"=>"Tyrique Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b290300'), "name"=>"Katharina Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2a0300'), "name"=>"Weston Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2b0300'), "name"=>"Emmett Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2c0300'), "name"=>"Kareem Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2d0300'), "name"=>"Kaelyn Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2e0300'), "name"=>"Thelma Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b2f0300'), "name"=>"Lenora Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b2f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b300300'), "name"=>"April Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b310300'), "name"=>"Travon Metz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b320300'), "name"=>"Dejah Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b330300'), "name"=>"Leilani Lehner II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b340300'), "name"=>"Bonnie Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b350300'), "name"=>"Berniece Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b360300'), "name"=>"Mr. Lillian Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b370300'), "name"=>"Carlotta Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b380300'), "name"=>"Peggie Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8767773533051b390300'), "name"=>"Mazie Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051b390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8767773533051bda0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8767773533051bda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8767773533051bda0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8767773533051bda0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms Redirected to http://test.host/categories/53df8767773533051bda0200 Completed 302 Found in 6ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3a0300'), "name"=>"Sedrick Towne", "reference"=>"Mr. Kiara Kozey", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b3b0300'), "author_name"=>"Emerson Christiansen", "content"=>["Quod at asperiores. Ipsam mollitia et odio est sunt omnis. Non et fuga laudantium. Eveniet nihil quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8767773533051b3a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8767773533051b3c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7352ms Redirected to http://test.host/products/53df8767773533051b3a0300/comments/53df8767773533051b3c0300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3d0300'), "name"=>"Triston Reinger", "reference"=>"Robb Rolfson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b3e0300'), "author_name"=>"Cornelius Brown", "content"=>["Tenetur est harum. Officiis ea esse dicta quia non sequi. Et consequatur aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8767773533051b3d0300", "id"=>"53df8767773533051b3e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8767773533051b3e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms Redirected to http://test.host/products/53df8767773533051b3d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b3f0300'), "name"=>"Haley Batz", "reference"=>"Mazie Ryan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b400300'), "author_name"=>"Ms. Dannie Legros", "content"=>["Est provident quos hic qui distinctio esse. Aperiam consequatur et quis. Qui repudiandae consequuntur aperiam et quo sit. Voluptas et ab sint est aliquid itaque. Quisquam perferendis in quae neque ratione nesciunt praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8767773533051b3f0300", "id"=>"53df8767773533051b400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b3f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b410300'), "name"=>"Johnnie Pagac", "reference"=>"Marlon Koelpin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b420300'), "author_name"=>"Wilfredo Kuhlman", "content"=>["Quas officiis dicta et quidem a libero iste. Labore soluta libero ut esse velit dolor quibusdam. Molestiae eos consequuntur autem. Ut facilis dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8767773533051b410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b430300'), "name"=>"Kaleb Bahringer DVM", "reference"=>"Herminio Collier", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b440300'), "author_name"=>"Sydney Koss V", "content"=>["Sint labore blanditiis quo. Voluptas perferendis ut. Ut voluptatem dicta voluptas officia repudiandae. Laboriosam exercitationem omnis doloribus soluta. Dolores reprehenderit quibusdam aut et autem doloribus consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8767773533051b430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b450300'), "name"=>"Samara Ritchie", "reference"=>"Joel Bayer", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b460300'), "author_name"=>"Rocio Huels", "content"=>["Non molestiae ad atque unde. Corrupti non porro minima ipsum. Quae aspernatur culpa. Delectus nulla minus sed amet et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8767773533051b450300", "id"=>"53df8767773533051b460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b470300'), "name"=>"Miss Irving Legros", "reference"=>"Ariane Lynch PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b480300'), "author_name"=>"Candida Hoppe", "content"=>["Aut dolores amet optio architecto molestias voluptatem doloribus. Possimus atque necessitatibus consequatur quos. Vel necessitatibus maiores. Aut est in ut delectus. Enim occaecati sit consequatur dolore assumenda omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8767773533051b470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b490300'), "name"=>"Waldo Kohler", "reference"=>"Mrs. Yasmeen Larson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b4a0300'), "author_name"=>"Clair Ziemann", "content"=>["Perspiciatis hic cupiditate ad molestias autem consectetur. Quisquam soluta eum. Sint fuga eligendi eaque aut aliquam. Quae aspernatur velit omnis cupiditate non animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8767773533051b490300", "id"=>"53df8767773533051b4a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4173ms Completed 200 OK in 6ms (Views: 3.3ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4b0300'), "name"=>"Mr. Imelda Schamberger", "reference"=>"Blair Barrows", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8767773533051b4c0300'), "author_name"=>"Catherine Jenkins", "content"=>["Rerum tempore voluptas ratione omnis adipisci dolores. Voluptates quod repellat repellendus dignissimos voluptas consequatur aut. Iste aut quisquam. Sit magni ipsam accusantium non. Ut et sit exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6175ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8767773533051b4c0300", "product_id"=>"53df8767773533051b4b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b4b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4618ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8767773533051b4b0300'), "comments._id"=>BSON::ObjectId('53df8767773533051b4c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7080ms Redirected to http://test.host/products/53df8767773533051b4b0300/comments/53df8767773533051b4c0300 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('53df8767773533051b4d0300'), "firstname"=>"Carolina", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3487ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3735ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Redirected to http://test.host/admin/clients/53df8767773533051b4e0300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3451ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8767773533051b4f0300'), "firstname"=>"Sienna", "lastname"=>"Upton"}] 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=>"clients", :query=>{}} runtime: 0.3427ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8767773533051b4f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8767773533051b4f0300')} 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('53df8767773533051b4f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms 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.3349ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8767773533051b500300'), "firstname"=>"Rick", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8767773533051b500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8767773533051b500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) 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('53df8767773533051b510300'), "firstname"=>"Kamron", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.4567ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4679ms Completed 200 OK in 42ms (Views: 40.5ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8768773533051b520300'), "firstname"=>"Merritt", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0602ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8768773533051b530300'), "firstname"=>"Lincoln", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8768773533051b530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8768773533051b540300'), "firstname"=>"Nicklaus", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8768773533051b540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms Redirected to http://test.host/admin/clients/53df8768773533051b540300 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('53df8768773533051b550300'), "firstname"=>"Jamey", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms 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('53df8768773533051b560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms Redirected to http://test.host/clients/53df8768773533051b560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1922ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8768773533051b570300'), "firstname"=>"Elouise", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1599ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8768773533051b570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms 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('53df8768773533051b580300'), "firstname"=>"Clement", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8768773533051b580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms 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('53df8768773533051b590300'), "firstname"=>"Micheal", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms 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('53df8768773533051b5a0300'), "firstname"=>"Lamont", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms 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('53df8768773533051b5b0300'), "firstname"=>"Julie", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8768773533051b5b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b5b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms 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('53df8768773533051b5c0300'), "firstname"=>"Jeanette", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8768773533051b5c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b5c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8768773533051b5c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms Redirected to http://test.host/clients/53df8768773533051b5c0300 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b5d0300'), "name"=>"Joanie Heathcote", "reference"=>"Ivah Smitham", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b5e0300'), "firstname"=>"Glen", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8768773533051b5d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b5d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b5d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b5d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b5f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms Redirected to http://test.host/products/53df8768773533051b5d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b600300'), "name"=>"Miss Russ Smitham", "reference"=>"Jackeline Goyette", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b610300'), "firstname"=>"Jamarcus", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8768773533051b610300", "product_id"=>"53df8768773533051b600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (28.0ms) Completed 200 OK in 33ms (Views: 31.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b620300'), "name"=>"Conor Roob", "reference"=>"Mr. Yoshiko Erdman", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b630300'), "firstname"=>"Elyse", "lastname"=>"Bartell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8768773533051b620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4035ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b640300'), "name"=>"Ms. Earnestine Predovic", "reference"=>"Madison Kunze", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b650300'), "firstname"=>"Bret", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8768773533051b650300", "product_id"=>"53df8768773533051b640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Completed 200 OK in 36ms (Views: 34.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b660300'), "name"=>"Gaston Becker", "reference"=>"Skye Bergnaum DDS", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8768773533051b670300'), "firstname"=>"Alek", "lastname"=>"Hessel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8768773533051b670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8768773533051b660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Unpermitted parameters: name Redirected to http://test.host/products/53df8768773533051b660300/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('53df8768773533051b680300'), "name"=>"Noe Connelly", "reference"=>"Shea Swaniawski", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.2085ms 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('53df8768773533051b690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Redirected to http://test.host/products/53df8768773533051b690300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2029ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b6a0300'), "name"=>"Melody Moen DDS", "reference"=>"Jaqueline Jast", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms 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"=>"53df8768773533051b6a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b6a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b6a0300')} 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.1906ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b6b0300'), "name"=>"Keaton Schultz", "reference"=>"Albina Paucek", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8768773533051b6b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b6b0300')} 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.3ms) Completed 200 OK in 7ms (Views: 6.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b6c0300'), "name"=>"Dr. Teresa Ward", "reference"=>"Betsy Herman II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms 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.7011ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (17.0ms) Completed 200 OK in 20ms (Views: 19.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b6d0300'), "name"=>"Alexanne Pollich", "reference"=>"Dr. Jaron Reilly", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms 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.6420ms 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('53df8768773533051b6e0300'), "name"=>"Veronica Kreiger", "reference"=>"Lexie Davis", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8768773533051b6e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b6e0300')} 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('53df8768773533051b6f0300'), "name"=>"Ariane Kirlin", "reference"=>"Marlon Huel", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b710300'), "name"=>"Mr. Angeline Gutkowski", "reference"=>"Elton Barrows II", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8768773533051b710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b720300'), "name"=>"Lou Swaniawski", "reference"=>"Kenya Gleason Jr.", "quantity"=>"6"}] 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=>"products", :query=>{}} runtime: 0.2402ms 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('53df8768773533051b730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1971ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b740300'), "name"=>"Mr. Durward Klocko", "reference"=>"Gabriella O'Hara", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8768773533051b740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b740300')} 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('53df8768773533051b740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms 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('53df8768773533051b750300'), "name"=>"Bradley Cronin DVM", "reference"=>"Adan Wiza DDS", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms 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('53df8768773533051b770300'), "name"=>"Khalid Hilll", "reference"=>"Mrs. Janiya Schoen", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8768773533051b770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms 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('53df8768773533051b780300'), "name"=>"Izabella Smitham", "reference"=>"Winnifred Keebler", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8768773533051b780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Redirected to http://test.host/products/53df8768773533051b780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b7b0300'), "name"=>"Mr. Rodrick Kuphal", "reference"=>"Okey Lemke", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b790300'), "author_name"=>"Fausto Ullrich", "content"=>["Nostrum dolor ex natus tenetur autem. Consectetur voluptatem amet et laudantium aliquid. Inventore quibusdam sint non dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b7a0300'), "author_name"=>"Isabel Wunsch DVM", "content"=>["Labore cupiditate rerum ratione quaerat reiciendis harum accusamus. Omnis incidunt sit. Voluptas et nulla. Praesentium sed doloremque repudiandae assumenda neque corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8768773533051b7b0300", "comment_id"=>"53df8768773533051b790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7b0300'), "comments._id"=>BSON::ObjectId('53df8768773533051b790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8768773533051b7c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Redirected to http://test.host/products/53df8768773533051b7b0300/comments/53df8768773533051b790300/comments/53df8768773533051b7c0300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3912ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b7f0300'), "name"=>"Cole Purdy Sr.", "reference"=>"Arch Mohr", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b7d0300'), "author_name"=>"Roman Boyer", "content"=>["Distinctio dolores vitae quo explicabo veniam. Aut nostrum et voluptatem provident. Porro saepe ut error qui excepturi sunt beatae. Magni quam amet aut et aliquid non. Explicabo dicta repellat ducimus sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b7e0300'), "author_name"=>"Mr. Isabel Tillman", "content"=>["Reiciendis quos ipsa velit nihil et. Vel ut omnis asperiores. Optio et aut. Eius vel neque quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8768773533051b7f0300", "comment_id"=>"53df8768773533051b7d0300", "id"=>"53df8768773533051b7e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4275ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7f0300'), "comments._id"=>BSON::ObjectId('53df8768773533051b7d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8768773533051b7e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6386ms Redirected to http://test.host/products/53df8768773533051b7f0300/comments/53df8768773533051b7d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b820300'), "name"=>"Rashawn Langworth PhD", "reference"=>"Macy Bailey DVM", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b800300'), "author_name"=>"Miss Freida Herzog", "content"=>["Qui voluptas officiis id unde esse error possimus. Molestiae ullam nostrum distinctio est omnis. Dolor sequi doloremque et quam nobis voluptatem tempore. Impedit ea quibusdam alias quia sapiente velit voluptatem. Quod ratione explicabo sit voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b810300'), "author_name"=>"Hermina Franecki Sr.", "content"=>["Eum et et perspiciatis itaque. Et voluptatum accusamus quasi est odit. Mollitia sed consectetur eum expedita fugiat qui consequatur. Nemo ut sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8768773533051b820300", "comment_id"=>"53df8768773533051b800300", "id"=>"53df8768773533051b810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b850300'), "name"=>"Mr. Toy Marvin", "reference"=>"Thea Schuppe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b830300'), "author_name"=>"Nils Friesen", "content"=>["Repellendus rerum totam. Minus vero iure illum et sunt aut. Illum nam magni sed voluptas et. Sit excepturi voluptas suscipit ut ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b840300'), "author_name"=>"Jaquelin Kirlin IV", "content"=>["Id reprehenderit ut eos. Aut iusto voluptatem itaque non provident. Aperiam velit voluptatem enim. Temporibus et sed reiciendis id est molestias et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8768773533051b850300", "comment_id"=>"53df8768773533051b830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b880300'), "name"=>"Pat Wisoky", "reference"=>"Sabrina Emmerich", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b860300'), "author_name"=>"Consuelo Hammes IV", "content"=>["Deleniti eligendi aut odio omnis quae eius possimus. Enim quo est magni at doloremque ad. Magni animi tenetur nobis laborum. Recusandae tempore incidunt est laborum. Magni rerum dicta aut perspiciatis quia facilis."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b870300'), "author_name"=>"Reyes Koch", "content"=>["Pariatur recusandae voluptatibus porro numquam. Voluptatem similique est non dolor. Debitis corrupti sit officiis magnam accusamus nesciunt optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8768773533051b880300", "comment_id"=>"53df8768773533051b860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b8b0300'), "name"=>"Allie Kunze", "reference"=>"Dariana O'Keefe Sr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b890300'), "author_name"=>"Wilford Upton", "content"=>["Sit saepe vel aliquam. Quaerat voluptatem dolore id. Recusandae voluptas vitae dolorem tempore similique laborum est. Sit nobis velit sint."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b8a0300'), "author_name"=>"Greta Davis", "content"=>["Illo optio quidem. Voluptates maxime aut. Voluptatem ut autem deleniti dolorum reprehenderit magni. Est veniam et nihil qui quia soluta. Optio ullam quam laboriosam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8768773533051b8b0300", "comment_id"=>"53df8768773533051b890300", "id"=>"53df8768773533051b8a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b8b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b8e0300'), "name"=>"Fanny Heaney V", "reference"=>"Ms. Deshawn Conroy", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b8c0300'), "author_name"=>"Sigmund Feest", "content"=>["Totam ullam accusantium ipsum magnam. Aspernatur vitae sit dolorem sit quaerat. Itaque ad eaque quia ut porro eos labore. Iusto autem sint illo nihil voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b8d0300'), "author_name"=>"Troy Kuhlman I", "content"=>["Qui esse earum itaque quibusdam ut. Dolorum dicta illum. Earum ducimus nesciunt dolore ea. Aut quia architecto dolor natus est voluptatem. Dolor possimus saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8768773533051b8e0300", "comment_id"=>"53df8768773533051b8c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b8e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b910300'), "name"=>"Malachi Schumm", "reference"=>"Mr. Darrel Nitzsche", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b8f0300'), "author_name"=>"Miss Kara Padberg", "content"=>["Qui eos dolores modi nisi a iusto. Unde fuga dolor quia a iure. Omnis enim quia molestiae ducimus nam non et. Quaerat quisquam ducimus earum ab vel est ad."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b900300'), "author_name"=>"Melvin Becker", "content"=>["Aut consequuntur sunt qui sed voluptatem culpa nobis. Quisquam sint rem sequi fugit iusto maiores. Incidunt labore quidem distinctio est voluptatem suscipit. Labore tenetur quasi sit fugiat. Omnis nostrum mollitia non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8768773533051b910300", "comment_id"=>"53df8768773533051b8f0300", "id"=>"53df8768773533051b900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8768773533051b940300'), "name"=>"Carmel Vandervort", "reference"=>"Miss Kitty VonRueden", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b920300'), "author_name"=>"Murphy Schinner", "content"=>["Possimus repudiandae est. Quia et sed aut beatae eum et. Maiores odit aspernatur maxime nihil omnis. Esse eveniet odit molestiae reiciendis et pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df8768773533051b930300'), "author_name"=>"Miss Lila Gislason", "content"=>["Incidunt maxime rerum quidem. Dolorem nam iste quia fuga velit nemo accusamus. Debitis sint ea magnam. Fugit id impedit ut. Excepturi provident illum id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8768773533051b930300", "product_id"=>"53df8768773533051b940300", "comment_id"=>"53df8768773533051b920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8768773533051b940300')} 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('53df8768773533051b940300'), "comments._id"=>BSON::ObjectId('53df8768773533051b920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8768773533051b930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms Redirected to http://test.host/products/53df8768773533051b940300/comments/53df8768773533051b920300/comments/53df8768773533051b930300 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('53df8768773533051b950300'), "firstname"=>"Augusta", "lastname"=>"Beahan"}] 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=>"admin_users", :query=>{}} runtime: 0.1902ms 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('53df8768773533051b960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms Redirected to http://test.host/users/53df8768773533051b960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2005ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8768773533051b970300'), "firstname"=>"Wilhelm", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1887ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df8768773533051b970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8768773533051b970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8768773533051b970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms 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.1814ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8768773533051b980300'), "firstname"=>"Hardy", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8768773533051b980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8768773533051b980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.1977ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 32ms (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('53df8768773533051b990300'), "firstname"=>"Urban", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms 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.3754ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (7.5ms) 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('53df8768773533051b9a0300'), "firstname"=>"Clarabelle", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8768773533051b9b0300'), "firstname"=>"Sammy", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8768773533051b9b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8768773533051b9b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms 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('53df8768773533051b9c0300'), "firstname"=>"Gilbert", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8768773533051b9c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8768773533051b9c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Unpermitted parameters: name Redirected to http://test.host/users/53df8768773533051b9c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4591ms 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.4399ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.2076ms 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.9488ms 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.5405ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.3773ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477000000'), "firstname"=>"Mckenzie", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2864ms 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('53df8d027735330477010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms 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.2704ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477020000'), "firstname"=>"Nicklaus", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df8d027735330477020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.1ms) Completed 200 OK in 136ms (Views: 134.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477030000'), "firstname"=>"Alexandrine", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8324ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 9ms (Views: 7.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477040000'), "firstname"=>"Edd", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7308ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df8d027735330477040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5137ms Completed 200 OK in 7ms (Views: 4.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477050000'), "firstname"=>"Bobbie", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6978ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df8d027735330477050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5139ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477060000'), "name"=>"Damon Predovic", "reference"=>"Dr. Francis Hoeger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8d027735330477070000'), "author_name"=>"Mr. Augustine Altenwerth", "content"=>["In sed eum. Vitae aut voluptatem. Ipsam consequatur sunt recusandae sit autem ut. Modi nesciunt qui sit architecto molestiae quisquam omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.9055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4787ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8d027735330477060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8d027735330477080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms Redirected to http://test.host/admin/products/53df8d027735330477060000/comments/53df8d027735330477080000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5713ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477090000'), "name"=>"Craig Wolff", "reference"=>"Miss Mariana Veum", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0277353304770a0000'), "author_name"=>"Miss Dylan Lynch", "content"=>["Nihil consequatur dolorem. Doloremque qui quo voluptate ipsa dignissimos. Omnis nisi voluptatibus aut debitis voluptas nihil quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8d027735330477090000", "id"=>"53df8d0277353304770a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8d0277353304770a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6415ms Redirected to http://test.host/admin/products/53df8d027735330477090000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304770b0000'), "name"=>"Kavon Lubowitz", "reference"=>"Miss Treva Hudson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0277353304770c0000'), "author_name"=>"Mr. Leopoldo Howe", "content"=>["Sint culpa voluptate corrupti temporibus. Et est velit necessitatibus. A repellat eveniet. Quam sed sapiente omnis voluptatem nemo explicabo et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6089ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df8d0277353304770b0000", "id"=>"53df8d0277353304770c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304770b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4857ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 15ms (Views: 11.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304770d0000'), "name"=>"Bridgette Feeney", "reference"=>"Kathryne Hyatt", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0277353304770e0000'), "author_name"=>"Briana Wunsch II", "content"=>["Unde impedit facere non veniam ea. Dolore voluptatibus quibusdam qui sit soluta. Quidem ut qui veniam suscipit reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6142ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df8d0277353304770d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304770d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 7.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304770f0000'), "name"=>"Lillian Schamberger", "reference"=>"Ali Kshlerin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8d027735330477100000'), "author_name"=>"Troy Skiles", "content"=>["Perferendis alias ratione quia necessitatibus est aliquid officiis. Nisi aut hic. Adipisci temporibus perferendis mollitia. Incidunt magni amet possimus dolor excepturi. Nostrum dolorem sint aperiam placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5657ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df8d0277353304770f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304770f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477110000'), "name"=>"Pansy Ruecker", "reference"=>"Ms. Bo Lubowitz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8d027735330477120000'), "author_name"=>"Coralie Prosacco", "content"=>["Enim voluptatibus ut omnis iure eos non id. Officiis et sit voluptas temporibus et. Voluptatem rem repudiandae sapiente sed. Ratione atque inventore ullam. Sunt ex aut nobis perspiciatis recusandae fugiat ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5624ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df8d027735330477110000", "id"=>"53df8d027735330477120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms 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('53df8d027735330477130000'), "name"=>"Dina Gerlach", "reference"=>"Dr. Bart Crooks", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8d027735330477140000'), "author_name"=>"Anna Metz", "content"=>["Esse quae temporibus. Doloribus et aliquam minima qui blanditiis exercitationem iste. Error corrupti nihil asperiores voluptatem omnis vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8d027735330477140000", "product_id"=>"53df8d027735330477130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477130000'), "comments._id"=>BSON::ObjectId('53df8d027735330477140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Redirected to http://test.host/admin/products/53df8d027735330477130000/comments/53df8d027735330477140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477150000'), "name"=>"Hunter Padberg", "reference"=>"Jessy Wiegand", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df8d027735330477160000'), "firstname"=>"Muriel", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8d027735330477150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8d027735330477170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms Redirected to http://test.host/admin/products/53df8d027735330477150000/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('53df8d027735330477180000'), "name"=>"Leonie Kub", "reference"=>"Nathan Maggio", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df8d027735330477190000'), "firstname"=>"Rosemary", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df8d027735330477190000", "product_id"=>"53df8d027735330477180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477180000')} 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.1ms) Completed 200 OK in 9ms (Views: 6.9ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304771a0000'), "name"=>"Ms. Neoma Reinger", "reference"=>"Christopher Wilderman", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8d0277353304771b0000'), "firstname"=>"Erik", "lastname"=>"Corwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df8d0277353304771a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304771a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304771c0000'), "name"=>"Dr. Alisa Jacobson", "reference"=>"Sallie Marks", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8d0277353304771d0000'), "firstname"=>"Vita", "lastname"=>"Hackett"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df8d0277353304771d0000", "product_id"=>"53df8d0277353304771c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304771c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0277353304771e0000'), "name"=>"Antonietta Bernier", "reference"=>"Christopher Carter", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8d0277353304771f0000'), "firstname"=>"Arjun", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df8d0277353304771f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8d0277353304771e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0277353304771e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df8d0277353304771e0000/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('53df8d027735330477200000'), "name"=>"Richmond Buckridge", "reference"=>"Araceli Spinka", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1598ms 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('53df8d027735330477210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Redirected to http://test.host/admin/products/53df8d027735330477210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2436ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477220000'), "name"=>"Ella Towne II", "reference"=>"Wilson Rath", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms 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"=>"53df8d027735330477220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4213ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms 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.2503ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477230000'), "name"=>"Mrs. Skye Simonis", "reference"=>"Nettie Rippin", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df8d027735330477230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 9ms (Views: 7.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477240000'), "name"=>"Jordi Steuber", "reference"=>"Dr. Minerva Goldner", "quantity"=>"8"}] 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.6350ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (9.9ms) Completed 200 OK in 13ms (Views: 12.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d027735330477250000'), "name"=>"Amira Lindgren", "reference"=>"Jean McKenzie", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df8d027735330477280000'), "name"=>"Ms. Timmothy Barton", "reference"=>"Arielle Halvorson", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5254ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df8d027735330477280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms 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('53df8d027735330477290000'), "name"=>"Floyd Quigley V", "reference"=>"Mrs. Giovani Cruickshank", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8d027735330477290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d027735330477290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms Redirected to http://test.host/admin/products/53df8d027735330477290000 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('53df8d0277353304772a0000'), "firstname"=>"Abe", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5883ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2148ms 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('53df8d0277353304772b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Redirected to http://test.host/admin/users/53df8d0277353304772b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d0277353304772c0000'), "firstname"=>"Leonard", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1978ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df8d0277353304772c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d0277353304772c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d0277353304772c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms 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.2193ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d0277353304772d0000'), "firstname"=>"Lennie", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df8d0277353304772d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d0277353304772d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d0277353304772e0000'), "firstname"=>"Marjory", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms 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.3320ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (3.6ms) Completed 200 OK in 6ms (Views: 5.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d0277353304772f0000'), "firstname"=>"Berta", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d027735330477300000'), "firstname"=>"Angel", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df8d027735330477300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d027735330477300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms 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('53df8d027735330477310000'), "firstname"=>"Samanta", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8d027735330477310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d027735330477310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df8d027735330477310000 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('53df8d027735330477320000'), "firstname"=>"Amalia", "lastname"=>"Okuneva"}] 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.1429ms 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('53df8d027735330477330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms Redirected to http://test.host/administrator Completed 302 Found in 33ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1575ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477340000'), "firstname"=>"Tyshawn", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df8d027735330477340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477350000'), "firstname"=>"Ambrose", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477360000'), "firstname"=>"Meta", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df8d027735330477360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8d027735330477370000'), "firstname"=>"Agustina", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df8d027735330477370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8d027735330477370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477380000'), "name"=>"Dr. Amelia Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477390000'), "name"=>"Mr. Raquel Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773a0000'), "name"=>"Clint Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773b0000'), "name"=>"Mr. Florian Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773c0000'), "name"=>"Kendall Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773d0000'), "name"=>"Daisha Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773e0000'), "name"=>"Lilla Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304773f0000'), "name"=>"Mr. Claire Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304773f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477400000'), "name"=>"Amara Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477410000'), "name"=>"Kallie Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477420000'), "name"=>"Ahmed Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477430000'), "name"=>"Raegan Stehr IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477440000'), "name"=>"Mr. Laurie Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477450000'), "name"=>"Geovany Graham Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477460000'), "name"=>"Mr. Dock Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477470000'), "name"=>"Bailey Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477480000'), "name"=>"Antwon Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477490000'), "name"=>"Betsy Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774a0000'), "name"=>"Travis O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774b0000'), "name"=>"Lisandro Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774c0000'), "name"=>"Hyman Emard III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774d0000'), "name"=>"Ms. Adrian Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774e0000'), "name"=>"Domenico Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304774f0000'), "name"=>"Ms. Rowan Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304774f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477500000'), "name"=>"Angeline Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477510000'), "name"=>"Pablo Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477520000'), "name"=>"Mrs. Arturo Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477530000'), "name"=>"Darlene Ullrich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477540000'), "name"=>"Vidal Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477550000'), "name"=>"Anya Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477560000'), "name"=>"Mr. Kennedy Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477570000'), "name"=>"Brigitte Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477580000'), "name"=>"Drew Jacobs Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477590000'), "name"=>"Arvel Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775a0000'), "name"=>"Abbigail Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775b0000'), "name"=>"Garry Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775c0000'), "name"=>"Maximillia Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775d0000'), "name"=>"Haven Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775e0000'), "name"=>"Sylvan Volkman III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304775f0000'), "name"=>"Joana Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304775f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477600000'), "name"=>"Ludwig Kovacek IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477610000'), "name"=>"Leo Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477620000'), "name"=>"Sandrine Gibson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477630000'), "name"=>"Toney Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477640000'), "name"=>"Abigale Crist IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477650000'), "name"=>"Patience Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477660000'), "name"=>"Guadalupe Stamm Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477670000'), "name"=>"Eda McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477680000'), "name"=>"Jaeden Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477690000'), "name"=>"Aric Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776a0000'), "name"=>"Edmond Dicki Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776b0000'), "name"=>"Trinity Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776c0000'), "name"=>"Jennifer Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776d0000'), "name"=>"Daniella Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776e0000'), "name"=>"Mrs. Neil Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304776f0000'), "name"=>"Helena Rutherford DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304776f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477700000'), "name"=>"Megane Kihn IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477710000'), "name"=>"Brendon Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477720000'), "name"=>"Sabrina Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477730000'), "name"=>"Aracely Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477740000'), "name"=>"Mathilde Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477750000'), "name"=>"Darrion Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477760000'), "name"=>"Dasia Gerhold MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477770000'), "name"=>"Maddison McCullough MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477780000'), "name"=>"Mrs. Jared Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477790000'), "name"=>"Rosa Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777a0000'), "name"=>"Anahi Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777b0000'), "name"=>"Celestino Collins Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777c0000'), "name"=>"Mara Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777d0000'), "name"=>"Bridie Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777e0000'), "name"=>"Georgianna Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304777f0000'), "name"=>"Fernando Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304777f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477800000'), "name"=>"Jaylan Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477810000'), "name"=>"Chester Koss DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477820000'), "name"=>"Macy Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477830000'), "name"=>"Ulices Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477840000'), "name"=>"Anderson Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477850000'), "name"=>"Jazmyne Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477860000'), "name"=>"Ms. Judd Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477870000'), "name"=>"Dr. Tatyana Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477880000'), "name"=>"Nyasia Farrell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477890000'), "name"=>"Mikel Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778a0000'), "name"=>"Nels Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778b0000'), "name"=>"Emilia Vandervort MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778c0000'), "name"=>"Dakota Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778d0000'), "name"=>"Linnea Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778e0000'), "name"=>"Dr. Keven Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0277353304778f0000'), "name"=>"Monica Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0277353304778f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d027735330477900000'), "name"=>"Dianna Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d027735330477900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477910000'), "name"=>"Rylan Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477920000'), "name"=>"Everette Gaylord III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477930000'), "name"=>"Allene Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477940000'), "name"=>"Jodie Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477950000'), "name"=>"Ms. Sadye Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477960000'), "name"=>"Tatum Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477970000'), "name"=>"Mr. Brain Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1267ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms Redirected to http://test.host/categories/53df8d037735330477980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1508ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477990000'), "name"=>"Elbert Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779a0000'), "name"=>"Karlie Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779b0000'), "name"=>"Leanne O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779c0000'), "name"=>"Retta Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779d0000'), "name"=>"Telly Jakubowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779e0000'), "name"=>"Anthony Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779f0000'), "name"=>"Amani Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a00000'), "name"=>"Irwin Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a10000'), "name"=>"Kameron Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a20000'), "name"=>"Gunnar Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a30000'), "name"=>"Miss Caroline Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a40000'), "name"=>"Brendan Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a50000'), "name"=>"Reinhold Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a60000'), "name"=>"Vita Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a70000'), "name"=>"Amely Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a80000'), "name"=>"Vilma Bednar IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a90000'), "name"=>"Delphia Sporer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477aa0000'), "name"=>"Dr. Toni Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ab0000'), "name"=>"Al Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ac0000'), "name"=>"Camren D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ad0000'), "name"=>"Mr. Mollie Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ae0000'), "name"=>"Liliana Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477af0000'), "name"=>"Ramiro Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b00000'), "name"=>"Audrey Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b10000'), "name"=>"Anita Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b20000'), "name"=>"Anabelle Bailey DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b30000'), "name"=>"Ashton Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b40000'), "name"=>"Astrid Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b50000'), "name"=>"Dr. Henri Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b60000'), "name"=>"Annamae Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b70000'), "name"=>"Layla Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b80000'), "name"=>"Leif Berge II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b90000'), "name"=>"Marcos Fisher Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ba0000'), "name"=>"Loyce Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bb0000'), "name"=>"Liza Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bc0000'), "name"=>"Sister Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bd0000'), "name"=>"Lupe Mills III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477be0000'), "name"=>"Wilbert Stracke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bf0000'), "name"=>"Lora Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c00000'), "name"=>"Celia Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c10000'), "name"=>"Hunter Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c20000'), "name"=>"Gretchen Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c30000'), "name"=>"Clarabelle Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c40000'), "name"=>"Elta Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c50000'), "name"=>"Earlene Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c60000'), "name"=>"Liliana Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c70000'), "name"=>"Myra Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c80000'), "name"=>"Candice Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c90000'), "name"=>"Julie McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ca0000'), "name"=>"Eldora McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cb0000'), "name"=>"Colin Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cc0000'), "name"=>"Chelsea Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cd0000'), "name"=>"Earl Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ce0000'), "name"=>"Miss Deon Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cf0000'), "name"=>"Ms. Kaylah Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d00000'), "name"=>"Dillon Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d10000'), "name"=>"Raphael Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d20000'), "name"=>"Miss Elisabeth O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d30000'), "name"=>"Mellie Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d40000'), "name"=>"Lew Farrell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d50000'), "name"=>"Israel Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d60000'), "name"=>"Dr. Mariam Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d70000'), "name"=>"Beth DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d80000'), "name"=>"Karelle Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d90000'), "name"=>"Sabrina Pollich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477da0000'), "name"=>"Cassandre Schumm MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477db0000'), "name"=>"Freddie Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477dc0000'), "name"=>"Sydney Rice Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477dd0000'), "name"=>"Elwin Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477de0000'), "name"=>"Jazlyn Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477df0000'), "name"=>"Americo Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e00000'), "name"=>"Dr. Nola Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e10000'), "name"=>"Jana Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e20000'), "name"=>"Miss Hollis Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e30000'), "name"=>"Dr. Roselyn Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e40000'), "name"=>"Teresa Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e50000'), "name"=>"Ms. Louisa Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e60000'), "name"=>"Kennedy Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e70000'), "name"=>"Olen Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e80000'), "name"=>"Eleazar Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e90000'), "name"=>"Ila Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ea0000'), "name"=>"Angelina Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477eb0000'), "name"=>"Chadrick Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ec0000'), "name"=>"Mr. Annie Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ed0000'), "name"=>"Addison Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ee0000'), "name"=>"Percy Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ef0000'), "name"=>"Kira Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f00000'), "name"=>"Dejon Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f10000'), "name"=>"Ottilie Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f20000'), "name"=>"Milan Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f30000'), "name"=>"Jennie Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f40000'), "name"=>"Cierra Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f50000'), "name"=>"Dr. Sabryna Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f60000'), "name"=>"Rick Wisoky I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f70000'), "name"=>"Kevin Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f80000'), "name"=>"Destin Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1279ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df8d037735330477990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d037735330477990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d037735330477990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1315ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f90000'), "name"=>"Roderick Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fa0000'), "name"=>"Lela Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fb0000'), "name"=>"Virginie Aufderhar V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fc0000'), "name"=>"Blanca Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fd0000'), "name"=>"Magnolia Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fe0000'), "name"=>"Trudie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ff0000'), "name"=>"Leonie Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477000100'), "name"=>"Al Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477010100'), "name"=>"Domenica Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477020100'), "name"=>"Mr. Norval Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477030100'), "name"=>"Ruby Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477040100'), "name"=>"Boyd Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477050100'), "name"=>"Mr. Shaun Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477060100'), "name"=>"Kirk Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477070100'), "name"=>"Hayley Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477080100'), "name"=>"Eunice Bechtelar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477090100'), "name"=>"Theresa Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770a0100'), "name"=>"Juston King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770b0100'), "name"=>"Ms. Akeem Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770c0100'), "name"=>"Mrs. Zoey Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770d0100'), "name"=>"Willis Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770e0100'), "name"=>"Dr. Ottilie Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770f0100'), "name"=>"Alysa Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477100100'), "name"=>"Henderson Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477110100'), "name"=>"Dr. Keara Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477120100'), "name"=>"Regan Runolfsson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477130100'), "name"=>"Ms. Santos Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477140100'), "name"=>"Maureen Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477150100'), "name"=>"Ashley Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477160100'), "name"=>"Simeon Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477170100'), "name"=>"Jasen Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477180100'), "name"=>"Elmo Bosco V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477190100'), "name"=>"Miss Oleta Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771a0100'), "name"=>"Diego Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771b0100'), "name"=>"Kiera Balistreri PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771c0100'), "name"=>"Augusta Rath II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771d0100'), "name"=>"Ms. William Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771e0100'), "name"=>"Tanya McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771f0100'), "name"=>"Yesenia Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477200100'), "name"=>"Savanah Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477210100'), "name"=>"Kenny Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477220100'), "name"=>"Ms. Zoie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477230100'), "name"=>"Cleta Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477240100'), "name"=>"Dr. Michele Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477250100'), "name"=>"Jewell McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477260100'), "name"=>"Jedediah Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477270100'), "name"=>"Garfield Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477280100'), "name"=>"Mrs. Retta Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477290100'), "name"=>"Vincenza Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772a0100'), "name"=>"Eino Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772b0100'), "name"=>"Lenora Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772c0100'), "name"=>"Dr. Yessenia Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772d0100'), "name"=>"Kayleigh Feest III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772e0100'), "name"=>"Brendan Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772f0100'), "name"=>"Melody Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477300100'), "name"=>"Derick Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477310100'), "name"=>"Kelvin Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477320100'), "name"=>"Mrs. Maude Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477330100'), "name"=>"Iva Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477340100'), "name"=>"Faustino Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477350100'), "name"=>"Dr. Teagan Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477360100'), "name"=>"Chad Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477370100'), "name"=>"Dylan Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477380100'), "name"=>"Meaghan Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477390100'), "name"=>"Mr. Willie Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773a0100'), "name"=>"Wallace Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773b0100'), "name"=>"Margaretta Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773c0100'), "name"=>"Kyler Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773d0100'), "name"=>"Muriel Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773e0100'), "name"=>"Eunice Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773f0100'), "name"=>"Ansel Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477400100'), "name"=>"Josiah Mueller II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477410100'), "name"=>"Aileen Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477420100'), "name"=>"Reina Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477430100'), "name"=>"Willis Conn II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477440100'), "name"=>"Cathryn Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477450100'), "name"=>"Eldred Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477460100'), "name"=>"Violette Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477470100'), "name"=>"Fay Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477480100'), "name"=>"Kaia Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477490100'), "name"=>"Pierce Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774a0100'), "name"=>"Sibyl Abernathy DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774b0100'), "name"=>"Olin Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774c0100'), "name"=>"Colin Schamberger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774d0100'), "name"=>"Minnie Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774e0100'), "name"=>"Liliana Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774f0100'), "name"=>"Sharon O'Reilly IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477500100'), "name"=>"Judah Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477510100'), "name"=>"Mr. Jarod Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477520100'), "name"=>"Joe Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477530100'), "name"=>"Vergie Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477540100'), "name"=>"Adrien Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477550100'), "name"=>"Trycia Schmeler V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477560100'), "name"=>"Milford Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477570100'), "name"=>"Effie Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477580100'), "name"=>"Mr. Pasquale Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df8d037735330477f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d037735330477f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.7ms) Completed 200 OK in 35ms (Views: 33.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477590100'), "name"=>"Maverick Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775a0100'), "name"=>"Courtney Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775b0100'), "name"=>"Myrl Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775c0100'), "name"=>"Eduardo Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775d0100'), "name"=>"Merritt Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775e0100'), "name"=>"Freddie Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775f0100'), "name"=>"Marlee Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477600100'), "name"=>"Vladimir Gleichner DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477610100'), "name"=>"Hank Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477620100'), "name"=>"Ms. Zetta Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477630100'), "name"=>"Harvey Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477640100'), "name"=>"Lea Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477650100'), "name"=>"Willow Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477660100'), "name"=>"Dr. Rosalyn Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477670100'), "name"=>"Mr. Berta Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477680100'), "name"=>"Mrs. Trenton Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477690100'), "name"=>"Mikayla Brown DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776a0100'), "name"=>"Bessie Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776b0100'), "name"=>"Dakota Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776c0100'), "name"=>"Orlando Flatley I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776d0100'), "name"=>"Mrs. Lia Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776e0100'), "name"=>"Rita Oberbrunner MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776f0100'), "name"=>"Mrs. Lionel Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477700100'), "name"=>"Nathen Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477710100'), "name"=>"Mona Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477720100'), "name"=>"Erica Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477730100'), "name"=>"Brenda Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477740100'), "name"=>"Mrs. Earl Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477750100'), "name"=>"Antonio O'Reilly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477760100'), "name"=>"Jerod Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477770100'), "name"=>"Alaina Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477780100'), "name"=>"Lexi Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477790100'), "name"=>"Lavada Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777a0100'), "name"=>"Miss Mariela Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777b0100'), "name"=>"Amya White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777c0100'), "name"=>"Linnie Osinski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777d0100'), "name"=>"Trevion Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777e0100'), "name"=>"Marielle Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777f0100'), "name"=>"Ryley Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477800100'), "name"=>"Ms. Herta Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477810100'), "name"=>"Michelle Upton DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477820100'), "name"=>"Nickolas Larson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477830100'), "name"=>"Marcia Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477840100'), "name"=>"Muriel Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477850100'), "name"=>"Carmela Koelpin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477860100'), "name"=>"Lon Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477870100'), "name"=>"Victoria Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477880100'), "name"=>"Mrs. Kieran Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477890100'), "name"=>"Cassandre Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778a0100'), "name"=>"Arvid Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778b0100'), "name"=>"Anissa Terry PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778c0100'), "name"=>"Rubie Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778d0100'), "name"=>"Sienna O'Connell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778e0100'), "name"=>"Barry Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778f0100'), "name"=>"Amari Wuckert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477900100'), "name"=>"Tyrell Schiller Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477910100'), "name"=>"Heather Rodriguez III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477920100'), "name"=>"Ms. Marcel Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477930100'), "name"=>"Gay Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477940100'), "name"=>"Brisa Boehm MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477950100'), "name"=>"Miss Melyna Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477960100'), "name"=>"Frederick Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477970100'), "name"=>"Geoffrey Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477980100'), "name"=>"Carrie Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477990100'), "name"=>"Chasity Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779a0100'), "name"=>"Sandra Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779b0100'), "name"=>"Korey Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779c0100'), "name"=>"Zoey Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779d0100'), "name"=>"Malinda Carroll IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779e0100'), "name"=>"Willow Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779f0100'), "name"=>"Mr. Elizabeth Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a00100'), "name"=>"Marcus Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a10100'), "name"=>"Josephine Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a20100'), "name"=>"Mr. Shany Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a30100'), "name"=>"Denis Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a40100'), "name"=>"Retha Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a50100'), "name"=>"Aurelia Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a60100'), "name"=>"Ms. Ashleigh Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a70100'), "name"=>"Mr. Katelin Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a80100'), "name"=>"Nella Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a90100'), "name"=>"Reid Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477aa0100'), "name"=>"Adam Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ab0100'), "name"=>"Danyka Botsford DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ac0100'), "name"=>"Tina Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ad0100'), "name"=>"Ms. Lia Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ae0100'), "name"=>"Carley Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477af0100'), "name"=>"Augustus Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b00100'), "name"=>"Janis D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b10100'), "name"=>"Trevion Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b20100'), "name"=>"Ms. Sid O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b30100'), "name"=>"Lura Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b40100'), "name"=>"Ms. Perry Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b50100'), "name"=>"Jaren Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b60100'), "name"=>"Bradley Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b70100'), "name"=>"Eleanora Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b80100'), "name"=>"Cleo Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215108911860] runtime: 0.0755ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (11.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1811ms Completed 200 OK in 18ms (Views: 17.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477b90100'), "name"=>"Sister Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ba0100'), "name"=>"Larue Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bb0100'), "name"=>"Tessie Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bc0100'), "name"=>"Etha Runolfsson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bd0100'), "name"=>"Dr. Francisco Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477be0100'), "name"=>"Shawn Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477bf0100'), "name"=>"Junius Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c00100'), "name"=>"Ms. Marquise Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c10100'), "name"=>"Cleveland Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c20100'), "name"=>"Bradford McClure Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c30100'), "name"=>"Mr. Lucio Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c40100'), "name"=>"Winston Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c50100'), "name"=>"Malachi Kemmer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c60100'), "name"=>"Alana Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c70100'), "name"=>"Ms. Cathrine Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c80100'), "name"=>"Myrtie Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477c90100'), "name"=>"Octavia Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ca0100'), "name"=>"Cassandre Orn I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cb0100'), "name"=>"Aliza Koepp I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cc0100'), "name"=>"Santiago Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cd0100'), "name"=>"Arne Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ce0100'), "name"=>"Ms. Erna Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477cf0100'), "name"=>"Lafayette Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d00100'), "name"=>"Sheridan Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d10100'), "name"=>"Hobart Ruecker II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d20100'), "name"=>"Retha Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d30100'), "name"=>"Ms. Rhoda Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d40100'), "name"=>"Dianna Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d50100'), "name"=>"Ms. Estrella Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d60100'), "name"=>"Reanna Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d70100'), "name"=>"Christa Lesch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d80100'), "name"=>"Mr. Josiane Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477d90100'), "name"=>"Dr. Adelle Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477da0100'), "name"=>"Verna Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477db0100'), "name"=>"Mrs. Nella Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477dc0100'), "name"=>"Fern McKenzie Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477dd0100'), "name"=>"Brooke Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477de0100'), "name"=>"Mr. Furman Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477df0100'), "name"=>"Dr. Lysanne Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e00100'), "name"=>"Julio Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e10100'), "name"=>"Miss Naomi Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e20100'), "name"=>"Aletha Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e30100'), "name"=>"Modesto Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e40100'), "name"=>"Macy Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e50100'), "name"=>"Darian Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e60100'), "name"=>"Vella Murazik II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e70100'), "name"=>"Magali Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e80100'), "name"=>"Curt Kertzmann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477e90100'), "name"=>"Carmelo Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ea0100'), "name"=>"Arne Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477eb0100'), "name"=>"Ms. Valerie Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ec0100'), "name"=>"Mr. Crystal Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ed0100'), "name"=>"Wendy Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ee0100'), "name"=>"Logan Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ef0100'), "name"=>"Ms. Brigitte Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f00100'), "name"=>"Grayson Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f10100'), "name"=>"Mr. Harmony Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f20100'), "name"=>"Hector Blick I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f30100'), "name"=>"Josefa Legros PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f40100'), "name"=>"Mrs. Emma Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f50100'), "name"=>"Abbigail Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.9182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f60100'), "name"=>"Josiah Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f70100'), "name"=>"Alford Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f80100'), "name"=>"Nathaniel Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477f90100'), "name"=>"Dr. Gabriel Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fa0100'), "name"=>"Mrs. Terry Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fb0100'), "name"=>"Aisha Smith DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fc0100'), "name"=>"Rahsaan Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fd0100'), "name"=>"Yoshiko Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477fe0100'), "name"=>"Tate Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ff0100'), "name"=>"Mrs. Newton Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477000200'), "name"=>"Derick Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477010200'), "name"=>"Rosemarie Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477020200'), "name"=>"Norberto Wilderman PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477030200'), "name"=>"Karolann Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477040200'), "name"=>"Viola Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477050200'), "name"=>"Jarred Watsica Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477060200'), "name"=>"Jadyn Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477070200'), "name"=>"Dr. Osborne Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477080200'), "name"=>"Joana Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477090200'), "name"=>"Edd Luettgen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770a0200'), "name"=>"Brando Kozey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770b0200'), "name"=>"Evelyn D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770c0200'), "name"=>"Dayton Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770d0200'), "name"=>"Turner Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770e0200'), "name"=>"Christop Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304770f0200'), "name"=>"Mrs. Toby Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304770f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477100200'), "name"=>"Theresa McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477110200'), "name"=>"Ms. Vidal Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477120200'), "name"=>"Noemi Osinski Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477130200'), "name"=>"Fern Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477140200'), "name"=>"Rosanna Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477150200'), "name"=>"Koby Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477160200'), "name"=>"Brenden Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477170200'), "name"=>"Mariam Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477180200'), "name"=>"Dr. Raquel Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215512762563] runtime: 0.0719ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1679ms Completed 200 OK in 14ms (Views: 13.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477190200'), "name"=>"Christelle Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771a0200'), "name"=>"Allie Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771b0200'), "name"=>"Emmett Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771c0200'), "name"=>"Ron Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771d0200'), "name"=>"Celestine Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771e0200'), "name"=>"Ms. Linnea Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304771f0200'), "name"=>"Mac Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304771f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477200200'), "name"=>"Queenie Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477210200'), "name"=>"Ms. Lilly Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477220200'), "name"=>"Cordelia Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477230200'), "name"=>"Mrs. Joanne Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477240200'), "name"=>"Roxane Kutch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477250200'), "name"=>"Cristopher Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477260200'), "name"=>"Keyon Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477270200'), "name"=>"Sedrick Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477280200'), "name"=>"Johanna Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477290200'), "name"=>"Cleo Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772a0200'), "name"=>"Jaylan Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772b0200'), "name"=>"Mr. Jairo Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772c0200'), "name"=>"Cleora Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772d0200'), "name"=>"Virgie Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772e0200'), "name"=>"Lowell O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304772f0200'), "name"=>"Everette Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304772f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477300200'), "name"=>"Alexandria Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477310200'), "name"=>"Brain Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477320200'), "name"=>"Melba Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477330200'), "name"=>"Adaline Champlin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477340200'), "name"=>"Dr. Cooper Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477350200'), "name"=>"Dr. Frank Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477360200'), "name"=>"Martina Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477370200'), "name"=>"Dr. Toy Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477380200'), "name"=>"Waylon Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477390200'), "name"=>"Karli Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773a0200'), "name"=>"Devon Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773b0200'), "name"=>"Christian Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773c0200'), "name"=>"Zula Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773d0200'), "name"=>"Mrs. Corine Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773e0200'), "name"=>"Ms. Kole Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304773f0200'), "name"=>"Davin Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304773f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477400200'), "name"=>"Jack Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477410200'), "name"=>"Kameron Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477420200'), "name"=>"Xander Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477430200'), "name"=>"Ian Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477440200'), "name"=>"Mrs. Dee Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477450200'), "name"=>"Eloisa Hamill Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477460200'), "name"=>"Nicholaus Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477470200'), "name"=>"Jackie Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477480200'), "name"=>"Pearl Schoen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477490200'), "name"=>"Quinten Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774a0200'), "name"=>"Gracie Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774b0200'), "name"=>"Ciara Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774c0200'), "name"=>"Coy Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774d0200'), "name"=>"Marlee Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774e0200'), "name"=>"Davion O'Kon II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304774f0200'), "name"=>"Romaine Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304774f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477500200'), "name"=>"Karine Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477510200'), "name"=>"Yasmin Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477520200'), "name"=>"Juanita Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477530200'), "name"=>"Samson Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477540200'), "name"=>"Melody Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477550200'), "name"=>"Drew Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477560200'), "name"=>"Ms. Alva Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477570200'), "name"=>"Roscoe Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477580200'), "name"=>"Karley Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477590200'), "name"=>"Alexander Weimann I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775a0200'), "name"=>"Crystel Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775b0200'), "name"=>"Lacey Gorczany Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775c0200'), "name"=>"Sabryna Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775d0200'), "name"=>"Lucile Brekke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775e0200'), "name"=>"Nyah Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304775f0200'), "name"=>"Claire Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304775f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477600200'), "name"=>"Mckenzie Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477610200'), "name"=>"Rosendo Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477620200'), "name"=>"Dr. Mabel Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477630200'), "name"=>"Marco Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477640200'), "name"=>"Godfrey Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477650200'), "name"=>"Ms. Brendan Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477660200'), "name"=>"Gilda Larson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477670200'), "name"=>"Fiona Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477680200'), "name"=>"Uriah Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477690200'), "name"=>"Josie Okuneva II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776a0200'), "name"=>"Tyrell Graham DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776b0200'), "name"=>"Deontae Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776c0200'), "name"=>"Ms. Ali Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776d0200'), "name"=>"Vincenzo Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776e0200'), "name"=>"Aracely Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304776f0200'), "name"=>"Pamela Sanford Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304776f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477700200'), "name"=>"Mrs. Rafael Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477710200'), "name"=>"Elza Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477720200'), "name"=>"Agustin Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477730200'), "name"=>"Dan Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477740200'), "name"=>"Ruben Nicolas DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477750200'), "name"=>"Vinnie Kertzmann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477760200'), "name"=>"Miss Cristopher Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477770200'), "name"=>"Victoria Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477780200'), "name"=>"Miss Dorothea Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777a0200'), "name"=>"Immanuel Beier Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777b0200'), "name"=>"Jaime Paucek III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777c0200'), "name"=>"Antonietta D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777d0200'), "name"=>"Clotilde Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777e0200'), "name"=>"Luther Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304777f0200'), "name"=>"Christelle Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477800200'), "name"=>"Mr. Icie Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477810200'), "name"=>"Rahsaan Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477820200'), "name"=>"Cheyanne Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477830200'), "name"=>"Ozella Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477840200'), "name"=>"Tamia Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477850200'), "name"=>"Catharine Wiza PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477860200'), "name"=>"Jenifer Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477870200'), "name"=>"Lera Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477880200'), "name"=>"Ernest Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477890200'), "name"=>"Bradley Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778a0200'), "name"=>"Myron Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778b0200'), "name"=>"Sonny Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778c0200'), "name"=>"Chaya Emmerich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778d0200'), "name"=>"Enrico Bartoletti MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778e0200'), "name"=>"Mohammed Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304778f0200'), "name"=>"Holly Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304778f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477900200'), "name"=>"Norris Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477910200'), "name"=>"Telly Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477920200'), "name"=>"Christophe Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477930200'), "name"=>"Elva McLaughlin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477940200'), "name"=>"Lukas Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477950200'), "name"=>"Mrs. Rhett Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477960200'), "name"=>"Ernestina Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477970200'), "name"=>"Adolph Altenwerth III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477980200'), "name"=>"Hilbert Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477990200'), "name"=>"Wilburn Prosacco DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779a0200'), "name"=>"Louvenia Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779b0200'), "name"=>"Theodore Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779c0200'), "name"=>"Laverna O'Connell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779d0200'), "name"=>"Bruce Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779e0200'), "name"=>"Ransom Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0377353304779f0200'), "name"=>"Ryley Gutkowski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304779f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a00200'), "name"=>"Marcel Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a10200'), "name"=>"Mrs. Mya Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a20200'), "name"=>"Coralie Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a30200'), "name"=>"Alexzander Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a40200'), "name"=>"Darrel Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a50200'), "name"=>"Barbara Renner DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a60200'), "name"=>"Raymond Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a70200'), "name"=>"Conor Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a80200'), "name"=>"Aglae Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477a90200'), "name"=>"Vern Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477aa0200'), "name"=>"Friedrich Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d037735330477ab0200'), "name"=>"Rae Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d037735330477ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ac0200'), "name"=>"Nellie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ad0200'), "name"=>"Delphine Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ae0200'), "name"=>"Jaydon Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477af0200'), "name"=>"Gerald McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b00200'), "name"=>"Laurel Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b10200'), "name"=>"Josephine Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b20200'), "name"=>"Lorenzo Senger I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b30200'), "name"=>"Joseph Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b40200'), "name"=>"Roger Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b50200'), "name"=>"Ara Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b60200'), "name"=>"Bridie Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b70200'), "name"=>"Colten Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b80200'), "name"=>"Violet Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477b90200'), "name"=>"Gonzalo Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ba0200'), "name"=>"Ms. Aditya Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477bb0200'), "name"=>"Israel Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477bc0200'), "name"=>"Kasey Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477bd0200'), "name"=>"Jettie Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477be0200'), "name"=>"Richmond Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477bf0200'), "name"=>"Rebekah Champlin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c00200'), "name"=>"Hugh Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c10200'), "name"=>"Carroll Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c20200'), "name"=>"Ruthe Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c30200'), "name"=>"Marcelo Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c40200'), "name"=>"Ryleigh Streich Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c50200'), "name"=>"Christophe Hudson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c60200'), "name"=>"Ms. Zoila Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c70200'), "name"=>"Devon Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c80200'), "name"=>"Meggie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477c90200'), "name"=>"Clint Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ca0200'), "name"=>"Alexane Ernser PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477cb0200'), "name"=>"Miss Donavon Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477cc0200'), "name"=>"Frederic Schmeler I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477cd0200'), "name"=>"Mrs. Clementina Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ce0200'), "name"=>"Birdie Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477cf0200'), "name"=>"Hailey Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d00200'), "name"=>"Esther Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d10200'), "name"=>"Diego Wiegand V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d20200'), "name"=>"Carlie McLaughlin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d30200'), "name"=>"Dr. Oswald Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d40200'), "name"=>"Korey Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d50200'), "name"=>"Rylee Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d60200'), "name"=>"Katheryn Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d70200'), "name"=>"Zola Fay DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d80200'), "name"=>"Yesenia Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477d90200'), "name"=>"Lester Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8d0377353304777a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d0377353304777a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0377353304777a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477da0200'), "name"=>"Jennie Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477db0200'), "name"=>"Hadley Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477dc0200'), "name"=>"Tom Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477dd0200'), "name"=>"Sebastian Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477de0200'), "name"=>"April Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477df0200'), "name"=>"Ms. Brianne Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e00200'), "name"=>"Lorenz Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e10200'), "name"=>"Terence Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e20200'), "name"=>"Broderick Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e30200'), "name"=>"Garry Johnston IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e40200'), "name"=>"Rosa Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e50200'), "name"=>"Sonia Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e60200'), "name"=>"Rigoberto Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e70200'), "name"=>"Daniella Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e80200'), "name"=>"Modesto Hermiston I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477e90200'), "name"=>"Clemens Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ea0200'), "name"=>"Lorna Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477eb0200'), "name"=>"Fleta Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ec0200'), "name"=>"Eugene Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ed0200'), "name"=>"Eldora Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ee0200'), "name"=>"Mervin Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ef0200'), "name"=>"Delphia O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f00200'), "name"=>"Miss Issac Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f10200'), "name"=>"Dagmar Kilback Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f20200'), "name"=>"Stanford Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f30200'), "name"=>"Chaim Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f40200'), "name"=>"Franz Fay MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f50200'), "name"=>"Dr. Chester Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f60200'), "name"=>"Mrs. Zora Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f70200'), "name"=>"Kennedy Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f80200'), "name"=>"Neal Towne V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477f90200'), "name"=>"Stefan Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477fa0200'), "name"=>"Louisa Lebsack III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477fb0200'), "name"=>"Max Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477fc0200'), "name"=>"Jules Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477fd0200'), "name"=>"Abigayle Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477fe0200'), "name"=>"Albin Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477ff0200'), "name"=>"Colt Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477000300'), "name"=>"Roscoe Lind II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477010300'), "name"=>"Tracey Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477020300'), "name"=>"Thora Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477030300'), "name"=>"Isaac Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477040300'), "name"=>"Thomas O'Conner Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477050300'), "name"=>"Eriberto McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477060300'), "name"=>"Ms. Graciela Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477070300'), "name"=>"Rowena Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477080300'), "name"=>"Jedediah Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477090300'), "name"=>"Mr. Penelope Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770a0300'), "name"=>"Erich Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770b0300'), "name"=>"Mary Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770c0300'), "name"=>"Ashton Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770d0300'), "name"=>"Fae Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770e0300'), "name"=>"Demarcus Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304770f0300'), "name"=>"Deangelo Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304770f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477100300'), "name"=>"Toney Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477110300'), "name"=>"Nathanial Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477120300'), "name"=>"Miss Lola Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477130300'), "name"=>"Dion Dicki Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477140300'), "name"=>"Vito Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477150300'), "name"=>"Nicole Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477160300'), "name"=>"Devon McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477170300'), "name"=>"Karl Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477180300'), "name"=>"Thurman Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477190300'), "name"=>"Greta Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771a0300'), "name"=>"Dr. Heather Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771b0300'), "name"=>"Bianka Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771c0300'), "name"=>"Tobin Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771d0300'), "name"=>"Dr. Herta Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771e0300'), "name"=>"Lorna Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304771f0300'), "name"=>"Edythe Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304771f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477200300'), "name"=>"Santa Dach V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477210300'), "name"=>"Ophelia Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477220300'), "name"=>"Linnie Bailey II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477230300'), "name"=>"Marion Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477240300'), "name"=>"Anderson Lubowitz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477250300'), "name"=>"Cheyanne Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477260300'), "name"=>"Regan Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477270300'), "name"=>"Hanna Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477280300'), "name"=>"Joan Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477290300'), "name"=>"Malika Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772a0300'), "name"=>"Glen Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772b0300'), "name"=>"Eliseo Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772c0300'), "name"=>"Hank McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772d0300'), "name"=>"Danny Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772e0300'), "name"=>"Bud Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d0477353304772f0300'), "name"=>"Thurman Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d0477353304772f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477300300'), "name"=>"Veronica White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477310300'), "name"=>"Kenyatta Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477320300'), "name"=>"Alexandra MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477330300'), "name"=>"Karina Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477340300'), "name"=>"Lazaro Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477350300'), "name"=>"Dr. Stanford Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477360300'), "name"=>"Emilio Auer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477370300'), "name"=>"Mr. Lori Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477380300'), "name"=>"Alda Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8d047735330477390300'), "name"=>"Sanford Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8d047735330477da0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d047735330477da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8d047735330477da0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8d047735330477da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms Redirected to http://test.host/categories/53df8d047735330477da0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304773a0300'), "name"=>"Rosamond Zemlak", "reference"=>"Bette Hintz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304773b0300'), "author_name"=>"Matteo Sauer", "content"=>["Reiciendis officiis enim. Blanditiis quia quam commodi velit. Voluptatibus voluptate dolorem beatae saepe. Suscipit adipisci consequatur doloremque officiis aut velit maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8d0477353304773a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8d0477353304773c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms Redirected to http://test.host/products/53df8d0477353304773a0300/comments/53df8d0477353304773c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304773d0300'), "name"=>"Vincenzo Reinger MD", "reference"=>"Karianne Schowalter", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304773e0300'), "author_name"=>"Alfredo Terry", "content"=>["Officiis molestiae corrupti explicabo at est nostrum fugiat. Exercitationem inventore cum quia excepturi repellendus sint. Modi qui aliquid pariatur sunt sint rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8d0477353304773d0300", "id"=>"53df8d0477353304773e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8d0477353304773e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms Redirected to http://test.host/products/53df8d0477353304773d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304773f0300'), "name"=>"Marilyne Douglas", "reference"=>"Pearl Mayert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477400300'), "author_name"=>"Angelo Hudson", "content"=>["Illum qui optio quia qui cum. Rerum fugiat ut est tempore veniam earum. Necessitatibus iste omnis quasi. Molestiae quia quo officia quia et eaque. Vel dolores quidem voluptatem velit corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8d0477353304773f0300", "id"=>"53df8d047735330477400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304773f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477410300'), "name"=>"Javonte Spinka II", "reference"=>"Granville Olson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477420300'), "author_name"=>"Mr. Freeda Hodkiewicz", "content"=>["Ea atque nulla fuga qui. Quas laboriosam aut impedit perferendis autem. Quod et est. Adipisci nemo molestiae in sunt doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8d047735330477410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (1.9ms) Completed 200 OK in 39ms (Views: 37.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477430300'), "name"=>"Hayley Weissnat", "reference"=>"Deion Cronin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477440300'), "author_name"=>"Dr. Jack Monahan", "content"=>["Officia quae hic ratione enim incidunt. Vitae voluptates ipsum ea voluptas facere corporis. Dolores qui odit ratione dignissimos nisi doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8d047735330477430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477450300'), "name"=>"Alice Kutch", "reference"=>"Bennie Schmidt", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477460300'), "author_name"=>"Lincoln Kutch", "content"=>["Qui modi corporis tenetur repudiandae dolorem. Itaque aut quos quasi sequi ipsam et. Molestiae molestiae aut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4589ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8d047735330477450300", "id"=>"53df8d047735330477460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477470300'), "name"=>"Evangeline Kuhic Sr.", "reference"=>"Ophelia Donnelly", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477480300'), "author_name"=>"Dr. Dedric Fay", "content"=>["Nemo sapiente in non. Sed blanditiis cumque. Quisquam ex dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8d047735330477470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477490300'), "name"=>"Jovan Hahn", "reference"=>"Dorothy Nienow II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304774a0300'), "author_name"=>"Florine Fadel", "content"=>["Qui fugiat consequuntur doloribus dolorum ratione quod. Minima aut est ratione. Dolorem vel enim ratione et consequatur qui. Quod quas qui rem quia qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8d047735330477490300", "id"=>"53df8d0477353304774a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304774b0300'), "name"=>"Carmelo Shields IV", "reference"=>"Rhiannon Schmeler II", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304774c0300'), "author_name"=>"Miss Jackson Murphy", "content"=>["Nisi dolores sapiente ratione et quo. Voluptate rerum earum magni accusamus. Adipisci aut rerum est deleniti dolores voluptate ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8d0477353304774c0300", "product_id"=>"53df8d0477353304774b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304774b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304774b0300'), "comments._id"=>BSON::ObjectId('53df8d0477353304774c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6602ms Redirected to http://test.host/products/53df8d0477353304774b0300/comments/53df8d0477353304774c0300 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('53df8d0477353304774d0300'), "firstname"=>"Lavonne", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6514ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3462ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d0477353304774e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms Redirected to http://test.host/admin/clients/53df8d0477353304774e0300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3105ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d0477353304774f0300'), "firstname"=>"Theron", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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"=>"53df8d0477353304774f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d0477353304774f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d0477353304774f0300')} 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.2298ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477500300'), "firstname"=>"Yvonne", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8d047735330477500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477500300')} 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.8ms) Completed 200 OK in 11ms (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('53df8d047735330477510300'), "firstname"=>"Don", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by Iord::GenericController#index as HTML MOPED: 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('53df8d047735330477520300'), "firstname"=>"Enoch", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1989ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477530300'), "firstname"=>"Kristofer", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8d047735330477530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477540300'), "firstname"=>"Waylon", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8d047735330477540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Redirected to http://test.host/admin/clients/53df8d047735330477540300 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('53df8d047735330477550300'), "firstname"=>"Elisa", "lastname"=>"Jakubowski"}] 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.2048ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms Redirected to http://test.host/clients/53df8d047735330477560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2075ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477570300'), "firstname"=>"Demarcus", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1885ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8d047735330477570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms Redirected to http://test.host/clients Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3496ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d047735330477580300'), "firstname"=>"Rita", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8d047735330477580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d047735330477580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 8ms (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('53df8d047735330477590300'), "firstname"=>"Darion", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4596ms Completed 200 OK in 10ms (Views: 9.0ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d0477353304775a0300'), "firstname"=>"Reinhold", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms 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('53df8d0477353304775b0300'), "firstname"=>"Delfina", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6708ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8d0477353304775b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d0477353304775b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8d0477353304775c0300'), "firstname"=>"Jeromy", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8d0477353304775c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d0477353304775c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8d0477353304775c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms Redirected to http://test.host/clients/53df8d0477353304775c0300 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('53df8d0477353304775d0300'), "name"=>"Miss Dorothy Spencer", "reference"=>"Dolores Feest Jr.", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df8d0477353304775e0300'), "firstname"=>"Julianne", "lastname"=>"Ratke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8d0477353304775d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304775d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304775d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304775d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8d0477353304775f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms Redirected to http://test.host/products/53df8d0477353304775d0300/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('53df8d047735330477600300'), "name"=>"Rudy Flatley", "reference"=>"Salvador Bahringer", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8d047735330477610300'), "firstname"=>"Kelly", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8d047735330477610300", "product_id"=>"53df8d047735330477600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4638ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477620300'), "name"=>"Tommie Kunde", "reference"=>"Mr. Izabella Weber", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8d047735330477630300'), "firstname"=>"Ola", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6077ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8d047735330477620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477640300'), "name"=>"Samara Ullrich", "reference"=>"Florian Lakin", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8d047735330477650300'), "firstname"=>"Bryana", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5659ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8d047735330477650300", "product_id"=>"53df8d047735330477640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477660300'), "name"=>"Alex Rowe PhD", "reference"=>"Shirley Walsh", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8d047735330477670300'), "firstname"=>"Seamus", "lastname"=>"Mitchell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8d047735330477670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8d047735330477660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms Unpermitted parameters: name Redirected to http://test.host/products/53df8d047735330477660300/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('53df8d047735330477680300'), "name"=>"Ms. Erika Nolan", "reference"=>"Marcelina Ritchie", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2628ms 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('53df8d047735330477690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Redirected to http://test.host/products/53df8d047735330477690300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2588ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304776a0300'), "name"=>"Houston Borer", "reference"=>"Jermey Upton V", "quantity"=>"3"}] 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.2337ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8d0477353304776a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304776a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304776a0300')} 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.1871ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304776b0300'), "name"=>"Mr. Theresa Waelchi", "reference"=>"Tabitha Kihn", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8d0477353304776b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304776b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.2ms) Completed 200 OK in 35ms (Views: 33.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304776c0300'), "name"=>"Clifton Bergnaum", "reference"=>"Dorian Klocko", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms 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.8008ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (56.6ms) Completed 200 OK in 60ms (Views: 59.0ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304776d0300'), "name"=>"Keyon Conn", "reference"=>"Gia Thompson", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms 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.7355ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304776e0300'), "name"=>"Priscilla Krajcik", "reference"=>"Abagail Weber Sr.", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8d0477353304776e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304776e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms 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('53df8d0477353304776f0300'), "name"=>"Trenton Walker", "reference"=>"Judson Williamson Sr.", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477710300'), "name"=>"Destinee Kilback", "reference"=>"Autumn Trantow", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5966ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8d047735330477710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4401ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477720300'), "name"=>"Mallory Moen", "reference"=>"Ms. Alisha MacGyver", "quantity"=>"4"}] 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.2803ms 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('53df8d047735330477730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3378ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477740300'), "name"=>"Kyler Hilll", "reference"=>"Ismael Wolf", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8d047735330477740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4315ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms 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('53df8d047735330477750300'), "name"=>"Dorthy Dietrich", "reference"=>"Alena Feest DDS", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms 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('53df8d047735330477770300'), "name"=>"Ernest Blick", "reference"=>"Felipa O'Keefe I", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5388ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8d047735330477770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4449ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms 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('53df8d047735330477780300'), "name"=>"Roberto Schulist", "reference"=>"Juvenal Lowe", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8d047735330477780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477780300')} 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('53df8d047735330477780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms Redirected to http://test.host/products/53df8d047735330477780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304777b0300'), "name"=>"Theodore Wolff", "reference"=>"Lenore Gerlach", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477790300'), "author_name"=>"Carlo Spencer", "content"=>["Nihil veniam debitis quia ut perspiciatis quae. Nam eos expedita et. Tempore et quo. Aut voluptas ad et beatae expedita cum."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304777a0300'), "author_name"=>"Giovanna Rogahn", "content"=>["Dolorem excepturi consequuntur provident possimus aut ipsum consectetur. Aliquam porro explicabo. Et fugit aut sed ratione saepe voluptas eos. Nobis ut est sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8d0477353304777b0300", "comment_id"=>"53df8d047735330477790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777b0300'), "comments._id"=>BSON::ObjectId('53df8d047735330477790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8d0477353304777c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6705ms Redirected to http://test.host/products/53df8d0477353304777b0300/comments/53df8d047735330477790300/comments/53df8d0477353304777c0300 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304777f0300'), "name"=>"Chasity Mohr", "reference"=>"Timmothy Weimann Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304777d0300'), "author_name"=>"Josie Runolfsson", "content"=>["Eligendi quo placeat ipsam. Dolorem maxime quo facilis tenetur ex voluptates. Aliquam corporis hic itaque. Aut nam molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304777e0300'), "author_name"=>"Durward Mueller", "content"=>["Dignissimos possimus molestiae qui illum. Ut quia eos velit aut. Consequatur totam laboriosam in. Odit unde possimus fugit earum numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8d0477353304777f0300", "comment_id"=>"53df8d0477353304777d0300", "id"=>"53df8d0477353304777e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777f0300'), "comments._id"=>BSON::ObjectId('53df8d0477353304777d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8d0477353304777e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6533ms Redirected to http://test.host/products/53df8d0477353304777f0300/comments/53df8d0477353304777d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304777f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 26.0031ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477820300'), "name"=>"Alexandrea Goodwin", "reference"=>"Brock Howell", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477800300'), "author_name"=>"Murl Collier", "content"=>["Laborum dolorum sequi quos. Voluptatem est dolor. Corporis commodi ratione pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477810300'), "author_name"=>"Jamarcus Lebsack", "content"=>["Voluptates cupiditate ut. Minus quae id labore qui voluptatem et repudiandae. Et nulla debitis vero dolores praesentium sint exercitationem. Dicta omnis ut repellat ipsa molestiae explicabo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5522ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8d047735330477820300", "comment_id"=>"53df8d047735330477800300", "id"=>"53df8d047735330477810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4753ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477850300'), "name"=>"Justine Dietrich", "reference"=>"Mr. Herman Swaniawski", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477830300'), "author_name"=>"Emiliano Streich II", "content"=>["Praesentium consequatur maxime iusto ab omnis quo unde. Ut eligendi id laborum et debitis. Quis quod reiciendis ut eveniet quasi molestiae harum. Earum nihil eum perferendis commodi nobis ex. Blanditiis explicabo quisquam ut est ipsa ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477840300'), "author_name"=>"Marcelina Tromp", "content"=>["Voluptas et aut a. Sed quia non. Dolorem nemo nihil unde rem et nesciunt minus. Accusantium incidunt fugiat illum saepe magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9880ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8d047735330477850300", "comment_id"=>"53df8d047735330477830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477880300'), "name"=>"Jaleel Hane", "reference"=>"Morton Erdman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477860300'), "author_name"=>"Landen Graham Jr.", "content"=>["Deleniti adipisci veniam consectetur. Amet eveniet exercitationem. Et omnis quia nesciunt optio laborum voluptatem. Doloribus amet rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477870300'), "author_name"=>"Alexandrea Runolfsdottir", "content"=>["Recusandae dolorum aspernatur minus eos. Eos aspernatur accusamus consectetur. Est doloremque ea maiores inventore molestias vero. Aperiam dolorum quia hic quae. Doloremque vitae repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8d047735330477880300", "comment_id"=>"53df8d047735330477860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3527ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304778b0300'), "name"=>"Reyna Zulauf", "reference"=>"Osborne Schamberger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477890300'), "author_name"=>"Arden Zulauf", "content"=>["Natus magnam corporis. Libero reprehenderit ipsa qui ea et accusamus dolor. Rerum amet quod consequatur velit delectus. Fugiat eos totam qui blanditiis non consectetur dolor."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304778a0300'), "author_name"=>"Violet Herman", "content"=>["Consequuntur dolore saepe quisquam sequi facere. Ea nihil aspernatur voluptas blanditiis et quaerat aut. Impedit dignissimos harum non provident accusantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8d0477353304778b0300", "comment_id"=>"53df8d047735330477890300", "id"=>"53df8d0477353304778a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304778b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d0477353304778e0300'), "name"=>"Mrs. Royal Stiedemann", "reference"=>"Mason Langworth", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304778c0300'), "author_name"=>"Ms. Juliet Torphy", "content"=>["Et quisquam non. Neque et laboriosam ut. Voluptate itaque incidunt sunt sed. Dolorem dolorum doloribus et suscipit. Tempore dolor et dolores ut vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304778d0300'), "author_name"=>"Jason Yost Sr.", "content"=>["Necessitatibus autem iure asperiores numquam id ad commodi. Id voluptatum suscipit eum nemo. Accusantium consequatur sed et ea a atque ipsa. Id alias sapiente maiores non deserunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8d0477353304778e0300", "comment_id"=>"53df8d0477353304778c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d0477353304778e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 41ms (Views: 39.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477910300'), "name"=>"Candelario Strosin", "reference"=>"Bria Watsica", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8d0477353304778f0300'), "author_name"=>"Macie Feil", "content"=>["Cum fuga iusto. A repudiandae molestiae est dolorum laborum. Excepturi minima exercitationem necessitatibus et."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477900300'), "author_name"=>"Payton White", "content"=>["Qui culpa ut illum odit optio. Qui et autem commodi. Est natus rem ut sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8d047735330477910300", "comment_id"=>"53df8d0477353304778f0300", "id"=>"53df8d047735330477900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8d047735330477940300'), "name"=>"Reyna Bartell", "reference"=>"Leanne Schinner", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477920300'), "author_name"=>"Marlin D'Amore IV", "content"=>["Doloribus in quaerat ut explicabo. Ut non et error quo sit. Quia in quos quae id distinctio. Et sit omnis magnam id aut nobis voluptatem. Tempora sint ab quis vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df8d047735330477930300'), "author_name"=>"Ms. Eric O'Hara", "content"=>["Aliquam commodi libero quisquam ut eius. Excepturi fuga voluptate et natus sint. Iusto sapiente repellat fugit culpa praesentium perspiciatis enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8d047735330477930300", "product_id"=>"53df8d047735330477940300", "comment_id"=>"53df8d047735330477920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8d047735330477940300')} 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('53df8d047735330477940300'), "comments._id"=>BSON::ObjectId('53df8d047735330477920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8d047735330477930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms Redirected to http://test.host/products/53df8d047735330477940300/comments/53df8d047735330477920300/comments/53df8d047735330477930300 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('53df8d057735330477950300'), "firstname"=>"Abbie", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7961ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2172ms 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('53df8d057735330477960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms Redirected to http://test.host/users/53df8d057735330477960300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2281ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d057735330477970300'), "firstname"=>"Noble", "lastname"=>"Smith"}] 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=>"admin_users", :query=>{}} runtime: 0.2057ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df8d057735330477970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d057735330477970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d057735330477970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms 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.2139ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d057735330477980300'), "firstname"=>"Sofia", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8d057735330477980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d057735330477980300')} 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.3ms) 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('53df8d057735330477990300'), "firstname"=>"Amya", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms 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.4294ms Rendered /home/geoffroy/projects/iord/app/views/iord/_index.html.erb (6.6ms) Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8d0577353304779a0300'), "firstname"=>"Ava", "lastname"=>"Nolan"}] 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.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('53df8d0577353304779b0300'), "firstname"=>"Darrin", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8d0577353304779b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d0577353304779b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms 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('53df8d0577353304779c0300'), "firstname"=>"Roslyn", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8d0577353304779c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8d0577353304779c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Unpermitted parameters: name Redirected to http://test.host/users/53df8d0577353304779c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e77773533059a000000'), "firstname"=>"Olin", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 79.9998ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4188ms 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('53df8e77773533059a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.7319ms Redirected to http://test.host/admin/administrator Completed 302 Found in 38ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.5174ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e77773533059a020000'), "firstname"=>"Woodrow", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6360ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df8e77773533059a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e77773533059a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5001ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.6ms) Completed 200 OK in 73ms (Views: 70.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a030000'), "firstname"=>"Kari", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 4.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a040000'), "firstname"=>"Linnie", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df8e78773533059a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e78773533059a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a050000'), "firstname"=>"Gwen", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6779ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df8e78773533059a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e78773533059a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms 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('53df8e78773533059a060000'), "name"=>"Kennedi Mohr", "reference"=>"Charlene Corwin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a070000'), "author_name"=>"Cathrine Gleichner", "content"=>["Mollitia provident facere similique eos enim. Nesciunt quia vitae. Tenetur totam aperiam nulla accusamus. Voluptas et quasi impedit laboriosam alias. Nisi aliquid inventore quis dignissimos earum ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4185ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e78773533059a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e78773533059a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Redirected to http://test.host/admin/products/53df8e78773533059a060000/comments/53df8e78773533059a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a090000'), "name"=>"Ressie Terry", "reference"=>"Ms. Lorna Borer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a0a0000'), "author_name"=>"Pierce Cronin", "content"=>["Eligendi quia ea pariatur unde. Illum maxime dignissimos fugiat delectus. Consectetur enim inventore sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e78773533059a090000", "id"=>"53df8e78773533059a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4364ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e78773533059a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5662ms Redirected to http://test.host/admin/products/53df8e78773533059a090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0b0000'), "name"=>"Ana Ledner", "reference"=>"Ansel Purdy", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a0c0000'), "author_name"=>"Tierra Collins", "content"=>["Nobis quasi mollitia qui quos vitae. Beatae doloribus repudiandae rem est aliquid debitis rerum. Tenetur laudantium quod aut quidem. Nemo pariatur voluptate quia iusto soluta enim et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df8e78773533059a0b0000", "id"=>"53df8e78773533059a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4395ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0d0000'), "name"=>"Quinn Murazik", "reference"=>"Rodrick Swaniawski MD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a0e0000'), "author_name"=>"Cindy Thompson MD", "content"=>["Quis facere molestias aliquam. Harum eligendi et voluptate. Aliquid incidunt illum minus quia sint. Non consectetur ducimus. Ducimus tempore nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6995ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df8e78773533059a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4414ms Completed 500 Internal Server Error in 6ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0f0000'), "name"=>"Mrs. Milton Pfannerstill", "reference"=>"Natasha Schulist", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a100000'), "author_name"=>"Miss Victor Waelchi", "content"=>["Et assumenda placeat minima est. Dicta est est aut. Eos ut non non. Suscipit alias necessitatibus sed aperiam rerum officia eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5870ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df8e78773533059a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a110000'), "name"=>"Reuben Kohler", "reference"=>"Francis Ryan", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a120000'), "author_name"=>"Cathrine Murphy", "content"=>["Debitis provident illo asperiores quia sint et. Perferendis vel dolores. Recusandae consectetur minima architecto dolor. Amet ut natus est aut tempore. Distinctio voluptatem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5759ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df8e78773533059a110000", "id"=>"53df8e78773533059a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a130000'), "name"=>"Sherman Bergnaum", "reference"=>"Miss Pattie Conn", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e78773533059a140000'), "author_name"=>"Elsa Bahringer", "content"=>["Quis quia et possimus aperiam odit. Qui aut doloremque. Ut ut aspernatur sed quisquam repellat culpa. Cum consequatur et. Minima id est deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e78773533059a140000", "product_id"=>"53df8e78773533059a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4068ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a130000'), "comments._id"=>BSON::ObjectId('53df8e78773533059a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6542ms Redirected to http://test.host/admin/products/53df8e78773533059a130000/comments/53df8e78773533059a140000 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('53df8e78773533059a150000'), "name"=>"Ansley Dach", "reference"=>"Gerson Walker", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a160000'), "firstname"=>"Karlee", "lastname"=>"Breitenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8e78773533059a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Redirected to http://test.host/admin/products/53df8e78773533059a150000/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('53df8e78773533059a180000'), "name"=>"Cristian Hane", "reference"=>"Darion Keebler", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a190000'), "firstname"=>"Jacinto", "lastname"=>"Mayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df8e78773533059a190000", "product_id"=>"53df8e78773533059a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1a0000'), "name"=>"Ms. Dorthy Boyle", "reference"=>"Alana Barrows", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a1b0000'), "firstname"=>"Leonora", "lastname"=>"Dickinson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df8e78773533059a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1c0000'), "name"=>"Sheridan Kuphal", "reference"=>"Armani Effertz", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a1d0000'), "firstname"=>"Chance", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df8e78773533059a1d0000", "product_id"=>"53df8e78773533059a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1e0000'), "name"=>"Trevor Zieme", "reference"=>"Sandy Bartoletti", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8e78773533059a1f0000'), "firstname"=>"Easter", "lastname"=>"Lockman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df8e78773533059a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8e78773533059a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df8e78773533059a1e0000/manager 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('53df8e78773533059a200000'), "name"=>"Dr. Kenneth Ziemann", "reference"=>"Reinhold Pfeffer", "quantity"=>"8"}] 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.1637ms 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('53df8e78773533059a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Redirected to http://test.host/admin/products/53df8e78773533059a210000 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('53df8e78773533059a220000'), "name"=>"Ron Volkman", "reference"=>"Arjun Thiel", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1735ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df8e78773533059a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a220000')} 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('53df8e78773533059a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms 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.1848ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a230000'), "name"=>"Ms. Mike Willms", "reference"=>"Lionel Reichert", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df8e78773533059a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a240000'), "name"=>"Letha Jenkins III", "reference"=>"Ivah Mraz", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms 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.4946ms Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a250000'), "name"=>"Kacey Fisher", "reference"=>"Mr. Ned Beier", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 17ms (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('53df8e78773533059a280000'), "name"=>"Marcelino Waelchi V", "reference"=>"Hadley Nicolas", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df8e78773533059a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a290000'), "name"=>"Meda Berge", "reference"=>"Cleta Roberts III", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e78773533059a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e78773533059a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms Redirected to http://test.host/admin/products/53df8e78773533059a290000 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('53df8e78773533059a2a0000'), "firstname"=>"Ayden", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8038ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1891ms 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('53df8e78773533059a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6095ms Redirected to http://test.host/admin/users/53df8e78773533059a2b0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2653ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2c0000'), "firstname"=>"Tate", "lastname"=>"Langosh"}] 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=>"admin_users", :query=>{}} runtime: 0.2626ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df8e78773533059a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e78773533059a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e78773533059a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms 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.1784ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2d0000'), "firstname"=>"Antone", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df8e78773533059a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e78773533059a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2e0000'), "firstname"=>"Amaya", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms 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.3105ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2f0000'), "firstname"=>"Yasmeen", "lastname"=>"Bechtelar"}] 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.6ms) 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('53df8e78773533059a300000'), "firstname"=>"Isai", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df8e78773533059a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e78773533059a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a310000'), "firstname"=>"Donald", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8e78773533059a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e78773533059a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df8e78773533059a310000 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('53df8e78773533059a320000'), "firstname"=>"Cassandre", "lastname"=>"Greenholt"}] 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=>"administrators", :query=>{}} runtime: 0.1771ms 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('53df8e78773533059a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms 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.1895ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a340000'), "firstname"=>"Rachel", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df8e78773533059a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e78773533059a340000')} 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.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a350000'), "firstname"=>"Rahul", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a360000'), "firstname"=>"Jacquelyn", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df8e78773533059a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e78773533059a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a370000'), "firstname"=>"Dakota", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0354ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df8e78773533059a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e78773533059a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a380000'), "name"=>"Isaac Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a390000'), "name"=>"Idell Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3a0000'), "name"=>"Mrs. Manuela Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3b0000'), "name"=>"Johnson Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3c0000'), "name"=>"Leo Moore PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3d0000'), "name"=>"Makenna Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3e0000'), "name"=>"Carmelo O'Conner III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3f0000'), "name"=>"Aaron Hane PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a400000'), "name"=>"Kaylee Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a410000'), "name"=>"Lourdes Reichel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a420000'), "name"=>"Miss Rowena Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a430000'), "name"=>"Neha Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a440000'), "name"=>"Columbus Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a450000'), "name"=>"Fabiola Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a460000'), "name"=>"Miss Cristopher Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a470000'), "name"=>"Marianne Runolfsdottir MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a480000'), "name"=>"Clifton Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a490000'), "name"=>"Luigi Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4a0000'), "name"=>"Aglae Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4b0000'), "name"=>"Laury Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4c0000'), "name"=>"Estelle Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4d0000'), "name"=>"Ryleigh Price DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4e0000'), "name"=>"Tressie Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4f0000'), "name"=>"Simone Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a500000'), "name"=>"Aidan Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a510000'), "name"=>"Garth Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a520000'), "name"=>"Paxton Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a530000'), "name"=>"Ms. Elinor Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a540000'), "name"=>"Dominique Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a550000'), "name"=>"Bertrand Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a560000'), "name"=>"Reva Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a570000'), "name"=>"Toney Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a580000'), "name"=>"Amya Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a590000'), "name"=>"Ms. London Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5a0000'), "name"=>"Ernestine Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5b0000'), "name"=>"Shannon Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5c0000'), "name"=>"Miss Dominique Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5d0000'), "name"=>"Kari Boyle IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5e0000'), "name"=>"Catherine Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a5f0000'), "name"=>"Mrs. Rachel Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a600000'), "name"=>"Otis Zemlak I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a610000'), "name"=>"Kaden Greenfelder V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a620000'), "name"=>"Jaylin Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a630000'), "name"=>"Vinnie Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a640000'), "name"=>"Rossie Dare Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a650000'), "name"=>"Dr. Zoe Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a660000'), "name"=>"Presley Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a670000'), "name"=>"Raul Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a680000'), "name"=>"Vivienne O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a690000'), "name"=>"Ms. Jordon Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6a0000'), "name"=>"Cristal Marvin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6b0000'), "name"=>"Melyssa Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6c0000'), "name"=>"Mrs. Mitchell Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6d0000'), "name"=>"Ignatius Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6e0000'), "name"=>"Harley Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a6f0000'), "name"=>"Mr. Wyatt Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a700000'), "name"=>"Alec Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a710000'), "name"=>"Jade Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a720000'), "name"=>"Mr. Johanna Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a730000'), "name"=>"Scarlett Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a740000'), "name"=>"Carol Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a750000'), "name"=>"Bartholome Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a760000'), "name"=>"Donald Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a770000'), "name"=>"Theron Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a780000'), "name"=>"Idell Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a790000'), "name"=>"Mrs. Kris Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7a0000'), "name"=>"Berniece Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7b0000'), "name"=>"Oswaldo Kemmer"}] 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={"category_id"=>BSON::ObjectId('53df8e78773533059a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7c0000'), "name"=>"Desiree Labadie"}] 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={"category_id"=>BSON::ObjectId('53df8e78773533059a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7d0000'), "name"=>"Lindsey Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7e0000'), "name"=>"Jaime Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a7f0000'), "name"=>"Frank Hane MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a800000'), "name"=>"Demarco Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a810000'), "name"=>"Mr. Leslie Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a820000'), "name"=>"Esta Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a830000'), "name"=>"Katelynn Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a840000'), "name"=>"Dr. Gideon Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a850000'), "name"=>"Rosie Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a860000'), "name"=>"Karen Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a870000'), "name"=>"Saul Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a880000'), "name"=>"Fern O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a890000'), "name"=>"Jerod Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8a0000'), "name"=>"Clair Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8b0000'), "name"=>"Selmer Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8c0000'), "name"=>"Boyd Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8d0000'), "name"=>"Will Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8e0000'), "name"=>"Garland Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a8f0000'), "name"=>"Hettie Grimes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a900000'), "name"=>"Javier McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a910000'), "name"=>"Alanis Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a920000'), "name"=>"Rowland Greenfelder MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a930000'), "name"=>"Braulio Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a940000'), "name"=>"Muriel Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a950000'), "name"=>"Mackenzie Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a960000'), "name"=>"Guy Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a970000'), "name"=>"Viva Langworth II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1261ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms Redirected to http://test.host/categories/53df8e78773533059a980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1723ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a990000'), "name"=>"Murl Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9a0000'), "name"=>"Bennie Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9b0000'), "name"=>"Lucas Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9c0000'), "name"=>"Dr. Rose Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9d0000'), "name"=>"Tierra Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9e0000'), "name"=>"Drake Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a9f0000'), "name"=>"Kyra Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa00000'), "name"=>"Jammie Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa10000'), "name"=>"Rylan Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa20000'), "name"=>"Jaycee Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa30000'), "name"=>"Kathleen Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa40000'), "name"=>"Laurence Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa50000'), "name"=>"Kenny Bernier MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa60000'), "name"=>"Eliseo Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa70000'), "name"=>"Gerhard O'Connell PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa80000'), "name"=>"Tyshawn Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aa90000'), "name"=>"Adeline Raynor Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aa90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aaa0000'), "name"=>"Talon Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aab0000'), "name"=>"Mr. Bryana Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aac0000'), "name"=>"Casper Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aad0000'), "name"=>"Ms. Mavis Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aae0000'), "name"=>"Christ Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aaf0000'), "name"=>"Kenton Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aaf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab00000'), "name"=>"Robbie Considine Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab10000'), "name"=>"Miss Hilda Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab20000'), "name"=>"Aryanna Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab30000'), "name"=>"Jessica Senger I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab40000'), "name"=>"Garfield White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab50000'), "name"=>"Mrs. Reese Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab60000'), "name"=>"Anderson Keebler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab70000'), "name"=>"Waylon Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab80000'), "name"=>"Manuel Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ab90000'), "name"=>"Mr. Ernest Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ab90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aba0000'), "name"=>"Celia Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059abb0000'), "name"=>"Mr. Daryl Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059abb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059abc0000'), "name"=>"Kiel Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059abc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059abd0000'), "name"=>"Miss Deontae Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059abd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059abe0000'), "name"=>"Pearline Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059abe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059abf0000'), "name"=>"Virginia Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac00000'), "name"=>"Malinda Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac10000'), "name"=>"Liam Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac20000'), "name"=>"Shanie Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac30000'), "name"=>"Anna Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac40000'), "name"=>"Virgie Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac50000'), "name"=>"Zoila McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac60000'), "name"=>"Deondre Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac70000'), "name"=>"Jovanny Krajcik Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac80000'), "name"=>"Hosea Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ac90000'), "name"=>"Tania Strosin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aca0000'), "name"=>"Pearl Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059acb0000'), "name"=>"Oral Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059acc0000'), "name"=>"Torey Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059acc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059acd0000'), "name"=>"Anahi Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ace0000'), "name"=>"Santa Kovacek I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ace0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059acf0000'), "name"=>"Maiya Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059acf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad00000'), "name"=>"Fausto Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.6819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad10000'), "name"=>"Rex Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad20000'), "name"=>"Marquis Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad30000'), "name"=>"Lorenza Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad40000'), "name"=>"Maria Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad50000'), "name"=>"Dr. Jessy Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad60000'), "name"=>"Glen Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad70000'), "name"=>"Nicolas Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad80000'), "name"=>"Mrs. Buck Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ad90000'), "name"=>"Tressa Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ad90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ada0000'), "name"=>"Raven Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ada0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059adb0000'), "name"=>"Margaretta Strosin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059adb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059adc0000'), "name"=>"Jett Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059adc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059add0000'), "name"=>"Marley Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059add0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ade0000'), "name"=>"Joey Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ade0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059adf0000'), "name"=>"Hannah Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059adf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae00000'), "name"=>"Ellie Stamm II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae10000'), "name"=>"Lincoln Huels Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae20000'), "name"=>"Thalia Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae30000'), "name"=>"Donavon Mueller DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae40000'), "name"=>"Osborne Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae50000'), "name"=>"Annetta Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae60000'), "name"=>"Newton Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae70000'), "name"=>"Rodrigo Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae80000'), "name"=>"Kody Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059ae90000'), "name"=>"Laisha Purdy PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059ae90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aea0000'), "name"=>"Hildegard Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aeb0000'), "name"=>"Humberto Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aec0000'), "name"=>"Emerson Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aed0000'), "name"=>"Modesta Lemke DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aee0000'), "name"=>"Xzavier Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aef0000'), "name"=>"Alivia Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af00000'), "name"=>"Isabel Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af10000'), "name"=>"Gilbert Hills IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af20000'), "name"=>"Haylie Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af30000'), "name"=>"Reynold Mosciski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af40000'), "name"=>"Helen Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af50000'), "name"=>"Daphnee White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af60000'), "name"=>"Yessenia Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af70000'), "name"=>"Britney Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af80000'), "name"=>"Alba Rolfson PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1221ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df8e78773533059a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e78773533059a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e78773533059a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1459ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059af90000'), "name"=>"Branson Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059afa0000'), "name"=>"Ms. Jadon Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059afa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059afb0000'), "name"=>"Vincenza Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059afb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059afc0000'), "name"=>"Mr. Constantin Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059afc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059afd0000'), "name"=>"Rosalinda Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059afd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059afe0000'), "name"=>"Sheldon Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059afe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059aff0000'), "name"=>"Mrs. Adriana Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059aff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a000100'), "name"=>"Jabari Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a010100'), "name"=>"Myah Sipes Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a020100'), "name"=>"Berniece O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a030100'), "name"=>"Maximillian Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a040100'), "name"=>"Amber Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a050100'), "name"=>"Suzanne Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a060100'), "name"=>"Peggie Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a070100'), "name"=>"Idella Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a080100'), "name"=>"Ms. Wilber Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a090100'), "name"=>"Maud Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0a0100'), "name"=>"Laney Rutherford MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0b0100'), "name"=>"Sadye Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0c0100'), "name"=>"Eldora Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0d0100'), "name"=>"Amya Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0e0100'), "name"=>"Elroy Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a0f0100'), "name"=>"Weldon Hagenes PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a100100'), "name"=>"Ms. Christina Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a110100'), "name"=>"Vernie Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a120100'), "name"=>"Valentina Robel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a130100'), "name"=>"Neal Swift V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a140100'), "name"=>"Angelica O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a150100'), "name"=>"Doyle Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a160100'), "name"=>"Garfield Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a170100'), "name"=>"Nova Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a180100'), "name"=>"Danika Cummerata II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a190100'), "name"=>"Chauncey Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1a0100'), "name"=>"Eudora Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1b0100'), "name"=>"Timmothy Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1c0100'), "name"=>"Johann Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1d0100'), "name"=>"Alanna Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1e0100'), "name"=>"Michale Senger Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a1f0100'), "name"=>"Dr. Amos Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a1f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a200100'), "name"=>"Rollin Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a210100'), "name"=>"Adaline Kuhic PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a220100'), "name"=>"Issac Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a230100'), "name"=>"Donald Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a240100'), "name"=>"Miguel Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a250100'), "name"=>"Rory Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a260100'), "name"=>"Mary Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a270100'), "name"=>"Caesar Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a280100'), "name"=>"Karl Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a290100'), "name"=>"Herta Konopelski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2a0100'), "name"=>"Ms. Kavon Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2b0100'), "name"=>"Edwin Zieme MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2c0100'), "name"=>"Piper Wintheiser IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2d0100'), "name"=>"Estella McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2e0100'), "name"=>"Eliezer Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a2f0100'), "name"=>"Alberta Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a2f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a300100'), "name"=>"Barrett Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a310100'), "name"=>"Elwin Sanford MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a320100'), "name"=>"Francis Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a330100'), "name"=>"Keith Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a340100'), "name"=>"Mrs. Wade Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a350100'), "name"=>"Alphonso Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a360100'), "name"=>"Tatum Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a370100'), "name"=>"Mr. Keenan Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a380100'), "name"=>"Salvador Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a390100'), "name"=>"Pat Welch V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3a0100'), "name"=>"Celine Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3b0100'), "name"=>"Aliza Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3c0100'), "name"=>"Adolphus Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3d0100'), "name"=>"Mrs. Eleazar Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3e0100'), "name"=>"Brett Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a3f0100'), "name"=>"Roselyn Hudson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a3f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a400100'), "name"=>"Margaretta Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a410100'), "name"=>"Felipe Wiza DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a420100'), "name"=>"Isaac Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a430100'), "name"=>"Nigel Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a440100'), "name"=>"Lucious Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a450100'), "name"=>"Ms. Jamaal Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a460100'), "name"=>"Mrs. Oren Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a470100'), "name"=>"Fred Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a480100'), "name"=>"Desmond Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a490100'), "name"=>"Mrs. Willard Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4a0100'), "name"=>"Theo Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4b0100'), "name"=>"Catherine Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e78773533059a4c0100'), "name"=>"Yvette Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059a4c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4d0100'), "name"=>"Mrs. Kelli Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4e0100'), "name"=>"Zola Turcotte Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4f0100'), "name"=>"Kaylah Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a500100'), "name"=>"Paula Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a510100'), "name"=>"Miss Angelo Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a520100'), "name"=>"Kip Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a530100'), "name"=>"Mrs. Eudora Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a540100'), "name"=>"Roy Keeling IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a550100'), "name"=>"Andy Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a560100'), "name"=>"Isac Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a570100'), "name"=>"Haleigh Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a580100'), "name"=>"Bridgette Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df8e78773533059af90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e78773533059af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e78773533059af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 10ms (Views: 8.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a590100'), "name"=>"Alvina Bartoletti MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5a0100'), "name"=>"Mr. Rashawn Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5b0100'), "name"=>"Lela Turcotte I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5c0100'), "name"=>"Keven Greenholt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5d0100'), "name"=>"Jordy Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5e0100'), "name"=>"Rosina Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5f0100'), "name"=>"Itzel Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a600100'), "name"=>"Woodrow Fadel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a610100'), "name"=>"Otha Mann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a620100'), "name"=>"Alexandria Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a630100'), "name"=>"Mrs. Sonia Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a640100'), "name"=>"Miss Raleigh Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a650100'), "name"=>"Miss Salvador Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a660100'), "name"=>"Merle Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a670100'), "name"=>"Reid D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a680100'), "name"=>"Audie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a690100'), "name"=>"Natasha Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6a0100'), "name"=>"Keely Weimann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6b0100'), "name"=>"Ms. Lue Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6c0100'), "name"=>"Dr. Adolphus Crooks"}] 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={"category_id"=>BSON::ObjectId('53df8e79773533059a6c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6d0100'), "name"=>"Abbey Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6e0100'), "name"=>"Alvah Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6f0100'), "name"=>"Guadalupe Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a700100'), "name"=>"Anthony Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a710100'), "name"=>"Miss Janice Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a720100'), "name"=>"Bo Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a730100'), "name"=>"Brigitte Thompson III"}] 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={"category_id"=>BSON::ObjectId('53df8e79773533059a730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a740100'), "name"=>"Antonia Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a750100'), "name"=>"Mr. Kristy Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a760100'), "name"=>"Ransom Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a770100'), "name"=>"Jessica Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a780100'), "name"=>"Mason Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a790100'), "name"=>"Junius Doyle III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7a0100'), "name"=>"Ephraim Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7b0100'), "name"=>"Iva Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7c0100'), "name"=>"Leland Kozey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7d0100'), "name"=>"Cade Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7e0100'), "name"=>"Juliet Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7f0100'), "name"=>"Lula Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a800100'), "name"=>"Albert Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a810100'), "name"=>"Tre Padberg III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a820100'), "name"=>"Verda Mertz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a830100'), "name"=>"Aaron Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a840100'), "name"=>"Ms. Maxime Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a850100'), "name"=>"Luther Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a860100'), "name"=>"Lola Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a870100'), "name"=>"Ms. Imelda Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a880100'), "name"=>"Justina Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a890100'), "name"=>"Marquise Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8a0100'), "name"=>"Eula Eichmann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8b0100'), "name"=>"Rosina Kuphal PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8c0100'), "name"=>"Camille Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8d0100'), "name"=>"Mr. Alice Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8e0100'), "name"=>"Dr. Albertha Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8f0100'), "name"=>"Karson Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a900100'), "name"=>"Miss Felicita Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a910100'), "name"=>"David Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a920100'), "name"=>"Jackie Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a930100'), "name"=>"Tyson Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a940100'), "name"=>"Jackeline Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a950100'), "name"=>"Cheyenne McCullough DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a960100'), "name"=>"Myrna Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a970100'), "name"=>"Mrs. Malvina Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a980100'), "name"=>"Lance Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a990100'), "name"=>"Abe Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9a0100'), "name"=>"Berenice Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9b0100'), "name"=>"Heath Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9c0100'), "name"=>"Daija Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9d0100'), "name"=>"Valerie Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9e0100'), "name"=>"Myrtis Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9f0100'), "name"=>"Eino Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa00100'), "name"=>"Albin Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa10100'), "name"=>"Freida Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa20100'), "name"=>"Kennedy Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa30100'), "name"=>"Mr. Abraham Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa40100'), "name"=>"Antone Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa50100'), "name"=>"Rex Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa60100'), "name"=>"Burnice Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa70100'), "name"=>"Jamaal Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa80100'), "name"=>"Lorena Hand PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa90100'), "name"=>"Aiden Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aaa0100'), "name"=>"Ari Gulgowski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aaa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aab0100'), "name"=>"Freda Hoppe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aac0100'), "name"=>"Estrella Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aad0100'), "name"=>"Janice Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aae0100'), "name"=>"Bradley Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aaf0100'), "name"=>"Marty Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aaf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab00100'), "name"=>"Myrl Braun DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab10100'), "name"=>"Roberto Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab20100'), "name"=>"Brando Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab30100'), "name"=>"Ryley Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab40100'), "name"=>"Sonia Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab50100'), "name"=>"Mustafa Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab60100'), "name"=>"Maxine Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab70100'), "name"=>"Tre Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab80100'), "name"=>"Kristy Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366986355484] runtime: 0.1351ms Completed 500 Internal Server Error in 39ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab90100'), "name"=>"Lew Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aba0100'), "name"=>"Ms. Dominic Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abb0100'), "name"=>"Elena Friesen DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abc0100'), "name"=>"Jasper McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abd0100'), "name"=>"Sigrid Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abe0100'), "name"=>"Ronny Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abf0100'), "name"=>"Osbaldo Gusikowski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac00100'), "name"=>"Guy Hodkiewicz DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac10100'), "name"=>"Patience Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac20100'), "name"=>"Palma Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac30100'), "name"=>"Laurence Hirthe I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac40100'), "name"=>"Miss Cloyd Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac50100'), "name"=>"Lacey Gibson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac60100'), "name"=>"Ms. Charlie Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac70100'), "name"=>"Ms. Casper Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac80100'), "name"=>"Alverta Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac90100'), "name"=>"Milton Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aca0100'), "name"=>"Winifred Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acb0100'), "name"=>"Jace Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acc0100'), "name"=>"Rosalee Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acd0100'), "name"=>"Miss Eva Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ace0100'), "name"=>"Katelin Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ace0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acf0100'), "name"=>"Jeanette Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad00100'), "name"=>"Miss Makayla Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad10100'), "name"=>"Kurtis Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad20100'), "name"=>"Dr. Hardy Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad30100'), "name"=>"Roberto Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad40100'), "name"=>"Ruben Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad50100'), "name"=>"Celine Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad60100'), "name"=>"Ms. Ali Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad70100'), "name"=>"Peyton Jaskolski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad80100'), "name"=>"Darrion Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad90100'), "name"=>"Zella Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ada0100'), "name"=>"Alejandrin Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ada0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adb0100'), "name"=>"Jordane Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adc0100'), "name"=>"Spencer Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059add0100'), "name"=>"Sanford Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059add0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ade0100'), "name"=>"Dr. Augusta Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ade0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adf0100'), "name"=>"Niko Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae00100'), "name"=>"Colby Osinski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae10100'), "name"=>"Miss Nico Grady"}] 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={"category_id"=>BSON::ObjectId('53df8e79773533059ae10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae20100'), "name"=>"Karelle Price Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae30100'), "name"=>"Gisselle Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae40100'), "name"=>"Betty Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae50100'), "name"=>"Walter Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae60100'), "name"=>"Miss Melody Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae70100'), "name"=>"Kaci Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae80100'), "name"=>"Camryn Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 52.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae90100'), "name"=>"Tiffany Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aea0100'), "name"=>"Amara Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aeb0100'), "name"=>"Jenifer Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aeb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aec0100'), "name"=>"Eugenia Osinski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aed0100'), "name"=>"Berry Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aee0100'), "name"=>"Jaime Bednar IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aef0100'), "name"=>"Jarred Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af00100'), "name"=>"Cooper Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af10100'), "name"=>"Jo Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af20100'), "name"=>"Laisha Batz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af30100'), "name"=>"Sven Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af40100'), "name"=>"Casey Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af50100'), "name"=>"Dr. Dorothea Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af60100'), "name"=>"Kathleen Walter III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af70100'), "name"=>"Gino Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af80100'), "name"=>"Caroline Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af90100'), "name"=>"Benjamin Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afa0100'), "name"=>"Lacey Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1957ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afb0100'), "name"=>"Augusta Mayer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afc0100'), "name"=>"Leone Leffler DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afd0100'), "name"=>"Kyla Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afe0100'), "name"=>"Triston Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aff0100'), "name"=>"Isobel Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a000200'), "name"=>"Mr. Linnie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a010200'), "name"=>"Stephan Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a020200'), "name"=>"Nicole Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a030200'), "name"=>"Rose Greenholt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a040200'), "name"=>"King Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a050200'), "name"=>"Amira Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a060200'), "name"=>"Doris O'Connell Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a070200'), "name"=>"Heath Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a080200'), "name"=>"Velva Rippin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a090200'), "name"=>"Miss Domenic Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0a0200'), "name"=>"Evan Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0b0200'), "name"=>"Camryn Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0c0200'), "name"=>"Bonita Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0d0200'), "name"=>"Emerald Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0e0200'), "name"=>"Hilbert Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a0f0200'), "name"=>"Mr. Ladarius Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a0f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a100200'), "name"=>"Vicky Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a110200'), "name"=>"Mr. Allan Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a120200'), "name"=>"Dr. Breanna Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a130200'), "name"=>"Imani Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a140200'), "name"=>"Cyril Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a150200'), "name"=>"Declan Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a160200'), "name"=>"Ivory Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a170200'), "name"=>"Kobe Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a180200'), "name"=>"Jacey Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366328751558] runtime: 0.0885ms Completed 500 Internal Server Error in 10ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a190200'), "name"=>"Lina Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1a0200'), "name"=>"Clark Schulist DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1b0200'), "name"=>"Ivy Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1c0200'), "name"=>"Miss Clarabelle Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1d0200'), "name"=>"Anika Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1e0200'), "name"=>"Conor Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a1f0200'), "name"=>"Dedrick Rice Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a1f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a200200'), "name"=>"Zackary Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a210200'), "name"=>"Mathilde Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a220200'), "name"=>"Vance Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a230200'), "name"=>"Kobe Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a240200'), "name"=>"Bernardo Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a250200'), "name"=>"Hellen Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a260200'), "name"=>"Mr. Ambrose Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a270200'), "name"=>"Raymond Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a280200'), "name"=>"Donato Hegmann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a290200'), "name"=>"George Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2a0200'), "name"=>"Lewis Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2b0200'), "name"=>"Brannon Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2c0200'), "name"=>"Berry Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2d0200'), "name"=>"Nico Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2e0200'), "name"=>"Miss Zack Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a2f0200'), "name"=>"Kamren Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a2f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a300200'), "name"=>"Antonio Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a310200'), "name"=>"Dakota Emmerich Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a320200'), "name"=>"Torrey Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a330200'), "name"=>"Ms. Addison Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a340200'), "name"=>"Johnnie Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a350200'), "name"=>"Alvera Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a360200'), "name"=>"Estella Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a370200'), "name"=>"Ms. Curtis Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a380200'), "name"=>"Sanford McKenzie II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a390200'), "name"=>"Ms. Henri Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3a0200'), "name"=>"Jason Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3b0200'), "name"=>"Humberto Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3c0200'), "name"=>"Mrs. Felicity Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3d0200'), "name"=>"Nels Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3e0200'), "name"=>"Millie Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a3f0200'), "name"=>"Vada VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a3f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a400200'), "name"=>"Camila Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a410200'), "name"=>"Mr. Rebekah Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a420200'), "name"=>"Carley Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a430200'), "name"=>"Dr. Tamia Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a440200'), "name"=>"Lorenza Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a450200'), "name"=>"Estevan Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a460200'), "name"=>"Oceane White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a470200'), "name"=>"Ollie Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a480200'), "name"=>"Okey Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a490200'), "name"=>"Mrs. Eleonore Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4a0200'), "name"=>"Keshaun Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4b0200'), "name"=>"Miss Terry Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4c0200'), "name"=>"Eriberto Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4d0200'), "name"=>"Alysha Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4e0200'), "name"=>"Ashley Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a4f0200'), "name"=>"Imelda Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a4f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a500200'), "name"=>"Marlee Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a510200'), "name"=>"Zack Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a520200'), "name"=>"Sheldon Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a530200'), "name"=>"Chelsea Borer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a540200'), "name"=>"Eriberto Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a550200'), "name"=>"Remington Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a560200'), "name"=>"Tressie Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a570200'), "name"=>"Lela Heidenreich V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a580200'), "name"=>"Ernesto Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a590200'), "name"=>"Mollie Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5a0200'), "name"=>"Lazaro Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5b0200'), "name"=>"Bud Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5c0200'), "name"=>"Heber Schaefer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5d0200'), "name"=>"Ricardo Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5e0200'), "name"=>"Amya Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a5f0200'), "name"=>"Miss Timmy Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a5f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a600200'), "name"=>"Tony Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a610200'), "name"=>"Jamison Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a620200'), "name"=>"Jade Ortiz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a630200'), "name"=>"Selina Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a640200'), "name"=>"Emil Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a650200'), "name"=>"Flavie Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a660200'), "name"=>"Idell Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a670200'), "name"=>"Carley Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a680200'), "name"=>"Shaylee Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a690200'), "name"=>"Miss Emilio Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6a0200'), "name"=>"Linnea Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6b0200'), "name"=>"Vivien Feeney V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6c0200'), "name"=>"Hobart Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6d0200'), "name"=>"Mrs. Lucienne Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6e0200'), "name"=>"Juanita Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a6f0200'), "name"=>"Larue Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a6f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a700200'), "name"=>"Ramiro Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1877ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a710200'), "name"=>"Jose Dach MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a720200'), "name"=>"Kristy Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a730200'), "name"=>"Ressie Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a740200'), "name"=>"Gage Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a750200'), "name"=>"Dorthy Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a760200'), "name"=>"Maybelle Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a770200'), "name"=>"Geovanny Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a780200'), "name"=>"Rubie Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 8ms (Views: 7.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7a0200'), "name"=>"Cindy Olson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7b0200'), "name"=>"Miss Ciara Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7c0200'), "name"=>"Madison Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7d0200'), "name"=>"Kurtis Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7e0200'), "name"=>"Richard Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a7f0200'), "name"=>"Aliza Hagenes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a800200'), "name"=>"Clair Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a810200'), "name"=>"Ozella Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a820200'), "name"=>"Katelynn Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a830200'), "name"=>"Laurel Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a840200'), "name"=>"Miss Jermaine Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a850200'), "name"=>"Mrs. Delia Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a860200'), "name"=>"Mrs. Keven Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a870200'), "name"=>"Watson Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a880200'), "name"=>"Vicente Kohler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a890200'), "name"=>"Dr. Lavina Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8a0200'), "name"=>"Lucinda Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8b0200'), "name"=>"Filomena Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8c0200'), "name"=>"Hilma Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8d0200'), "name"=>"Claudie Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8e0200'), "name"=>"Monroe Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a8f0200'), "name"=>"Trevor O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a8f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a900200'), "name"=>"Dolores West IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a910200'), "name"=>"Danielle Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a920200'), "name"=>"Arvilla Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a930200'), "name"=>"Kristian Bernier PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a940200'), "name"=>"Duane Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a950200'), "name"=>"Ms. Lucio Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a960200'), "name"=>"Lafayette Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a970200'), "name"=>"Sheila Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a980200'), "name"=>"Cory Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a990200'), "name"=>"Madaline Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9a0200'), "name"=>"Roman Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9b0200'), "name"=>"Philip Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9c0200'), "name"=>"Vincenza Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9d0200'), "name"=>"Ricardo Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9e0200'), "name"=>"Lamont Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059a9f0200'), "name"=>"Gerardo Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a9f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa00200'), "name"=>"Kendra Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa10200'), "name"=>"Khalil Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa20200'), "name"=>"Garrison Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa30200'), "name"=>"Miss Terry Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa40200'), "name"=>"Stanford Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa50200'), "name"=>"Alda Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa60200'), "name"=>"Seamus Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa70200'), "name"=>"Tremaine Jacobson DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa80200'), "name"=>"Jamaal Frami DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aa90200'), "name"=>"Caden Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aa90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aaa0200'), "name"=>"Anabelle Goyette Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aaa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aab0200'), "name"=>"Devon Mann I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aac0200'), "name"=>"Margie Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.4275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aad0200'), "name"=>"Makenzie Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aae0200'), "name"=>"Ms. Amiya Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aaf0200'), "name"=>"Cary Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aaf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab00200'), "name"=>"Aniyah Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab10200'), "name"=>"Candida Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab20200'), "name"=>"Helene Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab30200'), "name"=>"Howard Turner Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab40200'), "name"=>"Freeda Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab50200'), "name"=>"Liliana Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab60200'), "name"=>"Ariane Feeney II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab70200'), "name"=>"Jayme Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab80200'), "name"=>"Mr. Tyson Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ab90200'), "name"=>"Coralie Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ab90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aba0200'), "name"=>"Alva Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abb0200'), "name"=>"Treva Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abc0200'), "name"=>"Marquis Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abd0200'), "name"=>"Jamir Boehm DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abe0200'), "name"=>"Madelynn Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059abf0200'), "name"=>"Jarrod Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059abf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac00200'), "name"=>"Marisol Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac10200'), "name"=>"Betty Heathcote IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac20200'), "name"=>"Krista Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac30200'), "name"=>"Cyril Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac40200'), "name"=>"Dr. Jessica Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac50200'), "name"=>"Dr. Maximo Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac60200'), "name"=>"Justen Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac70200'), "name"=>"Grady Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac80200'), "name"=>"Giuseppe Turcotte I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ac90200'), "name"=>"Kiara Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ac90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aca0200'), "name"=>"Ms. Lewis Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acb0200'), "name"=>"Mr. Lauriane Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acc0200'), "name"=>"Octavia Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acd0200'), "name"=>"Miss Sadye Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ace0200'), "name"=>"Jabari Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ace0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059acf0200'), "name"=>"Cynthia King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059acf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad00200'), "name"=>"Jaida DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad10200'), "name"=>"Mr. Lou Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad20200'), "name"=>"Jamarcus Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad30200'), "name"=>"Marty Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad40200'), "name"=>"Louvenia Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad50200'), "name"=>"Ms. Name Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad60200'), "name"=>"Fredy Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad70200'), "name"=>"Edmund Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad80200'), "name"=>"Xander Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ad90200'), "name"=>"Omari Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ad90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8e79773533059a7a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e79773533059a7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059a7a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ada0200'), "name"=>"Dr. Clark Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adb0200'), "name"=>"Sienna Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adc0200'), "name"=>"Glenna Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059add0200'), "name"=>"Lori Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059add0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ade0200'), "name"=>"Dena Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ade0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059adf0200'), "name"=>"Dorthy Bashirian MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059adf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae00200'), "name"=>"Mr. Freeda Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae10200'), "name"=>"Dr. Alfreda Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae20200'), "name"=>"Dr. Albina Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae30200'), "name"=>"Riley Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae40200'), "name"=>"Mrs. Veronica Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae50200'), "name"=>"Henriette Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae60200'), "name"=>"Don Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae70200'), "name"=>"Kamille Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae80200'), "name"=>"Enrico Stokes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059ae90200'), "name"=>"Taryn Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ae90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aea0200'), "name"=>"Miss Anya Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aeb0200'), "name"=>"Macey Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aeb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aec0200'), "name"=>"Blanche Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aed0200'), "name"=>"Santos Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aee0200'), "name"=>"Ms. Baron Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059aef0200'), "name"=>"Rhoda O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059aef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af00200'), "name"=>"Sarina Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af10200'), "name"=>"Camilla Nader Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af20200'), "name"=>"Novella Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af30200'), "name"=>"Brian Rosenbaum DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af40200'), "name"=>"Miss Kennith Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af50200'), "name"=>"Mrs. Lavinia Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af60200'), "name"=>"Dr. Lonnie Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af70200'), "name"=>"Kieran Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af80200'), "name"=>"Evelyn Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059af90200'), "name"=>"Jedidiah Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059af90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afa0200'), "name"=>"Dell McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afb0200'), "name"=>"Orville Lynch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e79773533059afc0200'), "name"=>"Ramiro Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059afc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059afd0200'), "name"=>"Maegan O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059afd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059afe0200'), "name"=>"Assunta Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059afe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059aff0200'), "name"=>"Rachel Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059aff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a000300'), "name"=>"Uriah Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a010300'), "name"=>"Brando O'Hara IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a020300'), "name"=>"Soledad Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a030300'), "name"=>"Alta Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a040300'), "name"=>"Cecil Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a050300'), "name"=>"Queen Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a060300'), "name"=>"Eriberto Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a070300'), "name"=>"Maurice Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a080300'), "name"=>"Ruben Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a090300'), "name"=>"Bobbie O'Hara DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0a0300'), "name"=>"Henriette Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0b0300'), "name"=>"Kristin Hartmann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0c0300'), "name"=>"Chauncey Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0d0300'), "name"=>"Frieda Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0e0300'), "name"=>"Miss Makayla Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a0f0300'), "name"=>"Keshaun Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a0f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a100300'), "name"=>"Quinton O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a110300'), "name"=>"Dixie Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a120300'), "name"=>"Allene Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a130300'), "name"=>"Mr. Cloyd Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a140300'), "name"=>"Miss Idella MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a150300'), "name"=>"Miss Maybelle Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a160300'), "name"=>"Lonnie Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a170300'), "name"=>"Turner Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a180300'), "name"=>"Aurelie Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a190300'), "name"=>"Mrs. Raegan Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1a0300'), "name"=>"Oral Bahringer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1b0300'), "name"=>"Mrs. Camryn Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1c0300'), "name"=>"Mara Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1d0300'), "name"=>"Elisa Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1e0300'), "name"=>"Mrs. Cloyd Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a1f0300'), "name"=>"Otho Jacobson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a1f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a200300'), "name"=>"Antonette Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a210300'), "name"=>"Jolie Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a220300'), "name"=>"Jettie Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a230300'), "name"=>"Jorge Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a240300'), "name"=>"Dorian Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a250300'), "name"=>"Ms. Lexus Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a260300'), "name"=>"Jillian Rutherford IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a270300'), "name"=>"Mrs. Lucile Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a280300'), "name"=>"Florida Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a290300'), "name"=>"Dr. Derrick Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2a0300'), "name"=>"Dr. Nina Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2b0300'), "name"=>"Jeffrey Huel Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2c0300'), "name"=>"Cheyenne Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2d0300'), "name"=>"Alba D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2e0300'), "name"=>"Sharon Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a2f0300'), "name"=>"Ms. Kiara Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a2f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a300300'), "name"=>"Shakira Kuhlman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a310300'), "name"=>"Mr. Georgiana Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a320300'), "name"=>"Deangelo Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a330300'), "name"=>"Astrid Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a340300'), "name"=>"Kareem Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a350300'), "name"=>"Gus Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a360300'), "name"=>"Annalise Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a370300'), "name"=>"Mr. Adelbert Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a380300'), "name"=>"Maude Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a390300'), "name"=>"Lazaro Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e7a773533059a390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8e79773533059ada0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e79773533059ada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e79773533059ada0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e79773533059ada0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms Redirected to http://test.host/categories/53df8e79773533059ada0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a3a0300'), "name"=>"Freddy Strosin", "reference"=>"Nellie Mueller Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a3b0300'), "author_name"=>"Nickolas Balistreri", "content"=>["Accusamus consequuntur debitis doloremque. Totam sit nulla hic aut corporis ut asperiores. Aliquam non illo eligendi laboriosam aut voluptatem. Et ad minima sit qui sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e7a773533059a3a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a3c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/products/53df8e7a773533059a3a0300/comments/53df8e7a773533059a3c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a3d0300'), "name"=>"Dasia Barton", "reference"=>"Dr. Gabriel Hodkiewicz", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a3e0300'), "author_name"=>"Dante McKenzie", "content"=>["Voluptate vitae molestiae error minus voluptas. Dolores facilis perspiciatis placeat et velit. Itaque qui reprehenderit nemo nesciunt voluptatem commodi. Id quis aut dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e7a773533059a3d0300", "id"=>"53df8e7a773533059a3e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a3e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms Redirected to http://test.host/products/53df8e7a773533059a3d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a3f0300'), "name"=>"Collin Anderson DVM", "reference"=>"Herman Cormier", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a400300'), "author_name"=>"Cleveland Kunde", "content"=>["Enim exercitationem inventore et ad omnis et. Consequatur voluptatem neque cumque error sequi. Et et consequatur ut autem ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8e7a773533059a3f0300", "id"=>"53df8e7a773533059a400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a3f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.5ms) Completed 200 OK in 41ms (Views: 39.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a410300'), "name"=>"Garrison Konopelski", "reference"=>"Albert Harris", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a420300'), "author_name"=>"Dana Stiedemann", "content"=>["Quia mollitia nobis placeat quaerat laboriosam doloremque. At ab libero commodi et. Est tenetur necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8e7a773533059a410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a430300'), "name"=>"Delphia Stracke", "reference"=>"Tiana Swaniawski PhD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a440300'), "author_name"=>"Kaci Okuneva", "content"=>["Est rerum sed ex veniam eius. Maiores perspiciatis id praesentium cupiditate similique. Recusandae enim quia quia aliquid. Delectus sapiente aut vel corrupti sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3102ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8e7a773533059a430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a450300'), "name"=>"Gloria Koss", "reference"=>"Ms. Susanna Boyle", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a460300'), "author_name"=>"Berneice Ward", "content"=>["Architecto atque fuga et a quaerat. Nostrum autem voluptatem aperiam id consequuntur dolor. Corrupti totam dolorum. Animi corporis dolorum. Sapiente quae alias officia aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8e7a773533059a450300", "id"=>"53df8e7a773533059a460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a470300'), "name"=>"Miss Ayana Zemlak", "reference"=>"Haley Herzog", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a480300'), "author_name"=>"Oleta Funk", "content"=>["Voluptas qui sapiente neque nobis ut et vero. Tempora eligendi saepe est. Aut quidem aut. Expedita odio iste quidem quia non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8e7a773533059a470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a490300'), "name"=>"Syble Klein", "reference"=>"Mr. Marcelo Kuhn", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a4a0300'), "author_name"=>"Lynn McDermott", "content"=>["Tenetur sapiente ratione est non iure est. Dolorum corporis aut. Voluptatem nihil sit natus debitis labore. Iste ipsa et dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8e7a773533059a490300", "id"=>"53df8e7a773533059a4a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a4b0300'), "name"=>"Cristian Kautzer V", "reference"=>"Delmer Funk", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a4c0300'), "author_name"=>"Zaria Shields V", "content"=>["Saepe aut quia itaque quam sequi ut. Et non adipisci. Perferendis quis eos rerum quae accusamus velit sit. Corrupti natus et esse est consectetur cum amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e7a773533059a4c0300", "product_id"=>"53df8e7a773533059a4b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a4b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a4b0300'), "comments._id"=>BSON::ObjectId('53df8e7a773533059a4c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms Redirected to http://test.host/products/53df8e7a773533059a4b0300/comments/53df8e7a773533059a4c0300 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('53df8e7a773533059a4d0300'), "firstname"=>"Yoshiko", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1446ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a4e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms Redirected to http://test.host/admin/clients/53df8e7a773533059a4e0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1424ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a4f0300'), "firstname"=>"Idell", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1215ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8e7a773533059a4f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a4f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a4f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms 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.1335ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a500300'), "firstname"=>"Serena", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8e7a773533059a500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1960ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df8e7a773533059a510300'), "firstname"=>"Karen", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df8e7a773533059a520300'), "firstname"=>"Myriam", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms 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.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a530300'), "firstname"=>"Barbara", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8e7a773533059a530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms Completed 200 OK in 35ms (Views: 33.9ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a540300'), "firstname"=>"Bernhard", "lastname"=>"Stokes"}] 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"=>"53df8e7a773533059a540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms Redirected to http://test.host/admin/clients/53df8e7a773533059a540300 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('53df8e7a773533059a550300'), "firstname"=>"Alysha", "lastname"=>"McCullough"}] 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.1785ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Redirected to http://test.host/clients/53df8e7a773533059a560300 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('53df8e7a773533059a570300'), "firstname"=>"Marlee", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1275ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8e7a773533059a570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a570300')} 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('53df8e7a773533059a570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms 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.1357ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a580300'), "firstname"=>"Adelle", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8e7a773533059a580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df8e7a773533059a590300'), "firstname"=>"Verner", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms 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('53df8e7a773533059a5a0300'), "firstname"=>"Ignacio", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms 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('53df8e7a773533059a5b0300'), "firstname"=>"Rickie", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8e7a773533059a5b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a5b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms 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('53df8e7a773533059a5c0300'), "firstname"=>"Kelsi", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8e7a773533059a5c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a5c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e7a773533059a5c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms Redirected to http://test.host/clients/53df8e7a773533059a5c0300 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a5d0300'), "name"=>"Lila Wiegand", "reference"=>"Ms. Braxton Crona", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a5e0300'), "firstname"=>"Faustino", "lastname"=>"Schaden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8e7a773533059a5d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a5d0300')} 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('53df8e7a773533059a5d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a5d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a5f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms Redirected to http://test.host/products/53df8e7a773533059a5d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a600300'), "name"=>"Margret Greenholt IV", "reference"=>"Hadley Bergstrom", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a610300'), "firstname"=>"Domenic", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8e7a773533059a610300", "product_id"=>"53df8e7a773533059a600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a620300'), "name"=>"Naomie Klein", "reference"=>"Dr. Chaim Schinner", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a630300'), "firstname"=>"Theresa", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0142ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8e7a773533059a620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a640300'), "name"=>"Brook Huels", "reference"=>"Clint Pfannerstill", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a650300'), "firstname"=>"Isai", "lastname"=>"O'Hara"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8e7a773533059a650300", "product_id"=>"53df8e7a773533059a640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a660300'), "name"=>"Violet Fahey", "reference"=>"Carson Kiehn", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a670300'), "firstname"=>"Crystel", "lastname"=>"Lakin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8e7a773533059a670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8e7a773533059a660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Unpermitted parameters: name Redirected to http://test.host/products/53df8e7a773533059a660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a680300'), "name"=>"Karen Cremin", "reference"=>"Camron Grady", "quantity"=>"3"}] 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=>"products", :query=>{}} runtime: 0.2620ms 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('53df8e7a773533059a690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms Redirected to http://test.host/products/53df8e7a773533059a690300 Completed 302 Found in 27ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2374ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a6a0300'), "name"=>"Destiney Pollich", "reference"=>"Fabian Kling V", "quantity"=>"2"}] 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.3003ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8e7a773533059a6a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a6a0300')} 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={"_id"=>BSON::ObjectId('53df8e7a773533059a6a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms 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.2868ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a6b0300'), "name"=>"Mrs. Charlie Goyette", "reference"=>"Laurie Jaskolski", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8e7a773533059a6b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a6b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 41ms (Views: 39.9ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a6c0300'), "name"=>"Lillian Turcotte III", "reference"=>"Reece Runolfsdottir", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms 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.7370ms Completed 500 Internal Server Error in 19ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a6d0300'), "name"=>"Janice Abbott", "reference"=>"Myron DuBuque", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms 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.6408ms Completed 200 OK in 4ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a6e0300'), "name"=>"Tania Glover", "reference"=>"Anna Franecki", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8e7a773533059a6e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a6e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms 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('53df8e7a773533059a6f0300'), "name"=>"Otilia Swaniawski", "reference"=>"Ryley Rau DDS", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df8e7a773533059a710300'), "name"=>"Anjali Dare", "reference"=>"Stephania Baumbach", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8e7a773533059a710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a720300'), "name"=>"Delaney Volkman", "reference"=>"Ms. Tevin Heidenreich", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1697ms 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('53df8e7a773533059a730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a740300'), "name"=>"Adah Graham", "reference"=>"Tiana Schoen", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8e7a773533059a740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms 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('53df8e7a773533059a750300'), "name"=>"Emely Hudson", "reference"=>"Miss Otto Williamson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity 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('53df8e7a773533059a770300'), "name"=>"Lane Little", "reference"=>"Henri Mante", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e7a773533059a770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a770300')} 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('53df8e7a773533059a780300'), "name"=>"Alex Parker", "reference"=>"Anabel Nicolas", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e7a773533059a780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms Redirected to http://test.host/products/53df8e7a773533059a780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a7b0300'), "name"=>"Leopold Weber", "reference"=>"Ms. Marvin Sipes", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a790300'), "author_name"=>"Tressa Feest", "content"=>["Sapiente deleniti expedita. Et omnis commodi adipisci. Placeat ipsam consequuntur delectus. Enim et quas modi nesciunt. Ipsam rerum est possimus commodi iusto consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a7a0300'), "author_name"=>"Quinton Ryan", "content"=>["Vel ea ut facere. Perferendis quibusdam excepturi sequi expedita amet sapiente sed. In aut tenetur. Sunt maiores quae nemo nisi rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e7a773533059a7b0300", "comment_id"=>"53df8e7a773533059a790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7b0300')} 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('53df8e7a773533059a7b0300'), "comments._id"=>BSON::ObjectId('53df8e7a773533059a790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a7c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms Redirected to http://test.host/products/53df8e7a773533059a7b0300/comments/53df8e7a773533059a790300/comments/53df8e7a773533059a7c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a7f0300'), "name"=>"Carlie Runolfsdottir", "reference"=>"Janis Farrell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a7d0300'), "author_name"=>"Dianna Corkery DDS", "content"=>["Reprehenderit laborum blanditiis rerum nihil at. Ut alias non hic vero. Dolorem in tenetur delectus totam neque amet aut. Tempore blanditiis facere rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a7e0300'), "author_name"=>"Mrs. Carmelo Romaguera", "content"=>["Sequi culpa ut molestiae et eos et ut. Non laboriosam sed quia architecto saepe eos. Consequatur et tenetur officia suscipit aperiam itaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e7a773533059a7f0300", "comment_id"=>"53df8e7a773533059a7d0300", "id"=>"53df8e7a773533059a7e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7f0300'), "comments._id"=>BSON::ObjectId('53df8e7a773533059a7d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8e7a773533059a7e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Redirected to http://test.host/products/53df8e7a773533059a7f0300/comments/53df8e7a773533059a7d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a7f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a820300'), "name"=>"Easton Kilback", "reference"=>"Edgardo Graham", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a800300'), "author_name"=>"Omari VonRueden", "content"=>["Tempore ducimus est id. Rem ea ullam iste ut. Possimus dolorem in mollitia qui sapiente ut. Perferendis nulla eligendi quasi corporis ab in. Nobis dolores blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a810300'), "author_name"=>"Loraine Adams", "content"=>["Reiciendis excepturi blanditiis quibusdam quas porro sunt qui. Incidunt commodi at sed dolore. Et sit eaque. A qui aliquam et veniam veritatis sunt consectetur. Id quasi eum sit voluptatibus voluptatum aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8e7a773533059a820300", "comment_id"=>"53df8e7a773533059a800300", "id"=>"53df8e7a773533059a810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a820300')} 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.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a850300'), "name"=>"Cale Johnson", "reference"=>"Mrs. Elroy Hermann", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a830300'), "author_name"=>"Bret Windler", "content"=>["Rerum ex at placeat deserunt et velit consectetur. Facilis porro officia aut. Sunt quisquam accusamus cupiditate fugiat nulla ea ex."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a840300'), "author_name"=>"Cecelia Reichel MD", "content"=>["Iure possimus itaque architecto ad numquam. Quidem et voluptas aperiam aut aliquid placeat. Nostrum velit cumque veritatis cum voluptatem consequatur voluptatem. Laudantium ut ipsum saepe quisquam delectus. Eligendi et quia iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8e7a773533059a850300", "comment_id"=>"53df8e7a773533059a830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms Completed 500 Internal Server Error in 38ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a880300'), "name"=>"Doug Aufderhar", "reference"=>"Erik Hoppe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a860300'), "author_name"=>"Adam Bechtelar", "content"=>["Provident distinctio ea et. Dolorum explicabo esse cumque et porro. Quia necessitatibus voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a870300'), "author_name"=>"Liliane Dickinson", "content"=>["Est porro at eos esse. Quae consequatur ut molestiae ipsam. Quo unde quas autem consequatur. Nostrum consectetur voluptatem voluptas tenetur dolorem quasi quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8e7a773533059a880300", "comment_id"=>"53df8e7a773533059a860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a8b0300'), "name"=>"Hobart Smith", "reference"=>"Dr. Geovanni Hodkiewicz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a890300'), "author_name"=>"Giovanna Gerlach", "content"=>["Sequi consequatur consequatur. Inventore aut accusamus reprehenderit sed nobis quaerat laborum. Alias eaque sapiente. Vel culpa deleniti voluptatum voluptatibus ut asperiores. Quod voluptates fugit ducimus ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a8a0300'), "author_name"=>"Green Muller", "content"=>["Perspiciatis atque numquam. Sint id dignissimos ut qui aut dolor. Commodi omnis dignissimos corporis expedita necessitatibus ducimus sed. Nisi velit magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8e7a773533059a8b0300", "comment_id"=>"53df8e7a773533059a890300", "id"=>"53df8e7a773533059a8a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a8b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a8e0300'), "name"=>"Gregg Marks IV", "reference"=>"Ms. Ralph Dooley", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a8c0300'), "author_name"=>"Brandi Boyle", "content"=>["Nesciunt qui et. Velit laboriosam numquam vel eligendi. Soluta quos quo natus quasi voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a8d0300'), "author_name"=>"Xzavier Paucek", "content"=>["Fugiat molestiae enim rerum fugit possimus autem. Sunt reprehenderit rerum voluptatem ut eos. Iure at commodi doloribus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8e7a773533059a8e0300", "comment_id"=>"53df8e7a773533059a8c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a8e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a910300'), "name"=>"Ebony Greenfelder", "reference"=>"Elvera Abernathy", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a8f0300'), "author_name"=>"Ms. Dudley Feest", "content"=>["Repellat autem neque labore nostrum. Et adipisci sunt omnis et laudantium praesentium deleniti. Odit nostrum aut at. Laboriosam temporibus similique saepe labore vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a900300'), "author_name"=>"Lizeth Cormier", "content"=>["Quis ad dicta aut. Laudantium velit voluptas architecto sint. Rerum nulla earum autem nam. Soluta cum aut aliquid quam ipsum. Laudantium et eligendi commodi eius enim maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8e7a773533059a910300", "comment_id"=>"53df8e7a773533059a8f0300", "id"=>"53df8e7a773533059a900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a940300'), "name"=>"Mathias Russel", "reference"=>"Lauretta Breitenberg", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a920300'), "author_name"=>"Dr. Wayne Turner", "content"=>["Quae optio quibusdam ullam in facilis fugit. Sint alias dolores debitis excepturi. Corporis necessitatibus est quod libero. Consequatur eius perspiciatis veritatis. Ut est quae."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e7a773533059a930300'), "author_name"=>"Ahmad Goldner DVM", "content"=>["Quae perferendis sit. Minus labore aut fugiat ipsa eveniet. Quae et vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e7a773533059a930300", "product_id"=>"53df8e7a773533059a940300", "comment_id"=>"53df8e7a773533059a920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e7a773533059a940300'), "comments._id"=>BSON::ObjectId('53df8e7a773533059a920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8e7a773533059a930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms Redirected to http://test.host/products/53df8e7a773533059a940300/comments/53df8e7a773533059a920300/comments/53df8e7a773533059a930300 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('53df8e7a773533059a950300'), "firstname"=>"Tatyana", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms 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('53df8e7a773533059a960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms Redirected to http://test.host/users/53df8e7a773533059a960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1834ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a970300'), "firstname"=>"Dennis", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1667ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df8e7a773533059a970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e7a773533059a970300')} 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('53df8e7a773533059a970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms 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.1758ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a980300'), "firstname"=>"Roma", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8e7a773533059a980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e7a773533059a980300')} 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.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a990300'), "firstname"=>"Joel", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms 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 500 Internal Server Error in 8ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a9a0300'), "firstname"=>"Ransom", "lastname"=>"Champlin"}] 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.5ms) Completed 200 OK in 4ms (Views: 3.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a9b0300'), "firstname"=>"Ted", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8e7a773533059a9b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e7a773533059a9b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e7a773533059a9c0300'), "firstname"=>"Destini", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8e7a773533059a9c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e7a773533059a9c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Unpermitted parameters: name Redirected to http://test.host/users/53df8e7a773533059a9c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5137ms 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.4908ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5297ms 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.4222ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5872ms 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.4209ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6000000'), "firstname"=>"Lia", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6042ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1987ms 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('53df8e9777353305c6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms 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('53df8e9777353305c6020000'), "firstname"=>"Zoila", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.1013ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df8e9777353305c6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 49ms (Views: 47.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6030000'), "firstname"=>"Linda", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5436ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6040000'), "firstname"=>"Michale", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df8e9777353305c6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6050000'), "firstname"=>"Yesenia", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df8e9777353305c6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms 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('53df8e9777353305c6060000'), "name"=>"Adrienne Reichel", "reference"=>"German Hyatt", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c6070000'), "author_name"=>"Mr. Addie Klein", "content"=>["Et dignissimos voluptatem iste velit placeat. Quidem sed et quia ipsum. Expedita consequatur sequi eum. Consequuntur quisquam qui doloribus reprehenderit. Quisquam sit dolores delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e9777353305c6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3683ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e9777353305c6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Redirected to http://test.host/admin/products/53df8e9777353305c6060000/comments/53df8e9777353305c6080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6090000'), "name"=>"Madonna Leuschke", "reference"=>"Harold Mueller", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c60a0000'), "author_name"=>"Ardith Jast", "content"=>["Quos mollitia ut quia animi et sed cumque. Distinctio libero qui ut quibusdam laborum. Inventore et omnis aut impedit aliquid quia officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e9777353305c6090000", "id"=>"53df8e9777353305c60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e9777353305c60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms Redirected to http://test.host/admin/products/53df8e9777353305c6090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c60b0000'), "name"=>"Hillary Ledner", "reference"=>"Amy Gaylord", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c60c0000'), "author_name"=>"Halie Kling", "content"=>["Aut eos reiciendis. Consequatur blanditiis quod voluptatem numquam. Nisi nihil enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df8e9777353305c60b0000", "id"=>"53df8e9777353305c60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c60b0000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c60d0000'), "name"=>"Lorine Rosenbaum", "reference"=>"Thea Bosco", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c60e0000'), "author_name"=>"Ashlee Kuphal", "content"=>["Id omnis nisi dolore fugit distinctio excepturi deserunt. Dolor qui laborum suscipit ducimus et. Accusantium labore voluptatem perferendis qui culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df8e9777353305c60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms Completed 500 Internal Server Error in 6ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c60f0000'), "name"=>"Mr. Ethyl Stiedemann", "reference"=>"Destiny Langworth MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c6100000'), "author_name"=>"Donato Larkin", "content"=>["Incidunt consequatur est asperiores vero iure. Numquam ex quae autem vel. Quos architecto asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df8e9777353305c60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6110000'), "name"=>"Khalil Nicolas", "reference"=>"Elliott Cartwright DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c6120000'), "author_name"=>"Jeffery Gottlieb", "content"=>["In quaerat at atque eius. Possimus et sunt quis consequatur et ex est. Quos rerum aspernatur ut sint. Vel nisi recusandae. Reprehenderit tenetur saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df8e9777353305c6110000", "id"=>"53df8e9777353305c6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6130000'), "name"=>"Mr. Jimmie Mills", "reference"=>"Margie Sawayn III", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9777353305c6140000'), "author_name"=>"Chaim Oberbrunner", "content"=>["Quia possimus sit deserunt. Nobis qui quidem dolorum soluta. Laudantium impedit qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e9777353305c6140000", "product_id"=>"53df8e9777353305c6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6130000')} 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('53df8e9777353305c6130000'), "comments._id"=>BSON::ObjectId('53df8e9777353305c6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Redirected to http://test.host/admin/products/53df8e9777353305c6130000/comments/53df8e9777353305c6140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6150000'), "name"=>"Delaney Goldner II", "reference"=>"Reagan Rodriguez", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c6160000'), "firstname"=>"Dudley", "lastname"=>"Klein"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8e9777353305c6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6743ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/admin/products/53df8e9777353305c6150000/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('53df8e9777353305c6180000'), "name"=>"Cierra Price", "reference"=>"Paolo Halvorson I", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c6190000'), "firstname"=>"Dario", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df8e9777353305c6190000", "product_id"=>"53df8e9777353305c6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c61a0000'), "name"=>"Clark Ritchie", "reference"=>"Carleton Johnston", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c61b0000'), "firstname"=>"Shawna", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df8e9777353305c61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c61c0000'), "name"=>"Phoebe Predovic", "reference"=>"Briana Pagac", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c61d0000'), "firstname"=>"Evans", "lastname"=>"Okuneva"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df8e9777353305c61d0000", "product_id"=>"53df8e9777353305c61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c61e0000'), "name"=>"Jacques Langosh", "reference"=>"Jamir Rippin Jr.", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df8e9777353305c61f0000'), "firstname"=>"Earl", "lastname"=>"Lindgren"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df8e9777353305c61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8e9777353305c61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df8e9777353305c61e0000/manager 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('53df8e9777353305c6200000'), "name"=>"Ida Schneider IV", "reference"=>"Ms. Cole Lakin", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2087ms 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('53df8e9777353305c6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Redirected to http://test.host/admin/products/53df8e9777353305c6210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2373ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6220000'), "name"=>"Pinkie Hartmann", "reference"=>"Alvah Medhurst", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1986ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df8e9777353305c6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms 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.2237ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6230000'), "name"=>"Donnie Lockman Jr.", "reference"=>"Kristopher Gerhold", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df8e9777353305c6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6240000'), "name"=>"Mrs. Marilie Pacocha", "reference"=>"Mrs. Name Lehner", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms 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.4853ms Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6250000'), "name"=>"Roxanne Howell", "reference"=>"Marquis McLaughlin Sr.", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53df8e9777353305c6280000'), "name"=>"Oswald Nolan", "reference"=>"Rosamond Schmeler", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df8e9777353305c6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6290000'), "name"=>"Bernice Larson", "reference"=>"Loyal Bruen", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e9777353305c6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9777353305c6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms Redirected to http://test.host/admin/products/53df8e9777353305c6290000 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('53df8e9777353305c62a0000'), "firstname"=>"Clay", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1287ms 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('53df8e9777353305c62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Redirected to http://test.host/admin/users/53df8e9777353305c62b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1407ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c62c0000'), "firstname"=>"Al", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1234ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df8e9777353305c62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9777353305c62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9777353305c62c0000')} 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.1695ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c62d0000'), "firstname"=>"Roslyn", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df8e9777353305c62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9777353305c62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c62e0000'), "firstname"=>"Tessie", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms 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.2779ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c62f0000'), "firstname"=>"Sandy", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms 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('53df8e9777353305c6300000'), "firstname"=>"Hassan", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df8e9777353305c6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9777353305c6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6310000'), "firstname"=>"Delia", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8e9777353305c6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9777353305c6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df8e9777353305c6310000 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('53df8e9777353305c6320000'), "firstname"=>"Stanton", "lastname"=>"Batz"}] 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=>"administrators", :query=>{}} runtime: 0.1344ms 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('53df8e9777353305c6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms 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.1489ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6340000'), "firstname"=>"Janae", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df8e9777353305c6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6350000'), "firstname"=>"Alana", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6360000'), "firstname"=>"Preston", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df8e9777353305c6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6370000'), "firstname"=>"Zelma", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df8e9777353305c6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8e9777353305c6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6380000'), "name"=>"Aric Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6390000'), "name"=>"Lacy Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63a0000'), "name"=>"Wilber Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63b0000'), "name"=>"Gerry O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63c0000'), "name"=>"Maud Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63d0000'), "name"=>"Franz Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63e0000'), "name"=>"Eugene Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c63f0000'), "name"=>"Eli Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6400000'), "name"=>"Monty Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6410000'), "name"=>"Savanah Nienow II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6420000'), "name"=>"Mr. Haylie Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6430000'), "name"=>"Mrs. Gabriel Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6440000'), "name"=>"Mr. Vida Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6450000'), "name"=>"Vance Dach Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6460000'), "name"=>"Ms. Ardella Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6470000'), "name"=>"Joe Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6480000'), "name"=>"Miss Maude O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6490000'), "name"=>"Rodolfo Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64a0000'), "name"=>"Mr. Leonor Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64b0000'), "name"=>"Miss Sonya Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64c0000'), "name"=>"Joany Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64d0000'), "name"=>"Ashly McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64e0000'), "name"=>"Ryann Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c64f0000'), "name"=>"Sigmund Hintz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6500000'), "name"=>"Pat Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6510000'), "name"=>"Ms. Delores Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6520000'), "name"=>"Dr. Derrick Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6530000'), "name"=>"Mr. Marcel Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6540000'), "name"=>"Kaia Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6550000'), "name"=>"Madilyn Monahan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6560000'), "name"=>"Baylee Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6570000'), "name"=>"Taurean Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6580000'), "name"=>"Ramona D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6590000'), "name"=>"Richmond Bahringer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65a0000'), "name"=>"Emil Morissette MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65b0000'), "name"=>"Cleve Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65c0000'), "name"=>"Bell Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65d0000'), "name"=>"Felipa O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65e0000'), "name"=>"Dave Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c65f0000'), "name"=>"Alden Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6600000'), "name"=>"Dallin Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6610000'), "name"=>"Gillian Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6620000'), "name"=>"Aaron Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6630000'), "name"=>"Rhett Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6640000'), "name"=>"Eino Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6650000'), "name"=>"Verdie O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6660000'), "name"=>"Hertha Heathcote I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6670000'), "name"=>"Jesse Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6680000'), "name"=>"Mr. Friedrich Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6690000'), "name"=>"Carissa Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66a0000'), "name"=>"Braeden Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66b0000'), "name"=>"Briana Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66c0000'), "name"=>"Lavon Gibson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66d0000'), "name"=>"Lucius Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66e0000'), "name"=>"Leo Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c66f0000'), "name"=>"Jermain Bauch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6700000'), "name"=>"Angelina Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6710000'), "name"=>"Bethel Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6720000'), "name"=>"Bobbie Thiel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6730000'), "name"=>"Alexandrea Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6740000'), "name"=>"Edyth Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6750000'), "name"=>"Candido Wintheiser Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6760000'), "name"=>"Adam Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6770000'), "name"=>"Ida Stoltenberg V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9777353305c6780000'), "name"=>"Miss Vance Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9777353305c6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6790000'), "name"=>"Orrin Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67a0000'), "name"=>"Berniece Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67b0000'), "name"=>"Calista Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67c0000'), "name"=>"Devan Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67d0000'), "name"=>"Miss Doris Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67e0000'), "name"=>"Loyce Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67f0000'), "name"=>"Brycen Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6800000'), "name"=>"Dorothy Reichert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6810000'), "name"=>"Meredith Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6820000'), "name"=>"Ms. Magnus Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.4163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6830000'), "name"=>"Deja Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6840000'), "name"=>"Virgil Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6850000'), "name"=>"Ezekiel Labadie MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6860000'), "name"=>"Leslie Schowalter II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6870000'), "name"=>"Damion Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6880000'), "name"=>"Marielle Tremblay I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6890000'), "name"=>"Jay Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68a0000'), "name"=>"Ms. Beulah Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68b0000'), "name"=>"Tyra Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68c0000'), "name"=>"Melody Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68d0000'), "name"=>"Dwight Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68e0000'), "name"=>"Christa Bailey Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68f0000'), "name"=>"Gunnar Torphy Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6900000'), "name"=>"Louisa Carter V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6910000'), "name"=>"Henri Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6920000'), "name"=>"Eldridge Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6930000'), "name"=>"Ms. Geovanny Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6940000'), "name"=>"Hubert Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6950000'), "name"=>"Santa Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6960000'), "name"=>"Monica Wintheiser MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6970000'), "name"=>"Danika Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1304ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms Redirected to http://test.host/categories/53df8e9877353305c6980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1587ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6990000'), "name"=>"Ethelyn Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69a0000'), "name"=>"Margret VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69b0000'), "name"=>"Mr. Rex Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69c0000'), "name"=>"Otilia Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69d0000'), "name"=>"Mrs. Braxton Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69e0000'), "name"=>"Ms. Deontae Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69f0000'), "name"=>"Mrs. Neil Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a00000'), "name"=>"Dr. Kristoffer Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a10000'), "name"=>"Alysa Gaylord PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a20000'), "name"=>"Olga Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a30000'), "name"=>"Melba Carter I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a40000'), "name"=>"Giovanny Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a50000'), "name"=>"Murl Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a60000'), "name"=>"Rebeca Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a70000'), "name"=>"Javonte Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a80000'), "name"=>"Hassan Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a90000'), "name"=>"Tyrel Carroll Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6aa0000'), "name"=>"Miss Braeden Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ab0000'), "name"=>"Tiana Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ac0000'), "name"=>"Mr. Evelyn Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ad0000'), "name"=>"Garett Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ae0000'), "name"=>"Mr. Roderick Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6af0000'), "name"=>"Mr. Etha Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b00000'), "name"=>"Davonte Cummerata PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b10000'), "name"=>"Giovanni Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b20000'), "name"=>"Ryann Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b30000'), "name"=>"Mr. Rachel Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b40000'), "name"=>"Florencio Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b50000'), "name"=>"Lila Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b60000'), "name"=>"Gianni Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b70000'), "name"=>"Dax Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b80000'), "name"=>"Silas Olson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b90000'), "name"=>"Miss Alberta Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ba0000'), "name"=>"Rahsaan Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bb0000'), "name"=>"Lorna Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bc0000'), "name"=>"Esmeralda Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bd0000'), "name"=>"Zelda Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6be0000'), "name"=>"Alfonso Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bf0000'), "name"=>"Dewayne Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c00000'), "name"=>"Mrs. Gilberto Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c10000'), "name"=>"Joel Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c20000'), "name"=>"Mr. Onie Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c30000'), "name"=>"Gussie Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c40000'), "name"=>"Era Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c50000'), "name"=>"Johnny Monahan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c60000'), "name"=>"Hildegard O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c70000'), "name"=>"Elouise Rice Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c80000'), "name"=>"Miss Jakob Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c90000'), "name"=>"Jerome Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ca0000'), "name"=>"Roel Batz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cb0000'), "name"=>"Dereck Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cc0000'), "name"=>"Price Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cd0000'), "name"=>"Milo Torp IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ce0000'), "name"=>"Dr. Xzavier Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.7869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cf0000'), "name"=>"Christine Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d00000'), "name"=>"Clotilde Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d10000'), "name"=>"Leopold Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d20000'), "name"=>"Kobe Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d30000'), "name"=>"Mrs. Jeanette Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d40000'), "name"=>"Mrs. Marie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d50000'), "name"=>"Trevor Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d60000'), "name"=>"Weston Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d70000'), "name"=>"Anissa Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d80000'), "name"=>"Sandrine Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d90000'), "name"=>"Mr. Jovani Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6da0000'), "name"=>"Raquel Roob PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6db0000'), "name"=>"Arlene Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6dc0000'), "name"=>"Florida Rath MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6dd0000'), "name"=>"Alta Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6de0000'), "name"=>"Lilyan Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6df0000'), "name"=>"Salvador Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e00000'), "name"=>"Eulah Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e10000'), "name"=>"Eldred Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e20000'), "name"=>"Benton Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e30000'), "name"=>"Molly Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e40000'), "name"=>"Vinnie Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e50000'), "name"=>"Gayle Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e60000'), "name"=>"Dr. Hanna Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e70000'), "name"=>"Dr. Nicolas Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e80000'), "name"=>"Theresa Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e90000'), "name"=>"Adaline Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ea0000'), "name"=>"Timothy Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6eb0000'), "name"=>"Miss Silas Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ec0000'), "name"=>"Ms. Cordie Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ed0000'), "name"=>"Sharon Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ee0000'), "name"=>"Sam Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ef0000'), "name"=>"Clemmie Conroy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f00000'), "name"=>"Brooks Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f10000'), "name"=>"Berta Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f20000'), "name"=>"Aubrey Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f30000'), "name"=>"Mrs. Ron Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f40000'), "name"=>"Mr. Betty Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f50000'), "name"=>"Alfredo Bartell V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f60000'), "name"=>"Giovanna Walter II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f70000'), "name"=>"Jackie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f80000'), "name"=>"Kasey Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1240ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df8e9877353305c6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9877353305c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9877353305c6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1482ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f90000'), "name"=>"Dr. Trudie Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fa0000'), "name"=>"Mr. Erika Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fb0000'), "name"=>"Makayla Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fc0000'), "name"=>"Aaliyah Schowalter PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fd0000'), "name"=>"Ms. Louisa Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fe0000'), "name"=>"Oren Heaney Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ff0000'), "name"=>"Mr. Jazlyn Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6000100'), "name"=>"Miss Ludie Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6010100'), "name"=>"Gretchen Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6020100'), "name"=>"Ulises Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6030100'), "name"=>"Ms. Jasen Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6040100'), "name"=>"Kaylin Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6050100'), "name"=>"Eveline Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6060100'), "name"=>"Tracy Moore I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6070100'), "name"=>"Chelsey O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6080100'), "name"=>"Stuart Raynor MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6090100'), "name"=>"Lesly Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60a0100'), "name"=>"Cole Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60b0100'), "name"=>"Chaya Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60c0100'), "name"=>"Melisa Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60d0100'), "name"=>"Tristian Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60e0100'), "name"=>"Verdie Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60f0100'), "name"=>"Jayne Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6100100'), "name"=>"Mrs. Kenny Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6110100'), "name"=>"Miss Reilly Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6120100'), "name"=>"Winfield Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6130100'), "name"=>"Miss Judd Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6140100'), "name"=>"Alexie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6150100'), "name"=>"Macie Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6160100'), "name"=>"Christophe Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6170100'), "name"=>"Jaren O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6180100'), "name"=>"Jocelyn Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6190100'), "name"=>"Marge Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61a0100'), "name"=>"Mrs. Valerie Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61b0100'), "name"=>"Giovanni Parisian I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61c0100'), "name"=>"Manuela Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61d0100'), "name"=>"Ms. Terence Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61e0100'), "name"=>"Cathrine Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61f0100'), "name"=>"Bernard Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6200100'), "name"=>"Lucious Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6210100'), "name"=>"Hazle Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6220100'), "name"=>"Ethelyn Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6230100'), "name"=>"Velva Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6240100'), "name"=>"Romaine Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6250100'), "name"=>"Eulah Bode III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6260100'), "name"=>"Myrtis Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6270100'), "name"=>"Antonette Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6280100'), "name"=>"Johnathon Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6290100'), "name"=>"Mrs. Jarret Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62a0100'), "name"=>"Coby Kris V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62b0100'), "name"=>"Giovanni Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62c0100'), "name"=>"Ms. Layla Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62d0100'), "name"=>"Priscilla Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62e0100'), "name"=>"Ms. Kathryn Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62f0100'), "name"=>"Retta Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6300100'), "name"=>"Erwin Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6310100'), "name"=>"Bret Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6320100'), "name"=>"Dortha Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6330100'), "name"=>"Leonel Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6340100'), "name"=>"Carolina Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6350100'), "name"=>"Jarod Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6360100'), "name"=>"King Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6370100'), "name"=>"Cordie Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6380100'), "name"=>"Zetta Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6390100'), "name"=>"Forest Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63a0100'), "name"=>"Verla Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63b0100'), "name"=>"Cora Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63c0100'), "name"=>"Lenore Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63d0100'), "name"=>"Mrs. Kylie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63e0100'), "name"=>"Ms. Blaise Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63f0100'), "name"=>"Ms. Bailey Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6400100'), "name"=>"Ms. Davin Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6410100'), "name"=>"Coralie Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6420100'), "name"=>"Edwin Witting PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6430100'), "name"=>"Salvatore Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6440100'), "name"=>"Misty Gorczany PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6450100'), "name"=>"Madonna Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6460100'), "name"=>"Dolores Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6470100'), "name"=>"Miguel Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6480100'), "name"=>"Leonora Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6490100'), "name"=>"Aliya Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64a0100'), "name"=>"Willow Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64b0100'), "name"=>"Dr. Keeley Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64c0100'), "name"=>"Dr. Griffin Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64d0100'), "name"=>"Mrs. Josh Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64e0100'), "name"=>"Lucie Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64f0100'), "name"=>"Murphy Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6500100'), "name"=>"Clint Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6510100'), "name"=>"Miss Hobart Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6520100'), "name"=>"Ms. Leopoldo Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6530100'), "name"=>"Jamal Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6540100'), "name"=>"Francesca Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6550100'), "name"=>"Zella Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6560100'), "name"=>"Asia Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6570100'), "name"=>"Tyrell Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6580100'), "name"=>"Amaya Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df8e9877353305c6f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9877353305c6f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 10ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6590100'), "name"=>"Princess Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65a0100'), "name"=>"Ms. Godfrey Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65b0100'), "name"=>"Gilberto Daugherty MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65c0100'), "name"=>"Juwan Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65d0100'), "name"=>"Arden Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65e0100'), "name"=>"Britney Feest Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65f0100'), "name"=>"Ms. Sidney Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6600100'), "name"=>"Miss Annabelle Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6610100'), "name"=>"Treva Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6620100'), "name"=>"Craig Marks V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6630100'), "name"=>"River Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6640100'), "name"=>"Aric Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6650100'), "name"=>"Jaylen Towne DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6660100'), "name"=>"Dr. Christop Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6670100'), "name"=>"Mrs. Dalton Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6680100'), "name"=>"Miss Jay Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6690100'), "name"=>"Mr. Laisha Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66a0100'), "name"=>"Anahi Haag PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66b0100'), "name"=>"Trudie Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66c0100'), "name"=>"Hilda Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66d0100'), "name"=>"Conor Lubowitz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66e0100'), "name"=>"Clyde Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66f0100'), "name"=>"Lourdes Maggio DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6700100'), "name"=>"Kallie Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6710100'), "name"=>"Felicita Feeney DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6720100'), "name"=>"Stone Johnston Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6730100'), "name"=>"Morris Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6740100'), "name"=>"Tina Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6750100'), "name"=>"Maximillia Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6760100'), "name"=>"Allene Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6770100'), "name"=>"Raquel Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6780100'), "name"=>"Mr. Cassandra Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.5964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6790100'), "name"=>"Braden Sporer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67a0100'), "name"=>"Mrs. Moises Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67b0100'), "name"=>"Buck McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67c0100'), "name"=>"Alvena Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67d0100'), "name"=>"Unique Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67e0100'), "name"=>"Ms. Onie West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c67f0100'), "name"=>"Ms. Aniyah Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c67f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6800100'), "name"=>"Mr. Rosalee Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6810100'), "name"=>"Monroe Quitzon V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6820100'), "name"=>"Ms. Tressie Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6830100'), "name"=>"Adell Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6840100'), "name"=>"Salvatore Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6850100'), "name"=>"Jacynthe Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6860100'), "name"=>"Ms. Cloyd Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6870100'), "name"=>"Lavinia Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6880100'), "name"=>"Mr. Noemi Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6890100'), "name"=>"Ardella Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68a0100'), "name"=>"Ms. Isabell Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68b0100'), "name"=>"Terrill Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68c0100'), "name"=>"Hope Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68d0100'), "name"=>"Forest Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68e0100'), "name"=>"Kenyon Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c68f0100'), "name"=>"Omari Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c68f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6900100'), "name"=>"Patricia Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6910100'), "name"=>"Haskell Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6920100'), "name"=>"Jonathon Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6930100'), "name"=>"Misael Johns Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6940100'), "name"=>"Danny Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6950100'), "name"=>"Gregorio Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6960100'), "name"=>"Cade Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6970100'), "name"=>"Lorena Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6980100'), "name"=>"Nola Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6990100'), "name"=>"Ron Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69a0100'), "name"=>"Betsy Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69b0100'), "name"=>"Sibyl Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69c0100'), "name"=>"Gerda Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69d0100'), "name"=>"Karlie Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69e0100'), "name"=>"Casper Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c69f0100'), "name"=>"Ena Labadie V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c69f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a00100'), "name"=>"Maria Ritchie PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a10100'), "name"=>"Guadalupe Robel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a20100'), "name"=>"Samantha Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a30100'), "name"=>"Miss Easter Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a40100'), "name"=>"Dr. Colby Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a50100'), "name"=>"Ron Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a60100'), "name"=>"Mr. Candice Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a70100'), "name"=>"Jeanette Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a80100'), "name"=>"Mrs. Brenda Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6a90100'), "name"=>"Ethel Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6aa0100'), "name"=>"Francisco Gottlieb MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ab0100'), "name"=>"Carson Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ac0100'), "name"=>"Jeff O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ad0100'), "name"=>"Irma Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ae0100'), "name"=>"Cullen Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6af0100'), "name"=>"Aurore Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b00100'), "name"=>"Kaycee Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b10100'), "name"=>"Dr. Ally Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b20100'), "name"=>"Estefania King Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b30100'), "name"=>"Skylar Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b40100'), "name"=>"Maryse Fritsch Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b50100'), "name"=>"Tamia Pacocha MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b60100'), "name"=>"Wilhelm Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b70100'), "name"=>"Crawford Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b80100'), "name"=>"Ms. Sonny Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366072852668] runtime: 0.1158ms Completed 500 Internal Server Error in 43ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6b90100'), "name"=>"Katlyn Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ba0100'), "name"=>"Kamron Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bb0100'), "name"=>"Earl Cole I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bc0100'), "name"=>"Montana Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bd0100'), "name"=>"Guy Klocko II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6be0100'), "name"=>"Devonte Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6bf0100'), "name"=>"Tressie Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c00100'), "name"=>"Elliot Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c10100'), "name"=>"Mathilde Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c20100'), "name"=>"Tanya Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c30100'), "name"=>"Vanessa Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c40100'), "name"=>"Boris Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c50100'), "name"=>"Alysa Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c60100'), "name"=>"Hilton Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c70100'), "name"=>"Astrid Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c80100'), "name"=>"Sidney Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6c90100'), "name"=>"Dwight O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ca0100'), "name"=>"Maci Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cb0100'), "name"=>"Ulises Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cc0100'), "name"=>"Lavinia Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cd0100'), "name"=>"Lysanne Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ce0100'), "name"=>"Norwood Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6cf0100'), "name"=>"Wilbert Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d00100'), "name"=>"Ms. Sibyl Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d10100'), "name"=>"Alverta Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d20100'), "name"=>"Geovany Hilll V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d30100'), "name"=>"Rowan Batz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d40100'), "name"=>"Cleora Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d50100'), "name"=>"Forest Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d60100'), "name"=>"Kristopher Armstrong Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d70100'), "name"=>"Dorothy Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d80100'), "name"=>"Krystal Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6d90100'), "name"=>"Ms. Akeem Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6da0100'), "name"=>"Triston Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6db0100'), "name"=>"Jennifer Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6dc0100'), "name"=>"Gabe Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6dd0100'), "name"=>"Johanna Bashirian I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6de0100'), "name"=>"Mafalda Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6df0100'), "name"=>"Chaya Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e00100'), "name"=>"Jazmin O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e10100'), "name"=>"Domenico Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e20100'), "name"=>"Kenton Heller Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e30100'), "name"=>"Jovanny Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e40100'), "name"=>"Stewart Gerhold Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e50100'), "name"=>"Khalil Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e60100'), "name"=>"Dr. Dimitri Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e70100'), "name"=>"Dr. Kasey Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e80100'), "name"=>"Mrs. Macey Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6e90100'), "name"=>"Dr. Anderson Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ea0100'), "name"=>"Tomas Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6eb0100'), "name"=>"Miss Shayna Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ec0100'), "name"=>"Damon Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ed0100'), "name"=>"Germaine Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ee0100'), "name"=>"Robin Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ef0100'), "name"=>"Augusta Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f00100'), "name"=>"Winona Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f10100'), "name"=>"Cecelia Brekke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f20100'), "name"=>"Mrs. Maryam Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f30100'), "name"=>"Aurelio Rippin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f40100'), "name"=>"Elisha Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f50100'), "name"=>"Forest Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f60100'), "name"=>"Arvilla Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f70100'), "name"=>"Darrel Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f80100'), "name"=>"Mrs. Raul McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6f90100'), "name"=>"Lela Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fa0100'), "name"=>"Claude Reinger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fb0100'), "name"=>"Christine Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fc0100'), "name"=>"Viola Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fd0100'), "name"=>"Joey Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6fe0100'), "name"=>"Mrs. Alanna Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6ff0100'), "name"=>"Mr. Myrtie Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6000200'), "name"=>"Madisyn Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6010200'), "name"=>"Kim Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6020200'), "name"=>"Roma Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6030200'), "name"=>"Sabina Bogisich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6040200'), "name"=>"Zackery Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6050200'), "name"=>"Miss Talon Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6060200'), "name"=>"Columbus Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6070200'), "name"=>"Mrs. Adalberto Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6080200'), "name"=>"Candelario Walker I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6090200'), "name"=>"Connie Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60a0200'), "name"=>"Leilani Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60b0200'), "name"=>"Yvonne Kirlin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60c0200'), "name"=>"Bailee Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60d0200'), "name"=>"Dr. Cole Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60e0200'), "name"=>"Green Paucek I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c60f0200'), "name"=>"Elva Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c60f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6100200'), "name"=>"Shane Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6110200'), "name"=>"Evert Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6120200'), "name"=>"Kelsi Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6130200'), "name"=>"Tremaine Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6140200'), "name"=>"Patience Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6150200'), "name"=>"Esteban Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6160200'), "name"=>"Tyshawn Hammes II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6170200'), "name"=>"Izabella Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6180200'), "name"=>"Genevieve Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[367055678576] runtime: 0.0719ms Completed 500 Internal Server Error in 8ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6190200'), "name"=>"Annabell Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61a0200'), "name"=>"Nicola Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61b0200'), "name"=>"Gay Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61c0200'), "name"=>"Miss Jonas Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61d0200'), "name"=>"Dr. Lucious Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61e0200'), "name"=>"Ms. Ethan D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c61f0200'), "name"=>"Dr. Jerome Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c61f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6200200'), "name"=>"Shannon Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6210200'), "name"=>"Samantha Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6220200'), "name"=>"Kali Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6230200'), "name"=>"Richard Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6240200'), "name"=>"Ms. Armando Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6250200'), "name"=>"Jamison Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6260200'), "name"=>"Efrain Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6270200'), "name"=>"Claudie Stanton Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6280200'), "name"=>"Colby Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6290200'), "name"=>"Amelia Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62a0200'), "name"=>"Spencer Monahan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62b0200'), "name"=>"Lynn Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62c0200'), "name"=>"Mr. Bernadette Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62d0200'), "name"=>"Lina Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62e0200'), "name"=>"Hermann Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c62f0200'), "name"=>"Mrs. Mariam Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c62f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6300200'), "name"=>"Hugh Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6310200'), "name"=>"Ms. Savion Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6320200'), "name"=>"Pietro Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6330200'), "name"=>"Milton Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6340200'), "name"=>"Virgil Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6350200'), "name"=>"Lloyd Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6360200'), "name"=>"Miss Sandy Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6370200'), "name"=>"Melvin Heidenreich Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6380200'), "name"=>"Dr. Dandre Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6390200'), "name"=>"Jermain Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63a0200'), "name"=>"Kailey Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63b0200'), "name"=>"Petra Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63c0200'), "name"=>"Marjolaine Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63d0200'), "name"=>"Davin Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63e0200'), "name"=>"Kip Rutherford Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c63f0200'), "name"=>"Miss Alessandra Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c63f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6400200'), "name"=>"Sibyl Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6410200'), "name"=>"Davon Lynch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6420200'), "name"=>"Coby Kub I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6430200'), "name"=>"Jazmyn Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6440200'), "name"=>"Emanuel Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6450200'), "name"=>"Pattie Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6460200'), "name"=>"Imelda Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6470200'), "name"=>"Helmer Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6480200'), "name"=>"Darby Buckridge V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6490200'), "name"=>"Elvera Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64a0200'), "name"=>"Ms. Lilyan Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64b0200'), "name"=>"Kathleen Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64c0200'), "name"=>"Leann Nitzsche III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64d0200'), "name"=>"Ross Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64e0200'), "name"=>"Margot Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c64f0200'), "name"=>"Alexandrea Morar Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c64f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6500200'), "name"=>"Amie Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6510200'), "name"=>"Marguerite Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6520200'), "name"=>"Dr. Angeline Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6530200'), "name"=>"Gerard Tremblay V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6540200'), "name"=>"Luella Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6550200'), "name"=>"Ms. Kristofer Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6560200'), "name"=>"Serena Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6570200'), "name"=>"Ettie Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6580200'), "name"=>"Mrs. Afton Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6590200'), "name"=>"Jacinto Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65a0200'), "name"=>"Paige Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65b0200'), "name"=>"Aidan Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65c0200'), "name"=>"Elinore Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65d0200'), "name"=>"Kathryne Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65e0200'), "name"=>"Elouise Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c65f0200'), "name"=>"Concepcion Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c65f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6600200'), "name"=>"Davonte Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6610200'), "name"=>"Bernadine Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6620200'), "name"=>"Dulce Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6630200'), "name"=>"Skye Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6640200'), "name"=>"Nettie Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6650200'), "name"=>"Kade Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6660200'), "name"=>"Houston Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6670200'), "name"=>"Ms. Jamir Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6680200'), "name"=>"Darrion Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c6690200'), "name"=>"Fatima Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c6690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66a0200'), "name"=>"Miss Jaquan Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66b0200'), "name"=>"Reece Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66c0200'), "name"=>"Audreanne Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9877353305c66d0200'), "name"=>"Elmore Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9877353305c66d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66e0200'), "name"=>"Karine Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c66e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66f0200'), "name"=>"Arnold Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c66f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6700200'), "name"=>"Margarett Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6710200'), "name"=>"Mable Satterfield I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6720200'), "name"=>"Dusty Lang V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6730200'), "name"=>"Estella Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6740200'), "name"=>"Marcelina White Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6750200'), "name"=>"Dayne Kshlerin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6760200'), "name"=>"Mrs. Fanny Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6770200'), "name"=>"Jack Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6780200'), "name"=>"Ms. Rosalee Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 9ms (Views: 8.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67a0200'), "name"=>"Vada Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67b0200'), "name"=>"Princess Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67c0200'), "name"=>"Dr. Emie Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67d0200'), "name"=>"Baylee Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67e0200'), "name"=>"Addison Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67f0200'), "name"=>"Conner Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6800200'), "name"=>"Jamel Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6810200'), "name"=>"Ansley Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6820200'), "name"=>"Citlalli Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6830200'), "name"=>"Miss Damon Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6840200'), "name"=>"Albina Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6850200'), "name"=>"Dameon Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6860200'), "name"=>"Buster Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6870200'), "name"=>"Henriette Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6880200'), "name"=>"Abigail Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6890200'), "name"=>"Itzel Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68a0200'), "name"=>"Marlen Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68b0200'), "name"=>"Bulah Sporer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68c0200'), "name"=>"Declan Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68d0200'), "name"=>"Krista Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68e0200'), "name"=>"Retta Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68f0200'), "name"=>"Georgiana Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c68f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6900200'), "name"=>"Damian Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6910200'), "name"=>"Nelle Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6920200'), "name"=>"Brooklyn McKenzie DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6930200'), "name"=>"Ole Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6940200'), "name"=>"Andreanne Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6950200'), "name"=>"Mr. Melyssa Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6960200'), "name"=>"Hallie Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6970200'), "name"=>"Sarai Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6980200'), "name"=>"Mertie Tromp Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6990200'), "name"=>"Brianne Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69a0200'), "name"=>"Bernadine Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69b0200'), "name"=>"Mrs. Lisette Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69c0200'), "name"=>"Wiley Wiegand III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69d0200'), "name"=>"Elijah Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69e0200'), "name"=>"Mariana Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c69f0200'), "name"=>"Jana Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c69f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a00200'), "name"=>"Edward Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a10200'), "name"=>"Kenyatta Ward PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a20200'), "name"=>"Garnet Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a30200'), "name"=>"Weldon Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a40200'), "name"=>"Thora Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a50200'), "name"=>"Baron Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a60200'), "name"=>"Cleo Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a70200'), "name"=>"Jasen Beahan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a80200'), "name"=>"Dario Waters I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6a90200'), "name"=>"Ms. Geoffrey Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6aa0200'), "name"=>"Meaghan Durgan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ab0200'), "name"=>"Adella Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ac0200'), "name"=>"Ludie Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ad0200'), "name"=>"Mr. Candida Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ae0200'), "name"=>"Miss Kaya Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6af0200'), "name"=>"Garland Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b00200'), "name"=>"Nathen Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b10200'), "name"=>"Michelle Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b20200'), "name"=>"Nyasia Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b30200'), "name"=>"Mr. Arvel Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b40200'), "name"=>"Alison Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b50200'), "name"=>"Johnathon Shanahan III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b60200'), "name"=>"Xander Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b70200'), "name"=>"Ms. Jenifer Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b80200'), "name"=>"Nico Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6b90200'), "name"=>"Ms. Cassandra Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ba0200'), "name"=>"Yasmin Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6bb0200'), "name"=>"Yadira Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6bc0200'), "name"=>"Bennie Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6bd0200'), "name"=>"Letitia O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6be0200'), "name"=>"Alexis Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6bf0200'), "name"=>"Wilburn Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c00200'), "name"=>"Delphia Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c10200'), "name"=>"Emory Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c20200'), "name"=>"Zachary Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c30200'), "name"=>"Grady Waters I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c40200'), "name"=>"Donald Altenwerth I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c50200'), "name"=>"Lonie Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c60200'), "name"=>"Gardner Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c70200'), "name"=>"Miss Romaine Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c80200'), "name"=>"Modesto Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6c90200'), "name"=>"Keyon Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ca0200'), "name"=>"Dexter Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6cb0200'), "name"=>"Rossie Mills DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6cc0200'), "name"=>"Marge Sawayn Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6cd0200'), "name"=>"Bradford Prosacco Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ce0200'), "name"=>"Dr. Simone Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6cf0200'), "name"=>"Keaton Bartell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d00200'), "name"=>"Esmeralda O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d10200'), "name"=>"Elyssa Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d20200'), "name"=>"Wanda Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d30200'), "name"=>"Rhoda Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d40200'), "name"=>"Bette Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d50200'), "name"=>"Ottilie Bosco IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d60200'), "name"=>"Gilda Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d70200'), "name"=>"Mariam Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d80200'), "name"=>"Miss Esperanza Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6d90200'), "name"=>"Orrin Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8e9977353305c67a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9977353305c67a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c67a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6da0200'), "name"=>"Monica Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6db0200'), "name"=>"Mr. Oral VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6dc0200'), "name"=>"Korbin Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6dd0200'), "name"=>"Ryleigh Mueller Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6de0200'), "name"=>"Christine Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6df0200'), "name"=>"Mr. Merl Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e00200'), "name"=>"Davion Bailey DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e10200'), "name"=>"Miss Lizzie Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e20200'), "name"=>"Columbus Schmidt IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e30200'), "name"=>"Soledad Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e40200'), "name"=>"Dr. Eveline Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e50200'), "name"=>"Dimitri Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e60200'), "name"=>"Dante Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e70200'), "name"=>"Chaya Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e80200'), "name"=>"Alexis Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6e90200'), "name"=>"Jimmy Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ea0200'), "name"=>"Cora Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6eb0200'), "name"=>"Eryn Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ec0200'), "name"=>"Vance Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ed0200'), "name"=>"Ally Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ee0200'), "name"=>"Myah Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ef0200'), "name"=>"Flavie Padberg I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f00200'), "name"=>"Jolie Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f10200'), "name"=>"Mr. Marquis Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f20200'), "name"=>"Fatima Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f30200'), "name"=>"Aaliyah Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f40200'), "name"=>"Gus Runolfsson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f50200'), "name"=>"Roosevelt Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f60200'), "name"=>"Roscoe Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f70200'), "name"=>"Miss Alexandrine Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f80200'), "name"=>"Samara Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6f90200'), "name"=>"Evans Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6fa0200'), "name"=>"Kayla Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6fb0200'), "name"=>"Jeramy Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6fc0200'), "name"=>"Nikolas Morissette Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6fd0200'), "name"=>"Helga Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6fe0200'), "name"=>"Gavin Jerde DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6ff0200'), "name"=>"Kamryn Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6000300'), "name"=>"Cruz Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6010300'), "name"=>"Bettye Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6020300'), "name"=>"Estel Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6030300'), "name"=>"Larissa Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6040300'), "name"=>"Clarissa Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6050300'), "name"=>"Jayme Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6060300'), "name"=>"Dino Hagenes IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6070300'), "name"=>"Ms. Kellie Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6080300'), "name"=>"Lloyd Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6090300'), "name"=>"Nigel Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60a0300'), "name"=>"Leone Bernhard DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60b0300'), "name"=>"Dahlia Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60c0300'), "name"=>"Agustin Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60d0300'), "name"=>"Michel Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60e0300'), "name"=>"William Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c60f0300'), "name"=>"Mrs. Bradly Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c60f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6100300'), "name"=>"Alta Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6110300'), "name"=>"Jabari Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6120300'), "name"=>"Dr. Telly Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6130300'), "name"=>"Aglae Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6140300'), "name"=>"Meda Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6150300'), "name"=>"Reginald Harris DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6160300'), "name"=>"Winston Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6170300'), "name"=>"Alicia Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6180300'), "name"=>"Jairo Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6190300'), "name"=>"Miss Agustina Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61a0300'), "name"=>"Mrs. Mose Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61b0300'), "name"=>"Baron Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61c0300'), "name"=>"Mary Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61d0300'), "name"=>"Devonte Lindgren MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61e0300'), "name"=>"Mr. Trenton Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c61f0300'), "name"=>"Aileen Rolfson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c61f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6200300'), "name"=>"Columbus Altenwerth Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6210300'), "name"=>"Irma Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6220300'), "name"=>"Jasper Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6230300'), "name"=>"Arianna Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6240300'), "name"=>"Theron Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6250300'), "name"=>"Leora Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6260300'), "name"=>"Piper Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6270300'), "name"=>"Ms. Coby Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6280300'), "name"=>"Mr. Wilfrid Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6290300'), "name"=>"Juliana Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62a0300'), "name"=>"Ms. Zella Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1976ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62b0300'), "name"=>"Mrs. Kenna Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62c0300'), "name"=>"Milo Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62d0300'), "name"=>"Miss Peyton Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62e0300'), "name"=>"Hilbert Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c62f0300'), "name"=>"Dr. Freeman Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c62f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6300300'), "name"=>"Fidel Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6310300'), "name"=>"Jean Ankunding V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6320300'), "name"=>"Kathryne Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6330300'), "name"=>"Mina Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6340300'), "name"=>"Marquis Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6350300'), "name"=>"Yadira Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6360300'), "name"=>"Obie Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6370300'), "name"=>"Emerald Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6380300'), "name"=>"Betty Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6390300'), "name"=>"Ervin Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8e9977353305c6da0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9977353305c6da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8e9977353305c6da0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8e9977353305c6da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms Redirected to http://test.host/categories/53df8e9977353305c6da0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c63a0300'), "name"=>"Caden Bayer", "reference"=>"Terrence Weber MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c63b0300'), "author_name"=>"Guido Wolf", "content"=>["Dolorum assumenda qui. Omnis eius porro ea molestiae in voluptas eveniet. Et nam enim ut itaque veniam. Quisquam molestiae id modi inventore qui harum. Cumque molestiae ut totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e9977353305c63a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e9977353305c63c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms Redirected to http://test.host/products/53df8e9977353305c63a0300/comments/53df8e9977353305c63c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c63d0300'), "name"=>"Rex Smith", "reference"=>"Dr. Odie Reynolds", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c63e0300'), "author_name"=>"Arianna Ondricka", "content"=>["Amet delectus et sit distinctio beatae repudiandae. Nam ut modi ullam. Rerum dolorem ut esse sit et in. Quaerat fugit commodi ab unde quod architecto totam. Tempora aut sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e9977353305c63d0300", "id"=>"53df8e9977353305c63e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8e9977353305c63e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms Redirected to http://test.host/products/53df8e9977353305c63d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c63f0300'), "name"=>"Kelli Keebler", "reference"=>"Mr. Dudley Pollich", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6400300'), "author_name"=>"Edythe Walsh", "content"=>["Ipsa similique autem blanditiis reiciendis. Perferendis cupiditate et qui. Aut est molestiae ipsum. Asperiores velit est est sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8e9977353305c63f0300", "id"=>"53df8e9977353305c6400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c63f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 42ms (Views: 40.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6410300'), "name"=>"Otis Blanda", "reference"=>"Cindy Beahan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6420300'), "author_name"=>"Ahmad Rau", "content"=>["Pariatur in ratione vel illo optio illum. Autem alias rerum soluta. Magni aut voluptatibus enim maxime necessitatibus autem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8e9977353305c6410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6430300'), "name"=>"Esta Mills", "reference"=>"Nikolas Ledner", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6440300'), "author_name"=>"Mr. Orpha Reilly", "content"=>["Et similique rerum ea at dolorum qui. Praesentium numquam sunt deleniti. Unde aut est qui laudantium earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8e9977353305c6430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6450300'), "name"=>"Amaya Leannon", "reference"=>"Mrs. Gussie McLaughlin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6460300'), "author_name"=>"Gaylord Wunsch", "content"=>["Ducimus modi sed. Officia quo omnis. Velit earum explicabo aliquam nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8e9977353305c6450300", "id"=>"53df8e9977353305c6460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6470300'), "name"=>"Kaleigh Roob", "reference"=>"Golden Douglas", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6480300'), "author_name"=>"Dr. Simone Conn", "content"=>["Ipsa voluptatem quo omnis. Cumque molestias perspiciatis repellat consectetur voluptas et quas. Distinctio ducimus modi praesentium. Officiis vel qui ex possimus neque voluptatem quibusdam. Assumenda aperiam et non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8e9977353305c6470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6490300'), "name"=>"Miss Antonetta Boyer", "reference"=>"Claudine Gusikowski", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c64a0300'), "author_name"=>"Miss Allison Dicki", "content"=>["Facilis eveniet id blanditiis. Eos occaecati reiciendis velit et enim aut ex. Aperiam quod tenetur qui natus est. Et quisquam reprehenderit aspernatur soluta minima ratione. Minima excepturi suscipit magnam atque laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8e9977353305c6490300", "id"=>"53df8e9977353305c64a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c64b0300'), "name"=>"Elmer Kuhn", "reference"=>"Ruthie Bayer DDS", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c64c0300'), "author_name"=>"Mr. Jennyfer Little", "content"=>["Natus et consequuntur voluptates suscipit aut. Sit itaque numquam. Vel id reiciendis dignissimos distinctio. Voluptatem fuga eos corporis provident eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7374ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e9977353305c64c0300", "product_id"=>"53df8e9977353305c64b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c64b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c64b0300'), "comments._id"=>BSON::ObjectId('53df8e9977353305c64c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Redirected to http://test.host/products/53df8e9977353305c64b0300/comments/53df8e9977353305c64c0300 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('53df8e9977353305c64d0300'), "firstname"=>"Cory", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1577ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c64e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms Redirected to http://test.host/admin/clients/53df8e9977353305c64e0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1443ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c64f0300'), "firstname"=>"Cecil", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1328ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8e9977353305c64f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c64f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c64f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms 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.1350ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6500300'), "firstname"=>"Clyde", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8e9977353305c6500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6510300'), "firstname"=>"Eileen", "lastname"=>"Murazik"}] 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.2846ms 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('53df8e9977353305c6520300'), "firstname"=>"Malachi", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.9ms) Completed 200 OK in 35ms (Views: 34.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6530300'), "firstname"=>"Hermann", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8e9977353305c6530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms Completed 200 OK in 5ms (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('53df8e9977353305c6540300'), "firstname"=>"Elisa", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3876ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8e9977353305c6540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms Redirected to http://test.host/admin/clients/53df8e9977353305c6540300 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('53df8e9977353305c6550300'), "firstname"=>"Fannie", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1293ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms Redirected to http://test.host/clients/53df8e9977353305c6560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1432ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6570300'), "firstname"=>"Addie", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms 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"=>"53df8e9977353305c6570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms 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.1389ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6580300'), "firstname"=>"Laurie", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8e9977353305c6580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c6580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms 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('53df8e9977353305c6590300'), "firstname"=>"Carmen", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms 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('53df8e9977353305c65a0300'), "firstname"=>"Kamron", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms 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('53df8e9977353305c65b0300'), "firstname"=>"Colton", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8e9977353305c65b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c65b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms 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('53df8e9977353305c65c0300'), "firstname"=>"Cornelius", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8e9977353305c65c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c65c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8e9977353305c65c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms Redirected to http://test.host/clients/53df8e9977353305c65c0300 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c65d0300'), "name"=>"Fredy Powlowski", "reference"=>"Ms. Jerad Hoppe", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c65e0300'), "firstname"=>"Damaris", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8e9977353305c65d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c65d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c65d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c65d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c65f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms Redirected to http://test.host/products/53df8e9977353305c65d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6600300'), "name"=>"Judson Hilll", "reference"=>"Veda Bruen", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c6610300'), "firstname"=>"Enoch", "lastname"=>"Mraz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8e9977353305c6610300", "product_id"=>"53df8e9977353305c6600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6620300'), "name"=>"Hunter Buckridge", "reference"=>"Mr. Junior Bauch", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c6630300'), "firstname"=>"Hector", "lastname"=>"Hammes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8e9977353305c6620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6640300'), "name"=>"Dr. Kevon Thompson", "reference"=>"Jabari Sawayn", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c6650300'), "firstname"=>"Bartholome", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8e9977353305c6650300", "product_id"=>"53df8e9977353305c6640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6660300'), "name"=>"Amelia Harvey IV", "reference"=>"Marcos Von", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df8e9977353305c6670300'), "firstname"=>"Greg", "lastname"=>"Ondricka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8e9977353305c6670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8e9977353305c6660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms Unpermitted parameters: name Redirected to http://test.host/products/53df8e9977353305c6660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6680300'), "name"=>"Raul Carter", "reference"=>"Mrs. Elbert Pollich", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.1575ms 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('53df8e9977353305c6690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Redirected to http://test.host/products/53df8e9977353305c6690300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1497ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66a0300'), "name"=>"Alicia Spinka", "reference"=>"Mr. Nichole Bechtelar", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1437ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8e9977353305c66a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c66a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c66a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms 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.1402ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66b0300'), "name"=>"Antoinette Raynor", "reference"=>"Rubie Zulauf", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8e9977353305c66b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c66b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.2ms) Completed 200 OK in 44ms (Views: 42.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66c0300'), "name"=>"Eden Heidenreich", "reference"=>"Dr. Jarrod Berge", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms 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.6916ms Completed 500 Internal Server Error in 20ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66d0300'), "name"=>"Angela Metz DDS", "reference"=>"Nedra Hermann", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2768ms 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.5938ms 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('53df8e9977353305c66e0300'), "name"=>"Cathrine Kunde", "reference"=>"Ms. Janice Koss", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8e9977353305c66e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c66e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Completed 200 OK in 1ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c66f0300'), "name"=>"Dr. Albina Streich", "reference"=>"Shaylee Bode", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df8e9977353305c6710300'), "name"=>"Felton Kohler", "reference"=>"Alvis Jacobi Jr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8e9977353305c6710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6720300'), "name"=>"Kelli Jerde", "reference"=>"Daphne Parker", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1525ms 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('53df8e9977353305c6730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1481ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6740300'), "name"=>"Aimee Smith", "reference"=>"Andy Tillman", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8e9977353305c6740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms 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('53df8e9977353305c6750300'), "name"=>"Kirstin Watsica", "reference"=>"Dorothy Rowe", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms 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('53df8e9977353305c6770300'), "name"=>"Ms. Adolphus Ebert", "reference"=>"Kyler Goodwin", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e9977353305c6770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms 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('53df8e9977353305c6780300'), "name"=>"Roosevelt Stanton I", "reference"=>"Royal Nikolaus", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8e9977353305c6780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms Redirected to http://test.host/products/53df8e9977353305c6780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67b0300'), "name"=>"Modesta Moore", "reference"=>"Aiden Bailey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6790300'), "author_name"=>"Brenna Rau", "content"=>["Qui quo voluptas aut a voluptatum aperiam iure. Nesciunt assumenda eos qui eaque rem ea ullam. Laudantium soluta eligendi id dolor qui. Esse velit accusamus molestias provident odio quod."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c67a0300'), "author_name"=>"Bobbie Klein", "content"=>["In ea reiciendis modi. Hic nemo est distinctio quas cupiditate qui voluptate. Facilis voluptatem modi repellat in libero assumenda et. Aliquid natus et suscipit aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8e9977353305c67b0300", "comment_id"=>"53df8e9977353305c6790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67b0300'), "comments._id"=>BSON::ObjectId('53df8e9977353305c6790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8e9977353305c67c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms Redirected to http://test.host/products/53df8e9977353305c67b0300/comments/53df8e9977353305c6790300/comments/53df8e9977353305c67c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c67f0300'), "name"=>"Crystal Leuschke", "reference"=>"Vivien Wuckert", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c67d0300'), "author_name"=>"Rita Mitchell I", "content"=>["Et alias blanditiis. Voluptas eum recusandae praesentium. Est magnam sunt quis quae aliquam numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c67e0300'), "author_name"=>"Roxane Murazik", "content"=>["Quisquam dignissimos ex. Voluptate aut vel incidunt molestiae. Voluptas ut eos omnis beatae dolor sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8e9977353305c67f0300", "comment_id"=>"53df8e9977353305c67d0300", "id"=>"53df8e9977353305c67e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67f0300')} 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('53df8e9977353305c67f0300'), "comments._id"=>BSON::ObjectId('53df8e9977353305c67d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8e9977353305c67e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6182ms Redirected to http://test.host/products/53df8e9977353305c67f0300/comments/53df8e9977353305c67d0300/comments Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c67f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6820300'), "name"=>"Camila Purdy", "reference"=>"Jeromy Tillman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6800300'), "author_name"=>"Jerald Pfeffer", "content"=>["Ab hic reprehenderit cumque aperiam voluptates enim. Qui ea magnam qui ipsum dolores. Aliquam autem odio fugit alias."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6810300'), "author_name"=>"Hortense Considine", "content"=>["Quam deleniti ratione. Repellendus saepe quae. Voluptatum possimus suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4863ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8e9977353305c6820300", "comment_id"=>"53df8e9977353305c6800300", "id"=>"53df8e9977353305c6810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6850300'), "name"=>"Clark Purdy", "reference"=>"Chauncey Fritsch", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6830300'), "author_name"=>"Lazaro Bergstrom", "content"=>["Qui consectetur perspiciatis tempore blanditiis. Eos odio ab. Eius officia fuga nihil temporibus impedit. Eius dolores qui dolorem. Mollitia dolores quaerat repellat voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6840300'), "author_name"=>"Jonas Hand I", "content"=>["Laborum voluptatem quis quasi libero delectus recusandae veritatis. Quidem adipisci mollitia totam quisquam veritatis beatae nihil. Cum aut repellendus aut. Inventore vel temporibus. Quaerat dolor facere nobis eaque aut soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8e9977353305c6850300", "comment_id"=>"53df8e9977353305c6830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Completed 500 Internal Server Error in 40ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c6880300'), "name"=>"Tressa Funk", "reference"=>"Korbin Romaguera", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6860300'), "author_name"=>"Jermain Hilpert", "content"=>["Omnis enim quaerat incidunt est. Modi alias nam voluptatem. Dignissimos aliquid corporis dicta voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6870300'), "author_name"=>"Raina Schmidt", "content"=>["Est qui impedit placeat. Et rerum quaerat sit enim nam quos. Recusandae quia voluptatem. Sit omnis nihil aperiam. Omnis enim et non architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5710ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8e9977353305c6880300", "comment_id"=>"53df8e9977353305c6860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c6880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68b0300'), "name"=>"Lysanne Robel", "reference"=>"Davion Pfeffer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6890300'), "author_name"=>"Julia Kuhlman", "content"=>["Ut ut odio. Non sed aspernatur tempora voluptatem error quia praesentium. Dolore qui aut velit a rem consequuntur. Iusto molestiae qui. Saepe ullam tempora molestiae laborum temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c68a0300'), "author_name"=>"Alessandra Altenwerth DVM", "content"=>["Nemo voluptate illo dignissimos. Dolorem id officiis. Qui est quae dolorem sint. Minima maiores vitae et ea ea consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8e9977353305c68b0300", "comment_id"=>"53df8e9977353305c6890300", "id"=>"53df8e9977353305c68a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c68b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9977353305c68e0300'), "name"=>"Nikko Gibson MD", "reference"=>"Miss Gilda Torphy", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c68c0300'), "author_name"=>"Constantin Hudson", "content"=>["Enim repellat sunt aut aut. Error id labore. Et sunt aut velit in."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c68d0300'), "author_name"=>"Jennings Ferry", "content"=>["Aut ut accusamus voluptatem. Voluptas quia et et voluptatem iure sit laudantium. Quam qui provident neque esse voluptatem et iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8e9977353305c68e0300", "comment_id"=>"53df8e9977353305c68c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9977353305c68e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c6910300'), "name"=>"Dr. Chris Kutch", "reference"=>"Beaulah Hermiston", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c68f0300'), "author_name"=>"Annalise Block", "content"=>["Fugiat dicta nulla recusandae. Dolor mollitia nihil. Mollitia iusto labore et doloremque ut maiores ab."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9977353305c6900300'), "author_name"=>"Lowell Kemmer", "content"=>["Nulla soluta voluptatem harum at. Minima reprehenderit voluptatibus explicabo dolorem sint voluptas. Tenetur eos nam qui. In illo sit dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5141ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8e9a77353305c6910300", "comment_id"=>"53df8e9977353305c68f0300", "id"=>"53df8e9977353305c6900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c6940300'), "name"=>"Claudia Beahan", "reference"=>"Jameson Jaskolski DVM", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8e9a77353305c6920300'), "author_name"=>"Mrs. Muhammad Greenholt", "content"=>["Voluptatem sint autem omnis molestiae dignissimos. Voluptas eligendi voluptatum deserunt optio aut nisi omnis. Earum officiis provident commodi eum sint. Tenetur facere ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53df8e9a77353305c6930300'), "author_name"=>"Eduardo Senger", "content"=>["Blanditiis consectetur quis facilis. Tempora in officia. Adipisci et illum dolor architecto natus. Maiores qui vero iure temporibus et tempore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4006ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8e9a77353305c6930300", "product_id"=>"53df8e9a77353305c6940300", "comment_id"=>"53df8e9a77353305c6920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6940300'), "comments._id"=>BSON::ObjectId('53df8e9a77353305c6920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8e9a77353305c6930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Redirected to http://test.host/products/53df8e9a77353305c6940300/comments/53df8e9a77353305c6920300/comments/53df8e9a77353305c6930300 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('53df8e9a77353305c6950300'), "firstname"=>"Rosemary", "lastname"=>"Nader"}] 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=>"admin_users", :query=>{}} runtime: 0.1614ms 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('53df8e9a77353305c6960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms Redirected to http://test.host/users/53df8e9a77353305c6960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1608ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c6970300'), "firstname"=>"Robin", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1419ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df8e9a77353305c6970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms 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.1436ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c6980300'), "firstname"=>"Idella", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8e9a77353305c6980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9a77353305c6980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c6990300'), "firstname"=>"Devonte", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms 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.3049ms Completed 500 Internal Server Error in 8ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c69a0300'), "firstname"=>"Demetris", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms 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.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c69b0300'), "firstname"=>"Devante", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8e9a77353305c69b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9a77353305c69b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8e9a77353305c69c0300'), "firstname"=>"Antonia", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8e9a77353305c69c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8e9a77353305c69c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms Unpermitted parameters: name Redirected to http://test.host/users/53df8e9a77353305c69c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5292ms 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.4975ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms 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.4250ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5940ms 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.4138ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7000000'), "firstname"=>"Alycia", "lastname"=>"Mraz"}] 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=>"administrators", :query=>{}} runtime: 0.1670ms 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('53df8ecb77353306b7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms 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.1997ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7020000'), "firstname"=>"Earlene", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df8ecb77353306b7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 48ms (Views: 46.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7030000'), "firstname"=>"Citlalli", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7040000'), "firstname"=>"Lelia", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df8ecb77353306b7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7050000'), "firstname"=>"Nicola", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df8ecb77353306b7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms 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('53df8ecb77353306b7060000'), "name"=>"Lelia Kertzmann", "reference"=>"Ona Baumbach", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b7070000'), "author_name"=>"Luigi Witting", "content"=>["Sit facilis corporis. Ipsum maxime neque et sit impedit quae veritatis. Aliquid incidunt sint non est aliquam. Explicabo quae quibusdam dolores et recusandae eaque. Omnis adipisci veritatis dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8ecb77353306b7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7060000')} 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('53df8ecb77353306b7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms Redirected to http://test.host/admin/products/53df8ecb77353306b7060000/comments/53df8ecb77353306b7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7090000'), "name"=>"Earline Bosco", "reference"=>"Bill Rice", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b70a0000'), "author_name"=>"Keyon Collins", "content"=>["Dolore et autem alias possimus id quia ut. Eos alias atque occaecati. Ad modi necessitatibus impedit non. Aliquam molestiae at in sit laudantium necessitatibus ipsum. Et est minima rerum explicabo possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8ecb77353306b7090000", "id"=>"53df8ecb77353306b70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms Redirected to http://test.host/admin/products/53df8ecb77353306b7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b70b0000'), "name"=>"Daryl Pollich", "reference"=>"Eloise Wisoky", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b70c0000'), "author_name"=>"Mrs. Demarco Nader", "content"=>["Nobis et nisi eveniet quia. Porro eum vero ex esse repellat voluptates. Voluptatem facilis voluptatibus ipsam. Ut facilis atque aliquid deserunt molestias ipsa qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df8ecb77353306b70b0000", "id"=>"53df8ecb77353306b70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b70b0000')} 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.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b70d0000'), "name"=>"Ellie McGlynn", "reference"=>"Mr. Vena Leannon", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b70e0000'), "author_name"=>"Ernesto Daniel", "content"=>["Neque id quidem. Aut voluptatem hic. Distinctio officiis harum et culpa sit. Quam est id. Aut voluptas ipsam aliquam qui est placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df8ecb77353306b70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms Completed 500 Internal Server Error in 6ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b70f0000'), "name"=>"Howell Stracke", "reference"=>"Jarvis Kuhlman", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b7100000'), "author_name"=>"Makayla Collier", "content"=>["Aperiam cum et nulla vel qui non. Ea velit quo optio a voluptates. Est perferendis voluptas quaerat aliquam. Harum ullam nostrum ut ducimus. Nesciunt modi voluptatum et dolorem dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df8ecb77353306b70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7110000'), "name"=>"Dylan Volkman", "reference"=>"Rhea Hoeger I", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b7120000'), "author_name"=>"Dr. Mabelle West", "content"=>["Necessitatibus voluptatem placeat voluptatum ratione voluptas. Aut omnis odit maiores dignissimos. Vero laboriosam ut. Aliquid porro vel laboriosam enim. Unde minima corrupti deserunt sunt animi odit sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df8ecb77353306b7110000", "id"=>"53df8ecb77353306b7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7130000'), "name"=>"Lillian Gaylord", "reference"=>"Cyril Rowe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecb77353306b7140000'), "author_name"=>"Bettie Streich MD", "content"=>["Dolores quibusdam maxime eum. Rerum quae nam distinctio quas dolores sapiente. At quis voluptatum similique delectus enim. Non similique ab laudantium praesentium dolor sapiente sequi. Qui et officiis vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8ecb77353306b7140000", "product_id"=>"53df8ecb77353306b7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7130000'), "comments._id"=>BSON::ObjectId('53df8ecb77353306b7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Redirected to http://test.host/admin/products/53df8ecb77353306b7130000/comments/53df8ecb77353306b7140000 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('53df8ecb77353306b7150000'), "name"=>"Lilliana Kautzer", "reference"=>"Ms. Delaney Prohaska", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b7160000'), "firstname"=>"Ozella", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8ecb77353306b7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms Redirected to http://test.host/admin/products/53df8ecb77353306b7150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b7180000'), "name"=>"Zechariah Wuckert", "reference"=>"Jade Ryan", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b7190000'), "firstname"=>"Daija", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df8ecb77353306b7190000", "product_id"=>"53df8ecb77353306b7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b71a0000'), "name"=>"Marlen Jones II", "reference"=>"Nickolas Morissette", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b71b0000'), "firstname"=>"Bianka", "lastname"=>"Baumbach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df8ecb77353306b71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecb77353306b71c0000'), "name"=>"Lula Abshire", "reference"=>"Abigayle Swift", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8ecb77353306b71d0000'), "firstname"=>"Chad", "lastname"=>"Schultz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2849ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df8ecb77353306b71d0000", "product_id"=>"53df8ecb77353306b71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecb77353306b71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71e0000'), "name"=>"Raymond Auer", "reference"=>"Abelardo Ullrich", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df8ecc77353306b71f0000'), "firstname"=>"Albina", "lastname"=>"Treutel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df8ecc77353306b71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8ecc77353306b71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df8ecc77353306b71e0000/manager 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('53df8ecc77353306b7200000'), "name"=>"Zita Lind", "reference"=>"Mariah Walter", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1424ms 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('53df8ecc77353306b7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Redirected to http://test.host/admin/products/53df8ecc77353306b7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1471ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7220000'), "name"=>"Tara Bosco DDS", "reference"=>"Ms. Elsie Nicolas", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1300ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df8ecc77353306b7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms 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.1395ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7230000'), "name"=>"Leta Douglas", "reference"=>"Devante Tromp Sr.", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df8ecc77353306b7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7230000')} 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.1ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7240000'), "name"=>"Maegan Lakin", "reference"=>"Ms. Laurence Reichert", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms 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.4437ms Completed 500 Internal Server Error in 11ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7250000'), "name"=>"Nico Fadel", "reference"=>"Therese Bode", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('53df8ecc77353306b7280000'), "name"=>"Clarissa Feest", "reference"=>"Broderick Grimes", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8766ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df8ecc77353306b7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms 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('53df8ecc77353306b7290000'), "name"=>"Emmitt Marks III", "reference"=>"Jeff Brown DDS", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8ecc77353306b7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms Redirected to http://test.host/admin/products/53df8ecc77353306b7290000 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('53df8ecc77353306b72a0000'), "firstname"=>"Jaqueline", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1656ms 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('53df8ecc77353306b72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms Redirected to http://test.host/admin/users/53df8ecc77353306b72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1888ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72c0000'), "firstname"=>"Jesse", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1622ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df8ecc77353306b72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ecc77353306b72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ecc77353306b72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms 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.1411ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72d0000'), "firstname"=>"Katherine", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df8ecc77353306b72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ecc77353306b72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72e0000'), "firstname"=>"Consuelo", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms 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.2509ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72f0000'), "firstname"=>"Bart", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7300000'), "firstname"=>"Kelsi", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df8ecc77353306b7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7310000'), "firstname"=>"Ubaldo", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8ecc77353306b7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df8ecc77353306b7310000 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('53df8ecc77353306b7320000'), "firstname"=>"Mariam", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1342ms 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('53df8ecc77353306b7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms 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.1541ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7340000'), "firstname"=>"Kadin", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6863ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df8ecc77353306b7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7340000')} 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.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7350000'), "firstname"=>"Ashleigh", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7360000'), "firstname"=>"Salma", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df8ecc77353306b7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7370000'), "firstname"=>"Bettye", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df8ecc77353306b7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7380000'), "name"=>"Berta Blick V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7390000'), "name"=>"Brianne Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73a0000'), "name"=>"Everette Steuber Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73b0000'), "name"=>"Nadia Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73c0000'), "name"=>"Kamille Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73d0000'), "name"=>"Maye Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73e0000'), "name"=>"Ward Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73f0000'), "name"=>"Kobe Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7400000'), "name"=>"Domenic Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7410000'), "name"=>"Clark Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7420000'), "name"=>"Elyse Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7430000'), "name"=>"Destinee Rutherford II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7440000'), "name"=>"Elizabeth Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7450000'), "name"=>"Ruth Haley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7460000'), "name"=>"Marquis Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7470000'), "name"=>"Ms. Hellen Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7480000'), "name"=>"Mariam Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7490000'), "name"=>"Kiera Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74a0000'), "name"=>"Leann Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74b0000'), "name"=>"Miss Vergie Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74c0000'), "name"=>"Ms. Maegan Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74d0000'), "name"=>"Carson Lynch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74e0000'), "name"=>"Gennaro D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74f0000'), "name"=>"Ashlee Kuhlman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7500000'), "name"=>"Miss Omari Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7510000'), "name"=>"Mr. Darwin Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7520000'), "name"=>"Itzel Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7530000'), "name"=>"Deontae Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7540000'), "name"=>"Kattie Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7550000'), "name"=>"Cletus Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7560000'), "name"=>"Hudson Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7570000'), "name"=>"Ruby Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7580000'), "name"=>"Trent Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7590000'), "name"=>"Brennon Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75a0000'), "name"=>"Jaqueline Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75b0000'), "name"=>"Crystal Trantow MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75c0000'), "name"=>"Sabina Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75d0000'), "name"=>"Darrion Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75e0000'), "name"=>"Ms. Alia Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75f0000'), "name"=>"Unique Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7600000'), "name"=>"Rudy Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7610000'), "name"=>"Maximus Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7620000'), "name"=>"Tillman Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7630000'), "name"=>"Margret Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7640000'), "name"=>"Aditya Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7650000'), "name"=>"Ariane Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7660000'), "name"=>"Kyler Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7670000'), "name"=>"Ms. Raoul Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7680000'), "name"=>"Monty Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7690000'), "name"=>"Robin King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76a0000'), "name"=>"Hilton Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76b0000'), "name"=>"Jeremie Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76c0000'), "name"=>"Theo Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76d0000'), "name"=>"Ms. Domenick Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76e0000'), "name"=>"Ms. Mandy Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76f0000'), "name"=>"Adah Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 23.6795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7700000'), "name"=>"Bethany Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7710000'), "name"=>"Mrs. Jazmyn Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7720000'), "name"=>"Andreane Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7730000'), "name"=>"Tate Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7740000'), "name"=>"Ada Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7750000'), "name"=>"Bennie Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7760000'), "name"=>"Miss Camren Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7770000'), "name"=>"Mackenzie Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7780000'), "name"=>"Gwendolyn Brekke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7790000'), "name"=>"Mandy Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77a0000'), "name"=>"Miss Nicolette Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77b0000'), "name"=>"Clair Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77c0000'), "name"=>"Gus Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77d0000'), "name"=>"Manley Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77e0000'), "name"=>"Ms. Simone Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77f0000'), "name"=>"Filomena Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7800000'), "name"=>"Ms. Hans D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7810000'), "name"=>"Dr. Annetta Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7820000'), "name"=>"Hilton Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7830000'), "name"=>"Mrs. Ewell Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7840000'), "name"=>"Rudy Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7850000'), "name"=>"Telly Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7860000'), "name"=>"Hardy Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7870000'), "name"=>"Dane Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7880000'), "name"=>"Alicia Gulgowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7890000'), "name"=>"Terry Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78a0000'), "name"=>"Shanny Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78b0000'), "name"=>"Arno Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78c0000'), "name"=>"Miss Julien O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78d0000'), "name"=>"Connie Dibbert II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78e0000'), "name"=>"Shanon Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78f0000'), "name"=>"Gianni VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7900000'), "name"=>"Miss Emery Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7910000'), "name"=>"Autumn Robel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7920000'), "name"=>"Yvette Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7930000'), "name"=>"Miss Melba Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7940000'), "name"=>"Dr. Sylvester Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7950000'), "name"=>"Erika Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7960000'), "name"=>"Reinhold Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7970000'), "name"=>"Korbin Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1224ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms Redirected to http://test.host/categories/53df8ecc77353306b7980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1573ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7990000'), "name"=>"Katheryn Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79a0000'), "name"=>"Lorna Hoppe Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79b0000'), "name"=>"Sheila Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79c0000'), "name"=>"Ms. Bernice Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79d0000'), "name"=>"Alexys Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79e0000'), "name"=>"Lupe Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79f0000'), "name"=>"Brandt Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a00000'), "name"=>"Otis Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a10000'), "name"=>"Ms. Jayde Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a20000'), "name"=>"Marcella Streich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a30000'), "name"=>"Lelah Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a40000'), "name"=>"Tressie Homenick IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a50000'), "name"=>"Rosalee Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a60000'), "name"=>"Maud Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a70000'), "name"=>"Nigel Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a80000'), "name"=>"Shawn Carter MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a90000'), "name"=>"Marcus Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7aa0000'), "name"=>"Jewell Kilback III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ab0000'), "name"=>"Caleigh Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ac0000'), "name"=>"Nichole Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ad0000'), "name"=>"Colby Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ae0000'), "name"=>"Tyra Fay IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7af0000'), "name"=>"Clint Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b00000'), "name"=>"Calista Herman Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b10000'), "name"=>"Michael Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b20000'), "name"=>"Salma Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b30000'), "name"=>"Lisa Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b40000'), "name"=>"Trenton Bradtke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b50000'), "name"=>"Jarvis D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b60000'), "name"=>"Connor Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b70000'), "name"=>"Kevon Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b80000'), "name"=>"Genesis Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b90000'), "name"=>"Lempi Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ba0000'), "name"=>"Emmanuel Torphy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bb0000'), "name"=>"Wilson Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bc0000'), "name"=>"Liliana Lebsack II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bd0000'), "name"=>"Norene Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7be0000'), "name"=>"Dessie Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bf0000'), "name"=>"Carolina Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c00000'), "name"=>"Avis Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c10000'), "name"=>"Pink VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c20000'), "name"=>"Jay Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c30000'), "name"=>"Mrs. Amber Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c40000'), "name"=>"Dr. Vaughn Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c50000'), "name"=>"Dr. Yadira Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c60000'), "name"=>"Kacie Schulist II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c70000'), "name"=>"Zander Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c80000'), "name"=>"Ms. Francisco Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c90000'), "name"=>"Emanuel Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ca0000'), "name"=>"Jennings Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cb0000'), "name"=>"Toni Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cc0000'), "name"=>"Verlie Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cd0000'), "name"=>"Flavie Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ce0000'), "name"=>"Francisco Ratke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.5336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cf0000'), "name"=>"Mabel Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d00000'), "name"=>"Vernie McKenzie II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d10000'), "name"=>"Crawford Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d20000'), "name"=>"Madeline Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d30000'), "name"=>"Tressa Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d40000'), "name"=>"Reginald Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d50000'), "name"=>"Destiney Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d60000'), "name"=>"Linnie Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d70000'), "name"=>"Marietta Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d80000'), "name"=>"Josiah Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d90000'), "name"=>"Kiarra Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7da0000'), "name"=>"Murray Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7db0000'), "name"=>"Chase West I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7dc0000'), "name"=>"Rosendo Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7dd0000'), "name"=>"Claude Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7de0000'), "name"=>"Coby Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7df0000'), "name"=>"Estelle Walsh I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e00000'), "name"=>"Alycia Turner PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e10000'), "name"=>"Zackery O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e20000'), "name"=>"Micah Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e30000'), "name"=>"Ms. Conrad Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e40000'), "name"=>"Eliezer Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e50000'), "name"=>"Cecelia Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e60000'), "name"=>"Ms. Carmella Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e70000'), "name"=>"Aurelio Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e80000'), "name"=>"Adrianna McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7e90000'), "name"=>"Connie Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ea0000'), "name"=>"Americo Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7eb0000'), "name"=>"Mr. Deondre Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ec0000'), "name"=>"Jevon Orn III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ed0000'), "name"=>"Felipe Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ee0000'), "name"=>"Russell Sawayn MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ef0000'), "name"=>"Zack West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f00000'), "name"=>"Vito Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f10000'), "name"=>"Miss Erick Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f20000'), "name"=>"Ruby Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f30000'), "name"=>"Elisa Farrell Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f40000'), "name"=>"Julius Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f50000'), "name"=>"Jeramie Bergstrom IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f60000'), "name"=>"Asha Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f70000'), "name"=>"Miss Lavinia Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f80000'), "name"=>"Jules Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1565ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df8ecc77353306b7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1375ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7f90000'), "name"=>"Miss Cierra Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7fa0000'), "name"=>"Johathan Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7fb0000'), "name"=>"Pearline Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7fc0000'), "name"=>"Henriette Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7fd0000'), "name"=>"Valentina Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7fe0000'), "name"=>"Hertha Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ff0000'), "name"=>"Dr. Reagan Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7000100'), "name"=>"Celine Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7010100'), "name"=>"Anissa Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7020100'), "name"=>"Liana Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7030100'), "name"=>"Genesis Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7040100'), "name"=>"Una Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7050100'), "name"=>"Isabell Skiles Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7060100'), "name"=>"Elwyn DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7070100'), "name"=>"Audreanne Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7080100'), "name"=>"Vern Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7090100'), "name"=>"Micah Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70a0100'), "name"=>"Mrs. Ana Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70b0100'), "name"=>"Dejuan Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70c0100'), "name"=>"Vesta McGlynn Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70d0100'), "name"=>"Rene O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70e0100'), "name"=>"Dr. Duncan Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b70f0100'), "name"=>"Frances Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b70f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7100100'), "name"=>"Donavon Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7110100'), "name"=>"Janelle Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7120100'), "name"=>"Erin Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7130100'), "name"=>"Ibrahim Schoen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7140100'), "name"=>"Meta Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7150100'), "name"=>"Ms. Salvador White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7160100'), "name"=>"Breanna Osinski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7170100'), "name"=>"Sylvester Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7180100'), "name"=>"Estevan Gottlieb DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7190100'), "name"=>"Osborne Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71a0100'), "name"=>"Ethel Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71b0100'), "name"=>"Randy Sauer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71c0100'), "name"=>"Ms. Everardo White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71d0100'), "name"=>"Maximus Beer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71e0100'), "name"=>"Ms. Jammie Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b71f0100'), "name"=>"Lorna Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b71f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7200100'), "name"=>"Elise Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7210100'), "name"=>"Emmy Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7220100'), "name"=>"Concepcion Cormier IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7230100'), "name"=>"Josue Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7240100'), "name"=>"Selina Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7250100'), "name"=>"Dr. Lora Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7260100'), "name"=>"Ms. Ulises Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7270100'), "name"=>"Toby Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7280100'), "name"=>"Marion Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7290100'), "name"=>"Garrison Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72a0100'), "name"=>"Telly Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72b0100'), "name"=>"Verna Kutch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72c0100'), "name"=>"Newell Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72d0100'), "name"=>"Dr. Bert Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72e0100'), "name"=>"Tremaine Brown DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b72f0100'), "name"=>"Darren Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b72f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7300100'), "name"=>"Mr. Maximus Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7310100'), "name"=>"Stephon Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7320100'), "name"=>"Miss Karli Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7330100'), "name"=>"Adrianna Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7340100'), "name"=>"Dayne Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7350100'), "name"=>"Tomasa Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7360100'), "name"=>"Reanna Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7370100'), "name"=>"Allen Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7380100'), "name"=>"Abe Kerluke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7390100'), "name"=>"Cordelia Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73a0100'), "name"=>"Citlalli O'Keefe V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73b0100'), "name"=>"Bernadette Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73c0100'), "name"=>"Tommie Yost I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73d0100'), "name"=>"Urban Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73e0100'), "name"=>"Dimitri Schmidt III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b73f0100'), "name"=>"Syble Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b73f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7400100'), "name"=>"Sherman Ortiz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7410100'), "name"=>"Joanne Durgan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7420100'), "name"=>"Bernard Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7430100'), "name"=>"Patricia Pacocha II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7440100'), "name"=>"Presley Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7450100'), "name"=>"Miss Jorge Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7460100'), "name"=>"Lambert Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7470100'), "name"=>"Yvonne Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7480100'), "name"=>"Vena Wunsch Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7490100'), "name"=>"Ms. Dino Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74a0100'), "name"=>"Mr. Oswaldo Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74b0100'), "name"=>"Miss Jan Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74c0100'), "name"=>"Fernando Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74d0100'), "name"=>"Robbie Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74e0100'), "name"=>"Miss Adrienne Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b74f0100'), "name"=>"Tracy Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b74f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7500100'), "name"=>"Mr. Trinity Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7510100'), "name"=>"Dejon Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7520100'), "name"=>"Mrs. Pauline Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7530100'), "name"=>"Miss Francisca Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7540100'), "name"=>"Brenda Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7550100'), "name"=>"Cathy DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7560100'), "name"=>"Marlen Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7570100'), "name"=>"Miss Ethel Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7580100'), "name"=>"Madie Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df8ecc77353306b7f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecc77353306b7f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 10ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7590100'), "name"=>"Reggie Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75a0100'), "name"=>"Lesly Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75b0100'), "name"=>"Sylvester Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75c0100'), "name"=>"Ladarius Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75d0100'), "name"=>"Reina Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75e0100'), "name"=>"Domingo Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b75f0100'), "name"=>"Reinhold Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b75f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7600100'), "name"=>"Claudine Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7610100'), "name"=>"Lowell Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7620100'), "name"=>"Trace Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7630100'), "name"=>"Miss Gwen Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7640100'), "name"=>"Bud Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7650100'), "name"=>"Zula Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7660100'), "name"=>"Destiny Jones DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7670100'), "name"=>"Callie Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7680100'), "name"=>"Polly Ortiz DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7690100'), "name"=>"Dr. Lia Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76a0100'), "name"=>"Mrs. Alejandra Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76b0100'), "name"=>"Adrianna Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76c0100'), "name"=>"Mrs. Kara Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76d0100'), "name"=>"Maybelle Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76e0100'), "name"=>"Ana Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b76f0100'), "name"=>"Reta Botsford Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b76f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7700100'), "name"=>"Marcella Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7710100'), "name"=>"Justine Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7720100'), "name"=>"Miss Vivian Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7730100'), "name"=>"Otha Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7740100'), "name"=>"Ebony Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7750100'), "name"=>"Cyril Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7760100'), "name"=>"Aliyah Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7770100'), "name"=>"Orrin Carter III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7780100'), "name"=>"Oda Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7790100'), "name"=>"Marcelo Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77a0100'), "name"=>"Amara Jacobs I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77b0100'), "name"=>"Ms. Rashawn Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77c0100'), "name"=>"Ms. Imelda Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77d0100'), "name"=>"Emily Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77e0100'), "name"=>"Jamison Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b77f0100'), "name"=>"Valerie Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b77f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7800100'), "name"=>"Ulices Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7810100'), "name"=>"Cicero Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7820100'), "name"=>"Presley Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7830100'), "name"=>"Kurtis Cummerata Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7840100'), "name"=>"Caleb McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7850100'), "name"=>"Marilou Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7860100'), "name"=>"Hayley Stiedemann I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7870100'), "name"=>"Jacey Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7880100'), "name"=>"Karson Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7890100'), "name"=>"Devon Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78a0100'), "name"=>"Ernie Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78b0100'), "name"=>"Shad Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78c0100'), "name"=>"Maryjane Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78d0100'), "name"=>"Rick Balistreri MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78e0100'), "name"=>"Dr. Freda Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b78f0100'), "name"=>"William Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b78f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7900100'), "name"=>"Miss Jacquelyn Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7910100'), "name"=>"Ara Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7920100'), "name"=>"Jon Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7930100'), "name"=>"Mrs. Krystel Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7940100'), "name"=>"Alivia Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7950100'), "name"=>"Bell Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7960100'), "name"=>"Audrey Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7970100'), "name"=>"Gerson Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7980100'), "name"=>"Filomena Torphy DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7990100'), "name"=>"Ruth Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79a0100'), "name"=>"Wanda Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79b0100'), "name"=>"Loren Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79c0100'), "name"=>"Norbert Romaguera II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79d0100'), "name"=>"Miss Dell Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79e0100'), "name"=>"Felicity Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b79f0100'), "name"=>"Miss Davon Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b79f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a00100'), "name"=>"Arne Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a10100'), "name"=>"Lawson Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a20100'), "name"=>"Dr. Veronica Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a30100'), "name"=>"Harvey Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a40100'), "name"=>"Madalyn Powlowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a50100'), "name"=>"Matilda Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a60100'), "name"=>"Bernie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a70100'), "name"=>"Miss Ollie Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a80100'), "name"=>"Anne Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7a90100'), "name"=>"Jett VonRueden III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7aa0100'), "name"=>"Titus Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ab0100'), "name"=>"Felton Ledner II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ac0100'), "name"=>"Mr. Angelita Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ad0100'), "name"=>"Hayley Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ae0100'), "name"=>"Nathanial Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7af0100'), "name"=>"Ezekiel Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b00100'), "name"=>"Scottie Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b10100'), "name"=>"Damon Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b20100'), "name"=>"Cydney Mohr III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b30100'), "name"=>"Madonna Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b40100'), "name"=>"Meredith Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b50100'), "name"=>"Lukas Rice Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b60100'), "name"=>"Ewell Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b70100'), "name"=>"Corbin Kuvalis I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b80100'), "name"=>"Bryon Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366162718248] runtime: 0.1101ms Completed 500 Internal Server Error in 38ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7b90100'), "name"=>"Eino Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ba0100'), "name"=>"Pierre Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bb0100'), "name"=>"Mittie Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bc0100'), "name"=>"Ludwig Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bd0100'), "name"=>"Miss Ralph Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7be0100'), "name"=>"Ruth Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7bf0100'), "name"=>"Terrell Huels III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c00100'), "name"=>"Guillermo Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c10100'), "name"=>"Ms. Sadye Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c20100'), "name"=>"Kenton Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c30100'), "name"=>"Dr. Keith Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c40100'), "name"=>"Brock Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c50100'), "name"=>"Ofelia Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c60100'), "name"=>"Benton Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c70100'), "name"=>"Nickolas Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c80100'), "name"=>"Lafayette Mayert PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7c90100'), "name"=>"Kamron Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ca0100'), "name"=>"Otho Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cb0100'), "name"=>"Miss Zachariah Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cc0100'), "name"=>"Dr. Pearline Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cd0100'), "name"=>"Vallie Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7ce0100'), "name"=>"Philip Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7cf0100'), "name"=>"Freddy Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d00100'), "name"=>"Stephen Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d10100'), "name"=>"Ines Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d20100'), "name"=>"Monte Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d30100'), "name"=>"Michele Pfannerstill V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d40100'), "name"=>"Althea Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d50100'), "name"=>"Charlene Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecc77353306b7d60100'), "name"=>"Cecil Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecc77353306b7d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d70100'), "name"=>"Precious Wiegand II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d80100'), "name"=>"Josianne Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d90100'), "name"=>"Rocky Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7da0100'), "name"=>"Ebony Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7db0100'), "name"=>"Isom Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7dc0100'), "name"=>"Breanne Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7dd0100'), "name"=>"Sydney Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7de0100'), "name"=>"Kade Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7df0100'), "name"=>"Summer Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e00100'), "name"=>"Mrs. Emerald Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e10100'), "name"=>"Annamarie Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e20100'), "name"=>"Cordelia Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e30100'), "name"=>"Ashleigh Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e40100'), "name"=>"Whitney Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e50100'), "name"=>"Leila Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e60100'), "name"=>"Ms. Kacey Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e70100'), "name"=>"Alexanne Weber I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e80100'), "name"=>"Malachi Adams III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e90100'), "name"=>"Gardner Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ea0100'), "name"=>"Dr. Ernie Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7eb0100'), "name"=>"Turner Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ec0100'), "name"=>"Eloise Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ed0100'), "name"=>"Garry Gorczany DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ee0100'), "name"=>"Rickie Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ef0100'), "name"=>"Guy Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f00100'), "name"=>"Mrs. Dorothy Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f10100'), "name"=>"Ms. Nicholaus Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f20100'), "name"=>"Katheryn Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f30100'), "name"=>"Maeve Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f40100'), "name"=>"Caitlyn Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f50100'), "name"=>"Waino Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f60100'), "name"=>"Susana Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f70100'), "name"=>"Bell Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f80100'), "name"=>"Dr. Danika Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f90100'), "name"=>"Tre Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fa0100'), "name"=>"Alison Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fb0100'), "name"=>"Dr. Sherwood Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fc0100'), "name"=>"Dorcas Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fd0100'), "name"=>"Mr. Grayce Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fe0100'), "name"=>"Coleman Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ff0100'), "name"=>"Mr. Johnpaul Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7000200'), "name"=>"Georgiana Hessel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7010200'), "name"=>"Miss Chadrick Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7020200'), "name"=>"Oswaldo Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7030200'), "name"=>"Clay Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7040200'), "name"=>"Miss Sylvester MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7050200'), "name"=>"Morgan Brekke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7060200'), "name"=>"Dr. Vernon Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7070200'), "name"=>"Nasir Smith V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7080200'), "name"=>"Lamont Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7090200'), "name"=>"Zaria Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70a0200'), "name"=>"Miss Jaquelin Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70b0200'), "name"=>"Jessy Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70c0200'), "name"=>"Stephan Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70d0200'), "name"=>"Andrew Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70e0200'), "name"=>"Ernestine Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70f0200'), "name"=>"Sanford Simonis PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7100200'), "name"=>"Jabari Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7110200'), "name"=>"Catalina Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7120200'), "name"=>"Nash Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7130200'), "name"=>"Sigrid Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7140200'), "name"=>"Tre Reichel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7150200'), "name"=>"Audra Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7160200'), "name"=>"Molly Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7170200'), "name"=>"Lowell McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7180200'), "name"=>"Liana Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365665155300] runtime: 0.0714ms Completed 500 Internal Server Error in 8ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7190200'), "name"=>"Ms. Wade Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71a0200'), "name"=>"Braeden Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71b0200'), "name"=>"Joshuah Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71c0200'), "name"=>"Miss Michelle Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71d0200'), "name"=>"Morgan Lebsack DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71e0200'), "name"=>"Sandra Veum MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71f0200'), "name"=>"Charity Sanford PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7200200'), "name"=>"Miss Guillermo Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7210200'), "name"=>"Mrs. Buford Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7220200'), "name"=>"Tito Lang DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7230200'), "name"=>"Jasmin Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7240200'), "name"=>"Sophie Breitenberg MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7250200'), "name"=>"Tate Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7260200'), "name"=>"Dejuan Johns II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7270200'), "name"=>"Ms. Dane Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7280200'), "name"=>"Elna Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7290200'), "name"=>"Camden Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72a0200'), "name"=>"Ezra Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72b0200'), "name"=>"Jefferey Ferry I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72c0200'), "name"=>"Mathew Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72d0200'), "name"=>"Georgiana McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72e0200'), "name"=>"Adell Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72f0200'), "name"=>"Hassie Rowe DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7300200'), "name"=>"Emmy Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7310200'), "name"=>"Landen Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7320200'), "name"=>"Kevon Kirlin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7330200'), "name"=>"Alaina Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7340200'), "name"=>"Kristy Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7350200'), "name"=>"Maybell Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7360200'), "name"=>"Myrtis Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7370200'), "name"=>"Osborne Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7380200'), "name"=>"Laurie Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7390200'), "name"=>"Erik Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73a0200'), "name"=>"Emil Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73b0200'), "name"=>"Luciano Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73c0200'), "name"=>"Carissa West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73d0200'), "name"=>"Zack Stokes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73e0200'), "name"=>"Mrs. Hyman Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73f0200'), "name"=>"Miss Rafael Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b73f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7400200'), "name"=>"Laurel Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7410200'), "name"=>"Haley Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7420200'), "name"=>"Amparo Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7430200'), "name"=>"Elda Conn DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7440200'), "name"=>"Garth Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7450200'), "name"=>"Rollin Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7460200'), "name"=>"Elliott Haag DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7470200'), "name"=>"Tressa Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7480200'), "name"=>"Miss Abbey Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7490200'), "name"=>"Kasandra Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74a0200'), "name"=>"Dr. Wilber Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74b0200'), "name"=>"Mike Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74c0200'), "name"=>"Karianne Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74d0200'), "name"=>"Mrs. Kane Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74e0200'), "name"=>"Catharine Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74f0200'), "name"=>"Jerrell Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b74f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7500200'), "name"=>"Mrs. Oran Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7510200'), "name"=>"Kendrick Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7520200'), "name"=>"Mayra Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7530200'), "name"=>"Chanelle Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7540200'), "name"=>"Vaughn Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7550200'), "name"=>"Domenick McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7560200'), "name"=>"Kacie Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7570200'), "name"=>"Evans Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7580200'), "name"=>"Tristian Vandervort V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7590200'), "name"=>"Myrtis Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75a0200'), "name"=>"Angela Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75b0200'), "name"=>"Felicita McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75c0200'), "name"=>"Clovis Wiza PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75d0200'), "name"=>"Annamae Pollich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75e0200'), "name"=>"Clifford Stracke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75f0200'), "name"=>"Marlene Rosenbaum Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b75f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7600200'), "name"=>"Miss Faye VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.6853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7610200'), "name"=>"Meghan Weimann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7620200'), "name"=>"Mrs. Dave Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7630200'), "name"=>"Rod Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7640200'), "name"=>"Zechariah Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7650200'), "name"=>"Miss Ari Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7660200'), "name"=>"Elouise Jacobson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7670200'), "name"=>"Buck Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7680200'), "name"=>"Teresa Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7690200'), "name"=>"Shyanne Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76a0200'), "name"=>"Opal Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76b0200'), "name"=>"Jeremy Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76c0200'), "name"=>"Vernon Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76d0200'), "name"=>"Rex DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76e0200'), "name"=>"Ursula O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b76f0200'), "name"=>"Rebeca Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b76f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7700200'), "name"=>"Charity Mohr MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7710200'), "name"=>"Wade Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7720200'), "name"=>"Laurence Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7730200'), "name"=>"Ms. Bartholome Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7740200'), "name"=>"Dahlia Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7750200'), "name"=>"Hermina Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7760200'), "name"=>"Coy Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7770200'), "name"=>"Kenyon Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7780200'), "name"=>"Elenor Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 9ms (Views: 8.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77a0200'), "name"=>"Peyton Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77b0200'), "name"=>"Eugene Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77c0200'), "name"=>"Horace Hayes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77d0200'), "name"=>"Johnnie Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77e0200'), "name"=>"Robyn Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b77f0200'), "name"=>"Dario West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7800200'), "name"=>"Jailyn Gutkowski I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7810200'), "name"=>"Karl Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7820200'), "name"=>"Eleazar Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7830200'), "name"=>"Mrs. Louvenia Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7840200'), "name"=>"Lolita Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7850200'), "name"=>"Dominic Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7860200'), "name"=>"Miss Scottie Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7870200'), "name"=>"Vickie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7880200'), "name"=>"Jules Kertzmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7890200'), "name"=>"Dr. Marc Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78a0200'), "name"=>"Marques Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78b0200'), "name"=>"Jennings Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78c0200'), "name"=>"Hilma O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78d0200'), "name"=>"Lilly Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78e0200'), "name"=>"Alvera O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b78f0200'), "name"=>"Dixie Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b78f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7900200'), "name"=>"Freeda Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7910200'), "name"=>"Rita Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7920200'), "name"=>"Bertram Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7930200'), "name"=>"Shaniya Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7940200'), "name"=>"Hulda Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7950200'), "name"=>"Madelynn Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7960200'), "name"=>"Omer Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7970200'), "name"=>"Charles Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7980200'), "name"=>"Mr. Elnora Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7990200'), "name"=>"Bernita Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79a0200'), "name"=>"Ms. Vladimir Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79b0200'), "name"=>"Mr. Wyatt Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79c0200'), "name"=>"Miss Talia Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79d0200'), "name"=>"America Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79e0200'), "name"=>"Mayra Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b79f0200'), "name"=>"Sven Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b79f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a00200'), "name"=>"Marquis Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a10200'), "name"=>"Rhoda Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a20200'), "name"=>"Hailie Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a30200'), "name"=>"Dillan Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a40200'), "name"=>"Issac O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a50200'), "name"=>"Dr. Jettie Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a60200'), "name"=>"Arianna McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a70200'), "name"=>"Ferne Quigley I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a80200'), "name"=>"Lamont Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7a90200'), "name"=>"Hank Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7aa0200'), "name"=>"Annabel Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ab0200'), "name"=>"Miss Roxanne Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ac0200'), "name"=>"Mrs. Wilber Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ad0200'), "name"=>"Gregory Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ae0200'), "name"=>"Kellen Rodriguez Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7af0200'), "name"=>"Lonny Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b00200'), "name"=>"Waino Quigley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b10200'), "name"=>"Mariana Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b20200'), "name"=>"Katelynn Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b30200'), "name"=>"Darren Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b40200'), "name"=>"Trey Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b50200'), "name"=>"Keegan Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b60200'), "name"=>"Anastasia Hessel IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b70200'), "name"=>"Magnolia Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b80200'), "name"=>"Trisha Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7b90200'), "name"=>"Ms. Shanel Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ba0200'), "name"=>"Sasha Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7bb0200'), "name"=>"Aylin Kovacek Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7bc0200'), "name"=>"Mr. Anderson Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7bd0200'), "name"=>"Miss Jonatan Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7be0200'), "name"=>"Jacinthe Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7bf0200'), "name"=>"Hunter Tremblay IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c00200'), "name"=>"Mr. Briana Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c10200'), "name"=>"Frank Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c20200'), "name"=>"Mrs. Mya Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c30200'), "name"=>"Angelita Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c40200'), "name"=>"Helena Wuckert IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c50200'), "name"=>"Lonzo Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c60200'), "name"=>"Sage Wilkinson III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c70200'), "name"=>"Shanny Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c80200'), "name"=>"Sheila Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7c90200'), "name"=>"Oda Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ca0200'), "name"=>"Bridie Parisian V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7cb0200'), "name"=>"Napoleon Lakin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7cc0200'), "name"=>"Mrs. Carlie Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7cd0200'), "name"=>"Mallie Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ce0200'), "name"=>"Clement Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7cf0200'), "name"=>"Trisha Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d00200'), "name"=>"Dr. D'angelo Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d10200'), "name"=>"Elenora Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d20200'), "name"=>"Vincent Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d30200'), "name"=>"Beth Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d40200'), "name"=>"Dr. Caleigh Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d50200'), "name"=>"Ms. Bernadette Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d60200'), "name"=>"Sonya Upton IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d70200'), "name"=>"Madilyn Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d80200'), "name"=>"Barry Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7d90200'), "name"=>"Tomas Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8ecd77353306b77a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecd77353306b77a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b77a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7da0200'), "name"=>"Chaz Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7db0200'), "name"=>"Rick Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7dc0200'), "name"=>"Onie Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7dd0200'), "name"=>"Dr. Lora Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7de0200'), "name"=>"Luna Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7df0200'), "name"=>"Katelynn Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e00200'), "name"=>"Alverta Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e10200'), "name"=>"Violette Harvey DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e20200'), "name"=>"Ms. Orlo Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e30200'), "name"=>"Einar Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e40200'), "name"=>"Jordane Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e50200'), "name"=>"Kianna Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e60200'), "name"=>"Arnoldo Lueilwitz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e70200'), "name"=>"Rosemary Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e80200'), "name"=>"Antonette D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7e90200'), "name"=>"Adelia Lynch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ea0200'), "name"=>"Mitchel Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7eb0200'), "name"=>"Kacie Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ec0200'), "name"=>"Stan Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ed0200'), "name"=>"Sabrina Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ee0200'), "name"=>"Florian Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ef0200'), "name"=>"Breana Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f00200'), "name"=>"Harmon Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f10200'), "name"=>"Hazel Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f20200'), "name"=>"Florence Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f30200'), "name"=>"Ms. Antoinette Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f40200'), "name"=>"Jordy Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f50200'), "name"=>"Baylee Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f60200'), "name"=>"Keira Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f70200'), "name"=>"Nikko Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f80200'), "name"=>"Clarissa Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7f90200'), "name"=>"Agustina Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fa0200'), "name"=>"Koby Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fb0200'), "name"=>"Ms. Mozell Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fc0200'), "name"=>"Liliane Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fd0200'), "name"=>"Reina Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7fe0200'), "name"=>"Mr. Hilbert Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7ff0200'), "name"=>"Filiberto Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7000300'), "name"=>"Teresa Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7010300'), "name"=>"Mariane Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7020300'), "name"=>"Toy Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7030300'), "name"=>"Jacynthe Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7040300'), "name"=>"Larissa Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7050300'), "name"=>"Wilford Hammes PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7060300'), "name"=>"Miss Eliza Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7070300'), "name"=>"Dr. Maia Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7080300'), "name"=>"Drake Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7090300'), "name"=>"Ms. Anibal Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70a0300'), "name"=>"Celestine Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70b0300'), "name"=>"Pierre Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70c0300'), "name"=>"Blair Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70d0300'), "name"=>"Mr. Tressa Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70e0300'), "name"=>"Dayne Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b70f0300'), "name"=>"Marc Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b70f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7100300'), "name"=>"Nathanial Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7110300'), "name"=>"Nash Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7120300'), "name"=>"Kim Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7130300'), "name"=>"Mr. Jodie Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7140300'), "name"=>"Gwendolyn Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7150300'), "name"=>"Dr. Crystel Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7160300'), "name"=>"Bernardo Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7170300'), "name"=>"Mr. Kale Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7180300'), "name"=>"Estell Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7190300'), "name"=>"Heaven Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71a0300'), "name"=>"Devon Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71b0300'), "name"=>"Enos Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71c0300'), "name"=>"Brycen Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71d0300'), "name"=>"Dwight Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71e0300'), "name"=>"Ms. Mariah Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b71f0300'), "name"=>"Destany Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b71f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7200300'), "name"=>"Mrs. Amiya Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7210300'), "name"=>"Anibal Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7220300'), "name"=>"Adell Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7230300'), "name"=>"Ramon Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7240300'), "name"=>"Mr. Mariano Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7250300'), "name"=>"Ian Harvey Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7260300'), "name"=>"Alberto Watsica Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7270300'), "name"=>"Shanna Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7280300'), "name"=>"Letha Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7290300'), "name"=>"Ms. Gisselle Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72a0300'), "name"=>"Jedediah Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72b0300'), "name"=>"Emiliano McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72c0300'), "name"=>"Keanu Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72d0300'), "name"=>"Kip Block I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72e0300'), "name"=>"Zoie Flatley I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b72f0300'), "name"=>"Mr. Arnoldo Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b72f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7300300'), "name"=>"Mr. Kayden Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7310300'), "name"=>"Mackenzie Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7320300'), "name"=>"Geraldine Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7330300'), "name"=>"Trinity Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7340300'), "name"=>"Miss Estevan Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7350300'), "name"=>"Gilberto Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7360300'), "name"=>"Darrell Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7370300'), "name"=>"Jolie Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7380300'), "name"=>"Miss Delmer Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7390300'), "name"=>"Anna Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8ecd77353306b7da0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7da0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ecd77353306b7da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms Redirected to http://test.host/categories/53df8ecd77353306b7da0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73a0300'), "name"=>"Schuyler Stehr I", "reference"=>"Morgan Aufderhar", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b73b0300'), "author_name"=>"Edna Stehr", "content"=>["Qui rerum similique nostrum at. Sit similique voluptatum. Facilis alias repellendus autem voluptas aperiam. Omnis voluptatem aut et. Odit alias et numquam ab eos aut."]}]}] 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('53df8ecd77353306b73a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8ecd77353306b73a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b73c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms Redirected to http://test.host/products/53df8ecd77353306b73a0300/comments/53df8ecd77353306b73c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73d0300'), "name"=>"Dr. Katheryn Hagenes", "reference"=>"Franz Upton", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b73e0300'), "author_name"=>"Jovani Haag", "content"=>["Ex quo quibusdam debitis. Maxime omnis animi fugiat et. Quo et enim est. In voluptate quidem ut vitae cupiditate. Amet eos natus quisquam dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8ecd77353306b73d0300", "id"=>"53df8ecd77353306b73e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b73e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms Redirected to http://test.host/products/53df8ecd77353306b73d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b73f0300'), "name"=>"Thad Sporer", "reference"=>"Toby Bednar", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b7400300'), "author_name"=>"Caesar Nader", "content"=>["Qui quibusdam sed et et nostrum quo. Sit ipsum harum aut nisi est. Dignissimos inventore quo sed eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8ecd77353306b73f0300", "id"=>"53df8ecd77353306b7400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b73f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.1ms) Completed 200 OK in 42ms (Views: 39.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7410300'), "name"=>"Anissa Kreiger PhD", "reference"=>"Kayley Marquardt", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b7420300'), "author_name"=>"Devante Gorczany", "content"=>["Molestias voluptatem et ullam occaecati et. Autem perferendis aut ipsam necessitatibus sunt dolorem. Ipsam sit similique eum rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8ecd77353306b7410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms Completed 500 Internal Server Error in 5ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7430300'), "name"=>"Brendan Maggio", "reference"=>"Eryn Cummings", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b7440300'), "author_name"=>"Teresa Lehner", "content"=>["Et dicta ullam. Dolorem nostrum dolorem velit quo facilis. Voluptates quaerat et quia saepe odit nemo. Dolore quae qui. Ipsa esse ullam perspiciatis aut sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8ecd77353306b7430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7450300'), "name"=>"Larissa Bergnaum", "reference"=>"Raul Stanton Jr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b7460300'), "author_name"=>"Winona Baumbach", "content"=>["Eligendi quidem mollitia tempora eum. In quia velit expedita et. Veniam laboriosam ipsa cupiditate porro. Ut voluptatem ut et quibusdam facilis. Delectus ut molestias iste laudantium labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8ecd77353306b7450300", "id"=>"53df8ecd77353306b7460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7470300'), "name"=>"Shanie Huels", "reference"=>"Ms. Malachi Wolff", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b7480300'), "author_name"=>"Nannie Goldner", "content"=>["Iure aut sed consequuntur placeat itaque. Quam earum doloremque sequi exercitationem dolores nesciunt. Ipsam possimus quae eos suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8ecd77353306b7470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7470300')} 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 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7490300'), "name"=>"Marian Abshire", "reference"=>"Pauline Emmerich", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b74a0300'), "author_name"=>"Dr. Quentin Wisozk", "content"=>["Porro et aliquam. A beatae omnis et quos magni ipsa. Quo maxime aperiam et ratione. Magnam non occaecati sunt beatae. Incidunt exercitationem eveniet quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8ecd77353306b7490300", "id"=>"53df8ecd77353306b74a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74b0300'), "name"=>"Jesus Schneider V", "reference"=>"Leland Kris", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8ecd77353306b74c0300'), "author_name"=>"Miss Stanley Gusikowski", "content"=>["Repellendus nesciunt sit eos veritatis. Facere veritatis pariatur voluptatem enim ratione natus. Cumque porro aliquam. Velit laborum perferendis illum vel ea beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8ecd77353306b74c0300", "product_id"=>"53df8ecd77353306b74b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b74b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b74b0300'), "comments._id"=>BSON::ObjectId('53df8ecd77353306b74c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms Redirected to http://test.host/products/53df8ecd77353306b74b0300/comments/53df8ecd77353306b74c0300 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('53df8ecd77353306b74d0300'), "firstname"=>"Felicia", "lastname"=>"Upton"}] 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=>"clients", :query=>{}} runtime: 0.1575ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms Redirected to http://test.host/admin/clients/53df8ecd77353306b74e0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1543ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b74f0300'), "firstname"=>"Justina", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1354ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8ecd77353306b74f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b74f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b74f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms 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.1375ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7500300'), "firstname"=>"Cayla", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8ecd77353306b7500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('53df8ecd77353306b7510300'), "firstname"=>"Giovanni", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms 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('53df8ecd77353306b7520300'), "firstname"=>"Theresa", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7530300'), "firstname"=>"Soledad", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8ecd77353306b7530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms Completed 200 OK in 6ms (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('53df8ecd77353306b7540300'), "firstname"=>"Charity", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8ecd77353306b7540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms Redirected to http://test.host/admin/clients/53df8ecd77353306b7540300 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('53df8ecd77353306b7550300'), "firstname"=>"Roosevelt", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1463ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms Redirected to http://test.host/clients/53df8ecd77353306b7560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1400ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7570300'), "firstname"=>"Celestino", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1347ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8ecd77353306b7570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms 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.1404ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7580300'), "firstname"=>"Bud", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8ecd77353306b7580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df8ecd77353306b7590300'), "firstname"=>"Vincenzo", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms 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('53df8ecd77353306b75a0300'), "firstname"=>"Camron", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b75b0300'), "firstname"=>"Haskell", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8ecd77353306b75b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms 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('53df8ecd77353306b75c0300'), "firstname"=>"Dustin", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8ecd77353306b75c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms Redirected to http://test.host/clients/53df8ecd77353306b75c0300 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('53df8ecd77353306b75d0300'), "name"=>"Aniya Franecki", "reference"=>"Leland Murazik", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b75e0300'), "firstname"=>"Ona", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8ecd77353306b75d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b75d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b75f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms Redirected to http://test.host/products/53df8ecd77353306b75d0300/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7600300'), "name"=>"Hardy Harvey", "reference"=>"Mercedes Hane", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b7610300'), "firstname"=>"D'angelo", "lastname"=>"Dooley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8ecd77353306b7610300", "product_id"=>"53df8ecd77353306b7600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7620300'), "name"=>"Ms. Timmothy Grant", "reference"=>"Leo Cassin", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b7630300'), "firstname"=>"Vergie", "lastname"=>"Bergstrom"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8ecd77353306b7620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7620300')} 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.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7640300'), "name"=>"David Quitzon", "reference"=>"Brielle Homenick", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b7650300'), "firstname"=>"Amira", "lastname"=>"Feil"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8ecd77353306b7650300", "product_id"=>"53df8ecd77353306b7640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7660300'), "name"=>"Timmothy O'Conner", "reference"=>"Mrs. Myrtis Bechtelar", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8ecd77353306b7670300'), "firstname"=>"Weldon", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8ecd77353306b7670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8ecd77353306b7660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ecd77353306b7660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms Unpermitted parameters: name Redirected to http://test.host/products/53df8ecd77353306b7660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ecd77353306b7680300'), "name"=>"Quinton Wyman II", "reference"=>"Florence MacGyver II", "quantity"=>"4"}] 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=>"products", :query=>{}} runtime: 0.1626ms 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('53df8ece77353306b7690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Redirected to http://test.host/products/53df8ece77353306b7690300 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b76a0300'), "name"=>"Reva Bednar DDS", "reference"=>"Danika Koch", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1220ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8ece77353306b76a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b76a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b76a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms 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.1365ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b76b0300'), "name"=>"Micaela Goodwin", "reference"=>"Paul Kautzer", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8ece77353306b76b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b76b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.7ms) Completed 200 OK in 41ms (Views: 39.9ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b76c0300'), "name"=>"Mr. Amara Durgan", "reference"=>"Fermin Konopelski", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms 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.7269ms Completed 500 Internal Server Error in 20ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b76d0300'), "name"=>"Pearline Cormier", "reference"=>"Pierce Zulauf", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms 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.6144ms 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('53df8ece77353306b76e0300'), "name"=>"Ms. Vance Nitzsche", "reference"=>"Fredy Koss", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8ece77353306b76e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b76e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms 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('53df8ece77353306b76f0300'), "name"=>"Rebeca Denesik", "reference"=>"Silas Breitenberg", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df8ece77353306b7710300'), "name"=>"Jordy Abernathy", "reference"=>"Woodrow Mitchell", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8ece77353306b7710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7720300'), "name"=>"Kellen Hamill", "reference"=>"Deonte Rolfson", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1810ms 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('53df8ece77353306b7730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms 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('53df8ece77353306b7740300'), "name"=>"Micah Glover", "reference"=>"Abdul Kirlin", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8ece77353306b7740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7740300')} 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('53df8ece77353306b7740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms 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('53df8ece77353306b7750300'), "name"=>"Kurt Eichmann", "reference"=>"Brisa West", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms 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('53df8ece77353306b7770300'), "name"=>"Mrs. Kara Lubowitz", "reference"=>"Dr. Joanie Boyle", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8ece77353306b7770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms 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('53df8ece77353306b7780300'), "name"=>"Korey Dooley DVM", "reference"=>"Alice Kovacek Jr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8ece77353306b7780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7780300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms Redirected to http://test.host/products/53df8ece77353306b7780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b77b0300'), "name"=>"Stephon Murphy", "reference"=>"Baby Larson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7790300'), "author_name"=>"Sally Greenholt", "content"=>["Natus repellendus accusantium repudiandae labore voluptatem velit ipsam. Optio quia quae ut doloribus ullam ut. Suscipit consectetur est facilis repellendus eius enim. Atque necessitatibus officiis. Et dicta ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b77a0300'), "author_name"=>"Arvilla Abernathy", "content"=>["Nihil aspernatur ut vel assumenda. Eos eius eum esse ullam voluptatibus suscipit. Ea consequatur distinctio soluta ipsam. Quibusdam culpa ipsum sunt vel aliquid quaerat. Nesciunt accusamus recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8ece77353306b77b0300", "comment_id"=>"53df8ece77353306b7790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77b0300'), "comments._id"=>BSON::ObjectId('53df8ece77353306b7790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8ece77353306b77c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Redirected to http://test.host/products/53df8ece77353306b77b0300/comments/53df8ece77353306b7790300/comments/53df8ece77353306b77c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1951ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b77f0300'), "name"=>"Miss Pinkie Mraz", "reference"=>"Gabriella Ebert", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b77d0300'), "author_name"=>"Wendy Maggio", "content"=>["Occaecati animi officia iusto nihil asperiores et. Aperiam itaque voluptas est consequuntur et. Reprehenderit consequatur consequuntur et neque omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b77e0300'), "author_name"=>"Floy Dibbert", "content"=>["Quia est quo. Exercitationem nihil explicabo totam. Quia similique numquam et ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8ece77353306b77f0300", "comment_id"=>"53df8ece77353306b77d0300", "id"=>"53df8ece77353306b77e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77f0300'), "comments._id"=>BSON::ObjectId('53df8ece77353306b77d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8ece77353306b77e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms Redirected to http://test.host/products/53df8ece77353306b77f0300/comments/53df8ece77353306b77d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b77f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7820300'), "name"=>"Mr. Lia Parisian", "reference"=>"Alexa Fay", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7800300'), "author_name"=>"Ashtyn Wunsch", "content"=>["Eos ad maxime tempore et consequatur totam est. Similique et consequatur. Aut maiores dolorem voluptatem asperiores qui. Cum voluptatem quo molestiae distinctio sed. Aut quisquam provident consequatur officia."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7810300'), "author_name"=>"Gina Mohr", "content"=>["Ut eum qui fuga omnis modi veritatis. Non in beatae. Corrupti vel quod nobis dolorem ullam. Exercitationem quisquam aut nulla esse est magnam nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8ece77353306b7820300", "comment_id"=>"53df8ece77353306b7800300", "id"=>"53df8ece77353306b7810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7820300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7850300'), "name"=>"Fidel Dibbert", "reference"=>"Bryce Jaskolski", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7830300'), "author_name"=>"Annie Jakubowski", "content"=>["Ullam omnis in debitis quo similique sequi. Minus eum et laboriosam quam. Non autem repellendus provident unde laborum repudiandae quisquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7840300'), "author_name"=>"Mckenzie Klocko", "content"=>["Eius excepturi dolorem aliquam. Commodi nam adipisci animi fuga molestiae. Blanditiis iste qui maxime doloribus vel optio. Debitis mollitia quia enim incidunt praesentium magni occaecati. Amet fugiat enim quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8ece77353306b7850300", "comment_id"=>"53df8ece77353306b7830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Completed 500 Internal Server Error in 38ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7880300'), "name"=>"Sharon Mante", "reference"=>"Mrs. Mustafa Bergnaum", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7860300'), "author_name"=>"Abbie Hagenes", "content"=>["Commodi nemo voluptates accusamus maxime et omnis. Ipsam velit dignissimos deleniti sed sequi fugit omnis. Atque quis sint autem porro. Consectetur quis eveniet. Magnam ut tempore suscipit repellendus qui consequatur vero."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7870300'), "author_name"=>"Kathryn Ward", "content"=>["Ipsa sed et rerum et omnis iusto. Cum quis numquam ducimus veniam aut. Facilis et exercitationem. Eos recusandae molestiae vitae saepe at minima. Iste non recusandae deleniti maxime aspernatur quia et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8ece77353306b7880300", "comment_id"=>"53df8ece77353306b7860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b78b0300'), "name"=>"Maryam Conroy DDS", "reference"=>"Marlin Murphy", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7890300'), "author_name"=>"Ida Orn", "content"=>["Praesentium reprehenderit ut unde. Est ut similique ad. Consequuntur et nihil aut iusto eaque voluptatem. Quibusdam maxime est et velit sed."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b78a0300'), "author_name"=>"Joany Shields", "content"=>["Iste adipisci cumque omnis aut. Eaque rerum sequi consequatur non voluptatem. Exercitationem ut eveniet optio. Commodi voluptas cupiditate ea officia dolor incidunt omnis. Dolor voluptatem omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8ece77353306b78b0300", "comment_id"=>"53df8ece77353306b7890300", "id"=>"53df8ece77353306b78a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b78b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b78e0300'), "name"=>"Ms. Colin Daugherty", "reference"=>"Cassie Bode", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b78c0300'), "author_name"=>"Raymond Howe", "content"=>["Consequatur quia ipsum et incidunt. Laudantium aspernatur porro. Ut et sed soluta. Voluptate quia sit fugit dolores quaerat. Accusantium libero consequuntur consequatur nisi ut porro."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b78d0300'), "author_name"=>"Jonathon Mann", "content"=>["Quaerat quae est dolorum quia hic. Numquam eum eos porro ducimus praesentium excepturi. Laudantium deleniti magni sit natus cumque amet nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8ece77353306b78e0300", "comment_id"=>"53df8ece77353306b78c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b78e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7910300'), "name"=>"Jada Weissnat DDS", "reference"=>"Derick O'Conner", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b78f0300'), "author_name"=>"Nayeli Schulist", "content"=>["Quidem consequuntur occaecati incidunt dolorem voluptate quasi non. Alias dolorem tenetur. Maxime aliquid fugiat voluptatem odio autem. Et qui beatae fugit assumenda qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7900300'), "author_name"=>"Willa Pfeffer DVM", "content"=>["Et delectus iusto corporis consequuntur explicabo. Cupiditate eum amet sit vel ipsam iure voluptates. Porro praesentium autem omnis delectus suscipit officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8ece77353306b7910300", "comment_id"=>"53df8ece77353306b78f0300", "id"=>"53df8ece77353306b7900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7940300'), "name"=>"Pascale Metz IV", "reference"=>"Mason Harvey", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7920300'), "author_name"=>"Geovanni Koelpin", "content"=>["Temporibus sunt et mollitia. Incidunt qui tempore temporibus fugiat ab sequi. Necessitatibus sit exercitationem perferendis iste voluptas blanditiis. Veniam ratione impedit molestias repellendus et perferendis beatae. Et nulla accusamus occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('53df8ece77353306b7930300'), "author_name"=>"Ethelyn Mante V", "content"=>["Autem dolorum dolores. Occaecati amet enim voluptatem error et. Aut enim repudiandae dolorum commodi facere ab iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8ece77353306b7930300", "product_id"=>"53df8ece77353306b7940300", "comment_id"=>"53df8ece77353306b7920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ece77353306b7940300'), "comments._id"=>BSON::ObjectId('53df8ece77353306b7920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8ece77353306b7930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Redirected to http://test.host/products/53df8ece77353306b7940300/comments/53df8ece77353306b7920300/comments/53df8ece77353306b7930300 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('53df8ece77353306b7950300'), "firstname"=>"Amanda", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1605ms 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('53df8ece77353306b7960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Redirected to http://test.host/users/53df8ece77353306b7960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1768ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7970300'), "firstname"=>"Julien", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1450ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df8ece77353306b7970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ece77353306b7970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ece77353306b7970300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms 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.1387ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7980300'), "firstname"=>"Zetta", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8ece77353306b7980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ece77353306b7980300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2024ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b7990300'), "firstname"=>"Nova", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms 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.2770ms Completed 500 Internal Server Error in 8ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b79a0300'), "firstname"=>"Albin", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms 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.4ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b79b0300'), "firstname"=>"Isabel", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8ece77353306b79b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ece77353306b79b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ece77353306b79c0300'), "firstname"=>"Josefa", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8ece77353306b79c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ece77353306b79c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Unpermitted parameters: name Redirected to http://test.host/users/53df8ece77353306b79c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms 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.3930ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms 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.3366ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5606ms 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.3425ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797000000'), "firstname"=>"Eulalia", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5712ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1946ms 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('53df8ef77735330797010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms 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.2400ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797020000'), "firstname"=>"Johnathon", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df8ef77735330797020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef77735330797020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 50ms (Views: 49.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797030000'), "firstname"=>"Jamey", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797040000'), "firstname"=>"Flossie", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df8ef77735330797040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef77735330797040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797050000'), "firstname"=>"Lawson", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df8ef77735330797050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef77735330797050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms 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('53df8ef77735330797060000'), "name"=>"Ms. Beatrice Smith", "reference"=>"Eldridge Mayert", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef77735330797070000'), "author_name"=>"Charley Schultz", "content"=>["Eligendi ipsam quo adipisci praesentium aut quia blanditiis. Laudantium totam consequatur quos laboriosam. Iure saepe ducimus earum ab veritatis sit aut."]}]}] 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('53df8ef77735330797060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8ef77735330797060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ef77735330797080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms Redirected to http://test.host/admin/products/53df8ef77735330797060000/comments/53df8ef77735330797080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797090000'), "name"=>"Ms. Ashton Stokes", "reference"=>"Jace Zemlak", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef777353307970a0000'), "author_name"=>"Ross Swaniawski", "content"=>["Sit dolorem sapiente voluptatibus est culpa dolorem. Animi quo totam cupiditate velit nostrum. Illo voluptatem ut incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8ef77735330797090000", "id"=>"53df8ef777353307970a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797090000')} 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('53df8ef77735330797090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ef777353307970a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms Redirected to http://test.host/admin/products/53df8ef77735330797090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307970b0000'), "name"=>"Efrain Keebler", "reference"=>"Deion Hamill", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef777353307970c0000'), "author_name"=>"Golda Marks", "content"=>["Sunt ullam commodi. Rerum quas qui et. Rem quo et officia. Consequatur minima tenetur distinctio quam atque sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df8ef777353307970b0000", "id"=>"53df8ef777353307970c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307970b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307970d0000'), "name"=>"Jackie Mayer MD", "reference"=>"Eileen Hudson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef777353307970e0000'), "author_name"=>"Agustin Glover", "content"=>["Sunt molestiae sed sapiente omnis ea. Molestiae aut eum vel earum. Inventore sit hic. Qui qui dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df8ef777353307970d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307970d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307970f0000'), "name"=>"Miss Madeline Wiza", "reference"=>"Marge Douglas", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef77735330797100000'), "author_name"=>"Bernita Graham", "content"=>["Exercitationem repellendus maiores culpa. Unde et alias. Dignissimos error ea harum ducimus omnis odit. Nulla similique est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df8ef777353307970f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307970f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797110000'), "name"=>"Raul O'Connell MD", "reference"=>"Mrs. Carolina Daugherty", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef77735330797120000'), "author_name"=>"Torey Ortiz", "content"=>["Eveniet enim est expedita aliquid. Officiis velit temporibus. Beatae debitis mollitia eos nihil incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df8ef77735330797110000", "id"=>"53df8ef77735330797120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797130000'), "name"=>"Urban Altenwerth", "reference"=>"Isaias Prosacco V", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef77735330797140000'), "author_name"=>"Dean Boehm", "content"=>["Qui aspernatur beatae ut. Facilis nisi molestiae dolorum quia eveniet suscipit. Et quo sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8ef77735330797140000", "product_id"=>"53df8ef77735330797130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797130000')} 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('53df8ef77735330797130000'), "comments._id"=>BSON::ObjectId('53df8ef77735330797140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Redirected to http://test.host/admin/products/53df8ef77735330797130000/comments/53df8ef77735330797140000 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('53df8ef77735330797150000'), "name"=>"Vaughn Keebler", "reference"=>"Susanna Barrows", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53df8ef77735330797160000'), "firstname"=>"Antonio", "lastname"=>"McClure"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8ef77735330797150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8ef77735330797170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms Redirected to http://test.host/admin/products/53df8ef77735330797150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797180000'), "name"=>"Dr. Lottie Pouros", "reference"=>"Urban Ankunding", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53df8ef77735330797190000'), "firstname"=>"Pearlie", "lastname"=>"Bahringer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df8ef77735330797190000", "product_id"=>"53df8ef77735330797180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307971a0000'), "name"=>"Therese Reilly", "reference"=>"Doris Bechtelar", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8ef777353307971b0000'), "firstname"=>"Schuyler", "lastname"=>"Hilpert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df8ef777353307971a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307971a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307971c0000'), "name"=>"Alda Boyle", "reference"=>"Eloise Halvorson", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df8ef777353307971d0000'), "firstname"=>"Ethyl", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df8ef777353307971d0000", "product_id"=>"53df8ef777353307971c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307971c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef777353307971e0000'), "name"=>"Guido Carter", "reference"=>"Louvenia Marvin Jr.", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53df8ef777353307971f0000'), "firstname"=>"Alf", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df8ef777353307971f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8ef777353307971e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef777353307971e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df8ef777353307971e0000/manager 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('53df8ef77735330797200000'), "name"=>"Reagan Hauck", "reference"=>"Felipe Denesik", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms 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('53df8ef77735330797210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms Redirected to http://test.host/admin/products/53df8ef77735330797210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797220000'), "name"=>"Dr. Lela Kuphal", "reference"=>"Juliet Christiansen", "quantity"=>"8"}] 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.1590ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df8ef77735330797220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3067ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms 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.1551ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797230000'), "name"=>"Jamey Keeling PhD", "reference"=>"Rickie Christiansen", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df8ef77735330797230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797240000'), "name"=>"Mr. Cecile Walsh", "reference"=>"Brady Pollich", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms 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.5021ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797250000'), "name"=>"Constance Thiel", "reference"=>"Blair Hodkiewicz DDS", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797280000'), "name"=>"Mr. Jadyn Walter", "reference"=>"Destin Harvey", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df8ef77735330797280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms 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('53df8ef77735330797290000'), "name"=>"Jaquan Maggio", "reference"=>"Ruthie Jakubowski", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8ef77735330797290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef77735330797290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms Redirected to http://test.host/admin/products/53df8ef77735330797290000 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('53df8ef777353307972a0000'), "firstname"=>"Fidel", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1308ms 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('53df8ef777353307972b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms Redirected to http://test.host/admin/users/53df8ef777353307972b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1578ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ef777353307972c0000'), "firstname"=>"Ted", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1490ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df8ef777353307972c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ef777353307972c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ef777353307972c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms 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.1375ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ef777353307972d0000'), "firstname"=>"Wyatt", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df8ef777353307972d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ef777353307972d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ef777353307972e0000'), "firstname"=>"Keshaun", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms 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.2815ms 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('53df8ef777353307972f0000'), "firstname"=>"Orie", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797300000'), "firstname"=>"Chesley", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df8ef77735330797300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ef77735330797300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797310000'), "firstname"=>"Douglas", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8ef77735330797310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8ef77735330797310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df8ef77735330797310000 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('53df8ef77735330797320000'), "firstname"=>"Dan", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1615ms 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('53df8ef77735330797330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6406ms Redirected to http://test.host/administrator Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2799ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef77735330797340000'), "firstname"=>"Jerald", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df8ef77735330797340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef77735330797340000')} 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: 6.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797350000'), "firstname"=>"Kip", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797360000'), "firstname"=>"Ryleigh", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df8ef87735330797360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef87735330797360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797370000'), "firstname"=>"Dorothea", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df8ef87735330797370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df8ef87735330797370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797380000'), "name"=>"Janiya Feeney"}] 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={"category_id"=>BSON::ObjectId('53df8ef87735330797380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797390000'), "name"=>"Mrs. Jamie Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973a0000'), "name"=>"Baylee Ferry V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973b0000'), "name"=>"Miss Heber Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973c0000'), "name"=>"Charlotte Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973d0000'), "name"=>"Judd Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973e0000'), "name"=>"Hipolito Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973f0000'), "name"=>"Jacquelyn O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797400000'), "name"=>"Branson Hahn MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797410000'), "name"=>"Cassandre Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797420000'), "name"=>"Theron Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797430000'), "name"=>"Margie Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797440000'), "name"=>"Rogers Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797450000'), "name"=>"Bailee Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797460000'), "name"=>"Mckenzie Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797470000'), "name"=>"Sadie Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797480000'), "name"=>"Dorian Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797490000'), "name"=>"Timothy Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974a0000'), "name"=>"Mr. Velda Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974b0000'), "name"=>"Ciara Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974c0000'), "name"=>"Mr. Maurice Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974d0000'), "name"=>"Bette Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974e0000'), "name"=>"Marjolaine Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974f0000'), "name"=>"Trever Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797500000'), "name"=>"Ottilie Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797510000'), "name"=>"Mervin Mertz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797520000'), "name"=>"Gaetano Herman II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797530000'), "name"=>"Mozelle Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797540000'), "name"=>"Miss Modesto Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797550000'), "name"=>"Kareem Kris PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797560000'), "name"=>"Alexys Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797570000'), "name"=>"Phoebe Ritchie IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797580000'), "name"=>"Oceane Stark IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797590000'), "name"=>"Janis Jones PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975a0000'), "name"=>"Mose Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975b0000'), "name"=>"Jeramie Brown V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975c0000'), "name"=>"Avery Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975d0000'), "name"=>"Hector Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975e0000'), "name"=>"Josie Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975f0000'), "name"=>"Levi Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797600000'), "name"=>"Brian Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797610000'), "name"=>"Kendall Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797620000'), "name"=>"Jennifer Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797630000'), "name"=>"Edmund Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797640000'), "name"=>"Electa D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797650000'), "name"=>"Dr. Nick Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797660000'), "name"=>"Darlene Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797670000'), "name"=>"Damon Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797680000'), "name"=>"Art Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797690000'), "name"=>"Logan Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976a0000'), "name"=>"Nayeli Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976b0000'), "name"=>"Abe Jenkins PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976c0000'), "name"=>"Rene Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976d0000'), "name"=>"Estella McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976e0000'), "name"=>"Melissa Morissette IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976f0000'), "name"=>"Trevor Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797700000'), "name"=>"Columbus Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797710000'), "name"=>"Bernadine Hauck I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797720000'), "name"=>"Deonte Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797730000'), "name"=>"Mr. Oleta Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797740000'), "name"=>"Dr. Theresa Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797750000'), "name"=>"Benjamin Beatty Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797760000'), "name"=>"Favian Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797770000'), "name"=>"Layla Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797780000'), "name"=>"Keyon Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797790000'), "name"=>"Dr. Bill Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977a0000'), "name"=>"Dr. Emely Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977b0000'), "name"=>"Darrick Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977c0000'), "name"=>"Bonnie Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977d0000'), "name"=>"Lexi Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977e0000'), "name"=>"Wyatt Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977f0000'), "name"=>"Athena Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797800000'), "name"=>"Ms. Jewell Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797810000'), "name"=>"Jaylen Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797820000'), "name"=>"Vivienne Kemmer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797830000'), "name"=>"Richie Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797840000'), "name"=>"Ms. Oleta Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797850000'), "name"=>"Miss Astrid Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797860000'), "name"=>"Katelin Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797870000'), "name"=>"Mariana Lynch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797880000'), "name"=>"Alva Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797890000'), "name"=>"Ethan Koepp III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978a0000'), "name"=>"Ms. Lexi Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978b0000'), "name"=>"Myrtis Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978c0000'), "name"=>"Letitia Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978d0000'), "name"=>"Gayle Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978e0000'), "name"=>"Janessa Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978f0000'), "name"=>"Ms. Jerald Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797900000'), "name"=>"Jarrod Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797910000'), "name"=>"Ben Lebsack PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797920000'), "name"=>"Kiel D'Amore MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 38.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797930000'), "name"=>"Sigurd Ondricka MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797940000'), "name"=>"Reginald Bayer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797950000'), "name"=>"Alexa Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797960000'), "name"=>"Brooke Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797970000'), "name"=>"Hudson Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1611ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms Redirected to http://test.host/categories/53df8ef87735330797980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1756ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797990000'), "name"=>"Fern Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979a0000'), "name"=>"Mariam Tremblay IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979b0000'), "name"=>"Cleta Doyle MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979c0000'), "name"=>"Trycia Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979d0000'), "name"=>"Jonatan Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979e0000'), "name"=>"Hector Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979f0000'), "name"=>"Demetrius Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a00000'), "name"=>"Marilou Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a10000'), "name"=>"Miss Keshaun Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a20000'), "name"=>"Cecilia Satterfield IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a30000'), "name"=>"Alexandria Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a40000'), "name"=>"Olga Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a50000'), "name"=>"Ken Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a60000'), "name"=>"Gardner Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a70000'), "name"=>"Boyd Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a80000'), "name"=>"Dr. Mae Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a90000'), "name"=>"Rhett Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797aa0000'), "name"=>"Richard Wunsch PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ab0000'), "name"=>"Miss Helmer Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ac0000'), "name"=>"Tristian Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ad0000'), "name"=>"Cynthia Hermiston MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ae0000'), "name"=>"Miss Lyla Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797af0000'), "name"=>"Ms. Luz Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b00000'), "name"=>"Rafaela Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b10000'), "name"=>"Erwin Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b20000'), "name"=>"Michelle Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b30000'), "name"=>"Katherine Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b40000'), "name"=>"Kacey Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b50000'), "name"=>"Alia Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b60000'), "name"=>"August Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b70000'), "name"=>"Laury Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b80000'), "name"=>"Bradford Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b90000'), "name"=>"Julius Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ba0000'), "name"=>"Price Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bb0000'), "name"=>"Mr. Efrain Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bc0000'), "name"=>"Lora Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bd0000'), "name"=>"Terry Kuhic V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797be0000'), "name"=>"Mrs. Chasity Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bf0000'), "name"=>"Lowell Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c00000'), "name"=>"Miss Delfina O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c10000'), "name"=>"Jillian Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c20000'), "name"=>"Ms. Leilani Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c30000'), "name"=>"Amir Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c40000'), "name"=>"Francesca Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c50000'), "name"=>"Garret Heathcote Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c60000'), "name"=>"Frida Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c70000'), "name"=>"Leila Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c80000'), "name"=>"Ms. Julie Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c90000'), "name"=>"Lia Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ca0000'), "name"=>"Modesta Hermann PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cb0000'), "name"=>"Dr. Terrill Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cc0000'), "name"=>"Evan Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cd0000'), "name"=>"Maritza Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ce0000'), "name"=>"Jordane Anderson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cf0000'), "name"=>"Alexis Berge DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d00000'), "name"=>"Dr. Christophe Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d10000'), "name"=>"Brenden Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d20000'), "name"=>"Antwan Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d30000'), "name"=>"Lincoln Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d40000'), "name"=>"Alexandria Jerde DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d50000'), "name"=>"Loyce Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d60000'), "name"=>"Ruben Bradtke Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d70000'), "name"=>"Benton Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d80000'), "name"=>"Miss Arnulfo Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d90000'), "name"=>"Herminia Feeney I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797da0000'), "name"=>"Gerard Rolfson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797da0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797db0000'), "name"=>"Harmon Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797dc0000'), "name"=>"Trevion Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797dc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797dd0000'), "name"=>"Arnaldo Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797de0000'), "name"=>"Renee Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797df0000'), "name"=>"Mikayla Hauck Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e00000'), "name"=>"Jazlyn Kuvalis DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e10000'), "name"=>"Mrs. Forest Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e20000'), "name"=>"Eugene Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e30000'), "name"=>"Mr. Sigrid Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e40000'), "name"=>"Blaise Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e50000'), "name"=>"Mr. Nels Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e60000'), "name"=>"Wilma Weissnat DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e70000'), "name"=>"Hudson Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e80000'), "name"=>"Joan Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e90000'), "name"=>"Amya Gerlach V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ea0000'), "name"=>"Mrs. Erica Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797eb0000'), "name"=>"Mr. Keegan Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ec0000'), "name"=>"Bryana Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ed0000'), "name"=>"Terrell McGlynn I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ed0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ee0000'), "name"=>"Ronny Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ef0000'), "name"=>"Laurianne Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f00000'), "name"=>"Willie McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f10000'), "name"=>"Mrs. Javonte Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f20000'), "name"=>"Gage Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f30000'), "name"=>"Ulices Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f40000'), "name"=>"Johathan VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f50000'), "name"=>"Rodolfo Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f60000'), "name"=>"Celestino Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f70000'), "name"=>"Guiseppe Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f80000'), "name"=>"Caterina Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1644ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df8ef87735330797990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef87735330797990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef87735330797990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1776ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f90000'), "name"=>"Edyth Lind DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fa0000'), "name"=>"Amparo Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fb0000'), "name"=>"Nils Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fc0000'), "name"=>"Devon Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fd0000'), "name"=>"Annamae Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fe0000'), "name"=>"Lottie Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ff0000'), "name"=>"Leonora Schowalter Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797000100'), "name"=>"Ressie Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797000100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797010100'), "name"=>"Kasey Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797020100'), "name"=>"Taurean Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797030100'), "name"=>"Mr. Maureen Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797030100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797040100'), "name"=>"Rebecca Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797050100'), "name"=>"Ms. Billie Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797060100'), "name"=>"Jacky Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797060100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797070100'), "name"=>"Haskell Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797080100'), "name"=>"Mr. Clark Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797090100'), "name"=>"Geovany Eichmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970a0100'), "name"=>"Edyth Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970b0100'), "name"=>"Wendell Nikolaus II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970c0100'), "name"=>"Millie Schaefer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970d0100'), "name"=>"Meaghan Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970e0100'), "name"=>"Miss Aida Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970f0100'), "name"=>"Urban Prohaska I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797100100'), "name"=>"Merritt Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797110100'), "name"=>"Miss Gudrun Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797120100'), "name"=>"Ms. Ivy Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797130100'), "name"=>"Eulalia Gaylord PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797130100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797140100'), "name"=>"Ms. Ahmed Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797150100'), "name"=>"Mrs. Aaliyah Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797160100'), "name"=>"Korbin Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797170100'), "name"=>"Carroll Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797170100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797180100'), "name"=>"Yadira Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797180100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797190100'), "name"=>"Easter McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971a0100'), "name"=>"Tyree Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971b0100'), "name"=>"Miss Zachariah Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971c0100'), "name"=>"Lily Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971d0100'), "name"=>"Tyree Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971e0100'), "name"=>"Dr. Reanna Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971f0100'), "name"=>"Madaline Bednar Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797200100'), "name"=>"Mr. Ayden Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797200100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797210100'), "name"=>"Jadyn Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797210100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797220100'), "name"=>"Marisa Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797220100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797230100'), "name"=>"Miss Krystina Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797230100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797240100'), "name"=>"Gino Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797240100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797250100'), "name"=>"Stuart Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797250100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797260100'), "name"=>"Dominique Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797260100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797270100'), "name"=>"Mr. Gisselle Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797270100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797280100'), "name"=>"Leonie Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797280100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797290100'), "name"=>"Silas Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797290100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972a0100'), "name"=>"Fay Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972b0100'), "name"=>"Arely Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972c0100'), "name"=>"Ms. Makenna Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972d0100'), "name"=>"Juliana Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972e0100'), "name"=>"Murray Klein II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972f0100'), "name"=>"Weldon Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797300100'), "name"=>"Jamir Haley DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797300100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797310100'), "name"=>"Robyn Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797310100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797320100'), "name"=>"Morris Lind PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797320100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797330100'), "name"=>"Sherwood Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797330100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797340100'), "name"=>"Imani Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797340100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797350100'), "name"=>"Miss Fredy Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797350100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797360100'), "name"=>"Emma Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797360100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797370100'), "name"=>"Julio Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797370100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797380100'), "name"=>"Vern Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797380100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797390100'), "name"=>"Andreanne Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797390100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973a0100'), "name"=>"Dr. Sabryna Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973b0100'), "name"=>"Ms. Lucie Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973c0100'), "name"=>"Jameson Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973d0100'), "name"=>"Addie Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973e0100'), "name"=>"Stacey Hoeger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307973f0100'), "name"=>"Myah Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307973f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797400100'), "name"=>"Eriberto McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797400100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797410100'), "name"=>"Margarete Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797410100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797420100'), "name"=>"Lorine Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797420100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797430100'), "name"=>"Esta Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797430100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797440100'), "name"=>"Jeanie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797440100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797450100'), "name"=>"Isabella Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797450100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797460100'), "name"=>"Helene McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797460100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797470100'), "name"=>"Dr. Kaley Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797470100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797480100'), "name"=>"Miss Reyna Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797480100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797490100'), "name"=>"Miss Julien Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797490100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974a0100'), "name"=>"Leonardo Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974b0100'), "name"=>"Ms. Henri Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974c0100'), "name"=>"Kaylin Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974d0100'), "name"=>"Mr. Duane Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974e0100'), "name"=>"Gregg Schmeler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307974f0100'), "name"=>"Syble Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307974f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797500100'), "name"=>"Lois Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797500100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797510100'), "name"=>"Buck Lockman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797510100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797520100'), "name"=>"Miss Adaline Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797520100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797530100'), "name"=>"Madeline Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797530100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797540100'), "name"=>"Kristian Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797540100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797550100'), "name"=>"Abdiel Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797550100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797560100'), "name"=>"Dr. Davonte Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797560100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797570100'), "name"=>"Ms. Vernie Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797570100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797580100'), "name"=>"Mr. Jane Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797580100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df8ef87735330797f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef87735330797f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (31.5ms) Completed 200 OK in 36ms (Views: 35.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797590100'), "name"=>"Loren Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797590100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975a0100'), "name"=>"Lilyan Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975b0100'), "name"=>"Miss Tyree Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975c0100'), "name"=>"Ms. Kianna Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975d0100'), "name"=>"Daniella McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975e0100'), "name"=>"Alicia Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307975f0100'), "name"=>"Franz Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307975f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797600100'), "name"=>"Ole Osinski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797600100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797610100'), "name"=>"Orville Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797610100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797620100'), "name"=>"Thomas Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797620100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797630100'), "name"=>"Russel Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797630100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797640100'), "name"=>"Marlin Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797640100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797650100'), "name"=>"Jeanie Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797650100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797660100'), "name"=>"Coby Beahan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797660100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797670100'), "name"=>"Emmett Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797670100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797680100'), "name"=>"Monica Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797680100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797690100'), "name"=>"Priscilla Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797690100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976a0100'), "name"=>"Lolita Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976b0100'), "name"=>"Angelita Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976c0100'), "name"=>"Shanie Berge DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976d0100'), "name"=>"Gina Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976e0100'), "name"=>"Manuel Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307976f0100'), "name"=>"Waldo Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307976f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797700100'), "name"=>"Justus Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797700100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797710100'), "name"=>"Lottie Durgan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797710100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797720100'), "name"=>"Bridgette Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797720100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797730100'), "name"=>"General Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797730100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797740100'), "name"=>"Marc Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797740100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797750100'), "name"=>"Jude Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797750100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797760100'), "name"=>"Frankie Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797760100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797770100'), "name"=>"Elouise Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797770100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797780100'), "name"=>"Sigrid Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797780100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797790100'), "name"=>"Noemi Bergnaum III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797790100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977a0100'), "name"=>"Mr. Mona Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977b0100'), "name"=>"Rachael Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977c0100'), "name"=>"Caleigh Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977d0100'), "name"=>"Maybell Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977e0100'), "name"=>"Treva Buckridge Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307977f0100'), "name"=>"Lelah Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307977f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797800100'), "name"=>"Mr. Katelyn Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797800100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797810100'), "name"=>"Jay Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797810100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797820100'), "name"=>"Flavio Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797820100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797830100'), "name"=>"Bud Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797830100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797840100'), "name"=>"Ms. Junior Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797840100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797850100'), "name"=>"Adaline Wilkinson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797850100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797860100'), "name"=>"Miss Bettye Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797860100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797870100'), "name"=>"Bridget Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797870100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797880100'), "name"=>"Miss Effie Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797880100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797890100'), "name"=>"Mr. Jayson Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797890100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978a0100'), "name"=>"Antonette Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978b0100'), "name"=>"Shannon O'Reilly Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978c0100'), "name"=>"Ms. Mackenzie Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978d0100'), "name"=>"Harrison Breitenberg III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978e0100'), "name"=>"Ahmed Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307978f0100'), "name"=>"Lindsay O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307978f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797900100'), "name"=>"Reyes Leffler PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797900100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797910100'), "name"=>"May Marks MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797910100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797920100'), "name"=>"Camilla Flatley DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797920100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797930100'), "name"=>"Mrs. Stacy Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797930100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797940100'), "name"=>"Mylene Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797940100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797950100'), "name"=>"Karine Sporer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797950100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797960100'), "name"=>"Lorenz Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797960100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797970100'), "name"=>"Adam Legros IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797970100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797980100'), "name"=>"Leila Hane IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797980100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797990100'), "name"=>"Paolo Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797990100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979a0100'), "name"=>"Erin Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979b0100'), "name"=>"Kenny Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979c0100'), "name"=>"Mr. Alberto Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979d0100'), "name"=>"Miss Bret Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979d0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979e0100'), "name"=>"Edwardo Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307979f0100'), "name"=>"Mrs. Saul Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307979f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a00100'), "name"=>"Margaret Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a10100'), "name"=>"Brayan Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a20100'), "name"=>"Adah Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a30100'), "name"=>"Darion Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a40100'), "name"=>"Elisha Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a50100'), "name"=>"Joy Pfeffer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a60100'), "name"=>"Miss Cara Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a70100'), "name"=>"Catalina Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a80100'), "name"=>"Cecilia Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797a90100'), "name"=>"Andre Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797a90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797aa0100'), "name"=>"Mrs. Blaise Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797aa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ab0100'), "name"=>"Fanny Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ab0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ac0100'), "name"=>"Tremayne VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ac0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ad0100'), "name"=>"Al Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ad0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ae0100'), "name"=>"Leonora Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ae0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797af0100'), "name"=>"Dr. Mae Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797af0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b00100'), "name"=>"Lloyd Volkman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b10100'), "name"=>"Stone Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b20100'), "name"=>"Edgar Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b30100'), "name"=>"Mrs. Mozell Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b40100'), "name"=>"Charlotte Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b50100'), "name"=>"Thelma Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b60100'), "name"=>"Dr. Maximillian O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b70100'), "name"=>"Cordie Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b80100'), "name"=>"Sterling Carroll DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366069337506] runtime: 0.0887ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1749ms Completed 200 OK in 17ms (Views: 16.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797b90100'), "name"=>"Miss Candelario Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797b90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ba0100'), "name"=>"Anastasia Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ba0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bb0100'), "name"=>"Trever Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bc0100'), "name"=>"Miss Veda Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bd0100'), "name"=>"Kane Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797be0100'), "name"=>"Marcia Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797be0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797bf0100'), "name"=>"Reginald Waters IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797bf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c00100'), "name"=>"Miss Jedediah Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c10100'), "name"=>"Eunice Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c20100'), "name"=>"Beth Nienow II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c30100'), "name"=>"Blake Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c40100'), "name"=>"Roberta Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c50100'), "name"=>"Mrs. Aimee Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c60100'), "name"=>"Miss Piper Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c70100'), "name"=>"Lorna Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c80100'), "name"=>"Lenna Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797c90100'), "name"=>"Wilber Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797c90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ca0100'), "name"=>"Hortense Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ca0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cb0100'), "name"=>"Kari Dach PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cc0100'), "name"=>"Uriel Considine Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cd0100'), "name"=>"Brock Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ce0100'), "name"=>"Burdette Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ce0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797cf0100'), "name"=>"Elisa Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797cf0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d00100'), "name"=>"Bennett Morar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d10100'), "name"=>"Katherine Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d20100'), "name"=>"Miss Tomas McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d30100'), "name"=>"Isabell Armstrong III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d40100'), "name"=>"Norma Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d50100'), "name"=>"Mrs. Lon Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d60100'), "name"=>"Evan Wyman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d70100'), "name"=>"Markus Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d80100'), "name"=>"Yoshiko Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797d90100'), "name"=>"Dameon Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797d90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797da0100'), "name"=>"Anibal Davis II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797da0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797db0100'), "name"=>"Jerel Stehr II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797db0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797dc0100'), "name"=>"Dr. Arnulfo Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797dc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797dd0100'), "name"=>"Nichole Kunde Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797dd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797de0100'), "name"=>"Dr. Wilburn Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797de0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797df0100'), "name"=>"Brandon Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797df0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e00100'), "name"=>"Gavin Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e10100'), "name"=>"Derrick Nader Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e20100'), "name"=>"Ryleigh Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e30100'), "name"=>"Arthur Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e40100'), "name"=>"Clementina Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e50100'), "name"=>"Nicolas Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e60100'), "name"=>"Ansley Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e70100'), "name"=>"Raquel Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e80100'), "name"=>"Elliott Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797e90100'), "name"=>"Brittany Murray III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797e90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ea0100'), "name"=>"Evangeline Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ea0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797eb0100'), "name"=>"Mortimer Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797eb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ec0100'), "name"=>"Helena Tremblay V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ec0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ed0100'), "name"=>"Glenda Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ed0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ee0100'), "name"=>"Lelia Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ee0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ef0100'), "name"=>"Blanca Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ef0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f00100'), "name"=>"Nicola Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f00100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f10100'), "name"=>"Trisha Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f10100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f20100'), "name"=>"Mr. Bradley Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f20100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f30100'), "name"=>"Amira Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f30100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f40100'), "name"=>"Luella Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f40100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f50100'), "name"=>"Miss Russ Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f50100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f60100'), "name"=>"Keon Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f60100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f70100'), "name"=>"Anthony Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f70100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f80100'), "name"=>"Arlie Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f80100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797f90100'), "name"=>"Keanu Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797f90100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fa0100'), "name"=>"Beverly Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fa0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fb0100'), "name"=>"Ford Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fb0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fc0100'), "name"=>"Loy Green PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fc0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fd0100'), "name"=>"Mrs. Sterling Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fd0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797fe0100'), "name"=>"Myles Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797fe0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797ff0100'), "name"=>"Moses Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797ff0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797000200'), "name"=>"Manuela Johnson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797000200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797010200'), "name"=>"Jeremie Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797010200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797020200'), "name"=>"Gia Marks DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797020200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797030200'), "name"=>"Elouise Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797030200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797040200'), "name"=>"Mrs. Oran Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797040200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797050200'), "name"=>"Aubrey Cormier DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797050200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797060200'), "name"=>"Frederique Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797060200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797070200'), "name"=>"Martine Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797070200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797080200'), "name"=>"Mr. Mitchell Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797080200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797090200'), "name"=>"Ms. Dion Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797090200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970a0200'), "name"=>"Bertrand Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970b0200'), "name"=>"Estella McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970c0200'), "name"=>"Braxton Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970d0200'), "name"=>"Austen Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970e0200'), "name"=>"Mr. Lauren Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307970f0200'), "name"=>"Hildegard Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307970f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797100200'), "name"=>"Erica Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797100200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797110200'), "name"=>"Cindy Thompson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797110200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797120200'), "name"=>"Mrs. Sophie Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797120200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797130200'), "name"=>"Grant Beahan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797130200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797140200'), "name"=>"Dr. Sierra Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797140200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797150200'), "name"=>"Akeem White DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797150200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797160200'), "name"=>"Dr. Willie Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797160200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797170200'), "name"=>"Hermina Krajcik PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797170200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797180200'), "name"=>"Cristopher Aufderhar DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797180200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[367144942611] runtime: 0.0719ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1917ms Completed 200 OK in 14ms (Views: 13.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797190200'), "name"=>"Camille Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797190200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971a0200'), "name"=>"Kacey Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971b0200'), "name"=>"Glenda Bailey III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971c0200'), "name"=>"Neil Brekke V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971d0200'), "name"=>"Chandler Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971e0200'), "name"=>"Iliana Thiel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307971f0200'), "name"=>"Darby Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307971f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797200200'), "name"=>"Chanel Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797200200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797210200'), "name"=>"Ashton Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797210200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797220200'), "name"=>"Hailie Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797220200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797230200'), "name"=>"Rhea Weber MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797230200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797240200'), "name"=>"Miss Adeline Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797240200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797250200'), "name"=>"Mallory Roberts Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797250200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797260200'), "name"=>"Mrs. Ludie Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797260200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797270200'), "name"=>"Brenda Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797270200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797280200'), "name"=>"Reid Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797280200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797290200'), "name"=>"Corine Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797290200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972a0200'), "name"=>"Nikko Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972b0200'), "name"=>"Ena Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972c0200'), "name"=>"Bertha Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972d0200'), "name"=>"Donnie Kovacek IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972e0200'), "name"=>"Adaline Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef877353307972f0200'), "name"=>"Marc Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef877353307972f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797300200'), "name"=>"Rickey Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797300200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797310200'), "name"=>"Ismael Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797310200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797320200'), "name"=>"Ezra Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797320200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797330200'), "name"=>"Darren Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797330200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797340200'), "name"=>"Tanya Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797340200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef87735330797350200'), "name"=>"Marlon Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.9662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef87735330797350200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797360200'), "name"=>"Darien Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797360200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797370200'), "name"=>"Ophelia Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797370200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797380200'), "name"=>"Alfredo Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797380200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797390200'), "name"=>"Ebba Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797390200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973a0200'), "name"=>"Dimitri Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973b0200'), "name"=>"Aubree Walter II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973c0200'), "name"=>"Loy Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973d0200'), "name"=>"Nia McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973e0200'), "name"=>"Jedediah Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973f0200'), "name"=>"Mohamed Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307973f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797400200'), "name"=>"Lina Sanford DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797400200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797410200'), "name"=>"Mr. Lizeth Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797410200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797420200'), "name"=>"Kasandra Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797420200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797430200'), "name"=>"Mrs. Ima Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797430200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797440200'), "name"=>"Elsa Hoppe II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797440200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797450200'), "name"=>"Sandy Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797450200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797460200'), "name"=>"Kyla Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797460200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797470200'), "name"=>"Mrs. Althea Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797470200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797480200'), "name"=>"Brisa Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797480200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797490200'), "name"=>"Guadalupe Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797490200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974a0200'), "name"=>"Chase Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974b0200'), "name"=>"Milo Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974c0200'), "name"=>"Mrs. Dayton Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974d0200'), "name"=>"Itzel Doyle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974e0200'), "name"=>"Teagan Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974f0200'), "name"=>"Marlee Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307974f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797500200'), "name"=>"Mattie Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797500200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797510200'), "name"=>"Mossie Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797510200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797520200'), "name"=>"Catharine Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797520200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797530200'), "name"=>"Lafayette Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797530200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797540200'), "name"=>"Barry Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797540200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797550200'), "name"=>"Lelia Klocko I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797550200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797560200'), "name"=>"Alena Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797560200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797570200'), "name"=>"Orie Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797570200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797580200'), "name"=>"Archibald Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797580200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797590200'), "name"=>"Mr. Derrick Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797590200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975a0200'), "name"=>"Jess Wintheiser Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975b0200'), "name"=>"Felipa Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975c0200'), "name"=>"Mr. Brycen Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975d0200'), "name"=>"Roma Beahan V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975e0200'), "name"=>"Mozelle Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307975f0200'), "name"=>"Archibald Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307975f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797600200'), "name"=>"Emmy Emmerich IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797600200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797610200'), "name"=>"Ms. Mellie Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797610200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797620200'), "name"=>"Delmer Buckridge V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797620200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797630200'), "name"=>"Keeley Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797630200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797640200'), "name"=>"Otilia Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797640200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797650200'), "name"=>"Domenick Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797650200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797660200'), "name"=>"Dortha Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797660200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797670200'), "name"=>"Jannie Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797670200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797680200'), "name"=>"Miss Josiah Hills"}] 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={"category_id"=>BSON::ObjectId('53df8ef97735330797680200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797690200'), "name"=>"Russel Goyette PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797690200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976a0200'), "name"=>"Esther Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976b0200'), "name"=>"Owen Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976c0200'), "name"=>"Lewis Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976d0200'), "name"=>"Syble King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976e0200'), "name"=>"Kurtis Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976f0200'), "name"=>"Modesta Parisian DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307976f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797700200'), "name"=>"Bertrand O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797700200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797710200'), "name"=>"Edwina Effertz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797710200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797720200'), "name"=>"Ms. Linnea Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797720200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797730200'), "name"=>"Mrs. Kylee Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797730200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797740200'), "name"=>"Ashlynn Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797740200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797750200'), "name"=>"Fausto Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797750200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797760200'), "name"=>"Manuel Kling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797760200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797770200'), "name"=>"Leilani Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797770200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797780200'), "name"=>"Lucile Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797780200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797790200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977a0200'), "name"=>"Bonnie Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977b0200'), "name"=>"Dr. Ardith Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977c0200'), "name"=>"Cornell Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977d0200'), "name"=>"Marcelina Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977e0200'), "name"=>"Bethany Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307977f0200'), "name"=>"Edmond Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797800200'), "name"=>"Saul Bradtke III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797800200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797810200'), "name"=>"Dudley Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797810200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797820200'), "name"=>"Ms. Foster Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797820200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797830200'), "name"=>"Pauline O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797830200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797840200'), "name"=>"Jackeline Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797840200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797850200'), "name"=>"Agnes Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797850200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797860200'), "name"=>"Hudson Williamson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797860200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797870200'), "name"=>"Bartholome Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797870200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797880200'), "name"=>"Alexandrea Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797880200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797890200'), "name"=>"Mr. Josefina Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797890200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978a0200'), "name"=>"Jadon Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978b0200'), "name"=>"Stephen Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978c0200'), "name"=>"Joana Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978d0200'), "name"=>"Casimir Hessel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978e0200'), "name"=>"Cordia Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307978f0200'), "name"=>"Clay Swift Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307978f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797900200'), "name"=>"Dante Bode MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797900200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797910200'), "name"=>"Dr. Shayna Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797910200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797920200'), "name"=>"Miss Danika Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797920200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797930200'), "name"=>"Reba Labadie DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797930200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797940200'), "name"=>"Jany Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797940200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797950200'), "name"=>"Miss Caleigh Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797950200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797960200'), "name"=>"Alf Schiller III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797960200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797970200'), "name"=>"Mozelle Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797970200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797980200'), "name"=>"Dr. Rozella Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797980200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797990200'), "name"=>"Alexys Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797990200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979a0200'), "name"=>"Nia Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979b0200'), "name"=>"Suzanne Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979b0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979c0200'), "name"=>"Shaniya Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979c0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979d0200'), "name"=>"Dr. Jeramy Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979d0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979e0200'), "name"=>"Ryann Medhurst V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979e0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307979f0200'), "name"=>"Mr. Josie Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307979f0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a00200'), "name"=>"Jammie O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a10200'), "name"=>"Lyda Abshire II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a20200'), "name"=>"Dr. Zackery Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a30200'), "name"=>"Kamron Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a40200'), "name"=>"Heath Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a50200'), "name"=>"Mr. Hettie Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a60200'), "name"=>"Arthur Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a70200'), "name"=>"Miss Keyon Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a80200'), "name"=>"Filomena Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797a90200'), "name"=>"Dr. Cyrus Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797a90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797aa0200'), "name"=>"Arlie Klocko DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797aa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ab0200'), "name"=>"Kitty Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ab0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ac0200'), "name"=>"Tyshawn Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ac0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ad0200'), "name"=>"Llewellyn Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ad0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ae0200'), "name"=>"Samson Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ae0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797af0200'), "name"=>"Claudia Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797af0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b00200'), "name"=>"Leila Grady II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b10200'), "name"=>"Scarlett McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b20200'), "name"=>"Kacey Bernhard III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b30200'), "name"=>"Afton Bogisich IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b40200'), "name"=>"Heber O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b50200'), "name"=>"Godfrey Donnelly PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b60200'), "name"=>"General Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b70200'), "name"=>"Ezekiel Blanda III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b80200'), "name"=>"Charlene Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797b90200'), "name"=>"Madelynn Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797b90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ba0200'), "name"=>"Fernando Macejkovic DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ba0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797bb0200'), "name"=>"Claire Willms I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797bb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797bc0200'), "name"=>"Isabell Buckridge DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797bc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797bd0200'), "name"=>"Virgie Ondricka IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797bd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797be0200'), "name"=>"Marilyne Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797be0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797bf0200'), "name"=>"Ms. Marisa Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797bf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c00200'), "name"=>"Gunner Feest I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c10200'), "name"=>"Romaine Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c20200'), "name"=>"Cullen Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c30200'), "name"=>"Roman Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c40200'), "name"=>"Ms. Leta Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c50200'), "name"=>"Ms. Timmothy Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c60200'), "name"=>"Janelle Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c70200'), "name"=>"Mabel Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c80200'), "name"=>"Dr. Keenan Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797c90200'), "name"=>"Alessandro Nicolas IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797c90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ca0200'), "name"=>"Maximillian Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ca0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797cb0200'), "name"=>"Wilford Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797cb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797cc0200'), "name"=>"Rigoberto Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797cc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797cd0200'), "name"=>"Alexanne Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797cd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ce0200'), "name"=>"Gonzalo Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ce0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797cf0200'), "name"=>"Simeon Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797cf0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d00200'), "name"=>"Jaylan Morissette Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d10200'), "name"=>"Paris Lowe I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d20200'), "name"=>"Krystal Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d30200'), "name"=>"Mr. Bertram Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d40200'), "name"=>"Joana Dicki DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d50200'), "name"=>"Aglae Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d60200'), "name"=>"Alyson Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d70200'), "name"=>"Jesus Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d80200'), "name"=>"Jalen Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797d90200'), "name"=>"Uriel Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797d90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df8ef977353307977a0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef977353307977a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307977a0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1979ms Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797da0200'), "name"=>"Dagmar Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797db0200'), "name"=>"Vincent Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797db0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797dc0200'), "name"=>"Miss Theron Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797dc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797dd0200'), "name"=>"Candida Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797dd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797de0200'), "name"=>"Sherwood Ullrich DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797de0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797df0200'), "name"=>"Miss Ola Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797df0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e00200'), "name"=>"Noah Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e10200'), "name"=>"Miss Destinee Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e20200'), "name"=>"Rosario Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e30200'), "name"=>"Kristin Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e40200'), "name"=>"Will Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e50200'), "name"=>"Dewitt Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e60200'), "name"=>"Loyal Shanahan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e70200'), "name"=>"Benjamin Powlowski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e80200'), "name"=>"Theodore Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797e90200'), "name"=>"Marco Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797e90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ea0200'), "name"=>"Julianne Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ea0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797eb0200'), "name"=>"Aurelio Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797eb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ec0200'), "name"=>"Margarete Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ec0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ed0200'), "name"=>"Tania McClure PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ed0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ee0200'), "name"=>"Daron Daugherty MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ee0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ef0200'), "name"=>"Heaven Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ef0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f00200'), "name"=>"Archibald Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f00200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f10200'), "name"=>"Micheal Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f10200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f20200'), "name"=>"Earlene Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f20200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f30200'), "name"=>"Austen Carroll II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f30200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f40200'), "name"=>"Mrs. Thora Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f40200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f50200'), "name"=>"Mrs. Marina Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f50200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f60200'), "name"=>"Theodore Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f60200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f70200'), "name"=>"Jolie Fadel V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f70200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f80200'), "name"=>"Eugenia Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f80200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797f90200'), "name"=>"Edna Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797f90200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797fa0200'), "name"=>"Patsy Greenfelder DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797fa0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797fb0200'), "name"=>"Damon Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797fb0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797fc0200'), "name"=>"Ms. Neva Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797fc0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797fd0200'), "name"=>"Christelle Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797fd0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797fe0200'), "name"=>"Kayden Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797fe0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797ff0200'), "name"=>"Ashlynn Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797ff0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797000300'), "name"=>"Stephania Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797000300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797010300'), "name"=>"Ms. August Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797010300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797020300'), "name"=>"Verner Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797020300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797030300'), "name"=>"Nina Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797030300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797040300'), "name"=>"Mr. Jerel Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797040300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797050300'), "name"=>"Roberto Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797050300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797060300'), "name"=>"Rickey McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797060300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797070300'), "name"=>"Walton Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797070300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797080300'), "name"=>"Jordy Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797080300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797090300'), "name"=>"Bernadette Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797090300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970a0300'), "name"=>"Nathan Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970b0300'), "name"=>"Miss Rafael Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970c0300'), "name"=>"Carlotta Zboncak II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970d0300'), "name"=>"Wilson Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970e0300'), "name"=>"Geovanny Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307970f0300'), "name"=>"Miss Kimberly Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307970f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797100300'), "name"=>"Clint Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797100300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797110300'), "name"=>"Mrs. Maxine Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797110300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797120300'), "name"=>"Dylan Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797120300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797130300'), "name"=>"Ms. Cristobal Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797130300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797140300'), "name"=>"Rosemarie Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797140300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797150300'), "name"=>"Everett Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797150300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797160300'), "name"=>"Vanessa Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797160300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797170300'), "name"=>"Dave Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797170300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797180300'), "name"=>"Carissa Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797180300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797190300'), "name"=>"Shirley Wuckert Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797190300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971a0300'), "name"=>"Enos Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971b0300'), "name"=>"Thurman Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971c0300'), "name"=>"Miss Justine Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971d0300'), "name"=>"Marlene Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971e0300'), "name"=>"Remington Kiehn Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307971f0300'), "name"=>"Miss Lincoln Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307971f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797200300'), "name"=>"Chase Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797200300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797210300'), "name"=>"Kyleigh Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797210300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797220300'), "name"=>"Cicero Kling PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797220300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797230300'), "name"=>"Garnett Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797230300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797240300'), "name"=>"Halle Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797240300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797250300'), "name"=>"Adelle Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797250300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797260300'), "name"=>"Isabel Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797260300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797270300'), "name"=>"Adah Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797270300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797280300'), "name"=>"Clement Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797280300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797290300'), "name"=>"Delphia Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797290300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972a0300'), "name"=>"Aubrey Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972b0300'), "name"=>"Dasia Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972c0300'), "name"=>"Jamey Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972d0300'), "name"=>"Bud Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972e0300'), "name"=>"Fermin Bradtke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef977353307972f0300'), "name"=>"Miss Vergie Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef977353307972f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797300300'), "name"=>"Reymundo Grady II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797300300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797310300'), "name"=>"Maye Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.0359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797310300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797320300'), "name"=>"Amir Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797320300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797330300'), "name"=>"Hillary Vandervort"}] 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={"category_id"=>BSON::ObjectId('53df8ef97735330797330300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797340300'), "name"=>"Christian Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797340300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797350300'), "name"=>"Ms. Krystal McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797350300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797360300'), "name"=>"Ms. Arvel Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797360300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797370300'), "name"=>"Evalyn Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797370300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797380300'), "name"=>"Maggie Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797380300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797390300'), "name"=>"Mrs. Lafayette Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797390300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df8ef97735330797da0200"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef97735330797da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df8ef97735330797da0200')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df8ef97735330797da0200')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms Redirected to http://test.host/categories/53df8ef97735330797da0200 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973a0300'), "name"=>"Opal Gibson", "reference"=>"Miss Karolann Littel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef977353307973b0300'), "author_name"=>"Rhoda Feil", "content"=>["Earum et consequatur. Nostrum et aut. Blanditiis saepe accusamus sit ducimus. Et nam voluptate architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8ef977353307973a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973a0300')} 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('53df8ef977353307973a0300')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ef977353307973c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Redirected to http://test.host/products/53df8ef977353307973a0300/comments/53df8ef977353307973c0300 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973d0300'), "name"=>"Duncan Heller", "reference"=>"Sally Lueilwitz", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef977353307973e0300'), "author_name"=>"Evelyn Morissette II", "content"=>["Natus nesciunt consequatur. Reiciendis perspiciatis pariatur. Est totam repellat. Minus laborum sint magni reiciendis vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df8ef977353307973d0300", "id"=>"53df8ef977353307973e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973d0300')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df8ef977353307973e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms Redirected to http://test.host/products/53df8ef977353307973d0300/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307973f0300'), "name"=>"Isabel Farrell", "reference"=>"Edgar Gutkowski", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef97735330797400300'), "author_name"=>"Martina Tillman", "content"=>["Tenetur harum occaecati vero distinctio ratione dolor ipsum. Excepturi vel voluptatem aspernatur harum sed dolores neque. Aut et sed eos ut ea qui facere. Est accusamus possimus eius odit. Molestias eveniet est dicta assumenda sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df8ef977353307973f0300", "id"=>"53df8ef97735330797400300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307973f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797410300'), "name"=>"Garry Larkin", "reference"=>"Magnus Bosco", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef97735330797420300'), "author_name"=>"Gladys Witting", "content"=>["Minima optio odio aliquam tenetur. Mollitia unde voluptate quam. Magnam omnis asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.3254ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df8ef97735330797410300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797410300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms Completed 200 OK in 7ms (Views: 4.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797430300'), "name"=>"Garrison Schneider", "reference"=>"Mrs. Gloria Boehm", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef97735330797440300'), "author_name"=>"Mr. Angelita Witting", "content"=>["Nam eveniet voluptates facere. Nihil quo officia. Facilis possimus ut. Eum molestiae minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df8ef97735330797430300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797430300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797450300'), "name"=>"Abigail Kirlin", "reference"=>"Abbey Swaniawski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef97735330797460300'), "author_name"=>"Jeanette Kuhlman", "content"=>["Rerum maxime magnam corporis. At et soluta perspiciatis magnam. Iste fugiat quia maiores sit reiciendis hic magni. Illum doloribus debitis voluptas fugiat et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9026ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df8ef97735330797450300", "id"=>"53df8ef97735330797460300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797450300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797470300'), "name"=>"Melyssa Mante", "reference"=>"Ms. Jackeline Nolan", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef97735330797480300'), "author_name"=>"Mr. Alyce Nienow", "content"=>["Qui qui qui error sequi. Facere eligendi velit aut et neque. Quo inventore mollitia optio magnam nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df8ef97735330797470300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797470300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797490300'), "name"=>"Gudrun Simonis IV", "reference"=>"Leon Willms DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef977353307974a0300'), "author_name"=>"Isobel McKenzie", "content"=>["Explicabo aliquid incidunt neque eos. Eius voluptas non rerum possimus exercitationem laborum sed. Expedita a quisquam pariatur est minima minus enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df8ef97735330797490300", "id"=>"53df8ef977353307974a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797490300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974b0300'), "name"=>"Vinnie Ortiz", "reference"=>"Donald Morissette IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8ef977353307974c0300'), "author_name"=>"Torrey Bartell", "content"=>["Dolorem laborum non. Ex et rerum. Quo quia quia alias mollitia ex aut quos. Quod ea officia voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8ef977353307974c0300", "product_id"=>"53df8ef977353307974b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307974b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307974b0300'), "comments._id"=>BSON::ObjectId('53df8ef977353307974c0300')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Redirected to http://test.host/products/53df8ef977353307974b0300/comments/53df8ef977353307974c0300 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('53df8ef977353307974d0300'), "firstname"=>"Jaquan", "lastname"=>"Strosin"}] 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=>"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('53df8ef977353307974e0300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms Redirected to http://test.host/admin/clients/53df8ef977353307974e0300 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef977353307974f0300'), "firstname"=>"Tyson", "lastname"=>"Wehner"}] 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.1769ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df8ef977353307974f0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef977353307974f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef977353307974f0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms 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.1785ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797500300'), "firstname"=>"Luigi", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8ef97735330797500300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797500300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df8ef97735330797510300'), "firstname"=>"Chadrick", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.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.3267ms 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('53df8ef97735330797520300'), "firstname"=>"Lorenza", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms 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.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797530300'), "firstname"=>"Cheyenne", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8ef97735330797530300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797530300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797540300'), "firstname"=>"Eleanore", "lastname"=>"Herzog"}] 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"=>"53df8ef97735330797540300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797540300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797540300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4651ms Redirected to http://test.host/admin/clients/53df8ef97735330797540300 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('53df8ef97735330797550300'), "firstname"=>"Chauncey", "lastname"=>"Okuneva"}] 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=>"clients", :query=>{}} runtime: 0.1731ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797560300'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms Redirected to http://test.host/clients/53df8ef97735330797560300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1782ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797570300'), "firstname"=>"Meagan", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5818ms 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"=>"53df8ef97735330797570300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797570300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797570300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms 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.2627ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797580300'), "firstname"=>"Khalid", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df8ef97735330797580300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef97735330797580300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df8ef97735330797590300'), "firstname"=>"Junius", "lastname"=>"Schulist"}] 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.4758ms Completed 200 OK in 8ms (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('53df8ef977353307975a0300'), "firstname"=>"Jaunita", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms 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('53df8ef977353307975b0300'), "firstname"=>"Maegan", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df8ef977353307975b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef977353307975b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms 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('53df8ef977353307975c0300'), "firstname"=>"Andreane", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df8ef977353307975c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df8ef977353307975c0300')} 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('53df8ef977353307975c0300')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms Redirected to http://test.host/clients/53df8ef977353307975c0300 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('53df8ef977353307975d0300'), "name"=>"Dr. Alvis Yost", "reference"=>"Kacey Legros", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53df8ef977353307975e0300'), "firstname"=>"Lafayette", "lastname"=>"Schneider"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df8ef977353307975d0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307975d0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307975d0300')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307975d0300')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df8ef977353307975f0300'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Redirected to http://test.host/products/53df8ef977353307975d0300/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('53df8ef97735330797600300'), "name"=>"Deven Jast", "reference"=>"Jaiden O'Connell", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df8ef97735330797610300'), "firstname"=>"Ayla", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4194ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df8ef97735330797610300", "product_id"=>"53df8ef97735330797600300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797600300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797620300'), "name"=>"Aletha Reilly", "reference"=>"Lisa Mitchell", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53df8ef97735330797630300'), "firstname"=>"Dave", "lastname"=>"Stehr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df8ef97735330797620300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797620300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797640300'), "name"=>"Miss Alvah Hermann", "reference"=>"Willy Schroeder V", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53df8ef97735330797650300'), "firstname"=>"Rocky", "lastname"=>"Trantow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df8ef97735330797650300", "product_id"=>"53df8ef97735330797640300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797640300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797660300'), "name"=>"Nathen Fahey", "reference"=>"Kendall Tillman", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53df8ef97735330797670300'), "firstname"=>"Cortney", "lastname"=>"Spencer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df8ef97735330797670300", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df8ef97735330797660300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797660300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Unpermitted parameters: name Redirected to http://test.host/products/53df8ef97735330797660300/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef97735330797680300'), "name"=>"Orville O'Kon", "reference"=>"Marianne Shanahan", "quantity"=>"5"}] 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.1884ms 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('53df8ef97735330797690300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Redirected to http://test.host/products/53df8ef97735330797690300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2030ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976a0300'), "name"=>"Nicolas Green", "reference"=>"Harmony Volkman II", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8ef977353307976a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307976a0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307976a0300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms 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.1847ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976b0300'), "name"=>"Shanny Predovic", "reference"=>"Marjory Russel", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8ef977353307976b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307976b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 33ms (Views: 6.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976c0300'), "name"=>"Bradly Schamberger", "reference"=>"Mr. Olen Beier", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms 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.7745ms Completed 200 OK in 54ms (Views: 53.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976d0300'), "name"=>"Pearlie DuBuque", "reference"=>"Miss Josue Effertz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms 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.6761ms Completed 200 OK in 4ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8ef977353307976e0300'), "name"=>"Mr. Hailee Lueilwitz", "reference"=>"Dr. Bridie Hettinger", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8ef977353307976e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef977353307976e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms 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('53df8ef977353307976f0300'), "name"=>"Arnulfo Murphy", "reference"=>"Juanita Schuster PhD", "quantity"=>"4"}] 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 (2.3ms) 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('53df8ef97735330797710300'), "name"=>"Ova Moore", "reference"=>"Mitchell Funk I", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8ef97735330797710300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8ef97735330797710300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797720300'), "name"=>"Leanne Bosco", "reference"=>"Fleta Howe", "quantity"=>"5"}] 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.1559ms 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('53df8efa7735330797730300'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797740300'), "name"=>"Tianna Greenholt", "reference"=>"Hosea Ryan", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8efa7735330797740300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797740300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797740300')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms 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('53df8efa7735330797750300'), "name"=>"Mrs. Camylle Beier", "reference"=>"Reece Maggio III", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms 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('53df8efa7735330797770300'), "name"=>"Jillian Rolfson", "reference"=>"Heber Anderson", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8efa7735330797770300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797770300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797770300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms 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('53df8efa7735330797780300'), "name"=>"Salma Schneider", "reference"=>"Juliana White", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8efa7735330797780300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797780300')} 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('53df8efa7735330797780300')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms Redirected to http://test.host/products/53df8efa7735330797780300 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa77353307977b0300'), "name"=>"Adah Kovacek PhD", "reference"=>"Akeem Ebert I", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797790300'), "author_name"=>"Marisa Ledner", "content"=>["Quae architecto doloribus. Harum id omnis. Aliquid amet cum eaque."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307977a0300'), "author_name"=>"Blanca Jerde", "content"=>["Ad qui ea consequatur hic dolore itaque reiciendis. Est in omnis ex laudantium dignissimos. Et sequi cum consequatur harum repellat possimus dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df8efa77353307977b0300", "comment_id"=>"53df8efa7735330797790300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977b0300')} 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('53df8efa77353307977b0300'), "comments._id"=>BSON::ObjectId('53df8efa7735330797790300')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8efa77353307977c0300'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4128ms Redirected to http://test.host/products/53df8efa77353307977b0300/comments/53df8efa7735330797790300/comments/53df8efa77353307977c0300 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa77353307977f0300'), "name"=>"Miss Berneice Willms", "reference"=>"Alanis Lynch II", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307977d0300'), "author_name"=>"Arlie O'Reilly", "content"=>["Unde ratione autem ut enim laborum. Qui et est. Laborum ut voluptatem voluptas modi. Vel quasi autem vero similique est dolore. Praesentium sint impedit aliquid non at vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307977e0300'), "author_name"=>"Maximilian Weissnat DVM", "content"=>["Ducimus consequuntur sunt minus repellat. Adipisci nesciunt sed soluta voluptatibus corporis omnis. Dolorum magnam in qui ex aliquid totam rerum. Et quia blanditiis totam deserunt dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3459ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df8efa77353307977f0300", "comment_id"=>"53df8efa77353307977d0300", "id"=>"53df8efa77353307977e0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977f0300'), "comments._id"=>BSON::ObjectId('53df8efa77353307977d0300')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df8efa77353307977e0300')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms Redirected to http://test.host/products/53df8efa77353307977f0300/comments/53df8efa77353307977d0300/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307977f0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797820300'), "name"=>"Miss Bret Hirthe", "reference"=>"Yessenia Gorczany", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797800300'), "author_name"=>"Flavio Nolan", "content"=>["Nulla distinctio ut sit velit. Exercitationem incidunt error id corporis. Sit quia fuga omnis quos voluptas. Dolor assumenda quo porro error ducimus eius cumque."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797810300'), "author_name"=>"Rhett Mosciski", "content"=>["In reiciendis pariatur corrupti accusamus doloribus. Sed saepe harum nostrum a sapiente recusandae. Expedita dolorem ea rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df8efa7735330797820300", "comment_id"=>"53df8efa7735330797800300", "id"=>"53df8efa7735330797810300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797820300')} 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.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797850300'), "name"=>"Gardner Ziemann", "reference"=>"Elisabeth Bahringer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797830300'), "author_name"=>"Lenna Baumbach", "content"=>["Minus nihil praesentium optio maxime vel. Quas temporibus molestiae dolores ut tempora harum dicta. Est atque iusto recusandae molestias sunt vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797840300'), "author_name"=>"Autumn Boyle Sr.", "content"=>["Quae dolorum ut minima omnis culpa consequuntur. Repudiandae ab fugit quia ullam voluptas explicabo earum. Possimus sit quas ipsum recusandae quis praesentium quibusdam. Perferendis fugiat et. Placeat quis facere nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df8efa7735330797850300", "comment_id"=>"53df8efa7735330797830300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797850300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797880300'), "name"=>"Janae Ondricka", "reference"=>"Oral Schulist", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797860300'), "author_name"=>"Garrett Murray", "content"=>["Consequuntur ut ut facilis est aut omnis. Illo natus consequatur quae. Aliquam aut dicta velit corrupti in ut. Provident quos sint fuga perspiciatis. Hic accusantium est."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797870300'), "author_name"=>"Lillie Beier", "content"=>["Qui tempore necessitatibus. Culpa magnam sed qui aliquam. Ut ullam neque. Deserunt itaque velit neque minima quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df8efa7735330797880300", "comment_id"=>"53df8efa7735330797860300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797880300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa77353307978b0300'), "name"=>"Mr. Aletha Weber", "reference"=>"Miss Arvilla Schaden", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797890300'), "author_name"=>"Annie Abbott", "content"=>["Deleniti qui omnis voluptatem unde fugit. Blanditiis voluptates sit a vero ut et. Et ad reiciendis aut sed mollitia qui. Autem nostrum beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307978a0300'), "author_name"=>"Nathan Macejkovic DVM", "content"=>["Qui ea modi tenetur hic veniam exercitationem possimus. Voluptatem repellat dolorem veritatis molestias aut cum. Voluptate neque id reprehenderit delectus. Ut perferendis magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df8efa77353307978b0300", "comment_id"=>"53df8efa7735330797890300", "id"=>"53df8efa77353307978a0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307978b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa77353307978e0300'), "name"=>"Ivy Toy", "reference"=>"Tia Kessler", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307978c0300'), "author_name"=>"Marlene Murphy", "content"=>["Officia harum perferendis. Sed quia mollitia totam fugit dolores tempore vel. Provident sapiente corrupti voluptatem rerum dolorum et. Et harum quis quod nulla eum tenetur. Et suscipit est voluptas expedita."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307978d0300'), "author_name"=>"Hazel Howell", "content"=>["Repellendus aliquam sed repellat distinctio quis. Ex quia labore debitis ut fugit quia. Maiores quidem labore qui velit ipsum voluptatem non. Qui autem ipsa quo quae enim facere provident. Dolorem excepturi veritatis ipsa tempora debitis consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df8efa77353307978e0300", "comment_id"=>"53df8efa77353307978c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa77353307978e0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 8ms (Views: 5.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797910300'), "name"=>"Lloyd Osinski", "reference"=>"Samanta Lowe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa77353307978f0300'), "author_name"=>"Brendon Kling", "content"=>["Aut aliquam maxime blanditiis possimus quibusdam iusto. Et voluptas doloribus recusandae accusantium eaque. Quos deserunt neque ipsum iste rerum libero odit. Perspiciatis id ullam aliquam. Harum dignissimos omnis porro iste temporibus beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797900300'), "author_name"=>"Ms. Abdul Kiehn", "content"=>["Minima unde neque rerum non ab. Qui sint fugiat. Qui maxime quo sed doloremque. Cum ratione qui vel et distinctio pariatur. Quaerat ipsam cupiditate vel aliquid delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df8efa7735330797910300", "comment_id"=>"53df8efa77353307978f0300", "id"=>"53df8efa7735330797900300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797910300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797940300'), "name"=>"Kristina Hane", "reference"=>"Rubie Rice", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797920300'), "author_name"=>"Quinn Grant", "content"=>["Sapiente cum consequatur. Facere laboriosam consequatur. Et voluptatem iusto id et eum eius consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('53df8efa7735330797930300'), "author_name"=>"Alexzander Wilkinson DVM", "content"=>["Rem aliquam ut. Laboriosam ab unde recusandae ut odio eum. Itaque pariatur dolor repellat omnis sint animi ipsum. Sint nihil rerum iste excepturi voluptas error aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df8efa7735330797930300", "product_id"=>"53df8efa7735330797940300", "comment_id"=>"53df8efa7735330797920300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797940300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8efa7735330797940300'), "comments._id"=>BSON::ObjectId('53df8efa7735330797920300'), "comments.0.comments._id"=>BSON::ObjectId('53df8efa7735330797930300')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6663ms Redirected to http://test.host/products/53df8efa7735330797940300/comments/53df8efa7735330797920300/comments/53df8efa7735330797930300 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('53df8efa7735330797950300'), "firstname"=>"Adriana", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1941ms 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('53df8efa7735330797960300')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Redirected to http://test.host/users/53df8efa7735330797960300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1952ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797970300'), "firstname"=>"Jane", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms 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"=>"53df8efa7735330797970300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8efa7735330797970300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8efa7735330797970300')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1755ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797980300'), "firstname"=>"Jared", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df8efa7735330797980300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8efa7735330797980300')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8efa7735330797990300'), "firstname"=>"Grayson", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms 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 8ms (Views: 7.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8efa77353307979a0300'), "firstname"=>"Wilber", "lastname"=>"Tromp"}] 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.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('53df8efa77353307979b0300'), "firstname"=>"Laron", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df8efa77353307979b0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8efa77353307979b0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Completed 200 OK in 3ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df8efa77353307979c0300'), "firstname"=>"Arnold", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df8efa77353307979c0300"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df8efa77353307979c0300')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Unpermitted parameters: name Redirected to http://test.host/users/53df8efa77353307979c0300 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5258ms 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.4924ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms 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.4325ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6283ms 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.4291ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f4000000'), "name"=>"Derek Predovic", "reference"=>"Aiyana Hodkiewicz I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 97.1471ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4975ms 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('53df8f4f77353307f4010000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7928ms Redirected to http://test.host/products/53df8f4f77353307f4010000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4702ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f4020000'), "name"=>"Chelsey Berge", "reference"=>"Dr. Lou Koch", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4146ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8f4f77353307f4020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5078ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4020000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5578ms 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.3278ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f4030000'), "name"=>"Corine MacGyver III", "reference"=>"Khalil Kutch", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8f4f77353307f4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5303ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.2ms) Completed 200 OK in 71ms (Views: 68.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f4040000'), "name"=>"Mr. Ida Fahey", "reference"=>"Ms. Brendan Sipes", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5042ms 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('53df8f4f77353307f4050000'), "name"=>"Ivah McCullough", "reference"=>"Hortense Reilly", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5325ms 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('53df8f4f77353307f4060000'), "name"=>"Sven Kling IV", "reference"=>"Courtney Goodwin", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8f4f77353307f4060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms 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('53df8f4f77353307f4070000'), "name"=>"Payton Goldner", "reference"=>"Garnet Quigley DVM", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 23ms (Views: 6.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f4090000'), "name"=>"Dr. Baby Franecki", "reference"=>"Elias Bayer", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5589ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8f4f77353307f4090000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3948ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f40a0000'), "name"=>"Treva Barrows III", "reference"=>"Jeanie Daugherty", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2254ms 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('53df8f4f77353307f40b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3013ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f4f77353307f40c0000'), "name"=>"Horace Flatley", "reference"=>"Georgianna Smith", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8f4f77353307f40c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f40c0000')} 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={"_id"=>BSON::ObjectId('53df8f4f77353307f40c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms 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('53df8f4f77353307f40d0000'), "name"=>"Haley Anderson", "reference"=>"Caitlyn Kuhlman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms 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('53df8f4f77353307f40f0000'), "name"=>"Effie Franecki", "reference"=>"Mrs. Princess Pfannerstill", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8f4f77353307f40f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f40f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f40f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms 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('53df8f4f77353307f4100000'), "name"=>"Blanche Goyette", "reference"=>"Filiberto Reichert", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8f4f77353307f4100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f4f77353307f4100000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Redirected to http://test.host/products/53df8f4f77353307f4100000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms 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.1932ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms 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.1590ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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.2819ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d000000'), "name"=>"Miss Rachel Littel", "reference"=>"Mr. Gianni Hoeger", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1320ms 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('53df8f6f773533081d010000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms Redirected to http://test.host/products/53df8f6f773533081d010000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1579ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d020000'), "name"=>"Anissa Larson", "reference"=>"Nakia Jakubowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1422ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8f6f773533081d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d020000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms 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.1368ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d030000'), "name"=>"Miss Ashlee Gusikowski", "reference"=>"Sage Kshlerin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8f6f773533081d030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 45ms (Views: 44.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d040000'), "name"=>"Brycen Von", "reference"=>"Eileen Lubowitz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0626ms 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.2998ms Completed 200 OK in 5ms (Views: 4.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d050000'), "name"=>"Eloisa Breitenberg I", "reference"=>"Al Wiza", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms 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.2527ms Completed 200 OK in 2ms (Views: 0.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d060000'), "name"=>"Walter Rohan", "reference"=>"Jan Bradtke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8f6f773533081d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms Completed 200 OK in 1ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d070000'), "name"=>"Demarco Hessel", "reference"=>"Isadore Harris", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 17ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d090000'), "name"=>"Jarrell Hansen", "reference"=>"Rachel Beier", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8f6f773533081d090000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d0a0000'), "name"=>"Vergie Koelpin", "reference"=>"Chelsey Dare PhD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1340ms 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('53df8f6f773533081d0b0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1353ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8f6f773533081d0c0000'), "name"=>"Casey Auer", "reference"=>"Ms. Ethyl Cummings", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8f6f773533081d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d0c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms 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('53df8f6f773533081d0d0000'), "name"=>"Miss Brown Glover", "reference"=>"Floy Emard", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms 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('53df8f6f773533081d0f0000'), "name"=>"Raven Williamson MD", "reference"=>"Jamar Nienow", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8f6f773533081d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms 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('53df8f6f773533081d100000'), "name"=>"Jensen Hagenes", "reference"=>"Yasmin Smith V", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8f6f773533081d100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8f6f773533081d100000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms Redirected to http://test.host/products/53df8f6f773533081d100000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5197ms 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.4280ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms 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 MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms 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.3665ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852000000'), "name"=>"Miss Dasia Lueilwitz", "reference"=>"Dr. Harmon Heller", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852010000'), "name"=>"Erik Hauck", "reference"=>"Miss Vicente Mraz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852020000'), "name"=>"Maxime Reichel", "reference"=>"Waldo Green V", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852030000'), "name"=>"Lacey Casper", "reference"=>"Elza Kohler", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852040000'), "name"=>"Arlie Parker", "reference"=>"Sidney Leffler", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852050000'), "name"=>"Conrad Goodwin", "reference"=>"Harley Schaefer", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1271ms 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('53df8fc67735330852060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Redirected to http://test.host/products/53df8fc67735330852060000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1503ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852070000'), "name"=>"Mrs. Jazmin Koepp", "reference"=>"Savion Howe", "quantity"=>"0"}] 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=>"products", :query=>{}} runtime: 0.1471ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df8fc67735330852070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms 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.1360ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852080000'), "name"=>"Mrs. Max Kub", "reference"=>"Neha Kohler", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df8fc67735330852080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 46ms (Views: 44.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852090000'), "name"=>"Coy Mueller", "reference"=>"Sidney Bashirian", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms 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 8ms (Views: 7.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc677353308520a0000'), "name"=>"Jennie Kuvalis", "reference"=>"Karl Huel", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms 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.3104ms Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc677353308520b0000'), "name"=>"Isaac Gerlach DDS", "reference"=>"Jayne Wunsch", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.9477ms 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.3283ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc677353308520c0000'), "name"=>"Dewitt Oberbrunner Sr.", "reference"=>"Orville Hackett PhD", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df8fc677353308520c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc677353308520c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms 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('53df8fc677353308520d0000'), "name"=>"Maude Ondricka", "reference"=>"Ms. Wanda Pollich", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 18ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc677353308520f0000'), "name"=>"Florian Batz", "reference"=>"Vella Friesen MD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df8fc677353308520f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc677353308520f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852100000'), "name"=>"Jay Parisian", "reference"=>"Nat Jenkins", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1308ms 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('53df8fc67735330852110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2378ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df8fc67735330852120000'), "name"=>"Thora Kessler", "reference"=>"Bertrand Tillman", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df8fc67735330852120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852120000')} 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('53df8fc67735330852120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms 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('53df8fc67735330852130000'), "name"=>"Berenice Bergstrom", "reference"=>"Tiffany Kilback", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms 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('53df8fc67735330852150000'), "name"=>"Dixie Legros Sr.", "reference"=>"Mr. Donato D'Amore", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8fc67735330852150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852150000')} 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('53df8fc67735330852150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms 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('53df8fc67735330852160000'), "name"=>"Marley Wiza", "reference"=>"Cleora Feest", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df8fc67735330852160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df8fc67735330852160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/products/53df8fc67735330852160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms 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.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.3106ms 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.2555ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms 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.2079ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c000000'), "name"=>"Valentine Huel", "reference"=>"Andreane Moen", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c010000'), "name"=>"Maeve Morar", "reference"=>"Karina Erdman", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c020000'), "name"=>"Pierce O'Kon", "reference"=>"Ava Crooks I", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c030000'), "name"=>"Milton Spencer", "reference"=>"Dr. Elvera Huels", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c040000'), "name"=>"Titus Blick DVM", "reference"=>"Jadon Braun IV", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c050000'), "name"=>"Bradford Langosh Jr.", "reference"=>"Jacky Roob PhD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2395ms 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('53df9038773533088c060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Redirected to http://test.host/products/53df9038773533088c060000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c070000'), "name"=>"Marlin Zulauf", "reference"=>"Jack Swaniawski MD", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1677ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df9038773533088c070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9038773533088c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9038773533088c070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms 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.1805ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c080000'), "name"=>"Dr. Dennis Terry", "reference"=>"Mr. Colton Powlowski", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df9038773533088c080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9038773533088c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 47ms (Views: 45.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c090000'), "name"=>"Otho Torphy", "reference"=>"Iliana Stroman", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.7607ms 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.3625ms Completed 200 OK in 7ms (Views: 6.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9038773533088c0a0000'), "name"=>"Kaia Lowe", "reference"=>"Norbert Quigley", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} 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('53df9039773533088c0b0000'), "name"=>"Sigrid Weber", "reference"=>"Xzavier Runte", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms 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.3094ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9039773533088c0c0000'), "name"=>"Mrs. Rebekah Berge", "reference"=>"Wallace Funk", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df9039773533088c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9039773533088c0d0000'), "name"=>"Dr. Raymond Kozey", "reference"=>"Peggie Ankunding", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 18ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9039773533088c0f0000'), "name"=>"Dr. Uriah Wolff", "reference"=>"Nora Hermiston III", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df9039773533088c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9039773533088c100000'), "name"=>"Mr. Donnie Ortiz", "reference"=>"Salma Bechtelar IV", "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.2069ms 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('53df9039773533088c110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2257ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9039773533088c120000'), "name"=>"Elliott Price V", "reference"=>"Carli Schamberger", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df9039773533088c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms 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('53df9039773533088c130000'), "name"=>"Peter O'Hara V", "reference"=>"Johathan Stoltenberg", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms 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('53df9039773533088c150000'), "name"=>"Kara Lowe", "reference"=>"Miss Diana Wilkinson", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df9039773533088c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms 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('53df9039773533088c160000'), "name"=>"Nils Haag", "reference"=>"Mrs. Jaunita Waters", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df9039773533088c160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9039773533088c160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms Redirected to http://test.host/products/53df9039773533088c160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5374ms 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.4473ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6213ms 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.4840ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms 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.4646ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5000000'), "name"=>"June Hermiston DDS", "reference"=>"Lyda Shields", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5010000'), "name"=>"Dr. Margret Hegmann", "reference"=>"Estell Spencer MD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5020000'), "name"=>"Marc Olson", "reference"=>"Cydney Howe PhD", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5030000'), "name"=>"Zetta Rath", "reference"=>"Everette Quitzon", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5040000'), "name"=>"Chaz Beahan", "reference"=>"Ms. Abbey Mayer", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5050000'), "name"=>"Devin Deckow IV", "reference"=>"Gabriel Auer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1659ms 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('53df905a77353308b5060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Redirected to http://test.host/products/53df905a77353308b5060000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1699ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5070000'), "name"=>"Ms. Antoinette Reynolds", "reference"=>"Berneice Schamberger", "quantity"=>"7"}] 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=>"products", :query=>{}} runtime: 0.2073ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df905a77353308b5070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms 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.2387ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5080000'), "name"=>"Joana Jaskolski", "reference"=>"Shaniya McKenzie MD", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df905a77353308b5080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 46ms (Views: 44.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5090000'), "name"=>"Luigi Keebler DDS", "reference"=>"Godfrey Hammes II", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms 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.3460ms Completed 200 OK in 8ms (Views: 7.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b50a0000'), "name"=>"Leonard Bashirian", "reference"=>"Julien DuBuque", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4136ms Completed 200 OK in 7ms (Views: 6.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b50b0000'), "name"=>"Henri Parisian", "reference"=>"Rosemary Mayer II", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms 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.3734ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b50c0000'), "name"=>"Cayla Abshire", "reference"=>"Ms. Felton Corkery", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df905a77353308b50c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b50c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms 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('53df905a77353308b50d0000'), "name"=>"Dr. Una Kub", "reference"=>"Fredy Ledner", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 19ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b50f0000'), "name"=>"Teagan Gleason Jr.", "reference"=>"Ms. Violet Miller", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df905a77353308b50f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b50f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5100000'), "name"=>"Mrs. April Hammes", "reference"=>"Casey Hand", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1610ms 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('53df905a77353308b5110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1787ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df905a77353308b5120000'), "name"=>"Francesco Aufderhar II", "reference"=>"Shania Crist", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df905a77353308b5120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms 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('53df905a77353308b5130000'), "name"=>"Forest Grant", "reference"=>"Miss Fabiola O'Keefe", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms 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('53df905a77353308b5150000'), "name"=>"Terry Brown", "reference"=>"Angela Bogisich Sr.", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8050ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df905a77353308b5150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5150000')} 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('53df905a77353308b5150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms 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('53df905a77353308b5160000'), "name"=>"Ms. Immanuel Strosin", "reference"=>"Alia Gaylord", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df905a77353308b5160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df905a77353308b5160000')} 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('53df905a77353308b5160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms Redirected to http://test.host/products/53df905a77353308b5160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms 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.2585ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms 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.2323ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms 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.2274ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc000000'), "name"=>"Bridgette Hansen", "reference"=>"Oda Sawayn", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc010000'), "name"=>"Leanne Eichmann", "reference"=>"Wilhelm Witting MD", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc020000'), "name"=>"Mrs. Rico Waters", "reference"=>"Ulises Fisher Sr.", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc030000'), "name"=>"Bradly Gulgowski PhD", "reference"=>"Ms. Natasha Kirlin", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc040000'), "name"=>"Max Donnelly", "reference"=>"Mrs. Petra Mertz", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc050000'), "name"=>"Eryn Schiller", "reference"=>"Brandi Donnelly", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms 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('53df906a77353308dc060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Redirected to http://test.host/products/53df906a77353308dc060000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1718ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc070000'), "name"=>"Alexander Streich I", "reference"=>"Henderson O'Kon I", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1651ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df906a77353308dc070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc070000')} 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('53df906a77353308dc070000')} 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.1766ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc080000'), "name"=>"Aracely Labadie", "reference"=>"Janet Nikolaus", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df906a77353308dc080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) 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('53df906a77353308dc090000'), "name"=>"Lilliana Quigley", "reference"=>"Maybell Oberbrunner", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms 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.3749ms Completed 200 OK in 8ms (Views: 7.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc0a0000'), "name"=>"Juliana Grant", "reference"=>"Dulce Carroll", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.4801ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5512ms Completed 200 OK in 7ms (Views: 6.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc0b0000'), "name"=>"Dedrick Batz", "reference"=>"Lue Turner", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms 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.4486ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc0c0000'), "name"=>"Nedra Yundt", "reference"=>"Buford Goyette", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df906a77353308dc0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms 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('53df906a77353308dc0d0000'), "name"=>"Kole Kertzmann", "reference"=>"Josh Hilll DVM", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 18ms (Views: 4.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc0f0000'), "name"=>"Oral Padberg V", "reference"=>"Charity Spencer", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5987ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df906a77353308dc0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc100000'), "name"=>"Chanel Bayer", "reference"=>"Mr. Amari Morar", "quantity"=>"1"}] 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=>"products", :query=>{}} runtime: 0.2983ms 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('53df906a77353308dc110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3055ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df906a77353308dc120000'), "name"=>"Pierre Ryan DDS", "reference"=>"Mrs. Johnson Mueller", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df906a77353308dc120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3807ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms 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('53df906a77353308dc130000'), "name"=>"Mellie Krajcik", "reference"=>"Nedra Mayer", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms 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('53df906a77353308dc150000'), "name"=>"Hettie Wehner", "reference"=>"Dr. Arden Oberbrunner", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df906a77353308dc150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms 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('53df906a77353308dc160000'), "name"=>"Ms. Curtis Dach", "reference"=>"Alfred Aufderhar DVM", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4857ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df906a77353308dc160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3766ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df906a77353308dc160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5082ms Redirected to http://test.host/products/53df906a77353308dc160000 Completed 302 Found in 3ms 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.3263ms 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.2179ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms 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.1816ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms 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.1553ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903000000'), "name"=>"Aliya Jacobs", "reference"=>"Pasquale Bernhard", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903010000'), "name"=>"Consuelo Swaniawski", "reference"=>"Milford Boyer", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903020000'), "name"=>"Sarah Wilkinson", "reference"=>"Deja Predovic DDS", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903030000'), "name"=>"Johnson Shanahan I", "reference"=>"Bianka Jaskolski", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903040000'), "name"=>"Roxane Harber", "reference"=>"Moriah Bode", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903050000'), "name"=>"Ms. Sallie Wiegand", "reference"=>"Winona Lehner II", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2727ms 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('53df90827735330903060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Redirected to http://test.host/products/53df90827735330903060000 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('53df90827735330903070000'), "name"=>"Noemie Dickens", "reference"=>"Kiana Rowe", "quantity"=>"5"}] 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=>"products", :query=>{}} runtime: 0.1580ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df90827735330903070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90827735330903070000')} 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('53df90827735330903070000')} 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 MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1840ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903080000'), "name"=>"Elinor Thiel Sr.", "reference"=>"Benton Pfeffer", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df90827735330903080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90827735330903080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 46ms (Views: 45.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90827735330903090000'), "name"=>"Charlotte Kunze", "reference"=>"Ariane Lynch", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.6139ms 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.3688ms Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df908277353309030a0000'), "name"=>"Arvilla Beier", "reference"=>"Lane Rosenbaum", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms Completed 200 OK in 7ms (Views: 6.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3042ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.8021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8782ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.8334ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.8241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7178ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a777353309030b0000'), "name"=>"Loma Kulas", "reference"=>"Mr. Eldred Ondricka", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7343ms 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.7792ms Completed 200 OK in 6ms (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('53df90a777353309030c0000'), "name"=>"Nestor Brown", "reference"=>"Elizabeth Walker", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6685ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df90a777353309030c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a777353309030c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5889ms Completed 200 OK in 4ms (Views: 0.4ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a777353309030d0000'), "name"=>"Guadalupe Bernier", "reference"=>"German Gulgowski Sr.", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7917ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 35ms (Views: 8.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a877353309030f0000'), "name"=>"Ana Heidenreich", "reference"=>"Vivienne Witting", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df90a877353309030f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a877353309030f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a87735330903100000'), "name"=>"Mossie Champlin", "reference"=>"Evie Baumbach", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6196ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3969ms 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('53df90a87735330903110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5869ms Completed 201 Created in 3ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3849ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a87735330903120000'), "name"=>"Oliver Wehner", "reference"=>"Tyler Kuphal", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df90a87735330903120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4361ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms 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('53df90a87735330903130000'), "name"=>"Oliver Cole", "reference"=>"Neil Kris", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms 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('53df90a87735330903150000'), "name"=>"Clay Kris", "reference"=>"Natasha Murazik", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.6837ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90a87735330903150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5349ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90a87735330903160000'), "name"=>"Lemuel Marquardt", "reference"=>"Brennon Gusikowski I", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90a87735330903160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90a87735330903160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms Redirected to http://test.host/products/53df90a87735330903160000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4254ms 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.3242ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms 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.2939ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930000000'), "name"=>"Suzanne Greenholt MD", "reference"=>"Marcelina Schaefer", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930010000'), "name"=>"Neoma Metz", "reference"=>"Justyn Effertz", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930020000'), "name"=>"Tomas Gaylord", "reference"=>"Davion Wolf", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930030000'), "name"=>"Ms. Zola Block", "reference"=>"Aurelia Armstrong", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930040000'), "name"=>"Randall Luettgen", "reference"=>"Chelsey Abshire", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930050000'), "name"=>"Gerhard Grady", "reference"=>"Amani Reichert", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1708ms 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('53df90b07735330930060000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Redirected to http://test.host/products/53df90b07735330930060000 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('53df90b07735330930070000'), "name"=>"Dr. Raina Stokes", "reference"=>"Patsy Schneider DVM", "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.1692ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df90b07735330930070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90b07735330930070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90b07735330930070000')} 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.1665ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930080000'), "name"=>"Harry Gleason", "reference"=>"Mr. Justina Eichmann", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df90b07735330930080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90b07735330930080000')} 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.7ms) Completed 200 OK in 46ms (Views: 44.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b07735330930090000'), "name"=>"Kody Grimes DDS", "reference"=>"Dr. Gregg Hagenes", "quantity"=>"5"}] 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.3527ms Completed 200 OK in 8ms (Views: 7.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90b077353309300a0000'), "name"=>"Jerome Prohaska", "reference"=>"Therese Ward I", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Completed 200 OK in 7ms (Views: 6.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7800ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d377353309300b0000'), "name"=>"Camilla Parker", "reference"=>"Dr. Thomas Swaniawski", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6939ms 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.7832ms Completed 200 OK in 6ms (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('53df90d377353309300c0000'), "name"=>"Mr. Bradley Boehm", "reference"=>"Velma Breitenberg", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7030ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df90d377353309300c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d377353309300c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5747ms Completed 200 OK in 4ms (Views: 0.5ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d377353309300d0000'), "name"=>"Briana Boyer", "reference"=>"Grant Crooks", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7613ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 30ms (Views: 6.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d377353309300f0000'), "name"=>"Celia Weimann", "reference"=>"Spencer Bradtke", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.6375ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df90d377353309300f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d377353309300f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4596ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d37735330930100000'), "name"=>"Scot Strosin I", "reference"=>"Richie Dach", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6313ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3651ms 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('53df90d37735330930110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6017ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3588ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d37735330930120000'), "name"=>"Annalise Ebert", "reference"=>"Dr. Nicklaus Bradtke", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df90d37735330930120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms 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('53df90d37735330930130000'), "name"=>"Lourdes Bode IV", "reference"=>"Dr. Rocio Labadie", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms 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('53df90d37735330930150000'), "name"=>"Ms. Austen Nitzsche", "reference"=>"Sallie Bogan", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90d37735330930150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90d37735330930160000'), "name"=>"Cheyenne Tremblay", "reference"=>"Sharon Lebsack", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90d37735330930160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4769ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90d37735330930160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms Redirected to http://test.host/products/53df90d37735330930160000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5135ms 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.4360ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms 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.3460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms 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.3713ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961000000'), "name"=>"Krista McLaughlin", "reference"=>"Dr. Brady Stark", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961010000'), "name"=>"Mr. Zachariah Padberg", "reference"=>"Anahi Cassin III", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961020000'), "name"=>"Hellen Swaniawski", "reference"=>"Kale Luettgen", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961030000'), "name"=>"Coby Mitchell", "reference"=>"Camilla Kuphal PhD", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961040000'), "name"=>"Alan Hamill", "reference"=>"Ceasar Schmeler", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961050000'), "name"=>"Gabe Metz", "reference"=>"Kyla Mitchell", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1305ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961060000'), "name"=>"Hello", "quantity"=>"10"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms Redirected to http://test.host/products/53df90dd7735330961060000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1534ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961070000'), "name"=>"Ryleigh Lubowitz Jr.", "reference"=>"Lucie Hegmann", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1249ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df90dd7735330961070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms 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.1356ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961080000'), "name"=>"Katelin Herman", "reference"=>"Warren Armstrong", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df90dd7735330961080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 46ms (Views: 44.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961090000'), "name"=>"Elmira Goyette", "reference"=>"Jordon Hayes", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms 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.3344ms Completed 200 OK in 8ms (Views: 7.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd77353309610a0000'), "name"=>"Katrine Kiehn", "reference"=>"Mrs. Emanuel Flatley", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms Completed 200 OK in 7ms (Views: 6.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd77353309610b0000'), "name"=>"Winfield Wiza", "reference"=>"Elda Trantow", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms 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.4167ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd77353309610c0000'), "name"=>"Minnie Jacobs", "reference"=>"Benny Langworth", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df90dd77353309610c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd77353309610c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms 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('53df90dd77353309610d0000'), "name"=>"Madisyn Streich", "reference"=>"Arne Tillman", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 19ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd77353309610f0000'), "name"=>"Josefa Stracke", "reference"=>"Judson Johnston", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5099ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df90dd77353309610f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd77353309610f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90dd7735330961100000'), "name"=>"Emilia Kessler", "reference"=>"Annette Collier", "quantity"=>"1"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5251ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2231ms 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('53df90dd7735330961110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms 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('53df90dd7735330961120000'), "name"=>"Stan Kling", "reference"=>"Gia D'Amore", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df90dd7735330961120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961120000')} 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={"_id"=>BSON::ObjectId('53df90dd7735330961120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms 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('53df90dd7735330961130000'), "name"=>"Clovis Brown", "reference"=>"Wilton Schultz", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms 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('53df90dd7735330961150000'), "name"=>"Kaelyn McLaughlin", "reference"=>"Hassie Crist", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90dd7735330961150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms 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('53df90dd7735330961160000'), "name"=>"Edwina Wuckert IV", "reference"=>"Beau Bayer IV", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df90dd7735330961160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90dd7735330961160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Redirected to http://test.host/products/53df90dd7735330961160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms 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.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.3066ms 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.2291ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms 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.1856ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986000000'), "name"=>"Evalyn Lang", "reference"=>"Margret Koelpin", "quantity"=>"7"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986010000'), "name"=>"Albina Hintz", "reference"=>"Ms. Kelsie Bosco", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986020000'), "name"=>"Kelli Funk", "reference"=>"Cristopher Harber", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986030000'), "name"=>"Augusta Leannon", "reference"=>"Ignatius Pollich", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986040000'), "name"=>"Samara Reinger", "reference"=>"Drew Thiel", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986050000'), "name"=>"Dr. Otto Hyatt", "reference"=>"Israel Brown", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1540ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986060000'), "name"=>"Hello", "quantity"=>"10"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Redirected to http://test.host/products/53df90e67735330986060000 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('53df90e67735330986070000'), "name"=>"Daphney DuBuque", "reference"=>"Ms. Jolie Corkery", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1608ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df90e67735330986070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90e67735330986070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90e67735330986070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms 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.1720ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986080000'), "name"=>"Arnold Hickle", "reference"=>"Mr. Haven Koch", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df90e67735330986080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df90e67735330986080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 45ms (Views: 44.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e67735330986090000'), "name"=>"Linnie Wunsch", "reference"=>"Granville Grant", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms 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.3759ms Completed 200 OK in 7ms (Views: 6.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df90e677353309860a0000'), "name"=>"Tara Hintz V", "reference"=>"Kristina Vandervort", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4149ms Completed 200 OK in 7ms (Views: 6.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 44.5737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6132ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912077353309860b0000'), "name"=>"Nola Rutherford", "reference"=>"Mr. Jonatan Dibbert", "quantity"=>"2"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5762ms 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.6191ms Completed 200 OK in 5ms (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('53df912077353309860c0000'), "name"=>"Ms. Ona Grady", "reference"=>"Mr. Icie Hackett", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df912077353309860c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912077353309860c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912077353309860d0000'), "name"=>"Colten Muller", "reference"=>"Daron Runolfsdottir", "quantity"=>"4"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5362ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 33ms (Views: 8.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912077353309860f0000'), "name"=>"Mrs. Webster Pfeffer", "reference"=>"Loraine Nitzsche", "quantity"=>"0"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.1851ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df912077353309860f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912077353309860f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms 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('53df91207735330986100000'), "name"=>"Dr. Frederik Nolan", "reference"=>"Cooper Gerlach", "quantity"=>"7"}] 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.2676ms 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('53df91207735330986110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2860ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df91207735330986120000'), "name"=>"Ransom Luettgen Sr.", "reference"=>"Francisco Jenkins", "quantity"=>"5"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df91207735330986120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df91207735330986120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df91207735330986120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms 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('53df91207735330986130000'), "name"=>"Ayden Hammes", "reference"=>"Mr. Christine Heller", "quantity"=>"6"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms 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('53df91207735330986150000'), "name"=>"Gail Buckridge MD", "reference"=>"Tania Gerhold", "quantity"=>"3"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df91207735330986150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df91207735330986150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df91207735330986150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms 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('53df91207735330986160000'), "name"=>"Mr. Devin Wolff", "reference"=>"Dorris Friesen", "quantity"=>"8"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df91207735330986160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df91207735330986160000')} 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('53df91207735330986160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Redirected to http://test.host/products/53df91207735330986160000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5263ms 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.4277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms 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.3709ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms 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.4441ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5000000'), "name"=>"Dr. Raymundo Borer", "reference"=>"Candido Green", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5877ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5010000'), "name"=>"Taylor McClure", "reference"=>"Ara Jast", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5020000'), "name"=>"Adelle Flatley", "reference"=>"Ms. Carmela Goldner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5030000'), "name"=>"Myriam Mertz", "reference"=>"Kaleigh Ratke", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5040000'), "name"=>"Eriberto Morar", "reference"=>"Alivia Wuckert", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5050000'), "name"=>"Ruben Maggio", "reference"=>"Austin Nienow", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1894ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.1619ms Redirected to http://test.host/products/53df912277353309b5060000 Completed 302 Found in 23ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5290ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5070000'), "name"=>"Eleanora Sawayn", "reference"=>"Isaias Jast", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7292ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4364ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df912277353309b5070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912277353309b5070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912277353309b5070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5967ms 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.3371ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5080000'), "name"=>"Mrs. Christelle Murray", "reference"=>"Americo Zulauf", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df912277353309b5080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912277353309b5080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (9.6ms) Completed 200 OK in 72ms (Views: 69.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b5090000'), "name"=>"Dustin Upton DDS", "reference"=>"Miss Alexis Greenfelder", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2417ms 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.4441ms Completed 200 OK in 11ms (Views: 9.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912277353309b50a0000'), "name"=>"Haylie Strosin", "reference"=>"Elna Wisozk", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5214ms Completed 200 OK in 9ms (Views: 8.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6308ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b50b0000'), "name"=>"Miss Beth Ziemann", "reference"=>"Mazie Reilly", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6184ms 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.6755ms Completed 200 OK in 50ms (Views: 45.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b50c0000'), "name"=>"Carroll Senger", "reference"=>"Alvera Durgan", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5999ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df912877353309b50c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b50c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b50d0000'), "name"=>"Rosemarie Bosco", "reference"=>"Desmond Mueller", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 29ms (Views: 6.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b50f0000'), "name"=>"Maude Kertzmann", "reference"=>"Alfreda Hudson DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.6828ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df912877353309b50f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b50f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms Completed 200 OK in 5ms (Views: 3.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b5100000'), "name"=>"Austin Stiedemann", "reference"=>"Ms. Bart Hamill", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2196ms 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('53df912877353309b5110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912877353309b5120000'), "name"=>"Jackie Ondricka", "reference"=>"Dashawn Moore V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df912877353309b5120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b5120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b5120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms 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('53df912877353309b5130000'), "name"=>"Pierce Cormier III", "reference"=>"Judd Bogisich", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms 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('53df912877353309b5150000'), "name"=>"Aniyah Stroman", "reference"=>"Aaron Oberbrunner", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df912877353309b5150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b5150000')} 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('53df912877353309b5150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms 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('53df912877353309b5160000'), "name"=>"Misty Spinka", "reference"=>"Raymond Glover II", "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"=>"53df912877353309b5160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912877353309b5160000')} 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('53df912877353309b5160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms Redirected to http://test.host/products/53df912877353309b5160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms 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.4203ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms 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.3781ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms 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.4380ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3000000'), "name"=>"Claud Goldner", "reference"=>"Mrs. Angelina Buckridge", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3010000'), "name"=>"Pearline Smith", "reference"=>"Joanne Von", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3020000'), "name"=>"Mozelle Lesch", "reference"=>"Sandy Harris", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3030000'), "name"=>"Myles Stehr DDS", "reference"=>"Kyle Kilback", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3040000'), "name"=>"Mara Douglas", "reference"=>"Otto Schumm", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3050000'), "name"=>"Wilfred Orn", "reference"=>"Aryanna Grimes", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1898ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms Redirected to http://test.host/products/53df912f77353309e3060000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1430ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3070000'), "name"=>"Raphael Cormier", "reference"=>"Gust Stracke", "quantity"=>3}] 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.1295ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df912f77353309e3070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms 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.1370ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3080000'), "name"=>"Fritz Aufderhar", "reference"=>"Anahi Cremin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df912f77353309e3080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 46ms (Views: 44.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3090000'), "name"=>"Colby Powlowski", "reference"=>"Elwin Schuster", "quantity"=>3}] 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.3542ms Completed 200 OK in 7ms (Views: 7.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e30a0000'), "name"=>"Dixie Ankunding", "reference"=>"Mr. Mercedes Quigley", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms Completed 200 OK in 7ms (Views: 6.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e30b0000'), "name"=>"Hattie Labadie", "reference"=>"Stephania Mayert", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms 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.2713ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e30c0000'), "name"=>"Philip Cremin V", "reference"=>"Winifred Kuhn", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df912f77353309e30c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms 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('53df912f77353309e30d0000'), "name"=>"Lindsey Rowe", "reference"=>"Kara Batz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 17ms (Views: 4.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e30f0000'), "name"=>"Luz Leffler", "reference"=>"Augustus VonRueden", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df912f77353309e30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3100000'), "name"=>"Isaias Runolfsson", "reference"=>"Vern Ledner", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1264ms 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('53df912f77353309e3110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms Completed 201 Created in 2ms (Views: 0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1742ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df912f77353309e3120000'), "name"=>"Tad Heaney DDS", "reference"=>"Gilda Gorczany Jr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df912f77353309e3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms 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('53df912f77353309e3130000'), "name"=>"Jerad Dickens", "reference"=>"Ms. Don Brown", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms 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('53df912f77353309e3150000'), "name"=>"Annalise Gerlach", "reference"=>"Mr. Barrett Graham", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df912f77353309e3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms 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('53df912f77353309e3160000'), "name"=>"Tyrell Hauck", "reference"=>"Terrence Miller I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df912f77353309e3160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df912f77353309e3160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms Redirected to http://test.host/products/53df912f77353309e3160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5552ms 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.4364ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5766ms 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.3805ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms 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.3829ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0000000'), "firstname"=>"Deontae", "lastname"=>"McCullough"}] 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=>"administrators", :query=>{}} runtime: 0.2750ms 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('53df967a7735330ee0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms 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.2795ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0020000'), "firstname"=>"Scot", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df967a7735330ee0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3437ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 48ms (Views: 46.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0030000'), "firstname"=>"Isabelle", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0040000'), "firstname"=>"Susana", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df967a7735330ee0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0050000'), "firstname"=>"Dayana", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df967a7735330ee0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms 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('53df967a7735330ee0060000'), "name"=>"Theo Nienow", "reference"=>"King O'Connell", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee0070000'), "author_name"=>"Giovanna Shields DDS", "content"=>["Sint ea alias placeat dolore fuga. Optio qui consectetur quas veniam. Maiores itaque rerum ducimus inventore ipsum sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df967a7735330ee0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df967a7735330ee0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Redirected to http://test.host/admin/products/53df967a7735330ee0060000/comments/53df967a7735330ee0080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0090000'), "name"=>"Leda Kuhn", "reference"=>"Isadore Gibson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee00a0000'), "author_name"=>"Ezekiel King", "content"=>["Culpa ut nihil laboriosam. Quis non sed laudantium aliquam. Ipsa minima quia optio alias. Voluptas placeat qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df967a7735330ee0090000", "id"=>"53df967a7735330ee00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df967a7735330ee00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms Redirected to http://test.host/admin/products/53df967a7735330ee0090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee00b0000'), "name"=>"Sigrid Greenfelder II", "reference"=>"Miss Vivien Lubowitz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee00c0000'), "author_name"=>"Anita Feeney MD", "content"=>["Occaecati dolor quasi odit. Aut vero cum corrupti. Sit consequatur laborum omnis autem aut ipsa dolorem. Suscipit id ut tempora similique fugiat eos nihil. Labore autem voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df967a7735330ee00b0000", "id"=>"53df967a7735330ee00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee00b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4424ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee00d0000'), "name"=>"Belle Emard II", "reference"=>"Ellie Parisian Sr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee00e0000'), "author_name"=>"Melisa Sporer III", "content"=>["Tenetur dolores nesciunt sit aliquid. Repellendus occaecati nisi neque autem. Accusamus itaque nobis. Et officia odio velit. A qui quis et ullam vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3659ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df967a7735330ee00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4192ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee00f0000'), "name"=>"Maximillia Armstrong DVM", "reference"=>"Jeramy Herman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee0100000'), "author_name"=>"Kathleen Quitzon", "content"=>["Ex consequatur quisquam labore dolores doloribus sed. Nam eaque alias enim ut eos. Sit omnis et veritatis. Aut expedita doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5773ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df967a7735330ee00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4002ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0110000'), "name"=>"Iliana Mann", "reference"=>"Dr. Mara Yost", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee0120000'), "author_name"=>"Oscar Dooley II", "content"=>["In quasi dicta consequatur consectetur dolores sequi. Qui voluptas minus. Velit rerum qui rem excepturi consequatur veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5857ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df967a7735330ee0110000", "id"=>"53df967a7735330ee0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0130000'), "name"=>"Dr. Kariane Bernhard", "reference"=>"Else Feest", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df967a7735330ee0140000'), "author_name"=>"Verna Spencer DDS", "content"=>["Ipsa ea qui officia incidunt. Quia est in optio enim tempora minima quam. Et tenetur voluptatem quam consequatur. Error quos dicta consequatur quia a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6309ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df967a7735330ee0140000", "product_id"=>"53df967a7735330ee0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0130000'), "comments._id"=>BSON::ObjectId('53df967a7735330ee0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7735ms Redirected to http://test.host/admin/products/53df967a7735330ee0130000/comments/53df967a7735330ee0140000 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('53df967a7735330ee0150000'), "name"=>"Nellie Welch", "reference"=>"Liam Tremblay", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee0160000'), "firstname"=>"Aliyah", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5924ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df967a7735330ee0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5182ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Redirected to http://test.host/admin/products/53df967a7735330ee0150000/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('53df967a7735330ee0180000'), "name"=>"Miss Manley Dare", "reference"=>"Flavio Zulauf PhD", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee0190000'), "firstname"=>"Doug", "lastname"=>"Strosin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df967a7735330ee0190000", "product_id"=>"53df967a7735330ee0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4353ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee01a0000'), "name"=>"Mr. Lulu Prohaska", "reference"=>"Morton Krajcik", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee01b0000'), "firstname"=>"Lynn", "lastname"=>"Franecki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5839ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df967a7735330ee01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee01a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee01c0000'), "name"=>"Gust Olson", "reference"=>"Eugenia Harvey DVM", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee01d0000'), "firstname"=>"Stella", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df967a7735330ee01d0000", "product_id"=>"53df967a7735330ee01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee01e0000'), "name"=>"Renee Dicki", "reference"=>"Trey Brekke", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df967a7735330ee01f0000'), "firstname"=>"Lonie", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df967a7735330ee01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df967a7735330ee01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df967a7735330ee01e0000/manager 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('53df967a7735330ee0200000'), "name"=>"Dr. Ivory McGlynn", "reference"=>"Miss Britney Mertz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5561ms 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('53df967a7735330ee0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6009ms Redirected to http://test.host/admin/products/53df967a7735330ee0210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3239ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0220000'), "name"=>"Stanley Kovacek", "reference"=>"Buddy Batz", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3462ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df967a7735330ee0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms 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.3150ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0230000'), "name"=>"Dr. Alycia Wiza", "reference"=>"Harold Rogahn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df967a7735330ee0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0240000'), "name"=>"Madie Maggio", "reference"=>"Karlie Wiegand", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms 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.6547ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0250000'), "name"=>"Ellen Homenick", "reference"=>"Zoila Stoltenberg", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('53df967a7735330ee0280000'), "name"=>"Ruben Vandervort III", "reference"=>"Mr. Nigel Murphy", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df967a7735330ee0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0290000'), "name"=>"Brooke Howell", "reference"=>"Alayna Altenwerth", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df967a7735330ee0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967a7735330ee0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5028ms Redirected to http://test.host/admin/products/53df967a7735330ee0290000 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('53df967a7735330ee02a0000'), "firstname"=>"Adolf", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0619ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3080ms 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('53df967a7735330ee02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms Redirected to http://test.host/admin/users/53df967a7735330ee02b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3351ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee02c0000'), "firstname"=>"Marcelo", "lastname"=>"Champlin"}] 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=>"admin_users", :query=>{}} runtime: 0.2787ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df967a7735330ee02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967a7735330ee02c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967a7735330ee02c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms 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('53df967a7735330ee02d0000'), "firstname"=>"Conrad", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df967a7735330ee02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967a7735330ee02d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee02e0000'), "firstname"=>"Piper", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms 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.3231ms 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('53df967a7735330ee02f0000'), "firstname"=>"Quentin", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0300000'), "firstname"=>"Annette", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df967a7735330ee0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967a7735330ee0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0310000'), "firstname"=>"Rusty", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df967a7735330ee0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967a7735330ee0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df967a7735330ee0310000 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('53df967a7735330ee0320000'), "firstname"=>"Celine", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5985ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3024ms 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('53df967a7735330ee0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms 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.3330ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0340000'), "firstname"=>"Jaiden", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df967a7735330ee0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0350000'), "firstname"=>"Hanna", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0360000'), "firstname"=>"Adell", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2061ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df967a7735330ee0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0370000'), "firstname"=>"Ally", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df967a7735330ee0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df967a7735330ee0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0380000'), "name"=>"Mr. Cletus Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0390000'), "name"=>"Deven Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03a0000'), "name"=>"Hettie Kshlerin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03b0000'), "name"=>"Fabian Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03c0000'), "name"=>"Consuelo Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03d0000'), "name"=>"Jamar West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03e0000'), "name"=>"Mrs. Garrick D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee03f0000'), "name"=>"Anastasia Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0400000'), "name"=>"Dudley Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0410000'), "name"=>"Dariana Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0420000'), "name"=>"Hillard Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0430000'), "name"=>"Alex Dibbert III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0440000'), "name"=>"Dr. Shawna Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0450000'), "name"=>"Felicia Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0460000'), "name"=>"Gladyce Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0470000'), "name"=>"Trisha Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0480000'), "name"=>"Beth Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0490000'), "name"=>"Ignacio Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04a0000'), "name"=>"Darrell Connelly"}] 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={"category_id"=>BSON::ObjectId('53df967a7735330ee04a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04b0000'), "name"=>"Britney Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee04b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04c0000'), "name"=>"Dovie Volkman Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee04c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04d0000'), "name"=>"Joshua Harris I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee04d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04e0000'), "name"=>"Jairo Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee04e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee04f0000'), "name"=>"Ms. Clemmie Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee04f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0500000'), "name"=>"Carmelo Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0510000'), "name"=>"Lina Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0520000'), "name"=>"Mossie Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0530000'), "name"=>"Tatyana Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0540000'), "name"=>"Concepcion Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0550000'), "name"=>"Bertha O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0560000'), "name"=>"Kirk Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0570000'), "name"=>"Madaline Lueilwitz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0580000'), "name"=>"Amaya Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0590000'), "name"=>"Dorthy Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05a0000'), "name"=>"Triston Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05b0000'), "name"=>"Lyric Frami II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05c0000'), "name"=>"Randal Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05d0000'), "name"=>"Franco Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05e0000'), "name"=>"Nettie Boehm MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee05f0000'), "name"=>"Roslyn Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee05f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0600000'), "name"=>"Dr. Hank Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0610000'), "name"=>"Vincenzo Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0620000'), "name"=>"Mrs. Bennie Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0630000'), "name"=>"Rosalyn Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0640000'), "name"=>"Millie Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0650000'), "name"=>"Adolph Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0660000'), "name"=>"Haylie Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0670000'), "name"=>"Jarrett Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0680000'), "name"=>"Christop Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0690000'), "name"=>"Araceli Farrell DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06a0000'), "name"=>"Mrs. Maynard Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06b0000'), "name"=>"Miss Maida Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06c0000'), "name"=>"Neal Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06d0000'), "name"=>"Barrett Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06e0000'), "name"=>"Hazle Von DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee06f0000'), "name"=>"Dorris Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0700000'), "name"=>"Kassandra Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0710000'), "name"=>"Dr. Trace Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0720000'), "name"=>"Tyree Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0730000'), "name"=>"Casimir Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0740000'), "name"=>"Cortez Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0750000'), "name"=>"Muhammad Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0760000'), "name"=>"Shea Dickens DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0770000'), "name"=>"Kaylee Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0780000'), "name"=>"Mr. Shania Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0790000'), "name"=>"Junius Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07a0000'), "name"=>"Mr. Sim Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07b0000'), "name"=>"Tre Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07c0000'), "name"=>"Novella Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07d0000'), "name"=>"Miss Danny Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07e0000'), "name"=>"Lawrence Gleason Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee07f0000'), "name"=>"Alessia Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee07f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0800000'), "name"=>"Brandyn McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0810000'), "name"=>"Margret Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0820000'), "name"=>"Llewellyn Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0830000'), "name"=>"Hollis Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0840000'), "name"=>"Gabriel Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0850000'), "name"=>"Mr. Eloise Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0860000'), "name"=>"Estell Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0870000'), "name"=>"Reginald Huels IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0880000'), "name"=>"Kennedi Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee0890000'), "name"=>"Shanon Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee0890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee08a0000'), "name"=>"Lulu Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee08a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee08b0000'), "name"=>"Mrs. Alva Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee08b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee08c0000'), "name"=>"Maximus Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee08c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee08d0000'), "name"=>"Tremaine Conroy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee08d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967a7735330ee08e0000'), "name"=>"Dulce Daugherty II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967a7735330ee08e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee08f0000'), "name"=>"Mustafa Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee08f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0900000'), "name"=>"Ms. Amaya Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0910000'), "name"=>"Lessie D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0920000'), "name"=>"Cierra Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0930000'), "name"=>"Titus Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0940000'), "name"=>"Diamond Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0950000'), "name"=>"Roxane Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0960000'), "name"=>"Guy Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0970000'), "name"=>"Agustin Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1692ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms Redirected to http://test.host/categories/53df967b7735330ee0980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1901ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0990000'), "name"=>"Raymundo O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1800ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df967b7735330ee0990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee0990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1947ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee09a0000'), "name"=>"Haylie Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df967b7735330ee09a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 9ms (Views: 8.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee09b0000'), "name"=>"Monroe Cremin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms Processing by CategoriesController#index as HTML Completed 500 Internal Server Error in 45ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee09c0000'), "name"=>"Jamil Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} Completed 500 Internal Server Error in 66ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee09d0000'), "name"=>"Kendall Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee09f0000'), "name"=>"Alda Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3191ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df967b7735330ee09f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4321ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0a00000'), "name"=>"Georgianna Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df967b7735330ee0a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df967b7735330ee0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Redirected to http://test.host/categories/53df967b7735330ee0a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0a10000'), "name"=>"Peter Stark", "reference"=>"Mr. Eugene Kilback", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0a20000'), "author_name"=>"Marco Ryan", "content"=>["Aut eius quae aliquid et rerum. Iure maiores maxime ea ducimus vel quaerat nam. Enim error praesentium doloremque sed et. Et aut ea est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df967b7735330ee0a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a10000')} 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('53df967b7735330ee0a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms Redirected to http://test.host/products/53df967b7735330ee0a10000/comments/53df967b7735330ee0a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0a40000'), "name"=>"Ella Herman", "reference"=>"Esmeralda Daugherty", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0a50000'), "author_name"=>"Mr. Barton Hintz", "content"=>["Eos nemo autem et id vitae. Ipsam deleniti iusto laboriosam eum sed. Quia error atque at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df967b7735330ee0a40000", "id"=>"53df967b7735330ee0a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a40000')} 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('53df967b7735330ee0a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms Redirected to http://test.host/products/53df967b7735330ee0a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0a60000'), "name"=>"Audie Hansen", "reference"=>"Anthony Dach", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0a70000'), "author_name"=>"Rex Harris", "content"=>["Et consequatur officia eum quo ipsam. Aperiam quia sed facilis eos numquam dolorem. Autem distinctio delectus suscipit. Aut alias nemo et non ut et voluptatibus. Eum temporibus praesentium dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df967b7735330ee0a60000", "id"=>"53df967b7735330ee0a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0a80000'), "name"=>"Evan Ankunding Jr.", "reference"=>"Halle Skiles MD", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0a90000'), "author_name"=>"Hertha Veum", "content"=>["Deleniti harum iste quaerat non. Voluptas sint sed ipsam ratione eos rem eum. Dolore atque dolor in. Quo eaque id hic accusantium vel et voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df967b7735330ee0a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0aa0000'), "name"=>"Bridie Hagenes", "reference"=>"Leif Kreiger", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ab0000'), "author_name"=>"Ms. Richard Stracke", "content"=>["Tempora quas mollitia minima rerum. Nulla pariatur qui eaque ullam. Facilis iste accusantium explicabo ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df967b7735330ee0aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0ac0000'), "name"=>"Fiona Heaney", "reference"=>"Garnett Spencer", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ad0000'), "author_name"=>"Gus Heller", "content"=>["Autem minus rerum fugiat nobis perspiciatis. Suscipit non cum quam animi recusandae libero id. Delectus ex quibusdam aut commodi ut et. Nostrum commodi quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df967b7735330ee0ac0000", "id"=>"53df967b7735330ee0ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0ae0000'), "name"=>"Gregg Murphy", "reference"=>"Jasper Brekke", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0af0000'), "author_name"=>"Dr. Elinor Harris", "content"=>["Laborum explicabo non velit. Commodi doloribus hic dignissimos occaecati qui. Quidem modi at qui soluta eos eveniet dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df967b7735330ee0ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3794ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b00000'), "name"=>"Katlynn Gislason III", "reference"=>"Alessia Hills", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0b10000'), "author_name"=>"Katheryn Cole DDS", "content"=>["Repellat aut id et qui voluptatibus tempora nihil. Laboriosam ut ex eaque error esse asperiores. Odit commodi illum molestiae atque at vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df967b7735330ee0b00000", "id"=>"53df967b7735330ee0b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b20000'), "name"=>"Hillard Thiel", "reference"=>"Herta Fritsch DDS", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0b30000'), "author_name"=>"Sebastian Wyman", "content"=>["Provident explicabo expedita corrupti. Totam similique et incidunt quam. Dolorem magnam nostrum ut ex amet voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df967b7735330ee0b30000", "product_id"=>"53df967b7735330ee0b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b20000'), "comments._id"=>BSON::ObjectId('53df967b7735330ee0b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms Redirected to http://test.host/products/53df967b7735330ee0b20000/comments/53df967b7735330ee0b30000 Completed 302 Found in 35ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b40000'), "firstname"=>"Gabriel", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1593ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Redirected to http://test.host/admin/clients/53df967b7735330ee0b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1922ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b60000'), "firstname"=>"Adelia", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms 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"=>"53df967b7735330ee0b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms 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.1819ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0b70000'), "firstname"=>"Camren", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df967b7735330ee0b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df967b7735330ee0b80000'), "firstname"=>"Jayden", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms 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('53df967b7735330ee0b90000'), "firstname"=>"Carmine", "lastname"=>"Pouros"}] 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.6ms) Completed 200 OK in 4ms (Views: 3.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0ba0000'), "firstname"=>"Monty", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df967b7735330ee0ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0bb0000'), "firstname"=>"Waylon", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df967b7735330ee0bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0bb0000')} 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('53df967b7735330ee0bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms Redirected to http://test.host/admin/clients/53df967b7735330ee0bb0000 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('53df967b7735330ee0bc0000'), "firstname"=>"Buddy", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1236ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms Redirected to http://test.host/clients/53df967b7735330ee0bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1330ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0be0000'), "firstname"=>"Dereck", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1259ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df967b7735330ee0be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms 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.1416ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0bf0000'), "firstname"=>"Hortense", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0555ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df967b7735330ee0bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms 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_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0c00000'), "firstname"=>"Bulah", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df967b7735330ee0c10000'), "firstname"=>"Hudson", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms 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('53df967b7735330ee0c20000'), "firstname"=>"Aiyana", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df967b7735330ee0c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms 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('53df967b7735330ee0c30000'), "firstname"=>"Oscar", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df967b7735330ee0c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms Redirected to http://test.host/clients/53df967b7735330ee0c30000 Completed 302 Found in 5ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0c40000'), "name"=>"Sierra Muller", "reference"=>"Ms. Wilburn Satterfield", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0c50000'), "firstname"=>"Carmel", "lastname"=>"Macejkovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df967b7735330ee0c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c40000')} 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('53df967b7735330ee0c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Redirected to http://test.host/products/53df967b7735330ee0c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0c70000'), "name"=>"Adrien Hayes", "reference"=>"Ms. Lottie Wyman", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0c80000'), "firstname"=>"Gilda", "lastname"=>"Labadie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df967b7735330ee0c80000", "product_id"=>"53df967b7735330ee0c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0c90000'), "name"=>"Kay Kemmer DDS", "reference"=>"Darius Ortiz", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0ca0000'), "firstname"=>"Brain", "lastname"=>"Ziemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df967b7735330ee0c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0c90000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0cb0000'), "name"=>"Oswaldo Daugherty", "reference"=>"Justyn Legros", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0cc0000'), "firstname"=>"Ed", "lastname"=>"Leannon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5216ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df967b7735330ee0cc0000", "product_id"=>"53df967b7735330ee0cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0cd0000'), "name"=>"Haylee Gottlieb I", "reference"=>"Kenya Anderson", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0ce0000'), "firstname"=>"Henriette", "lastname"=>"Huels"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df967b7735330ee0ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df967b7735330ee0cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms Unpermitted parameters: name Redirected to http://test.host/products/53df967b7735330ee0cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0cf0000'), "name"=>"Reina Jaskolski", "reference"=>"Eden Hoeger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d00000'), "name"=>"Jaqueline Pacocha", "reference"=>"Rhiannon Botsford", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d10000'), "name"=>"Mrs. Justine Hammes", "reference"=>"Alayna Hackett IV", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d20000'), "name"=>"Myrtice Huels", "reference"=>"Tom Beahan MD", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d30000'), "name"=>"Sidney Crist", "reference"=>"Miss Monserrat Hirthe", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d40000'), "name"=>"Ladarius Bogisich", "reference"=>"Juliet Gislason", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1261ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms Redirected to http://test.host/products/53df967b7735330ee0d50000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d60000'), "name"=>"Bryon Waelchi", "reference"=>"Tara Hermann", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1236ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df967b7735330ee0d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms 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.1363ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d70000'), "name"=>"Jules Kovacek", "reference"=>"Oda Bergstrom", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df967b7735330ee0d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d80000'), "name"=>"Pietro Mills", "reference"=>"Adalberto Feest", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms 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.6504ms Completed 200 OK in 20ms (Views: 19.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0d90000'), "name"=>"Elwyn Johns", "reference"=>"Maci Fay", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7941ms Completed 200 OK in 53ms (Views: 52.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9594ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0da0000'), "name"=>"Joany Fadel", "reference"=>"Elisabeth Flatley V", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms 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.7662ms Completed 200 OK in 5ms (Views: 1.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0db0000'), "name"=>"Christiana Schoen", "reference"=>"Nakia Stracke DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df967b7735330ee0db0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms 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('53df967b7735330ee0dc0000'), "name"=>"Kenna Zieme", "reference"=>"Mrs. Collin Wiza", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53df967b7735330ee0de0000'), "name"=>"Ruben Koch", "reference"=>"Mariana Rice", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df967b7735330ee0de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0df0000'), "name"=>"Brown Hauck", "reference"=>"Chesley King", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5183ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2030ms 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('53df967b7735330ee0e00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1445ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0e10000'), "name"=>"Ms. Jamaal Ortiz", "reference"=>"Delta Olson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df967b7735330ee0e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e10000')} 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('53df967b7735330ee0e10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms 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('53df967b7735330ee0e20000'), "name"=>"Merl Gleichner", "reference"=>"Richie Bernhard", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms 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('53df967b7735330ee0e40000'), "name"=>"Jerry Bailey", "reference"=>"Adam Morissette", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df967b7735330ee0e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms 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('53df967b7735330ee0e50000'), "name"=>"Wendy Heidenreich IV", "reference"=>"Holly Moore", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df967b7735330ee0e50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms Redirected to http://test.host/products/53df967b7735330ee0e50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0e80000'), "name"=>"Mrs. Darius McDermott", "reference"=>"Mrs. Gunnar Nolan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0e60000'), "author_name"=>"Madonna Pfannerstill", "content"=>["Et natus dolorem aut fugit. Animi temporibus beatae neque quo vel dicta perferendis. Tempore suscipit sed et numquam voluptates."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0e70000'), "author_name"=>"Janick Lehner III", "content"=>["Sed veritatis laborum maiores ea. Molestiae sed molestiae veritatis recusandae. Perferendis dolore similique quod aperiam provident sed. A in libero quaerat. Ad qui placeat dolorum consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df967b7735330ee0e80000", "comment_id"=>"53df967b7735330ee0e60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e80000'), "comments._id"=>BSON::ObjectId('53df967b7735330ee0e60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0e90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Redirected to http://test.host/products/53df967b7735330ee0e80000/comments/53df967b7735330ee0e60000/comments/53df967b7735330ee0e90000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0ec0000'), "name"=>"Dr. Carissa Halvorson", "reference"=>"Bert Mueller", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ea0000'), "author_name"=>"Yessenia Wehner MD", "content"=>["Et temporibus maiores quae hic est voluptatem. Deserunt eveniet qui. Deleniti voluptatem et dolor alias. Quia aperiam velit at officia eligendi qui in. Rerum illum vel dicta delectus commodi fugit."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0eb0000'), "author_name"=>"Tyra Barrows", "content"=>["Omnis est possimus et consequuntur voluptatum. Sint ut quam in et eos magnam. Repellendus excepturi incidunt dolor impedit velit ut. Architecto quibusdam ut non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df967b7735330ee0ec0000", "comment_id"=>"53df967b7735330ee0ea0000", "id"=>"53df967b7735330ee0eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ec0000')} 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('53df967b7735330ee0ec0000'), "comments._id"=>BSON::ObjectId('53df967b7735330ee0ea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df967b7735330ee0eb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Redirected to http://test.host/products/53df967b7735330ee0ec0000/comments/53df967b7735330ee0ea0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0ef0000'), "name"=>"Reid Boyle", "reference"=>"Gillian Gottlieb", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ed0000'), "author_name"=>"Benedict Douglas", "content"=>["Quia expedita vero sit quo. Eveniet amet et. Qui nulla cumque aut odio. Non ea doloribus qui. Quis inventore dolores odit sunt earum dolorem tempora."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ee0000'), "author_name"=>"Sim Hackett", "content"=>["Qui aut non iste consequatur voluptatem qui doloremque. Aliquid dolorum est. Nam consequatur molestias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4551ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df967b7735330ee0ef0000", "comment_id"=>"53df967b7735330ee0ed0000", "id"=>"53df967b7735330ee0ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0f20000'), "name"=>"Tavares Wehner II", "reference"=>"Felicity Koepp", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f00000'), "author_name"=>"Ms. Pierce Heathcote", "content"=>["Sed eos ex voluptatibus. Nobis qui soluta repudiandae aliquam quae assumenda. Nesciunt non sunt temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f10000'), "author_name"=>"Easter Beier", "content"=>["Illum fuga laboriosam ex possimus. Est labore mollitia. Occaecati rerum et. Laboriosam est accusamus omnis. Incidunt molestias sequi sed temporibus voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df967b7735330ee0f20000", "comment_id"=>"53df967b7735330ee0f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0f50000'), "name"=>"Miss Americo Torp", "reference"=>"Loyce Smitham", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f30000'), "author_name"=>"Loyce Heller", "content"=>["Fuga earum pariatur quos. Dolorum cupiditate omnis. At impedit vel perspiciatis libero aut in. Illum suscipit vel in. Voluptatem quaerat sunt et mollitia ea magnam."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f40000'), "author_name"=>"Jayda Nikolaus DDS", "content"=>["Magnam nobis dolor qui accusamus. Id et quaerat nulla quo ut. Nam eos qui est qui delectus voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df967b7735330ee0f50000", "comment_id"=>"53df967b7735330ee0f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0f80000'), "name"=>"Odie Waters DDS", "reference"=>"Angus Runte", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f60000'), "author_name"=>"Melvin Stanton Jr.", "content"=>["Accusamus qui est vel amet qui molestias. Ab repudiandae quos ducimus. Ratione et suscipit sunt dolores quas. Hic quasi voluptatum consequatur fugit ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f70000'), "author_name"=>"Dr. Roscoe Considine", "content"=>["Est doloremque velit cupiditate sed nihil repudiandae. Consectetur consequuntur quas quia. Repellendus aut ducimus. Sunt debitis ut sed qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df967b7735330ee0f80000", "comment_id"=>"53df967b7735330ee0f60000", "id"=>"53df967b7735330ee0f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0fb0000'), "name"=>"Geovanny Labadie", "reference"=>"Arch Shields", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0f90000'), "author_name"=>"Odell Smitham IV", "content"=>["Minima temporibus quis omnis voluptatem et. Accusamus velit omnis quae quas fugiat et. Similique velit itaque sint occaecati voluptatem nam. Eos qui provident consectetur cumque consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0fa0000'), "author_name"=>"Dandre Wuckert", "content"=>["In aut illo eius fugiat. A ullam eligendi. Voluptates dolorem non quam temporibus. Ipsa est illo rerum adipisci hic veritatis. Nihil est alias numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df967b7735330ee0fb0000", "comment_id"=>"53df967b7735330ee0f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0fe0000'), "name"=>"Rafael Schoen Sr.", "reference"=>"Reymundo Aufderhar", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0fc0000'), "author_name"=>"Terrance Brown", "content"=>["Ea sint doloremque expedita quibusdam vero quis temporibus. Mollitia quo ut at quibusdam. Maxime natus harum ut ut itaque a ut. Voluptatem voluptatem nobis esse."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0fd0000'), "author_name"=>"Aurelie Rath", "content"=>["At hic quo voluptatum iure harum. Nulla enim animi. Rerum error eos deserunt mollitia. Illum magnam possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df967b7735330ee0fe0000", "comment_id"=>"53df967b7735330ee0fc0000", "id"=>"53df967b7735330ee0fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Completed 200 OK in 5ms (Views: 2.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0010100'), "name"=>"Kayden Klein", "reference"=>"Leola Skiles", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0ff0000'), "author_name"=>"Alan Bergstrom", "content"=>["Natus assumenda officia qui nulla qui. Ex consequatur architecto. Animi qui inventore. Vero modi sit quo. Ex est nesciunt soluta similique."], "comments"=>[{"_id"=>BSON::ObjectId('53df967b7735330ee0000100'), "author_name"=>"Clementina Kozey", "content"=>["Expedita sed possimus molestiae eligendi voluptatem dolorem sit. Quisquam molestiae dignissimos quos quaerat necessitatibus repellat nostrum. Laborum nesciunt sapiente at impedit enim id et. Autem est molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df967b7735330ee0000100", "product_id"=>"53df967b7735330ee0010100", "comment_id"=>"53df967b7735330ee0ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df967b7735330ee0010100'), "comments._id"=>BSON::ObjectId('53df967b7735330ee0ff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df967b7735330ee0000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Redirected to http://test.host/products/53df967b7735330ee0010100/comments/53df967b7735330ee0ff0000/comments/53df967b7735330ee0000100 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('53df967b7735330ee0020100'), "firstname"=>"Elton", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2727ms 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('53df967b7735330ee0030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms Redirected to http://test.host/users/53df967b7735330ee0030100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2805ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0040100'), "firstname"=>"Kellie", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2444ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df967b7735330ee0040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967b7735330ee0040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967b7735330ee0040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms 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('53df967b7735330ee0050100'), "firstname"=>"Humberto", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df967b7735330ee0050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967b7735330ee0050100')} 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) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0060100'), "firstname"=>"Alanis", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms 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.3440ms Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0070100'), "firstname"=>"Carissa", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms 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.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0080100'), "firstname"=>"Eulah", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df967b7735330ee0080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967b7735330ee0080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df967b7735330ee0090100'), "firstname"=>"Vilma", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df967b7735330ee0090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df967b7735330ee0090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms Unpermitted parameters: name Redirected to http://test.host/users/53df967b7735330ee0090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms 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.3168ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms 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.3120ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms 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.2785ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c000000'), "firstname"=>"Breanne", "lastname"=>"Wisoky"}] 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=>"administrators", :query=>{}} runtime: 0.2748ms 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('53df96987735330f0c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms 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.1919ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c020000'), "firstname"=>"Raymundo", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df96987735330f0c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 48ms (Views: 46.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c030000'), "firstname"=>"Ruthie", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c040000'), "firstname"=>"Eli", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df96987735330f0c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c050000'), "firstname"=>"Rosario", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df96987735330f0c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c050000')} 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('53df96987735330f0c060000'), "name"=>"Jaiden Cormier", "reference"=>"Hilma Barrows Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c070000'), "author_name"=>"Miss Destany Russel", "content"=>["Quisquam voluptatem earum consectetur animi consequatur. Doloremque aut voluptatibus accusamus. Et deserunt quis et et. Qui exercitationem cupiditate tempore aperiam ipsam nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96987735330f0c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4315ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96987735330f0c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2339ms Redirected to http://test.host/admin/products/53df96987735330f0c060000/comments/53df96987735330f0c080000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c090000'), "name"=>"Nellie Bartoletti", "reference"=>"Rosalinda Cummings", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c0a0000'), "author_name"=>"Mozell Glover", "content"=>["Ipsam sunt dolore. Officia dolorem officiis quo. Ratione dicta quia odio ea ut ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4054ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96987735330f0c090000", "id"=>"53df96987735330f0c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96987735330f0c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms Redirected to http://test.host/admin/products/53df96987735330f0c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c0b0000'), "name"=>"Alex Konopelski", "reference"=>"Hadley Hansen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c0c0000'), "author_name"=>"Dr. Elnora Shanahan", "content"=>["Numquam doloribus est ipsa. Rerum quaerat temporibus. Quod in non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df96987735330f0c0b0000", "id"=>"53df96987735330f0c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c0b0000')} 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 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c0d0000'), "name"=>"Deshaun Botsford", "reference"=>"Bernie Rau", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c0e0000'), "author_name"=>"Bennie Mann", "content"=>["Ad dolorum qui quisquam et ut cum. Sit cum soluta ipsam. Sed optio accusantium velit blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5881ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df96987735330f0c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4605ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c0f0000'), "name"=>"Mrs. Edgar Barton", "reference"=>"Sydni Osinski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c100000'), "author_name"=>"Jared Halvorson", "content"=>["Dignissimos debitis qui est incidunt in. Asperiores dolorem deserunt. Qui reiciendis placeat qui perferendis non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df96987735330f0c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c110000'), "name"=>"Kenyon Doyle", "reference"=>"Shane Shanahan", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c120000'), "author_name"=>"Carson Tillman", "content"=>["Et fugit modi. Qui repellendus illum. Sit eum odit quia molestiae quo omnis dolorum. Labore quia deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5628ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df96987735330f0c110000", "id"=>"53df96987735330f0c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c130000'), "name"=>"Tristin Schinner", "reference"=>"Janice Corwin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0c140000'), "author_name"=>"Dell Lemke", "content"=>["Laudantium a accusamus minima tempora ipsum molestiae nihil. Illum quisquam fugiat vel sit consectetur. Et voluptatem excepturi ipsum. Nobis ipsa distinctio. Mollitia laborum porro molestiae non tempora provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96987735330f0c140000", "product_id"=>"53df96987735330f0c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4097ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c130000'), "comments._id"=>BSON::ObjectId('53df96987735330f0c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6393ms Redirected to http://test.host/admin/products/53df96987735330f0c130000/comments/53df96987735330f0c140000 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('53df96987735330f0c150000'), "name"=>"Barrett Bashirian", "reference"=>"Mr. Alan Brown", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c160000'), "firstname"=>"Sherman", "lastname"=>"Effertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5469ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96987735330f0c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4799ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Redirected to http://test.host/admin/products/53df96987735330f0c150000/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('53df96987735330f0c180000'), "name"=>"Elaina Wyman", "reference"=>"Ms. Hans Weber", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c190000'), "firstname"=>"William", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df96987735330f0c190000", "product_id"=>"53df96987735330f0c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c1a0000'), "name"=>"Brayan Dicki", "reference"=>"Mrs. Stella Kilback", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c1b0000'), "firstname"=>"Sam", "lastname"=>"Kreiger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6943ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df96987735330f0c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c1c0000'), "name"=>"Jessyca Swift DVM", "reference"=>"Tyree Wolff", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c1d0000'), "firstname"=>"Merle", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df96987735330f0c1d0000", "product_id"=>"53df96987735330f0c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c1e0000'), "name"=>"Burnice Fay", "reference"=>"Lambert Balistreri", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96987735330f0c1f0000'), "firstname"=>"Godfrey", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5473ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df96987735330f0c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96987735330f0c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df96987735330f0c1e0000/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('53df96987735330f0c200000'), "name"=>"Lazaro Haley DVM", "reference"=>"Madeline Gottlieb", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5897ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3735ms 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('53df96987735330f0c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms Redirected to http://test.host/admin/products/53df96987735330f0c210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3513ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c220000'), "name"=>"Dagmar Ziemann", "reference"=>"Alexane Johnson I", "quantity"=>7}] 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.3232ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df96987735330f0c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms 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.3042ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c230000'), "name"=>"Joelle Lubowitz Sr.", "reference"=>"Elmo Towne", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df96987735330f0c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c240000'), "name"=>"Mya Witting", "reference"=>"Noemy Ryan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms 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.6500ms Completed 200 OK in 11ms (Views: 10.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c250000'), "name"=>"Torrey Adams MD", "reference"=>"Michel Schulist", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df96987735330f0c280000'), "name"=>"Mrs. Kamille Dietrich", "reference"=>"Juwan DuBuque", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df96987735330f0c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms 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('53df96987735330f0c290000'), "name"=>"Horacio Jerde", "reference"=>"Casandra Gutmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96987735330f0c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Redirected to http://test.host/admin/products/53df96987735330f0c290000 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('53df96987735330f0c2a0000'), "firstname"=>"Gerry", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5924ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2913ms 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('53df96987735330f0c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Redirected to http://test.host/admin/users/53df96987735330f0c2b0000 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('53df96987735330f0c2c0000'), "firstname"=>"Andreanne", "lastname"=>"Beahan"}] 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.3002ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df96987735330f0c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96987735330f0c2c0000')} 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('53df96987735330f0c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms 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.3057ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c2d0000'), "firstname"=>"Geraldine", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df96987735330f0c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96987735330f0c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c2e0000'), "firstname"=>"Quentin", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms 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.4756ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c2f0000'), "firstname"=>"Chesley", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c300000'), "firstname"=>"Thad", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df96987735330f0c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96987735330f0c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c310000'), "firstname"=>"Collin", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4946ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96987735330f0c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96987735330f0c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df96987735330f0c310000 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('53df96987735330f0c320000'), "firstname"=>"Brenda", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7031ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3459ms 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('53df96987735330f0c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5885ms 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.3373ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c340000'), "firstname"=>"Rodolfo", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df96987735330f0c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3793ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c350000'), "firstname"=>"Baron", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c360000'), "firstname"=>"Brandyn", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df96987735330f0c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Completed 200 OK in 3ms (Views: 2.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c370000'), "firstname"=>"Maeve", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5028ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df96987735330f0c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96987735330f0c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c380000'), "name"=>"Lowell Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c390000'), "name"=>"Claudia Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3a0000'), "name"=>"Priscilla Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3b0000'), "name"=>"Alvah Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3c0000'), "name"=>"Alexandria Denesik DDS"}] 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={"category_id"=>BSON::ObjectId('53df96987735330f0c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3d0000'), "name"=>"Dr. Giuseppe Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3e0000'), "name"=>"Arlie Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c3f0000'), "name"=>"Tremaine McCullough DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c400000'), "name"=>"Dante Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c410000'), "name"=>"Keyshawn Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c420000'), "name"=>"Evie Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c430000'), "name"=>"Rafaela Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c440000'), "name"=>"Rosalia Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c450000'), "name"=>"Dr. Nolan Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c460000'), "name"=>"Stan Bailey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c470000'), "name"=>"Sylvan Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c480000'), "name"=>"Elmer Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c490000'), "name"=>"Adeline Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4a0000'), "name"=>"Guido Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4b0000'), "name"=>"Wilson Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4c0000'), "name"=>"Dr. Mallie Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4d0000'), "name"=>"Ms. Bartholome Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4e0000'), "name"=>"Verna Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c4f0000'), "name"=>"Andy Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c500000'), "name"=>"Dr. Justina Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c510000'), "name"=>"Angus Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c520000'), "name"=>"Waldo Lindgren V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c530000'), "name"=>"Ms. Emmie O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c540000'), "name"=>"Lurline Predovic MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c550000'), "name"=>"Brook Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c560000'), "name"=>"Mrs. Quinn Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c570000'), "name"=>"Fabiola Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c580000'), "name"=>"Constantin Sauer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c590000'), "name"=>"Niko Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5a0000'), "name"=>"Kaela Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5b0000'), "name"=>"Golda Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5c0000'), "name"=>"Dee Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5d0000'), "name"=>"Aurelio Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5e0000'), "name"=>"Mrs. Henderson Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c5f0000'), "name"=>"Dr. Ofelia Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c600000'), "name"=>"Natalie Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c610000'), "name"=>"Noemie Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c620000'), "name"=>"Brody Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c630000'), "name"=>"Valentine Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c640000'), "name"=>"Eda Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c650000'), "name"=>"Raleigh Runolfsdottir Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c660000'), "name"=>"Fatima Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c670000'), "name"=>"Lexus Bogan III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c680000'), "name"=>"Lewis Gleason III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c690000'), "name"=>"Mrs. Julianne Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6a0000'), "name"=>"Abagail Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6b0000'), "name"=>"Savanah Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6c0000'), "name"=>"Antonette Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6d0000'), "name"=>"Elnora Stanton Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6e0000'), "name"=>"Freda Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c6f0000'), "name"=>"Miss Nelson Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c700000'), "name"=>"Gianni Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c710000'), "name"=>"Rashawn Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c720000'), "name"=>"Heath Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c730000'), "name"=>"Elmore Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c740000'), "name"=>"Adriel Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c750000'), "name"=>"Wilfredo Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c760000'), "name"=>"Angela Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c770000'), "name"=>"Vito Bernhard II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c780000'), "name"=>"Dana Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c790000'), "name"=>"Tessie Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7a0000'), "name"=>"Ellie Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7b0000'), "name"=>"Walter Rolfson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7c0000'), "name"=>"Omari Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7d0000'), "name"=>"Electa Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7e0000'), "name"=>"Ola Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c7f0000'), "name"=>"Mrs. Evans Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c800000'), "name"=>"Erwin Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c810000'), "name"=>"Evert Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c820000'), "name"=>"Llewellyn Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c830000'), "name"=>"Mrs. Walker Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c840000'), "name"=>"Lorenz Heathcote Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c850000'), "name"=>"Evalyn Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c860000'), "name"=>"Dejon Becker DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c870000'), "name"=>"Lemuel Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c880000'), "name"=>"Nayeli Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c890000'), "name"=>"Mr. Glennie Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8a0000'), "name"=>"Larissa Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8b0000'), "name"=>"Miracle Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8c0000'), "name"=>"Dr. Braden Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8d0000'), "name"=>"Ms. Madelyn Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8e0000'), "name"=>"Bridgette Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c8f0000'), "name"=>"Valentina Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c900000'), "name"=>"Casandra Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c910000'), "name"=>"Damian Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c920000'), "name"=>"Ms. Bell Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c930000'), "name"=>"Ms. Laury Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c940000'), "name"=>"Mr. Adrien Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c950000'), "name"=>"Christa Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c960000'), "name"=>"Terry Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c970000'), "name"=>"Angelina Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1883ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms Redirected to http://test.host/categories/53df96987735330f0c980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2025ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c990000'), "name"=>"Dario Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1933ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df96987735330f0c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0c990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5598ms Redirected to http://test.host/categories Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2109ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c9a0000'), "name"=>"Dr. Dylan Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df96987735330f0c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c9b0000'), "name"=>"Brianne Rath III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366040601508] runtime: 0.0886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2507ms Completed 200 OK in 15ms (Views: 14.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c9c0000'), "name"=>"Everette Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[366660852783] runtime: 0.0779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2303ms Completed 200 OK in 8ms (Views: 7.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c9d0000'), "name"=>"Maye Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0c9f0000'), "name"=>"Elroy Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df96987735330f0c9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96987735330f0ca00000'), "name"=>"Mr. Oliver Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df96987735330f0ca00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96987735330f0ca00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96987735330f0ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms Redirected to http://test.host/categories/53df96987735330f0ca00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0ca10000'), "name"=>"Lysanne Walsh", "reference"=>"Isabelle Kulas", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0ca20000'), "author_name"=>"Mrs. Ottilie Stiedemann", "content"=>["Voluptatem ea possimus id placeat. Facilis maxime repellat animi magnam repudiandae vero ut. Dolores eveniet blanditiis quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96987735330f0ca10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96987735330f0ca30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms Redirected to http://test.host/products/53df96987735330f0ca10000/comments/53df96987735330f0ca30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0ca40000'), "name"=>"Chauncey Stroman", "reference"=>"Lucas Stark", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0ca50000'), "author_name"=>"Alayna Quigley", "content"=>["Deleniti nobis harum quam doloribus ut sint. Alias autem ea eos et. Quo non ex expedita ut error odit qui. Consequatur velit itaque est adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96987735330f0ca40000", "id"=>"53df96987735330f0ca50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca40000')} 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('53df96987735330f0ca40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96987735330f0ca50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms Redirected to http://test.host/products/53df96987735330f0ca40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0ca60000'), "name"=>"Misael Cremin IV", "reference"=>"Kenneth Moore", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0ca70000'), "author_name"=>"Demarco Purdy", "content"=>["Voluptatem nobis dolor laudantium est nam assumenda quia. Voluptas explicabo quos omnis sit ea maxime tempore. Eum delectus ea aliquid earum similique amet. Doloribus unde aut eius perferendis quia eligendi ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df96987735330f0ca60000", "id"=>"53df96987735330f0ca70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96987735330f0ca80000'), "name"=>"Melany Heaney Sr.", "reference"=>"Patsy Boyer V", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96987735330f0ca90000'), "author_name"=>"Mrs. Grover Morissette", "content"=>["Consequatur incidunt architecto. Ut a est fugit harum voluptas suscipit quo. Non odio distinctio soluta neque qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9396ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df96987735330f0ca80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96987735330f0ca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6481ms Completed 200 OK in 60ms (Views: 56.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0caa0000'), "name"=>"Tyshawn Jakubowski", "reference"=>"Giuseppe Thompson Sr.", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cab0000'), "author_name"=>"Hortense Welch IV", "content"=>["Possimus cum neque eos. Est omnis laudantium magni delectus optio quis. Sit aperiam quia et ut exercitationem et commodi. Sed nesciunt praesentium quaerat ut libero consequatur magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6413ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df96997735330f0caa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0caa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4541ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cac0000'), "name"=>"Johnathan Klocko", "reference"=>"Vito Koss", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cad0000'), "author_name"=>"Samara Greenholt", "content"=>["Nostrum neque et quibusdam suscipit laboriosam maiores. Magni dolores fugiat vero qui. Possimus dolor in rerum enim at iste. Aut sapiente unde nulla assumenda sint. Eveniet aut eaque id consectetur occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5577ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df96997735330f0cac0000", "id"=>"53df96997735330f0cad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4574ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cae0000'), "name"=>"Jazlyn D'Amore", "reference"=>"Frances Oberbrunner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0caf0000'), "author_name"=>"Lisette Roob", "content"=>["Et at atque. Quam ut ratione sint animi. Incidunt atque tempore praesentium illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df96997735330f0cae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cb00000'), "name"=>"Mr. Jay Moore", "reference"=>"Courtney Rosenbaum", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cb10000'), "author_name"=>"Brandi Wyman", "content"=>["Accusantium et et perferendis eveniet nam. Consequatur in natus cum aut quas quo tempora. Est omnis incidunt. Ab voluptatem non iste cupiditate pariatur illum quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6148ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df96997735330f0cb00000", "id"=>"53df96997735330f0cb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4456ms Completed 200 OK in 6ms (Views: 3.1ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cb20000'), "name"=>"Andreane Torphy", "reference"=>"Carmen Huels", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cb30000'), "author_name"=>"Clotilde Heller", "content"=>["Sed quis aut ducimus. Ipsum nihil reprehenderit hic. Saepe quisquam magni est. Ut vel autem repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9648ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96997735330f0cb30000", "product_id"=>"53df96997735330f0cb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cb20000')} 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('53df96997735330f0cb20000'), "comments._id"=>BSON::ObjectId('53df96997735330f0cb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5206ms Redirected to http://test.host/products/53df96997735330f0cb20000/comments/53df96997735330f0cb30000 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('53df96997735330f0cb40000'), "firstname"=>"Carleton", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2976ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Redirected to http://test.host/admin/clients/53df96997735330f0cb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2985ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cb60000'), "firstname"=>"Deborah", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2647ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96997735330f0cb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms 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.2100ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cb70000'), "firstname"=>"Charlie", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96997735330f0cb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('53df96997735330f0cb80000'), "firstname"=>"Jazlyn", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms 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('53df96997735330f0cb90000'), "firstname"=>"Braxton", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms 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.7ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cba0000'), "firstname"=>"Buck", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96997735330f0cba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms 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('53df96997735330f0cbb0000'), "firstname"=>"Haley", "lastname"=>"Roob"}] 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"=>"53df96997735330f0cbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cbb0000')} 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('53df96997735330f0cbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Redirected to http://test.host/admin/clients/53df96997735330f0cbb0000 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('53df96997735330f0cbc0000'), "firstname"=>"Sabrina", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms 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('53df96997735330f0cbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms Redirected to http://test.host/clients/53df96997735330f0cbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1777ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cbe0000'), "firstname"=>"Serenity", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1657ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96997735330f0cbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cbe0000')} 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: 32.2997ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cbf0000'), "firstname"=>"Lamar", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96997735330f0cbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 8ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cc00000'), "firstname"=>"Yessenia", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms 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('53df96997735330f0cc10000'), "firstname"=>"Andrew", "lastname"=>"Schimmel"}] 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.7ms) 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('53df96997735330f0cc20000'), "firstname"=>"Chesley", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96997735330f0cc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cc30000'), "firstname"=>"Rowan", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96997735330f0cc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96997735330f0cc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Redirected to http://test.host/clients/53df96997735330f0cc30000 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('53df96997735330f0cc40000'), "name"=>"Mrs. Neil Kemmer", "reference"=>"Otto Terry", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0cc50000'), "firstname"=>"Dominique", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96997735330f0cc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0cc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms Redirected to http://test.host/products/53df96997735330f0cc40000/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('53df96997735330f0cc70000'), "name"=>"Granville Bednar", "reference"=>"Winnifred Bosco", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0cc80000'), "firstname"=>"Teagan", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df96997735330f0cc80000", "product_id"=>"53df96997735330f0cc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cc70000')} 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.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cc90000'), "name"=>"Genevieve White DDS", "reference"=>"Berniece Nienow", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0cca0000'), "firstname"=>"Ursula", "lastname"=>"Jacobs"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3581ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df96997735330f0cc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0ccb0000'), "name"=>"Chanelle Mosciski", "reference"=>"Adriel Corwin", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0ccc0000'), "firstname"=>"Myrtice", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df96997735330f0ccc0000", "product_id"=>"53df96997735330f0ccb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0ccd0000'), "name"=>"Mable Johnson MD", "reference"=>"Mrs. Wyatt Larkin", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96997735330f0cce0000'), "firstname"=>"Nayeli", "lastname"=>"McCullough"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df96997735330f0cce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96997735330f0ccd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Unpermitted parameters: name Redirected to http://test.host/products/53df96997735330f0ccd0000/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('53df96997735330f0ccf0000'), "name"=>"Dwight Spinka", "reference"=>"Jeanne Murray", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd00000'), "name"=>"Jennie Schmeler", "reference"=>"Pattie Dooley", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd10000'), "name"=>"Cristal Price", "reference"=>"Davonte Dickens", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd20000'), "name"=>"Delaney Zieme", "reference"=>"Evan Abbott", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd30000'), "name"=>"Edyth Rodriguez", "reference"=>"Carlee Bayer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd40000'), "name"=>"Dawson Legros", "reference"=>"Emanuel Conroy", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2008ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Redirected to http://test.host/products/53df96997735330f0cd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2112ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd60000'), "name"=>"Maude Donnelly", "reference"=>"Dagmar Heaney", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96997735330f0cd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cd60000')} 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('53df96997735330f0cd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms 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.1965ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd70000'), "name"=>"Willow Bode", "reference"=>"Ms. Jason Reichel", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96997735330f0cd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cd70000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd80000'), "name"=>"Dr. Jaylan Price", "reference"=>"Nicholaus Fisher", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 88ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cd90000'), "name"=>"Marcia Effertz", "reference"=>"Kailey Walsh", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} Completed 500 Internal Server Error in 77ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cda0000'), "name"=>"Beryl Morissette", "reference"=>"Miss Frederique Collins", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms 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.8973ms Completed 200 OK in 6ms (Views: 2.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cdb0000'), "name"=>"Alia Marks", "reference"=>"Helmer Morar", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4979ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96997735330f0cdb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms 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('53df96997735330f0cdc0000'), "name"=>"Mr. Spencer Jaskolski", "reference"=>"Gwendolyn Nikolaus", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cde0000'), "name"=>"Fannie Hahn", "reference"=>"Theodore Zemlak III", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5594ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96997735330f0cde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3822ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cdf0000'), "name"=>"Loren Kuhic DVM", "reference"=>"Larry Gulgowski", "quantity"=>1}] 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.2048ms 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('53df96997735330f0ce00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3021ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0ce10000'), "name"=>"Harley Tremblay", "reference"=>"Patience Marks", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96997735330f0ce10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms 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('53df96997735330f0ce20000'), "name"=>"Greta Waelchi", "reference"=>"Judy Hermiston DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms 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('53df96997735330f0ce40000'), "name"=>"Katarina Spinka", "reference"=>"Unique Kreiger", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96997735330f0ce40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce40000')} 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('53df96997735330f0ce40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms 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('53df96997735330f0ce50000'), "name"=>"Filomena Cole", "reference"=>"Elroy Upton", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96997735330f0ce50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms Redirected to http://test.host/products/53df96997735330f0ce50000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0ce80000'), "name"=>"Janiya Labadie", "reference"=>"Alva Stamm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0ce60000'), "author_name"=>"Jamey Weissnat", "content"=>["Qui et pariatur esse rem sint ipsum. Velit fuga occaecati suscipit. Voluptas cum qui voluptas. Iste consequatur blanditiis sapiente voluptatum perspiciatis quod et. Praesentium earum eum voluptatem asperiores."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0ce70000'), "author_name"=>"Adam Predovic", "content"=>["Dolores facere sapiente porro asperiores maiores itaque et. Sit adipisci sed consequatur voluptatum non perferendis omnis. Quisquam inventore quam dolore totam alias numquam. Ea et quaerat ab aliquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96997735330f0ce80000", "comment_id"=>"53df96997735330f0ce60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce80000'), "comments._id"=>BSON::ObjectId('53df96997735330f0ce60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96997735330f0ce90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7041ms Redirected to http://test.host/products/53df96997735330f0ce80000/comments/53df96997735330f0ce60000/comments/53df96997735330f0ce90000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0ce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4017ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cec0000'), "name"=>"Timmy Weissnat", "reference"=>"Enos Hahn II", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cea0000'), "author_name"=>"Jo Hammes V", "content"=>["Quia explicabo eligendi eos amet cum voluptas. Voluptatem voluptas inventore est hic neque illo iste. Eligendi placeat aspernatur mollitia praesentium ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0ceb0000'), "author_name"=>"Mae Kilback", "content"=>["Debitis quia nulla in voluptas ullam. Delectus omnis aut dolore. Aut quae quasi nemo molestias quia ex."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df96997735330f0cec0000", "comment_id"=>"53df96997735330f0cea0000", "id"=>"53df96997735330f0ceb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cec0000'), "comments._id"=>BSON::ObjectId('53df96997735330f0cea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96997735330f0ceb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6450ms Redirected to http://test.host/products/53df96997735330f0cec0000/comments/53df96997735330f0cea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cef0000'), "name"=>"Keon Moore", "reference"=>"Chaim Cremin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0ced0000'), "author_name"=>"Aileen Cormier", "content"=>["Ducimus excepturi doloremque voluptatum. Non debitis id velit. Consequuntur libero iusto amet. Voluptatem earum et error ipsam praesentium id eum. Autem velit et alias voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cee0000'), "author_name"=>"Monserrate Gusikowski DVM", "content"=>["Dolorem quaerat quia veniam qui consequuntur accusamus. Sed dolore atque qui eum deserunt voluptatem. Pariatur placeat facere. Voluptatem architecto adipisci reiciendis facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df96997735330f0cef0000", "comment_id"=>"53df96997735330f0ced0000", "id"=>"53df96997735330f0cee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4234ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cf20000'), "name"=>"Quinten Zieme", "reference"=>"Aliza McLaughlin", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf00000'), "author_name"=>"Mr. Mckayla Ferry", "content"=>["Repudiandae saepe facere odit minus tempora. Voluptas omnis ipsa. Voluptas rerum fuga ex. Ducimus ut amet cum corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf10000'), "author_name"=>"Sammie Sauer", "content"=>["Atque sunt hic suscipit ipsam quibusdam. Magni quasi eaque animi. Odio dolore autem fugiat. Unde blanditiis vitae quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df96997735330f0cf20000", "comment_id"=>"53df96997735330f0cf00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cf50000'), "name"=>"Paris Bernier", "reference"=>"Miss Stephan Runolfsdottir", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf30000'), "author_name"=>"Kraig Trantow", "content"=>["Autem voluptas a. Voluptates non distinctio id culpa. Ut voluptatem itaque voluptates velit inventore voluptatem. Exercitationem et cumque qui pariatur quidem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf40000'), "author_name"=>"Justen Smitham", "content"=>["Necessitatibus et commodi. Hic provident maiores voluptas autem. Eum nisi dolorem architecto ullam sit. Id illum iste blanditiis natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df96997735330f0cf50000", "comment_id"=>"53df96997735330f0cf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4247ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cf80000'), "name"=>"Mrs. Annabelle Bins", "reference"=>"Dameon Goodwin I", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf60000'), "author_name"=>"Trystan Weber Sr.", "content"=>["Iure quis odit quam magni at debitis. Reiciendis eos in. Nulla ut qui ut vitae molestiae. Sed nesciunt ad ducimus velit et."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf70000'), "author_name"=>"Miss Anabel Marquardt", "content"=>["Aliquid corrupti rem minima sint ut sit. Ab ratione nostrum incidunt animi. Est nihil explicabo laborum quod rerum. Similique nobis expedita omnis rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df96997735330f0cf80000", "comment_id"=>"53df96997735330f0cf60000", "id"=>"53df96997735330f0cf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cfb0000'), "name"=>"Emil Powlowski", "reference"=>"Rossie Daugherty", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cf90000'), "author_name"=>"Hermann Hegmann Jr.", "content"=>["Ipsum expedita molestias iure reprehenderit in temporibus eos. Hic eum recusandae. Quas odio aliquam nisi velit excepturi possimus."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cfa0000'), "author_name"=>"Britney Schulist", "content"=>["Sed tenetur assumenda deleniti vel magnam et aut. Cumque in sunt quam voluptatum rem. Iure eos voluptate. Aut ut consequatur quis aut. Similique cumque nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5200ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df96997735330f0cfb0000", "comment_id"=>"53df96997735330f0cf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0cfe0000'), "name"=>"Bo Aufderhar", "reference"=>"Lue Grant", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cfc0000'), "author_name"=>"Laurine Cummerata", "content"=>["Maiores dolores consequuntur dolorem optio ipsum. Voluptatum possimus exercitationem. Est laborum enim nam placeat tempore ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cfd0000'), "author_name"=>"Mr. Triston Mosciski", "content"=>["Voluptates praesentium aliquid ut quo. Ut nam voluptatum dolorem. Repellat deserunt quis iste iure vero eos. Qui omnis cum eos et consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df96997735330f0cfe0000", "comment_id"=>"53df96997735330f0cfc0000", "id"=>"53df96997735330f0cfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0cfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4158ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96997735330f0c010100'), "name"=>"Colt Gibson", "reference"=>"Arlie Ankunding", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0cff0000'), "author_name"=>"Melvin Ortiz I", "content"=>["Doloremque porro quia laboriosam vel adipisci. Hic dignissimos soluta vel suscipit. In fugiat quia officiis cupiditate consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('53df96997735330f0c000100'), "author_name"=>"Antwan Bosco", "content"=>["Accusamus ullam aspernatur illum porro animi quo. Quae esse ut laboriosam. Aut quia praesentium. Enim aut beatae porro amet et ut magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6062ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96997735330f0c000100", "product_id"=>"53df96997735330f0c010100", "comment_id"=>"53df96997735330f0cff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0c010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96997735330f0c010100'), "comments._id"=>BSON::ObjectId('53df96997735330f0cff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df96997735330f0c000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7542ms Redirected to http://test.host/products/53df96997735330f0c010100/comments/53df96997735330f0cff0000/comments/53df96997735330f0c000100 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('53df96997735330f0c020100'), "firstname"=>"Skye", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5932ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3097ms 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('53df96997735330f0c030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms Redirected to http://test.host/users/53df96997735330f0c030100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3094ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96997735330f0c040100'), "firstname"=>"Patrick", "lastname"=>"Daniel"}] 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=>"admin_users", :query=>{}} runtime: 0.3058ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df96997735330f0c040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96997735330f0c040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3655ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96997735330f0c040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms 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.2890ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96997735330f0c050100'), "firstname"=>"Wellington", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df96997735330f0c050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96997735330f0c050100')} 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.5ms) 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('53df96997735330f0c060100'), "firstname"=>"Sven", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms 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.4818ms Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96997735330f0c070100'), "firstname"=>"Liana", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96997735330f0c080100'), "firstname"=>"Audie", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df96997735330f0c080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96997735330f0c080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms 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('53df96997735330f0c090100'), "firstname"=>"Hallie", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96997735330f0c090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96997735330f0c090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms Unpermitted parameters: name Redirected to http://test.host/users/53df96997735330f0c090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5261ms 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.5550ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6675ms 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.5467ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7474ms 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.6494ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36000000'), "firstname"=>"Halle", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5418ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2794ms 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('53df96ac7735330f36010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms 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.3084ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36020000'), "firstname"=>"Darwin", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df96ac7735330f36020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 49ms (Views: 48.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36030000'), "firstname"=>"Marlon", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36040000'), "firstname"=>"Ibrahim", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df96ac7735330f36040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36050000'), "firstname"=>"Hipolito", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df96ac7735330f36050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms 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('53df96ac7735330f36060000'), "name"=>"Foster Schmeler MD", "reference"=>"Nikolas Dach", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f36070000'), "author_name"=>"Javon West", "content"=>["Nulla illum ut. Sed blanditiis et doloribus delectus iusto. Dolorem quod odit minus. Consectetur itaque ipsa aliquam dolor."]}]}] 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('53df96ac7735330f36060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96ac7735330f36060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3761ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ac7735330f36080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Redirected to http://test.host/admin/products/53df96ac7735330f36060000/comments/53df96ac7735330f36080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36090000'), "name"=>"Thora Ondricka", "reference"=>"Mrs. Katelin Cruickshank", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f360a0000'), "author_name"=>"Derrick Fadel", "content"=>["Consequatur aut dolores. Dolores esse consequatur. Laborum facilis voluptatibus sed ipsam aut aut explicabo. Inventore voluptatem id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96ac7735330f36090000", "id"=>"53df96ac7735330f360a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ac7735330f360a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Redirected to http://test.host/admin/products/53df96ac7735330f36090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f360b0000'), "name"=>"Mazie Simonis", "reference"=>"Mr. Consuelo Mraz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f360c0000'), "author_name"=>"Delores Cole", "content"=>["Dolorem quo assumenda quia repellendus culpa doloremque temporibus. Et quasi illo mollitia reiciendis quibusdam. Iusto est aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df96ac7735330f360b0000", "id"=>"53df96ac7735330f360c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f360b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 13ms (Views: 9.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f360d0000'), "name"=>"Gillian Gleichner", "reference"=>"Kenny Sipes", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f360e0000'), "author_name"=>"Weston Hermann", "content"=>["Id soluta aut minima. Qui itaque sed vel possimus libero quo cumque. Ut et facere. Deserunt similique eos enim. Consectetur nesciunt sed laudantium necessitatibus repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5810ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df96ac7735330f360d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f360d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3898ms Completed 200 OK in 8ms (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('53df96ac7735330f360f0000'), "name"=>"Miss Enos Donnelly", "reference"=>"Dedrick Quigley", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f36100000'), "author_name"=>"Uriah Hintz", "content"=>["Quia nostrum explicabo sed repudiandae aut. Ut omnis sint inventore et. Quia placeat minus sapiente. Qui consequatur fugiat sed et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df96ac7735330f360f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f360f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df96ac7735330f36110000'), "name"=>"Noble Lehner", "reference"=>"Earnestine Kihn PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f36120000'), "author_name"=>"Melissa Adams II", "content"=>["Praesentium incidunt perferendis. Temporibus quo ex ea. Ipsam unde est velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1864ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df96ac7735330f36110000", "id"=>"53df96ac7735330f36120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36130000'), "name"=>"Casandra Schultz", "reference"=>"Hiram Kohler", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96ac7735330f36140000'), "author_name"=>"Mrs. Kaley Auer", "content"=>["Reprehenderit perferendis eligendi cupiditate. Cupiditate quia culpa quisquam minima quasi voluptatibus quam. Et deserunt earum asperiores commodi ea dolores tempora. Qui sed ut sunt et ea ut. Molestias at est eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96ac7735330f36140000", "product_id"=>"53df96ac7735330f36130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36130000')} 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('53df96ac7735330f36130000'), "comments._id"=>BSON::ObjectId('53df96ac7735330f36140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5097ms Redirected to http://test.host/admin/products/53df96ac7735330f36130000/comments/53df96ac7735330f36140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36150000'), "name"=>"Eileen Langworth", "reference"=>"Cade Effertz", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f36160000'), "firstname"=>"Reyes", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96ac7735330f36150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f36170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms Redirected to http://test.host/admin/products/53df96ac7735330f36150000/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('53df96ac7735330f36180000'), "name"=>"Ova Kautzer", "reference"=>"Clyde Terry", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f36190000'), "firstname"=>"Letitia", "lastname"=>"Hauck"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df96ac7735330f36190000", "product_id"=>"53df96ac7735330f36180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 6.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f361a0000'), "name"=>"Kendra Beatty", "reference"=>"Mrs. Webster Gerlach", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f361b0000'), "firstname"=>"Oceane", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df96ac7735330f361a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f361a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f361c0000'), "name"=>"Matilde Weissnat", "reference"=>"Triston Quitzon", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f361d0000'), "firstname"=>"Kelsie", "lastname"=>"Adams"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df96ac7735330f361d0000", "product_id"=>"53df96ac7735330f361c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f361c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f361e0000'), "name"=>"Madonna Zemlak", "reference"=>"Lauren Schuppe", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df96ac7735330f361f0000'), "firstname"=>"Graham", "lastname"=>"Pfannerstill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5129ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df96ac7735330f361f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96ac7735330f361e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f361e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df96ac7735330f361e0000/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('53df96ac7735330f36200000'), "name"=>"Benton Wilderman", "reference"=>"Eden Padberg", "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.2690ms 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('53df96ac7735330f36210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms Redirected to http://test.host/admin/products/53df96ac7735330f36210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2518ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36220000'), "name"=>"Jaunita Friesen", "reference"=>"Joesph Nader", "quantity"=>6}] 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.1531ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df96ac7735330f36220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms 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.2598ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36230000'), "name"=>"Shanon Bauch", "reference"=>"Mr. Cooper Marvin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df96ac7735330f36230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36240000'), "name"=>"Janelle O'Conner", "reference"=>"Elyssa Mills Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms 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.5232ms Completed 200 OK in 12ms (Views: 11.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36250000'), "name"=>"Sophie Hammes", "reference"=>"Russell Gutmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36280000'), "name"=>"Tyrell Goodwin", "reference"=>"Jevon Stamm", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df96ac7735330f36280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms 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('53df96ac7735330f36290000'), "name"=>"Ms. Alfred Stark", "reference"=>"Thaddeus Halvorson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96ac7735330f36290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ac7735330f36290000')} 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('53df96ac7735330f36290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/admin/products/53df96ac7735330f36290000 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('53df96ac7735330f362a0000'), "firstname"=>"Maria", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1732ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1470ms 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('53df96ac7735330f362b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms Redirected to http://test.host/admin/users/53df96ac7735330f362b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2262ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f362c0000'), "firstname"=>"Orin", "lastname"=>"Tromp"}] 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=>"admin_users", :query=>{}} runtime: 0.2045ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df96ac7735330f362c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ac7735330f362c0000')} 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('53df96ac7735330f362c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms 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.1777ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f362d0000'), "firstname"=>"Nathan", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df96ac7735330f362d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ac7735330f362d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df96ac7735330f362e0000'), "firstname"=>"Kirstin", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms 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.2777ms 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('53df96ac7735330f362f0000'), "firstname"=>"Shanna", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36300000'), "firstname"=>"Obie", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df96ac7735330f36300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ac7735330f36300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36310000'), "firstname"=>"Jennie", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96ac7735330f36310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ac7735330f36310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df96ac7735330f36310000 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('53df96ac7735330f36320000'), "firstname"=>"Cedrick", "lastname"=>"Kutch"}] 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=>"administrators", :query=>{}} runtime: 0.1386ms 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('53df96ac7735330f36330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms 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.1545ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36340000'), "firstname"=>"Akeem", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df96ac7735330f36340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36340000')} 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 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36350000'), "firstname"=>"Cade", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36360000'), "firstname"=>"Johathan", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3770ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df96ac7735330f36360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36370000'), "firstname"=>"Marcelle", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df96ac7735330f36370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ac7735330f36370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36380000'), "name"=>"Ambrose Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36390000'), "name"=>"Jules Wisoky V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363a0000'), "name"=>"Octavia Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363b0000'), "name"=>"Dorothy Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363c0000'), "name"=>"Antwan O'Connell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363d0000'), "name"=>"Bernadine Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363e0000'), "name"=>"Wilford Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f363f0000'), "name"=>"Audie Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f363f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36400000'), "name"=>"Darryl Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36410000'), "name"=>"Katelynn Batz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36420000'), "name"=>"Christiana Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36430000'), "name"=>"Everette Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36440000'), "name"=>"Mitchel Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36450000'), "name"=>"Shawna Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36460000'), "name"=>"Roscoe Aufderhar II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36470000'), "name"=>"Iliana Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36480000'), "name"=>"Sigurd Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36490000'), "name"=>"Horacio Russel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364a0000'), "name"=>"Renee Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364b0000'), "name"=>"Mr. Antone Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364c0000'), "name"=>"Miss Reginald Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364d0000'), "name"=>"Mac Collier MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364e0000'), "name"=>"Mr. Kieran Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f364f0000'), "name"=>"Jovan Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f364f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36500000'), "name"=>"Frederic Heathcote V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36510000'), "name"=>"Samson Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36520000'), "name"=>"Rozella Paucek PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36530000'), "name"=>"Lyric Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36540000'), "name"=>"Vivienne Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36550000'), "name"=>"Rowena Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36560000'), "name"=>"Albert Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36570000'), "name"=>"Ubaldo Lockman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36580000'), "name"=>"Ms. Ericka Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36590000'), "name"=>"Mrs. Darion Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365a0000'), "name"=>"Kassandra McKenzie V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365b0000'), "name"=>"Esperanza McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365c0000'), "name"=>"Roberta Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365d0000'), "name"=>"Pearlie Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365e0000'), "name"=>"Deonte Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f365f0000'), "name"=>"Calista Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f365f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36600000'), "name"=>"Joan Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36610000'), "name"=>"Mya Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36620000'), "name"=>"Miss Ansley Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36630000'), "name"=>"Isabell Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36640000'), "name"=>"Laura Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36650000'), "name"=>"Jayson Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36660000'), "name"=>"Celestino Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36670000'), "name"=>"Oren Jones II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36680000'), "name"=>"Reuben Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36690000'), "name"=>"Dr. Dylan Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366a0000'), "name"=>"Carlos Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366b0000'), "name"=>"Mr. Connor O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366c0000'), "name"=>"Tevin Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366d0000'), "name"=>"Karli Waters MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366e0000'), "name"=>"Imogene Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f366f0000'), "name"=>"Shaylee Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f366f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36700000'), "name"=>"Mrs. Declan Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36710000'), "name"=>"Emmanuelle Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36720000'), "name"=>"Keara Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36730000'), "name"=>"Katlyn Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36740000'), "name"=>"Earnestine McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36750000'), "name"=>"Janelle Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36760000'), "name"=>"Miss Clyde Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36770000'), "name"=>"Kellen Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36780000'), "name"=>"Mr. Guiseppe Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36790000'), "name"=>"Luther McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367a0000'), "name"=>"Lenora Rippin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367b0000'), "name"=>"Kylee Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367c0000'), "name"=>"Beaulah Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367d0000'), "name"=>"Tod Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367e0000'), "name"=>"Dr. Dewayne Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f367f0000'), "name"=>"Isobel Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f367f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36800000'), "name"=>"Serenity Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36810000'), "name"=>"Finn Veum III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36820000'), "name"=>"Abigail Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36830000'), "name"=>"Jameson Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36840000'), "name"=>"Ricky Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36850000'), "name"=>"Skye Ankunding MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36860000'), "name"=>"Colt Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36870000'), "name"=>"Ms. Savannah Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36880000'), "name"=>"Pasquale DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36890000'), "name"=>"Dr. Mekhi Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368a0000'), "name"=>"Rylan Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368b0000'), "name"=>"Kelley White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368c0000'), "name"=>"Jolie Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368d0000'), "name"=>"Ellie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368e0000'), "name"=>"Eva Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f368f0000'), "name"=>"Maritza Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f368f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36900000'), "name"=>"Ottilie Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36910000'), "name"=>"Anika Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36920000'), "name"=>"Donna Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36930000'), "name"=>"Candice Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36940000'), "name"=>"Victoria Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36950000'), "name"=>"Patrick Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36960000'), "name"=>"Kirk Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36970000'), "name"=>"Shakira Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1295ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms Redirected to http://test.host/categories/53df96ac7735330f36980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1452ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f36990000'), "name"=>"Sim Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f36990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1296ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df96ac7735330f36990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ac7735330f36990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ac7735330f36990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1400ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ac7735330f369a0000'), "name"=>"Delbert Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f369a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df96ac7735330f369a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ac7735330f369a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ac7735330f369a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 9ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f369b0000'), "name"=>"Alan Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365407652230] runtime: 0.0838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1948ms Completed 200 OK in 15ms (Views: 14.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f369c0000'), "name"=>"Everardo Fay III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365906330702] runtime: 0.0832ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1927ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f369d0000'), "name"=>"Ottilie Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f369f0000'), "name"=>"Cecil Ondricka III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df96ad7735330f369f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ad7735330f369f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f369f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36a00000'), "name"=>"Jazlyn Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f36a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df96ad7735330f36a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ad7735330f36a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms Redirected to http://test.host/categories/53df96ad7735330f36a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36a10000'), "name"=>"Fanny Barrows", "reference"=>"Brad Tillman IV", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36a20000'), "author_name"=>"Mr. Brad Funk", "content"=>["Aperiam illo atque vero consequatur id commodi ut. Et eos ad. Voluptatem rerum eos ut libero. Tempore odio quisquam non et aliquid temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96ad7735330f36a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a10000')} 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('53df96ad7735330f36a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms Redirected to http://test.host/products/53df96ad7735330f36a10000/comments/53df96ad7735330f36a30000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36a40000'), "name"=>"Vincenzo Cartwright", "reference"=>"Ibrahim Heathcote", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36a50000'), "author_name"=>"Jarrell Gottlieb III", "content"=>["Saepe itaque beatae quia expedita. Dolores aperiam necessitatibus. Reiciendis minima occaecati provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96ad7735330f36a40000", "id"=>"53df96ad7735330f36a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms Redirected to http://test.host/products/53df96ad7735330f36a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36a60000'), "name"=>"Edwardo Wunsch", "reference"=>"Camylle Swift PhD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36a70000'), "author_name"=>"Uriel Beier", "content"=>["Qui sapiente iste recusandae voluptatem voluptate cumque. Quis ratione odit odio maxime voluptatibus repellendus saepe. Sit voluptas molestiae ipsam ipsa. Deserunt quidem culpa delectus eos. Minima rem esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df96ad7735330f36a60000", "id"=>"53df96ad7735330f36a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36a80000'), "name"=>"Erica Schroeder MD", "reference"=>"Robbie Williamson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36a90000'), "author_name"=>"Jamal Farrell", "content"=>["Voluptas dolorum et velit amet. Et aliquam tempora rerum odio voluptas sit. Sit dignissimos doloremque et aliquid ullam a. Culpa qui provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df96ad7735330f36a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Completed 200 OK in 37ms (Views: 35.5ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36aa0000'), "name"=>"Lauren Kris", "reference"=>"Boris Howell", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ab0000'), "author_name"=>"Fausto Wilkinson", "content"=>["Et ut est voluptatem. Aliquid nihil doloremque delectus voluptates veritatis. Quasi quidem placeat vel magnam. Recusandae maxime accusantium est qui fugiat. Qui eos dolore qui pariatur optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df96ad7735330f36aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36ac0000'), "name"=>"Mr. Lorenzo Yundt", "reference"=>"Dawson O'Reilly DDS", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ad0000'), "author_name"=>"Madilyn Gibson Jr.", "content"=>["Dignissimos qui explicabo dolore sunt et. Quaerat velit esse et. Placeat quibusdam facere at et laborum eaque laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df96ad7735330f36ac0000", "id"=>"53df96ad7735330f36ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36ae0000'), "name"=>"Krystel Powlowski V", "reference"=>"Gertrude Kutch", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36af0000'), "author_name"=>"Wyatt Hoeger", "content"=>["Minima dolores quas sequi rerum quo occaecati. Odit incidunt magni. Et ut alias non sed laborum nihil. Ut veniam aut laudantium ea ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2015ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df96ad7735330f36ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36b00000'), "name"=>"Mrs. Jocelyn Batz", "reference"=>"Gia Klein", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36b10000'), "author_name"=>"Magdalena Feeney", "content"=>["Ut dolores blanditiis dolorum hic quas sint. Omnis enim fugiat dolorum voluptate aliquid quas. Eveniet nam consequuntur. Occaecati blanditiis velit aspernatur facilis voluptatem. Animi iste maiores porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df96ad7735330f36b00000", "id"=>"53df96ad7735330f36b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36b20000'), "name"=>"Alvena Runolfsdottir", "reference"=>"Clemmie Ortiz V", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36b30000'), "author_name"=>"Jamir Hane", "content"=>["Ut nulla itaque labore sit. Et est dolores minima atque qui velit. Quae et ut aut sunt hic. Quaerat ab quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96ad7735330f36b30000", "product_id"=>"53df96ad7735330f36b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b20000'), "comments._id"=>BSON::ObjectId('53df96ad7735330f36b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Redirected to http://test.host/products/53df96ad7735330f36b20000/comments/53df96ad7735330f36b30000 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('53df96ad7735330f36b40000'), "firstname"=>"Bridget", "lastname"=>"Rowe"}] 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=>"clients", :query=>{}} runtime: 0.1341ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms Redirected to http://test.host/admin/clients/53df96ad7735330f36b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2016ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36b60000'), "firstname"=>"Agustin", "lastname"=>"Marks"}] 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=>"clients", :query=>{}} runtime: 0.1909ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96ad7735330f36b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms 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.1369ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36b70000'), "firstname"=>"Nettie", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96ad7735330f36b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df96ad7735330f36b80000'), "firstname"=>"Ali", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3602ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df96ad7735330f36b90000'), "firstname"=>"Valerie", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36ba0000'), "firstname"=>"Betsy", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96ad7735330f36ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36bb0000'), "firstname"=>"Jeramy", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96ad7735330f36bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms Redirected to http://test.host/admin/clients/53df96ad7735330f36bb0000 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('53df96ad7735330f36bc0000'), "firstname"=>"Selina", "lastname"=>"Shanahan"}] 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.1517ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1975ms Redirected to http://test.host/clients/53df96ad7735330f36bd0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2414ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36be0000'), "firstname"=>"Maxwell", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1425ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96ad7735330f36be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms Redirected to http://test.host/clients Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2931ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36bf0000'), "firstname"=>"Kirstin", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96ad7735330f36bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 7ms (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('53df96ad7735330f36c00000'), "firstname"=>"Mckayla", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms 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('53df96ad7735330f36c10000'), "firstname"=>"Brown", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms 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('53df96ad7735330f36c20000'), "firstname"=>"Dax", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96ad7735330f36c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms 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('53df96ad7735330f36c30000'), "firstname"=>"Vida", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96ad7735330f36c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Redirected to http://test.host/clients/53df96ad7735330f36c30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36c40000'), "name"=>"Dario Conroy", "reference"=>"Obie Gleichner I", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36c50000'), "firstname"=>"Lela", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96ad7735330f36c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Redirected to http://test.host/products/53df96ad7735330f36c40000/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('53df96ad7735330f36c70000'), "name"=>"Laurine Mosciski I", "reference"=>"Jadyn Murazik", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36c80000'), "firstname"=>"Anna", "lastname"=>"Marks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df96ad7735330f36c80000", "product_id"=>"53df96ad7735330f36c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36c90000'), "name"=>"Fay Parker", "reference"=>"Ms. Donnie Vandervort", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36ca0000'), "firstname"=>"Francisca", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8282ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df96ad7735330f36c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4493ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36cb0000'), "name"=>"Mrs. Benny Romaguera", "reference"=>"Miss Carmel Crona", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36cc0000'), "firstname"=>"Jody", "lastname"=>"Kuhn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5605ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df96ad7735330f36cc0000", "product_id"=>"53df96ad7735330f36cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36cd0000'), "name"=>"Marques Howell", "reference"=>"Winona Legros", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36ce0000'), "firstname"=>"Zion", "lastname"=>"Funk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5213ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df96ad7735330f36ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96ad7735330f36cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Unpermitted parameters: name Redirected to http://test.host/products/53df96ad7735330f36cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36cf0000'), "name"=>"Rolando Hudson", "reference"=>"Isaias Hagenes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d00000'), "name"=>"Mr. Earnest Roob", "reference"=>"Jerome Crona", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d10000'), "name"=>"Nikko Ernser", "reference"=>"Ivory Kilback II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d20000'), "name"=>"Amiya Little", "reference"=>"Arvel Hills MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d30000'), "name"=>"Melvin Jaskolski V", "reference"=>"Arely Jacobi", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d40000'), "name"=>"Dr. Uriel Toy", "reference"=>"Raphaelle Hilpert", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2182ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Redirected to http://test.host/products/53df96ad7735330f36d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2384ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d60000'), "name"=>"Lazaro Bruen", "reference"=>"Remington Brown", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2168ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96ad7735330f36d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms 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.1657ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d70000'), "name"=>"Alexa Steuber V", "reference"=>"Brielle Hodkiewicz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96ad7735330f36d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36d70000')} 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.2ms) Completed 200 OK in 7ms (Views: 6.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d80000'), "name"=>"Duncan Harber", "reference"=>"Delphine Breitenberg", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 77ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36d90000'), "name"=>"Johnathan Upton", "reference"=>"Mr. Alyce Hagenes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} Completed 500 Internal Server Error in 41ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36da0000'), "name"=>"Piper Blick", "reference"=>"Carter Rempel", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms 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.7038ms 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('53df96ad7735330f36db0000'), "name"=>"Tania Beier", "reference"=>"Anita Gaylord", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96ad7735330f36db0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms 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('53df96ad7735330f36dc0000'), "name"=>"Antoinette Kuhn", "reference"=>"Miss Heaven Swift", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df96ad7735330f36de0000'), "name"=>"Tom Lesch", "reference"=>"Mr. Ernestina Dare", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96ad7735330f36de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36df0000'), "name"=>"Dr. Herman Streich", "reference"=>"Lola Baumbach", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2528ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3275ms 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('53df96ad7735330f36e00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3514ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36e10000'), "name"=>"Verlie Mayert MD", "reference"=>"Daphney Pagac", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96ad7735330f36e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms 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('53df96ad7735330f36e20000'), "name"=>"Claudie Raynor", "reference"=>"Syble Lueilwitz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms 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('53df96ad7735330f36e40000'), "name"=>"Jace Ortiz", "reference"=>"Estefania Kulas", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96ad7735330f36e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3725ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms 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('53df96ad7735330f36e50000'), "name"=>"Trent Jacobi", "reference"=>"Mr. Clara Krajcik", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96ad7735330f36e50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Redirected to http://test.host/products/53df96ad7735330f36e50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36e80000'), "name"=>"Payton Walsh", "reference"=>"Layne Barrows", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36e60000'), "author_name"=>"Jonathon Volkman", "content"=>["Modi consequatur dolore quia error. Perspiciatis voluptatibus nihil. Commodi ut enim sapiente excepturi consequatur. Aliquam molestias quia. Enim omnis vitae velit et quidem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36e70000'), "author_name"=>"Mr. Ashleigh Christiansen", "content"=>["Unde alias repudiandae aut molestiae. Corporis blanditiis non eum quia ut. Tempora et aspernatur officiis dolorem et dolores molestiae. Perspiciatis et doloremque aliquid. Nulla voluptatum velit magni."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96ad7735330f36e80000", "comment_id"=>"53df96ad7735330f36e60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e80000'), "comments._id"=>BSON::ObjectId('53df96ad7735330f36e60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36e90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7174ms Redirected to http://test.host/products/53df96ad7735330f36e80000/comments/53df96ad7735330f36e60000/comments/53df96ad7735330f36e90000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36ec0000'), "name"=>"Sylvester Streich", "reference"=>"Romaine Ondricka", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ea0000'), "author_name"=>"Ubaldo Dicki", "content"=>["Odio amet rerum assumenda placeat. Consequatur dolorum porro hic ducimus ut non. Perspiciatis doloribus ea iusto a esse alias. Culpa omnis aspernatur. Error eaque aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36eb0000'), "author_name"=>"Alayna Hansen", "content"=>["Quibusdam vel magni molestiae voluptas dolorem est ut. Ut soluta libero tenetur in numquam blanditiis accusantium. Ut officiis illum. Accusantium temporibus tempora. Quia consequatur nam quas et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df96ad7735330f36ec0000", "comment_id"=>"53df96ad7735330f36ea0000", "id"=>"53df96ad7735330f36eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ec0000')} 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('53df96ad7735330f36ec0000'), "comments._id"=>BSON::ObjectId('53df96ad7735330f36ea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96ad7735330f36eb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6783ms Redirected to http://test.host/products/53df96ad7735330f36ec0000/comments/53df96ad7735330f36ea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36ef0000'), "name"=>"Miss Tia Spencer", "reference"=>"Art Williamson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ed0000'), "author_name"=>"Mr. Amalia Gerlach", "content"=>["Doloribus est nemo harum qui eos ut corporis. Voluptatum fugiat voluptatem quo et. Quas autem et omnis illum. Sint aut officia numquam labore et vel qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ee0000'), "author_name"=>"Chelsea Wintheiser", "content"=>["Soluta incidunt voluptatem perferendis possimus esse architecto consequatur. Iste qui maiores nesciunt eveniet natus et fugiat. Labore nihil ut quia architecto ut accusantium qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df96ad7735330f36ef0000", "comment_id"=>"53df96ad7735330f36ed0000", "id"=>"53df96ad7735330f36ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36f20000'), "name"=>"Daija Kertzmann", "reference"=>"Ocie O'Conner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f00000'), "author_name"=>"Unique Sawayn MD", "content"=>["Assumenda est nisi amet rem. Dignissimos inventore sequi a. A sequi unde. Eveniet et labore corporis asperiores expedita quae est."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f10000'), "author_name"=>"Rhianna Schiller", "content"=>["Rerum omnis quia sed. Dolore corrupti ex totam. Et autem maiores quod consequatur voluptates ut. Fugit placeat eveniet voluptatibus id quo repudiandae in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1885ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df96ad7735330f36f20000", "comment_id"=>"53df96ad7735330f36f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 6ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36f50000'), "name"=>"Miss Fabiola Mayer", "reference"=>"Mrs. Curt Torp", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f30000'), "author_name"=>"Vernie Torp", "content"=>["Magni nihil odit expedita vero sed non. Possimus laudantium rerum. Quis quod enim. Rem sed deleniti et sunt nam."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f40000'), "author_name"=>"Sharon Schmeler", "content"=>["Incidunt quidem dolorem eveniet. Quasi eligendi minus itaque. Odio rerum voluptas quidem non molestiae porro. Dolorem omnis cumque illo sit dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5622ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df96ad7735330f36f50000", "comment_id"=>"53df96ad7735330f36f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36f80000'), "name"=>"Anibal Sanford", "reference"=>"Afton Simonis", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f60000'), "author_name"=>"Solon Breitenberg", "content"=>["Nobis nemo eligendi autem. Hic sed quidem molestiae error earum eaque soluta. Natus quos hic ut esse. Aliquam minus magnam sed et quo molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f70000'), "author_name"=>"Eusebio Doyle", "content"=>["Dicta minima voluptas. At porro vitae animi veniam. Amet rerum laborum in qui cumque quae ex. Sed aperiam et. Maiores consectetur ut ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df96ad7735330f36f80000", "comment_id"=>"53df96ad7735330f36f60000", "id"=>"53df96ad7735330f36f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36fb0000'), "name"=>"Ms. Edgardo Nolan", "reference"=>"Bradley Becker", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36f90000'), "author_name"=>"Jewel Upton", "content"=>["Soluta facilis voluptates nihil. Qui culpa iusto aut expedita voluptatum ullam nostrum. Eius eligendi similique fuga provident consequatur exercitationem. Voluptatem id fuga beatae vitae eos hic voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36fa0000'), "author_name"=>"Emiliano Legros", "content"=>["Ullam quasi sit. Quis qui voluptatem qui sit beatae quia. Harum iste ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df96ad7735330f36fb0000", "comment_id"=>"53df96ad7735330f36f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36fe0000'), "name"=>"Miss Trinity Flatley", "reference"=>"Rossie Runte", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36fc0000'), "author_name"=>"Derick Hand", "content"=>["Et architecto odit praesentium quam earum. Deserunt nesciunt nihil inventore assumenda cumque aut incidunt. Explicabo adipisci suscipit. Laudantium et iusto eveniet omnis et."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36fd0000'), "author_name"=>"Ibrahim Gerlach", "content"=>["Earum accusantium ut aliquam beatae. Deleniti voluptas provident reprehenderit. Animi perspiciatis quos eaque aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df96ad7735330f36fe0000", "comment_id"=>"53df96ad7735330f36fc0000", "id"=>"53df96ad7735330f36fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36010100'), "name"=>"Bryce Walker", "reference"=>"Columbus Kub", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36ff0000'), "author_name"=>"Filomena Jacobs", "content"=>["Est blanditiis aliquid repudiandae nisi illum. Rerum et qui porro culpa qui sed. Odit sed cumque nam a et quis."], "comments"=>[{"_id"=>BSON::ObjectId('53df96ad7735330f36000100'), "author_name"=>"Noble Fritsch", "content"=>["Adipisci ut veniam eaque. Voluptas beatae est harum nostrum quidem praesentium. Aspernatur excepturi quisquam vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96ad7735330f36000100", "product_id"=>"53df96ad7735330f36010100", "comment_id"=>"53df96ad7735330f36ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ad7735330f36010100')} 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('53df96ad7735330f36010100'), "comments._id"=>BSON::ObjectId('53df96ad7735330f36ff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df96ad7735330f36000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Redirected to http://test.host/products/53df96ad7735330f36010100/comments/53df96ad7735330f36ff0000/comments/53df96ad7735330f36000100 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('53df96ad7735330f36020100'), "firstname"=>"Eleazar", "lastname"=>"Hermiston"}] 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.1865ms 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('53df96ad7735330f36030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms Redirected to http://test.host/users/53df96ad7735330f36030100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1990ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36040100'), "firstname"=>"Mathilde", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1836ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df96ad7735330f36040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ad7735330f36040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ad7735330f36040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms 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.1808ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36050100'), "firstname"=>"Alvis", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df96ad7735330f36050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ad7735330f36050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36060100'), "firstname"=>"Kellen", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms 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.3288ms Completed 200 OK in 41ms (Views: 40.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36070100'), "firstname"=>"Jadon", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36080100'), "firstname"=>"Ericka", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df96ad7735330f36080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ad7735330f36080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ad7735330f36090100'), "firstname"=>"Wilber", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96ad7735330f36090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ad7735330f36090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Unpermitted parameters: name Redirected to http://test.host/users/53df96ad7735330f36090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4715ms 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.4541ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7115ms 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.4010ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9592ms 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.3888ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e000000'), "firstname"=>"Crystal", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1903ms 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('53df96ba7735330f5e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms 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.2167ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e020000'), "firstname"=>"Coby", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) 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('53df96ba7735330f5e030000'), "firstname"=>"Mariela", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e040000'), "firstname"=>"Jammie", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e050000'), "firstname"=>"Ebba", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df96ba7735330f5e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms 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('53df96ba7735330f5e060000'), "name"=>"Orville Kemmer", "reference"=>"Kendall Armstrong", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e070000'), "author_name"=>"Bobby Lehner", "content"=>["Suscipit enim eveniet voluptate quos. Et totam optio voluptate. Debitis iusto consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96ba7735330f5e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e060000')} 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('53df96ba7735330f5e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms Redirected to http://test.host/admin/products/53df96ba7735330f5e060000/comments/53df96ba7735330f5e080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e090000'), "name"=>"Corrine Stokes PhD", "reference"=>"Reginald Murazik", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0a0000'), "author_name"=>"Vincenzo Lang", "content"=>["Et voluptas ducimus sunt sequi quia optio. Autem omnis dolorem quae aut laborum eum. Voluptatem quo eum vitae maxime libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96ba7735330f5e090000", "id"=>"53df96ba7735330f5e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Redirected to http://test.host/admin/products/53df96ba7735330f5e090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0b0000'), "name"=>"Yesenia Stroman MD", "reference"=>"Queen Bartoletti", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0c0000'), "author_name"=>"Alice Rau", "content"=>["Est saepe nemo pariatur quia ea. Officiis non nemo sint aut iusto hic sit. Ut voluptatem facere unde aut provident id aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df96ba7735330f5e0b0000", "id"=>"53df96ba7735330f5e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0d0000'), "name"=>"Ms. Raven Muller", "reference"=>"Rolando Nienow", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0e0000'), "author_name"=>"Elinor Donnelly", "content"=>["Veritatis est atque. Sunt laboriosam est reiciendis. Modi quia qui rem et praesentium ad iusto. Ut natus unde animi qui delectus et qui. Est sit recusandae autem tenetur maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df96ba7735330f5e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e0f0000'), "name"=>"Kaylie Stehr", "reference"=>"Charley Muller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e100000'), "author_name"=>"Jeromy Weimann", "content"=>["Corporis consequuntur provident odit labore consequatur et autem. Magni enim amet nihil et. Maiores quae sit omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df96ba7735330f5e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e110000'), "name"=>"Richard Quigley III", "reference"=>"Dr. Shyann Walker", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e120000'), "author_name"=>"Trey Schinner II", "content"=>["Aut dolor quaerat dolorem voluptas. Doloremque vitae iure. Qui vero corrupti ullam aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df96ba7735330f5e110000", "id"=>"53df96ba7735330f5e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e130000'), "name"=>"Kitty Osinski", "reference"=>"Jarret Wisoky PhD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5e140000'), "author_name"=>"Burdette Daniel V", "content"=>["Dolor rerum praesentium molestiae quia eveniet ad quasi. Consequatur ut voluptates reprehenderit adipisci eius reiciendis et. Aut labore autem sed. Dolor eius est fugiat eum natus veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96ba7735330f5e140000", "product_id"=>"53df96ba7735330f5e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e130000')} 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('53df96ba7735330f5e130000'), "comments._id"=>BSON::ObjectId('53df96ba7735330f5e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Redirected to http://test.host/admin/products/53df96ba7735330f5e130000/comments/53df96ba7735330f5e140000 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('53df96ba7735330f5e150000'), "name"=>"Karine Greenfelder", "reference"=>"Dr. Luigi Larkin", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e160000'), "firstname"=>"Lucy", "lastname"=>"Macejkovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96ba7735330f5e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms Redirected to http://test.host/admin/products/53df96ba7735330f5e150000/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('53df96ba7735330f5e180000'), "name"=>"Aniya Harber", "reference"=>"Nakia Hahn", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e190000'), "firstname"=>"Kaia", "lastname"=>"Dach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e190000", "product_id"=>"53df96ba7735330f5e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e180000')} 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.7ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e1a0000'), "name"=>"Mr. Colt McLaughlin", "reference"=>"Dr. Guy Wiza", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e1b0000'), "firstname"=>"Clovis", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df96ba7735330f5e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e1c0000'), "name"=>"Cortney Bernier", "reference"=>"Lavina Pfannerstill Sr.", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e1d0000'), "firstname"=>"Marielle", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e1d0000", "product_id"=>"53df96ba7735330f5e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e1e0000'), "name"=>"Miss Scarlett Witting", "reference"=>"Herta Bashirian", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df96ba7735330f5e1f0000'), "firstname"=>"Harvey", "lastname"=>"Sawayn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df96ba7735330f5e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96ba7735330f5e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df96ba7735330f5e1e0000/manager 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('53df96ba7735330f5e200000'), "name"=>"Breanne Robel", "reference"=>"Emelie Leuschke", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms 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('53df96ba7735330f5e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Redirected to http://test.host/admin/products/53df96ba7735330f5e210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1682ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e220000'), "name"=>"Vita Murphy", "reference"=>"Marquise Ryan", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.1488ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df96ba7735330f5e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms 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.1643ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e230000'), "name"=>"Oswaldo Nicolas DVM", "reference"=>"Mr. Leann Lebsack", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 7.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e240000'), "name"=>"Emerald O'Hara", "reference"=>"Mrs. Erna Towne", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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.4897ms Completed 200 OK in 12ms (Views: 11.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e250000'), "name"=>"Shaylee Reynolds", "reference"=>"Harmon Spencer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 19ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e280000'), "name"=>"Alice Hilpert", "reference"=>"Bianka Bashirian", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms 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('53df96ba7735330f5e290000'), "name"=>"Johnpaul Smith", "reference"=>"Narciso Watsica PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96ba7735330f5e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/admin/products/53df96ba7735330f5e290000 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('53df96ba7735330f5e2a0000'), "firstname"=>"Carmela", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1707ms 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('53df96ba7735330f5e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms Redirected to http://test.host/admin/users/53df96ba7735330f5e2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1687ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e2c0000'), "firstname"=>"Ian", "lastname"=>"Rosenbaum"}] 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=>"admin_users", :query=>{}} runtime: 0.1541ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df96ba7735330f5e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e2c0000')} 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('53df96ba7735330f5e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms 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.1543ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e2d0000'), "firstname"=>"Austyn", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms 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('53df96ba7735330f5e2e0000'), "firstname"=>"Thaddeus", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms 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.3003ms 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('53df96ba7735330f5e2f0000'), "firstname"=>"Margie", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e300000'), "firstname"=>"Conner", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms 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('53df96ba7735330f5e310000'), "firstname"=>"Kali", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96ba7735330f5e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df96ba7735330f5e310000 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('53df96ba7735330f5e320000'), "firstname"=>"Rodger", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3789ms 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('53df96ba7735330f5e330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6026ms 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.3648ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e340000'), "firstname"=>"Trenton", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 6.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e350000'), "firstname"=>"Russell", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e360000'), "firstname"=>"Melissa", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e370000'), "firstname"=>"Charlene", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df96ba7735330f5e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e380000'), "name"=>"Erin Abbott"}] 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={"category_id"=>BSON::ObjectId('53df96ba7735330f5e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e390000'), "name"=>"Francesca Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3a0000'), "name"=>"Marquis Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3b0000'), "name"=>"Greg Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3c0000'), "name"=>"Allen Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3d0000'), "name"=>"Jamil Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3e0000'), "name"=>"Stephen Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e3f0000'), "name"=>"Maye Rohan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e400000'), "name"=>"Mikel Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e410000'), "name"=>"Mabel Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e420000'), "name"=>"Miss Joshua Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e430000'), "name"=>"Stanford Friesen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e440000'), "name"=>"Erna Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e450000'), "name"=>"Abelardo Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e460000'), "name"=>"Blake Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e470000'), "name"=>"Minerva Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e480000'), "name"=>"Alda Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e490000'), "name"=>"Pat Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4a0000'), "name"=>"Catherine Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4b0000'), "name"=>"Jason Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4c0000'), "name"=>"Gregorio Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4d0000'), "name"=>"Hilbert Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4e0000'), "name"=>"Jessica Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e4f0000'), "name"=>"Rebeka Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e500000'), "name"=>"Liliana Metz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e510000'), "name"=>"Euna Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e520000'), "name"=>"Cesar Purdy Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e530000'), "name"=>"Stefan Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e540000'), "name"=>"Isabelle Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e550000'), "name"=>"Wilber Ondricka Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e560000'), "name"=>"Damian Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e570000'), "name"=>"Bernadette Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e580000'), "name"=>"Flavio Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e590000'), "name"=>"Delilah Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5a0000'), "name"=>"Madyson Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5b0000'), "name"=>"Eugene Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5c0000'), "name"=>"Cara Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5d0000'), "name"=>"Norene O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1956ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5e0000'), "name"=>"Itzel Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e5f0000'), "name"=>"Miss Claudia Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e600000'), "name"=>"Erna Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e610000'), "name"=>"Ada Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e620000'), "name"=>"Retha Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e630000'), "name"=>"Freda Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e640000'), "name"=>"Rick Moore DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e650000'), "name"=>"Jadyn Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e660000'), "name"=>"Austen Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e670000'), "name"=>"Stanley Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e680000'), "name"=>"Reid Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e690000'), "name"=>"Giovanna Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6a0000'), "name"=>"Kendrick Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6b0000'), "name"=>"Percy Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6c0000'), "name"=>"Miss Lola Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6d0000'), "name"=>"Maybell Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6e0000'), "name"=>"Juston Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e6f0000'), "name"=>"Rene Gusikowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e700000'), "name"=>"Miss Jerod O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e710000'), "name"=>"Gertrude Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e720000'), "name"=>"Dax Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e730000'), "name"=>"Myles Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e740000'), "name"=>"Joanne Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e750000'), "name"=>"Rick Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e760000'), "name"=>"Bell Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e770000'), "name"=>"Rico Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e780000'), "name"=>"Jamil Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e790000'), "name"=>"Lori Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7a0000'), "name"=>"Chance Becker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7b0000'), "name"=>"Sierra Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7c0000'), "name"=>"Johanna Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7d0000'), "name"=>"Edyth Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7e0000'), "name"=>"Flo Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e7f0000'), "name"=>"Sven Hane DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e800000'), "name"=>"Nettie Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e810000'), "name"=>"Mr. Loy Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e820000'), "name"=>"Norris Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e830000'), "name"=>"Johann Morar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e840000'), "name"=>"Ava Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e850000'), "name"=>"Dr. Buster Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e860000'), "name"=>"Fern Hane MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e870000'), "name"=>"Tobin Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e880000'), "name"=>"Deon Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e890000'), "name"=>"Mrs. Joy Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8a0000'), "name"=>"Miss Vena Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8b0000'), "name"=>"Sydnee Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8c0000'), "name"=>"Darwin Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8d0000'), "name"=>"Carley Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8e0000'), "name"=>"Miss Antwan Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e8f0000'), "name"=>"Justen Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e900000'), "name"=>"Amani Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.6848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e910000'), "name"=>"Cary Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e920000'), "name"=>"Rosendo Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e930000'), "name"=>"Titus Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e940000'), "name"=>"Mrs. Alejandrin Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e950000'), "name"=>"Robb Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e960000'), "name"=>"Miss Birdie Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e970000'), "name"=>"Ena Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1720ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms Redirected to http://test.host/categories/53df96ba7735330f5e980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1913ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e990000'), "name"=>"Victor McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1747ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df96ba7735330f5e990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1846ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e9a0000'), "name"=>"Keagan Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df96ba7735330f5e9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 9ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e9b0000'), "name"=>"Bette Kertzmann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365968348335] runtime: 0.0945ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2457ms Completed 200 OK in 15ms (Views: 14.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e9c0000'), "name"=>"Cora Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365355493321] runtime: 0.0771ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2123ms Completed 200 OK in 8ms (Views: 7.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e9d0000'), "name"=>"Mrs. Jimmie Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5e9f0000'), "name"=>"Rico Rippin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df96ba7735330f5e9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5ea00000'), "name"=>"Elvera Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df96ba7735330f5ea00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96ba7735330f5ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms Redirected to http://test.host/categories/53df96ba7735330f5ea00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96ba7735330f5ea10000'), "name"=>"Kade Welch", "reference"=>"Erich Braun", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96ba7735330f5ea20000'), "author_name"=>"Darius Hauck", "content"=>["Dicta dolorem officia non ipsa et eaque. Fugiat corporis quia. Soluta ab id quo maiores voluptates laborum. Tempora est recusandae consectetur modi debitis sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96ba7735330f5ea10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ea30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Redirected to http://test.host/products/53df96ba7735330f5ea10000/comments/53df96bb7735330f5ea30000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96ba7735330f5ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea40000'), "name"=>"Dustin Lebsack", "reference"=>"Arnulfo Hauck", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea50000'), "author_name"=>"Robert Crist", "content"=>["Vitae dolorem et quasi quia enim maiores omnis. A vel fugiat et quia. Eos qui non. Est officia impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96bb7735330f5ea40000", "id"=>"53df96bb7735330f5ea50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ea40000')} 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('53df96bb7735330f5ea40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ea50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Redirected to http://test.host/products/53df96bb7735330f5ea40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea60000'), "name"=>"Braxton Feeney", "reference"=>"Pete Spencer Sr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea70000'), "author_name"=>"Rosalia Feeney", "content"=>["Et dolorem deserunt eligendi quia dolor. Dolor assumenda fugit sapiente qui et. Sed modi est quis quam. Cupiditate illum neque. Qui sit aliquid temporibus minus quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df96bb7735330f5ea60000", "id"=>"53df96bb7735330f5ea70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ea60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea80000'), "name"=>"Bryana Kemmer IV", "reference"=>"Dion Jast", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ea90000'), "author_name"=>"Joan Orn", "content"=>["Necessitatibus dolorem et fugit in qui reiciendis voluptate. Id voluptas dolor eius sed velit nobis nulla. Repudiandae aliquid ab eveniet veritatis vero libero. Facilis vel modi. Repudiandae quae molestiae quidem quisquam numquam perspiciatis quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df96bb7735330f5ea80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms Completed 200 OK in 38ms (Views: 36.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eaa0000'), "name"=>"Ewald Schultz", "reference"=>"Dr. Conner Abernathy", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eab0000'), "author_name"=>"Collin Morar DDS", "content"=>["Aut reiciendis iure. Fugiat maiores quam suscipit ea. Dolor similique quos rerum saepe. Possimus omnis dicta. Tempora sit quam et omnis quod quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df96bb7735330f5eaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eac0000'), "name"=>"Mrs. Sherman Herzog", "reference"=>"Donny Stracke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ead0000'), "author_name"=>"Miss Dalton Ratke", "content"=>["Accusantium numquam eligendi aut laborum ipsa neque. Adipisci ut dolor. Saepe voluptatem qui minima ducimus dolor. Ut placeat error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df96bb7735330f5eac0000", "id"=>"53df96bb7735330f5ead0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eae0000'), "name"=>"Jaylen Langosh", "reference"=>"Tyreek Collier", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eaf0000'), "author_name"=>"Chanel Tillman Sr.", "content"=>["Nesciunt explicabo sint non facilis ducimus perferendis. At libero explicabo nesciunt. Rerum quisquam eligendi distinctio doloribus incidunt recusandae sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df96bb7735330f5eae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb00000'), "name"=>"Esmeralda Flatley", "reference"=>"Rosetta Hettinger Sr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb10000'), "author_name"=>"Adan Mann I", "content"=>["Est sed officiis tempora autem ratione cupiditate hic. Voluptas occaecati rem. Accusantium deleniti tempora occaecati est. Similique quo necessitatibus nesciunt ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7043ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df96bb7735330f5eb00000", "id"=>"53df96bb7735330f5eb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb20000'), "name"=>"Michale Lemke", "reference"=>"Hal Hickle", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb30000'), "author_name"=>"Mrs. Jaunita Conn", "content"=>["At quia quis consequatur ad culpa. Qui ab hic sed iure enim. Voluptas quidem ipsa. Veritatis mollitia optio reiciendis distinctio nemo debitis quo. Velit voluptatem est quam illum ut corporis odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96bb7735330f5eb30000", "product_id"=>"53df96bb7735330f5eb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eb20000'), "comments._id"=>BSON::ObjectId('53df96bb7735330f5eb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Redirected to http://test.host/products/53df96bb7735330f5eb20000/comments/53df96bb7735330f5eb30000 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('53df96bb7735330f5eb40000'), "firstname"=>"Tony", "lastname"=>"Cormier"}] 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.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('53df96bb7735330f5eb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms Redirected to http://test.host/admin/clients/53df96bb7735330f5eb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2065ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb60000'), "firstname"=>"Solon", "lastname"=>"Murray"}] 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.1766ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96bb7735330f5eb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eb60000')} 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('53df96bb7735330f5eb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms 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.1928ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eb70000'), "firstname"=>"Velva", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96bb7735330f5eb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('53df96bb7735330f5eb80000'), "firstname"=>"Junior", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms 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('53df96bb7735330f5eb90000'), "firstname"=>"Guy", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eba0000'), "firstname"=>"Colt", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96bb7735330f5eba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ebb0000'), "firstname"=>"Tabitha", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96bb7735330f5ebb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ebb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Redirected to http://test.host/admin/clients/53df96bb7735330f5ebb0000 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('53df96bb7735330f5ebc0000'), "firstname"=>"Gunnar", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2813ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ebd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Redirected to http://test.host/clients/53df96bb7735330f5ebd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1750ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ebe0000'), "firstname"=>"Tatyana", "lastname"=>"Ratke"}] 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.1824ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96bb7735330f5ebe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ebe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms 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.3811ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ebf0000'), "firstname"=>"Westley", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96bb7735330f5ebf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (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('53df96bb7735330f5ec00000'), "firstname"=>"Jessika", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df96bb7735330f5ec10000'), "firstname"=>"Bo", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms 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('53df96bb7735330f5ec20000'), "firstname"=>"Gayle", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96bb7735330f5ec20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms 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('53df96bb7735330f5ec30000'), "firstname"=>"Autumn", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96bb7735330f5ec30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec30000')} 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('53df96bb7735330f5ec30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms Redirected to http://test.host/clients/53df96bb7735330f5ec30000 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('53df96bb7735330f5ec40000'), "name"=>"Miles Mitchell", "reference"=>"Ewell Schaden", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ec50000'), "firstname"=>"Etha", "lastname"=>"Brakus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96bb7735330f5ec40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ec60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms Redirected to http://test.host/products/53df96bb7735330f5ec40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ec70000'), "name"=>"Casandra Crooks Sr.", "reference"=>"Maud Purdy", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ec80000'), "firstname"=>"Kole", "lastname"=>"Adams"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df96bb7735330f5ec80000", "product_id"=>"53df96bb7735330f5ec70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ec90000'), "name"=>"Mohamed Friesen II", "reference"=>"Judah Mosciski Jr.", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5eca0000'), "firstname"=>"Onie", "lastname"=>"Smith"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df96bb7735330f5ec90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ecb0000'), "name"=>"Christelle Goyette", "reference"=>"Rhett Murphy PhD", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ecc0000'), "firstname"=>"Stone", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4100ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df96bb7735330f5ecc0000", "product_id"=>"53df96bb7735330f5ecb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ecd0000'), "name"=>"Mr. Shany Hodkiewicz", "reference"=>"Eden Effertz", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ece0000'), "firstname"=>"Arden", "lastname"=>"Schulist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df96bb7735330f5ece0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96bb7735330f5ecd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Unpermitted parameters: name Redirected to http://test.host/products/53df96bb7735330f5ecd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ecf0000'), "name"=>"Jaclyn Hamill Jr.", "reference"=>"Miss Elenora Rau", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed00000'), "name"=>"Mrs. Dovie Kassulke", "reference"=>"Damien Runolfsdottir", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed10000'), "name"=>"Fabiola Koss", "reference"=>"Elroy Fahey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed20000'), "name"=>"Kaci Macejkovic", "reference"=>"Mrs. Geovanny Quigley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed30000'), "name"=>"Deanna Koch Sr.", "reference"=>"Birdie O'Kon", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed40000'), "name"=>"Amira Bartoletti", "reference"=>"Kathleen Lueilwitz", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1860ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms Redirected to http://test.host/products/53df96bb7735330f5ed50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2077ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed60000'), "name"=>"Rogers Torp", "reference"=>"Judd Ryan", "quantity"=>4}] 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.1855ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96bb7735330f5ed60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ed60000')} 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('53df96bb7735330f5ed60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms 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.1853ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed70000'), "name"=>"Darby Stiedemann", "reference"=>"Mr. Destiny Ondricka", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96bb7735330f5ed70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ed70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed80000'), "name"=>"Susanna Fay", "reference"=>"Mrs. Magdalen Brekke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms 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: 3.0502ms Completed 200 OK in 56ms (Views: 55.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ed90000'), "name"=>"Earnestine Tillman", "reference"=>"Pansy Lockman", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5871ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8818ms Completed 200 OK in 20ms (Views: 19.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0116ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eda0000'), "name"=>"Deondre Reynolds", "reference"=>"Jesse Lindgren", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms 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.8729ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5edb0000'), "name"=>"Obie Smitham", "reference"=>"Trystan Torphy", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5035ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96bb7735330f5edb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5edb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms 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('53df96bb7735330f5edc0000'), "name"=>"Brandy Hane III", "reference"=>"Nicholaus Hayes", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df96bb7735330f5ede0000'), "name"=>"Crystal Gorczany PhD", "reference"=>"Dean D'Amore", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5384ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96bb7735330f5ede0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ede0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5edf0000'), "name"=>"Reta Walter Jr.", "reference"=>"Virginie Berge", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5318ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3298ms 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('53df96bb7735330f5ee00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3127ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ee10000'), "name"=>"Ms. Lauryn VonRueden", "reference"=>"Mr. Isai Hickle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96bb7735330f5ee10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms 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('53df96bb7735330f5ee20000'), "name"=>"Ms. Cloyd Ward", "reference"=>"Dr. Margot Aufderhar", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms 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('53df96bb7735330f5ee40000'), "name"=>"Zane Stamm", "reference"=>"Mrs. Hobart Bechtelar", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96bb7735330f5ee40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms 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('53df96bb7735330f5ee50000'), "name"=>"Hans Rice", "reference"=>"Zachery Lehner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96bb7735330f5ee50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms Redirected to http://test.host/products/53df96bb7735330f5ee50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ee80000'), "name"=>"Giovanna Russel", "reference"=>"Jameson Hoeger", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ee60000'), "author_name"=>"Coty Strosin", "content"=>["Maiores totam ut sint. Deserunt nemo iusto culpa quam similique. Quam amet corrupti ut distinctio commodi earum odio."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ee70000'), "author_name"=>"Nayeli Lakin", "content"=>["Consequatur veniam dignissimos. Qui et sequi. Delectus et culpa omnis maiores molestias ex vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96bb7735330f5ee80000", "comment_id"=>"53df96bb7735330f5ee60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4121ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee80000'), "comments._id"=>BSON::ObjectId('53df96bb7735330f5ee60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5ee90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7556ms Redirected to http://test.host/products/53df96bb7735330f5ee80000/comments/53df96bb7735330f5ee60000/comments/53df96bb7735330f5ee90000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eec0000'), "name"=>"Kyla Russel", "reference"=>"Mikel Reynolds", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eea0000'), "author_name"=>"Rosalind Bradtke", "content"=>["Eaque neque hic eveniet. Dolor error magni doloremque veritatis. Adipisci magnam aperiam quod reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eeb0000'), "author_name"=>"Dalton Kuphal II", "content"=>["Qui vero itaque. Est qui quam aut. Dolorum necessitatibus placeat quia velit voluptas sit et. Et facilis dolores ex eos. Quia vero sint itaque necessitatibus ea harum quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df96bb7735330f5eec0000", "comment_id"=>"53df96bb7735330f5eea0000", "id"=>"53df96bb7735330f5eeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eec0000'), "comments._id"=>BSON::ObjectId('53df96bb7735330f5eea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96bb7735330f5eeb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6757ms Redirected to http://test.host/products/53df96bb7735330f5eec0000/comments/53df96bb7735330f5eea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5eef0000'), "name"=>"Nannie Runte", "reference"=>"Halie Borer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eed0000'), "author_name"=>"Oliver Daugherty MD", "content"=>["Culpa ea qui. Ad tenetur autem enim distinctio reprehenderit pariatur quisquam. Accusamus commodi dolor similique. Vitae et ab et unde alias culpa dolor. Et magnam quam."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eee0000'), "author_name"=>"Jordy Raynor", "content"=>["Ut sint et voluptas quia. Adipisci eveniet excepturi magni. Animi velit reiciendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df96bb7735330f5eef0000", "comment_id"=>"53df96bb7735330f5eed0000", "id"=>"53df96bb7735330f5eee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef20000'), "name"=>"Mrs. Abelardo Nienow", "reference"=>"Destany Kub MD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef00000'), "author_name"=>"Mr. Jett Howe", "content"=>["Ut sed dolorum. Culpa voluptas corrupti ut eveniet voluptatem. Libero rerum veniam perferendis voluptas quae. Eum voluptas ipsam quidem. Consequatur quia assumenda voluptatem consectetur ad asperiores quidem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef10000'), "author_name"=>"Lisandro Emard", "content"=>["Et nemo aperiam id tempora soluta rerum aut. Sed molestiae expedita dolore dolorem. Dignissimos omnis doloribus eos rerum veritatis accusamus. Quidem repellendus est saepe quos. Consectetur dolor qui beatae aut sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df96bb7735330f5ef20000", "comment_id"=>"53df96bb7735330f5ef00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ef20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4201ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef50000'), "name"=>"Brian King DDS", "reference"=>"Jessie Schneider", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef30000'), "author_name"=>"Roscoe Padberg", "content"=>["Ab qui perferendis repudiandae. Non sint et dolorem illo qui dignissimos. Aliquid doloribus iste deserunt dignissimos id maiores exercitationem. At maiores nisi repudiandae aut. Est eaque dolor dolores sit eius dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef40000'), "author_name"=>"Marjorie Mayert", "content"=>["Consectetur saepe inventore sed illo. Et officiis illum. Nobis quia dolorum quis non repudiandae inventore. Corrupti blanditiis molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6144ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df96bb7735330f5ef50000", "comment_id"=>"53df96bb7735330f5ef30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ef50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef80000'), "name"=>"Antoinette Parker MD", "reference"=>"Edgar Halvorson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef60000'), "author_name"=>"Jedidiah Marks", "content"=>["Incidunt vel animi cum in omnis. Fugit omnis occaecati velit nobis ad. Deserunt distinctio sit consequuntur. Temporibus consectetur vel eos. Dicta maxime voluptatem sed aut occaecati maiores."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef70000'), "author_name"=>"Mrs. Reginald Schimmel", "content"=>["Expedita et pariatur enim. Quos a beatae ut optio. Temporibus voluptatem nobis excepturi reiciendis alias assumenda quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df96bb7735330f5ef80000", "comment_id"=>"53df96bb7735330f5ef60000", "id"=>"53df96bb7735330f5ef70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5ef80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4138ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5efb0000'), "name"=>"Edmond Zulauf V", "reference"=>"Izaiah Ruecker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5ef90000'), "author_name"=>"Neva Moore Sr.", "content"=>["Et porro officia. Vel voluptas aut quae est. Veritatis veniam aut facere aliquid."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5efa0000'), "author_name"=>"Kevin Bernhard", "content"=>["Consectetur et nam possimus odio ratione libero omnis. Deserunt incidunt aut ipsum consequatur. Vel iste nemo dolore sed illo quisquam tempora. Recusandae sed officia quia aut adipisci sit sit. Aperiam vel repellendus voluptatem ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df96bb7735330f5efb0000", "comment_id"=>"53df96bb7735330f5ef90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5efb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4107ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5efe0000'), "name"=>"Margarette Dach", "reference"=>"Blanche Bergstrom", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5efc0000'), "author_name"=>"Eda Swift", "content"=>["Ipsa sed assumenda nostrum omnis ullam quibusdam ipsam. Autem nisi sunt dolor. Veritatis repudiandae dignissimos labore."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5efd0000'), "author_name"=>"Mckenzie Barrows PhD", "content"=>["Et aut amet placeat aut ad. Eos nemo cum non quisquam tenetur. Quos quia cupiditate voluptas est consequuntur impedit. Sit et totam est nemo cum consequatur. Voluptatem ipsam ipsa et maiores voluptates dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df96bb7735330f5efe0000", "comment_id"=>"53df96bb7735330f5efc0000", "id"=>"53df96bb7735330f5efd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5efe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4145ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e010100'), "name"=>"Fabiola Borer", "reference"=>"Reyes Kuhic", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5eff0000'), "author_name"=>"Eveline Wolf", "content"=>["Debitis labore corporis consequuntur maxime. Illo officiis quis. Dolorum assumenda magnam quidem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96bb7735330f5e000100'), "author_name"=>"Jon Braun", "content"=>["Perspiciatis et tenetur quaerat labore. Quasi dolorum molestiae quos eum autem nobis. Nisi vel omnis qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5842ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96bb7735330f5e000100", "product_id"=>"53df96bb7735330f5e010100", "comment_id"=>"53df96bb7735330f5eff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4826ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e010100'), "comments._id"=>BSON::ObjectId('53df96bb7735330f5eff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df96bb7735330f5e000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8077ms Redirected to http://test.host/products/53df96bb7735330f5e010100/comments/53df96bb7735330f5eff0000/comments/53df96bb7735330f5e000100 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('53df96bb7735330f5e020100'), "firstname"=>"Pedro", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5722ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3174ms 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('53df96bb7735330f5e030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms Redirected to http://test.host/users/53df96bb7735330f5e030100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3266ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e040100'), "firstname"=>"Johann", "lastname"=>"Dicki"}] 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.3023ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df96bb7735330f5e040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3581ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms 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.2996ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e050100'), "firstname"=>"Alene", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df96bb7735330f5e050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e060100'), "firstname"=>"Jack", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms 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.4655ms Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e070100'), "firstname"=>"Melvin", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53df96bb7735330f5e080100'), "firstname"=>"Lily", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df96bb7735330f5e080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3968ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96bb7735330f5e090100'), "firstname"=>"Cecil", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96bb7735330f5e090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96bb7735330f5e090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3997ms Unpermitted parameters: name Redirected to http://test.host/users/53df96bb7735330f5e090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5278ms 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.4731ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms 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.4239ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5909ms 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.4766ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74000000'), "name"=>"Lyric Schimmel Sr.", "reference"=>"Dr. Martine Willms", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74010000'), "name"=>"Lexus Klein", "reference"=>"Jerry Labadie Sr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74020000'), "name"=>"Elissa Bogan", "reference"=>"Mr. Daniela Emmerich", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74030000'), "name"=>"Mr. Trevor Kiehn", "reference"=>"Mrs. Gretchen Keebler", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74040000'), "name"=>"Uriel Lowe", "reference"=>"Flo Pagac I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74050000'), "name"=>"Clay Brown", "reference"=>"Dr. Colton Hoeger", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1957ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms Redirected to http://test.host/products/53df96d87735330f74060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2376ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74070000'), "name"=>"Lucious Ryan", "reference"=>"Lucy Schmeler", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1285ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96d87735330f74070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms 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.1339ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74080000'), "name"=>"Travon Will", "reference"=>"Dr. Virginie Raynor", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96d87735330f74080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 45ms (Views: 44.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74090000'), "name"=>"Jade Pagac", "reference"=>"Miss Rossie Orn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms 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.3523ms Completed 200 OK in 8ms (Views: 7.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f740a0000'), "name"=>"Kendall Thiel DDS", "reference"=>"Kaycee Wisoky", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3779ms Completed 200 OK in 10ms (Views: 9.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f740b0000'), "name"=>"Ms. Alejandrin Renner", "reference"=>"Derrick Hilll", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms 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.3014ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f740c0000'), "name"=>"Jaylan Senger", "reference"=>"Madaline Predovic", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96d87735330f740c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f740c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms 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('53df96d87735330f740d0000'), "name"=>"Mckenna Connelly", "reference"=>"Nikolas Raynor PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 18ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f740f0000'), "name"=>"Jordyn Wilkinson", "reference"=>"Judson Hoeger PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96d87735330f740f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f740f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74100000'), "name"=>"Maurine Crona II", "reference"=>"Jerrold Pacocha Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1543ms 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('53df96d87735330f74110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1707ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74120000'), "name"=>"Ms. Chelsie Purdy", "reference"=>"Tatum Adams", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96d87735330f74120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms 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('53df96d87735330f74130000'), "name"=>"Hunter Olson", "reference"=>"Nick Tillman Jr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms 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('53df96d87735330f74150000'), "name"=>"Gregory Olson", "reference"=>"Camila Halvorson I", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96d87735330f74150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74150000')} 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('53df96d87735330f74150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5927ms Completed 202 Accepted in 9ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96d87735330f74160000'), "name"=>"Andrew O'Connell", "reference"=>"Camden Gerhold", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96d87735330f74160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96d87735330f74160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms Redirected to http://test.host/products/53df96d87735330f74160000 Completed 302 Found in 3ms 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.3532ms 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.2829ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms 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.2122ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms 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.2792ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf000000'), "firstname"=>"Destiny", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2882ms 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('53df96dd7735330faf010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms 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.2050ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf020000'), "firstname"=>"Leonel", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df96dd7735330faf020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96dd7735330faf020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) 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('53df96dd7735330faf030000'), "firstname"=>"Alan", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf040000'), "firstname"=>"Shyann", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df96dd7735330faf040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96dd7735330faf040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf050000'), "firstname"=>"Vaughn", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df96dd7735330faf050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96dd7735330faf050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms 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('53df96dd7735330faf060000'), "name"=>"Katrina Leannon", "reference"=>"Yasmeen Watsica", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf070000'), "author_name"=>"Amina Carroll", "content"=>["Sunt et quia quia provident omnis repellendus et. Voluptate qui nihil dolorem corporis voluptas autem. Sed earum suscipit natus quia et quam. Sit repellendus ducimus voluptatum suscipit voluptates. Non voluptatem vitae eaque quis omnis magnam quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96dd7735330faf060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms Redirected to http://test.host/admin/products/53df96dd7735330faf060000/comments/53df96dd7735330faf080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf090000'), "name"=>"Reuben Gutmann", "reference"=>"Korbin Padberg", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf0a0000'), "author_name"=>"Chet Kuhn Sr.", "content"=>["Molestiae deleniti repellat saepe quasi consequatur harum. Suscipit mollitia quas. Impedit sunt expedita qui et. Est ut neque natus reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96dd7735330faf090000", "id"=>"53df96dd7735330faf0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf090000')} 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('53df96dd7735330faf090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms Redirected to http://test.host/admin/products/53df96dd7735330faf090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf0b0000'), "name"=>"Garnett Balistreri", "reference"=>"Naomie Corkery", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf0c0000'), "author_name"=>"Cleo Turcotte", "content"=>["Mollitia ratione molestiae explicabo. Omnis et adipisci praesentium ratione fuga. Sed et qui a ut mollitia sed error. Hic iusto repellendus. Ut expedita qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6182ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df96dd7735330faf0b0000", "id"=>"53df96dd7735330faf0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf0d0000'), "name"=>"Magali Pfannerstill", "reference"=>"Lelah Ondricka", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf0e0000'), "author_name"=>"Domenick Flatley", "content"=>["Iste sunt occaecati amet debitis dolore. Eos numquam et earum voluptatum nulla fugiat. Sequi tempore natus. Repellat et ut quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6382ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df96dd7735330faf0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4419ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf0f0000'), "name"=>"Miss Sherman Wolff", "reference"=>"Kaitlin Schuppe", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf100000'), "author_name"=>"Brad Robel", "content"=>["Consequuntur minus sed. Accusamus similique sed dolorem. Itaque et eveniet maiores quaerat temporibus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df96dd7735330faf0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf110000'), "name"=>"Hunter Kutch", "reference"=>"Moises Altenwerth", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf120000'), "author_name"=>"Rhea Gislason", "content"=>["Eius vero doloremque sequi autem numquam est. Adipisci maiores quaerat omnis. Corrupti architecto rerum assumenda vitae. Quas veritatis et. Harum quia expedita laudantium consequatur quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df96dd7735330faf110000", "id"=>"53df96dd7735330faf120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf130000'), "name"=>"Trisha Hackett", "reference"=>"Emilie Beahan", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df96dd7735330faf140000'), "author_name"=>"Miss Margarete Marquardt", "content"=>["Omnis quisquam est aliquid illo unde similique eligendi. Excepturi occaecati provident illo vel et. Expedita ut maiores fuga explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96dd7735330faf140000", "product_id"=>"53df96dd7735330faf130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf130000')} 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('53df96dd7735330faf130000'), "comments._id"=>BSON::ObjectId('53df96dd7735330faf140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms Redirected to http://test.host/admin/products/53df96dd7735330faf130000/comments/53df96dd7735330faf140000 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('53df96dd7735330faf150000'), "name"=>"Tyrese Gusikowski Jr.", "reference"=>"Mrs. Sammie Borer", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf160000'), "firstname"=>"Deontae", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96dd7735330faf150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3561ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Redirected to http://test.host/admin/products/53df96dd7735330faf150000/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('53df96dd7735330faf180000'), "name"=>"Ms. Herbert Rogahn", "reference"=>"Trent Koch", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf190000'), "firstname"=>"Robert", "lastname"=>"O'Kon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df96dd7735330faf190000", "product_id"=>"53df96dd7735330faf180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf180000')} 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.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf1a0000'), "name"=>"Mr. Colby Hirthe", "reference"=>"Dr. Rowland Aufderhar", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf1b0000'), "firstname"=>"Robin", "lastname"=>"Hermann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df96dd7735330faf1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf1c0000'), "name"=>"Laurence Blick", "reference"=>"Eugene Mohr", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf1d0000'), "firstname"=>"Vivian", "lastname"=>"Kunde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df96dd7735330faf1d0000", "product_id"=>"53df96dd7735330faf1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf1e0000'), "name"=>"Kirstin Kirlin", "reference"=>"Royce Skiles", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53df96dd7735330faf1f0000'), "firstname"=>"Mustafa", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8667ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df96dd7735330faf1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96dd7735330faf1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df96dd7735330faf1e0000/manager 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('53df96dd7735330faf200000'), "name"=>"Halle Grant IV", "reference"=>"Sean Volkman", "quantity"=>0}] 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.1931ms 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('53df96dd7735330faf210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Redirected to http://test.host/admin/products/53df96dd7735330faf210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2236ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf220000'), "name"=>"Bria Glover", "reference"=>"Glennie Wintheiser", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1881ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df96dd7735330faf220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf220000')} 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={"_id"=>BSON::ObjectId('53df96dd7735330faf220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms 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.1979ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf230000'), "name"=>"Justine Murphy DVM", "reference"=>"Brandon Collier", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df96dd7735330faf230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96dd7735330faf230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 6.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf240000'), "name"=>"Darrell Goldner", "reference"=>"Alvis Keeling", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms 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.5085ms Completed 200 OK in 12ms (Views: 11.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96dd7735330faf250000'), "name"=>"Susie MacGyver", "reference"=>"Mr. Rocio Greenholt", "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.5ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf280000'), "name"=>"Cortez Armstrong", "reference"=>"Dr. Erick Heathcote", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df96de7735330faf280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330faf280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms 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('53df96de7735330faf290000'), "name"=>"Meggie Heidenreich Sr.", "reference"=>"Linnea Swaniawski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96de7735330faf290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330faf290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330faf290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Redirected to http://test.host/admin/products/53df96de7735330faf290000 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('53df96de7735330faf2a0000'), "firstname"=>"Jackson", "lastname"=>"Kutch"}] 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.1921ms 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('53df96de7735330faf2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms Redirected to http://test.host/admin/users/53df96de7735330faf2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2020ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf2c0000'), "firstname"=>"Jada", "lastname"=>"Zieme"}] 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=>"admin_users", :query=>{}} runtime: 0.1859ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df96de7735330faf2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96de7735330faf2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96de7735330faf2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms 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('53df96de7735330faf2d0000'), "firstname"=>"Beulah", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df96de7735330faf2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96de7735330faf2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53df96de7735330faf2e0000'), "firstname"=>"Jevon", "lastname"=>"Dare"}] 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.2992ms 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('53df96de7735330faf2f0000'), "firstname"=>"Brad", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf300000'), "firstname"=>"Concepcion", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df96de7735330faf300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96de7735330faf300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf310000'), "firstname"=>"Doyle", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96de7735330faf310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96de7735330faf310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df96de7735330faf310000 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('53df96de7735330faf320000'), "firstname"=>"Jocelyn", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3605ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2330ms 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('53df96de7735330faf330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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.2131ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf340000'), "firstname"=>"Chesley", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df96de7735330faf340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96de7735330faf340000')} 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.6ms) Completed 200 OK in 7ms (Views: 6.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf350000'), "firstname"=>"Kailee", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf360000'), "firstname"=>"Alverta", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df96de7735330faf360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96de7735330faf360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf370000'), "firstname"=>"Tristian", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df96de7735330faf370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df96de7735330faf370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf380000'), "name"=>"Ernesto Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf390000'), "name"=>"Adrien Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3a0000'), "name"=>"Schuyler Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3b0000'), "name"=>"Irma Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3c0000'), "name"=>"Chester Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3d0000'), "name"=>"Mr. Melisa Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3e0000'), "name"=>"Ms. Jennings Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf3f0000'), "name"=>"Unique Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf400000'), "name"=>"Ava Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf410000'), "name"=>"Carey Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf420000'), "name"=>"Sierra Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf430000'), "name"=>"Cielo Stroman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf440000'), "name"=>"Harrison Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf450000'), "name"=>"Brain Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf460000'), "name"=>"Dr. Elody Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf470000'), "name"=>"Seamus Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf480000'), "name"=>"Forest O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf490000'), "name"=>"Mrs. Marlee Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4a0000'), "name"=>"Katarina Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4b0000'), "name"=>"Magnus Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4c0000'), "name"=>"Lucious Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4d0000'), "name"=>"Anissa Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4e0000'), "name"=>"Paolo Watsica DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf4f0000'), "name"=>"Wilhelm Windler PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf500000'), "name"=>"Dr. Johnathon Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf510000'), "name"=>"Casey Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf520000'), "name"=>"Hannah Langworth Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf530000'), "name"=>"Araceli Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf540000'), "name"=>"Ford Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf550000'), "name"=>"Adalberto Kulas DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf560000'), "name"=>"Issac Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf570000'), "name"=>"Kathlyn Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf580000'), "name"=>"Hassan Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf590000'), "name"=>"Russel Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5a0000'), "name"=>"Alessia Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5b0000'), "name"=>"Dr. Isom Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5c0000'), "name"=>"Sarai Boyle MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5d0000'), "name"=>"Miss Tillman D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5e0000'), "name"=>"Marcelle Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf5f0000'), "name"=>"Luciano Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf600000'), "name"=>"Rosalind Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf610000'), "name"=>"Constance Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf620000'), "name"=>"Savanna Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf630000'), "name"=>"Mrs. Francesco Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf640000'), "name"=>"Susie Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf650000'), "name"=>"Mrs. Margarett Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf660000'), "name"=>"Gladys Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf670000'), "name"=>"Emil Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf680000'), "name"=>"Ms. Angus Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf690000'), "name"=>"Adella Borer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6a0000'), "name"=>"Reynold Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6b0000'), "name"=>"Bell Feest I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6c0000'), "name"=>"Dandre McClure I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6d0000'), "name"=>"Imelda Lueilwitz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6e0000'), "name"=>"Domenic Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf6f0000'), "name"=>"Wilhelm Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf700000'), "name"=>"Fay Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf710000'), "name"=>"Miss Meda Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf720000'), "name"=>"Nichole Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf730000'), "name"=>"Reuben Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf740000'), "name"=>"Mr. Emilie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf750000'), "name"=>"Dr. Savannah Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf760000'), "name"=>"Joanny Ebert Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf770000'), "name"=>"Adrian Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf780000'), "name"=>"Carlo Gorczany Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf790000'), "name"=>"Ashleigh Stark Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7a0000'), "name"=>"Katrina Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7b0000'), "name"=>"Shana Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7c0000'), "name"=>"Stanton Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7d0000'), "name"=>"Arely Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7e0000'), "name"=>"Keara Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf7f0000'), "name"=>"Mrs. Ruthie Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf800000'), "name"=>"Leonor King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf810000'), "name"=>"Tanner Powlowski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf820000'), "name"=>"Lawrence Goldner IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf830000'), "name"=>"Maya Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf840000'), "name"=>"Dawson Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf850000'), "name"=>"Ms. Marlin Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf860000'), "name"=>"Gianni Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf870000'), "name"=>"Julie Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf880000'), "name"=>"Timmothy Reilly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf890000'), "name"=>"Erika Reinger DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8a0000'), "name"=>"Mrs. Evan Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8b0000'), "name"=>"Jackson Wintheiser IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8c0000'), "name"=>"Jevon Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8d0000'), "name"=>"Kelli Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8e0000'), "name"=>"Sam Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf8f0000'), "name"=>"Jackie Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf900000'), "name"=>"Toy Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf910000'), "name"=>"Clay Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf920000'), "name"=>"Alverta Trantow Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf930000'), "name"=>"Ms. Lorine Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf940000'), "name"=>"Troy Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf950000'), "name"=>"Kira Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf960000'), "name"=>"Miracle Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf970000'), "name"=>"Dr. Jude Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1458ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms Redirected to http://test.host/categories/53df96de7735330faf980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1693ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf990000'), "name"=>"Gracie Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1525ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df96de7735330faf990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330faf990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330faf990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1580ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf9a0000'), "name"=>"Jose Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df96de7735330faf9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330faf9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 11ms (Views: 9.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf9b0000'), "name"=>"Theodore Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4346ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[365318745642] runtime: 0.0826ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2031ms Completed 200 OK in 16ms (Views: 15.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf9c0000'), "name"=>"Priscilla Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[367163723334] runtime: 0.0756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2686ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf9d0000'), "name"=>"Miss Jany Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330faf9f0000'), "name"=>"Liza Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df96de7735330faf9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330faf9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330faf9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafa00000'), "name"=>"Kailey Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330fafa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df96de7735330fafa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330fafa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df96de7735330fafa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df96de7735330fafa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms Redirected to http://test.host/categories/53df96de7735330fafa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafa10000'), "name"=>"Enola Bogan II", "reference"=>"Cielo Corkery", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafa20000'), "author_name"=>"Dixie O'Connell V", "content"=>["Qui officiis vitae optio. Fugit hic corrupti suscipit placeat molestias. Perspiciatis sequi quis et adipisci illum. Laborum velit id sequi et sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa10000')} 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"=>"53df96de7735330fafa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96de7735330fafa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Redirected to http://test.host/products/53df96de7735330fafa10000/comments/53df96de7735330fafa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafa40000'), "name"=>"Jace Bode", "reference"=>"Mr. Audrey Tremblay", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafa50000'), "author_name"=>"Donnie Morar", "content"=>["Et ex soluta est odio. Aut voluptate dolorem natus corrupti. Eaque non incidunt enim doloremque nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df96de7735330fafa40000", "id"=>"53df96de7735330fafa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df96de7735330fafa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms Redirected to http://test.host/products/53df96de7735330fafa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafa60000'), "name"=>"Carlotta Rau", "reference"=>"Mr. Liliana Jacobs", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafa70000'), "author_name"=>"Ms. Monica Mohr", "content"=>["Officia officiis ut totam. Corrupti quasi qui blanditiis aspernatur occaecati ipsa. Voluptas assumenda nihil. Et laudantium accusamus voluptas ab voluptatibus. Laboriosam soluta deserunt similique harum architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df96de7735330fafa60000", "id"=>"53df96de7735330fafa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafa80000'), "name"=>"Miss Deven Powlowski", "reference"=>"Hildegard Pollich", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafa90000'), "author_name"=>"Theron Dare", "content"=>["Qui eius aliquam odio est. Quisquam voluptatem eos mollitia sit eligendi dicta. Velit doloremque dolore et adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df96de7735330fafa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Completed 200 OK in 41ms (Views: 39.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafaa0000'), "name"=>"Ms. Grayson Klein", "reference"=>"Wendell Littel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafab0000'), "author_name"=>"Paula Bauch V", "content"=>["Soluta et provident. Sint eum sit natus sit. Amet voluptate et sit necessitatibus velit ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df96de7735330fafaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafac0000'), "name"=>"George Larson", "reference"=>"Antonetta Kulas", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafad0000'), "author_name"=>"Larry Kuhic", "content"=>["Voluptatem repudiandae ea consequatur. Sit perferendis qui et et voluptatibus numquam neque. Saepe et consectetur pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df96de7735330fafac0000", "id"=>"53df96de7735330fafad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafae0000'), "name"=>"Nayeli Luettgen", "reference"=>"Maximillian Dietrich", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafaf0000'), "author_name"=>"Ms. Elinor Weimann", "content"=>["Optio eligendi porro sint. Ea accusamus voluptates omnis qui. Ipsum hic necessitatibus reiciendis eos perspiciatis modi. Nostrum eum beatae recusandae quia ipsum et eaque. Minima facere aut cumque quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df96de7735330fafae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafb00000'), "name"=>"Flo Effertz II", "reference"=>"Steve Ullrich I", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafb10000'), "author_name"=>"Telly Toy IV", "content"=>["Culpa officia aut sint. Eos occaecati pariatur maiores sequi quaerat vel aut. Maxime tempora tenetur voluptas incidunt omnis tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df96de7735330fafb00000", "id"=>"53df96de7735330fafb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafb20000'), "name"=>"Erna Mills", "reference"=>"Buford Reichert IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafb30000'), "author_name"=>"Jeffery Lockman DDS", "content"=>["Natus aut rerum. Labore qui sapiente eum sequi suscipit. Sed suscipit eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96de7735330fafb30000", "product_id"=>"53df96de7735330fafb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafb20000')} 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('53df96de7735330fafb20000'), "comments._id"=>BSON::ObjectId('53df96de7735330fafb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms Redirected to http://test.host/products/53df96de7735330fafb20000/comments/53df96de7735330fafb30000 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('53df96de7735330fafb40000'), "firstname"=>"Alec", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2016ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Redirected to http://test.host/admin/clients/53df96de7735330fafb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2356ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafb60000'), "firstname"=>"Randal", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1788ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96de7735330fafb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafb60000')} 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('53df96de7735330fafb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms 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.1504ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafb70000'), "firstname"=>"Zachary", "lastname"=>"Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96de7735330fafb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) 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('53df96de7735330fafb80000'), "firstname"=>"Adolf", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms 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('53df96de7735330fafb90000'), "firstname"=>"Jacklyn", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafba0000'), "firstname"=>"Zola", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96de7735330fafba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafbb0000'), "firstname"=>"Marilyne", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96de7735330fafbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms Redirected to http://test.host/admin/clients/53df96de7735330fafbb0000 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('53df96de7735330fafbc0000'), "firstname"=>"Trey", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1312ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms Redirected to http://test.host/clients/53df96de7735330fafbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1427ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafbe0000'), "firstname"=>"Alessia", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1327ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df96de7735330fafbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Redirected to http://test.host/clients Completed 302 Found in 35ms 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('53df96de7735330fafbf0000'), "firstname"=>"Anabelle", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df96de7735330fafbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafc00000'), "firstname"=>"Jazmin", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7905ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafc10000'), "firstname"=>"Dereck", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms 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.5ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafc20000'), "firstname"=>"Sadie", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df96de7735330fafc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms 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('53df96de7735330fafc30000'), "firstname"=>"Vance", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df96de7735330fafc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df96de7735330fafc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms Redirected to http://test.host/clients/53df96de7735330fafc30000 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('53df96de7735330fafc40000'), "name"=>"Raleigh Johnson", "reference"=>"Lenore Bahringer PhD", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafc50000'), "firstname"=>"Everette", "lastname"=>"Auer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df96de7735330fafc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms Redirected to http://test.host/products/53df96de7735330fafc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafc70000'), "name"=>"Estel Hermann Sr.", "reference"=>"Alycia Wilderman", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafc80000'), "firstname"=>"Willow", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df96de7735330fafc80000", "product_id"=>"53df96de7735330fafc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafc90000'), "name"=>"Emilia Breitenberg", "reference"=>"Uriel Wunsch", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafca0000'), "firstname"=>"Mckenzie", "lastname"=>"Kuhn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df96de7735330fafc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafcb0000'), "name"=>"Ignacio Rice", "reference"=>"Raheem Blanda", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafcc0000'), "firstname"=>"Hyman", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df96de7735330fafcc0000", "product_id"=>"53df96de7735330fafcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafcd0000'), "name"=>"Joana Erdman", "reference"=>"Lenore Torp", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df96de7735330fafce0000'), "firstname"=>"Neal", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df96de7735330fafce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df96de7735330fafcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms Unpermitted parameters: name Redirected to http://test.host/products/53df96de7735330fafcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafcf0000'), "name"=>"Rosina Conn", "reference"=>"Jessie McDermott", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd00000'), "name"=>"Eldora Lowe", "reference"=>"Dayton Hyatt", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd10000'), "name"=>"Norris O'Keefe", "reference"=>"Ms. Wiley Eichmann", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd20000'), "name"=>"Madisyn Rowe", "reference"=>"Audie Hermann", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd30000'), "name"=>"Dr. Adrian Howe", "reference"=>"Jackie Nader", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd40000'), "name"=>"Mrs. Edward VonRueden", "reference"=>"Milo Cartwright", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1516ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms Redirected to http://test.host/products/53df96de7735330fafd50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1769ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd60000'), "name"=>"Tamara Armstrong", "reference"=>"Lupe Heller I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1462ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96de7735330fafd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8523ms 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.1522ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd70000'), "name"=>"Alanis Emmerich", "reference"=>"Rosalinda Brakus", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96de7735330fafd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd80000'), "name"=>"Dennis Pacocha", "reference"=>"Dr. Brielle Bogan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms 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: 1.7786ms Completed 200 OK in 61ms (Views: 60.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafd90000'), "name"=>"Romaine Hayes", "reference"=>"Jeramie Carroll", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2526ms Completed 200 OK in 22ms (Views: 21.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6976ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafda0000'), "name"=>"Juvenal Wyman", "reference"=>"Rosie Rohan MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9220ms 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.7106ms 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('53df96de7735330fafdb0000'), "name"=>"Gaston Nader", "reference"=>"Vida Schmeler DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96de7735330fafdb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms 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('53df96de7735330fafdc0000'), "name"=>"Marley Jakubowski Sr.", "reference"=>"Sharon Bailey", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafde0000'), "name"=>"Arnold Veum", "reference"=>"Belle Blick", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96de7735330fafde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafdf0000'), "name"=>"Estefania Osinski", "reference"=>"Ms. Wendell Klocko", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1892ms 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('53df96de7735330fafe00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafe10000'), "name"=>"Keon Hermann", "reference"=>"Nickolas Blanda", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96de7735330fafe10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms 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('53df96de7735330fafe20000'), "name"=>"Valentin Hudson", "reference"=>"Vern Considine", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms 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('53df96de7735330fafe40000'), "name"=>"Miss Evie Goodwin", "reference"=>"Gino Herzog", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96de7735330fafe40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms 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('53df96de7735330fafe50000'), "name"=>"Demetris Grady", "reference"=>"Diamond Kemmer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96de7735330fafe50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms Redirected to http://test.host/products/53df96de7735330fafe50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96de7735330fafe80000'), "name"=>"Earline Donnelly", "reference"=>"Jayme Harber", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafe60000'), "author_name"=>"Rosario Graham", "content"=>["Ex et doloribus cumque sunt odit. Delectus ut ab eius facilis deserunt voluptates facere. Asperiores quo ut commodi qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafe70000'), "author_name"=>"Omari Hessel PhD", "content"=>["Dolorem est recusandae error. Incidunt qui modi recusandae atque perspiciatis. Enim est nemo esse. Qui voluptas eos voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df96de7735330fafe80000", "comment_id"=>"53df96de7735330fafe60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe80000')} 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('53df96de7735330fafe80000'), "comments._id"=>BSON::ObjectId('53df96de7735330fafe60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96de7735330fafe90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Redirected to http://test.host/products/53df96de7735330fafe80000/comments/53df96de7735330fafe60000/comments/53df96de7735330fafe90000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96de7735330fafe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330fafec0000'), "name"=>"Alan Rippin", "reference"=>"Lyla Hudson", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafea0000'), "author_name"=>"Stuart Cormier", "content"=>["Natus mollitia ullam ex distinctio enim sit. Aut aliquam non non tempora ab. Eum illo aliquid. Sequi enim minus consequatur. Ea vero sapiente optio."], "comments"=>[{"_id"=>BSON::ObjectId('53df96de7735330fafeb0000'), "author_name"=>"Milo Blanda", "content"=>["Est maxime accusantium inventore. Enim deleniti soluta veritatis id ut totam est. Est fugit minima omnis blanditiis error tenetur eum. Omnis dicta earum et iure laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330fafec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df96df7735330fafec0000", "comment_id"=>"53df96de7735330fafea0000", "id"=>"53df96de7735330fafeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330fafec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4213ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330fafec0000'), "comments._id"=>BSON::ObjectId('53df96de7735330fafea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df96de7735330fafeb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6848ms Redirected to http://test.host/products/53df96df7735330fafec0000/comments/53df96de7735330fafea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330fafec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330fafef0000'), "name"=>"Cristobal McLaughlin", "reference"=>"Reginald Miller MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330fafed0000'), "author_name"=>"Mustafa Farrell", "content"=>["Ea est id necessitatibus vel. Recusandae odio ea amet minus eum. Eum illum aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330fafee0000'), "author_name"=>"Letitia Hirthe", "content"=>["A quos vel nobis voluptates ad. Quia officia aut qui voluptate quia vitae. Qui neque blanditiis voluptatem ipsam sit quia. Molestiae commodi architecto laudantium ut et sed dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df96df7735330fafef0000", "comment_id"=>"53df96df7735330fafed0000", "id"=>"53df96df7735330fafee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330fafef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4061ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faff20000'), "name"=>"Godfrey Fahey I", "reference"=>"Tyra Renner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff00000'), "author_name"=>"Mr. Drake Buckridge", "content"=>["Illum quasi odit cumque aliquid voluptatem vero sed. Doloribus nostrum voluptatem harum architecto. Est saepe perspiciatis omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff10000'), "author_name"=>"Fabiola Marquardt Sr.", "content"=>["Quam rerum quia voluptatem repudiandae qui aliquam. Cupiditate ratione veniam. Necessitatibus libero perspiciatis. Voluptates quisquam laborum facilis commodi. Excepturi eius aspernatur ab sed quis accusantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df96df7735330faff20000", "comment_id"=>"53df96df7735330faff00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4076ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faff50000'), "name"=>"Kristopher Hand", "reference"=>"Timmothy Armstrong", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff30000'), "author_name"=>"Miss Della Kuhlman", "content"=>["Vitae rerum aperiam dolorem. Quod eum repellat eos quaerat qui. Iste dolorum atque aperiam vitae id."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff40000'), "author_name"=>"Mrs. Christina Nitzsche", "content"=>["Laudantium et distinctio. Modi facilis et qui. Incidunt ullam perferendis ut optio explicabo. Eos quia laudantium dolorem vel delectus explicabo. Aut aliquid est dolorum consectetur voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5902ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df96df7735330faff50000", "comment_id"=>"53df96df7735330faff30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faff80000'), "name"=>"Tina Shanahan", "reference"=>"Leda Okuneva", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff60000'), "author_name"=>"Helga Yundt", "content"=>["Nemo voluptas quos dolorum nulla. Recusandae accusantium magnam aliquam aut eligendi. Cum libero perspiciatis ut. Dolorem aut itaque delectus animi nisi velit ad. Velit sed excepturi iure beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff70000'), "author_name"=>"Darrel Schiller", "content"=>["Eligendi inventore sint. Fugiat est ullam rerum. Quod velit sed et dolores mollitia illo sint. Placeat eos cupiditate quia sunt omnis vel. Aspernatur vel aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5362ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df96df7735330faff80000", "comment_id"=>"53df96df7735330faff60000", "id"=>"53df96df7735330faff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4129ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faffb0000'), "name"=>"Twila Hartmann", "reference"=>"Birdie Gleason", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faff90000'), "author_name"=>"Frida Kulas", "content"=>["Eius cupiditate aliquid sit amet. Recusandae laboriosam vel eaque quia velit. Ab quis alias a fugiat error dolorem. Atque voluptas ut quos aut sint aut. Harum reprehenderit odio hic quia voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faffa0000'), "author_name"=>"Delphine Berge Sr.", "content"=>["Voluptatibus eum quasi. Omnis occaecati laborum. Et id corrupti ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df96df7735330faffb0000", "comment_id"=>"53df96df7735330faff90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faffe0000'), "name"=>"Mrs. Adolfo Effertz", "reference"=>"Miss Tatum Leuschke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faffc0000'), "author_name"=>"Orval Schaden", "content"=>["Quo consequatur et impedit omnis laboriosam. Quas ea autem voluptas. Illum fugiat ipsa velit. Molestiae perspiciatis id id labore."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faffd0000'), "author_name"=>"Kathryn Beatty", "content"=>["Deleniti eaque dolor quia et consectetur nostrum. Sunt natus sit. Et qui eum sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5951ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df96df7735330faffe0000", "comment_id"=>"53df96df7735330faffc0000", "id"=>"53df96df7735330faffd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96df7735330faf010100'), "name"=>"Frankie Paucek PhD", "reference"=>"Lexus Langworth", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330fafff0000'), "author_name"=>"Mrs. Lilly Schuster", "content"=>["Alias eligendi ipsum accusantium voluptatibus beatae amet natus. Et sit non et. Et dolores accusamus molestiae at ab excepturi cupiditate. Labore debitis ea assumenda fuga autem quod vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df96df7735330faf000100'), "author_name"=>"Bennie Marks", "content"=>["Itaque placeat corrupti aspernatur eius. Debitis qui error quas mollitia repellat. Ipsum laboriosam tempore quibusdam consequuntur commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df96df7735330faf000100", "product_id"=>"53df96df7735330faf010100", "comment_id"=>"53df96df7735330fafff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faf010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4087ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96df7735330faf010100'), "comments._id"=>BSON::ObjectId('53df96df7735330fafff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df96df7735330faf000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Redirected to http://test.host/products/53df96df7735330faf010100/comments/53df96df7735330fafff0000/comments/53df96df7735330faf000100 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('53df96df7735330faf020100'), "firstname"=>"Luis", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2214ms 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('53df96df7735330faf030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4373ms Redirected to http://test.host/users/53df96df7735330faf030100 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2106ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96df7735330faf040100'), "firstname"=>"Keanu", "lastname"=>"Christiansen"}] 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=>"admin_users", :query=>{}} runtime: 0.1830ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df96df7735330faf040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96df7735330faf040100')} 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('53df96df7735330faf040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms 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.1750ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96df7735330faf050100'), "firstname"=>"Vernie", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df96df7735330faf050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96df7735330faf050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms 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('53df96df7735330faf060100'), "firstname"=>"Tyshawn", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms 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.3386ms Completed 200 OK in 9ms (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('53df96df7735330faf070100'), "firstname"=>"Rachelle", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df96df7735330faf080100'), "firstname"=>"Skyla", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df96df7735330faf080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96df7735330faf080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms 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('53df96df7735330faf090100'), "firstname"=>"Taylor", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df96df7735330faf090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df96df7735330faf090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms Unpermitted parameters: name Redirected to http://test.host/users/53df96df7735330faf090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms 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.2701ms MOPED: 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=admin_users selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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.1984ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0000000'), "name"=>"Braxton Barrows", "reference"=>"Keanu Goldner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0010000'), "name"=>"Ryley O'Conner I", "reference"=>"Timothy Swift", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0020000'), "name"=>"Isac Dicki Sr.", "reference"=>"Buddy Gottlieb V", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0030000'), "name"=>"Selina Vandervort", "reference"=>"Nelson Walker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0040000'), "name"=>"Crawford Rohan", "reference"=>"Maureen Bahringer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0050000'), "name"=>"Arno Brekke", "reference"=>"Hayden Okuneva", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1268ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.7795ms Redirected to http://test.host/products/53df96e57735330fc0060000 Completed 302 Found in 21ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2380ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0070000'), "name"=>"Nash Hoeger", "reference"=>"Jerrell Nolan", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df96e57735330fc0070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e57735330fc0070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e57735330fc0070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms 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.2162ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0080000'), "name"=>"Jaylan Lowe", "reference"=>"Ken Legros", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df96e57735330fc0080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e57735330fc0080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 46ms (Views: 45.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc0090000'), "name"=>"Miss Kiarra Marquardt", "reference"=>"Myrtle Weissnat", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms 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.3404ms Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc00a0000'), "name"=>"David Schinner", "reference"=>"Veda Grady", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms Completed 200 OK in 7ms (Views: 6.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc00b0000'), "name"=>"Nels Reilly", "reference"=>"Katelyn Ebert", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms 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.2701ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e57735330fc00c0000'), "name"=>"Geovanny Quigley", "reference"=>"Abner Reilly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df96e57735330fc00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e57735330fc00c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms Completed 200 OK in 1ms (Views: 0.1ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e67735330fc00d0000'), "name"=>"Jett Ward", "reference"=>"Jody Dickinson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 18ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e67735330fc00f0000'), "name"=>"Nicole Jakubowski", "reference"=>"Mathilde Eichmann DDS", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df96e67735330fc00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e67735330fc0100000'), "name"=>"Dr. Isaac Larson", "reference"=>"Harmon Watsica", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1280ms 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('53df96e67735330fc0110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1343ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df96e67735330fc0120000'), "name"=>"Annalise Mohr", "reference"=>"Troy Heathcote", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df96e67735330fc0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms 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('53df96e67735330fc0130000'), "name"=>"Alice Hoeger Jr.", "reference"=>"Easton Gibson Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms 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('53df96e67735330fc0150000'), "name"=>"Miss Vallie Watsica", "reference"=>"Robbie Langosh PhD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96e67735330fc0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms 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('53df96e67735330fc0160000'), "name"=>"Anais Lang", "reference"=>"Lila Blick", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df96e67735330fc0160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df96e67735330fc0160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms Redirected to http://test.host/products/53df96e67735330fc0160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8231ms 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.4411ms 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.0972ms 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.7617ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3717ms 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.4220ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0000000'), "firstname"=>"Marty", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1904ms 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('53df99a577353302b0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms 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.2146ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0020000'), "firstname"=>"Garrett", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df99a577353302b0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a577353302b0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.8ms) Completed 200 OK in 152ms (Views: 150.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0030000'), "firstname"=>"Lillie", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7838ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0040000'), "firstname"=>"Harmony", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6512ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df99a577353302b0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a577353302b0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5217ms Completed 200 OK in 7ms (Views: 4.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0050000'), "firstname"=>"Hal", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6296ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df99a577353302b0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a577353302b0050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5931ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0060000'), "name"=>"Sally Parker", "reference"=>"Selina Morissette Jr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b0070000'), "author_name"=>"Dr. Hilda Crooks", "content"=>["Placeat incidunt et et optio autem qui. Temporibus in quis dolores accusamus sint aut. Quisquam iure nulla fuga ducimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99a577353302b0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99a577353302b0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms Redirected to http://test.host/admin/products/53df99a577353302b0060000/comments/53df99a577353302b0080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0090000'), "name"=>"Brooke Kshlerin", "reference"=>"Miss Willa Schiller", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b00a0000'), "author_name"=>"Carissa Stanton", "content"=>["Et quisquam quasi quia nesciunt temporibus tempore. Eius neque ipsam et ratione nulla labore est. Cumque eveniet ipsum. Reiciendis quis sed consectetur ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99a577353302b0090000", "id"=>"53df99a577353302b00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99a577353302b00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Redirected to http://test.host/admin/products/53df99a577353302b0090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b00b0000'), "name"=>"Eldred Lueilwitz", "reference"=>"Keith Ziemann", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b00c0000'), "author_name"=>"Ferne Fadel PhD", "content"=>["Vero sapiente nihil sint asperiores temporibus ad. Corporis cum non nisi velit rem autem accusamus. Ea aliquam quasi nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df99a577353302b00b0000", "id"=>"53df99a577353302b00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b00b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3634ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 7.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b00d0000'), "name"=>"Mr. Ila Thompson", "reference"=>"Matilde Kunze II", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b00e0000'), "author_name"=>"Rylan McGlynn", "content"=>["Harum possimus temporibus laboriosam eligendi eveniet adipisci. Consequatur quia nemo qui quas sit. Qui temporibus id mollitia voluptatem quo quia itaque. Ut dolore ipsa doloribus consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5589ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df99a577353302b00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b00f0000'), "name"=>"Geo Leffler", "reference"=>"Katrine Pacocha PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b0100000'), "author_name"=>"Ruby Kirlin", "content"=>["Minima sed minus atque est beatae corporis nam. Deserunt quisquam sit inventore delectus non facere mollitia. Consequatur ipsam libero doloremque voluptatem quidem magnam enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6044ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df99a577353302b00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4045ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0110000'), "name"=>"Freeda Zboncak DVM", "reference"=>"Raoul Tillman", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b0120000'), "author_name"=>"Vivianne Purdy", "content"=>["Explicabo ad nesciunt rem. Et culpa perferendis quis nihil quo reiciendis. Animi sed est. Consequatur aut a. Similique aut ut rem et maiores at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6138ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df99a577353302b0110000", "id"=>"53df99a577353302b0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0130000'), "name"=>"Nina Gusikowski", "reference"=>"Queenie Kuhn", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a577353302b0140000'), "author_name"=>"Miss Demario Beier", "content"=>["Voluptas qui occaecati unde sed consequuntur soluta. Numquam laborum inventore accusantium et. Ipsa voluptatem itaque quos quia est nostrum. Ipsum at maiores ea amet. Incidunt magni aut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99a577353302b0140000", "product_id"=>"53df99a577353302b0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0130000'), "comments._id"=>BSON::ObjectId('53df99a577353302b0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5346ms Redirected to http://test.host/admin/products/53df99a577353302b0130000/comments/53df99a577353302b0140000 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('53df99a577353302b0150000'), "name"=>"Amya Abbott MD", "reference"=>"Clotilde Schimmel", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b0160000'), "firstname"=>"Kasey", "lastname"=>"Medhurst"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99a577353302b0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3889ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Redirected to http://test.host/admin/products/53df99a577353302b0150000/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('53df99a577353302b0180000'), "name"=>"Kaelyn Gorczany", "reference"=>"Kasey Morar", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b0190000'), "firstname"=>"Allie", "lastname"=>"Raynor"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df99a577353302b0190000", "product_id"=>"53df99a577353302b0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms 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_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b01a0000'), "name"=>"Geo Harris", "reference"=>"Miss Brisa Abbott", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b01b0000'), "firstname"=>"Gene", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df99a577353302b01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b01a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b01c0000'), "name"=>"Tierra Mills", "reference"=>"Evangeline Ullrich I", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b01d0000'), "firstname"=>"Ed", "lastname"=>"Kirlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df99a577353302b01d0000", "product_id"=>"53df99a577353302b01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b01e0000'), "name"=>"Virgie Kshlerin", "reference"=>"Lonnie Kilback", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df99a577353302b01f0000'), "firstname"=>"Emmett", "lastname"=>"Wolff"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df99a577353302b01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99a577353302b01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df99a577353302b01e0000/manager 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('53df99a577353302b0200000'), "name"=>"Anastasia Wunsch", "reference"=>"Tracey Torp", "quantity"=>7}] 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.3124ms 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('53df99a577353302b0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Redirected to http://test.host/admin/products/53df99a577353302b0210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3035ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0220000'), "name"=>"Hilma Goldner", "reference"=>"Felton Mante", "quantity"=>7}] 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.2912ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df99a577353302b0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4385ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms 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.2969ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0230000'), "name"=>"Mrs. Barton Nikolaus", "reference"=>"Mr. Emmanuel Glover", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df99a577353302b0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0240000'), "name"=>"Jeremie Simonis", "reference"=>"Ettie Stracke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5523ms 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.4972ms Completed 200 OK in 11ms (Views: 10.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a577353302b0250000'), "name"=>"Ronny Schimmel", "reference"=>"Nicolette Roob", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df99a577353302b0280000'), "name"=>"Lon Hessel", "reference"=>"Jalen Streich", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df99a577353302b0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms 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('53df99a577353302b0290000'), "name"=>"Hassan Torphy", "reference"=>"Stacey Streich", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3538ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99a577353302b0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a577353302b0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Redirected to http://test.host/admin/products/53df99a577353302b0290000 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('53df99a677353302b02a0000'), "firstname"=>"Karine", "lastname"=>"Kulas"}] 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.2083ms 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('53df99a677353302b02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Redirected to http://test.host/admin/users/53df99a677353302b02b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2007ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a677353302b02c0000'), "firstname"=>"Margarita", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms 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"=>"53df99a677353302b02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a677353302b02c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a677353302b02c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms 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.1882ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a677353302b02d0000'), "firstname"=>"Peter", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df99a677353302b02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a677353302b02d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a677353302b02e0000'), "firstname"=>"Wilfred", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms 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.2922ms 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('53df99a677353302b02f0000'), "firstname"=>"Merlin", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0300000'), "firstname"=>"Elise", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df99a677353302b0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a677353302b0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Completed 200 OK in 3ms (Views: 2.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0310000'), "firstname"=>"Trey", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99a677353302b0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a677353302b0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df99a677353302b0310000 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('53df99a677353302b0320000'), "firstname"=>"Noe", "lastname"=>"Russel"}] 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=>"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('53df99a677353302b0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms 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.1933ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0340000'), "firstname"=>"Cordelia", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df99a677353302b0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a677353302b0340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0350000'), "firstname"=>"Ernesto", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6444ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0360000'), "firstname"=>"Claudie", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df99a677353302b0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a677353302b0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0370000'), "firstname"=>"Irma", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df99a677353302b0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99a677353302b0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0380000'), "name"=>"Ms. Corene Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0390000'), "name"=>"Kelli Funk PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03a0000'), "name"=>"Rowena Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03b0000'), "name"=>"Kareem Leuschke Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03c0000'), "name"=>"Tracey Hansen DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b03c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03d0000'), "name"=>"Kayleigh Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b03d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03e0000'), "name"=>"Lavon Senger"}] 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={"category_id"=>BSON::ObjectId('53df99a677353302b03e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b03f0000'), "name"=>"Chloe VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0400000'), "name"=>"Katrine Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0410000'), "name"=>"Gertrude Altenwerth V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0420000'), "name"=>"Odessa Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0430000'), "name"=>"Mr. Manley Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0440000'), "name"=>"Zack Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0450000'), "name"=>"Miss Casandra Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0460000'), "name"=>"Antonio MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0470000'), "name"=>"Adrien Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0480000'), "name"=>"Garry Batz IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0490000'), "name"=>"Lauren Hegmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04a0000'), "name"=>"Cortez Breitenberg II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04b0000'), "name"=>"Mr. Olga Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04c0000'), "name"=>"Merle Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04d0000'), "name"=>"Oswaldo Ortiz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04e0000'), "name"=>"Mrs. Jennifer Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b04f0000'), "name"=>"Dayne Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b04f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0500000'), "name"=>"Jerrell Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0510000'), "name"=>"Ara Jaskolski II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0520000'), "name"=>"Emmie Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0530000'), "name"=>"Duncan Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0540000'), "name"=>"Nora Kub"}] 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={"category_id"=>BSON::ObjectId('53df99a677353302b0540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0550000'), "name"=>"Greyson Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0560000'), "name"=>"Dee Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0570000'), "name"=>"Mikel Bernhard DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0580000'), "name"=>"Kassandra Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0590000'), "name"=>"Johan Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05a0000'), "name"=>"Katelin Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05b0000'), "name"=>"Makenna Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05c0000'), "name"=>"Elliot Bogisich I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05d0000'), "name"=>"Miss Jack Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05e0000'), "name"=>"Tanya Cummerata IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b05f0000'), "name"=>"Duane Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b05f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0600000'), "name"=>"Arnulfo Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0610000'), "name"=>"Cali O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0620000'), "name"=>"Lawson Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0630000'), "name"=>"Bella Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0640000'), "name"=>"Ellsworth Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0650000'), "name"=>"Valentine O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0660000'), "name"=>"Ari Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0670000'), "name"=>"Miss Scotty Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0680000'), "name"=>"Lloyd Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0690000'), "name"=>"Jaron Olson III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06a0000'), "name"=>"Howard Larson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06b0000'), "name"=>"Emiliano Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06c0000'), "name"=>"Ms. Gracie Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06d0000'), "name"=>"Ona Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06e0000'), "name"=>"Ms. Trudie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b06f0000'), "name"=>"Mr. Luciano Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0700000'), "name"=>"Sebastian Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0710000'), "name"=>"Coleman Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0720000'), "name"=>"Amara Veum IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0730000'), "name"=>"Miss Madelyn Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0740000'), "name"=>"Lacy Vandervort PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0750000'), "name"=>"Leila Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0760000'), "name"=>"Trevor Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0770000'), "name"=>"Jalen Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0780000'), "name"=>"Bernadette Harris MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0790000'), "name"=>"Isobel Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07a0000'), "name"=>"Kylee Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07b0000'), "name"=>"Mikayla Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07c0000'), "name"=>"Mr. Chauncey Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07d0000'), "name"=>"Ms. Nora Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07e0000'), "name"=>"Mrs. Felicity Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b07f0000'), "name"=>"Kari Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b07f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0800000'), "name"=>"Ms. Triston Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0810000'), "name"=>"Willard Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0820000'), "name"=>"Ephraim Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0830000'), "name"=>"Felicia Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0840000'), "name"=>"Mara Altenwerth MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0850000'), "name"=>"Mariam Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0860000'), "name"=>"Lurline Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0870000'), "name"=>"Tanya Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0880000'), "name"=>"Kaia Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0890000'), "name"=>"Ms. Delia Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08a0000'), "name"=>"Kirk Schmidt DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08b0000'), "name"=>"Virgil Hessel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08c0000'), "name"=>"Cristopher Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08d0000'), "name"=>"Casper Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08e0000'), "name"=>"Dedric Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b08f0000'), "name"=>"Mr. Dominic Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b08f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0900000'), "name"=>"Fabiola Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0910000'), "name"=>"Felicita Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0920000'), "name"=>"Lambert Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0930000'), "name"=>"Colten Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0940000'), "name"=>"Duane Runolfsdottir PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0950000'), "name"=>"Viva Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0960000'), "name"=>"Katelynn Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0970000'), "name"=>"Kirsten Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1611ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms Redirected to http://test.host/categories/53df99a677353302b0980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1747ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0990000'), "name"=>"Arvilla Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1539ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df99a677353302b0990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b0990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1661ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b09a0000'), "name"=>"Jabari Windler V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df99a677353302b09a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b09b0000'), "name"=>"Gideon Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215117270208] runtime: 0.0883ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2077ms Completed 200 OK in 17ms (Views: 16.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b09c0000'), "name"=>"Montana Bechtelar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215504340711] runtime: 0.0770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1837ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b09d0000'), "name"=>"Eula Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b09f0000'), "name"=>"Khalid Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df99a677353302b09f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2046ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0a00000'), "name"=>"Raleigh Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df99a677353302b0a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99a677353302b0a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99a677353302b0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Redirected to http://test.host/categories/53df99a677353302b0a00000 Completed 302 Found in 8ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0a10000'), "name"=>"Kailyn Skiles", "reference"=>"Garland Eichmann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0a20000'), "author_name"=>"Dante Yundt", "content"=>["Necessitatibus molestias nobis. Fugit sunt veritatis ut. Laboriosam dicta est. Natus amet omnis et quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99a677353302b0a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99a677353302b0a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4686ms Redirected to http://test.host/products/53df99a677353302b0a10000/comments/53df99a677353302b0a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a10000')} 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('53df99a677353302b0a40000'), "name"=>"Alejandrin Hoppe", "reference"=>"Mr. Ole Rutherford", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0a50000'), "author_name"=>"Savion Williamson", "content"=>["Laboriosam delectus iure deserunt est. Tenetur debitis veniam sit optio officia mollitia reprehenderit. Ipsa perspiciatis unde exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99a677353302b0a40000", "id"=>"53df99a677353302b0a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99a677353302b0a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Redirected to http://test.host/products/53df99a677353302b0a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0a60000'), "name"=>"Mrs. Margaret Dickinson", "reference"=>"Emelie Zboncak", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0a70000'), "author_name"=>"Maegan Shanahan", "content"=>["Nostrum voluptas unde. Natus animi et sunt eos repellat ab. Deserunt at occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df99a677353302b0a60000", "id"=>"53df99a677353302b0a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0a80000'), "name"=>"Melany Donnelly", "reference"=>"Dr. Juwan Bergstrom", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0a90000'), "author_name"=>"Sallie Veum", "content"=>["Aut quia tempore expedita possimus consequuntur. Veniam odio voluptatem placeat officia non harum non. Sequi praesentium qui reiciendis sint aut molestiae. Impedit nisi a qui omnis odit consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5823ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df99a677353302b0a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms Completed 200 OK in 40ms (Views: 38.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0aa0000'), "name"=>"Rupert Koch", "reference"=>"Ettie Pouros PhD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0ab0000'), "author_name"=>"Filomena Hamill", "content"=>["Dicta qui recusandae sint blanditiis nemo. Fugit natus et aspernatur nesciunt qui dignissimos error. Amet dolorem sequi minima vel. Placeat sit officia optio hic ex culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5828ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df99a677353302b0aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4164ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0ac0000'), "name"=>"Camden Waters", "reference"=>"Daphney Carroll", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0ad0000'), "author_name"=>"Elza Goyette MD", "content"=>["Nostrum atque dolores maxime. Omnis aperiam vitae laborum enim et dolor. Deserunt voluptas optio magnam eos repellat repellendus recusandae. Sit voluptatem asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df99a677353302b0ac0000", "id"=>"53df99a677353302b0ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0ae0000'), "name"=>"Matt Altenwerth", "reference"=>"Jon Ferry", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0af0000'), "author_name"=>"Sim Zboncak", "content"=>["Eius maxime vero eveniet recusandae perspiciatis et. Autem in aliquam. Facilis esse quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6468ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df99a677353302b0ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3437ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0b00000'), "name"=>"Antonetta Crist Jr.", "reference"=>"Mariela Schneider", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0b10000'), "author_name"=>"Ethelyn Emmerich", "content"=>["Sunt voluptatum et quas hic possimus. Cum tempore voluptatibus dolorem consequatur in vel voluptatem. Deserunt sed iusto velit soluta qui magnam similique. Aut fugiat dolorem et nisi et. Voluptates omnis non possimus necessitatibus tempore sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df99a677353302b0b00000", "id"=>"53df99a677353302b0b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0b20000'), "name"=>"Miss Monserrate Jakubowski", "reference"=>"Mariana Marks", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99a677353302b0b30000'), "author_name"=>"Ms. Nasir Spencer", "content"=>["Laborum molestias rem aspernatur. Vitae non et et vel dolores ullam odio. Pariatur mollitia nihil. Ratione suscipit accusamus natus mollitia necessitatibus aut quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5241ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99a677353302b0b30000", "product_id"=>"53df99a677353302b0b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0b20000'), "comments._id"=>BSON::ObjectId('53df99a677353302b0b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Redirected to http://test.host/products/53df99a677353302b0b20000/comments/53df99a677353302b0b30000 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('53df99a677353302b0b40000'), "firstname"=>"Sarah", "lastname"=>"Gutmann"}] 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=>"clients", :query=>{}} runtime: 0.2238ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms Redirected to http://test.host/admin/clients/53df99a677353302b0b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2208ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0b60000'), "firstname"=>"Amelia", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1876ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99a677353302b0b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms 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.1904ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0b70000'), "firstname"=>"Bertrand", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99a677353302b0b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms 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('53df99a677353302b0b80000'), "firstname"=>"Helga", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms 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('53df99a677353302b0b90000'), "firstname"=>"Kaylah", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1255ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 8.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0ba0000'), "firstname"=>"Leonie", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6302ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99a677353302b0ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4429ms 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('53df99a677353302b0bb0000'), "firstname"=>"Antonina", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df99a677353302b0bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms Redirected to http://test.host/admin/clients/53df99a677353302b0bb0000 Completed 302 Found in 5ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0bc0000'), "firstname"=>"Hipolito", "lastname"=>"Rutherford"}] 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=>"clients", :query=>{}} runtime: 0.3449ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Redirected to http://test.host/clients/53df99a677353302b0bd0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2761ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0be0000'), "firstname"=>"Twila", "lastname"=>"Turner"}] 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=>"clients", :query=>{}} runtime: 0.2608ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99a677353302b0be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5807ms Redirected to http://test.host/clients Completed 302 Found in 41ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2916ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0bf0000'), "firstname"=>"Eleanora", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99a677353302b0bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4392ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 9ms (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('53df99a677353302b0c00000'), "firstname"=>"Mariana", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53df99a677353302b0c10000'), "firstname"=>"Fannie", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0c20000'), "firstname"=>"Marjolaine", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99a677353302b0c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4118ms 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('53df99a677353302b0c30000'), "firstname"=>"Rowan", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df99a677353302b0c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99a677353302b0c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms Redirected to http://test.host/clients/53df99a677353302b0c30000 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('53df99a677353302b0c40000'), "name"=>"Dr. Anthony Rice", "reference"=>"Mrs. Christelle Strosin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0c50000'), "firstname"=>"Gerard", "lastname"=>"Brown"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99a677353302b0c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Redirected to http://test.host/products/53df99a677353302b0c40000/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('53df99a677353302b0c70000'), "name"=>"Kelton Wilderman I", "reference"=>"Daron Franecki IV", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0c80000'), "firstname"=>"Amya", "lastname"=>"Parker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5576ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df99a677353302b0c80000", "product_id"=>"53df99a677353302b0c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0c90000'), "name"=>"Tremayne Bogisich", "reference"=>"Tyson Bailey", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0ca0000'), "firstname"=>"Odie", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df99a677353302b0c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0cb0000'), "name"=>"Kory Rice", "reference"=>"Stewart Kassulke PhD", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0cc0000'), "firstname"=>"German", "lastname"=>"Monahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5372ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df99a677353302b0cc0000", "product_id"=>"53df99a677353302b0cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0cd0000'), "name"=>"Mrs. Austyn Leannon", "reference"=>"Connie Mosciski", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99a677353302b0ce0000'), "firstname"=>"Gregorio", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8144ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df99a677353302b0ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99a677353302b0cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Unpermitted parameters: name Redirected to http://test.host/products/53df99a677353302b0cd0000/manager Completed 302 Found in 5ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0cf0000'), "name"=>"Stanley Konopelski Sr.", "reference"=>"Jason Bode PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d00000'), "name"=>"Erling Green", "reference"=>"Albin Farrell", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d10000'), "name"=>"London Renner Sr.", "reference"=>"Ms. Isabell Greenfelder", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d20000'), "name"=>"Mike Kilback", "reference"=>"Bud Stoltenberg", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d30000'), "name"=>"Gustave Kulas", "reference"=>"Ms. Bessie Blick", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d40000'), "name"=>"Mrs. Kyler Becker", "reference"=>"Glen Greenholt", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2774ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms Redirected to http://test.host/products/53df99a677353302b0d50000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2678ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d60000'), "name"=>"Domenica Wisozk", "reference"=>"Rhiannon D'Amore", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2518ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df99a677353302b0d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms 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.2475ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d70000'), "name"=>"Roma Hilpert", "reference"=>"Hoyt Collins", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df99a677353302b0d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a677353302b0d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 12ms (Views: 10.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d80000'), "name"=>"Sebastian Walker", "reference"=>"Mrs. Modesta Towne", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms 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: 1.6422ms Completed 200 OK in 69ms (Views: 68.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a677353302b0d90000'), "name"=>"Brad Bins", "reference"=>"Clint Kutch", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9519ms Completed 200 OK in 24ms (Views: 23.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7062ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0da0000'), "name"=>"Devyn Champlin V", "reference"=>"Mikayla Barton", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms 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.7285ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0db0000'), "name"=>"Joshuah Bergnaum", "reference"=>"Jaydon Auer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df99a777353302b0db0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms 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('53df99a777353302b0dc0000'), "name"=>"Tanner Hodkiewicz", "reference"=>"Hoyt Rowe", "quantity"=>4}] 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 (2.5ms) 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('53df99a777353302b0de0000'), "name"=>"Ms. Rosendo Crist", "reference"=>"Zella Grady", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df99a777353302b0de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0df0000'), "name"=>"Jerald Mante I", "reference"=>"Colby Zboncak", "quantity"=>0}] 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.1898ms 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('53df99a777353302b0e00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1839ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0e10000'), "name"=>"Andrew Lockman", "reference"=>"Verla Kunze", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df99a777353302b0e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e10000')} 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('53df99a777353302b0e10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms 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('53df99a777353302b0e20000'), "name"=>"Dr. Kelli Mayer", "reference"=>"Jayden Schumm", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms 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('53df99a777353302b0e40000'), "name"=>"Gage Veum", "reference"=>"Leda McLaughlin I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99a777353302b0e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms 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('53df99a777353302b0e50000'), "name"=>"Garrison Conn", "reference"=>"Gwen Witting", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99a777353302b0e50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e50000')} 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('53df99a777353302b0e50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7346ms Redirected to http://test.host/products/53df99a777353302b0e50000 Completed 302 Found in 8ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0e80000'), "name"=>"Will Murray", "reference"=>"Oscar Hauck", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0e60000'), "author_name"=>"Jermain Goodwin", "content"=>["Aspernatur ratione facilis sit. Cum doloribus ad fuga architecto. Ut quisquam ea cupiditate ut voluptates eum."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0e70000'), "author_name"=>"Charley Kohler", "content"=>["Voluptates placeat ducimus cum. Et explicabo consequuntur deserunt ut fuga voluptas harum. Ut beatae velit occaecati provident sed omnis accusantium. Culpa ut veniam quia sed natus aut cupiditate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99a777353302b0e80000", "comment_id"=>"53df99a777353302b0e60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e80000')} 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('53df99a777353302b0e80000'), "comments._id"=>BSON::ObjectId('53df99a777353302b0e60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99a777353302b0e90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Redirected to http://test.host/products/53df99a777353302b0e80000/comments/53df99a777353302b0e60000/comments/53df99a777353302b0e90000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0ec0000'), "name"=>"Lamont Dickens", "reference"=>"Corrine Lindgren II", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0ea0000'), "author_name"=>"Mallory O'Connell", "content"=>["Quos maxime modi velit distinctio exercitationem aperiam id. Aut inventore doloremque atque accusamus. Soluta neque nam."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0eb0000'), "author_name"=>"Ms. Mackenzie Reynolds", "content"=>["Voluptate facilis et commodi ab. Provident nemo rem dicta dignissimos dolor aperiam doloremque. Unde aut dolor odit adipisci aut quia. Beatae voluptatem laborum sunt saepe ad porro aliquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df99a777353302b0ec0000", "comment_id"=>"53df99a777353302b0ea0000", "id"=>"53df99a777353302b0eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0ec0000'), "comments._id"=>BSON::ObjectId('53df99a777353302b0ea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99a777353302b0eb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Redirected to http://test.host/products/53df99a777353302b0ec0000/comments/53df99a777353302b0ea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0ef0000'), "name"=>"Dr. Derek Ondricka", "reference"=>"Milton Konopelski", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0ed0000'), "author_name"=>"Ernest Heller", "content"=>["Dignissimos dolorem repudiandae ut laudantium consequuntur. Suscipit ex voluptas qui nihil. Vero ut recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0ee0000'), "author_name"=>"Rosa Nicolas", "content"=>["Ut corrupti eos. Atque est enim sit ut assumenda consectetur. Odit repudiandae ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df99a777353302b0ef0000", "comment_id"=>"53df99a777353302b0ed0000", "id"=>"53df99a777353302b0ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0f20000'), "name"=>"Tessie Grimes", "reference"=>"Lowell Collier", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f00000'), "author_name"=>"Mrs. Sydney Moore", "content"=>["Nesciunt quos itaque mollitia officiis. Et atque quibusdam amet. Inventore est eum."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f10000'), "author_name"=>"Hellen Conn", "content"=>["Deserunt odio quia doloribus possimus. Molestiae labore similique. Quo est cupiditate. Dignissimos cumque non iure maxime et fuga non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df99a777353302b0f20000", "comment_id"=>"53df99a777353302b0f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0f50000'), "name"=>"Nannie Osinski", "reference"=>"Jude Collins", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f30000'), "author_name"=>"Craig Kunze II", "content"=>["Rerum numquam cum qui aut. Aut iure doloremque suscipit sed ut. Voluptas quidem possimus et. Non neque consequatur nostrum laboriosam odio cupiditate minus. Consequatur ipsam quia alias ratione et."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f40000'), "author_name"=>"Ian Doyle", "content"=>["Unde dignissimos voluptatem qui non at. Voluptatem deserunt voluptatem. Aut sunt quibusdam. Eum corrupti est tempore. Rerum sit veniam quia magni sunt voluptatem consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df99a777353302b0f50000", "comment_id"=>"53df99a777353302b0f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0f80000'), "name"=>"Ruben Cartwright Sr.", "reference"=>"Miss Emilia Kutch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f60000'), "author_name"=>"Mr. Lonny Rice", "content"=>["Assumenda molestias suscipit rerum hic eaque. Harum voluptates quibusdam laboriosam. Aliquid minus iusto amet ut ut et commodi."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f70000'), "author_name"=>"Dr. Adan Kihn", "content"=>["Tempora ad quaerat dicta possimus ratione. Dolorum ab ut corrupti quia. Tenetur rerum velit. Excepturi qui doloremque. Perferendis voluptatem est beatae et et sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df99a777353302b0f80000", "comment_id"=>"53df99a777353302b0f60000", "id"=>"53df99a777353302b0f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0fb0000'), "name"=>"Greta Ratke MD", "reference"=>"Jannie Olson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0f90000'), "author_name"=>"Leatha Kerluke", "content"=>["Qui praesentium maiores aut minus. Et non voluptas eos unde asperiores fuga. A perspiciatis quas error animi aut. Ut distinctio illum est."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0fa0000'), "author_name"=>"Lucius Funk III", "content"=>["Et voluptatem aliquid qui sapiente. Repudiandae fugiat voluptatibus iste. Est in sit. Culpa et fugit. Sapiente et incidunt molestiae temporibus cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8323ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df99a777353302b0fb0000", "comment_id"=>"53df99a777353302b0f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0fe0000'), "name"=>"Violette Rath", "reference"=>"Freddy Mosciski PhD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0fc0000'), "author_name"=>"Rex Treutel", "content"=>["Sit ut saepe quasi eum alias. Quo consequatur voluptate dolor quae qui. Quisquam commodi laboriosam ad illo maiores iusto quasi."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0fd0000'), "author_name"=>"Sonia Senger V", "content"=>["Id distinctio placeat reiciendis voluptatem rerum. Non accusamus ut fugit iste aliquam deserunt blanditiis. Nulla autem et sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df99a777353302b0fe0000", "comment_id"=>"53df99a777353302b0fc0000", "id"=>"53df99a777353302b0fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0010100'), "name"=>"Brenda Monahan", "reference"=>"Harold Breitenberg Sr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0ff0000'), "author_name"=>"Wilfred Jaskolski", "content"=>["Voluptas atque minima nostrum sit quia natus. Velit quo excepturi quis. Ipsam eum natus quae dolores repellendus. Ipsa sint molestias corrupti molestiae ex et ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df99a777353302b0000100'), "author_name"=>"Miss Sherwood Auer", "content"=>["Nemo harum et non quod eligendi aut. Enim pariatur nobis minus illum sed repellat nesciunt. Aperiam eligendi molestiae expedita fugit adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99a777353302b0000100", "product_id"=>"53df99a777353302b0010100", "comment_id"=>"53df99a777353302b0ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99a777353302b0010100'), "comments._id"=>BSON::ObjectId('53df99a777353302b0ff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df99a777353302b0000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Redirected to http://test.host/products/53df99a777353302b0010100/comments/53df99a777353302b0ff0000/comments/53df99a777353302b0000100 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('53df99a777353302b0020100'), "firstname"=>"Tyree", "lastname"=>"Maggio"}] 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.2072ms 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('53df99a777353302b0030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms Redirected to http://test.host/users/53df99a777353302b0030100 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('53df99a777353302b0040100'), "firstname"=>"Beth", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1846ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df99a777353302b0040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a777353302b0040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a777353302b0040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms 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.1996ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0050100'), "firstname"=>"Shyann", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df99a777353302b0050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a777353302b0050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0060100'), "firstname"=>"Jordon", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms 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.3112ms 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('53df99a777353302b0070100'), "firstname"=>"Sigmund", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms 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.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0080100'), "firstname"=>"Javier", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df99a777353302b0080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a777353302b0080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Completed 200 OK in 3ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99a777353302b0090100'), "firstname"=>"Hallie", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99a777353302b0090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99a777353302b0090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Unpermitted parameters: name Redirected to http://test.host/users/53df99a777353302b0090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6055ms 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.6021ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6563ms 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.5453ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9357ms 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.6079ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2000000'), "name"=>"Ms. Agnes Hettinger", "reference"=>"Curt Corkery", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2010000'), "name"=>"Janice Kassulke", "reference"=>"Alexandro Wuckert DDS", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2020000'), "name"=>"Delpha Tremblay", "reference"=>"Maryse Collins", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2030000'), "name"=>"Macie Gleason", "reference"=>"Freddy Barton PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2040000'), "name"=>"Dulce Leuschke MD", "reference"=>"Dr. Kirstin Batz", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2050000'), "name"=>"Mrs. Jackson Kilback", "reference"=>"Deion Rolfson I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1721ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.8857ms Redirected to http://test.host/products/53df99af77353302c2060000 Completed 302 Found in 19ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1901ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2070000'), "name"=>"Arnold Davis III", "reference"=>"Dr. Gisselle Kshlerin", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1698ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df99af77353302c2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms 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.1778ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2080000'), "name"=>"Nicholas Hane", "reference"=>"Melyssa Goldner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df99af77353302c2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 46ms (Views: 44.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2090000'), "name"=>"Miss Jeromy Jacobi", "reference"=>"Mazie Oberbrunner", "quantity"=>1}] 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.3533ms Completed 200 OK in 8ms (Views: 7.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c20a0000'), "name"=>"Jessika Hermiston", "reference"=>"Amy Bauch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms Completed 200 OK in 7ms (Views: 6.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c20b0000'), "name"=>"Mrs. Tristin Marquardt", "reference"=>"Carlie Roob", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms 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.3583ms Completed 200 OK in 2ms (Views: 0.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c20c0000'), "name"=>"Pattie Abshire", "reference"=>"Hardy Robel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df99af77353302c20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c20c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms 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('53df99af77353302c20d0000'), "name"=>"Miss Turner Harber", "reference"=>"Collin Kuhn IV", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 18ms (Views: 4.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c20f0000'), "name"=>"Kailyn Fadel", "reference"=>"Gabriel Hoeger III", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df99af77353302c20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Completed 200 OK in 4ms (Views: 2.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2100000'), "name"=>"Corene Smitham II", "reference"=>"Trevion Treutel", "quantity"=>2}] 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.1718ms 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('53df99af77353302c2110000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1826ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99af77353302c2120000'), "name"=>"Malvina Moen", "reference"=>"Violet Bogisich DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df99af77353302c2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2120000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms 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('53df99af77353302c2130000'), "name"=>"Arvel Gislason", "reference"=>"Tyson Carter", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms 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('53df99af77353302c2150000'), "name"=>"Tiffany Kassulke", "reference"=>"Salvatore Predovic IV", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99af77353302c2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2150000')} 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('53df99af77353302c2150000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms 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('53df99af77353302c2160000'), "name"=>"Reynold Hamill", "reference"=>"Mr. Lacy West", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99af77353302c2160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99af77353302c2160000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms Redirected to http://test.host/products/53df99af77353302c2160000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4423ms 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.2200ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms 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.1825ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms 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.3637ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308000000'), "firstname"=>"Ed", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3013ms 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('53df99f17735330308010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms 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.3338ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308020000'), "firstname"=>"Daniella", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df99f17735330308020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4056ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 50ms (Views: 48.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308030000'), "firstname"=>"Clinton", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.5263ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308040000'), "firstname"=>"Sadye", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6015ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df99f17735330308040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308050000'), "firstname"=>"Kelley", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5696ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df99f17735330308050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4375ms 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('53df99f17735330308060000'), "name"=>"Devin Haag", "reference"=>"Christopher O'Keefe", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308070000'), "author_name"=>"Thelma D'Amore", "content"=>["Dolorum quas eligendi quam maiores fugiat. Labore sequi velit amet dolor quas asperiores. Illum ad necessitatibus autem nihil accusantium dicta sunt. Blanditiis fuga omnis id. Ab molestiae in delectus eos nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99f17735330308060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f17735330308080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/admin/products/53df99f17735330308060000/comments/53df99f17735330308080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308090000'), "name"=>"Dr. Kasandra Schamberger", "reference"=>"Mrs. Rudy Larson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99f177353303080a0000'), "author_name"=>"Dr. Winston Ebert", "content"=>["Animi dolorum maxime aut. Tempora autem eius consectetur quia fugit dolor quis. Et qui ad nisi accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f17735330308090000", "id"=>"53df99f177353303080a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308090000')} 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('53df99f17735330308090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f177353303080a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Redirected to http://test.host/admin/products/53df99f17735330308090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303080b0000'), "name"=>"Janessa Ullrich", "reference"=>"Mrs. Shaylee Jast", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f177353303080c0000'), "author_name"=>"Kiel Luettgen", "content"=>["Ipsam magnam minus error dolor. Ipsum omnis eum. Molestias optio velit. Soluta porro expedita sit alias aliquam. Perferendis accusantium et similique tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8905ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df99f177353303080b0000", "id"=>"53df99f177353303080c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303080b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303080d0000'), "name"=>"Belle Romaguera", "reference"=>"Adrien Harvey", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df99f177353303080e0000'), "author_name"=>"Mr. Dangelo Windler", "content"=>["Eos deleniti dignissimos et vel. Sint quos omnis autem. Numquam eum rerum voluptatem debitis praesentium non. Molestiae hic totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df99f177353303080d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303080d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303080f0000'), "name"=>"Sylvan Bosco", "reference"=>"Marisa Kuhlman", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308100000'), "author_name"=>"Fabiola Blick", "content"=>["Ipsum eaque repellat magnam. Debitis dolorem laborum qui dicta. Pariatur voluptatibus beatae aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df99f177353303080f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303080f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308110000'), "name"=>"Pablo Powlowski", "reference"=>"Leland Borer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308120000'), "author_name"=>"Ethyl Jakubowski Jr.", "content"=>["Distinctio nesciunt in est suscipit quis ab aut. Magnam eaque non praesentium quas exercitationem. Quas et ut beatae assumenda id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df99f17735330308110000", "id"=>"53df99f17735330308120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308130000'), "name"=>"Odell West II", "reference"=>"Ms. Seth Goldner", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308140000'), "author_name"=>"Mabelle Jenkins", "content"=>["Sit non et qui quis vel aspernatur cum. Porro maxime ex quisquam tenetur eaque ipsa cumque. Est commodi autem qui. Aut ullam nihil aut. Dolore illum reiciendis corporis porro cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f17735330308140000", "product_id"=>"53df99f17735330308130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308130000'), "comments._id"=>BSON::ObjectId('53df99f17735330308140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Redirected to http://test.host/admin/products/53df99f17735330308130000/comments/53df99f17735330308140000 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('53df99f17735330308150000'), "name"=>"Mrs. Ernie Gutmann", "reference"=>"Ms. Elnora Zulauf", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df99f17735330308160000'), "firstname"=>"Terrill", "lastname"=>"Prohaska"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99f17735330308150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99f17735330308170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms Redirected to http://test.host/admin/products/53df99f17735330308150000/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('53df99f17735330308180000'), "name"=>"Miss Tremayne Leannon", "reference"=>"Ansley Schulist", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df99f17735330308190000'), "firstname"=>"Edwardo", "lastname"=>"Wiegand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df99f17735330308190000", "product_id"=>"53df99f17735330308180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 5.9ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303081a0000'), "name"=>"Rollin Bergnaum", "reference"=>"Anna Wuckert", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99f177353303081b0000'), "firstname"=>"Jordy", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df99f177353303081a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303081a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303081c0000'), "name"=>"Jan Kertzmann", "reference"=>"Theron Eichmann", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df99f177353303081d0000'), "firstname"=>"Blanche", "lastname"=>"Cummings"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df99f177353303081d0000", "product_id"=>"53df99f177353303081c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303081c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Completed 200 OK in 7ms (Views: 4.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f177353303081e0000'), "name"=>"Maude Dooley PhD", "reference"=>"Selena Kub", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df99f177353303081f0000'), "firstname"=>"Clint", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6106ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df99f177353303081f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99f177353303081e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f177353303081e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4431ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df99f177353303081e0000/manager Completed 302 Found in 4ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308200000'), "name"=>"Samantha Lind", "reference"=>"Tomasa Hane", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3471ms 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('53df99f17735330308210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms Redirected to http://test.host/admin/products/53df99f17735330308210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2959ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308220000'), "name"=>"Tremayne Turcotte", "reference"=>"Marco Sawayn", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.2215ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df99f17735330308220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308220000')} 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('53df99f17735330308220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms 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.2180ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308230000'), "name"=>"Ms. Rozella McKenzie", "reference"=>"Torrance Will DVM", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df99f17735330308230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 10ms (Views: 8.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308240000'), "name"=>"Lorenz Mraz", "reference"=>"Elwin Greenfelder", "quantity"=>5}] 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.5813ms 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('53df99f17735330308250000'), "name"=>"Stevie Waters", "reference"=>"Eduardo Cassin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 24ms (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('53df99f17735330308280000'), "name"=>"Erik Littel", "reference"=>"Sigmund Mills", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df99f17735330308280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms 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('53df99f17735330308290000'), "name"=>"Mr. Paris Oberbrunner", "reference"=>"Alexzander Greenholt", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f17735330308290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms Redirected to http://test.host/admin/products/53df99f17735330308290000 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('53df99f177353303082a0000'), "firstname"=>"Destin", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5477ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1846ms 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('53df99f177353303082b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Redirected to http://test.host/admin/users/53df99f177353303082b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1759ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f177353303082c0000'), "firstname"=>"Rudolph", "lastname"=>"Stiedemann"}] 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=>"admin_users", :query=>{}} runtime: 0.1600ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df99f177353303082c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f177353303082c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f177353303082c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms 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.1609ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f177353303082d0000'), "firstname"=>"Buster", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df99f177353303082d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f177353303082d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms Rendered /home/geoffroy/projects/iord/app/views/iord/_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('53df99f177353303082e0000'), "firstname"=>"Garfield", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms 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.2941ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f177353303082f0000'), "firstname"=>"Jean", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f17735330308300000'), "firstname"=>"Lilliana", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df99f17735330308300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f17735330308300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f17735330308310000'), "firstname"=>"Keith", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99f17735330308310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f17735330308310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df99f17735330308310000 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('53df99f17735330308320000'), "firstname"=>"Manuel", "lastname"=>"Yundt"}] 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=>"administrators", :query=>{}} runtime: 0.1626ms 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('53df99f17735330308330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms 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.1556ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308340000'), "firstname"=>"Maida", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df99f17735330308340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308350000'), "firstname"=>"Ariane", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308360000'), "firstname"=>"Breanne", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df99f17735330308360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f17735330308370000'), "firstname"=>"Sadie", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df99f17735330308370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f17735330308370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308380000'), "name"=>"Otto Klocko Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308390000'), "name"=>"Brock Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083a0000'), "name"=>"Shawn Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083b0000'), "name"=>"Emilia Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083c0000'), "name"=>"Raymundo Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083d0000'), "name"=>"Cristobal Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083e0000'), "name"=>"Eloy Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303083f0000'), "name"=>"Darien Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303083f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308400000'), "name"=>"Juliet Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308410000'), "name"=>"Florian Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308420000'), "name"=>"Deontae Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308430000'), "name"=>"River Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308440000'), "name"=>"Mr. Braxton Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308450000'), "name"=>"Esperanza Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308460000'), "name"=>"Carleton Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308470000'), "name"=>"Isom Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308480000'), "name"=>"Edward Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308490000'), "name"=>"Doyle Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084a0000'), "name"=>"Mrs. Cale Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084b0000'), "name"=>"Imogene Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084c0000'), "name"=>"Dr. Laverne Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084d0000'), "name"=>"Mr. Jerad Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084e0000'), "name"=>"Ms. Eldon Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303084f0000'), "name"=>"Dr. Hassan McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303084f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308500000'), "name"=>"Cortez Ferry I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308510000'), "name"=>"Annamarie Hettinger Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308520000'), "name"=>"Elijah Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308530000'), "name"=>"Julien Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308540000'), "name"=>"Albina Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308550000'), "name"=>"Laisha Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308560000'), "name"=>"Alba Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308570000'), "name"=>"Columbus Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308580000'), "name"=>"Darlene Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308590000'), "name"=>"Audra Rogahn Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085a0000'), "name"=>"Jamel Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085b0000'), "name"=>"Myrtis Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085c0000'), "name"=>"Lance Kuphal MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085d0000'), "name"=>"Kellie Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085e0000'), "name"=>"Darrell McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303085f0000'), "name"=>"Keon Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303085f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308600000'), "name"=>"Jennings Nader PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308610000'), "name"=>"Christiana Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308620000'), "name"=>"Mrs. Edgar Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308630000'), "name"=>"Maia Padberg I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308640000'), "name"=>"Toni Osinski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308650000'), "name"=>"Dr. Diana Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308660000'), "name"=>"Zula McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308670000'), "name"=>"Enos Waelchi PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308680000'), "name"=>"Louie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308690000'), "name"=>"Candido Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086a0000'), "name"=>"Jacques Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086b0000'), "name"=>"Martin Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086c0000'), "name"=>"Dana Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086d0000'), "name"=>"Jeffrey Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086e0000'), "name"=>"Drew Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303086f0000'), "name"=>"Ardith Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303086f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308700000'), "name"=>"Emiliano Fritsch IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308710000'), "name"=>"Cesar Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308720000'), "name"=>"Jefferey Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308730000'), "name"=>"Mrs. Paxton Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308740000'), "name"=>"Elda Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308750000'), "name"=>"Javonte Wehner DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308760000'), "name"=>"Miss Rachelle Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308770000'), "name"=>"Hunter Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308780000'), "name"=>"Donnie Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308790000'), "name"=>"Chandler Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087a0000'), "name"=>"Myah Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087b0000'), "name"=>"Violet Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087c0000'), "name"=>"Adaline Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087d0000'), "name"=>"Andre Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087e0000'), "name"=>"Jonatan Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303087f0000'), "name"=>"Reed Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303087f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308800000'), "name"=>"Theodore Yost DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308810000'), "name"=>"Mrs. Markus Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308820000'), "name"=>"Hailey Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308830000'), "name"=>"Brody Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308840000'), "name"=>"Mary Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308850000'), "name"=>"Tess Boehm II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308860000'), "name"=>"Niko Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308870000'), "name"=>"Erich Grady III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308880000'), "name"=>"Ima Runolfsson I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308890000'), "name"=>"Mia Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088a0000'), "name"=>"Zola Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088b0000'), "name"=>"Mr. Sabrina Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088c0000'), "name"=>"Dr. Burdette Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088d0000'), "name"=>"Ms. Yasmine Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088e0000'), "name"=>"Zaria Ruecker DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303088f0000'), "name"=>"Allan Lind DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303088f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308900000'), "name"=>"Kristy Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308910000'), "name"=>"Mr. Wilson Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308920000'), "name"=>"Andreane Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308930000'), "name"=>"Vicky Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308940000'), "name"=>"Alvina Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308950000'), "name"=>"Chester Waelchi MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308960000'), "name"=>"Abraham Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308970000'), "name"=>"Haylee Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1268ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms Redirected to http://test.host/categories/53df99f17735330308980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1529ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308990000'), "name"=>"Mr. Roma Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1333ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df99f17735330308990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f17735330308990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f17735330308990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1488ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303089a0000'), "name"=>"Mrs. Terrill Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df99f177353303089a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f177353303089a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 9ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303089b0000'), "name"=>"Janessa Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216296988512] runtime: 0.0786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2134ms Completed 200 OK in 15ms (Views: 14.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303089c0000'), "name"=>"Tara Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215047425873] runtime: 0.0685ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1673ms Completed 200 OK in 8ms (Views: 7.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303089d0000'), "name"=>"Barrett Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f177353303089f0000'), "name"=>"Dr. Josie Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df99f177353303089f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f177353303089f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f177353303089f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms Completed 200 OK in 4ms (Views: 2.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f17735330308a00000'), "name"=>"Dameon Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df99f17735330308a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f17735330308a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f17735330308a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f17735330308a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms Redirected to http://test.host/categories/53df99f17735330308a00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308a10000'), "name"=>"Lou Smitham", "reference"=>"Garrick Koss", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308a20000'), "author_name"=>"Leslie Bogisich", "content"=>["Distinctio consectetur autem accusamus eligendi. Necessitatibus debitis dolorem reiciendis culpa qui harum. Minus consequatur velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99f17735330308a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f17735330308a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms Redirected to http://test.host/products/53df99f17735330308a10000/comments/53df99f17735330308a30000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308a40000'), "name"=>"Flavie Lueilwitz", "reference"=>"Coleman Trantow I", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308a50000'), "author_name"=>"Miss Raphaelle Witting", "content"=>["Quidem reprehenderit laborum. Qui praesentium earum corporis. Exercitationem nobis modi nam odit sint quam. Minima dolorum culpa sed facilis. Quia officiis itaque dolorem id ratione quis amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f17735330308a40000", "id"=>"53df99f17735330308a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f17735330308a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms Redirected to http://test.host/products/53df99f17735330308a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308a60000'), "name"=>"Mrs. Eriberto Rodriguez", "reference"=>"Lennie Bahringer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308a70000'), "author_name"=>"Dallin Robel", "content"=>["Quis dicta quaerat sunt. Ea magnam voluptas ut distinctio et laborum mollitia. Temporibus iure ex et. Nihil possimus molestias inventore aut qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df99f17735330308a60000", "id"=>"53df99f17735330308a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308a80000'), "name"=>"Cameron Lemke", "reference"=>"Elwin Stark", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308a90000'), "author_name"=>"Percy DuBuque", "content"=>["Voluptatem quia sequi explicabo. Voluptas officia aut deserunt. Non et error ducimus illum natus incidunt. Accusantium et omnis magnam. Est alias ex adipisci nesciunt et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df99f17735330308a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308aa0000'), "name"=>"Lauren Hamill", "reference"=>"Harold Lemke DVM", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308ab0000'), "author_name"=>"Oswaldo Turner Sr.", "content"=>["Et ab doloribus possimus consequuntur labore nihil voluptatem. Deserunt enim officia reprehenderit velit ea quia. Illo consequatur voluptas ut quia doloribus perferendis doloremque. Aut et aliquid in occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df99f17735330308aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308ac0000'), "name"=>"Yasmine Hermiston", "reference"=>"Terrence Nicolas", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308ad0000'), "author_name"=>"Orville Greenholt", "content"=>["Aperiam modi voluptate dolor natus eos qui animi. Ad eum et et qui non molestiae eveniet. Sunt et molestias. Asperiores sapiente provident enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df99f17735330308ac0000", "id"=>"53df99f17735330308ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308ae0000'), "name"=>"Rocio O'Kon", "reference"=>"Constance Gibson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308af0000'), "author_name"=>"Elwyn Halvorson", "content"=>["Alias delectus eos. Eaque odio ipsam distinctio. Nulla dolor veritatis in nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df99f17735330308ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308b00000'), "name"=>"Leonie Ward", "reference"=>"Gene Larson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308b10000'), "author_name"=>"Kolby Weber", "content"=>["Modi aut voluptatem soluta atque aut. Atque labore recusandae. Ut ullam saepe perspiciatis molestiae natus perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df99f17735330308b00000", "id"=>"53df99f17735330308b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f17735330308b20000'), "name"=>"Tiara Weissnat", "reference"=>"Brandon Waelchi MD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f17735330308b30000'), "author_name"=>"Carolyn Gerlach", "content"=>["Enim sit sed et porro. Aut ut ipsum voluptatem. Aut hic praesentium quia voluptatem eos autem. Mollitia et aspernatur vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f17735330308b30000", "product_id"=>"53df99f17735330308b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f17735330308b20000')} 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('53df99f17735330308b20000'), "comments._id"=>BSON::ObjectId('53df99f17735330308b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Redirected to http://test.host/products/53df99f17735330308b20000/comments/53df99f17735330308b30000 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('53df99f17735330308b40000'), "firstname"=>"Eli", "lastname"=>"Paucek"}] 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=>"clients", :query=>{}} runtime: 0.1900ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f17735330308b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms Redirected to http://test.host/admin/clients/53df99f17735330308b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f17735330308b60000'), "firstname"=>"Gregory", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0053ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1463ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99f17735330308b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f17735330308b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f17735330308b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms 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.1421ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308b70000'), "firstname"=>"Lacey", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99f27735330308b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (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('53df99f27735330308b80000'), "firstname"=>"Serena", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms 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('53df99f27735330308b90000'), "firstname"=>"D'angelo", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308ba0000'), "firstname"=>"Pete", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99f27735330308ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308bb0000'), "firstname"=>"Lauretta", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df99f27735330308bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308bb0000')} 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('53df99f27735330308bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Redirected to http://test.host/admin/clients/53df99f27735330308bb0000 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('53df99f27735330308bc0000'), "firstname"=>"Jaeden", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1472ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/clients/53df99f27735330308bd0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1886ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308be0000'), "firstname"=>"Dorris", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1567ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99f27735330308be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms 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.1657ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308bf0000'), "firstname"=>"Sarina", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99f27735330308bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms 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('53df99f27735330308c00000'), "firstname"=>"Lilly", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms 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('53df99f27735330308c10000'), "firstname"=>"Jammie", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms 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.3ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f27735330308c20000'), "firstname"=>"Ollie", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99f27735330308c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms 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('53df99f27735330308c30000'), "firstname"=>"Eulah", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df99f27735330308c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f27735330308c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms Redirected to http://test.host/clients/53df99f27735330308c30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308c40000'), "name"=>"Olaf Streich", "reference"=>"Annabel Reichert", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308c50000'), "firstname"=>"Vicky", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99f27735330308c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308c40000')} 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('53df99f27735330308c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms Redirected to http://test.host/products/53df99f27735330308c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308c70000'), "name"=>"Cesar Yost", "reference"=>"Dr. Madison Jones", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308c80000'), "firstname"=>"Marcia", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df99f27735330308c80000", "product_id"=>"53df99f27735330308c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308c90000'), "name"=>"Dwight Gaylord", "reference"=>"Raymundo Jacobson", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308ca0000'), "firstname"=>"Henri", "lastname"=>"Homenick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df99f27735330308c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308cb0000'), "name"=>"Bryana Dietrich", "reference"=>"Josiane Nicolas", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308cc0000'), "firstname"=>"Jovany", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df99f27735330308cc0000", "product_id"=>"53df99f27735330308cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308cd0000'), "name"=>"Braulio Schowalter", "reference"=>"Rusty Paucek", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df99f27735330308ce0000'), "firstname"=>"Lester", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df99f27735330308ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99f27735330308cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms Unpermitted parameters: name Redirected to http://test.host/products/53df99f27735330308cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308cf0000'), "name"=>"Julian Lemke Jr.", "reference"=>"Reyes Stoltenberg", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d00000'), "name"=>"Ms. Felicity Runte", "reference"=>"Kacie Windler", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d10000'), "name"=>"Eladio Feeney", "reference"=>"Mr. Bernardo Lynch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d20000'), "name"=>"Margarette Donnelly", "reference"=>"Davin Windler IV", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d30000'), "name"=>"Mrs. Kristoffer Hahn", "reference"=>"Hester Jacobi", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d40000'), "name"=>"Renee Schmitt", "reference"=>"Immanuel Bartoletti", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1562ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms Redirected to http://test.host/products/53df99f27735330308d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1633ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d60000'), "name"=>"Brad Hodkiewicz", "reference"=>"Isabella Wiza II", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1366ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df99f27735330308d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms 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.1559ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d70000'), "name"=>"Jodie Cronin", "reference"=>"Nat Considine", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df99f27735330308d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d80000'), "name"=>"River Ullrich", "reference"=>"Bernice Hane", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms 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.7573ms Completed 200 OK in 25ms (Views: 24.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308d90000'), "name"=>"Katrina Stroman II", "reference"=>"Quinn Denesik", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7851ms Completed 200 OK in 20ms (Views: 19.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 26.5918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 35.1020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8202ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308da0000'), "name"=>"Ms. Lane Murphy", "reference"=>"Janice Rutherford", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms 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.7533ms 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('53df99f27735330308db0000'), "name"=>"Cynthia Buckridge", "reference"=>"Halie Streich", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df99f27735330308db0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms 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('53df99f27735330308dc0000'), "name"=>"Sonya Luettgen", "reference"=>"Rosetta Wisozk", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53df99f27735330308de0000'), "name"=>"Cameron Jacobs I", "reference"=>"Mr. Gladys Davis", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df99f27735330308de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308df0000'), "name"=>"Mr. Assunta Boyle", "reference"=>"Zakary Shields", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms 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('53df99f27735330308e00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1590ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308e10000'), "name"=>"Glen Kessler Sr.", "reference"=>"Hortense Schmitt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df99f27735330308e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms 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('53df99f27735330308e20000'), "name"=>"Prudence Deckow", "reference"=>"Maymie Veum", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms 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('53df99f27735330308e40000'), "name"=>"Gustave Schmitt", "reference"=>"Kurt Mante V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f27735330308e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms 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('53df99f27735330308e50000'), "name"=>"Shanny Pacocha", "reference"=>"Dr. Donald Upton", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f27735330308e50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms Redirected to http://test.host/products/53df99f27735330308e50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308e80000'), "name"=>"Miss Lowell Weimann", "reference"=>"Orion Nader", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308e60000'), "author_name"=>"Miss Enrique Kuhic", "content"=>["Quisquam omnis et. Libero qui sit et molestias amet. Quia molestiae quia."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308e70000'), "author_name"=>"Miss Arnold Torp", "content"=>["Omnis quasi nemo et explicabo et. Autem eveniet aperiam tenetur. Deserunt earum ipsa suscipit animi ab. Ex in molestias accusamus dolore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99f27735330308e80000", "comment_id"=>"53df99f27735330308e60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e80000')} 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('53df99f27735330308e80000'), "comments._id"=>BSON::ObjectId('53df99f27735330308e60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99f27735330308e90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms Redirected to http://test.host/products/53df99f27735330308e80000/comments/53df99f27735330308e60000/comments/53df99f27735330308e90000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308ec0000'), "name"=>"Mrs. Adela Walsh", "reference"=>"Lavina Wyman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308ea0000'), "author_name"=>"Mr. Porter Williamson", "content"=>["Et earum deserunt dolores numquam possimus qui. Sequi omnis est. Eveniet debitis ratione et provident eos sapiente. Rem officia beatae animi. Perspiciatis error ut dolor."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308eb0000'), "author_name"=>"Ms. Heber Schumm", "content"=>["Incidunt ut sit aliquam repellendus. Sequi quidem amet asperiores delectus libero sapiente unde. Ullam sunt alias porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f27735330308ec0000", "comment_id"=>"53df99f27735330308ea0000", "id"=>"53df99f27735330308eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308ec0000'), "comments._id"=>BSON::ObjectId('53df99f27735330308ea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99f27735330308eb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Redirected to http://test.host/products/53df99f27735330308ec0000/comments/53df99f27735330308ea0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308ef0000'), "name"=>"Mrs. Lurline Deckow", "reference"=>"Carolyne O'Keefe", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308ed0000'), "author_name"=>"Dee Hermann", "content"=>["Hic ut ut nemo est aut officia quod. Voluptatem voluptas id assumenda a. Eaque quis beatae voluptas voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308ee0000'), "author_name"=>"Miss Alexzander Price", "content"=>["Doloremque tempora incidunt odio consectetur. Et libero aliquam sint minima consequatur alias dolor. Eaque dolore corporis minima quam nostrum aut sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df99f27735330308ef0000", "comment_id"=>"53df99f27735330308ed0000", "id"=>"53df99f27735330308ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308f20000'), "name"=>"Maria Waelchi", "reference"=>"Vicenta Gleason", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f00000'), "author_name"=>"Britney Bechtelar", "content"=>["Officiis facere itaque molestiae. Cumque et et dolores itaque placeat. Veniam unde facere est labore sed sunt qui."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f10000'), "author_name"=>"Gracie Larkin I", "content"=>["Est eos hic. Quia ut necessitatibus sint libero aut. Eos eveniet culpa quisquam. Nulla excepturi cum culpa sit. Et maiores beatae illo doloremque expedita."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df99f27735330308f20000", "comment_id"=>"53df99f27735330308f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308f50000'), "name"=>"Remington Mueller", "reference"=>"Prince Grimes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f30000'), "author_name"=>"Katrine Torp", "content"=>["Vel perspiciatis consequuntur veniam fuga. Ut hic deleniti molestias. Laudantium quos sint expedita totam. Dignissimos dolore enim minus voluptates maxime quia enim. Recusandae enim inventore rem molestias."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f40000'), "author_name"=>"Lela Graham", "content"=>["Consequuntur consequatur architecto. Incidunt consequatur ipsa nihil labore. Aut corrupti ab ut occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df99f27735330308f50000", "comment_id"=>"53df99f27735330308f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308f80000'), "name"=>"Lula Conn DDS", "reference"=>"Mrs. Ford Okuneva", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f60000'), "author_name"=>"Brielle Schinner", "content"=>["Eveniet quod voluptas aliquid aliquam eius atque. Eaque alias facere quidem aut ea. Atque quisquam nulla expedita fugiat. Quidem et quia cupiditate eum exercitationem voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f70000'), "author_name"=>"Noelia Littel", "content"=>["Beatae exercitationem provident qui quibusdam aperiam. Rerum repellat dolorum dolores odio quia repellendus. Explicabo id nostrum. Doloribus repudiandae veniam est quas. Quae et enim ea sint culpa soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df99f27735330308f80000", "comment_id"=>"53df99f27735330308f60000", "id"=>"53df99f27735330308f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308fb0000'), "name"=>"Patricia Bogisich I", "reference"=>"Gloria O'Reilly", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308f90000'), "author_name"=>"Carter Jacobi", "content"=>["Expedita illo quis quibusdam sit amet. Aspernatur est deserunt enim illum. Sunt qui omnis omnis nulla eum eveniet. Harum alias ex."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308fa0000'), "author_name"=>"Samson Ritchie II", "content"=>["Voluptatem nisi tenetur molestiae ut beatae. Delectus corrupti eos consectetur ratione reprehenderit dolorum voluptas. Perspiciatis architecto saepe optio. Et nihil eos id consectetur sed ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df99f27735330308fb0000", "comment_id"=>"53df99f27735330308f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308fe0000'), "name"=>"Ms. Adaline Effertz", "reference"=>"Roxane Volkman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308fc0000'), "author_name"=>"Mrs. Edgardo Crooks", "content"=>["Repudiandae maxime velit nemo aperiam aliquid. Nemo dolore cum nesciunt qui. Labore eaque dolorem accusantium dolor nihil similique quis. Ut reprehenderit quam quaerat repellendus eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308fd0000'), "author_name"=>"Myrtice Mann", "content"=>["Aliquam quasi quia. Sed accusamus error et consectetur illo aut. Alias enim iure cumque possimus excepturi harum recusandae. Aut repudiandae magni molestiae. Ea adipisci possimus et suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df99f27735330308fe0000", "comment_id"=>"53df99f27735330308fc0000", "id"=>"53df99f27735330308fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f27735330308010100'), "name"=>"Vivienne Purdy", "reference"=>"Lafayette Pacocha", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308ff0000'), "author_name"=>"Mack Morar", "content"=>["Repellendus quasi totam debitis. A et nihil minus ducimus in aut. Incidunt in temporibus ut. Sed voluptatem voluptatem ullam alias."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f27735330308000100'), "author_name"=>"Miss Alycia Hoeger", "content"=>["Reiciendis sunt occaecati quia numquam. Amet iste dignissimos atque ut expedita nisi sint. Eligendi voluptas deserunt consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f27735330308000100", "product_id"=>"53df99f27735330308010100", "comment_id"=>"53df99f27735330308ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f27735330308010100')} 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('53df99f27735330308010100'), "comments._id"=>BSON::ObjectId('53df99f27735330308ff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df99f27735330308000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms Redirected to http://test.host/products/53df99f27735330308010100/comments/53df99f27735330308ff0000/comments/53df99f27735330308000100 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('53df99f27735330308020100'), "firstname"=>"Kiera", "lastname"=>"Walker"}] 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=>"admin_users", :query=>{}} runtime: 0.1672ms 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('53df99f27735330308030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Redirected to http://test.host/users/53df99f27735330308030100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2125ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f27735330308040100'), "firstname"=>"Noe", "lastname"=>"Donnelly"}] 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=>"admin_users", :query=>{}} runtime: 0.1469ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df99f27735330308040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f27735330308040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2063ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f27735330308040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms 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.1691ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f27735330308050100'), "firstname"=>"Pietro", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df99f27735330308050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f27735330308050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f27735330308060100'), "firstname"=>"Joe", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms 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.3024ms Completed 200 OK in 43ms (Views: 42.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f27735330308070100'), "firstname"=>"June", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f27735330308080100'), "firstname"=>"Brenden", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df99f27735330308080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f27735330308080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms 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('53df99f27735330308090100'), "firstname"=>"Ruthie", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99f27735330308090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f27735330308090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms Unpermitted parameters: name Redirected to http://test.host/users/53df99f27735330308090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5083ms 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.4741ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms 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.5595ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1471ms 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.5762ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f000000'), "firstname"=>"Darryl", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2317ms 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('53df99f6773533032f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms 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.2286ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f020000'), "firstname"=>"Keshawn", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df99f6773533032f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 49ms (Views: 48.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f030000'), "firstname"=>"Tomas", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5712ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f040000'), "firstname"=>"Lowell", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5384ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df99f6773533032f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f050000'), "firstname"=>"Madalyn", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df99f6773533032f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms 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('53df99f6773533032f060000'), "name"=>"Ian Towne", "reference"=>"Salvatore Schmidt", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f070000'), "author_name"=>"Brycen Waters", "content"=>["Veniam id voluptatibus quam blanditiis debitis quae commodi. Et est molestiae rerum. Vitae ut officia laborum dolorum eum aliquam. Qui nihil necessitatibus atque sed voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99f6773533032f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4555ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f6773533032f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms Redirected to http://test.host/admin/products/53df99f6773533032f060000/comments/53df99f6773533032f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f090000'), "name"=>"Brigitte Bahringer Jr.", "reference"=>"Saul West", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f0a0000'), "author_name"=>"Miss Wilburn Okuneva", "content"=>["Eos laudantium assumenda sapiente. Dolores quis et voluptas et deserunt quos dolor. Deleniti beatae sit qui. Sed id libero dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f6773533032f090000", "id"=>"53df99f6773533032f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f6773533032f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms Redirected to http://test.host/admin/products/53df99f6773533032f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f0b0000'), "name"=>"Abdullah Hegmann", "reference"=>"Dr. Cleveland Herzog", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f0c0000'), "author_name"=>"Ruby Rosenbaum", "content"=>["Sint molestiae ducimus itaque nisi aut. Non mollitia temporibus fugit vel. Ex est dolore unde ut enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df99f6773533032f0b0000", "id"=>"53df99f6773533032f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f0d0000'), "name"=>"Darrion Farrell", "reference"=>"Zackery Thompson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f0e0000'), "author_name"=>"Orpha Gutkowski", "content"=>["Est voluptates omnis est. Distinctio ex est occaecati aspernatur ratione non. Et et earum saepe ut necessitatibus. Eum et sequi eveniet accusamus eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df99f6773533032f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f0f0000'), "name"=>"Adrian Kuhn V", "reference"=>"Modesta Bartell Jr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f100000'), "author_name"=>"Miss Edwina Boyer", "content"=>["At dolorem corrupti quaerat eos. Hic qui vel. Et asperiores quam ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df99f6773533032f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f110000'), "name"=>"Helmer Wuckert", "reference"=>"Napoleon Leuschke", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f120000'), "author_name"=>"Leonardo Renner", "content"=>["Consequatur qui excepturi provident et aperiam expedita. Tempore illo aspernatur voluptatem. Qui atque est sunt exercitationem reprehenderit porro. Ducimus voluptate non alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df99f6773533032f110000", "id"=>"53df99f6773533032f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f130000'), "name"=>"Mr. Emmy Abshire", "reference"=>"Hassan Hermiston", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f6773533032f140000'), "author_name"=>"Magnolia Rice", "content"=>["Eos suscipit eum voluptatem sed molestiae aut sunt. Sint rerum animi nihil officia provident quas explicabo. Velit eos unde sed necessitatibus est in quae. Ipsum animi rerum aut. Fuga quae est molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f6773533032f140000", "product_id"=>"53df99f6773533032f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3831ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f130000'), "comments._id"=>BSON::ObjectId('53df99f6773533032f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6540ms Redirected to http://test.host/admin/products/53df99f6773533032f130000/comments/53df99f6773533032f140000 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('53df99f6773533032f150000'), "name"=>"Marianne Willms", "reference"=>"Clarabelle Corwin MD", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f160000'), "firstname"=>"Ibrahim", "lastname"=>"Gusikowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99f6773533032f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f150000')} 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('53df99f6773533032f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Redirected to http://test.host/admin/products/53df99f6773533032f150000/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('53df99f6773533032f180000'), "name"=>"Kyla Bahringer DVM", "reference"=>"Miss Trinity Kerluke", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f190000'), "firstname"=>"Bruce", "lastname"=>"Will"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5409ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df99f6773533032f190000", "product_id"=>"53df99f6773533032f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f1a0000'), "name"=>"Colleen Ullrich", "reference"=>"Austin O'Reilly", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f1b0000'), "firstname"=>"Columbus", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df99f6773533032f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3856ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f1c0000'), "name"=>"Gerald Runte DVM", "reference"=>"Lue Larkin", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f1d0000'), "firstname"=>"Aryanna", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5760ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df99f6773533032f1d0000", "product_id"=>"53df99f6773533032f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3868ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f1e0000'), "name"=>"Dr. Joanny Bahringer", "reference"=>"Mrs. Cecelia Larkin", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df99f6773533032f1f0000'), "firstname"=>"Nannie", "lastname"=>"Kunde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df99f6773533032f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99f6773533032f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df99f6773533032f1e0000/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('53df99f6773533032f200000'), "name"=>"Mr. Beau Dach", "reference"=>"Miss Brielle Toy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6207ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3132ms 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('53df99f6773533032f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5640ms Redirected to http://test.host/admin/products/53df99f6773533032f210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2981ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f220000'), "name"=>"Meagan Nienow I", "reference"=>"Rocky Grant", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2830ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df99f6773533032f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms 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.2958ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f230000'), "name"=>"Thelma Bradtke", "reference"=>"Mackenzie Metz", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df99f6773533032f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f240000'), "name"=>"Samara Stamm", "reference"=>"Bo Hudson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms 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.6483ms Completed 200 OK in 12ms (Views: 11.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f250000'), "name"=>"Alexie Carter", "reference"=>"Kade Cartwright", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3999ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df99f6773533032f280000'), "name"=>"Anjali Graham", "reference"=>"Colby Mosciski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5654ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df99f6773533032f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4171ms 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('53df99f6773533032f290000'), "name"=>"Iva Torphy", "reference"=>"Trystan Bayer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5863ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f6773533032f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f6773533032f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5234ms Redirected to http://test.host/admin/products/53df99f6773533032f290000 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('53df99f6773533032f2a0000'), "firstname"=>"Laury", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5942ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2777ms 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('53df99f6773533032f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Redirected to http://test.host/admin/users/53df99f6773533032f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3036ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f2c0000'), "firstname"=>"Lonie", "lastname"=>"Littel"}] 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=>"admin_users", :query=>{}} runtime: 0.2782ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df99f6773533032f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f6773533032f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3689ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f6773533032f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms 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.2918ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f2d0000'), "firstname"=>"Annamae", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df99f6773533032f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f6773533032f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f2e0000'), "firstname"=>"Evan", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5473ms 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.4638ms 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('53df99f6773533032f2f0000'), "firstname"=>"Marquise", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f300000'), "firstname"=>"Lloyd", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5404ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df99f6773533032f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f6773533032f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms 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('53df99f6773533032f310000'), "firstname"=>"Johnathan", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99f6773533032f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f6773533032f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df99f6773533032f310000 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('53df99f6773533032f320000'), "firstname"=>"Lester", "lastname"=>"Schumm"}] 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.2309ms 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('53df99f6773533032f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms 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.2253ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f340000'), "firstname"=>"Rafaela", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df99f6773533032f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f350000'), "firstname"=>"Vella", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f360000'), "firstname"=>"Alexandre", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df99f6773533032f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f370000'), "firstname"=>"Jamaal", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df99f6773533032f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df99f6773533032f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f380000'), "name"=>"Earnestine Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f390000'), "name"=>"Brionna Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3a0000'), "name"=>"Marcelo Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3b0000'), "name"=>"Dr. Margie Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3c0000'), "name"=>"Jayce McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3d0000'), "name"=>"Jewel Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3e0000'), "name"=>"Whitney Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f3f0000'), "name"=>"Mr. Lyric Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f400000'), "name"=>"Mateo Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f410000'), "name"=>"Bill Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f420000'), "name"=>"Noble Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f430000'), "name"=>"Mohammed Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f440000'), "name"=>"Daisha Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f450000'), "name"=>"Miss Hosea Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f460000'), "name"=>"Olin Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f470000'), "name"=>"Bret Grant DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f480000'), "name"=>"Terrell Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f490000'), "name"=>"Athena Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4a0000'), "name"=>"Jolie Glover III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4b0000'), "name"=>"Donavon Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4c0000'), "name"=>"Aaliyah Hoppe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4d0000'), "name"=>"Mr. Abdullah Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4e0000'), "name"=>"Megane McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f4f0000'), "name"=>"Laura Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f500000'), "name"=>"Amira Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f510000'), "name"=>"Garrison Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f520000'), "name"=>"Reva Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f530000'), "name"=>"Maxime Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f540000'), "name"=>"Alexie Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f550000'), "name"=>"Linnie Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f560000'), "name"=>"Everardo Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f570000'), "name"=>"Kiarra Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f580000'), "name"=>"Madisyn Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f590000'), "name"=>"Nat Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5a0000'), "name"=>"Patricia Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5b0000'), "name"=>"Santina Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5c0000'), "name"=>"Pearl Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5d0000'), "name"=>"Lora Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5e0000'), "name"=>"Miss Gabrielle Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f5f0000'), "name"=>"Cornelius Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f600000'), "name"=>"Ellie Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f610000'), "name"=>"Louisa Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f620000'), "name"=>"Dr. Rose Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f630000'), "name"=>"Brigitte O'Conner I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f640000'), "name"=>"Cecile Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f650000'), "name"=>"Fabiola Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f660000'), "name"=>"Jerrell Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f670000'), "name"=>"Mrs. Reba Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f680000'), "name"=>"Millie Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f690000'), "name"=>"Tre Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6a0000'), "name"=>"Mrs. Floyd Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6b0000'), "name"=>"Miss Camille Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6c0000'), "name"=>"Aileen Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6d0000'), "name"=>"Onie Stamm IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6e0000'), "name"=>"Arianna Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f6f0000'), "name"=>"Cristopher Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f700000'), "name"=>"Brooks Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f710000'), "name"=>"Harley Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f720000'), "name"=>"Leta Roberts DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f730000'), "name"=>"Marvin Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f740000'), "name"=>"Misael DuBuque I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f750000'), "name"=>"Anna Green III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f760000'), "name"=>"Anita Koss II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f770000'), "name"=>"Brycen Barrows II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f780000'), "name"=>"Tia Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f790000'), "name"=>"Damon Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7a0000'), "name"=>"Alvera Mraz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7b0000'), "name"=>"Reuben Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7c0000'), "name"=>"Mr. Robbie Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7d0000'), "name"=>"Arnold Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7e0000'), "name"=>"Marc Williamson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f7f0000'), "name"=>"Mireya Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f800000'), "name"=>"Sylvan Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f810000'), "name"=>"Kraig Cremin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f820000'), "name"=>"Briana Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f830000'), "name"=>"Mrs. Alvis Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f840000'), "name"=>"Jacquelyn Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f850000'), "name"=>"Demarco Watsica V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f860000'), "name"=>"Marcus Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f870000'), "name"=>"Ward Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f880000'), "name"=>"Eunice Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f890000'), "name"=>"Alfredo Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8a0000'), "name"=>"Laron Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8b0000'), "name"=>"Holly Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8c0000'), "name"=>"Fiona Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8d0000'), "name"=>"Randi Jaskolski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8e0000'), "name"=>"Adam Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f8f0000'), "name"=>"Tyrell Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f900000'), "name"=>"Else Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f910000'), "name"=>"Zola Steuber III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f920000'), "name"=>"Mr. Norris Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f930000'), "name"=>"Amely Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f940000'), "name"=>"Zackary Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f950000'), "name"=>"Ms. Zechariah Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f960000'), "name"=>"Douglas Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f970000'), "name"=>"Ms. Issac Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2294ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms Redirected to http://test.host/categories/53df99f6773533032f980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1705ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f990000'), "name"=>"Dr. Raoul Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1581ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df99f6773533032f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f6773533032f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f6773533032f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6561ms Redirected to http://test.host/categories Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2692ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f9a0000'), "name"=>"Mrs. Elva Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df99f6773533032f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f6773533032f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f9b0000'), "name"=>"Beau Strosin"}] 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={"category_id"=>BSON::ObjectId('53df99f6773533032f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215079049895] runtime: 0.0870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2091ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f9c0000'), "name"=>"Devonte Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215903542856] runtime: 0.0789ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2917ms Completed 200 OK in 8ms (Views: 7.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f6773533032f9d0000'), "name"=>"Arnold Spencer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f6773533032f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f7773533032f9f0000'), "name"=>"Asa Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f7773533032f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df99f7773533032f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f7773533032f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f7773533032f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fa00000'), "name"=>"Antone Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f7773533032fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df99f7773533032fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f7773533032fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df99f7773533032fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df99f7773533032fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms Redirected to http://test.host/categories/53df99f7773533032fa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fa10000'), "name"=>"Jovani Dickinson", "reference"=>"Kaela Cassin", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fa20000'), "author_name"=>"Junius Bins", "content"=>["Cum est ut fuga. Sint a alias voluptas neque. Voluptatem expedita similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa10000')} 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"=>"53df99f7773533032fa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa10000')} 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('53df99f7773533032fa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f7773533032fa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Redirected to http://test.host/products/53df99f7773533032fa10000/comments/53df99f7773533032fa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fa40000'), "name"=>"Maximo Monahan", "reference"=>"Burnice Crist", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fa50000'), "author_name"=>"Maximillian Crona", "content"=>["Esse quia velit adipisci illum. Aut quae quia officiis. Animi nostrum sit dolore error. Ut ut pariatur et vitae ipsam. Quas iusto modi dolor molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f7773533032fa40000", "id"=>"53df99f7773533032fa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa40000')} 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('53df99f7773533032fa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df99f7773533032fa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Redirected to http://test.host/products/53df99f7773533032fa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fa60000'), "name"=>"Collin Mraz", "reference"=>"Tressa Kozey", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fa70000'), "author_name"=>"Buford Schamberger", "content"=>["Distinctio autem quaerat asperiores expedita sint. Voluptatibus molestias veritatis. Ut vero hic nam nobis quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df99f7773533032fa60000", "id"=>"53df99f7773533032fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa60000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fa80000'), "name"=>"Betty Feest", "reference"=>"Jarred Sanford", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fa90000'), "author_name"=>"Luna Schumm", "content"=>["Exercitationem saepe veritatis iusto omnis blanditiis. At sit voluptate ea officiis ducimus. Nam quos voluptatem nemo modi voluptate. Ipsam laudantium rerum sit consequatur id pariatur consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df99f7773533032fa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032faa0000'), "name"=>"Ronaldo Reynolds", "reference"=>"Miss Manuela Dare", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fab0000'), "author_name"=>"Amanda Hartmann", "content"=>["Dolorem cupiditate consequatur officiis eaque ut sint pariatur. Accusamus repudiandae quisquam rerum rerum quia dicta. Illum quos et incidunt ipsam totam qui veritatis. Praesentium temporibus qui labore quo fugiat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df99f7773533032faa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fac0000'), "name"=>"Wilton Wuckert DDS", "reference"=>"Mrs. Yessenia Kreiger", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fad0000'), "author_name"=>"Leda Casper", "content"=>["Et ut quaerat consequuntur quis aut adipisci quo. Ipsa ipsum minus sit iste. Itaque libero blanditiis. Possimus atque aperiam fuga. Qui voluptatem cumque quibusdam distinctio est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df99f7773533032fac0000", "id"=>"53df99f7773533032fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fae0000'), "name"=>"Mr. Dejon O'Connell", "reference"=>"Amira Schulist", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032faf0000'), "author_name"=>"Jevon Ryan", "content"=>["Sint quaerat voluptatum dolore magni harum. Quidem doloremque dolores recusandae ducimus aperiam quia et. Consequatur sunt earum voluptates autem eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df99f7773533032fae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fb00000'), "name"=>"Mallory Bins", "reference"=>"Domenick Runte III", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fb10000'), "author_name"=>"Derick Kessler", "content"=>["Et velit optio illo officiis. Expedita natus voluptas eos rerum sed. Est ratione dolorum debitis repudiandae. Corrupti expedita pariatur nihil consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df99f7773533032fb00000", "id"=>"53df99f7773533032fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fb20000'), "name"=>"Mrs. Cierra Auer", "reference"=>"Cathryn Dickinson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fb30000'), "author_name"=>"Cassidy Lubowitz Jr.", "content"=>["Qui illo omnis expedita sed esse. Enim at fuga repudiandae unde voluptas molestias blanditiis. Tempore nesciunt dolores eligendi dicta. Rerum enim sequi labore sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f7773533032fb30000", "product_id"=>"53df99f7773533032fb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fb20000')} 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('53df99f7773533032fb20000'), "comments._id"=>BSON::ObjectId('53df99f7773533032fb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms Redirected to http://test.host/products/53df99f7773533032fb20000/comments/53df99f7773533032fb30000 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('53df99f7773533032fb40000'), "firstname"=>"Kaylee", "lastname"=>"Windler"}] 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=>"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('53df99f7773533032fb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9998ms Redirected to http://test.host/admin/clients/53df99f7773533032fb50000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3025ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fb60000'), "firstname"=>"Terrence", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2179ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99f7773533032fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fb60000')} 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.2288ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fb70000'), "firstname"=>"Jennings", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99f7773533032fb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53df99f7773533032fb80000'), "firstname"=>"Adell", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms 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('53df99f7773533032fb90000'), "firstname"=>"Misael", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms 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.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fba0000'), "firstname"=>"Linnie", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99f7773533032fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms 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('53df99f7773533032fbb0000'), "firstname"=>"Jerad", "lastname"=>"Kling"}] 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"=>"53df99f7773533032fbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fbb0000')} 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('53df99f7773533032fbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms Redirected to http://test.host/admin/clients/53df99f7773533032fbb0000 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('53df99f7773533032fbc0000'), "firstname"=>"Chandler", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms 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('53df99f7773533032fbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms Redirected to http://test.host/clients/53df99f7773533032fbd0000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1907ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fbe0000'), "firstname"=>"Lucie", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1743ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df99f7773533032fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fbe0000')} 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('53df99f7773533032fbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms 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.1808ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fbf0000'), "firstname"=>"Angelo", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df99f7773533032fbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('53df99f7773533032fc00000'), "firstname"=>"Skyla", "lastname"=>"Kassulke"}] 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.3587ms Completed 200 OK in 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fc10000'), "firstname"=>"Pierre", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms 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('53df99f7773533032fc20000'), "firstname"=>"Bridget", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df99f7773533032fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms 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('53df99f7773533032fc30000'), "firstname"=>"Holly", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df99f7773533032fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df99f7773533032fc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms Redirected to http://test.host/clients/53df99f7773533032fc30000 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('53df99f7773533032fc40000'), "name"=>"Kieran Tromp", "reference"=>"Marcia Oberbrunner", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fc50000'), "firstname"=>"Margarete", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df99f7773533032fc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fc40000')} 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('53df99f7773533032fc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms Redirected to http://test.host/products/53df99f7773533032fc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fc70000'), "name"=>"Edward Mills", "reference"=>"Mrs. Reese Reichel", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fc80000'), "firstname"=>"Sharon", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df99f7773533032fc80000", "product_id"=>"53df99f7773533032fc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fc70000')} 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.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fc90000'), "name"=>"Carlie Schuster", "reference"=>"Theresia Emmerich", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fca0000'), "firstname"=>"Elsa", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df99f7773533032fc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fcb0000'), "name"=>"Mrs. Anjali Kerluke", "reference"=>"Arden Moen", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fcc0000'), "firstname"=>"Herbert", "lastname"=>"Champlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df99f7773533032fcc0000", "product_id"=>"53df99f7773533032fcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fcd0000'), "name"=>"Sandrine Monahan", "reference"=>"Rico Smitham", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df99f7773533032fce0000'), "firstname"=>"Otilia", "lastname"=>"Nicolas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df99f7773533032fce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df99f7773533032fcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms Unpermitted parameters: name Redirected to http://test.host/products/53df99f7773533032fcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fcf0000'), "name"=>"Heidi Carroll", "reference"=>"Marjorie King", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd00000'), "name"=>"Madilyn Hand", "reference"=>"Patricia Walter", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd10000'), "name"=>"Dr. Salvador Wolf", "reference"=>"Conrad Heller III", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd20000'), "name"=>"Miss Alfonso Cruickshank", "reference"=>"Wellington Cruickshank", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd30000'), "name"=>"Donnell Cruickshank", "reference"=>"Mr. Lennie Deckow", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd40000'), "name"=>"Jordan Hand I", "reference"=>"Ms. Aiden Spencer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1697ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Redirected to http://test.host/products/53df99f7773533032fd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1553ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd60000'), "name"=>"Vivian Mueller", "reference"=>"Americo Bogan", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1358ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df99f7773533032fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6666ms 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.2368ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd70000'), "name"=>"Jevon Strosin DDS", "reference"=>"Miss Bobbie Jerde", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df99f7773533032fd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd80000'), "name"=>"Juliana Conn DDS", "reference"=>"Lizzie Conn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms 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.8326ms Completed 200 OK in 26ms (Views: 25.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fd90000'), "name"=>"Kira King", "reference"=>"Gertrude Kassulke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8530ms Completed 200 OK in 21ms (Views: 20.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 38.4044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8301ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fda0000'), "name"=>"Mrs. Makenna Roberts", "reference"=>"Federico Rolfson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms 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.7749ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fdb0000'), "name"=>"Shaun Roob", "reference"=>"Mrs. Cathrine Kilback", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df99f7773533032fdb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms 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('53df99f7773533032fdc0000'), "name"=>"Javonte Sawayn MD", "reference"=>"Zoie Jenkins V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fde0000'), "name"=>"Penelope Kunze MD", "reference"=>"Candido McLaughlin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.5528ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df99f7773533032fde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4688ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fdf0000'), "name"=>"Kaley Vandervort", "reference"=>"Shirley Stark Sr.", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.3387ms 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('53df99f7773533032fe00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5036ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3287ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fe10000'), "name"=>"Hank Bartoletti", "reference"=>"Dagmar Beier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df99f7773533032fe10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe10000')} 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('53df99f7773533032fe10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms 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('53df99f7773533032fe20000'), "name"=>"Frederick McGlynn", "reference"=>"Oleta Swaniawski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms 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('53df99f7773533032fe40000'), "name"=>"Kaitlyn Emard", "reference"=>"Jacklyn Hoppe", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5803ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f7773533032fe40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms 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('53df99f7773533032fe50000'), "name"=>"Keyshawn Moore", "reference"=>"Ilene Koss MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df99f7773533032fe50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms Redirected to http://test.host/products/53df99f7773533032fe50000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fe80000'), "name"=>"Sabryna O'Keefe", "reference"=>"Zoe Ryan", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fe60000'), "author_name"=>"Monserrate Fritsch", "content"=>["Nostrum sunt et vitae. Molestias quae sapiente minus. Aut ipsam quia totam nisi delectus temporibus sunt. Excepturi iusto sint sed. Pariatur explicabo neque quis suscipit odio iure eos."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fe70000'), "author_name"=>"Myriam Ziemann", "content"=>["Aut non debitis possimus repellat ut et. Expedita nostrum nam a. Et atque minus quas corporis velit hic. Voluptas veniam officia ut molestias vel aut. Asperiores illum perspiciatis cupiditate voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df99f7773533032fe80000", "comment_id"=>"53df99f7773533032fe60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe80000'), "comments._id"=>BSON::ObjectId('53df99f7773533032fe60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99f7773533032fe90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6998ms Redirected to http://test.host/products/53df99f7773533032fe80000/comments/53df99f7773533032fe60000/comments/53df99f7773533032fe90000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fec0000'), "name"=>"Allen Anderson", "reference"=>"Lysanne Daniel", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fea0000'), "author_name"=>"Caden Purdy", "content"=>["Sint est quae aut iste soluta impedit voluptatem. Reiciendis temporibus illo rerum soluta sed mollitia itaque. Omnis non tempora. Dolorem debitis ut rerum vel."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032feb0000'), "author_name"=>"Dr. Adelle Johns", "content"=>["Molestiae ex voluptatum. Ullam quas optio alias quis. Sit voluptatum et et perspiciatis sed aperiam. Assumenda cum voluptatum quisquam dolore fugiat facilis beatae. Sint doloremque eius."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df99f7773533032fec0000", "comment_id"=>"53df99f7773533032fea0000", "id"=>"53df99f7773533032feb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4335ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fec0000'), "comments._id"=>BSON::ObjectId('53df99f7773533032fea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df99f7773533032feb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0821ms Redirected to http://test.host/products/53df99f7773533032fec0000/comments/53df99f7773533032fea0000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032fef0000'), "name"=>"Thurman Thompson", "reference"=>"Martina Fritsch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fed0000'), "author_name"=>"Dovie Jaskolski", "content"=>["Perferendis aut officia et. Odio dicta sapiente minima pariatur autem ex. Ab at autem quidem quisquam consequuntur necessitatibus. Explicabo pariatur laboriosam. Nobis alias error."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fee0000'), "author_name"=>"Roscoe Hane", "content"=>["Voluptatibus quibusdam earum eum officiis sequi rerum similique. Ut ab aut praesentium adipisci tempora. Voluptatem ullam est quod et et quia eos. Ipsa temporibus praesentium non voluptates sed excepturi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df99f7773533032fef0000", "comment_id"=>"53df99f7773533032fed0000", "id"=>"53df99f7773533032fee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032ff20000'), "name"=>"Armando Barrows", "reference"=>"Rebekah Berge", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff00000'), "author_name"=>"Jamir Rohan", "content"=>["Nemo sed explicabo voluptate aliquam. Quo aut eligendi iusto voluptatem deleniti beatae mollitia. Fugit esse aut et qui. Fugit delectus natus ullam dolorem perspiciatis qui. Aut ea numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff10000'), "author_name"=>"Jaida Hintz", "content"=>["Id debitis accusamus sint natus eveniet magnam. Fugiat impedit est perspiciatis. Aut autem similique dolorum. Perspiciatis dolorem blanditiis error."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6133ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df99f7773533032ff20000", "comment_id"=>"53df99f7773533032ff00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032ff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4292ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032ff50000'), "name"=>"Gerard Hirthe MD", "reference"=>"Karine Durgan Jr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff30000'), "author_name"=>"Bethany Bashirian", "content"=>["Placeat quisquam ipsum eum. Nemo enim et porro ut modi est earum. Eos laborum quae nihil repellat earum itaque ea."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff40000'), "author_name"=>"Laverna Gusikowski", "content"=>["Asperiores veritatis nihil adipisci. Non aut commodi nihil dicta odit perferendis nulla. Deserunt atque et dolorem perferendis at et voluptatem. Totam rerum qui blanditiis molestiae ea molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5847ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df99f7773533032ff50000", "comment_id"=>"53df99f7773533032ff30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032ff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032ff80000'), "name"=>"Jess Schoen", "reference"=>"Modesta Tremblay", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff60000'), "author_name"=>"Neal Ritchie", "content"=>["Ipsam accusantium quia vel. Quidem debitis mollitia inventore ipsum quo. Laudantium nobis eligendi et rerum error voluptas officia."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff70000'), "author_name"=>"Miss Forest O'Reilly", "content"=>["Vitae delectus doloribus ducimus nihil. Est rem molestiae eos dolorem nihil aspernatur eaque. Dolorum vel soluta et quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df99f7773533032ff80000", "comment_id"=>"53df99f7773533032ff60000", "id"=>"53df99f7773533032ff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032ff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4135ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032ffb0000'), "name"=>"Phyllis Lynch", "reference"=>"Frederic Leannon", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ff90000'), "author_name"=>"Berry Kshlerin", "content"=>["Incidunt assumenda non esse amet excepturi vero ad. Id inventore et sunt tenetur. Eos cupiditate fuga id ducimus nostrum nobis sunt. Voluptatibus earum iusto veniam vel. Nisi doloremque debitis et quas aut."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ffa0000'), "author_name"=>"Alf Johnson IV", "content"=>["Harum ea mollitia expedita quasi. Explicabo velit optio illum vel ipsum facilis nisi. Explicabo facilis sunt commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5478ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df99f7773533032ffb0000", "comment_id"=>"53df99f7773533032ff90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032ffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032ffe0000'), "name"=>"Mr. Caterina Ullrich", "reference"=>"Dexter Cassin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ffc0000'), "author_name"=>"Xavier Rogahn", "content"=>["Dicta fugiat autem consectetur omnis sint. Aut dolorum corporis et. Veritatis accusantium nihil dolorum vitae quas. Vel recusandae ut."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032ffd0000'), "author_name"=>"Kiera Reichel", "content"=>["Et neque magnam itaque facere maxime aut. Dicta exercitationem explicabo. Sed iste esse quos aut eius reiciendis. Adipisci animi sit occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5729ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df99f7773533032ffe0000", "comment_id"=>"53df99f7773533032ffc0000", "id"=>"53df99f7773533032ffd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032ffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df99f7773533032f010100'), "name"=>"Margarette Borer", "reference"=>"Kaylin Kshlerin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032fff0000'), "author_name"=>"Antone Carter", "content"=>["A dolor sit aut eum dolore quisquam consequatur. Tempora et est. Debitis dolorum sit vero delectus aut. Illo id adipisci."], "comments"=>[{"_id"=>BSON::ObjectId('53df99f7773533032f000100'), "author_name"=>"Brain Kerluke III", "content"=>["Est ullam eius. Officia illum explicabo quo sed mollitia velit odio. Eum consequatur illum ad quasi fugit occaecati aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df99f7773533032f000100", "product_id"=>"53df99f7773533032f010100", "comment_id"=>"53df99f7773533032fff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032f010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4072ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df99f7773533032f010100'), "comments._id"=>BSON::ObjectId('53df99f7773533032fff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df99f7773533032f000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7266ms Redirected to http://test.host/products/53df99f7773533032f010100/comments/53df99f7773533032fff0000/comments/53df99f7773533032f000100 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('53df99f8773533032f020100'), "firstname"=>"Enid", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5866ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2770ms 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('53df99f8773533032f030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms Redirected to http://test.host/users/53df99f8773533032f030100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2868ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f8773533032f040100'), "firstname"=>"Garnet", "lastname"=>"Hayes"}] 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.2734ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df99f8773533032f040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f8773533032f040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f8773533032f040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms 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.2757ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f8773533032f050100'), "firstname"=>"Dandre", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df99f8773533032f050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f8773533032f050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms 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('53df99f8773533032f060100'), "firstname"=>"Foster", "lastname"=>"Gerhold"}] 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.4833ms Completed 200 OK in 47ms (Views: 46.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f8773533032f070100'), "firstname"=>"Lilly", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5637ms 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.0ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df99f8773533032f080100'), "firstname"=>"Emilio", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5068ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df99f8773533032f080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f8773533032f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms 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('53df99f8773533032f090100'), "firstname"=>"Meggie", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df99f8773533032f090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df99f8773533032f090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Unpermitted parameters: name Redirected to http://test.host/users/53df99f8773533032f090100 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.3230ms 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.3136ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms 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.2734ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms 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.2707ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b000000'), "firstname"=>"Rowan", "lastname"=>"Shanahan"}] 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=>"administrators", :query=>{}} runtime: 0.1756ms 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('53df9a12773533035b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms 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.1897ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b020000'), "firstname"=>"Alexzander", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53df9a12773533035b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b020000')} 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.5ms) Completed 200 OK in 50ms (Views: 49.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b030000'), "firstname"=>"Hank", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b040000'), "firstname"=>"Edward", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53df9a12773533035b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b050000'), "firstname"=>"Roy", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53df9a12773533035b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms 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('53df9a12773533035b060000'), "name"=>"Mrs. Jovan Quigley", "reference"=>"Mr. Zoila Welch", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b070000'), "author_name"=>"Theodore Willms", "content"=>["Nam non odit ea. Dicta aspernatur in et velit perspiciatis saepe neque. Maiores molestiae eligendi deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df9a12773533035b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b060000')} 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('53df9a12773533035b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df9a12773533035b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/admin/products/53df9a12773533035b060000/comments/53df9a12773533035b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b090000'), "name"=>"Shakira Connelly", "reference"=>"Bertram Considine V", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b0a0000'), "author_name"=>"Wilmer Rohan", "content"=>["Vel qui voluptatibus. Iusto voluptatum porro. Eos voluptas possimus ipsa ad quisquam tenetur. Ut fugiat qui libero. Quia libero sunt reiciendis qui modi officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53df9a12773533035b090000", "id"=>"53df9a12773533035b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b090000')} 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('53df9a12773533035b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df9a12773533035b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Redirected to http://test.host/admin/products/53df9a12773533035b090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1939ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b0b0000'), "name"=>"Tianna Bechtelar", "reference"=>"Dr. Brenda Schuster", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b0c0000'), "author_name"=>"Wallace Prosacco DDS", "content"=>["Sint facere odit magni consequatur odio placeat consectetur. In eveniet dolorem. Suscipit labore autem deleniti omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53df9a12773533035b0b0000", "id"=>"53df9a12773533035b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b0d0000'), "name"=>"Destiny Boyle", "reference"=>"Miss Annamarie Farrell", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b0e0000'), "author_name"=>"Miss Ebony Kautzer", "content"=>["Explicabo numquam molestiae voluptatum suscipit repellendus. Dolor provident sint consectetur dignissimos maxime eum. Repudiandae itaque quis non eius aut velit nulla. Non voluptatem ut non consequatur ut odit. Quas veritatis non fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53df9a12773533035b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b0f0000'), "name"=>"Lonzo Funk", "reference"=>"Mr. Dariana Cummings", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b100000'), "author_name"=>"Noah Bernhard III", "content"=>["Quia voluptatem aut id atque non aliquam. Cumque laborum qui deserunt aliquid. Et nesciunt est. Temporibus autem repellat deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53df9a12773533035b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b0f0000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b110000'), "name"=>"Edwin Ruecker", "reference"=>"Cleve Quigley", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b120000'), "author_name"=>"Litzy O'Conner", "content"=>["Assumenda et corporis rerum nobis modi explicabo sit. Ipsum quia a fuga nisi doloremque sed mollitia. Labore in et omnis et deleniti est vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53df9a12773533035b110000", "id"=>"53df9a12773533035b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b130000'), "name"=>"Magdalena Renner II", "reference"=>"Loyce Leannon", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df9a12773533035b140000'), "author_name"=>"Ms. Pat Rowe", "content"=>["Aspernatur nobis laboriosam quis aut ut quia. Dolores voluptas necessitatibus fugit sed exercitationem. Officiis perspiciatis ullam qui sed numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df9a12773533035b140000", "product_id"=>"53df9a12773533035b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b130000'), "comments._id"=>BSON::ObjectId('53df9a12773533035b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7172ms Redirected to http://test.host/admin/products/53df9a12773533035b130000/comments/53df9a12773533035b140000 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('53df9a12773533035b150000'), "name"=>"Dr. Delta Schroeder", "reference"=>"Miss Liliana Grady", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b160000'), "firstname"=>"Anissa", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5725ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df9a12773533035b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4104ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Redirected to http://test.host/admin/products/53df9a12773533035b150000/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('53df9a12773533035b180000'), "name"=>"Vaughn Kunze", "reference"=>"Ted Weissnat", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b190000'), "firstname"=>"Ericka", "lastname"=>"Volkman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5682ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53df9a12773533035b190000", "product_id"=>"53df9a12773533035b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4448ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b1a0000'), "name"=>"Ezra Rice", "reference"=>"Citlalli Veum", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b1b0000'), "firstname"=>"Cordell", "lastname"=>"Botsford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0599ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53df9a12773533035b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b1c0000'), "name"=>"Dee Block", "reference"=>"Ms. Elmer Lueilwitz", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b1d0000'), "firstname"=>"Juwan", "lastname"=>"Klocko"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53df9a12773533035b1d0000", "product_id"=>"53df9a12773533035b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4054ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b1e0000'), "name"=>"Garland Batz", "reference"=>"Faye D'Amore", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df9a12773533035b1f0000'), "firstname"=>"Cynthia", "lastname"=>"Ledner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53df9a12773533035b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df9a12773533035b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53df9a12773533035b1e0000/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('53df9a12773533035b200000'), "name"=>"Mr. Krystina Hansen", "reference"=>"Eunice Bednar I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3001ms 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('53df9a12773533035b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5684ms Redirected to http://test.host/admin/products/53df9a12773533035b210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3054ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b220000'), "name"=>"Lane Gislason", "reference"=>"Edwina Morissette", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.2800ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53df9a12773533035b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms 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.2926ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b230000'), "name"=>"Carmine Wolf", "reference"=>"Lawson Reilly", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53df9a12773533035b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b240000'), "name"=>"Marlen Dickinson", "reference"=>"Granville Hyatt Sr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5555ms 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.6557ms Completed 200 OK in 12ms (Views: 11.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b250000'), "name"=>"Dr. Rowan Yundt", "reference"=>"Tyler Auer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4091ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53df9a12773533035b280000'), "name"=>"Oceane Bahringer", "reference"=>"Mazie O'Kon Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53df9a12773533035b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms 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('53df9a12773533035b290000'), "name"=>"Maximilian Runolfsson", "reference"=>"Frederic Von", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df9a12773533035b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a12773533035b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms Redirected to http://test.host/admin/products/53df9a12773533035b290000 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('53df9a12773533035b2a0000'), "firstname"=>"Jackeline", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms 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('53df9a12773533035b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms Redirected to http://test.host/admin/users/53df9a12773533035b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2032ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b2c0000'), "firstname"=>"Raymundo", "lastname"=>"Hansen"}] 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.1594ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53df9a12773533035b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a12773533035b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a12773533035b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms 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.1621ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b2d0000'), "firstname"=>"Gilberto", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53df9a12773533035b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a12773533035b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b2e0000'), "firstname"=>"Danny", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms 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.3043ms Completed 200 OK in 5ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b2f0000'), "firstname"=>"Phyllis", "lastname"=>"Muller"}] 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.7ms) 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('53df9a12773533035b300000'), "firstname"=>"Benny", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53df9a12773533035b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a12773533035b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b310000'), "firstname"=>"Monserrat", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df9a12773533035b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a12773533035b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53df9a12773533035b310000 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('53df9a12773533035b320000'), "firstname"=>"Royce", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2343ms 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('53df9a12773533035b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms 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.2473ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b340000'), "firstname"=>"Thad", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53df9a12773533035b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b350000'), "firstname"=>"Camille", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b360000'), "firstname"=>"Idell", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53df9a12773533035b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b370000'), "firstname"=>"Eriberto", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53df9a12773533035b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53df9a12773533035b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4043ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b380000'), "name"=>"Bonita Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b390000'), "name"=>"Mrs. Taya Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3a0000'), "name"=>"Guillermo Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3b0000'), "name"=>"Darrin Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3c0000'), "name"=>"Burley Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3d0000'), "name"=>"Andreane Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3e0000'), "name"=>"Marshall Waelchi I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b3f0000'), "name"=>"Estella Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b400000'), "name"=>"Kyleigh Murazik I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b410000'), "name"=>"Iva Metz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b420000'), "name"=>"Lemuel Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b430000'), "name"=>"Velva Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b440000'), "name"=>"Herminia Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b450000'), "name"=>"Jaylan McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b460000'), "name"=>"Alysa Bashirian"}] 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={"category_id"=>BSON::ObjectId('53df9a12773533035b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b470000'), "name"=>"Alexa Runte DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b480000'), "name"=>"Orin Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b490000'), "name"=>"Eleanore Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4a0000'), "name"=>"Dayna Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4b0000'), "name"=>"Frank Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4c0000'), "name"=>"Vicente Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4d0000'), "name"=>"Gudrun Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4e0000'), "name"=>"Joey Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b4f0000'), "name"=>"Winfield Cummings DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b500000'), "name"=>"Jameson Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b510000'), "name"=>"Pietro Smith II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b520000'), "name"=>"Lue Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b530000'), "name"=>"Ms. Kade Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b540000'), "name"=>"Harmony Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b550000'), "name"=>"Olga Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b560000'), "name"=>"Dr. Carson Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b570000'), "name"=>"Maximilian Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b580000'), "name"=>"Roberta Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b590000'), "name"=>"Tyra Sauer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5a0000'), "name"=>"Adam Weissnat I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5b0000'), "name"=>"Marilou Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5c0000'), "name"=>"Eleanora Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5d0000'), "name"=>"Miss Soledad Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5e0000'), "name"=>"Allan Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b5f0000'), "name"=>"Laurine Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b600000'), "name"=>"Triston Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b610000'), "name"=>"Laisha Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b620000'), "name"=>"Nella Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b630000'), "name"=>"Sydnie Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b640000'), "name"=>"Candace Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b650000'), "name"=>"Kale Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b660000'), "name"=>"Jaeden Kiehn I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b670000'), "name"=>"Monte Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b680000'), "name"=>"Miss Ernestina Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b690000'), "name"=>"Alexandra Boyle Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6a0000'), "name"=>"Tevin Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6b0000'), "name"=>"Trenton Effertz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6c0000'), "name"=>"Maeve Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6d0000'), "name"=>"Mrs. Jaiden Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6e0000'), "name"=>"Helen Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b6f0000'), "name"=>"Kaden Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b700000'), "name"=>"Alexys Gulgowski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b710000'), "name"=>"Jadyn Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b720000'), "name"=>"Evert Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b730000'), "name"=>"Tillman Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b740000'), "name"=>"Jerel Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b750000'), "name"=>"Nickolas Pouros DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b760000'), "name"=>"Fabiola Davis III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b770000'), "name"=>"Louvenia Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b780000'), "name"=>"Rosemarie Lakin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b790000'), "name"=>"Mrs. Alda Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7a0000'), "name"=>"Rosemarie McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7b0000'), "name"=>"Jordy Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7c0000'), "name"=>"Hassan Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7d0000'), "name"=>"Coleman Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7e0000'), "name"=>"Alexandrea Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b7f0000'), "name"=>"Jaylin Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b800000'), "name"=>"Miss Lizeth Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b810000'), "name"=>"Myah Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b820000'), "name"=>"Avis Smitham PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b830000'), "name"=>"Caleigh Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b840000'), "name"=>"Briana Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b850000'), "name"=>"Haleigh Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b860000'), "name"=>"Mrs. Jeanie Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b870000'), "name"=>"Armani Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b880000'), "name"=>"Carlie Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4027ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b890000'), "name"=>"Cassie Kuphal II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b8a0000'), "name"=>"Winifred Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b8b0000'), "name"=>"Pedro Gleichner PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b8c0000'), "name"=>"Cecil Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b8d0000'), "name"=>"Jordi Heller IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a12773533035b8e0000'), "name"=>"Major Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a12773533035b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b8f0000'), "name"=>"Mr. Geoffrey McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b900000'), "name"=>"Domenico Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b910000'), "name"=>"Lelah Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b920000'), "name"=>"Miss Carlo Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b930000'), "name"=>"Mr. Amparo Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b940000'), "name"=>"Heaven Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b950000'), "name"=>"Evans Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b960000'), "name"=>"Hope Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b970000'), "name"=>"Keaton Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3669ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4178ms Redirected to http://test.host/categories/53df9a13773533035b980000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3812ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b990000'), "name"=>"Mr. Dahlia Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3711ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53df9a13773533035b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Redirected to http://test.host/categories Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3113ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b9a0000'), "name"=>"Clinton Stracke Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53df9a13773533035b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (8.3ms) Completed 200 OK in 15ms (Views: 13.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b9b0000'), "name"=>"Joanny Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216497601708] runtime: 0.1358ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2756ms Completed 200 OK in 22ms (Views: 20.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b9c0000'), "name"=>"Skyla Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215224508210] runtime: 0.1041ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2423ms Completed 200 OK in 11ms (Views: 10.0ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b9d0000'), "name"=>"Mrs. Catharine Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1911ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 8ms (Views: 7.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035b9f0000'), "name"=>"Desmond Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53df9a13773533035b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53df9a13773533035ba00000'), "name"=>"Miss Larissa White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53df9a13773533035ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53df9a13773533035ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53df9a13773533035ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms Redirected to http://test.host/categories/53df9a13773533035ba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035ba10000'), "name"=>"Armani Davis", "reference"=>"Dr. Samir Gaylord", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035ba20000'), "author_name"=>"Trisha Koepp V", "content"=>["Mollitia possimus suscipit enim expedita et molestiae. Ad perspiciatis beatae et dolorem. Adipisci fuga labore vel quis illum. Rerum nostrum voluptatum ipsam perspiciatis adipisci ullam nesciunt."]}]}] 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('53df9a13773533035ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df9a13773533035ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53df9a13773533035ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Redirected to http://test.host/products/53df9a13773533035ba10000/comments/53df9a13773533035ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035ba40000'), "name"=>"Ms. Kailey Hayes", "reference"=>"Dannie Schumm", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035ba50000'), "author_name"=>"Jameson Fay Jr.", "content"=>["Itaque expedita id quia impedit quidem ducimus ab. Impedit maiores deleniti dolorem. Harum repellendus voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53df9a13773533035ba40000", "id"=>"53df9a13773533035ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53df9a13773533035ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Redirected to http://test.host/products/53df9a13773533035ba40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035ba60000'), "name"=>"Alisha Conroy", "reference"=>"Evert Stracke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035ba70000'), "author_name"=>"Jayce Labadie", "content"=>["Nihil nulla velit. Nostrum animi aspernatur qui deleniti laboriosam consequuntur mollitia. Aut itaque et modi tempore. Et beatae quisquam explicabo alias iusto inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53df9a13773533035ba60000", "id"=>"53df9a13773533035ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba60000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035ba80000'), "name"=>"Deron Lubowitz", "reference"=>"Ezequiel Streich MD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035ba90000'), "author_name"=>"Miss Tod Torp", "content"=>["Sed temporibus explicabo. Saepe praesentium veniam laudantium earum sunt nam. Eaque consequatur non blanditiis consectetur labore rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.3491ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53df9a13773533035ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Completed 200 OK in 8ms (Views: 6.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035baa0000'), "name"=>"Eddie Lemke", "reference"=>"Dortha Stokes", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035bab0000'), "author_name"=>"Orlando Morar Jr.", "content"=>["Laudantium hic tempora amet. Quisquam voluptatem iste aperiam voluptatibus aspernatur autem. Quia a ea omnis. Tempora incidunt reprehenderit omnis similique esse totam. Voluptatem consequatur odio possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53df9a13773533035baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bac0000'), "name"=>"Layne Emard", "reference"=>"Mrs. Kallie Marks", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035bad0000'), "author_name"=>"Isabella Johnson", "content"=>["Doloremque deleniti qui reiciendis cupiditate. Aspernatur minus tempora amet dolorum labore culpa. Iste fugit dolores iure omnis. Dignissimos et nesciunt similique nihil illum incidunt reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53df9a13773533035bac0000", "id"=>"53df9a13773533035bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bae0000'), "name"=>"Miss Roman Mueller", "reference"=>"Mr. Jerald Osinski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035baf0000'), "author_name"=>"Kamryn Beatty", "content"=>["Et consequatur distinctio omnis odio et culpa. Quos eum tenetur beatae delectus. Dolorem explicabo ut nostrum nulla. Nobis voluptatem dignissimos deleniti mollitia sunt iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1534ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53df9a13773533035bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb00000'), "name"=>"Horace Jerde PhD", "reference"=>"Alexa Fritsch", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035bb10000'), "author_name"=>"Shanny Rutherford", "content"=>["Aliquid libero aut et dignissimos ratione temporibus eligendi. Illo debitis voluptatem. Sapiente quas cum placeat maxime. Vel odio qui saepe laboriosam nesciunt reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53df9a13773533035bb00000", "id"=>"53df9a13773533035bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb20000'), "name"=>"Miss Shania Wisoky", "reference"=>"Krystel Reilly", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df9a13773533035bb30000'), "author_name"=>"Tia Beahan", "content"=>["Sed ullam quidem. Qui est sit. Nemo reiciendis vero voluptas consequatur accusantium. Similique consequatur voluptatibus dolorum nesciunt enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df9a13773533035bb30000", "product_id"=>"53df9a13773533035bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bb20000')} 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('53df9a13773533035bb20000'), "comments._id"=>BSON::ObjectId('53df9a13773533035bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Redirected to http://test.host/products/53df9a13773533035bb20000/comments/53df9a13773533035bb30000 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('53df9a13773533035bb40000'), "firstname"=>"Coty", "lastname"=>"Champlin"}] 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=>"clients", :query=>{}} runtime: 0.1474ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Redirected to http://test.host/admin/clients/53df9a13773533035bb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1571ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb60000'), "firstname"=>"Leonor", "lastname"=>"Skiles"}] 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.1390ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df9a13773533035bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms 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.1465ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb70000'), "firstname"=>"Aiyana", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df9a13773533035bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53df9a13773533035bb80000'), "firstname"=>"Luella", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bb90000'), "firstname"=>"Nathanael", "lastname"=>"Lynch"}] 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.7ms) 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('53df9a13773533035bba0000'), "firstname"=>"Judah", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df9a13773533035bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms 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('53df9a13773533035bbb0000'), "firstname"=>"Merritt", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df9a13773533035bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5657ms Redirected to http://test.host/admin/clients/53df9a13773533035bbb0000 Completed 302 Found in 8ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bbc0000'), "firstname"=>"Chanel", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2116ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.4413ms Redirected to http://test.host/clients/53df9a13773533035bbd0000 Completed 302 Found in 33ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2974ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bbe0000'), "firstname"=>"Wilburn", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2343ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53df9a13773533035bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms 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.2422ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bbf0000'), "firstname"=>"Cade", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53df9a13773533035bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bc00000'), "firstname"=>"Ulises", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by Iord::GenericController#index as HTML MOPED: 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 9ms (Views: 8.4ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bc10000'), "firstname"=>"Nya", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms 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.4ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bc20000'), "firstname"=>"Liza", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53df9a13773533035bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bc30000'), "firstname"=>"Destini", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53df9a13773533035bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53df9a13773533035bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Redirected to http://test.host/clients/53df9a13773533035bc30000 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('53df9a13773533035bc40000'), "name"=>"Delmer Strosin", "reference"=>"Bridget Lang", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bc50000'), "firstname"=>"Earl", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53df9a13773533035bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1016ms Redirected to http://test.host/products/53df9a13773533035bc40000/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('53df9a13773533035bc70000'), "name"=>"Ms. Aracely Grimes", "reference"=>"Cara Lockman DDS", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bc80000'), "firstname"=>"Amari", "lastname"=>"Lang"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5427ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53df9a13773533035bc80000", "product_id"=>"53df9a13773533035bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4107ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bc90000'), "name"=>"Jace Satterfield", "reference"=>"Garry Rogahn", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bca0000'), "firstname"=>"Dillan", "lastname"=>"Wintheiser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53df9a13773533035bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bcb0000'), "name"=>"Estelle Blick", "reference"=>"Mr. Cathy Koepp", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bcc0000'), "firstname"=>"Isobel", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53df9a13773533035bcc0000", "product_id"=>"53df9a13773533035bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bcd0000'), "name"=>"Nathan Heller IV", "reference"=>"Mrs. Maxine Monahan", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53df9a13773533035bce0000'), "firstname"=>"Roberto", "lastname"=>"Lakin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53df9a13773533035bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53df9a13773533035bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms Unpermitted parameters: name Redirected to http://test.host/products/53df9a13773533035bcd0000/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('53df9a13773533035bcf0000'), "name"=>"Gaylord Brakus", "reference"=>"Amiya Stoltenberg", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd00000'), "name"=>"Verona Jakubowski DDS", "reference"=>"Mabelle Swift", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd10000'), "name"=>"Tina Walter", "reference"=>"Ms. Lauriane Jast", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd20000'), "name"=>"Rosanna Lindgren", "reference"=>"Mrs. Joanie Leffler", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd30000'), "name"=>"Edwin Herman", "reference"=>"Peggie Grimes", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd40000'), "name"=>"Adrien Smith", "reference"=>"Steve Shields", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2107ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Redirected to http://test.host/products/53df9a13773533035bd50000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd60000'), "name"=>"Jany Mraz", "reference"=>"Stuart Windler", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1684ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53df9a13773533035bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms 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.1652ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd70000'), "name"=>"Carolyn Bosco", "reference"=>"Cathrine Reinger", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53df9a13773533035bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bd70000')} 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.4ms) Completed 200 OK in 8ms (Views: 6.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd80000'), "name"=>"Bulah Swaniawski", "reference"=>"Dr. Donavon Christiansen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.1644ms 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.8516ms Completed 200 OK in 27ms (Views: 26.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bd90000'), "name"=>"Vena Legros PhD", "reference"=>"Mr. Nikko Cronin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8887ms Completed 200 OK in 22ms (Views: 21.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 26.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8444ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bda0000'), "name"=>"Arnoldo Ullrich", "reference"=>"Paxton Shields", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms 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.7009ms Completed 200 OK in 5ms (Views: 2.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bdb0000'), "name"=>"Coy Spinka", "reference"=>"Manuel Reynolds", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53df9a13773533035bdb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bdb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms Completed 200 OK in 28ms (Views: 0.2ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bdc0000'), "name"=>"Ramona Fadel", "reference"=>"Dr. Irwin Waters", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bde0000'), "name"=>"Dr. Clementine Greenholt", "reference"=>"Kelsi Wunsch", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53df9a13773533035bde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035bdf0000'), "name"=>"Katrine Muller", "reference"=>"Berta Ratke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1500ms 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('53df9a13773533035be00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1629ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a13773533035be10000'), "name"=>"Marlon Beahan", "reference"=>"Eliseo Purdy", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53df9a13773533035be10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035be10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms 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('53df9a13773533035be20000'), "name"=>"Miss Demarco Schmidt", "reference"=>"Lera Franecki", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms 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('53df9a13773533035be40000'), "name"=>"Enrico Simonis V", "reference"=>"Nyah Pouros", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df9a13773533035be40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a13773533035be40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.7569ms Completed 202 Accepted in 29ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035be50000'), "name"=>"Dr. Thora Heidenreich", "reference"=>"Johanna Langosh", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4919ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53df9a14773533035be50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Redirected to http://test.host/products/53df9a14773533035be50000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035be80000'), "name"=>"Melvin Gutmann", "reference"=>"Estel Mohr", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035be60000'), "author_name"=>"Claud Macejkovic", "content"=>["Doloremque quis quia illum fugiat. Dolor qui ut non sit ab harum et. Omnis recusandae et quia. Aliquam animi repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035be70000'), "author_name"=>"Stacey Luettgen", "content"=>["Quod nihil blanditiis non qui. Deserunt rem eum et. Soluta fugit nemo consectetur dolorum optio est velit. Voluptatem est nesciunt eius. Iste nesciunt ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53df9a14773533035be80000", "comment_id"=>"53df9a14773533035be60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be80000'), "comments._id"=>BSON::ObjectId('53df9a14773533035be60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df9a14773533035be90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms Redirected to http://test.host/products/53df9a14773533035be80000/comments/53df9a14773533035be60000/comments/53df9a14773533035be90000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bec0000'), "name"=>"Jamar King", "reference"=>"Pascale Windler", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bea0000'), "author_name"=>"Russel Huels", "content"=>["Reprehenderit dolor laboriosam dolorum est. Labore modi vero sit odit. Voluptatem ut cum impedit ea voluptas. Non atque distinctio in vel sed voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035beb0000'), "author_name"=>"Leonor Hackett", "content"=>["Rerum consequatur qui enim dolor culpa. Molestiae qui ut velit officiis. Et assumenda cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53df9a14773533035bec0000", "comment_id"=>"53df9a14773533035bea0000", "id"=>"53df9a14773533035beb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bec0000'), "comments._id"=>BSON::ObjectId('53df9a14773533035bea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53df9a14773533035beb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms Redirected to http://test.host/products/53df9a14773533035bec0000/comments/53df9a14773533035bea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bef0000'), "name"=>"Deion Funk", "reference"=>"Mrs. Jennie Feest", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bed0000'), "author_name"=>"Ephraim Prosacco PhD", "content"=>["Qui facilis aut voluptatibus expedita velit similique. Non unde est at facilis iusto incidunt. Quia sint perspiciatis. Laborum aliquid adipisci atque esse consequatur sunt officia."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bee0000'), "author_name"=>"Katlynn Russel", "content"=>["Inventore explicabo quo voluptate iusto mollitia. Nihil debitis nam quis. Quibusdam sint consectetur ut nobis omnis expedita. Sed necessitatibus minima aliquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53df9a14773533035bef0000", "comment_id"=>"53df9a14773533035bed0000", "id"=>"53df9a14773533035bee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bf20000'), "name"=>"Raven Reinger", "reference"=>"Jessyca Schneider", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf00000'), "author_name"=>"Valentina Nikolaus", "content"=>["Ullam nulla possimus aut. Aut deserunt ut omnis adipisci necessitatibus. Sequi eaque qui quia delectus et nihil."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf10000'), "author_name"=>"Lauretta Cassin", "content"=>["Eius dolor sit assumenda dignissimos ducimus laudantium aut. Optio sunt dignissimos accusantium et tempore sed eius. Accusantium laborum et nisi distinctio dolor est nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5516ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53df9a14773533035bf20000", "comment_id"=>"53df9a14773533035bf00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bf50000'), "name"=>"Lina Carroll", "reference"=>"Valentina Lang", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf30000'), "author_name"=>"Brooklyn Cummings V", "content"=>["Ullam possimus voluptatem. Dolor corporis voluptatem qui iure voluptate dolorem possimus. Molestiae sed et."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf40000'), "author_name"=>"Alysa Prosacco", "content"=>["Eveniet officia ex dolorem cum et repudiandae consequatur. Illo unde eligendi quod tenetur a sed fugiat. Non quos illum maiores natus autem amet quaerat. Est repellat consequatur itaque et eos. Voluptatibus officiis sequi amet similique dolorem voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53df9a14773533035bf50000", "comment_id"=>"53df9a14773533035bf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bf80000'), "name"=>"Linnea Brakus I", "reference"=>"Mr. Holden Dickinson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf60000'), "author_name"=>"Matilde Breitenberg", "content"=>["Vel quos quia consequatur qui. Officiis architecto vel. Sint sit nisi iusto."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf70000'), "author_name"=>"Vincenza Terry", "content"=>["Ab sunt eaque nostrum et id modi. Consequuntur quae accusamus porro ut commodi in aliquid. Accusantium voluptates et suscipit vel provident consequatur qui. Optio alias commodi sunt expedita nam dolor corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53df9a14773533035bf80000", "comment_id"=>"53df9a14773533035bf60000", "id"=>"53df9a14773533035bf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bfb0000'), "name"=>"Roslyn Adams", "reference"=>"Marcelino Lindgren", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bf90000'), "author_name"=>"Maiya Langworth", "content"=>["Assumenda possimus quia eum at. Iure occaecati aut sint. Et et ut. Sed sunt qui corrupti sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bfa0000'), "author_name"=>"Miss Brandt Smith", "content"=>["Sunt autem nihil ut ipsa consectetur. Molestiae iure non ut aspernatur. Dolores dolorem dignissimos recusandae fugiat. Temporibus voluptatem quis aut nesciunt et hic quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53df9a14773533035bfb0000", "comment_id"=>"53df9a14773533035bf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035bfe0000'), "name"=>"Ms. Laney Ankunding", "reference"=>"Karolann Hermann", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bfc0000'), "author_name"=>"Blanca Murray", "content"=>["Aliquam cupiditate corporis omnis veniam sed praesentium labore. Sit sed adipisci delectus. Tempore sequi voluptas vel id tenetur laudantium. Iure recusandae qui autem."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bfd0000'), "author_name"=>"Kiley Jenkins MD", "content"=>["Sit et illo omnis nam voluptatum modi. Sapiente ad quo enim facere. Quam officiis modi dicta possimus quaerat laboriosam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53df9a14773533035bfe0000", "comment_id"=>"53df9a14773533035bfc0000", "id"=>"53df9a14773533035bfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53df9a14773533035b010100'), "name"=>"Mr. Jakayla Spencer", "reference"=>"Yazmin Buckridge", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035bff0000'), "author_name"=>"Rodger Powlowski IV", "content"=>["Sit deserunt ut similique neque soluta. Facilis beatae pariatur eligendi aut et sed. Dolores quia blanditiis ducimus commodi minus et quo. Nesciunt nobis mollitia ad cupiditate sit."], "comments"=>[{"_id"=>BSON::ObjectId('53df9a14773533035b000100'), "author_name"=>"Zechariah Walter", "content"=>["Dolores eius eaque. Et eos nihil. Ut voluptates est veniam enim impedit dolorem. Consectetur magnam alias corporis tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53df9a14773533035b000100", "product_id"=>"53df9a14773533035b010100", "comment_id"=>"53df9a14773533035bff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53df9a14773533035b010100'), "comments._id"=>BSON::ObjectId('53df9a14773533035bff0000'), "comments.0.comments._id"=>BSON::ObjectId('53df9a14773533035b000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Redirected to http://test.host/products/53df9a14773533035b010100/comments/53df9a14773533035bff0000/comments/53df9a14773533035b000100 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('53df9a14773533035b020100'), "firstname"=>"Gerhard", "lastname"=>"Schuppe"}] 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.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('53df9a14773533035b030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Redirected to http://test.host/users/53df9a14773533035b030100 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('53df9a14773533035b040100'), "firstname"=>"Luna", "lastname"=>"Lynch"}] 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=>"admin_users", :query=>{}} runtime: 0.1421ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53df9a14773533035b040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a14773533035b040100')} 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('53df9a14773533035b040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms 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('53df9a14773533035b050100'), "firstname"=>"Jermey", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53df9a14773533035b050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a14773533035b050100')} 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.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('53df9a14773533035b060100'), "firstname"=>"Elva", "lastname"=>"Robel"}] 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.3181ms Completed 200 OK in 44ms (Views: 43.0ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a14773533035b070100'), "firstname"=>"Yvonne", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53df9a14773533035b080100'), "firstname"=>"Bert", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Processing by UsersController#show as HTML Parameters: {"id"=>"53df9a14773533035b080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a14773533035b080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms 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('53df9a14773533035b090100'), "firstname"=>"Molly", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53df9a14773533035b090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53df9a14773533035b090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms Unpermitted parameters: name Redirected to http://test.host/users/53df9a14773533035b090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4159ms 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.3726ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.4059ms 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.5930ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5965ms 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.3426ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b000000'), "firstname"=>"Sabina", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5485ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2584ms 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('53e21af0773533336b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms 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.2804ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b020000'), "firstname"=>"Kattie", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e21af0773533336b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.2ms) Completed 200 OK in 134ms (Views: 132.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b030000'), "firstname"=>"Savanah", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b040000'), "firstname"=>"Foster", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e21af0773533336b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b050000'), "firstname"=>"Aurelia", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e21af0773533336b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms 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('53e21af0773533336b060000'), "name"=>"Nova Kemmer", "reference"=>"Miss Rusty Mosciski", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b070000'), "author_name"=>"Reuben Ratke", "content"=>["Vel adipisci voluptatem provident et rerum. Earum voluptatem tempora doloremque. Quis perspiciatis ut. Ducimus fuga sapiente corrupti et soluta quidem quia. Corrupti voluptatem recusandae atque neque nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21af0773533336b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21af0773533336b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Redirected to http://test.host/admin/products/53e21af0773533336b060000/comments/53e21af0773533336b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b090000'), "name"=>"Mrs. Easter Jaskolski", "reference"=>"Dr. Nicolas Stanton", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b0a0000'), "author_name"=>"Alanna Osinski", "content"=>["Excepturi aut et facere eos aspernatur nisi. Ad magni doloremque neque. Quis enim nesciunt blanditiis eum. Neque dolores officia id suscipit aliquam. Itaque sed autem et consequatur enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e21af0773533336b090000", "id"=>"53e21af0773533336b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21af0773533336b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Redirected to http://test.host/admin/products/53e21af0773533336b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b0b0000'), "name"=>"Madisyn Mitchell", "reference"=>"Amber Hammes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b0c0000'), "author_name"=>"Erich Medhurst", "content"=>["Autem eveniet ut dolorem laborum odit aut ut. Dignissimos qui quis quo corporis aut. Et reiciendis rem est similique. Consequatur omnis occaecati veniam minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e21af0773533336b0b0000", "id"=>"53e21af0773533336b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b0d0000'), "name"=>"Renee Wolf", "reference"=>"Orville Grant", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b0e0000'), "author_name"=>"Alexane Romaguera", "content"=>["Ut accusantium est magnam ullam officia nulla ex. Autem nesciunt eveniet. Accusantium modi et sit voluptatum atque ea. Dolores impedit cum adipisci reiciendis numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e21af0773533336b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b0f0000'), "name"=>"Cecil O'Conner", "reference"=>"Mrs. Rosemary Satterfield", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b100000'), "author_name"=>"Yesenia Barrows", "content"=>["Officia facilis provident ullam voluptatem et rerum at. Ipsum debitis dignissimos sed. Non quisquam possimus esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e21af0773533336b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b110000'), "name"=>"Darwin Marks", "reference"=>"Marjolaine Stracke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b120000'), "author_name"=>"Dr. Claudine Stanton", "content"=>["Expedita eos rerum qui libero natus accusamus temporibus. Illo quos assumenda est qui autem. Nihil debitis voluptas est quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e21af0773533336b110000", "id"=>"53e21af0773533336b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b130000'), "name"=>"Santa Adams", "reference"=>"Adaline Quigley DDS", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21af0773533336b140000'), "author_name"=>"Shanelle Senger", "content"=>["Quibusdam est et sint ad molestiae odit mollitia. Sit ea perspiciatis adipisci. Qui recusandae consequatur fugit voluptates provident. Vitae natus aperiam et impedit iste qui ea. Unde sapiente cumque neque debitis fugit hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21af0773533336b140000", "product_id"=>"53e21af0773533336b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b130000')} 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('53e21af0773533336b130000'), "comments._id"=>BSON::ObjectId('53e21af0773533336b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms Redirected to http://test.host/admin/products/53e21af0773533336b130000/comments/53e21af0773533336b140000 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('53e21af0773533336b150000'), "name"=>"Jany Raynor", "reference"=>"Freddie Hirthe DDS", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b160000'), "firstname"=>"Malvina", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e21af0773533336b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms Redirected to http://test.host/admin/products/53e21af0773533336b150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b180000'), "name"=>"Felipa Upton", "reference"=>"Jettie Cole", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b190000'), "firstname"=>"May", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e21af0773533336b190000", "product_id"=>"53e21af0773533336b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms 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_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b1a0000'), "name"=>"Nikko Brekke Jr.", "reference"=>"Maritza Koepp", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b1b0000'), "firstname"=>"Rahsaan", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e21af0773533336b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b1c0000'), "name"=>"Mrs. Geoffrey Hickle", "reference"=>"Colt Hand", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b1d0000'), "firstname"=>"Wilfrid", "lastname"=>"Okuneva"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e21af0773533336b1d0000", "product_id"=>"53e21af0773533336b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b1e0000'), "name"=>"Terrence Murazik", "reference"=>"Dr. Antonette Cronin", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e21af0773533336b1f0000'), "firstname"=>"Solon", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e21af0773533336b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e21af0773533336b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e21af0773533336b1e0000/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('53e21af0773533336b200000'), "name"=>"Jessy Anderson", "reference"=>"Kobe Feil", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2048ms 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('53e21af0773533336b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms Redirected to http://test.host/admin/products/53e21af0773533336b210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2987ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b220000'), "name"=>"Miss Brayan Corwin", "reference"=>"Vanessa Effertz", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2088ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e21af0773533336b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms 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.2336ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b230000'), "name"=>"Kiara Schultz", "reference"=>"Mariane Bauch", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e21af0773533336b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b240000'), "name"=>"Jay Cartwright", "reference"=>"Karine Morar", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5106ms 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.5030ms Completed 200 OK in 11ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b250000'), "name"=>"Felicia Lockman", "reference"=>"Susana McCullough", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b280000'), "name"=>"Aubree Windler", "reference"=>"Ms. Keven Treutel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e21af0773533336b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms 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('53e21af0773533336b290000'), "name"=>"Mafalda Franecki", "reference"=>"Dannie Bernier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e21af0773533336b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af0773533336b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4856ms Redirected to http://test.host/admin/products/53e21af0773533336b290000 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('53e21af0773533336b2a0000'), "firstname"=>"Logan", "lastname"=>"Schmidt"}] 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.2559ms 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('53e21af0773533336b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Redirected to http://test.host/admin/users/53e21af0773533336b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2013ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b2c0000'), "firstname"=>"Zola", "lastname"=>"Wisozk"}] 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.1989ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e21af0773533336b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af0773533336b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af0773533336b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms 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.2353ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b2d0000'), "firstname"=>"Vena", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e21af0773533336b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af0773533336b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b2e0000'), "firstname"=>"Bonnie", "lastname"=>"Anderson"}] 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.4252ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b2f0000'), "firstname"=>"Beulah", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b300000'), "firstname"=>"Tod", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e21af0773533336b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af0773533336b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b310000'), "firstname"=>"Fred", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e21af0773533336b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af0773533336b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e21af0773533336b310000 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('53e21af0773533336b320000'), "firstname"=>"Geo", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1981ms 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('53e21af0773533336b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5427ms 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.2531ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b340000'), "firstname"=>"Rowland", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e21af0773533336b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 11ms (Views: 8.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b350000'), "firstname"=>"Katlyn", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('53e21af0773533336b360000'), "firstname"=>"Houston", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4896ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e21af0773533336b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4014ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b370000'), "firstname"=>"Lawrence", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e21af0773533336b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21af0773533336b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b380000'), "name"=>"Cecil Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b390000'), "name"=>"Clemens Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3a0000'), "name"=>"Kasey Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3b0000'), "name"=>"Madison Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3c0000'), "name"=>"Modesta Kessler Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3d0000'), "name"=>"Dr. Amari Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3e0000'), "name"=>"Walker Schiller PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b3f0000'), "name"=>"Brigitte Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b400000'), "name"=>"Braden Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b410000'), "name"=>"Constantin Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b420000'), "name"=>"Araceli Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b430000'), "name"=>"Amaya Balistreri Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b440000'), "name"=>"Mr. Demarcus Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b450000'), "name"=>"Mr. Danika Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b460000'), "name"=>"Ransom Baumbach Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b470000'), "name"=>"Frederik Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b480000'), "name"=>"Sonny Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b490000'), "name"=>"Alvera Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4a0000'), "name"=>"Ms. Lowell Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4b0000'), "name"=>"Jazlyn Gottlieb DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4c0000'), "name"=>"Nicolas Considine PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4d0000'), "name"=>"Rosa Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4e0000'), "name"=>"Aidan Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b4f0000'), "name"=>"Garrett Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b500000'), "name"=>"Samantha Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b510000'), "name"=>"Miss Sadie Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b520000'), "name"=>"Krista Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b530000'), "name"=>"Fleta Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b540000'), "name"=>"Shyann Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b550000'), "name"=>"General Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b560000'), "name"=>"Kellen Wyman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b570000'), "name"=>"Jamil Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b580000'), "name"=>"Angus Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b590000'), "name"=>"Delbert Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5a0000'), "name"=>"Lisa Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5b0000'), "name"=>"Deangelo Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5c0000'), "name"=>"Frederick Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5d0000'), "name"=>"Derrick Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5e0000'), "name"=>"Daphnee Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b5f0000'), "name"=>"Danielle Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b600000'), "name"=>"Frederik Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b610000'), "name"=>"Mrs. Marvin Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b620000'), "name"=>"Wilmer Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b630000'), "name"=>"Tyrese Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b640000'), "name"=>"Layne Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b650000'), "name"=>"Maverick Abbott V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b660000'), "name"=>"Ms. Shaun Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b670000'), "name"=>"Aileen Ebert PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b680000'), "name"=>"Kale Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b690000'), "name"=>"Nathanael Jakubowski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6a0000'), "name"=>"Dorian Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6b0000'), "name"=>"Diego Carter DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6c0000'), "name"=>"Ciara Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6d0000'), "name"=>"Mireya McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6e0000'), "name"=>"August Raynor III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af0773533336b6f0000'), "name"=>"Mr. Winona Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af0773533336b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b700000'), "name"=>"Andres Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b710000'), "name"=>"Humberto Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b720000'), "name"=>"Josianne Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b730000'), "name"=>"Kavon Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2046ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b740000'), "name"=>"Vernie Weissnat IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b750000'), "name"=>"Jakayla Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b760000'), "name"=>"Jude Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b770000'), "name"=>"Mr. Junius Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b780000'), "name"=>"Ms. Rachelle Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b790000'), "name"=>"Darion Murphy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7a0000'), "name"=>"Candida Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7b0000'), "name"=>"Mr. Jordy Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7c0000'), "name"=>"Mrs. Christine Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7d0000'), "name"=>"Jewell Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7e0000'), "name"=>"Everardo Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b7f0000'), "name"=>"Rosina Mayert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b800000'), "name"=>"Amalia Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b810000'), "name"=>"Beth Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b820000'), "name"=>"Torrance Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b830000'), "name"=>"Ross Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b840000'), "name"=>"Dallin Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b850000'), "name"=>"Darrel Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b860000'), "name"=>"Ms. Myrtice Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b870000'), "name"=>"Derrick Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b880000'), "name"=>"Miss Donnie Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b890000'), "name"=>"Mrs. Caden Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8a0000'), "name"=>"Rene Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8b0000'), "name"=>"Luther Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8c0000'), "name"=>"Wayne Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8d0000'), "name"=>"Burley Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8e0000'), "name"=>"Sigurd Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b8f0000'), "name"=>"Idell Powlowski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b900000'), "name"=>"Enrique Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b910000'), "name"=>"Marc Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b920000'), "name"=>"Emilio Heathcote Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b930000'), "name"=>"Jaqueline Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b940000'), "name"=>"Mrs. Frederique McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b950000'), "name"=>"Lawrence Maggio PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b960000'), "name"=>"Ubaldo Emard Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b970000'), "name"=>"Cristobal Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2308ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Redirected to http://test.host/categories/53e21af1773533336b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2035ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b990000'), "name"=>"Corbin Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1871ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e21af1773533336b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1993ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b9a0000'), "name"=>"Rory Ferry PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e21af1773533336b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b9b0000'), "name"=>"Josiah Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240679639794] runtime: 0.1189ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2781ms Completed 200 OK in 17ms (Views: 16.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b9c0000'), "name"=>"Drew Haag DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241347433305] runtime: 0.0858ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2366ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b9d0000'), "name"=>"Veronica Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9e0000')} 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.5ms) Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336b9f0000'), "name"=>"Aleen Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e21af1773533336b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21af1773533336ba00000'), "name"=>"Kiana Satterfield III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e21af1773533336ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21af1773533336ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21af1773533336ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms Redirected to http://test.host/categories/53e21af1773533336ba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336ba10000'), "name"=>"Jarrell Hudson", "reference"=>"Leon Kuhn", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336ba20000'), "author_name"=>"Cullen Hilpert", "content"=>["Magnam rerum quo. Natus sed harum earum. Maxime saepe culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21af1773533336ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba10000')} 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('53e21af1773533336ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21af1773533336ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms Redirected to http://test.host/products/53e21af1773533336ba10000/comments/53e21af1773533336ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336ba40000'), "name"=>"Eliza Ledner", "reference"=>"Rebecca Fay", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336ba50000'), "author_name"=>"Ms. Jonathan Swaniawski", "content"=>["Aliquid ullam id officiis dicta. Et amet officia nobis libero ipsam voluptatibus delectus. Eveniet eligendi eos perferendis nostrum quasi vel. In nemo sed. Pariatur ut impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e21af1773533336ba40000", "id"=>"53e21af1773533336ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21af1773533336ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms Redirected to http://test.host/products/53e21af1773533336ba40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336ba60000'), "name"=>"Miss Arely Bruen", "reference"=>"Edmond Satterfield Jr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336ba70000'), "author_name"=>"Elvis Schulist", "content"=>["Aliquam ea quos ut tempora saepe id. Qui consectetur sed et quasi et harum. Quisquam quia quo in aut quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e21af1773533336ba60000", "id"=>"53e21af1773533336ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4103ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 43ms (Views: 40.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336ba80000'), "name"=>"Ms. Kelvin Medhurst", "reference"=>"Jacinto Hickle III", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336ba90000'), "author_name"=>"Reyes Renner", "content"=>["Dolorum sit non. Incidunt distinctio eligendi natus vitae. Ab omnis expedita sit id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e21af1773533336ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336baa0000'), "name"=>"Paul Rempel", "reference"=>"Elroy Stanton DVM", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bab0000'), "author_name"=>"Brianne Olson", "content"=>["Sapiente in ratione. Blanditiis aut odio quisquam. Alias dolorem hic quasi perferendis consequatur. Sed doloremque id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e21af1773533336baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bac0000'), "name"=>"Noelia Reichert", "reference"=>"Desiree Swift", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bad0000'), "author_name"=>"Yadira Batz", "content"=>["Libero repudiandae in vel. Aut officia voluptas ad nostrum quia. Perspiciatis et modi ut neque eaque unde doloribus. Mollitia dolorum officiis adipisci rerum architecto suscipit. Mollitia animi sapiente nisi perferendis quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e21af1773533336bac0000", "id"=>"53e21af1773533336bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bae0000'), "name"=>"Johathan Powlowski", "reference"=>"Gabriella Wolf", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336baf0000'), "author_name"=>"Destin Pagac", "content"=>["Minus eveniet tenetur consequatur. Sit rerum ut omnis iure odit. Quisquam qui quo ea vero aliquid. Eligendi nesciunt et dicta odio velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e21af1773533336bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4377ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb00000'), "name"=>"Joey Mann", "reference"=>"Kurtis Turner IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bb10000'), "author_name"=>"Elfrieda Blick", "content"=>["Perferendis soluta voluptatem cupiditate aspernatur ut deserunt. Vero odit dolores veniam et. Expedita beatae totam. Illo quidem labore facilis dolores ut quia sunt. Dolor qui voluptatem cum minima eveniet in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5879ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e21af1773533336bb00000", "id"=>"53e21af1773533336bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb20000'), "name"=>"Mina Doyle", "reference"=>"Ms. Jayme Kihn", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bb30000'), "author_name"=>"Sheldon Monahan", "content"=>["Quae dolores vel est ea. Provident deserunt quo porro. Velit voluptatum culpa iusto asperiores quis. Dolor aliquam laborum corrupti pariatur error iusto et. Et quis debitis ea ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5765ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21af1773533336bb30000", "product_id"=>"53e21af1773533336bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bb20000'), "comments._id"=>BSON::ObjectId('53e21af1773533336bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6745ms Redirected to http://test.host/products/53e21af1773533336bb20000/comments/53e21af1773533336bb30000 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('53e21af1773533336bb40000'), "firstname"=>"Molly", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3415ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Redirected to http://test.host/admin/clients/53e21af1773533336bb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3810ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb60000'), "firstname"=>"Ned", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5003ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3175ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e21af1773533336bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms 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.2456ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb70000'), "firstname"=>"Tara", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8433ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e21af1773533336bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) 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('53e21af1773533336bb80000'), "firstname"=>"Cloyd", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4774ms Completed 200 OK in 10ms (Views: 8.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bb90000'), "firstname"=>"Bernadine", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.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.4ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bba0000'), "firstname"=>"Luciano", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e21af1773533336bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bbb0000'), "firstname"=>"Mitchel", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e21af1773533336bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms Redirected to http://test.host/admin/clients/53e21af1773533336bbb0000 Completed 302 Found in 35ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bbc0000'), "firstname"=>"Evans", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms 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('53e21af1773533336bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Redirected to http://test.host/clients/53e21af1773533336bbd0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2319ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bbe0000'), "firstname"=>"Rae", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms 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"=>"53e21af1773533336bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3583ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms 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.2184ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bbf0000'), "firstname"=>"Frieda", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e21af1773533336bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4218ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (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('53e21af1773533336bc00000'), "firstname"=>"Clare", "lastname"=>"Koss"}] 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.4747ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bc10000'), "firstname"=>"Lillian", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms 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('53e21af1773533336bc20000'), "firstname"=>"Mollie", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e21af1773533336bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bc30000'), "firstname"=>"Trudie", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e21af1773533336bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21af1773533336bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Redirected to http://test.host/clients/53e21af1773533336bc30000 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('53e21af1773533336bc40000'), "name"=>"Bryana Lemke", "reference"=>"Garry Fadel", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bc50000'), "firstname"=>"Bell", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6445ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e21af1773533336bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bc40000')} 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('53e21af1773533336bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms Redirected to http://test.host/products/53e21af1773533336bc40000/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('53e21af1773533336bc70000'), "name"=>"Hailie Koelpin", "reference"=>"Thaddeus Rath", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bc80000'), "firstname"=>"Tiana", "lastname"=>"Connelly"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e21af1773533336bc80000", "product_id"=>"53e21af1773533336bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bc90000'), "name"=>"Branson Dibbert", "reference"=>"Mr. Efren Quigley", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bca0000'), "firstname"=>"Mauricio", "lastname"=>"Cruickshank"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5096ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e21af1773533336bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bcb0000'), "name"=>"Dr. Kelly Hilpert", "reference"=>"Ms. Lia Douglas", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bcc0000'), "firstname"=>"Korey", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e21af1773533336bcc0000", "product_id"=>"53e21af1773533336bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bcd0000'), "name"=>"Bernita Fisher PhD", "reference"=>"Ms. Taylor Kessler", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e21af1773533336bce0000'), "firstname"=>"Maci", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e21af1773533336bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e21af1773533336bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms Unpermitted parameters: name Redirected to http://test.host/products/53e21af1773533336bcd0000/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('53e21af1773533336bcf0000'), "name"=>"Vicente Hermiston III", "reference"=>"Camylle Leffler", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd00000'), "name"=>"Leonel Hickle", "reference"=>"Mrs. Vernice Fahey", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd10000'), "name"=>"Fidel Towne", "reference"=>"Marlen Sporer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd20000'), "name"=>"Vincenzo Schiller", "reference"=>"Janessa Morissette Jr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2971ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd30000'), "name"=>"Fleta Davis", "reference"=>"Willow Turcotte", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd40000'), "name"=>"Adonis Brekke", "reference"=>"Dayne Muller Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms Redirected to http://test.host/products/53e21af1773533336bd50000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd60000'), "name"=>"Harvey MacGyver", "reference"=>"Seamus Heidenreich", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1571ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e21af1773533336bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bd60000')} 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('53e21af1773533336bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms 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.1819ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd70000'), "name"=>"Magdalen Kassulke", "reference"=>"Aurore Rodriguez III", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e21af1773533336bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (40.6ms) Completed 200 OK in 46ms (Views: 44.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd80000'), "name"=>"Mrs. Sanford Heaney", "reference"=>"Katrine Kuhic", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215836278804] runtime: 0.1158ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2566ms Completed 200 OK in 19ms (Views: 17.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bd90000'), "name"=>"Amir Lemke", "reference"=>"Mrs. Dimitri Bergnaum", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216764383383] runtime: 0.1099ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2509ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214906393524] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215905339681] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215715952971] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215044761681] runtime: 0.0946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215856688931] runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215977564482] runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215041578816] runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216188509470] runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216537175600] runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214806600744] runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779724048] runtime: 0.1345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215312785292] runtime: 0.1215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216025064222] runtime: 0.1161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216699154281] runtime: 0.1177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216838196026] runtime: 0.1048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216892384027] runtime: 0.1067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214937124847] runtime: 0.1069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215993869321] runtime: 0.1239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216007426031] runtime: 0.1163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216593768046] runtime: 0.1366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216481360761] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215653996341] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215337198242] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215915169089] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216788942378] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216442899796] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216877596324] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216282094133] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215407357596] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215927762189] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216684390206] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216876163093] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216409051869] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215922737098] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215251401948] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214778471550] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216831095904] runtime: 0.0914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215782053121] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214786216754] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216240746384] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215739306010] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215285202596] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215036307050] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215442605232] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216515121606] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216671504405] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215535200989] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214974967669] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215022882722] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216439213532] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216818725722] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216822300996] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216665829450] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216170902898] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215125139794] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216836560185] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216352486045] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216274582969] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215188305925] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215337711846] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216435568133] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214750347995] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215322683917] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214831857956] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215201048376] runtime: 0.0959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134369318] runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215043251657] runtime: 0.0931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215733259774] runtime: 0.0770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214827478839] runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215220181313] runtime: 0.0961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216609583838] runtime: 0.0827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214910671168] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216021320149] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139582654] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215881104703] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215529540246] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216441518075] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216163044964] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215660489748] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216473684787] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216253971645] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216364939392] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215935256019] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216592142820] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215386542257] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216596001288] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215335711234] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216361839991] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214896178587] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216410633848] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216119151162] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216573531502] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215282685633] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215331128500] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215430791043] runtime: 0.0555ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bda0000'), "name"=>"Ernie Bernier MD", "reference"=>"Luther Roberts", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214931619165] runtime: 0.0672ms Completed 200 OK in 4ms (Views: 1.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bdb0000'), "name"=>"Kieran Murazik", "reference"=>"Alessandra Stracke", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e21af1773533336bdb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bdb0000')} 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('53e21af1773533336bdc0000'), "name"=>"Dr. Raphael Okuneva", "reference"=>"Bobby Reichel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms 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.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bde0000'), "name"=>"Muriel Muller", "reference"=>"Karine Hahn", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e21af1773533336bde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bdf0000'), "name"=>"Jeanie Walter PhD", "reference"=>"Austen Buckridge V", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.6784ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2387ms 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('53e21af1773533336be00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2084ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336be10000'), "name"=>"Jared Hermann", "reference"=>"Edison Aufderhar", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e21af1773533336be10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3862ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms 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('53e21af1773533336be20000'), "name"=>"Baron Wilderman", "reference"=>"Laney Miller", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms 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('53e21af1773533336be40000'), "name"=>"Valentina Von Sr.", "reference"=>"Emmett Fay", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e21af1773533336be40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms 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('53e21af1773533336be50000'), "name"=>"Allie Kutch PhD", "reference"=>"Margret Parker", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e21af1773533336be50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms Redirected to http://test.host/products/53e21af1773533336be50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336be80000'), "name"=>"Deja Gaylord", "reference"=>"Loy Tromp", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336be60000'), "author_name"=>"Viviane Willms", "content"=>["Sint ea animi consectetur et nobis harum explicabo. Id blanditiis consequatur porro odit laboriosam. Ipsa rem consequatur mollitia est ratione. Quidem iste totam aut pariatur ea. Exercitationem neque porro iure veniam aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336be70000'), "author_name"=>"Giuseppe Yundt", "content"=>["Officia ullam facilis doloribus dolorem enim. Dicta quia voluptates. Voluptas accusantium fuga corporis eaque cupiditate sed excepturi. Tempora consequuntur temporibus ullam. Omnis earum nemo eum aut aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21af1773533336be80000", "comment_id"=>"53e21af1773533336be60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be80000'), "comments._id"=>BSON::ObjectId('53e21af1773533336be60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e21af1773533336be90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6444ms Redirected to http://test.host/products/53e21af1773533336be80000/comments/53e21af1773533336be60000/comments/53e21af1773533336be90000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bec0000'), "name"=>"Adelbert Kozey", "reference"=>"Dr. Ashtyn Crooks", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bea0000'), "author_name"=>"Dr. Sallie Kunde", "content"=>["Et fugit mollitia est asperiores praesentium quasi corporis. Dolor repellat similique voluptas commodi nihil praesentium. Necessitatibus hic eos aspernatur vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336beb0000'), "author_name"=>"Sabrina Farrell", "content"=>["Saepe delectus ut architecto ipsum. Rem rerum vel error sit ipsum. Et praesentium nam aut. Commodi eaque ut voluptas nisi est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e21af1773533336bec0000", "comment_id"=>"53e21af1773533336bea0000", "id"=>"53e21af1773533336beb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bec0000'), "comments._id"=>BSON::ObjectId('53e21af1773533336bea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e21af1773533336beb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6544ms Redirected to http://test.host/products/53e21af1773533336bec0000/comments/53e21af1773533336bea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bef0000'), "name"=>"Phoebe Durgan", "reference"=>"Antone Blick", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bed0000'), "author_name"=>"Ms. Felton Graham", "content"=>["Ad accusamus molestiae aspernatur sunt eligendi earum. Quisquam doloremque placeat delectus debitis sit quo vel. Voluptate ratione distinctio. Ad perspiciatis voluptas totam inventore quos."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bee0000'), "author_name"=>"Edwina Renner", "content"=>["Rerum cupiditate sit. Molestiae dolore dolorem. Et aut doloremque dolorum inventore omnis minus perspiciatis. Ut cupiditate qui minima soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e21af1773533336bef0000", "comment_id"=>"53e21af1773533336bed0000", "id"=>"53e21af1773533336bee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bf20000'), "name"=>"Edmond Welch", "reference"=>"Heidi Cremin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bf00000'), "author_name"=>"Maude Bogisich", "content"=>["Ullam rerum cumque iste. Unde quas tenetur voluptatum sunt cupiditate dolor. Qui quia ea. Quia autem dignissimos autem nulla eos est."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bf10000'), "author_name"=>"Omari Bednar", "content"=>["Id quasi ut et autem. Est nihil non sequi. Alias aliquam recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5728ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e21af1773533336bf20000", "comment_id"=>"53e21af1773533336bf00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3961ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af1773533336bf50000'), "name"=>"Mrs. Remington Cummerata", "reference"=>"Torey Waters", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bf30000'), "author_name"=>"Myrtie Parker", "content"=>["Temporibus tempora itaque repellendus. Inventore magnam odio. Voluptatibus corrupti inventore."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af1773533336bf40000'), "author_name"=>"Mrs. Domenick Barton", "content"=>["Quia impedit magni minus dolores tempora sit. Beatae adipisci et. Ipsum quia sed possimus tempora rerum voluptatem. Recusandae vero laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5498ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e21af1773533336bf50000", "comment_id"=>"53e21af1773533336bf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af1773533336bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4368ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af2773533336bf80000'), "name"=>"Adriana Zboncak", "reference"=>"Loma Orn", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bf60000'), "author_name"=>"Margarette Roob", "content"=>["Non similique et qui dicta a. Adipisci ullam dignissimos velit. Sunt cupiditate neque itaque unde facilis. Odit dignissimos ipsam magni dolor blanditiis fugit est."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bf70000'), "author_name"=>"Connie Muller", "content"=>["Consequatur qui dolores id accusantium iusto. Sed eos laudantium sint nihil totam officiis. Dignissimos eveniet omnis eligendi ut. Qui animi omnis. Est tempore esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e21af2773533336bf80000", "comment_id"=>"53e21af2773533336bf60000", "id"=>"53e21af2773533336bf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af2773533336bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af2773533336bfb0000'), "name"=>"Allan Streich", "reference"=>"Timmothy Langosh", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bf90000'), "author_name"=>"Lamont Barton", "content"=>["Est dolorem error saepe vel quod rerum. Esse commodi et fugiat. Numquam quaerat sapiente quod suscipit. Omnis nostrum maiores."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bfa0000'), "author_name"=>"Rafaela Kassulke", "content"=>["Consequuntur dolor veniam soluta odit est. Fugiat autem voluptas cupiditate eum ut adipisci alias. Qui quibusdam odit dolorem doloremque. Ex quisquam quia quidem voluptas voluptatem distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4275ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e21af2773533336bfb0000", "comment_id"=>"53e21af2773533336bf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af2773533336bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4127ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af2773533336bfe0000'), "name"=>"Sean Yost", "reference"=>"Kennedy Kozey", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bfc0000'), "author_name"=>"Rozella Stamm", "content"=>["Beatae dicta ipsam aliquam. Magni commodi maxime. Minus cupiditate nam rerum. Quos rem vitae error earum. Necessitatibus repudiandae ut reiciendis odit earum dolorum minus."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bfd0000'), "author_name"=>"Destini Watsica", "content"=>["Aut itaque reprehenderit molestiae. Necessitatibus fugiat eligendi earum nesciunt deserunt occaecati voluptatem. Vel harum atque hic. Error asperiores qui nihil at illo. Nostrum ab et quia porro pariatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e21af2773533336bfe0000", "comment_id"=>"53e21af2773533336bfc0000", "id"=>"53e21af2773533336bfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af2773533336bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b010100'), "name"=>"Johanna Wunsch", "reference"=>"Wellington Boyer IV", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336bff0000'), "author_name"=>"Miss Americo Fadel", "content"=>["Vitae enim nihil omnis sed distinctio. Qui veniam sequi et ut voluptatem optio. Tempore et est aut dolorum in rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53e21af2773533336b000100'), "author_name"=>"Corbin Von V", "content"=>["Fugiat sed quam eligendi. Eaque earum suscipit sapiente itaque voluptates. Ipsam sapiente sit ratione deserunt. Quae quisquam iure tenetur accusamus. Quo ut distinctio qui dolorem eius quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21af2773533336b000100", "product_id"=>"53e21af2773533336b010100", "comment_id"=>"53e21af2773533336bff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af2773533336b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21af2773533336b010100'), "comments._id"=>BSON::ObjectId('53e21af2773533336bff0000'), "comments.0.comments._id"=>BSON::ObjectId('53e21af2773533336b000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms Redirected to http://test.host/products/53e21af2773533336b010100/comments/53e21af2773533336bff0000/comments/53e21af2773533336b000100 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('53e21af2773533336b020100'), "firstname"=>"Griffin", "lastname"=>"Legros"}] 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.1620ms 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('53e21af2773533336b030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms Redirected to http://test.host/users/53e21af2773533336b030100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1651ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b040100'), "firstname"=>"Ruthe", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1376ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e21af2773533336b040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af2773533336b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af2773533336b040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms 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.1771ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b050100'), "firstname"=>"Zander", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e21af2773533336b050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af2773533336b050100')} 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.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b060100'), "firstname"=>"Randy", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms 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.3486ms Completed 200 OK in 8ms (Views: 7.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b070100'), "firstname"=>"Luther", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9192ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b080100'), "firstname"=>"Oscar", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e21af2773533336b080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af2773533336b080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4253ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21af2773533336b090100'), "firstname"=>"Ransom", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e21af2773533336b090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21af2773533336b090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms Unpermitted parameters: name Redirected to http://test.host/users/53e21af2773533336b090100 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: 0.3717ms 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.3591ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms 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.3038ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms 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.4424ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd000000'), "firstname"=>"Marcella", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6314ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2829ms 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('53e21b2577353333fd010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms 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.2841ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd020000'), "firstname"=>"Ivory", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e21b2577353333fd020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2577353333fd020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) 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('53e21b2577353333fd030000'), "firstname"=>"Katlyn", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd040000'), "firstname"=>"Nikolas", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e21b2577353333fd040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2577353333fd040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd050000'), "firstname"=>"Darian", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e21b2577353333fd050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2577353333fd050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms 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('53e21b2577353333fd060000'), "name"=>"Maximo McKenzie II", "reference"=>"Saul Renner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd070000'), "author_name"=>"Mr. Lila Schulist", "content"=>["Odit hic porro cum facere. Ab facere vero. Nemo omnis explicabo quisquam. Ea et adipisci sint perspiciatis ut. Ad error velit aspernatur sit sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21b2577353333fd060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0842ms Redirected to http://test.host/admin/products/53e21b2577353333fd060000/comments/53e21b2577353333fd080000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd060000')} 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('53e21b2577353333fd090000'), "name"=>"Lucienne Von", "reference"=>"Alexandre Mueller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd0a0000'), "author_name"=>"Barry Hegmann", "content"=>["Voluptatem qui cumque. Perferendis dolor ducimus. Amet inventore earum maiores autem vitae neque quia. Iure voluptas est similique. Et nisi optio ipsam ut atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e21b2577353333fd090000", "id"=>"53e21b2577353333fd0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Redirected to http://test.host/admin/products/53e21b2577353333fd090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd0b0000'), "name"=>"Laverna Schultz", "reference"=>"Anita Koss", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd0c0000'), "author_name"=>"Ena Ledner", "content"=>["Doloribus et dolorem. Voluptas sit iure consequatur est. Ea ut aut quia et vel deleniti. Quas reiciendis possimus quaerat tenetur ab consectetur consequatur. Vitae illum architecto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e21b2577353333fd0b0000", "id"=>"53e21b2577353333fd0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd0d0000'), "name"=>"Solon Maggio", "reference"=>"Allene Renner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd0e0000'), "author_name"=>"Keenan Kemmer", "content"=>["Saepe nostrum similique sequi non aut eius et. Est voluptatem accusantium nesciunt. Ut a optio. At ipsum eius ex perspiciatis veritatis nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e21b2577353333fd0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd0f0000'), "name"=>"Ewald Corkery", "reference"=>"Dr. Malinda Kilback", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd100000'), "author_name"=>"Dr. Providenci Graham", "content"=>["Omnis nostrum deleniti ut perferendis. Aliquam exercitationem est. Aut beatae eum illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e21b2577353333fd0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd110000'), "name"=>"Josiah Rosenbaum", "reference"=>"Rory Koss", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd120000'), "author_name"=>"Orie Hettinger", "content"=>["Id reprehenderit perferendis tenetur facere et accusamus qui. Optio et reprehenderit. Voluptates dolor iste expedita sunt aliquam. Repudiandae consequatur odio expedita sed est ea eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e21b2577353333fd110000", "id"=>"53e21b2577353333fd120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd130000'), "name"=>"Dahlia Stroman", "reference"=>"Cheyanne Grimes", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2577353333fd140000'), "author_name"=>"Israel Renner", "content"=>["Molestiae ad sed sit ipsa. Voluptatibus dolor aliquid voluptatem. Dolore consequatur odio exercitationem laboriosam hic. Atque dolores amet maiores quis accusamus accusantium nobis. Minus inventore enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21b2577353333fd140000", "product_id"=>"53e21b2577353333fd130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd130000')} 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('53e21b2577353333fd130000'), "comments._id"=>BSON::ObjectId('53e21b2577353333fd140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms Redirected to http://test.host/admin/products/53e21b2577353333fd130000/comments/53e21b2577353333fd140000 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('53e21b2577353333fd150000'), "name"=>"Maryjane Huels", "reference"=>"Destiny Macejkovic", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd160000'), "firstname"=>"Leonardo", "lastname"=>"Prosacco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5098ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e21b2577353333fd150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Redirected to http://test.host/admin/products/53e21b2577353333fd150000/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('53e21b2577353333fd180000'), "name"=>"Lola Brakus DDS", "reference"=>"Louie Ebert", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd190000'), "firstname"=>"Elmore", "lastname"=>"Schowalter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e21b2577353333fd190000", "product_id"=>"53e21b2577353333fd180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd180000')} 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.7ms) Completed 200 OK in 7ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd1a0000'), "name"=>"Trace VonRueden", "reference"=>"Mrs. Clint Marvin", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd1b0000'), "firstname"=>"Ruben", "lastname"=>"Rodriguez"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1763ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e21b2577353333fd1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4435ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd1c0000'), "name"=>"Lucie Marvin", "reference"=>"Shayne Murazik I", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd1d0000'), "firstname"=>"Otto", "lastname"=>"Padberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6416ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e21b2577353333fd1d0000", "product_id"=>"53e21b2577353333fd1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2577353333fd1e0000'), "name"=>"Mr. Javonte Wilkinson", "reference"=>"Merlin Von", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21b2577353333fd1f0000'), "firstname"=>"Janiya", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e21b2577353333fd1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e21b2577353333fd1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2577353333fd1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e21b2577353333fd1e0000/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('53e21b2677353333fd200000'), "name"=>"Terrill Murphy DDS", "reference"=>"Miss Kadin Cassin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2202ms 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('53e21b2677353333fd210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7248ms Redirected to http://test.host/admin/products/53e21b2677353333fd210000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3915ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd220000'), "name"=>"Kraig Wyman", "reference"=>"Eulah Haag", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5536ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3232ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fd220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms 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.2964ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd230000'), "name"=>"Gianni Schowalter", "reference"=>"Ken Bednar", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e21b2677353333fd230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 13ms (Views: 10.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd240000'), "name"=>"Sammy Corwin", "reference"=>"Dr. Davonte Prosacco", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms 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.7057ms Completed 200 OK in 18ms (Views: 17.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd250000'), "name"=>"Mozell Dickinson III", "reference"=>"Augustine Cummings", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 26ms (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('53e21b2677353333fd280000'), "name"=>"Jayce Aufderhar", "reference"=>"Mrs. Luciano Ledner", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e21b2677353333fd280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd290000'), "name"=>"Esmeralda Cremin", "reference"=>"Vern Torphy", "quantity"=>3}] 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"=>"53e21b2677353333fd290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fd290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Redirected to http://test.host/admin/products/53e21b2677353333fd290000 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('53e21b2677353333fd2a0000'), "firstname"=>"Larue", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2264ms 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('53e21b2677353333fd2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Redirected to http://test.host/admin/users/53e21b2677353333fd2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2253ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd2c0000'), "firstname"=>"Lennie", "lastname"=>"Schinner"}] 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=>"admin_users", :query=>{}} runtime: 0.2149ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fd2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2677353333fd2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2677353333fd2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms 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.1797ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd2d0000'), "firstname"=>"Jewel", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0338ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e21b2677353333fd2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2677353333fd2d0000')} 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.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('53e21b2677353333fd2e0000'), "firstname"=>"Katelyn", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms 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.3336ms 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('53e21b2677353333fd2f0000'), "firstname"=>"Linnea", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms 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.7ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd300000'), "firstname"=>"Nicklaus", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e21b2677353333fd300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2677353333fd300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms 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('53e21b2677353333fd310000'), "firstname"=>"Carlee", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e21b2677353333fd310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2677353333fd310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e21b2677353333fd310000 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('53e21b2677353333fd320000'), "firstname"=>"Kennedi", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1897ms 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('53e21b2677353333fd330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms 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.1500ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd340000'), "firstname"=>"Maximillia", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e21b2677353333fd340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2677353333fd340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd350000'), "firstname"=>"Dorris", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd360000'), "firstname"=>"Kendrick", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e21b2677353333fd360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2677353333fd360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd370000'), "firstname"=>"Bailey", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4666ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e21b2677353333fd370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e21b2677353333fd370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd380000'), "name"=>"Ms. Reymundo Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd390000'), "name"=>"Amanda Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3a0000'), "name"=>"Mrs. Isabelle Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3b0000'), "name"=>"Stephania Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3c0000'), "name"=>"Ellis Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3d0000'), "name"=>"Mia Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3e0000'), "name"=>"Rollin Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd3f0000'), "name"=>"Clair Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd400000'), "name"=>"Davonte Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd410000'), "name"=>"Dandre Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd420000'), "name"=>"Oran Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd430000'), "name"=>"Cesar Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd440000'), "name"=>"Guy Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd450000'), "name"=>"Ebony Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd460000'), "name"=>"Gust Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd470000'), "name"=>"Sydney Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd480000'), "name"=>"Mozell Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd490000'), "name"=>"Erwin Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4a0000'), "name"=>"Abdiel Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4b0000'), "name"=>"Raphael West I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4c0000'), "name"=>"Davion Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4d0000'), "name"=>"Augusta Rau II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4e0000'), "name"=>"Tristian Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd4f0000'), "name"=>"Verner Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd500000'), "name"=>"Miss Sigurd Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd510000'), "name"=>"Aniya Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd520000'), "name"=>"Irving Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd530000'), "name"=>"Baylee Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1047ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd540000'), "name"=>"Mr. Ethelyn Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd550000'), "name"=>"Nathanial Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd560000'), "name"=>"Christop Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd570000'), "name"=>"Estefania Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd580000'), "name"=>"Emilia Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd590000'), "name"=>"Manuela Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5a0000'), "name"=>"Savannah Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5b0000'), "name"=>"Lilian Bogisich Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5c0000'), "name"=>"Dr. Aurore Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5d0000'), "name"=>"Maddison Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5e0000'), "name"=>"Helene Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd5f0000'), "name"=>"Napoleon Frami I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd600000'), "name"=>"Kacey Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd610000'), "name"=>"Noemi Hane Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd620000'), "name"=>"Verdie Bechtelar Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd630000'), "name"=>"Tobin Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd640000'), "name"=>"Irwin Mayert I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd650000'), "name"=>"Ms. Jaquan Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd660000'), "name"=>"Alvera Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd670000'), "name"=>"Dr. Hulda Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd680000'), "name"=>"Burnice Rippin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd690000'), "name"=>"Dr. Raven Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6a0000'), "name"=>"Rusty Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6b0000'), "name"=>"Sonia Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6c0000'), "name"=>"Bert Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6d0000'), "name"=>"Norbert Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6e0000'), "name"=>"Ms. Margret Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd6f0000'), "name"=>"Andres O'Reilly III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd700000'), "name"=>"Mrs. Arlo Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd710000'), "name"=>"Dexter Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd720000'), "name"=>"Isabel Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd730000'), "name"=>"Jerad McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd740000'), "name"=>"Dudley Raynor Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd750000'), "name"=>"Pierce Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd760000'), "name"=>"Mrs. Joshuah Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd770000'), "name"=>"Nicholaus Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd780000'), "name"=>"Mikayla Stehr I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd790000'), "name"=>"Thora Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7a0000'), "name"=>"Vida Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7b0000'), "name"=>"Leanne Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7c0000'), "name"=>"Daphney Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7d0000'), "name"=>"Sim Smitham IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7e0000'), "name"=>"Jacynthe Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd7f0000'), "name"=>"Joyce Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd800000'), "name"=>"Oleta Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd810000'), "name"=>"Dale Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd820000'), "name"=>"Alford Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd830000'), "name"=>"Muhammad Bosco Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd840000'), "name"=>"Koby Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd850000'), "name"=>"Toni Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd860000'), "name"=>"Mr. Kameron Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd870000'), "name"=>"Eleonore Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd880000'), "name"=>"Edyth Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd890000'), "name"=>"Skyla Block PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8a0000'), "name"=>"Chesley Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8b0000'), "name"=>"Lucas Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8c0000'), "name"=>"Devyn Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8d0000'), "name"=>"Bradford Stark I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8e0000'), "name"=>"Aditya Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd8f0000'), "name"=>"Alfonzo Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd900000'), "name"=>"Nikko Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd910000'), "name"=>"Keyshawn Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd920000'), "name"=>"Nathen Harvey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd930000'), "name"=>"Mortimer Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd940000'), "name"=>"William McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd950000'), "name"=>"Gracie Veum V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd960000'), "name"=>"Maegan Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd970000'), "name"=>"Nestor Yost IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1900ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Redirected to http://test.host/categories/53e21b2677353333fd980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3237ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd990000'), "name"=>"Zane McKenzie V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2980ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fd990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fd990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fd990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2849ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd9a0000'), "name"=>"Rocky Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e21b2677353333fd9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fd9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4056ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.8ms) Completed 200 OK in 14ms (Views: 12.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd9b0000'), "name"=>"Dortha Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241594845522] runtime: 0.1172ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3062ms Completed 200 OK in 20ms (Views: 19.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd9c0000'), "name"=>"Makayla Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240747911919] runtime: 0.1228ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3085ms Completed 200 OK in 11ms (Views: 10.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd9d0000'), "name"=>"Tierra Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 8ms (Views: 7.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fd9f0000'), "name"=>"Emma Toy III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e21b2677353333fd9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fd9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fd9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fda00000'), "name"=>"Katelynn Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e21b2677353333fda00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e21b2677353333fda00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e21b2677353333fda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Redirected to http://test.host/categories/53e21b2677353333fda00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fda10000'), "name"=>"Tia Mitchell", "reference"=>"Jackson Heidenreich", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fda20000'), "author_name"=>"Nigel Orn DVM", "content"=>["Beatae nihil eius qui dicta ea ut. Earum eveniet dolor. Nisi aut soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21b2677353333fda10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21b2677353333fda30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms Redirected to http://test.host/products/53e21b2677353333fda10000/comments/53e21b2677353333fda30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fda40000'), "name"=>"Tamara Koch", "reference"=>"Edd Boehm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fda50000'), "author_name"=>"Mr. Mafalda Jakubowski", "content"=>["Perferendis voluptatum explicabo sunt. Dicta molestias expedita et aspernatur cum possimus. Et et atque sint. Id quia et libero quia sunt eveniet. Qui nulla at quibusdam est dignissimos est harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e21b2677353333fda40000", "id"=>"53e21b2677353333fda50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda40000')} 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('53e21b2677353333fda40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e21b2677353333fda50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms Redirected to http://test.host/products/53e21b2677353333fda40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fda60000'), "name"=>"Jaylan Herzog II", "reference"=>"Jacklyn Morissette", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fda70000'), "author_name"=>"Emmy Armstrong", "content"=>["Omnis est voluptas. Consequuntur sapiente voluptatem necessitatibus omnis officia qui. Numquam qui autem enim rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e21b2677353333fda60000", "id"=>"53e21b2677353333fda70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fda80000'), "name"=>"Demond Smith", "reference"=>"Adrienne Koelpin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fda90000'), "author_name"=>"Caden Mante II", "content"=>["Nihil totam sit architecto iste in quae. Laudantium quis voluptatem odio atque optio sunt. Rerum et sint consequuntur quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5779ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e21b2677353333fda80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fda80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdaa0000'), "name"=>"Gonzalo Becker V", "reference"=>"Emery Mayer", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fdab0000'), "author_name"=>"Moriah Boyer", "content"=>["Est rerum doloribus. Voluptatibus totam voluptate explicabo sed. Aut aspernatur velit nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e21b2677353333fdaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdac0000'), "name"=>"Gina Franecki", "reference"=>"Aurore Stracke", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fdad0000'), "author_name"=>"Tyree Casper", "content"=>["Cupiditate delectus occaecati sapiente debitis possimus rerum perferendis. Sit provident sed. Distinctio dolores et sapiente. Quasi dignissimos veniam sed eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e21b2677353333fdac0000", "id"=>"53e21b2677353333fdad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdae0000'), "name"=>"Liza Cassin", "reference"=>"Beth West", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fdaf0000'), "author_name"=>"Bryon Bailey", "content"=>["Quaerat quis rem dolorum numquam unde ut velit. Nihil sint dicta consequatur autem velit maiores. Corrupti animi id incidunt in rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e21b2677353333fdae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdb00000'), "name"=>"Naomi Champlin", "reference"=>"Rory Dicki DDS", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fdb10000'), "author_name"=>"Dr. Leif Ritchie", "content"=>["Ducimus cupiditate ratione aut. At rerum fugit qui et. Ut quo velit. Nisi rerum iste nihil voluptatem vitae dicta est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e21b2677353333fdb00000", "id"=>"53e21b2677353333fdb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdb20000'), "name"=>"Dr. Waino Sipes", "reference"=>"Vita Batz", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2677353333fdb30000'), "author_name"=>"Noemi Raynor MD", "content"=>["Dolore iusto saepe voluptatum dolorem temporibus. Aut tenetur eos nisi. Quia ut enim consequatur natus. Neque inventore dolor quisquam occaecati dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21b2677353333fdb30000", "product_id"=>"53e21b2677353333fdb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdb20000')} 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('53e21b2677353333fdb20000'), "comments._id"=>BSON::ObjectId('53e21b2677353333fdb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Redirected to http://test.host/products/53e21b2677353333fdb20000/comments/53e21b2677353333fdb30000 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('53e21b2677353333fdb40000'), "firstname"=>"Cecilia", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5391ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2546ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6523ms Redirected to http://test.host/admin/clients/53e21b2677353333fdb50000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2620ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdb60000'), "firstname"=>"Darryl", "lastname"=>"Weber"}] 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.2399ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fdb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms 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.2288ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdb70000'), "firstname"=>"Raheem", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e21b2677353333fdb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) 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('53e21b2677353333fdb80000'), "firstname"=>"Eloy", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53e21b2677353333fdb90000'), "firstname"=>"Elza", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9098ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53e21b2677353333fdba0000'), "firstname"=>"Clark", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e21b2677353333fdba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms 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('53e21b2677353333fdbb0000'), "firstname"=>"Kirk", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e21b2677353333fdbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3067ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Redirected to http://test.host/admin/clients/53e21b2677353333fdbb0000 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('53e21b2677353333fdbc0000'), "firstname"=>"Bettie", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3439ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2105ms Redirected to http://test.host/clients/53e21b2677353333fdbd0000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3172ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdbe0000'), "firstname"=>"London", "lastname"=>"Hansen"}] 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=>"clients", :query=>{}} runtime: 0.1935ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fdbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms 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.2064ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdbf0000'), "firstname"=>"Newell", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e21b2677353333fdbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdbf0000')} 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 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('53e21b2677353333fdc00000'), "firstname"=>"Lloyd", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms 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('53e21b2677353333fdc10000'), "firstname"=>"Michel", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms 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('53e21b2677353333fdc20000'), "firstname"=>"Fae", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e21b2677353333fdc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms 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('53e21b2677353333fdc30000'), "firstname"=>"Fausto", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e21b2677353333fdc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms Redirected to http://test.host/clients/53e21b2677353333fdc30000 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('53e21b2677353333fdc40000'), "name"=>"Denis Feeney", "reference"=>"Eileen Prosacco", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdc50000'), "firstname"=>"Libby", "lastname"=>"Blick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e21b2677353333fdc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc40000')} 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('53e21b2677353333fdc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms Redirected to http://test.host/products/53e21b2677353333fdc40000/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('53e21b2677353333fdc70000'), "name"=>"Garfield Kuhn V", "reference"=>"Libby Beier", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdc80000'), "firstname"=>"Muriel", "lastname"=>"Zboncak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e21b2677353333fdc80000", "product_id"=>"53e21b2677353333fdc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc70000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdc90000'), "name"=>"Freddy Green II", "reference"=>"Mattie Beier", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdca0000'), "firstname"=>"Kianna", "lastname"=>"Walsh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e21b2677353333fdc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdcb0000'), "name"=>"Desiree Kunde", "reference"=>"Newell Herman", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdcc0000'), "firstname"=>"Kendra", "lastname"=>"Beatty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e21b2677353333fdcc0000", "product_id"=>"53e21b2677353333fdcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdcd0000'), "name"=>"Marianne Maggio", "reference"=>"Michele Von", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e21b2677353333fdce0000'), "firstname"=>"Dario", "lastname"=>"Schuppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e21b2677353333fdce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e21b2677353333fdcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms Unpermitted parameters: name Redirected to http://test.host/products/53e21b2677353333fdcd0000/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('53e21b2677353333fdcf0000'), "name"=>"Keira Hickle", "reference"=>"Korbin VonRueden", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd00000'), "name"=>"Kaia Shields", "reference"=>"Mr. Vidal Halvorson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd10000'), "name"=>"Mrs. Patsy Purdy", "reference"=>"Nina Hane", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd20000'), "name"=>"Daron Durgan", "reference"=>"Royal Jenkins", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd30000'), "name"=>"Dallas Kub", "reference"=>"Damaris Schmeler", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd40000'), "name"=>"Kristy West III", "reference"=>"Melody Spinka", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1944ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/products/53e21b2677353333fdd50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2115ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd60000'), "name"=>"Cathy Mante", "reference"=>"Madalyn Heller", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e21b2677353333fdd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms 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.1867ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd70000'), "name"=>"Harrison Leuschke", "reference"=>"Nellie Bednar DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e21b2677353333fdd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2677353333fdd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.5ms) Completed 200 OK in 43ms (Views: 41.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd80000'), "name"=>"Dr. Eden Larkin", "reference"=>"Mrs. Thaddeus Spinka", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215324315103] runtime: 0.1289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2736ms Completed 200 OK in 24ms (Views: 23.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2677353333fdd90000'), "name"=>"Twila O'Kon", "reference"=>"Yasmin Murphy", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215235769541] runtime: 0.1362ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2917ms Completed 200 OK in 20ms (Views: 19.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216125308928] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215713012170] runtime: 0.0822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215935734159] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215588957838] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214946478669] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215683449847] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216352531750] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215840120389] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779268792] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134504730] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216258454601] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216664455610] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215321745628] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215103240020] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216330516949] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216802435919] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215567286054] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215057789500] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215314719414] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215532325146] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216422020452] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214844345266] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215474114017] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215424459530] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215894120882] runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216802406290] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215846750267] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214922913581] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215166920858] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215082534569] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216582581567] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216295846327] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215520605394] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216452489717] runtime: 0.0805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216499143277] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215525521368] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215753307940] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215663371492] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216753111538] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215640659058] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215813331684] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215934138155] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215794556829] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216654205152] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216390060301] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216038342194] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216118241092] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215168737856] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216177562189] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214788875316] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216469225402] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214964653386] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215410166561] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216701501567] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216844603047] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216129507950] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215164448838] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215696663128] runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215485404377] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215065653800] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216591302387] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216800970290] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215340391740] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216802054991] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215552464279] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216497139598] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214881796040] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215742260946] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216765811983] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214999424473] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216516488816] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215834582712] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215711986709] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216875908852] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214961049523] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215844428544] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214846881827] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214863996530] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216364376522] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216799083099] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216796951399] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216357461408] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216145574822] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214967515703] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216344539450] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215926923939] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215432788809] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216265122341] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215160398386] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216259916282] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215444248771] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216030372099] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215513220110] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216016680935] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216088379927] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216035857174] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215428929595] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216278988033] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215071525835] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216036413334] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215272331125] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216361663214] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216547637363] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215150538813] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215549447432] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214889397659] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216510243268] runtime: 0.1247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215900687745] runtime: 0.0715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216504410065] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216343755898] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215139859549] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215480956979] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215214964480] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214863258735] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 35.3808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215886383037] runtime: 0.1394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 4.0579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215751279636] runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216318528467] runtime: 0.0793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216587789906] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216756366708] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216732901489] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216399492408] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215093173969] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215256110393] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215372461224] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215130228419] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216506263836] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216529884000] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215403396409] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215419376581] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216696803759] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216367544472] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215017939588] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215799102392] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216299076202] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215442444039] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216052829674] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216703222481] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215940192385] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216492147088] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215521591129] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216842805760] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216712523979] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216577721208] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215007925559] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215712526458] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215386131319] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214835568332] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215573095024] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215962267663] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216664691264] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215225329205] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216596233258] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214956188457] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215947762231] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215626170531] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216826179439] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216605913430] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215766970965] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216447564344] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215391699560] runtime: 0.0559ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdda0000'), "name"=>"Cassandra Ferry", "reference"=>"Darby Ward", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214894443188] runtime: 0.0879ms Completed 200 OK in 5ms (Views: 1.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fddb0000'), "name"=>"Leland Kerluke", "reference"=>"Jana Schiller", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5077ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e21b2777353333fddb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fddb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6816ms Completed 200 OK in 4ms (Views: 0.4ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fddc0000'), "name"=>"Micaela Sporer", "reference"=>"Vita Brakus", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7142ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 11ms (Views: 8.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdde0000'), "name"=>"Kari Ratke", "reference"=>"Kendall Howe", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6074ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e21b2777353333fdde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4169ms 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('53e21b2777353333fddf0000'), "name"=>"Mrs. Lukas Zemlak", "reference"=>"Ms. Rahsaan Bergstrom", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3114ms 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('53e21b2777353333fde00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Completed 201 Created in 3ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2672ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fde10000'), "name"=>"Reilly Braun", "reference"=>"Hillard Hodkiewicz V", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e21b2777353333fde10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde10000')} 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={"_id"=>BSON::ObjectId('53e21b2777353333fde10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms 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('53e21b2777353333fde20000'), "name"=>"Rosella Pfannerstill IV", "reference"=>"Eldred Swift", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.2735ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fde40000'), "name"=>"Nathanael Hudson", "reference"=>"Hermann Stoltenberg", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e21b2777353333fde40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde40000')} 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('53e21b2777353333fde40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms 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('53e21b2777353333fde50000'), "name"=>"Golda Blick PhD", "reference"=>"Austyn Berge", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e21b2777353333fde50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde50000')} 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('53e21b2777353333fde50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Redirected to http://test.host/products/53e21b2777353333fde50000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fde80000'), "name"=>"Yasmin Flatley", "reference"=>"Kaleigh Collier", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fde60000'), "author_name"=>"Makayla Beahan", "content"=>["Non suscipit necessitatibus totam nam in nemo nobis. Nemo harum dolorum earum ducimus. Nisi dolor vel esse cupiditate dolor iusto. Magnam aliquam iusto cum. Voluptates voluptatum suscipit et sint tenetur assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fde70000'), "author_name"=>"Diamond Monahan", "content"=>["Sapiente beatae illum qui voluptatum commodi molestiae earum. Fuga ratione repellat omnis blanditiis nesciunt dolorem. Quia vitae ut vero. Laudantium officia atque et consectetur. Officia ipsam dignissimos cupiditate aut quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e21b2777353333fde80000", "comment_id"=>"53e21b2777353333fde60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4603ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde80000'), "comments._id"=>BSON::ObjectId('53e21b2777353333fde60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e21b2777353333fde90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6171ms Redirected to http://test.host/products/53e21b2777353333fde80000/comments/53e21b2777353333fde60000/comments/53e21b2777353333fde90000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fde80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdec0000'), "name"=>"Lera Herman Jr.", "reference"=>"Ezra McClure MD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdea0000'), "author_name"=>"Mrs. Clark Parisian", "content"=>["Et repellendus suscipit velit aut voluptatem officia tempore. Et rem ut qui dolor. Consequatur ex quidem. Dolor perspiciatis reprehenderit aliquam maxime recusandae omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdeb0000'), "author_name"=>"Mrs. Jamil Vandervort", "content"=>["Consequatur adipisci aliquam totam accusamus voluptatem et. Ducimus placeat aut quaerat asperiores labore et. Numquam amet aut repudiandae asperiores in odio assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e21b2777353333fdec0000", "comment_id"=>"53e21b2777353333fdea0000", "id"=>"53e21b2777353333fdeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdec0000'), "comments._id"=>BSON::ObjectId('53e21b2777353333fdea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e21b2777353333fdeb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6311ms Redirected to http://test.host/products/53e21b2777353333fdec0000/comments/53e21b2777353333fdea0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdef0000'), "name"=>"Clay Witting", "reference"=>"Zoie Yundt", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fded0000'), "author_name"=>"Alf Waters", "content"=>["Ut hic quibusdam repudiandae qui. Qui aut voluptate modi earum quo. Neque consequatur ea quasi inventore magnam numquam est. Voluptatibus velit vero. Voluptatem omnis aliquid commodi non sed nihil quas."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdee0000'), "author_name"=>"Gracie Douglas", "content"=>["Ullam aut quis eum recusandae itaque in modi. Ut ut sint quam ipsum sint. Explicabo fuga et qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e21b2777353333fdef0000", "comment_id"=>"53e21b2777353333fded0000", "id"=>"53e21b2777353333fdee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 6.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdf20000'), "name"=>"Otis Feest", "reference"=>"June Rosenbaum", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf00000'), "author_name"=>"Alicia Bednar II", "content"=>["Perferendis iure ducimus. Ducimus eos consequatur. Quidem fugit dicta nemo reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf10000'), "author_name"=>"Julio Stoltenberg", "content"=>["Repudiandae itaque aspernatur tempora ut alias velit. Aut molestiae voluptatem cupiditate maiores et ducimus sed. Officia exercitationem tempora. Omnis autem cum voluptatem perferendis odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e21b2777353333fdf20000", "comment_id"=>"53e21b2777353333fdf00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3643ms Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdf50000'), "name"=>"Pearlie Rau", "reference"=>"Coby King", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf30000'), "author_name"=>"Orin Legros", "content"=>["In accusantium saepe quas tempora. Nam quia vitae. Ad deserunt molestiae tempore dolore possimus."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf40000'), "author_name"=>"Marcelo Senger", "content"=>["Quam mollitia sapiente ut ut praesentium. Necessitatibus ipsa cumque rerum ut error. Corrupti aperiam quibusdam nihil recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5984ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e21b2777353333fdf50000", "comment_id"=>"53e21b2777353333fdf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4428ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdf80000'), "name"=>"Jamil Fisher", "reference"=>"Stefan Kemmer DVM", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf60000'), "author_name"=>"Marcus Hirthe", "content"=>["Enim commodi suscipit aspernatur qui qui. Minus iste aspernatur ab. Dolorum minima amet voluptas. Tenetur voluptatem alias. Quo tempore inventore quisquam laboriosam nisi repellendus quam."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf70000'), "author_name"=>"Aurore Murazik", "content"=>["Voluptatem velit esse alias distinctio natus odit. Hic quam illo architecto perspiciatis. Quas velit impedit nesciunt et omnis eos. Quas corporis est cum et aut non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e21b2777353333fdf80000", "comment_id"=>"53e21b2777353333fdf60000", "id"=>"53e21b2777353333fdf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4276ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdfb0000'), "name"=>"Merritt Schinner", "reference"=>"Heidi Dickens IV", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdf90000'), "author_name"=>"Ali Reynolds", "content"=>["Molestiae molestias quibusdam perspiciatis rerum itaque. Eveniet necessitatibus ut et porro deleniti. Aut est temporibus voluptatum accusantium eos."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdfa0000'), "author_name"=>"Ms. Talon Walsh", "content"=>["Numquam sint natus quod nulla rem pariatur velit. Consequatur blanditiis inventore. Quam non sit qui tenetur. Dolore iure impedit in aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5239ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e21b2777353333fdfb0000", "comment_id"=>"53e21b2777353333fdf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdfb0000')} 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.2ms) Completed 200 OK in 7ms (Views: 4.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fdfe0000'), "name"=>"Magnus Hilpert", "reference"=>"Carlos Nicolas", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdfc0000'), "author_name"=>"Dr. Karley Hintz", "content"=>["Exercitationem quia porro ratione sed laboriosam molestiae saepe. Maiores facilis voluptas alias inventore. Reprehenderit distinctio repellat hic. Accusamus iste sint et quisquam."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdfd0000'), "author_name"=>"Derrick Lynch", "content"=>["Tempore qui cupiditate sed voluptates nulla. Doloribus veritatis quod. Debitis ut asperiores vel unde voluptas temporibus sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5519ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e21b2777353333fdfe0000", "comment_id"=>"53e21b2777353333fdfc0000", "id"=>"53e21b2777353333fdfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fdfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fd010100'), "name"=>"Delores Lehner", "reference"=>"Bernie Stracke", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fdff0000'), "author_name"=>"Leilani Padberg", "content"=>["Et enim voluptas rerum eveniet quis. Fugiat et et est laudantium qui. Vero aut eum. Assumenda dolorem eaque architecto molestiae alias cumque ipsum. Dolore consequatur eaque suscipit cupiditate asperiores nisi a."], "comments"=>[{"_id"=>BSON::ObjectId('53e21b2777353333fd000100'), "author_name"=>"Mason Batz", "content"=>["Sed qui eveniet eos rerum ducimus. Distinctio est libero veniam recusandae. Architecto itaque aut qui consectetur repellat. Sit necessitatibus repellat aliquam distinctio quis. Fuga soluta pariatur eius ut commodi quia vero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5359ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e21b2777353333fd000100", "product_id"=>"53e21b2777353333fd010100", "comment_id"=>"53e21b2777353333fdff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fd010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e21b2777353333fd010100'), "comments._id"=>BSON::ObjectId('53e21b2777353333fdff0000'), "comments.0.comments._id"=>BSON::ObjectId('53e21b2777353333fd000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6954ms Redirected to http://test.host/products/53e21b2777353333fd010100/comments/53e21b2777353333fdff0000/comments/53e21b2777353333fd000100 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('53e21b2777353333fd020100'), "firstname"=>"Ezra", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2561ms 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('53e21b2777353333fd030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms Redirected to http://test.host/users/53e21b2777353333fd030100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2958ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fd040100'), "firstname"=>"Nathaniel", "lastname"=>"Homenick"}] 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=>"admin_users", :query=>{}} runtime: 0.2287ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e21b2777353333fd040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2777353333fd040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2777353333fd040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms 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.2311ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fd050100'), "firstname"=>"Seth", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e21b2777353333fd050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2777353333fd050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53e21b2777353333fd060100'), "firstname"=>"Wilhelm", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2409ms 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.6872ms Completed 200 OK in 13ms (Views: 11.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fd070100'), "firstname"=>"Dina", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms 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.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e21b2777353333fd080100'), "firstname"=>"Lafayette", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e21b2777353333fd080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2777353333fd080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms 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('53e21b2777353333fd090100'), "firstname"=>"Velva", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e21b2777353333fd090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e21b2777353333fd090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Unpermitted parameters: name Redirected to http://test.host/users/53e21b2777353333fd090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.5447ms 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.6438ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 37.9809ms 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: 1.0689ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5401ms 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.7425ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6000000'), "firstname"=>"Emmanuelle", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5173ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3069ms 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('53e74fd777353302c6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms 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.3645ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6020000'), "firstname"=>"Icie", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e74fd777353302c6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3565ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (42.8ms) Completed 200 OK in 152ms (Views: 150.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6030000'), "firstname"=>"Queen", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7825ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 10ms (Views: 8.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6040000'), "firstname"=>"Lisa", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7097ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e74fd777353302c6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4624ms Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6050000'), "firstname"=>"Cooper", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.5913ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e74fd777353302c6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5073ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6060000'), "name"=>"Branson Howell", "reference"=>"Abe Lowe", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c6070000'), "author_name"=>"Horace Sanford", "content"=>["Odit nesciunt saepe est id alias. Molestiae itaque dolores et. Enim quis illo magnam ab non id fugiat. Consectetur atque enim. Deleniti voluptatem ea quibusdam ad exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e74fd777353302c6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e74fd777353302c6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Redirected to http://test.host/admin/products/53e74fd777353302c6060000/comments/53e74fd777353302c6080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4347ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6090000'), "name"=>"Abdul Dickens", "reference"=>"Grace Dare DDS", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c60a0000'), "author_name"=>"Woodrow Kirlin", "content"=>["Vel quasi est et delectus exercitationem. Possimus perspiciatis minus molestias ipsa consequuntur voluptatem blanditiis. Itaque quidem recusandae. Officiis unde ea non distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e74fd777353302c6090000", "id"=>"53e74fd777353302c60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4292ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e74fd777353302c60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6279ms Redirected to http://test.host/admin/products/53e74fd777353302c6090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c60b0000'), "name"=>"Mattie Watsica", "reference"=>"Imogene Luettgen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c60c0000'), "author_name"=>"Dr. Torrey Raynor", "content"=>["Suscipit sunt cum aperiam. Est ducimus aut exercitationem corporis. Ea fuga minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e74fd777353302c60b0000", "id"=>"53e74fd777353302c60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4628ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 10ms (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('53e74fd777353302c60d0000'), "name"=>"Ivory Bartell PhD", "reference"=>"Jannie Johns", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c60e0000'), "author_name"=>"Mallie Halvorson MD", "content"=>["Sunt mollitia deleniti autem omnis. Aut dolor voluptatibus earum rerum occaecati. Earum laborum dolorum unde quisquam sunt. Voluptas molestias deleniti quia et placeat dolorem error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e74fd777353302c60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c60f0000'), "name"=>"Brayan Ward", "reference"=>"Chris Paucek", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c6100000'), "author_name"=>"Miss Donny Abbott", "content"=>["Vero ut earum qui perferendis. Nihil optio quibusdam occaecati. Doloribus aut consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6053ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e74fd777353302c60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4427ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6110000'), "name"=>"Jose Reichert", "reference"=>"Robb Shanahan", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c6120000'), "author_name"=>"Clemens Zboncak", "content"=>["Et maxime sit. Voluptas odio sapiente eos. Quisquam eaque voluptate culpa et. Eum molestiae rerum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e74fd777353302c6110000", "id"=>"53e74fd777353302c6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6130000'), "name"=>"Bertha Cassin", "reference"=>"Elmer Gleichner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd777353302c6140000'), "author_name"=>"Mr. Marina Yost", "content"=>["Quo veniam laborum. Excepturi non et similique provident. Tempore esse illum tempora sit minus aut nihil. Ipsa laudantium odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e74fd777353302c6140000", "product_id"=>"53e74fd777353302c6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6130000'), "comments._id"=>BSON::ObjectId('53e74fd777353302c6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms Redirected to http://test.host/admin/products/53e74fd777353302c6130000/comments/53e74fd777353302c6140000 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('53e74fd777353302c6150000'), "name"=>"Peter Kerluke III", "reference"=>"Maximilian Von", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c6160000'), "firstname"=>"Crystel", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e74fd777353302c6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5028ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Redirected to http://test.host/admin/products/53e74fd777353302c6150000/manager Completed 302 Found in 11ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6180000'), "name"=>"Amira Grant", "reference"=>"Dave Brakus", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c6190000'), "firstname"=>"Kayley", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e74fd777353302c6190000", "product_id"=>"53e74fd777353302c6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c61a0000'), "name"=>"Davion Leffler", "reference"=>"Jermey Bogan", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c61b0000'), "firstname"=>"Arvilla", "lastname"=>"Pfannerstill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e74fd777353302c61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c61a0000')} 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.0ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c61c0000'), "name"=>"Marion Prohaska MD", "reference"=>"Mrs. Samantha Koss", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c61d0000'), "firstname"=>"Rhea", "lastname"=>"Cruickshank"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e74fd777353302c61d0000", "product_id"=>"53e74fd777353302c61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c61e0000'), "name"=>"Emma Doyle PhD", "reference"=>"Karine Lesch", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e74fd777353302c61f0000'), "firstname"=>"D'angelo", "lastname"=>"Muller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e74fd777353302c61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e74fd777353302c61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e74fd777353302c61e0000/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('53e74fd777353302c6200000'), "name"=>"Collin Harvey", "reference"=>"Velma Gibson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6714ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3514ms 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('53e74fd777353302c6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5193ms Redirected to http://test.host/admin/products/53e74fd777353302c6210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3339ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6220000'), "name"=>"Mr. Anna Olson", "reference"=>"Maureen Russel II", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4702ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2638ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e74fd777353302c6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms 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.2620ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6230000'), "name"=>"Miss Reynold Collier", "reference"=>"Reta Bailey", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e74fd777353302c6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6240000'), "name"=>"Shanie Schiller", "reference"=>"Trent Jenkins", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms 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.5628ms Completed 200 OK in 12ms (Views: 11.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6250000'), "name"=>"Gilda Osinski", "reference"=>"Carlee Stehr", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms 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: 5.0ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6280000'), "name"=>"Mr. Mabel Abbott", "reference"=>"Liliana Kihn", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e74fd777353302c6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms 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('53e74fd777353302c6290000'), "name"=>"Ally Bahringer", "reference"=>"Lourdes Prosacco", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e74fd777353302c6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3834ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd777353302c6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5146ms Redirected to http://test.host/admin/products/53e74fd777353302c6290000 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('53e74fd777353302c62a0000'), "firstname"=>"Coralie", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2109ms 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('53e74fd777353302c62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Redirected to http://test.host/admin/users/53e74fd777353302c62b0000 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('53e74fd777353302c62c0000'), "firstname"=>"Alejandrin", "lastname"=>"Simonis"}] 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=>"admin_users", :query=>{}} runtime: 0.1899ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e74fd777353302c62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd777353302c62c0000')} 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('53e74fd777353302c62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms 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.1659ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c62d0000'), "firstname"=>"Otto", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e74fd777353302c62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd777353302c62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms 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('53e74fd777353302c62e0000'), "firstname"=>"Syble", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms 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.2611ms 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('53e74fd777353302c62f0000'), "firstname"=>"Evalyn", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6300000'), "firstname"=>"Davin", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e74fd777353302c6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd777353302c6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6310000'), "firstname"=>"Aglae", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5287ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e74fd777353302c6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd777353302c6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e74fd777353302c6310000 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('53e74fd777353302c6320000'), "firstname"=>"Genoveva", "lastname"=>"Price"}] 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=>"administrators", :query=>{}} runtime: 0.2157ms 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('53e74fd777353302c6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms 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.2014ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6340000'), "firstname"=>"Miles", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e74fd777353302c6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6350000'), "firstname"=>"Savannah", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms 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.0ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6360000'), "firstname"=>"Ivah", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e74fd777353302c6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6370000'), "firstname"=>"Della", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e74fd777353302c6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e74fd777353302c6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6380000'), "name"=>"Faye Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6390000'), "name"=>"Mr. Colt Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63a0000'), "name"=>"Ms. Creola Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63b0000'), "name"=>"Ubaldo Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63c0000'), "name"=>"Mr. Reanna Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63d0000'), "name"=>"Jeramy Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63e0000'), "name"=>"Patsy Greenfelder I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c63f0000'), "name"=>"Ava Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6400000'), "name"=>"Ellie McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6410000'), "name"=>"Lucile Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6420000'), "name"=>"Mr. Bernadine Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6430000'), "name"=>"Theresia Osinski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6440000'), "name"=>"Kaleb Moore Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6450000'), "name"=>"Hans Emmerich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6460000'), "name"=>"Theodora Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6470000'), "name"=>"Sonia Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6480000'), "name"=>"Eva Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6490000'), "name"=>"Kathlyn Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64a0000'), "name"=>"Herta Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64b0000'), "name"=>"Claudia Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64c0000'), "name"=>"Alex Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64d0000'), "name"=>"Lambert Walter Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64e0000'), "name"=>"Helga Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c64f0000'), "name"=>"Edward Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6500000'), "name"=>"Sister Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6510000'), "name"=>"Lola Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6520000'), "name"=>"Lowell Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6530000'), "name"=>"Stephon Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6540000'), "name"=>"Lea Reichel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6550000'), "name"=>"Emilio Rippin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6560000'), "name"=>"Cale Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6570000'), "name"=>"Everett Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6580000'), "name"=>"Dr. Creola Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6590000'), "name"=>"Laverne Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65a0000'), "name"=>"Santos Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65b0000'), "name"=>"Thurman Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65c0000'), "name"=>"Hermina Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65d0000'), "name"=>"Leann Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65e0000'), "name"=>"Amaya Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c65f0000'), "name"=>"Aida Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6600000'), "name"=>"Lorenza Rosenbaum Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6610000'), "name"=>"Elva Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6620000'), "name"=>"Beatrice Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6630000'), "name"=>"Jack Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6640000'), "name"=>"Magdalena Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6650000'), "name"=>"Macey Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6660000'), "name"=>"Ms. Chaz Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6670000'), "name"=>"Nathaniel Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6680000'), "name"=>"Marlene Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6690000'), "name"=>"Ms. Kevon Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66a0000'), "name"=>"Deshaun Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66b0000'), "name"=>"Dudley Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66c0000'), "name"=>"Mrs. Marcelle Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66d0000'), "name"=>"Kamryn Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66e0000'), "name"=>"Myrl Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c66f0000'), "name"=>"Kathleen Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6700000'), "name"=>"Ignacio Connelly PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6710000'), "name"=>"Evalyn Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1084ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6720000'), "name"=>"Al Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6730000'), "name"=>"Brandyn Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6740000'), "name"=>"Miss Jayne Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6750000'), "name"=>"Laurianne Konopelski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6760000'), "name"=>"Macey Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6770000'), "name"=>"Murray Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6780000'), "name"=>"Jayce McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6790000'), "name"=>"Dwight Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67a0000'), "name"=>"Friedrich Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67b0000'), "name"=>"Mrs. Sheldon Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67c0000'), "name"=>"Cassie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67d0000'), "name"=>"Amira McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67e0000'), "name"=>"Hope Sanford IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c67f0000'), "name"=>"Ms. Marlon Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6800000'), "name"=>"Sibyl O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6810000'), "name"=>"Wallace Bogan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6820000'), "name"=>"Mariela Larkin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6830000'), "name"=>"Annalise Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6840000'), "name"=>"Jannie Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6850000'), "name"=>"Marquise Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6860000'), "name"=>"Miss Brown Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6870000'), "name"=>"Lonny Frami I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6880000'), "name"=>"Golda Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6890000'), "name"=>"Mrs. Clifford Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68a0000'), "name"=>"Lisandro Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1086ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68b0000'), "name"=>"Kaitlyn Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68c0000'), "name"=>"Nicolas Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.6138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68d0000'), "name"=>"Kellie Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68e0000'), "name"=>"Harmony Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c68f0000'), "name"=>"Yoshiko Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6900000'), "name"=>"Flo Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6910000'), "name"=>"Miss Karson Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6920000'), "name"=>"Ms. Heath Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6930000'), "name"=>"Mohamed Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6940000'), "name"=>"Miss Stephon Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6950000'), "name"=>"Roger Hessel Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6960000'), "name"=>"Jesus Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6970000'), "name"=>"Rubie Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1560ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms Redirected to http://test.host/categories/53e74fd777353302c6980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1849ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c6990000'), "name"=>"Miss Bret Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1747ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e74fd777353302c6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd777353302c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd777353302c6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1617ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c69a0000'), "name"=>"Newton Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e74fd777353302c69a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd777353302c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c69b0000'), "name"=>"Mrs. Christa Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240665981515] runtime: 0.0766ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1846ms Completed 200 OK in 15ms (Views: 14.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c69c0000'), "name"=>"Kiarra Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241327487946] runtime: 0.0683ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1650ms Completed 200 OK in 8ms (Views: 7.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd777353302c69d0000'), "name"=>"Allie Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd777353302c69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.3ms) Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c69f0000'), "name"=>"Efren Hegmann"}] 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={"category_id"=>BSON::ObjectId('53e74fd877353302c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e74fd877353302c69f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd877353302c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd877353302c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6a00000'), "name"=>"Ms. Trace Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd877353302c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e74fd877353302c6a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e74fd877353302c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms Redirected to http://test.host/categories/53e74fd877353302c6a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6a10000'), "name"=>"Mrs. Germaine Roberts", "reference"=>"Katelin Bogan", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6a20000'), "author_name"=>"Ms. Beth Ritchie", "content"=>["Doloremque repudiandae eaque est consequatur delectus vel iusto. Corporis aut enim eligendi occaecati iusto sed. Dolores recusandae nihil aliquid nulla id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e74fd877353302c6a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms Redirected to http://test.host/products/53e74fd877353302c6a10000/comments/53e74fd877353302c6a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6a40000'), "name"=>"Branson Cronin", "reference"=>"Mae Yundt IV", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6a50000'), "author_name"=>"Stanford Purdy", "content"=>["Cumque ut temporibus quia impedit consequuntur occaecati officia. Aut non aut qui. Eum delectus assumenda sed sint hic ut. Quae sunt et unde aut. Consequuntur quia optio doloremque qui quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e74fd877353302c6a40000", "id"=>"53e74fd877353302c6a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a40000')} 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('53e74fd877353302c6a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/products/53e74fd877353302c6a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6a60000'), "name"=>"Timmothy Gerhold III", "reference"=>"Garth Reynolds", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6a70000'), "author_name"=>"Alberta Altenwerth IV", "content"=>["Veritatis aut eius consequatur deleniti libero voluptatum eaque. Odio est est omnis qui aut. Qui consequatur autem est. Asperiores et possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e74fd877353302c6a60000", "id"=>"53e74fd877353302c6a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a60000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6a80000'), "name"=>"Norval Fadel", "reference"=>"Mrs. Garth Hoeger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6a90000'), "author_name"=>"Weldon Abernathy Sr.", "content"=>["Totam neque quisquam minima. Facere quis aperiam non. Doloribus animi non harum recusandae aperiam. Rerum voluptatem debitis voluptatem soluta. Eaque rerum dolorem assumenda fuga sint id corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e74fd877353302c6a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6aa0000'), "name"=>"Jacquelyn Schuster", "reference"=>"Xander Nolan", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ab0000'), "author_name"=>"Annabel Glover", "content"=>["Rerum molestias nam id error aut. Possimus officiis quae harum quia a et. Alias est velit repudiandae porro ad. Quia est rerum natus soluta dolore. Rerum non facilis qui quisquam magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e74fd877353302c6aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6ac0000'), "name"=>"Brain Torp DDS", "reference"=>"Layla Mohr", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ad0000'), "author_name"=>"Misael Vandervort", "content"=>["Sint occaecati sapiente est sunt repellendus et molestias. Nihil iste nihil minima beatae consequatur. Praesentium blanditiis aut consequuntur nemo ipsam. Ipsa veniam quaerat eaque magnam odit. Officia atque nemo omnis exercitationem dolores ullam sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e74fd877353302c6ac0000", "id"=>"53e74fd877353302c6ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6ae0000'), "name"=>"Abdul Dibbert", "reference"=>"Austin Tromp", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6af0000'), "author_name"=>"Shea McClure V", "content"=>["Temporibus ipsa odio quam a dolorem eligendi. Vero quasi quaerat iure totam eaque veniam voluptate. Ea minima quo ut voluptas. Id deleniti nihil soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e74fd877353302c6ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b00000'), "name"=>"Moises Carroll", "reference"=>"Abagail Kunze", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6b10000'), "author_name"=>"Sophia Prohaska", "content"=>["Quia nihil quos. Consequatur fugit velit qui velit dolores. Similique saepe fuga ut perspiciatis rerum. Architecto eius ad ea non repellat. Assumenda libero ut ratione praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4136ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e74fd877353302c6b00000", "id"=>"53e74fd877353302c6b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b20000'), "name"=>"Dianna Zulauf", "reference"=>"Bobby Quitzon", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6b30000'), "author_name"=>"Meggie Kuhlman DVM", "content"=>["Cum magni qui nemo ratione. Veniam ea autem sequi aliquid cum sit. Culpa qui magni reiciendis asperiores sed possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e74fd877353302c6b30000", "product_id"=>"53e74fd877353302c6b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6b20000')} 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('53e74fd877353302c6b20000'), "comments._id"=>BSON::ObjectId('53e74fd877353302c6b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Redirected to http://test.host/products/53e74fd877353302c6b20000/comments/53e74fd877353302c6b30000 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('53e74fd877353302c6b40000'), "firstname"=>"Frances", "lastname"=>"Rath"}] 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=>"clients", :query=>{}} runtime: 0.1656ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Redirected to http://test.host/admin/clients/53e74fd877353302c6b50000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b60000'), "firstname"=>"Jerod", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms 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"=>"53e74fd877353302c6b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms 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.1377ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b70000'), "firstname"=>"Jarrell", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e74fd877353302c6b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6b80000'), "firstname"=>"Otilia", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms 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('53e74fd877353302c6b90000'), "firstname"=>"Hertha", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6ba0000'), "firstname"=>"Gayle", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e74fd877353302c6ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6bb0000'), "firstname"=>"Kelli", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e74fd877353302c6bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Redirected to http://test.host/admin/clients/53e74fd877353302c6bb0000 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('53e74fd877353302c6bc0000'), "firstname"=>"Asia", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms 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('53e74fd877353302c6bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Redirected to http://test.host/clients/53e74fd877353302c6bd0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1661ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6be0000'), "firstname"=>"Kaylee", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1554ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e74fd877353302c6be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6be0000')} 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.1472ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6bf0000'), "firstname"=>"Curt", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e74fd877353302c6bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) 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('53e74fd877353302c6c00000'), "firstname"=>"Orlando", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms 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('53e74fd877353302c6c10000'), "firstname"=>"Linnea", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms 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('53e74fd877353302c6c20000'), "firstname"=>"Alta", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e74fd877353302c6c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms 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('53e74fd877353302c6c30000'), "firstname"=>"Haven", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e74fd877353302c6c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms Redirected to http://test.host/clients/53e74fd877353302c6c30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6c40000'), "name"=>"Mr. Elnora Crooks", "reference"=>"Ismael Mosciski", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6c50000'), "firstname"=>"Stewart", "lastname"=>"Dickinson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e74fd877353302c6c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms Redirected to http://test.host/products/53e74fd877353302c6c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6c70000'), "name"=>"Hettie Williamson", "reference"=>"Nayeli Johnson", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6c80000'), "firstname"=>"Manley", "lastname"=>"Eichmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e74fd877353302c6c80000", "product_id"=>"53e74fd877353302c6c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6c90000'), "name"=>"Corbin Bednar", "reference"=>"Mary Witting", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6ca0000'), "firstname"=>"Cloyd", "lastname"=>"Crooks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e74fd877353302c6c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6cb0000'), "name"=>"Hugh Ledner DDS", "reference"=>"Delores Lehner", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6cc0000'), "firstname"=>"Daphney", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e74fd877353302c6cc0000", "product_id"=>"53e74fd877353302c6cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6cd0000'), "name"=>"Dr. Cali Metz", "reference"=>"Arthur Franecki", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6ce0000'), "firstname"=>"Alden", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e74fd877353302c6ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e74fd877353302c6cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms Unpermitted parameters: name Redirected to http://test.host/products/53e74fd877353302c6cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6cf0000'), "name"=>"Sarai Leffler III", "reference"=>"Finn Luettgen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d00000'), "name"=>"Deven Jacobi", "reference"=>"Pamela Boyle", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d10000'), "name"=>"Ms. Lennie Erdman", "reference"=>"Abner Herzog V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d20000'), "name"=>"Taurean Legros", "reference"=>"Alessandro Smith", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d30000'), "name"=>"Ciara Hamill", "reference"=>"Jammie Hagenes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d40000'), "name"=>"Ms. Josefa Hamill", "reference"=>"Cristopher Strosin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1427ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms Redirected to http://test.host/products/53e74fd877353302c6d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1594ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d60000'), "name"=>"Aaron Tillman", "reference"=>"Rudolph Wintheiser", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1378ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e74fd877353302c6d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms 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.1380ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d70000'), "name"=>"Gabriella Schmitt", "reference"=>"Mrs. Kris Bernhard", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e74fd877353302c6d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.7ms) Completed 200 OK in 42ms (Views: 41.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d80000'), "name"=>"Kristin Rowe", "reference"=>"Daphney Franecki", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216072644779] runtime: 0.0848ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2205ms Completed 200 OK in 17ms (Views: 16.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6d90000'), "name"=>"Amira Grant IV", "reference"=>"Esmeralda Jaskolski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216729954798] runtime: 0.0818ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1861ms Completed 200 OK in 15ms (Views: 14.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214871964427] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216002502744] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216683164187] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215278040646] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214899299100] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215947063355] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216331063460] runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215553162542] runtime: 0.0924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215292554302] runtime: 0.0917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214971593568] runtime: 0.0903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215225717085] runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214975680176] runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216105213283] runtime: 0.0877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215494308139] runtime: 0.0863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216108233921] runtime: 0.0763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215698180446] runtime: 0.0753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216510496747] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214939559049] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215653298904] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215200766657] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216029284051] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216563983101] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215418059600] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216802102398] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214807097918] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216107505529] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215339816498] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215108854872] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215141545227] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216100098432] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216715848934] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216810608754] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215121706249] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215679726480] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216526687194] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215989347935] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216263340701] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216736421303] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215156203897] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215041767729] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215530306009] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216321573712] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215769736568] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215648249508] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215805576312] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215967588107] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216683722819] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216356988554] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216877009162] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216504029786] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215781664301] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216611799779] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215113514706] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216219912626] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215328959207] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215763186317] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215625101054] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215492692573] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215426421027] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214955533881] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215676620626] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214892766343] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216661151742] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215967811433] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215286742961] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214957693032] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216499706662] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216271277388] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215599373010] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215048043957] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216410648259] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215147831360] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215022618529] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215211696394] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215356536524] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215966703467] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216378768406] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216531784840] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216059004571] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214945606964] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214832393494] runtime: 0.0689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214914453930] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216064615443] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215970662628] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216302630516] runtime: 0.0747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216492431179] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216716407642] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215089055999] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216512334740] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216152360948] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215979571704] runtime: 0.0767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215437003099] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216362786629] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215981712465] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215108205024] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216397048580] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215506751550] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216892135461] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214764770180] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215916708948] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215681325374] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216675166616] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216349323828] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860831913] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215017809768] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216227682456] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216407964859] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215740085531] runtime: 0.0986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216094957879] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216570256383] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216184945778] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 36.6998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216674365296] runtime: 0.1238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215718163143] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215089651234] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215859999542] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216155841505] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214847584400] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139288705] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214772449896] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216659137231] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215746824475] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216217220402] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215462265193] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216823389341] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216262773090] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216532075133] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215462953047] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215349476140] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216252098861] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215923018446] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215503482657] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216099814646] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214751895435] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216228442361] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216434436088] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216345267533] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214988064932] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216500522604] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214894126142] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215316546752] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216418968823] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216721381959] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214807187742] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215615909482] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215637147703] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216628031245] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216880056691] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215257398790] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215206968707] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215287318755] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215408711938] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216885146849] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215659816748] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215148210645] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215545722404] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216005080201] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215254192190] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216342415790] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215909065724] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215555249260] runtime: 0.0544ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6da0000'), "name"=>"Elmore Larson", "reference"=>"Angelita Reichert Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215227766257] runtime: 0.0662ms Completed 200 OK in 4ms (Views: 1.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6db0000'), "name"=>"Vance Schuppe PhD", "reference"=>"Elroy Runte", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e74fd877353302c6db0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6db0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms 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('53e74fd877353302c6dc0000'), "name"=>"Mr. Orie Stiedemann", "reference"=>"Keven Gutkowski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6de0000'), "name"=>"Ms. Leora Hilll", "reference"=>"Roberto Gerlach", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e74fd877353302c6de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6df0000'), "name"=>"Harry Glover II", "reference"=>"Wilson Towne II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1687ms 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('53e74fd877353302c6e00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1869ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6e10000'), "name"=>"Seth Medhurst", "reference"=>"Hardy Mills", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e74fd877353302c6e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms 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('53e74fd877353302c6e20000'), "name"=>"Sonya Weber", "reference"=>"Kiel Spencer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms 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('53e74fd877353302c6e40000'), "name"=>"Leanne Christiansen", "reference"=>"Miss Devyn Fritsch", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e74fd877353302c6e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms 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('53e74fd877353302c6e50000'), "name"=>"Josiane Morissette II", "reference"=>"Mittie Trantow", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e74fd877353302c6e50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms Redirected to http://test.host/products/53e74fd877353302c6e50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6e80000'), "name"=>"Emily Kling", "reference"=>"Felix Lubowitz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6e60000'), "author_name"=>"Celestine Morissette", "content"=>["Rerum eos accusantium consequatur consequuntur blanditiis distinctio. Minima nulla dolorem aliquid odio non. Unde omnis quas optio quo est. Sit porro quas tenetur reprehenderit exercitationem et modi. Animi quo nihil voluptates officiis architecto autem corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6e70000'), "author_name"=>"Louisa Runolfsson", "content"=>["Perferendis ab quae fugit expedita et explicabo. Aliquam maxime architecto distinctio voluptatem ut dolor perspiciatis. Ex vero sed magnam minus eum. Non nam explicabo vel. Amet itaque odit et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e74fd877353302c6e80000", "comment_id"=>"53e74fd877353302c6e60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e80000'), "comments._id"=>BSON::ObjectId('53e74fd877353302c6e60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6e90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.6448ms Redirected to http://test.host/products/53e74fd877353302c6e80000/comments/53e74fd877353302c6e60000/comments/53e74fd877353302c6e90000 Completed 302 Found in 21ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6ec0000'), "name"=>"Kurt Hessel", "reference"=>"Sigrid Howell", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ea0000'), "author_name"=>"Weston McClure IV", "content"=>["Ipsa fugiat minus voluptatem ea natus ex. Tempora corporis et rerum nam. Voluptatem magnam est et eum."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6eb0000'), "author_name"=>"Elwyn Conn", "content"=>["Voluptas est ipsa recusandae eum illum officiis. Ut qui modi. Sit assumenda quo consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e74fd877353302c6ec0000", "comment_id"=>"53e74fd877353302c6ea0000", "id"=>"53e74fd877353302c6eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ec0000'), "comments._id"=>BSON::ObjectId('53e74fd877353302c6ea0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e74fd877353302c6eb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms Redirected to http://test.host/products/53e74fd877353302c6ec0000/comments/53e74fd877353302c6ea0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6ef0000'), "name"=>"Savanna Kirlin", "reference"=>"Therese Johnson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ed0000'), "author_name"=>"Trever Bailey MD", "content"=>["Non est quaerat vel voluptatem. Sint alias sapiente et ut ea enim. Dolor delectus nobis et molestiae id."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ee0000'), "author_name"=>"Prudence Johnson", "content"=>["Iure placeat modi illum ea pariatur beatae ullam. Laboriosam sit ut molestias dolorum. Expedita praesentium minus sed accusamus ut quo dicta. Voluptatem sit id ut perferendis maxime sed mollitia. Ea earum dolore voluptatibus expedita amet ipsum harum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e74fd877353302c6ef0000", "comment_id"=>"53e74fd877353302c6ed0000", "id"=>"53e74fd877353302c6ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6f20000'), "name"=>"Mr. Erica Wuckert", "reference"=>"Bulah O'Conner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f00000'), "author_name"=>"Camron Schoen", "content"=>["Dolorem nulla unde. Et modi ratione doloremque. Illum quia occaecati provident unde et quia quis."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f10000'), "author_name"=>"Ms. Bert Hyatt", "content"=>["Molestiae natus saepe deleniti. Dolorum deserunt saepe occaecati error. Dicta iure aliquid quo. Nostrum dolor et aspernatur qui sit temporibus et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e74fd877353302c6f20000", "comment_id"=>"53e74fd877353302c6f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6f50000'), "name"=>"Tabitha Dibbert", "reference"=>"Oral Cassin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f30000'), "author_name"=>"Palma Kulas", "content"=>["Rerum adipisci ut exercitationem. Commodi sint sapiente voluptatibus a quia exercitationem molestias. Eius quia corrupti esse est dolorem doloribus. Voluptatem non doloribus dolorum harum qui quaerat saepe."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f40000'), "author_name"=>"Cameron Erdman", "content"=>["Tenetur quas sint velit nam non. Occaecati omnis fugiat perferendis aut. Aut vero aspernatur laudantium dolor quaerat aperiam corrupti. Quos voluptatem nam consequatur fuga. Sint quas esse odio voluptatem et velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0773ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e74fd877353302c6f50000", "comment_id"=>"53e74fd877353302c6f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6f80000'), "name"=>"Vance Rogahn I", "reference"=>"Ms. Karianne Swaniawski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f60000'), "author_name"=>"Michele Okuneva", "content"=>["Aperiam nihil quisquam nulla cumque ut ipsa. Praesentium non nesciunt ipsa. Totam laboriosam enim cum."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f70000'), "author_name"=>"Adrian Kris", "content"=>["Et quam nobis exercitationem laboriosam. Et excepturi qui praesentium vel nobis rerum explicabo. Ut neque tenetur laudantium veniam quidem asperiores sint. Minima eius praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e74fd877353302c6f80000", "comment_id"=>"53e74fd877353302c6f60000", "id"=>"53e74fd877353302c6f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6fb0000'), "name"=>"Dell Feil", "reference"=>"Mr. Geovany Gleichner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6f90000'), "author_name"=>"Anissa Cronin", "content"=>["Error eveniet molestiae ipsa fugiat. Dolorum quasi aut quo odit magnam sapiente. Animi incidunt omnis laborum sed quasi. Nam pariatur et quis."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6fa0000'), "author_name"=>"Caleb Hayes", "content"=>["Aut id quae corrupti est corporis aspernatur reiciendis. Nemo quaerat dolorem. Facilis similique et quam. Aut officiis dolores quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e74fd877353302c6fb0000", "comment_id"=>"53e74fd877353302c6f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6fe0000'), "name"=>"Mr. Casandra Mohr", "reference"=>"Davon Collins", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6fc0000'), "author_name"=>"Jany Spencer III", "content"=>["Alias dolor recusandae mollitia reprehenderit fugiat. Recusandae eligendi qui a. Eius deleniti quidem magni molestiae saepe sit rerum. Sit ullam est ea quisquam itaque soluta accusamus."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6fd0000'), "author_name"=>"Ms. Alexandro Smith", "content"=>["Dolorem repellat dignissimos. Qui et soluta necessitatibus et. Fuga aut iusto officiis et sit doloremque. Eaque nemo molestiae aut assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7275ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e74fd877353302c6fe0000", "comment_id"=>"53e74fd877353302c6fc0000", "id"=>"53e74fd877353302c6fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6010100'), "name"=>"Maci Hodkiewicz I", "reference"=>"King Considine DVM", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6ff0000'), "author_name"=>"Alan McCullough", "content"=>["Neque at laboriosam est ea voluptatum. Dolor occaecati tempore saepe. Omnis aliquam praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('53e74fd877353302c6000100'), "author_name"=>"Holly Kohler PhD", "content"=>["Quia et est. Repudiandae repellendus ut. Aliquid quia eum rerum iure quos corporis. Quis dolor expedita quasi iure sit repellat hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e74fd877353302c6000100", "product_id"=>"53e74fd877353302c6010100", "comment_id"=>"53e74fd877353302c6ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e74fd877353302c6010100'), "comments._id"=>BSON::ObjectId('53e74fd877353302c6ff0000'), "comments.0.comments._id"=>BSON::ObjectId('53e74fd877353302c6000100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Redirected to http://test.host/products/53e74fd877353302c6010100/comments/53e74fd877353302c6ff0000/comments/53e74fd877353302c6000100 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('53e74fd877353302c6020100'), "firstname"=>"Vincenza", "lastname"=>"Littel"}] 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.2149ms 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('53e74fd877353302c6030100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Redirected to http://test.host/users/53e74fd877353302c6030100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1683ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6040100'), "firstname"=>"Elsie", "lastname"=>"Walsh"}] 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=>"admin_users", :query=>{}} runtime: 0.1880ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e74fd877353302c6040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd877353302c6040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd877353302c6040100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms 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.1422ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6050100'), "firstname"=>"Wilfredo", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e74fd877353302c6050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd877353302c6050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6060100'), "firstname"=>"Westley", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms 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.3085ms Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6070100'), "firstname"=>"Zack", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms 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.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6080100'), "firstname"=>"Daniela", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e74fd877353302c6080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd877353302c6080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms Completed 200 OK in 3ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e74fd877353302c6090100'), "firstname"=>"Aiyana", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e74fd877353302c6090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e74fd877353302c6090100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms Unpermitted parameters: name Redirected to http://test.host/users/53e74fd877353302c6090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6093ms 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.5982ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6591ms 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.5462ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7442ms 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.5451ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d177353303c6000000'), "firstname"=>"Carley", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6741ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3950ms 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('53e751d177353303c6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms 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.3605ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d177353303c6020000'), "firstname"=>"Alivia", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e751d177353303c6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d177353303c6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5339ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 21ms (Views: 19.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d177353303c6030000'), "firstname"=>"Jena", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5953ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d177353303c6040000'), "firstname"=>"Jayson", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8756ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e751d177353303c6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d177353303c6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4679ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d177353303c6050000'), "firstname"=>"Yessenia", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5277ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e751d177353303c6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d177353303c6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms 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('53e751d277353303c6060000'), "name"=>"Eladio Lebsack PhD", "reference"=>"Liliane Boyer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6070000'), "author_name"=>"Kristofer Veum Sr.", "content"=>["Ut dolor perspiciatis id deserunt maiores necessitatibus qui. Maiores rem cupiditate velit itaque similique. Pariatur ad debitis quam rerum sed qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751d277353303c6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4475ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751d277353303c6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms Redirected to http://test.host/admin/products/53e751d277353303c6060000/comments/53e751d277353303c6080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4295ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6090000'), "name"=>"Iva Reinger", "reference"=>"Edythe Pfannerstill", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c60a0000'), "author_name"=>"Ms. Colleen Tremblay", "content"=>["Modi ut necessitatibus officiis vel quia enim. Tempora modi minima. Suscipit doloribus placeat et eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4062ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e751d277353303c6090000", "id"=>"53e751d277353303c60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751d277353303c60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms Redirected to http://test.host/admin/products/53e751d277353303c6090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c60b0000'), "name"=>"Citlalli Ullrich", "reference"=>"Ethan Luettgen", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c60c0000'), "author_name"=>"Elyssa Rolfson MD", "content"=>["Id debitis laborum. Tenetur omnis et ea sit molestias omnis in. Accusantium facilis aut alias voluptate qui aut amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e751d277353303c60b0000", "id"=>"53e751d277353303c60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c60d0000'), "name"=>"Laury Reinger", "reference"=>"Jamie Stehr", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c60e0000'), "author_name"=>"Frederic Kreiger II", "content"=>["Laboriosam rerum assumenda culpa distinctio sit aut placeat. Est ut ipsa voluptatem eveniet error voluptas deleniti. Tempore sit amet a vel. Quam voluptatem harum iusto molestiae magni tempora dolorem. Aut perferendis fuga corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6083ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e751d277353303c60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3903ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c60f0000'), "name"=>"Ryann Volkman", "reference"=>"Lance Reilly", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6100000'), "author_name"=>"Jake Beer", "content"=>["Saepe assumenda est corrupti in rerum quo. Fugit occaecati non quos nobis. Fuga velit et suscipit et error expedita. Quos corporis est aut voluptatum. Atque molestias aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5760ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e751d277353303c60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3951ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6110000'), "name"=>"Kraig Klocko", "reference"=>"Ephraim Grimes", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6120000'), "author_name"=>"Ms. Allene Ziemann", "content"=>["Sed in minus quia quia sit aut consequatur. Alias assumenda delectus. Sit cumque nesciunt. Consectetur commodi in eum id doloremque animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e751d277353303c6110000", "id"=>"53e751d277353303c6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6130000'), "name"=>"Lenora Labadie", "reference"=>"Adele Bernier", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6140000'), "author_name"=>"Merl O'Kon", "content"=>["Enim quas et blanditiis sit ad tenetur mollitia. Labore iste vel commodi et aut. Consequuntur et quia deserunt id. Quis quia accusantium quia illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751d277353303c6140000", "product_id"=>"53e751d277353303c6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6130000'), "comments._id"=>BSON::ObjectId('53e751d277353303c6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms Redirected to http://test.host/admin/products/53e751d277353303c6130000/comments/53e751d277353303c6140000 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('53e751d277353303c6150000'), "name"=>"Alessandro Buckridge", "reference"=>"Lauriane Metz", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c6160000'), "firstname"=>"Nigel", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4784ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e751d277353303c6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Redirected to http://test.host/admin/products/53e751d277353303c6150000/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('53e751d277353303c6180000'), "name"=>"Lamont Hammes", "reference"=>"Marjory Sauer", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c6190000'), "firstname"=>"Terrence", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e751d277353303c6190000", "product_id"=>"53e751d277353303c6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6180000')} 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.8ms) Completed 200 OK in 8ms (Views: 6.0ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c61a0000'), "name"=>"Teagan Davis I", "reference"=>"Jillian Wisoky", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c61b0000'), "firstname"=>"Assunta", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e751d277353303c61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c61c0000'), "name"=>"Arvel Hahn", "reference"=>"Coleman Gorczany", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c61d0000'), "firstname"=>"Mohammad", "lastname"=>"Erdman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e751d277353303c61d0000", "product_id"=>"53e751d277353303c61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c61e0000'), "name"=>"Keith Kunze", "reference"=>"Rickie Bartoletti", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e751d277353303c61f0000'), "firstname"=>"Raymundo", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4975ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e751d277353303c61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e751d277353303c61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e751d277353303c61e0000/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('53e751d277353303c6200000'), "name"=>"Sylvia Lubowitz", "reference"=>"Stanley Wehner DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6013ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3445ms 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('53e751d277353303c6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms Redirected to http://test.host/admin/products/53e751d277353303c6210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3300ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6220000'), "name"=>"Everardo Rau", "reference"=>"Norwood Abernathy Sr.", "quantity"=>3}] 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.2908ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e751d277353303c6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6220000')} 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={"_id"=>BSON::ObjectId('53e751d277353303c6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms 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.1842ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6230000'), "name"=>"Camren Ullrich", "reference"=>"Mercedes Greenholt", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e751d277353303c6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6230000')} 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.5ms) Completed 200 OK in 8ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6240000'), "name"=>"Dr. Turner Turner", "reference"=>"Gordon Stamm", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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.4791ms Completed 200 OK in 11ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6250000'), "name"=>"Pinkie Hayes", "reference"=>"Cameron Nienow DDS", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 19ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6280000'), "name"=>"Dante Greenholt", "reference"=>"Bennett Schneider PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e751d277353303c6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms 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('53e751d277353303c6290000'), "name"=>"Lavinia Gerhold", "reference"=>"Mathias Stiedemann", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751d277353303c6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms Redirected to http://test.host/admin/products/53e751d277353303c6290000 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('53e751d277353303c62a0000'), "firstname"=>"Kade", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2594ms 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('53e751d277353303c62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms Redirected to http://test.host/admin/users/53e751d277353303c62b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1956ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d277353303c62c0000'), "firstname"=>"Murray", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2971ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e751d277353303c62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d277353303c62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d277353303c62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms 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('53e751d277353303c62d0000'), "firstname"=>"Nicklaus", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e751d277353303c62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d277353303c62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d277353303c62e0000'), "firstname"=>"Kyler", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms 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.2976ms 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('53e751d277353303c62f0000'), "firstname"=>"Kylee", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6300000'), "firstname"=>"Donald", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e751d277353303c6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d277353303c6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6310000'), "firstname"=>"Melyssa", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e751d277353303c6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d277353303c6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e751d277353303c6310000 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('53e751d277353303c6320000'), "firstname"=>"Naomi", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1743ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3274ms 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('53e751d277353303c6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms 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.1921ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6340000'), "firstname"=>"Tierra", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e751d277353303c6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d277353303c6340000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6350000'), "firstname"=>"Antonia", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6360000'), "firstname"=>"Heidi", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e751d277353303c6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d277353303c6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6370000'), "firstname"=>"Larissa", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e751d277353303c6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751d277353303c6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6380000'), "name"=>"Shakira Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6390000'), "name"=>"Oscar Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63a0000'), "name"=>"Mozell Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63b0000'), "name"=>"Kris Klocko II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63c0000'), "name"=>"Mr. Tatum Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63d0000'), "name"=>"Mekhi Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63e0000'), "name"=>"Elenor Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c63f0000'), "name"=>"Nora Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6400000'), "name"=>"Ruby Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6410000'), "name"=>"Ms. Agustin Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6420000'), "name"=>"Adelbert Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6430000'), "name"=>"Gustave Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6440000'), "name"=>"Harley Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6450000'), "name"=>"Domenic Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6460000'), "name"=>"Sienna Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6470000'), "name"=>"Humberto Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6480000'), "name"=>"Arvid Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6490000'), "name"=>"Pasquale Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64a0000'), "name"=>"Ibrahim Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64b0000'), "name"=>"Mr. Boyd Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64c0000'), "name"=>"Christina Wuckert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64d0000'), "name"=>"Ernie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64e0000'), "name"=>"Darius Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c64f0000'), "name"=>"Dane Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6500000'), "name"=>"Krystina Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6510000'), "name"=>"Ms. Janessa Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6520000'), "name"=>"Eliseo Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6530000'), "name"=>"Ned Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6540000'), "name"=>"Lucienne Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6550000'), "name"=>"Sterling Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6560000'), "name"=>"Mauricio Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6570000'), "name"=>"Hans Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6580000'), "name"=>"Dominique Schumm I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6590000'), "name"=>"June Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65a0000'), "name"=>"Jaydon Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65b0000'), "name"=>"Norberto Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65c0000'), "name"=>"Ms. Waldo Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65d0000'), "name"=>"Madyson Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65e0000'), "name"=>"Mrs. Karolann Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c65f0000'), "name"=>"Vergie Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6600000'), "name"=>"Ms. Virgie Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6610000'), "name"=>"Ursula Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6620000'), "name"=>"Lilla Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6630000'), "name"=>"Dusty Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6640000'), "name"=>"Erika Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6650000'), "name"=>"Rhett Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6660000'), "name"=>"Kelsie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6670000'), "name"=>"Hollie Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6680000'), "name"=>"Kennedy Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6690000'), "name"=>"Hoyt Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66a0000'), "name"=>"Charlene Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66b0000'), "name"=>"August Quitzon IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66c0000'), "name"=>"Jadyn Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66d0000'), "name"=>"Favian Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66e0000'), "name"=>"Stephanie Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c66f0000'), "name"=>"Edd Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6700000'), "name"=>"Miss Vivienne Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6710000'), "name"=>"Hollie Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6720000'), "name"=>"Zakary Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6730000'), "name"=>"Ida Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6740000'), "name"=>"Mrs. Kirsten Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6750000'), "name"=>"River McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6760000'), "name"=>"Elliot Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6770000'), "name"=>"Joanne Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6780000'), "name"=>"Amanda Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6790000'), "name"=>"Alf Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67a0000'), "name"=>"Vada Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67b0000'), "name"=>"Janis Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67c0000'), "name"=>"Deion Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67d0000'), "name"=>"Ms. Zion Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67e0000'), "name"=>"Josie Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c67f0000'), "name"=>"Ms. Wilber Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6800000'), "name"=>"Mya Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6810000'), "name"=>"Jacinto Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6820000'), "name"=>"Alessia Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6830000'), "name"=>"Mr. Remington Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6840000'), "name"=>"Araceli Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1978ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6850000'), "name"=>"Anne Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6860000'), "name"=>"Ms. Jailyn Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6870000'), "name"=>"Aditya Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6880000'), "name"=>"Edna Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6890000'), "name"=>"Mertie Schumm V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68a0000'), "name"=>"Ludwig Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1956ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68b0000'), "name"=>"Paula Muller MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68c0000'), "name"=>"Genesis Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68d0000'), "name"=>"Daron Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68e0000'), "name"=>"Mavis Muller III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c68f0000'), "name"=>"Ms. Sofia Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6900000'), "name"=>"Mr. Mozelle Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6910000'), "name"=>"Louie Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6920000'), "name"=>"Evie Mueller Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6930000'), "name"=>"Emmalee Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6940000'), "name"=>"Tina Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6950000'), "name"=>"Ms. Uriel Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6960000'), "name"=>"Jannie Towne Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6970000'), "name"=>"Isac Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1875ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms Redirected to http://test.host/categories/53e751d277353303c6980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2239ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6990000'), "name"=>"Oliver Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2063ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1997ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e751d277353303c6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2006ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c69a0000'), "name"=>"Arely Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e751d277353303c69a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69a0000')} 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.9ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c69b0000'), "name"=>"Kylee Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241616839147] runtime: 0.0746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2100ms Completed 200 OK in 16ms (Views: 14.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c69c0000'), "name"=>"Mr. Aditya Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240734253692] runtime: 0.0665ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1919ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c69d0000'), "name"=>"Reece Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c69f0000'), "name"=>"Evie Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e751d277353303c69f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6a00000'), "name"=>"Shanon Herman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e751d277353303c6a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751d277353303c6a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751d277353303c6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms Redirected to http://test.host/categories/53e751d277353303c6a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6a10000'), "name"=>"Leilani Marquardt", "reference"=>"Sonia Moore", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6a20000'), "author_name"=>"Arlo Nikolaus", "content"=>["Aperiam consequatur numquam ea dolor. Beatae provident possimus minus illum mollitia doloribus rerum. Molestiae ut repellat sequi reiciendis ratione dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.4350ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751d277353303c6a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751d277353303c6a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Redirected to http://test.host/products/53e751d277353303c6a10000/comments/53e751d277353303c6a30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6a40000'), "name"=>"Mia Johnson", "reference"=>"Vena Upton V", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6a50000'), "author_name"=>"Alexis Abbott", "content"=>["Est dolores natus. Laboriosam accusamus consequatur eius similique dolorem sint quos. Incidunt sit cupiditate veniam id magni non non. Consequuntur repellat dolore unde vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e751d277353303c6a40000", "id"=>"53e751d277353303c6a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a40000')} 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('53e751d277353303c6a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751d277353303c6a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms Redirected to http://test.host/products/53e751d277353303c6a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6a60000'), "name"=>"Kailyn Mante", "reference"=>"Miss Doris Jenkins", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6a70000'), "author_name"=>"Makenna Zboncak", "content"=>["Harum delectus ut veritatis. Aut fuga deleniti sit. A praesentium voluptatibus. Perspiciatis et eius sunt hic dolores et. Consectetur consequatur temporibus dolorem et in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e751d277353303c6a60000", "id"=>"53e751d277353303c6a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.7ms) Completed 200 OK in 45ms (Views: 42.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6a80000'), "name"=>"Jermain Beahan", "reference"=>"Haylie Spinka", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6a90000'), "author_name"=>"Ora Hand", "content"=>["Autem expedita quidem deserunt quis quo. Aspernatur non voluptatem quasi. Veniam voluptatem est aspernatur aperiam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e751d277353303c6a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6aa0000'), "name"=>"Brennon Hermiston III", "reference"=>"Dr. Kaylee Ratke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6ab0000'), "author_name"=>"Chelsea Anderson", "content"=>["Nihil enim quae dolorem repellendus architecto. In fugit ea. Est omnis explicabo. Eveniet tempore voluptate ratione excepturi. Consequatur perferendis eos quia quas modi totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5706ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e751d277353303c6aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6ac0000'), "name"=>"Ulices Effertz", "reference"=>"Alfreda Beier", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6ad0000'), "author_name"=>"Gunner Sipes", "content"=>["Voluptatum debitis qui repudiandae cupiditate. A error qui. Nihil ut minima ut eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e751d277353303c6ac0000", "id"=>"53e751d277353303c6ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6ae0000'), "name"=>"Shanny Becker", "reference"=>"Katelynn Koepp", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6af0000'), "author_name"=>"Carroll Erdman", "content"=>["Fuga sed earum rem doloremque facilis non. Sit suscipit nisi doloribus. At quia maiores totam corrupti dolores. Veritatis eligendi assumenda tenetur blanditiis. Quos minima repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e751d277353303c6ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6ae0000')} 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.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6b00000'), "name"=>"Samantha VonRueden", "reference"=>"Clementina Durgan", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6b10000'), "author_name"=>"Jeffery Ullrich I", "content"=>["Quo alias autem beatae cupiditate pariatur cumque. Ut ullam laboriosam illo necessitatibus et perspiciatis. Culpa minus eos quia laudantium natus et quis. Velit consequuntur dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e751d277353303c6b00000", "id"=>"53e751d277353303c6b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6b20000'), "name"=>"Randi Beatty", "reference"=>"Sydni Haley", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751d277353303c6b30000'), "author_name"=>"Aliya Runte PhD", "content"=>["Vel iusto voluptatum nostrum deserunt aliquam incidunt error. Vero est voluptatem. Aut illo voluptatum eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751d277353303c6b30000", "product_id"=>"53e751d277353303c6b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d277353303c6b20000'), "comments._id"=>BSON::ObjectId('53e751d277353303c6b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Redirected to http://test.host/products/53e751d277353303c6b20000/comments/53e751d277353303c6b30000 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('53e751d277353303c6b40000'), "firstname"=>"Ivy", "lastname"=>"Shanahan"}] 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.2385ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms Redirected to http://test.host/admin/clients/53e751d277353303c6b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2209ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6b60000'), "firstname"=>"Corrine", "lastname"=>"Lowe"}] 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=>"clients", :query=>{}} runtime: 0.2045ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e751d277353303c6b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms 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.1982ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6b70000'), "firstname"=>"King", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e751d277353303c6b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6b70000')} 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.3ms) 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('53e751d277353303c6b80000'), "firstname"=>"Isidro", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3457ms 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('53e751d277353303c6b90000'), "firstname"=>"Jamel", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5699ms 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.7ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6ba0000'), "firstname"=>"Andreanne", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e751d277353303c6ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms 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('53e751d277353303c6bb0000'), "firstname"=>"Annabel", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e751d277353303c6bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms Redirected to http://test.host/admin/clients/53e751d277353303c6bb0000 Completed 302 Found in 35ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6bc0000'), "firstname"=>"Dora", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1895ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d277353303c6bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms Redirected to http://test.host/clients/53e751d277353303c6bd0000 Completed 302 Found in 5ms 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('53e751d277353303c6be0000'), "firstname"=>"Clair", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1788ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e751d277353303c6be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6be0000')} 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 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('53e751d277353303c6bf0000'), "firstname"=>"Pearlie", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e751d277353303c6bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d277353303c6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms 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('53e751d277353303c6c00000'), "firstname"=>"Saige", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms Completed 200 OK in 9ms (Views: 8.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6c10000'), "firstname"=>"Don", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6c20000'), "firstname"=>"Royal", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e751d377353303c6c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d377353303c6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6c30000'), "firstname"=>"Samir", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0544ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e751d377353303c6c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751d377353303c6c30000')} 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('53e751d377353303c6c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Redirected to http://test.host/clients/53e751d377353303c6c30000 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('53e751d377353303c6c40000'), "name"=>"Ms. Mandy Bosco", "reference"=>"Mya Labadie Sr.", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6c50000'), "firstname"=>"Maxime", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e751d377353303c6c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms Redirected to http://test.host/products/53e751d377353303c6c40000/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('53e751d377353303c6c70000'), "name"=>"Alize Reynolds DDS", "reference"=>"Maximilian Herman", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6c80000'), "firstname"=>"Pasquale", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e751d377353303c6c80000", "product_id"=>"53e751d377353303c6c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6c90000'), "name"=>"Marielle Parisian II", "reference"=>"Lorna Rutherford III", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6ca0000'), "firstname"=>"Mellie", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e751d377353303c6c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6cb0000'), "name"=>"Novella Hickle Sr.", "reference"=>"Meda Bergstrom", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6cc0000'), "firstname"=>"Paolo", "lastname"=>"Monahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e751d377353303c6cc0000", "product_id"=>"53e751d377353303c6cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6cd0000'), "name"=>"Dr. Holly Hansen", "reference"=>"Curt Welch", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e751d377353303c6ce0000'), "firstname"=>"Cristal", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e751d377353303c6ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e751d377353303c6cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Unpermitted parameters: name Redirected to http://test.host/products/53e751d377353303c6cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6cf0000'), "name"=>"Edmund Beer", "reference"=>"Sedrick Kuhic", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d00000'), "name"=>"Miss Charley Schmitt", "reference"=>"Mabel Howe", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d10000'), "name"=>"Mrs. Anibal Weber", "reference"=>"Mr. Titus Gorczany", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d20000'), "name"=>"Miss Elyssa Carter", "reference"=>"Miss Sammy Lind", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d30000'), "name"=>"Karen Abernathy", "reference"=>"Ocie Hilll", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d40000'), "name"=>"Ms. Angeline Cormier", "reference"=>"Burnice Emard", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1640ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms Redirected to http://test.host/products/53e751d377353303c6d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2462ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d60000'), "name"=>"Nasir Stracke", "reference"=>"Giovani Leuschke MD", "quantity"=>6}] 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.1858ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e751d377353303c6d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 36.8985ms Redirected to http://test.host/products Completed 302 Found in 39ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3024ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d70000'), "name"=>"Emerald Torphy", "reference"=>"Ms. Bernita Sawayn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e751d377353303c6d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (42.8ms) Completed 200 OK in 49ms (Views: 47.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d80000'), "name"=>"Randal Nolan", "reference"=>"Jacinto Cruickshank", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216251523572] runtime: 0.1189ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2523ms Completed 200 OK in 19ms (Views: 18.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6d90000'), "name"=>"German Heathcote", "reference"=>"Alvena Lemke", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6da0000'), "name"=>"HelloWorld", "reference"=>"Ms. Jana Ondricka", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6db0000'), "name"=>"value", "reference"=>"Camilla Hegmann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms Processing by ProductsController#index as HTML Parameters: {"search_term"=>"name", "search_value"=>"HelloWorld"} Completed 500 Internal Server Error in 3ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6dc0000'), "name"=>"Kyla Sporer", "reference"=>"Eliseo Windler", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216553707576] runtime: 0.1182ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2431ms Completed 200 OK in 17ms (Views: 16.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216439757395] runtime: 0.0753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215275288485] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216801829501] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215630131089] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215476906321] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216726464134] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215364965581] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216450418147] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215471574589] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216451698318] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215918598159] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215912501513] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216022947134] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215156904049] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216344228693] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214759508646] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216635031272] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216249447119] runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214988777198] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216341914296] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216638510321] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215081516769] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215840262498] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779675546] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214870808600] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215564681830] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215387947784] runtime: 0.0810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 35.3663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215301099020] runtime: 0.1166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215907770002] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215651229541] runtime: 0.0862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215118224852] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216245302135] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215743142220] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216725029623] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215813608612] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216129223415] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215581771915] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215680758387] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214841006929] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215390060692] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216652643400] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215288273057] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214905131238] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215498689145] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216269705498] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214883918270] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215788724090] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215369953281] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215035515067] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215917468343] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216618804279] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215548468577] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215517317220] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215026406859] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216447440626] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215582315694] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215983910036] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215589065894] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216789263953] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215271398831] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216652731026] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216307188000] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214885364674] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216653764301] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215065545903] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214749802258] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216291489969] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215910148477] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216519497665] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215710124190] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216038555829] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214969367765] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215048277486] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216045773044] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215684571779] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216282118715] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215972545413] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216313796911] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214778458495] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214806260127] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214889671135] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215314746908] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216792744850] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215259898535] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216748429926] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215901241394] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215098465637] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215256083715] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215321225487] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215376169833] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215800778644] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215714535029] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215602998553] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216018802925] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216335235105] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215490603192] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216427286595] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215200109084] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215122376144] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215435438025] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215311792860] runtime: 0.0852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216151011584] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215054494422] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216262855415] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215512701113] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216159387321] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215832102774] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215570083680] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216558875350] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215075677860] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216504070293] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216707568526] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216065499970] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216060533616] runtime: 0.0972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214904630139] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215910666940] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214825775781] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214841574621] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216628460708] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215010677419] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215239590368] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216536745529] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216451104018] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216867622108] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216345905783] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214987400935] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216780693279] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216675732299] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215118584914] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215233611817] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216683624076] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214943011007] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216542965266] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215086321253] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216182290363] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216655923778] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216357240216] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216585521127] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216772128707] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216604924815] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215198556799] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216644264253] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214893512425] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215301624017] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216603117611] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134077966] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215424866742] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215417256181] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215337050165] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215389146541] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216444059636] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216071666291] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215408897173] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216671998262] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216790019336] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215671917615] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215166104607] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215435704276] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215417243311] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216676047695] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216284110784] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215609739826] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215174699465] runtime: 0.0600ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6dd0000'), "name"=>"Kimberly Fritsch V", "reference"=>"Cullen Welch", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216276600264] runtime: 0.0802ms 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('53e751d377353303c6de0000'), "name"=>"Ms. Jevon Friesen", "reference"=>"Angie Maggio", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e751d377353303c6de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms 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('53e751d377353303c6df0000'), "name"=>"Wilhelmine Cummings", "reference"=>"Jaylin McKenzie", "quantity"=>1}] 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/iord/_form.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6e10000'), "name"=>"Claudie Murphy I", "reference"=>"Selena Mosciski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e751d377353303c6e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms Completed 200 OK in 4ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6e20000'), "name"=>"Mrs. Art Schowalter", "reference"=>"Amelie Kovacek", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1674ms 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('53e751d377353303c6e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1910ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6e40000'), "name"=>"Ofelia Cronin", "reference"=>"Dr. Shaniya Hane", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e751d377353303c6e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6e40000')} 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('53e751d377353303c6e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms 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('53e751d377353303c6e50000'), "name"=>"Imani Durgan", "reference"=>"Colten Stanton", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms 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('53e751d377353303c6e70000'), "name"=>"Jane Windler", "reference"=>"Mustafa Ledner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.8185ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751d377353303c6e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms 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('53e751d377353303c6e80000'), "name"=>"Dallin Huels", "reference"=>"Mrs. Virginie Turcotte", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751d377353303c6e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6e80000')} 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('53e751d377353303c6e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Redirected to http://test.host/products/53e751d377353303c6e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6eb0000'), "name"=>"Cielo Dooley", "reference"=>"Eliezer Nikolaus", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6e90000'), "author_name"=>"Mrs. Laurine Hagenes", "content"=>["Expedita corporis et eaque a sit cum. Vel rerum ut in illum. Illo facilis voluptate cum quis aperiam excepturi pariatur. Voluptatem recusandae voluptates vel."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6ea0000'), "author_name"=>"Marisol Mosciski PhD", "content"=>["Ipsam hic est unde non. Est enim et. Deleniti aspernatur quis natus ab ut. Vel facere officia voluptatem laudantium ea. Natus provident vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751d377353303c6eb0000", "comment_id"=>"53e751d377353303c6e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6eb0000')} 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('53e751d377353303c6eb0000'), "comments._id"=>BSON::ObjectId('53e751d377353303c6e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e751d377353303c6ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms Redirected to http://test.host/products/53e751d377353303c6eb0000/comments/53e751d377353303c6e90000/comments/53e751d377353303c6ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6ef0000'), "name"=>"Micaela White", "reference"=>"Sofia Leffler", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6ed0000'), "author_name"=>"Rosalia Oberbrunner", "content"=>["Quasi voluptatem quis. Accusantium est ea enim aliquam. Nobis repellat aut saepe vero. Molestias expedita quo repellendus exercitationem aperiam qui enim. Quis similique accusamus."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6ee0000'), "author_name"=>"Mr. Jaydon Hamill", "content"=>["Enim totam ut adipisci ut perspiciatis dolore. Sed est sit et voluptatem. Tempore quia sed. Voluptas repellendus voluptates sint. Libero molestias rem recusandae voluptas incidunt dolor omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e751d377353303c6ef0000", "comment_id"=>"53e751d377353303c6ed0000", "id"=>"53e751d377353303c6ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6ef0000'), "comments._id"=>BSON::ObjectId('53e751d377353303c6ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e751d377353303c6ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Redirected to http://test.host/products/53e751d377353303c6ef0000/comments/53e751d377353303c6ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6f20000'), "name"=>"Mrs. Jerrod Brekke", "reference"=>"Ms. Marcellus Prohaska", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f00000'), "author_name"=>"Lauren Kuphal", "content"=>["Repellendus autem ut tempore ad quia aspernatur voluptatem. Magni ut ratione. Esse pariatur maiores ut enim sunt impedit. Minima repellendus voluptate voluptates et quis et quis."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f10000'), "author_name"=>"Tyshawn Runolfsson", "content"=>["Dolor et voluptates ad odio deleniti magni. Et sed dolores voluptatum qui occaecati. Nam quia molestiae facilis. Possimus voluptatem dolorem voluptatibus aut ea necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e751d377353303c6f20000", "comment_id"=>"53e751d377353303c6f00000", "id"=>"53e751d377353303c6f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6f50000'), "name"=>"Otilia Littel", "reference"=>"Noemie Johnston DVM", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f30000'), "author_name"=>"Ms. Brooks Paucek", "content"=>["Iste repellat quasi odit nostrum. Et deserunt itaque qui quo porro corrupti qui. Sunt qui delectus nam ut blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f40000'), "author_name"=>"Ewell Grimes PhD", "content"=>["Autem rerum et maiores. Eos non sit. Enim qui a explicabo modi mollitia. Eaque doloribus ut totam. Optio sit praesentium dolorem enim officiis vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e751d377353303c6f50000", "comment_id"=>"53e751d377353303c6f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6f80000'), "name"=>"Dr. Royce Maggio", "reference"=>"Chelsie Bartell", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f60000'), "author_name"=>"Laverna Effertz", "content"=>["Nihil corporis voluptatem sit dolorum. Quia architecto aut. Consequatur sint omnis esse optio non. Quo laboriosam dolore recusandae molestias. Veniam qui modi nobis ratione et."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f70000'), "author_name"=>"Miles Rippin", "content"=>["Est temporibus vitae odio cum ullam quidem. Expedita saepe dolorum nihil alias assumenda. Aut ad quibusdam minus libero."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e751d377353303c6f80000", "comment_id"=>"53e751d377353303c6f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6fb0000'), "name"=>"Jena Schamberger", "reference"=>"Marvin Feest DDS", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6f90000'), "author_name"=>"Roosevelt Heathcote Sr.", "content"=>["Ab doloremque qui. Iusto autem est dolorem nam. Suscipit magnam repellendus voluptas voluptatem. Cupiditate illum dicta. Expedita tempore odit blanditiis ea quod qui cumque."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6fa0000'), "author_name"=>"Ellis Kautzer", "content"=>["Consequatur aperiam fugiat. Amet nam quis vel architecto. Nihil sed iusto. Quos autem consequuntur dolores. Error quasi sed mollitia suscipit nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e751d377353303c6fb0000", "comment_id"=>"53e751d377353303c6f90000", "id"=>"53e751d377353303c6fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6fe0000'), "name"=>"Anastasia Kautzer", "reference"=>"Benjamin Flatley", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6fc0000'), "author_name"=>"Miss Rhoda Hermann", "content"=>["Odio voluptate et sit sed est. Vitae reprehenderit magni ut. Deserunt labore qui rerum ut animi accusamus. Aliquam iste eum fuga et. Eum est alias nihil omnis minima atque molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6fd0000'), "author_name"=>"Alva Langworth", "content"=>["Est voluptatem tempora. Nobis et libero dignissimos nulla quia et minima. Aut pariatur eos. Harum qui facere at saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4702ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e751d377353303c6fe0000", "comment_id"=>"53e751d377353303c6fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6fe0000')} 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.2ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6010100'), "name"=>"Ernestina Cronin", "reference"=>"Mr. Seth Upton", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6ff0000'), "author_name"=>"William Klocko", "content"=>["Id incidunt possimus nisi totam placeat. Cupiditate autem rem temporibus dignissimos. Saepe id aliquid aut."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6000100'), "author_name"=>"Faustino MacGyver", "content"=>["Facere nostrum voluptatibus beatae accusantium saepe. Voluptatum minus sit vero exercitationem. Quam dignissimos beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e751d377353303c6010100", "comment_id"=>"53e751d377353303c6ff0000", "id"=>"53e751d377353303c6000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms Completed 200 OK in 6ms (Views: 3.4ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6040100'), "name"=>"Lavonne Schuster", "reference"=>"Miguel Bayer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6020100'), "author_name"=>"Ms. Johnson Emmerich", "content"=>["In placeat quasi. Autem ipsa earum nemo. Reprehenderit qui voluptas doloribus dolores qui voluptates. Et ut est molestiae quod praesentium officiis. Reiciendis voluptas dignissimos nihil dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53e751d377353303c6030100'), "author_name"=>"Bridie Turcotte", "content"=>["Dicta vero explicabo. Assumenda aspernatur et dolorum atque autem est. Saepe non qui ipsa architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751d377353303c6030100", "product_id"=>"53e751d377353303c6040100", "comment_id"=>"53e751d377353303c6020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751d377353303c6040100')} 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('53e751d377353303c6040100'), "comments._id"=>BSON::ObjectId('53e751d377353303c6020100'), "comments.0.comments._id"=>BSON::ObjectId('53e751d377353303c6030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Redirected to http://test.host/products/53e751d377353303c6040100/comments/53e751d377353303c6020100/comments/53e751d377353303c6030100 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('53e751d377353303c6050100'), "firstname"=>"Nicole", "lastname"=>"Grimes"}] 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.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('53e751d377353303c6060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Redirected to http://test.host/users/53e751d377353303c6060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1925ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6070100'), "firstname"=>"Easter", "lastname"=>"Fahey"}] 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.1728ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e751d377353303c6070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d377353303c6070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d377353303c6070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms 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.1621ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6080100'), "firstname"=>"Rocio", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e751d377353303c6080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d377353303c6080100')} 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) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c6090100'), "firstname"=>"Nyasia", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms 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.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c60a0100'), "firstname"=>"Cecil", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c60b0100'), "firstname"=>"Corene", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e751d377353303c60b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d377353303c60b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Completed 200 OK in 4ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751d377353303c60c0100'), "firstname"=>"Elmore", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.5561ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e751d377353303c60c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751d377353303c60c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Unpermitted parameters: name Redirected to http://test.host/users/53e751d377353303c60c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms 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.2489ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms 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.2353ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms 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.1982ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e17735330406000000'), "firstname"=>"Joshuah", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5859ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2028ms 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('53e751e17735330406010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms 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.2372ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e17735330406020000'), "firstname"=>"Pedro", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e751e17735330406020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e17735330406020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e17735330406030000'), "firstname"=>"Aileen", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.9981ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e17735330406040000'), "firstname"=>"Brenna", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e751e17735330406040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e17735330406040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e17735330406050000'), "firstname"=>"Darryl", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e751e17735330406050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e17735330406050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms 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('53e751e17735330406060000'), "name"=>"Brianne Thompson", "reference"=>"Damaris Feil", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e751e17735330406070000'), "author_name"=>"Troy Koepp V", "content"=>["Officiis ullam veniam. Nam ea pariatur et dicta et laudantium qui. Autem accusantium est illo earum sint totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751e17735330406060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751e17735330406080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms Redirected to http://test.host/admin/products/53e751e17735330406060000/comments/53e751e17735330406080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e17735330406090000'), "name"=>"Maria Kutch", "reference"=>"Brady Bradtke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751e177353304060a0000'), "author_name"=>"Alena Rau", "content"=>["Aut non cum. Rerum eum consequatur officia maxime accusamus dolorem est. Libero et aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e751e17735330406090000", "id"=>"53e751e177353304060a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406090000')} 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('53e751e17735330406090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751e177353304060a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms Redirected to http://test.host/admin/products/53e751e17735330406090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e17735330406090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e177353304060b0000'), "name"=>"Dedrick Hermann", "reference"=>"Nannie Bergnaum", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e177353304060c0000'), "author_name"=>"Joshua Bradtke", "content"=>["Perferendis fugit fuga ut ipsam et quis quod. Labore excepturi nam voluptates incidunt itaque non est. Itaque alias laborum voluptatum ducimus praesentium aspernatur harum. Accusantium corporis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e751e177353304060b0000", "id"=>"53e751e177353304060c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e177353304060b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e177353304060d0000'), "name"=>"Verna Kuhn", "reference"=>"Tito Hermiston", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e751e177353304060e0000'), "author_name"=>"Miss Carlee Schmidt", "content"=>["Quos nobis veritatis quidem reiciendis occaecati rem. Excepturi numquam quis nisi dicta autem. Perferendis earum tempora. Numquam praesentium nihil voluptatibus eos occaecati. Consequatur dolores consequatur ipsam rerum deleniti aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8166ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e751e177353304060d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e177353304060d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e277353304060f0000'), "name"=>"Norma Kling", "reference"=>"Harrison Haag DDS", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406100000'), "author_name"=>"Chaya Emard", "content"=>["Ut excepturi modi ab. Quasi quibusdam reiciendis ut doloribus in. Quia earum molestiae assumenda cupiditate voluptatibus voluptatum. Corrupti aperiam provident molestiae. Totam corrupti pariatur cum dolor inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e751e277353304060f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e277353304060f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406110000'), "name"=>"Ms. Norma Nader", "reference"=>"Alicia Hickle", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406120000'), "author_name"=>"Ms. Cesar Bruen", "content"=>["Pariatur nam cum delectus est similique fuga. Alias modi magni. Doloremque aperiam culpa quia commodi. Illum eos cumque aspernatur blanditiis quam doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e751e27735330406110000", "id"=>"53e751e27735330406120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406130000'), "name"=>"Allie Brekke", "reference"=>"Theodora Schneider", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406140000'), "author_name"=>"Mr. Ruben Hintz", "content"=>["Reprehenderit molestiae aut ad dolorem. Aut provident quas. Corrupti nihil sit enim quae maiores. Temporibus eum maiores et velit nobis autem. Praesentium aut non architecto quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751e27735330406140000", "product_id"=>"53e751e27735330406130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406130000')} 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('53e751e27735330406130000'), "comments._id"=>BSON::ObjectId('53e751e27735330406140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Redirected to http://test.host/admin/products/53e751e27735330406130000/comments/53e751e27735330406140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406150000'), "name"=>"Chasity Abbott", "reference"=>"Larue Kertzmann", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406160000'), "firstname"=>"Marquise", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e751e27735330406150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406150000')} 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('53e751e27735330406150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms Redirected to http://test.host/admin/products/53e751e27735330406150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406180000'), "name"=>"Dr. David Upton", "reference"=>"Elda Buckridge", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406190000'), "firstname"=>"Noe", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e751e27735330406190000", "product_id"=>"53e751e27735330406180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e277353304061a0000'), "name"=>"Reid Wunsch", "reference"=>"Esperanza Labadie", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e751e277353304061b0000'), "firstname"=>"Dejuan", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e751e277353304061a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e277353304061a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e277353304061c0000'), "name"=>"Ms. Jimmie Beatty", "reference"=>"Jessy Kerluke", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e751e277353304061d0000'), "firstname"=>"Fletcher", "lastname"=>"Satterfield"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e751e277353304061d0000", "product_id"=>"53e751e277353304061c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e277353304061c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e277353304061e0000'), "name"=>"Walton Upton", "reference"=>"Moriah Lang", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e751e277353304061f0000'), "firstname"=>"Alec", "lastname"=>"Parker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e751e277353304061f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e751e277353304061e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e277353304061e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e751e277353304061e0000/manager 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('53e751e27735330406200000'), "name"=>"David Emard", "reference"=>"Fritz Deckow III", "quantity"=>4}] 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.2295ms 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('53e751e27735330406210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Redirected to http://test.host/admin/products/53e751e27735330406210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406220000'), "name"=>"Glennie Marks", "reference"=>"Demario O'Hara MD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e751e27735330406220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406220000')} 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('53e751e27735330406220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms 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.1842ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406230000'), "name"=>"Leo Johnson", "reference"=>"Laurine Bednar", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e751e27735330406230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406240000'), "name"=>"Mr. Trever Will", "reference"=>"Armand Lemke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms 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.4588ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406250000'), "name"=>"Shaina Rutherford Sr.", "reference"=>"King Smitham", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('53e751e27735330406280000'), "name"=>"Katelyn Gutkowski", "reference"=>"Neoma Bahringer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e751e27735330406280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406290000'), "name"=>"Mr. Amani O'Connell", "reference"=>"Yazmin Hackett", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751e27735330406290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms Redirected to http://test.host/admin/products/53e751e27735330406290000 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('53e751e277353304062a0000'), "firstname"=>"Franco", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms 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('53e751e277353304062b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms Redirected to http://test.host/admin/users/53e751e277353304062b0000 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('53e751e277353304062c0000'), "firstname"=>"Dayna", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1807ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e751e277353304062c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e277353304062c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e277353304062c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms 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.1763ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e277353304062d0000'), "firstname"=>"Damaris", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e751e277353304062d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e277353304062d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e277353304062e0000'), "firstname"=>"Emmitt", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms 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.2829ms 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('53e751e277353304062f0000'), "firstname"=>"Rhea", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e27735330406300000'), "firstname"=>"Yasmeen", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e751e27735330406300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e27735330406300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e27735330406310000'), "firstname"=>"Annie", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e751e27735330406310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e27735330406310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e751e27735330406310000 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('53e751e27735330406320000'), "firstname"=>"Xzavier", "lastname"=>"Olson"}] 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=>"administrators", :query=>{}} runtime: 0.2086ms 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('53e751e27735330406330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms 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.1920ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e27735330406340000'), "firstname"=>"Peggie", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e751e27735330406340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e27735330406340000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e27735330406350000'), "firstname"=>"Sheldon", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e27735330406360000'), "firstname"=>"Rashawn", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e751e27735330406360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e27735330406360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e751e27735330406370000'), "firstname"=>"Salvador", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7271ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e751e27735330406370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e751e27735330406370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406380000'), "name"=>"Ryann Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406390000'), "name"=>"Ms. Elbert McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063a0000'), "name"=>"Lempi Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063b0000'), "name"=>"Waylon Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063c0000'), "name"=>"Jackie Baumbach DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063d0000'), "name"=>"Arlo Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063e0000'), "name"=>"Araceli Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304063f0000'), "name"=>"Jeanne Aufderhar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304063f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406400000'), "name"=>"Iliana Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406410000'), "name"=>"Jane Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406420000'), "name"=>"Dr. Chesley Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406430000'), "name"=>"Mckayla Little II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406440000'), "name"=>"Urban Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406450000'), "name"=>"Toy Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406460000'), "name"=>"Lexi Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406470000'), "name"=>"Ona Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406480000'), "name"=>"Ms. Bailey Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406490000'), "name"=>"Maia Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064a0000'), "name"=>"Gisselle Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064b0000'), "name"=>"Mr. Ari Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064c0000'), "name"=>"Alverta Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064d0000'), "name"=>"Freda Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064e0000'), "name"=>"Price Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304064f0000'), "name"=>"Mr. Quinn Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304064f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406500000'), "name"=>"Cali Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406510000'), "name"=>"Kaela Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406520000'), "name"=>"Mrs. Lucio Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406530000'), "name"=>"Eli Fay Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406540000'), "name"=>"Mr. Marlee Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406550000'), "name"=>"Zaria Schimmel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406560000'), "name"=>"Cicero Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406570000'), "name"=>"Mrs. Maci Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406580000'), "name"=>"Leland Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406590000'), "name"=>"Mr. Elvie O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065a0000'), "name"=>"Fiona Pagac Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065b0000'), "name"=>"Janick Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065c0000'), "name"=>"Harley Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065d0000'), "name"=>"Ms. Garrick Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065e0000'), "name"=>"Maurine Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304065f0000'), "name"=>"Josh Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304065f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406600000'), "name"=>"Antwon Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406610000'), "name"=>"Leanne Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406620000'), "name"=>"Katharina Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406630000'), "name"=>"Buster Ruecker IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406640000'), "name"=>"Justyn Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406650000'), "name"=>"Mr. Christelle Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406660000'), "name"=>"Nadia Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406670000'), "name"=>"Frankie Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406680000'), "name"=>"Maeve Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406690000'), "name"=>"Kallie Gorczany IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066a0000'), "name"=>"Felipa Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066b0000'), "name"=>"Ezekiel Wintheiser III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066c0000'), "name"=>"Casandra Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066d0000'), "name"=>"Kip Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066e0000'), "name"=>"Mrs. Samara Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304066f0000'), "name"=>"Mr. August Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304066f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406700000'), "name"=>"Amiya Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406710000'), "name"=>"Kaylah Kerluke DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406720000'), "name"=>"Dr. Tyrel Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406730000'), "name"=>"Jerrell Reichert V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406740000'), "name"=>"Ms. Theron Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406750000'), "name"=>"Hailee Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406760000'), "name"=>"Kasandra Ondricka III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406770000'), "name"=>"Adelbert Pacocha I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406780000'), "name"=>"Dr. Abdiel Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406790000'), "name"=>"Waylon Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067a0000'), "name"=>"Lottie Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067b0000'), "name"=>"Annalise Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067c0000'), "name"=>"Malvina Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067d0000'), "name"=>"Dr. Kaleigh Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067e0000'), "name"=>"Yasmine Yundt I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304067f0000'), "name"=>"Bernadette Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304067f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406800000'), "name"=>"Gilbert Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406810000'), "name"=>"Laura Halvorson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406820000'), "name"=>"Lauriane Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406830000'), "name"=>"Bradford Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406840000'), "name"=>"Mrs. Penelope Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406850000'), "name"=>"Amy Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406860000'), "name"=>"Jordane Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406870000'), "name"=>"Buford Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406880000'), "name"=>"Noe MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406890000'), "name"=>"Eleazar Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068a0000'), "name"=>"Judah Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068b0000'), "name"=>"Rosella Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068c0000'), "name"=>"Brigitte Howe IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068d0000'), "name"=>"Dortha Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068e0000'), "name"=>"Geraldine Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304068f0000'), "name"=>"Addie Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304068f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406900000'), "name"=>"Van Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406910000'), "name"=>"Nasir Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406920000'), "name"=>"Elza McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406930000'), "name"=>"Rigoberto Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406940000'), "name"=>"Gustave Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406950000'), "name"=>"Maureen Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406960000'), "name"=>"Arjun Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406970000'), "name"=>"Neoma Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2730ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms Redirected to http://test.host/categories/53e751e27735330406980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2891ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406990000'), "name"=>"Mr. Dahlia Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2807ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e751e27735330406990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e27735330406990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e27735330406990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2839ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304069a0000'), "name"=>"Ashleigh Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e751e277353304069a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e277353304069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304069b0000'), "name"=>"Hazle Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242662458497] runtime: 0.0762ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3394ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304069c0000'), "name"=>"Daniella Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242027447257] runtime: 0.0690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2378ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304069d0000'), "name"=>"Kacie Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e277353304069f0000'), "name"=>"Dr. Agustin Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e751e277353304069f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e277353304069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e277353304069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e751e27735330406a00000'), "name"=>"Guy Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e751e27735330406a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e27735330406a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e751e27735330406a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e751e27735330406a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Redirected to http://test.host/categories/53e751e27735330406a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406a10000'), "name"=>"Kellie Conroy", "reference"=>"Colby Powlowski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406a20000'), "author_name"=>"June Heathcote", "content"=>["Sequi ad eos nihil rerum accusantium doloremque. Sit necessitatibus ut voluptate officiis. Et at non voluptas. Odio pariatur quos assumenda est est reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751e27735330406a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751e27735330406a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms Redirected to http://test.host/products/53e751e27735330406a10000/comments/53e751e27735330406a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406a40000'), "name"=>"Sophie Bayer", "reference"=>"Mr. Elfrieda Oberbrunner", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406a50000'), "author_name"=>"Bobbie Feil", "content"=>["Tempora eveniet officiis sit iure ut voluptatem. Dolore distinctio quas omnis odit. Dolorem hic et iste eum. Ullam occaecati culpa. Architecto beatae harum doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e751e27735330406a40000", "id"=>"53e751e27735330406a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e751e27735330406a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.4448ms Redirected to http://test.host/products/53e751e27735330406a40000/comments Completed 302 Found in 13ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406a60000'), "name"=>"Marlin Runolfsson DVM", "reference"=>"Jodie Skiles", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406a70000'), "author_name"=>"Mario Kozey", "content"=>["Illum ut alias voluptatum quia dolore deleniti aut. Qui et est. Unde deleniti sint nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e751e27735330406a60000", "id"=>"53e751e27735330406a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 42ms (Views: 40.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406a80000'), "name"=>"Annamae Greenholt", "reference"=>"Waylon Sanford", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406a90000'), "author_name"=>"Javon Walker", "content"=>["Culpa fugiat dolores at quia maxime. Fuga non laboriosam neque dolor quo. Deleniti maiores voluptatibus pariatur eos quis ipsam nihil. Molestiae dolor vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e751e27735330406a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406aa0000'), "name"=>"Jacques Kuhn II", "reference"=>"Mrs. Justyn Bailey", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406ab0000'), "author_name"=>"Kailyn Mayer V", "content"=>["Sapiente reiciendis consequatur aliquam. Ullam accusantium deserunt inventore velit tempora. Maxime voluptatem quia est dicta exercitationem. Deleniti reprehenderit nesciunt. Eum voluptas voluptatem ratione omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e751e27735330406aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3683ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406ac0000'), "name"=>"Marvin Greenholt", "reference"=>"Mr. Rosemarie Kuvalis", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406ad0000'), "author_name"=>"Modesta Fisher", "content"=>["Ea placeat quaerat eaque. Dolorem libero esse inventore numquam id laudantium et. Velit consectetur ea alias veniam voluptatem. Quia fuga rerum sed veniam facere voluptatem. Reprehenderit sit voluptatem ipsam corrupti dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e751e27735330406ac0000", "id"=>"53e751e27735330406ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406ae0000'), "name"=>"Mr. Orrin MacGyver", "reference"=>"Tevin Schinner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406af0000'), "author_name"=>"Elaina Johnson DDS", "content"=>["In a voluptas. Veritatis distinctio sint temporibus accusamus sit. Similique et voluptatem doloribus sequi in. Magnam qui cum. Quia reiciendis sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e751e27735330406ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406b00000'), "name"=>"Jessie Nolan", "reference"=>"Melyna Hilpert", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406b10000'), "author_name"=>"Weston Langworth", "content"=>["Eos voluptas et dolorem iste aut. Natus doloremque odit repellendus molestiae nesciunt laudantium voluptas. Nulla sequi enim fuga qui est eveniet. Molestiae dignissimos vitae error amet quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e751e27735330406b00000", "id"=>"53e751e27735330406b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406b20000'), "name"=>"Annabell Schneider", "reference"=>"Kennedy Johns III", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751e27735330406b30000'), "author_name"=>"Earl Emard", "content"=>["Sunt voluptate quaerat eos ipsam. Vero iusto mollitia exercitationem officia cum. Qui eveniet aliquid et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751e27735330406b30000", "product_id"=>"53e751e27735330406b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406b20000')} 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('53e751e27735330406b20000'), "comments._id"=>BSON::ObjectId('53e751e27735330406b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms Redirected to http://test.host/products/53e751e27735330406b20000/comments/53e751e27735330406b30000 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('53e751e27735330406b40000'), "firstname"=>"Celestine", "lastname"=>"Wehner"}] 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=>"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('53e751e27735330406b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms Redirected to http://test.host/admin/clients/53e751e27735330406b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1602ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406b60000'), "firstname"=>"Karlie", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1459ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e751e27735330406b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms 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.1411ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406b70000'), "firstname"=>"Zoey", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e751e27735330406b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('53e751e27735330406b80000'), "firstname"=>"Delaney", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms 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('53e751e27735330406b90000'), "firstname"=>"Adolphus", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406ba0000'), "firstname"=>"Kyla", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e751e27735330406ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406bb0000'), "firstname"=>"Efrain", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.5440ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e751e27735330406bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms Redirected to http://test.host/admin/clients/53e751e27735330406bb0000 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('53e751e27735330406bc0000'), "firstname"=>"Kelvin", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1589ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms Redirected to http://test.host/clients/53e751e27735330406bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1557ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406be0000'), "firstname"=>"Kennith", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6979ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1415ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e751e27735330406be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms 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.1405ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e751e27735330406bf0000'), "firstname"=>"Keyshawn", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e751e27735330406bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53e751e27735330406c00000'), "firstname"=>"Karianne", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms 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('53e751e27735330406c10000'), "firstname"=>"Morton", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms 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('53e751e27735330406c20000'), "firstname"=>"Eusebio", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e751e27735330406c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms 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('53e751e27735330406c30000'), "firstname"=>"Triston", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e751e27735330406c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e751e27735330406c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms Redirected to http://test.host/clients/53e751e27735330406c30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406c40000'), "name"=>"Elmer Brekke", "reference"=>"Malachi Halvorson", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406c50000'), "firstname"=>"Maximus", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e751e27735330406c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms Redirected to http://test.host/products/53e751e27735330406c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406c70000'), "name"=>"Candelario White", "reference"=>"Antonette Padberg", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406c80000'), "firstname"=>"Drew", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e751e27735330406c80000", "product_id"=>"53e751e27735330406c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406c90000'), "name"=>"Lloyd Vandervort", "reference"=>"Burnice Paucek", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406ca0000'), "firstname"=>"Twila", "lastname"=>"Harber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e751e27735330406c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406cb0000'), "name"=>"Lavonne Nikolaus Sr.", "reference"=>"Alicia Hauck", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406cc0000'), "firstname"=>"Julianne", "lastname"=>"Marquardt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e751e27735330406cc0000", "product_id"=>"53e751e27735330406cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406cd0000'), "name"=>"Luigi Howe", "reference"=>"Dr. Clyde Gulgowski", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e751e27735330406ce0000'), "firstname"=>"Garret", "lastname"=>"Gutkowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e751e27735330406ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e751e27735330406cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e27735330406cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms Unpermitted parameters: name Redirected to http://test.host/products/53e751e27735330406cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406cf0000'), "name"=>"Miss Kitty Walker", "reference"=>"Mathew O'Kon", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d00000'), "name"=>"Amiya Wilkinson MD", "reference"=>"Miss Florine Wilderman", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d10000'), "name"=>"Elmira Hamill", "reference"=>"Miss Gillian Anderson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d20000'), "name"=>"Sedrick Walter", "reference"=>"Maynard Gulgowski DVM", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d30000'), "name"=>"Maryjane O'Reilly", "reference"=>"Ms. Jillian Fay", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d40000'), "name"=>"Presley Strosin", "reference"=>"Gennaro Moen Jr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2085ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e27735330406d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms Redirected to http://test.host/products/53e751e27735330406d50000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406d60000'), "name"=>"Mozelle Heller", "reference"=>"Marshall Fadel", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1426ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e751e37735330406d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms 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('53e751e37735330406d70000'), "name"=>"Orland Medhurst", "reference"=>"Deontae Goodwin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e751e37735330406d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (37.8ms) Completed 200 OK in 42ms (Views: 41.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406d80000'), "name"=>"Marcelino Hammes", "reference"=>"Dennis Huels", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216031291125] runtime: 0.0867ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1995ms Completed 200 OK in 17ms (Views: 16.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406d90000'), "name"=>"Easton Moen", "reference"=>"Jaunita Mann", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406da0000'), "name"=>"HelloWorld", "reference"=>"Else McKenzie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406db0000'), "name"=>"value", "reference"=>"Jayne Gerlach", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms Processing by ProductsController#index as HTML Parameters: {"search_term"=>"name", "search_value"=>"HelloWorld"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{"name"=>"HelloWorld"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3071ms Completed 500 Internal Server Error in 5ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406dc0000'), "name"=>"Madeline Parker", "reference"=>"Felipa McDermott", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1321ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215771706195] runtime: 0.1283ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2878ms Completed 200 OK in 17ms (Views: 16.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216611308052] runtime: 0.0899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216691389304] runtime: 0.0835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216885572537] runtime: 0.0816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216020038509] runtime: 0.0924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216743527138] runtime: 0.0834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216817366196] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215248174748] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215683133715] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215274969557] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214890740057] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215923611732] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215650076271] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215555202300] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215357218070] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214826282931] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215669349686] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215882880938] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215642476578] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 24.8070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215129110607] runtime: 0.1193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214893271810] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216060673979] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215346052190] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215947365282] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216209830725] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215408319482] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214831689282] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214851133221] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216074846911] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215403645292] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216479839921] runtime: 0.0835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216391210053] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216176895933] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214818701788] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779540565] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214781971522] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216801516528] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214946613953] runtime: 0.0395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216809560376] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216874739965] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214756508609] runtime: 0.0396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216836654605] runtime: 0.0395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215348822563] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216050810023] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216092744857] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215114543166] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216434078717] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215360552785] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216776616467] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214903060401] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316349296] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216614809656] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215601265662] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214875850730] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214903972450] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216433077506] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215165723578] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215462170971] runtime: 0.0388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215031804698] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215316123321] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215724655754] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216061447070] runtime: 0.1021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216779414895] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215238473329] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216100058121] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215803747710] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215771782120] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216563148743] runtime: 0.0978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216002668343] runtime: 0.1136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216003448636] runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216747836118] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215823140523] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215078054658] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215304302757] runtime: 0.0852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215721639269] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214815890960] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215333346089] runtime: 0.1099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215089111055] runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215713799734] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215004967369] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215329154138] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216052692766] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215531121265] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216798729045] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216197059773] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215149043695] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214849309440] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215610448942] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216090679875] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215973472523] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216585320288] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216038053325] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214954921495] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216499909476] runtime: 0.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215136341951] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.1583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216306876907] runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215531143958] runtime: 0.0803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216712276212] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216397007901] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215131812839] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216795624153] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216766725157] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215690589077] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860413628] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215980593354] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216305197397] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215504340162] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215924630405] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216395915148] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216458959702] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215596395134] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216496252897] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216512043671] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216358556617] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215592229458] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215541146197] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215907962376] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215451613881] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216780827420] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216113544231] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215210120778] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216489433329] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215719666462] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216375599041] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216191148562] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860380492] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215156250260] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216556126667] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215696478483] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216217102358] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215571934981] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216236392181] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216771786617] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216734346212] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214978350253] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215304166712] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216655644506] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214834692608] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216314066477] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216807532962] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216848655800] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216127610207] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216444873450] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214806441618] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214772877665] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214754112373] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216619941999] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215322898866] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216572004757] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215532917613] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215575798690] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215171282715] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215255083913] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215459269401] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216521470275] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215395475074] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216232941178] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216655567151] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216419457840] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215457906639] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216547423226] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216732466003] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215766855152] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215880800622] runtime: 0.0488ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406dd0000'), "name"=>"Drew Hudson", "reference"=>"Rosie Luettgen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214956742232] runtime: 0.0639ms 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('53e751e37735330406de0000'), "name"=>"Karl Mayer Sr.", "reference"=>"Domingo Beier", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e751e37735330406de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms 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('53e751e37735330406df0000'), "name"=>"Trudie Effertz", "reference"=>"Avery Effertz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms 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: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406e10000'), "name"=>"Roderick Goodwin", "reference"=>"Mr. Emile Rohan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5605ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e751e37735330406e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3951ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406e20000'), "name"=>"Earnest Veum", "reference"=>"Ms. Emery Weimann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2985ms 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('53e751e37735330406e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2558ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406e40000'), "name"=>"Stanford Moen", "reference"=>"Garfield Davis", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.6335ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e751e37735330406e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms 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('53e751e37735330406e50000'), "name"=>"Donato Willms", "reference"=>"Glen Quigley", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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('53e751e37735330406e70000'), "name"=>"Edmund Hamill", "reference"=>"Dr. Tressa Heaney", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751e37735330406e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms 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('53e751e37735330406e80000'), "name"=>"Dr. Annamae Robel", "reference"=>"Leonard Brakus", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e751e37735330406e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms Redirected to http://test.host/products/53e751e37735330406e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406eb0000'), "name"=>"Alexys Schroeder", "reference"=>"Duane Tremblay", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406e90000'), "author_name"=>"Amparo Cronin III", "content"=>["Ad at consequatur praesentium saepe nihil inventore. Id commodi quia voluptatem et omnis aperiam vel. Eos dolorum reiciendis et aliquam et."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406ea0000'), "author_name"=>"Toney Wisoky", "content"=>["Voluptatem hic fuga. Molestias nulla animi consequatur earum quibusdam. Et quia sequi quidem voluptatum omnis omnis quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e751e37735330406eb0000", "comment_id"=>"53e751e37735330406e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406eb0000'), "comments._id"=>BSON::ObjectId('53e751e37735330406e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e751e37735330406ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6676ms Redirected to http://test.host/products/53e751e37735330406eb0000/comments/53e751e37735330406e90000/comments/53e751e37735330406ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406ef0000'), "name"=>"Beatrice Sanford DDS", "reference"=>"Jaida Friesen", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406ed0000'), "author_name"=>"Dr. Carissa Hane", "content"=>["Fugit autem et recusandae reiciendis. Et omnis nisi sit deserunt dolorem. Voluptatem maxime soluta. Magni corrupti architecto sunt aut dolorem repudiandae excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406ee0000'), "author_name"=>"Mikayla Schultz", "content"=>["Adipisci modi numquam eum ut qui. Tempora ut porro quia nam similique. Excepturi accusamus vel. Fugit hic dolorem earum quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e751e37735330406ef0000", "comment_id"=>"53e751e37735330406ed0000", "id"=>"53e751e37735330406ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406ef0000'), "comments._id"=>BSON::ObjectId('53e751e37735330406ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e751e37735330406ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms Redirected to http://test.host/products/53e751e37735330406ef0000/comments/53e751e37735330406ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406f20000'), "name"=>"Rylee Lemke", "reference"=>"Tristin Dibbert MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f00000'), "author_name"=>"Henri Prohaska", "content"=>["Quod dolores fuga expedita. Ab exercitationem ullam quis quia quia quaerat esse. Rerum voluptatem est. Enim laborum quo delectus dignissimos."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f10000'), "author_name"=>"Lorenzo Koss", "content"=>["Iure similique aut adipisci odit reiciendis enim. Accusamus animi eius vel pariatur. Sit sed voluptatem unde blanditiis nemo. Qui autem voluptas rerum quasi adipisci mollitia facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e751e37735330406f20000", "comment_id"=>"53e751e37735330406f00000", "id"=>"53e751e37735330406f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406f50000'), "name"=>"Stevie Armstrong", "reference"=>"Josefa Johns", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f30000'), "author_name"=>"Briana Kirlin", "content"=>["Temporibus sunt rem harum omnis voluptatem et inventore. Adipisci tempore ut quia a est. Labore iusto dicta porro repudiandae. Et maxime nemo. Consequuntur odio culpa sint magni dicta provident dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f40000'), "author_name"=>"Ubaldo Swaniawski", "content"=>["Pariatur id voluptatem sint omnis. Repudiandae tenetur aut voluptatem magni. Et deleniti qui. Dolorem deleniti fugit aut veritatis vel alias non. Harum laboriosam maiores quia saepe dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6662ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e751e37735330406f50000", "comment_id"=>"53e751e37735330406f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406f80000'), "name"=>"Gilda Gerlach DVM", "reference"=>"Jazmyn Schoen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f60000'), "author_name"=>"Syble Hermann", "content"=>["Quae sit necessitatibus aut ut tempore. Molestias quae nisi dolor. Reiciendis ea perspiciatis quos asperiores incidunt blanditiis. Quod ad molestiae optio quis aut aut error."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f70000'), "author_name"=>"Iva Schamberger", "content"=>["Dicta voluptatum deleniti veniam voluptate doloribus nihil. Fugiat ad nulla saepe. Est ut id. Ducimus rem laborum qui alias magnam blanditiis ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e751e37735330406f80000", "comment_id"=>"53e751e37735330406f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406fb0000'), "name"=>"Ms. Edmund Kshlerin", "reference"=>"Ronaldo Jaskolski", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406f90000'), "author_name"=>"Hazel Muller", "content"=>["Aliquam ab voluptate itaque natus sit harum accusantium. Est iure libero amet sequi omnis. Qui earum est praesentium provident quia eius doloremque. Inventore tempore voluptatibus alias."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406fa0000'), "author_name"=>"Mr. Tressie Padberg", "content"=>["Cumque ab nisi aliquid ex velit consequatur. Ut aut reiciendis facilis eos laborum rerum. Quidem fugiat recusandae sit harum nobis rerum consequatur. Omnis rerum iste nemo ut modi quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e751e37735330406fb0000", "comment_id"=>"53e751e37735330406f90000", "id"=>"53e751e37735330406fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406fe0000'), "name"=>"Sandrine Weissnat", "reference"=>"Mose Mills", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406fc0000'), "author_name"=>"Silas Hudson", "content"=>["Ducimus voluptate cum dignissimos nesciunt adipisci rem. Laborum animi dolores repellendus possimus ad. Aut ducimus cupiditate non at ea."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406fd0000'), "author_name"=>"Miss May Christiansen", "content"=>["Possimus distinctio aperiam quia sint at commodi repellat. Et sit cumque iste non qui quo iure. Sed qui commodi consequatur. Voluptatem placeat necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e751e37735330406fe0000", "comment_id"=>"53e751e37735330406fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406010100'), "name"=>"Geraldine Franecki", "reference"=>"Vincent West IV", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406ff0000'), "author_name"=>"Juston Gleason", "content"=>["Placeat hic occaecati neque ipsa. Est dolor quo. Sint et porro inventore delectus expedita molestias. Inventore consequatur recusandae blanditiis. Iusto natus quis illum."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406000100'), "author_name"=>"Titus Wilderman", "content"=>["Sunt recusandae rerum at quia et. Vel eaque hic. Facilis quia molestiae natus sapiente molestiae quo. Ratione itaque possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e751e37735330406010100", "comment_id"=>"53e751e37735330406ff0000", "id"=>"53e751e37735330406000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e751e37735330406040100'), "name"=>"Mr. Imogene Friesen", "reference"=>"Marion Carter", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406020100'), "author_name"=>"Jovany Howell", "content"=>["Omnis et quia quia maxime magnam. Labore fugiat saepe ab dolorem maiores a. Voluptates officia amet. Eaque nam exercitationem ea est. Modi voluptatum quam excepturi error est nemo tempora."], "comments"=>[{"_id"=>BSON::ObjectId('53e751e37735330406030100'), "author_name"=>"Edgardo Schaden IV", "content"=>["Reprehenderit molestiae aut ut tempora sunt quia. Fuga deleniti officiis nesciunt corrupti sequi officia repellendus. Perspiciatis nemo quia. Natus temporibus quo facere adipisci enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e751e37735330406030100", "product_id"=>"53e751e37735330406040100", "comment_id"=>"53e751e37735330406020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e751e37735330406040100'), "comments._id"=>BSON::ObjectId('53e751e37735330406020100'), "comments.0.comments._id"=>BSON::ObjectId('53e751e37735330406030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Redirected to http://test.host/products/53e751e37735330406040100/comments/53e751e37735330406020100/comments/53e751e37735330406030100 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('53e751e37735330406050100'), "firstname"=>"Alice", "lastname"=>"Brekke"}] 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.2484ms 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('53e751e37735330406060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Redirected to http://test.host/users/53e751e37735330406060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2487ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e37735330406070100'), "firstname"=>"Blanca", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2409ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e751e37735330406070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e37735330406070100')} 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('53e751e37735330406070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms 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.1877ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e37735330406080100'), "firstname"=>"Maxwell", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e751e37735330406080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e37735330406080100')} 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.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e37735330406090100'), "firstname"=>"Orval", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms 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.3366ms 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('53e751e377353304060a0100'), "firstname"=>"Brennon", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms 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.3ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e377353304060b0100'), "firstname"=>"Emily", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e751e377353304060b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e377353304060b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms Completed 200 OK in 3ms (Views: 2.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e751e377353304060c0100'), "firstname"=>"Cecelia", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7469ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e751e377353304060c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e751e377353304060c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms Unpermitted parameters: name Redirected to http://test.host/users/53e751e377353304060c0100 Completed 302 Found in 27ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5178ms 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.5063ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms 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.4206ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.0860ms 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.4489ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c000000'), "name"=>"Reanna Ruecker", "reference"=>"Aracely Dach PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c010000'), "name"=>"Zander Schaden", "reference"=>"Heidi VonRueden", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c020000'), "name"=>"Davon Powlowski", "reference"=>"Velda Ledner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c030000'), "name"=>"Theo Kozey", "reference"=>"Wilhelmine Vandervort", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c040000'), "name"=>"Jovany Herman", "reference"=>"Abner Haley DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c050000'), "name"=>"Aaliyah Witting", "reference"=>"Claire Schroeder", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2246ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms Redirected to http://test.host/products/53e75226773533049c060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2563ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c070000'), "name"=>"Josiane Kreiger", "reference"=>"Ariel Treutel", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.2269ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e75226773533049c070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.8272ms Redirected to http://test.host/products Completed 302 Found in 19ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3325ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c080000'), "name"=>"Shanel Reichert", "reference"=>"Sheridan Tillman", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e75226773533049c080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3958ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 48ms (Views: 46.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c090000'), "name"=>"Berneice Lind", "reference"=>"Deven Carter", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5647ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3722ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c0a0000'), "name"=>"Thomas Stehr II", "reference"=>"Garrett McKenzie", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c0b0000'), "name"=>"HelloWorld", "reference"=>"Russel Rice", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c0c0000'), "name"=>"value", "reference"=>"Donny Hyatt", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms Processing by ProductsController#index as HTML Parameters: {"search_term"=>"name", "search_value"=>"HelloWorld"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4921ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4041ms Completed 200 OK in 5ms (Views: 4.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3502ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2839ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c0d0000'), "name"=>"Mr. Henriette Zemlak", "reference"=>"Nels Cummings", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8472ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3668ms Completed 200 OK in 10ms (Views: 9.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c0e0000'), "name"=>"Simone Schinner", "reference"=>"Felton Barrows", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4424ms 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('53e75226773533049c0f0000'), "name"=>"Peyton Beahan", "reference"=>"Antonia Mohr", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e75226773533049c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms 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('53e75226773533049c100000'), "name"=>"Mr. Mafalda Pfeffer", "reference"=>"Dr. Lelia Leuschke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 22ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c120000'), "name"=>"Miss Scottie Emard", "reference"=>"Ruby Bradtke", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e75226773533049c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c130000'), "name"=>"Adela Klocko", "reference"=>"Erica Gerhold", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1520ms 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('53e75226773533049c140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1624ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c150000'), "name"=>"Alene Skiles", "reference"=>"Laury Kilback II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e75226773533049c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms 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('53e75226773533049c160000'), "name"=>"Ms. Kenneth Goldner", "reference"=>"Alicia Borer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms 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('53e75226773533049c180000'), "name"=>"Felton Dibbert Jr.", "reference"=>"Orpha Tremblay Sr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6666ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75226773533049c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5275ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6617ms Completed 202 Accepted in 6ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75226773533049c190000'), "name"=>"Kariane Turner", "reference"=>"Lessie Hamill", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75226773533049c190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75226773533049c190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms Redirected to http://test.host/products/53e75226773533049c190000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms 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.3256ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms 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.1888ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms 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.1693ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6000000'), "firstname"=>"Leo", "lastname"=>"Nitzsche"}] 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=>"administrators", :query=>{}} runtime: 0.2122ms 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('53e7522a77353304d6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms 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.2056ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6020000'), "firstname"=>"Al", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e7522a77353304d6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522a77353304d6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 16.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6030000'), "firstname"=>"Jolie", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6040000'), "firstname"=>"Hellen", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.4282ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e7522a77353304d6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522a77353304d6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6050000'), "firstname"=>"Destany", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e7522a77353304d6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522a77353304d6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms 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('53e7522a77353304d6060000'), "name"=>"Mrs. Minnie Rau", "reference"=>"Miss Hailee Roob", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d6070000'), "author_name"=>"Bette Halvorson", "content"=>["Veniam accusamus commodi voluptatem perferendis fuga. Quos quas corrupti dolore. Doloremque dolorum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7522a77353304d6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7522a77353304d6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms Redirected to http://test.host/admin/products/53e7522a77353304d6060000/comments/53e7522a77353304d6080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4097ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6090000'), "name"=>"Bernie Turner", "reference"=>"Madie Langworth", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d60a0000'), "author_name"=>"Franco Friesen", "content"=>["Incidunt nam dicta expedita quas. Ab recusandae sed. Repellendus similique autem ut mollitia ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7522a77353304d6090000", "id"=>"53e7522a77353304d60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7522a77353304d60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms Redirected to http://test.host/admin/products/53e7522a77353304d6090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d60b0000'), "name"=>"Vena Russel", "reference"=>"Dr. Myra Beatty", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d60c0000'), "author_name"=>"Rasheed Gaylord V", "content"=>["Corporis dolores voluptas alias. Error dicta nostrum. Quos nihil dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e7522a77353304d60b0000", "id"=>"53e7522a77353304d60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d60b0000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d60d0000'), "name"=>"Dawn Trantow", "reference"=>"Theo Gislason II", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d60e0000'), "author_name"=>"Zelda Ratke", "content"=>["Nam officia iure. Ut porro nam et molestiae nihil. Dolor officiis mollitia. Facere ut voluptates. Quia earum ipsa officia et ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.1151ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e7522a77353304d60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d60f0000'), "name"=>"Miss Freddy Little", "reference"=>"Herminia Cassin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d6100000'), "author_name"=>"Clifford Gutmann", "content"=>["Quam culpa a inventore porro totam cum. Fuga distinctio exercitationem explicabo. Quia sint nesciunt. Recusandae alias officiis omnis quos. Amet corrupti aut officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e7522a77353304d60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6110000'), "name"=>"Josefa Considine", "reference"=>"Kennith Wintheiser", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d6120000'), "author_name"=>"Jermaine D'Amore", "content"=>["Occaecati distinctio voluptatem. Consequuntur praesentium totam vero. Doloremque numquam enim sed corrupti quis. Excepturi placeat rerum et praesentium est. Est quisquam laudantium dignissimos cum tempora sint molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e7522a77353304d6110000", "id"=>"53e7522a77353304d6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522a77353304d6130000'), "name"=>"Elnora Hagenes DDS", "reference"=>"Bradford Stracke PhD", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7522a77353304d6140000'), "author_name"=>"Doris Abshire", "content"=>["Facere vel debitis. Suscipit ut quo quis culpa aut quos. Error consequatur ea voluptatem iusto et a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7522a77353304d6140000", "product_id"=>"53e7522a77353304d6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522a77353304d6130000')} 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('53e7522a77353304d6130000'), "comments._id"=>BSON::ObjectId('53e7522a77353304d6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7244ms Redirected to http://test.host/admin/products/53e7522a77353304d6130000/comments/53e7522a77353304d6140000 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('53e7522b77353304d6150000'), "name"=>"Keaton Cruickshank", "reference"=>"Mallie Raynor DDS", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6160000'), "firstname"=>"Frankie", "lastname"=>"Hackett"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4839ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7522b77353304d6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms Redirected to http://test.host/admin/products/53e7522b77353304d6150000/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('53e7522b77353304d6180000'), "name"=>"Evert Little", "reference"=>"Keyshawn Williamson", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6190000'), "firstname"=>"Deron", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6190000", "product_id"=>"53e7522b77353304d6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6180000')} 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.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d61a0000'), "name"=>"Berenice Armstrong", "reference"=>"Lula Cronin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d61b0000'), "firstname"=>"Kristian", "lastname"=>"Murazik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e7522b77353304d61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d61c0000'), "name"=>"Edison Gutkowski", "reference"=>"Cleora Ferry", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d61d0000'), "firstname"=>"Kelly", "lastname"=>"Bergnaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e7522b77353304d61d0000", "product_id"=>"53e7522b77353304d61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d61e0000'), "name"=>"Mrs. Cleora Grady", "reference"=>"Ettie Cormier DDS", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d61f0000'), "firstname"=>"Betty", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e7522b77353304d61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7522b77353304d61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e7522b77353304d61e0000/manager 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('53e7522b77353304d6200000'), "name"=>"Jimmie Weber", "reference"=>"Ms. Hardy Lebsack", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms 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('53e7522b77353304d6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Redirected to http://test.host/admin/products/53e7522b77353304d6210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1662ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6220000'), "name"=>"Katherine Thiel", "reference"=>"Maryam Cummings DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1659ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6220000')} 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('53e7522b77353304d6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms 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.1597ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6230000'), "name"=>"Bessie Welch", "reference"=>"Gabe Schinner Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6240000'), "name"=>"Danyka Little DVM", "reference"=>"Mckayla Cruickshank", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms 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.4414ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6250000'), "name"=>"Korey Heathcote", "reference"=>"Isabelle Hauck PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 18ms (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('53e7522b77353304d6280000'), "name"=>"Ms. Idell Murphy", "reference"=>"Kameron Hegmann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e7522b77353304d6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6290000'), "name"=>"Otilia Krajcik", "reference"=>"Ms. Alene Bauch", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7522b77353304d6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms Redirected to http://test.host/admin/products/53e7522b77353304d6290000 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('53e7522b77353304d62a0000'), "firstname"=>"Elmore", "lastname"=>"Sauer"}] 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.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('53e7522b77353304d62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms Redirected to http://test.host/admin/users/53e7522b77353304d62b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2109ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d62c0000'), "firstname"=>"Eric", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1406ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522b77353304d62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522b77353304d62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms 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.1415ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d62d0000'), "firstname"=>"Sandy", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4741ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e7522b77353304d62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522b77353304d62d0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d62e0000'), "firstname"=>"Lucinda", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms 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.2855ms 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('53e7522b77353304d62f0000'), "firstname"=>"Verna", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6300000'), "firstname"=>"Judah", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e7522b77353304d6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522b77353304d6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6310000'), "firstname"=>"Lurline", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7522b77353304d6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522b77353304d6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e7522b77353304d6310000 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('53e7522b77353304d6320000'), "firstname"=>"Betty", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1887ms 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('53e7522b77353304d6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms 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.1683ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6340000'), "firstname"=>"Alize", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522b77353304d6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6350000'), "firstname"=>"Casimer", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6360000'), "firstname"=>"Stanford", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7522b77353304d6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522b77353304d6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6370000'), "firstname"=>"Josianne", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7522b77353304d6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7522b77353304d6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6380000'), "name"=>"Taurean Von Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6390000'), "name"=>"Haleigh Weissnat Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63a0000'), "name"=>"Sarai Hermann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63b0000'), "name"=>"Mr. Jarvis Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63c0000'), "name"=>"Andres Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63d0000'), "name"=>"Dallin Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63e0000'), "name"=>"Kaya Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d63f0000'), "name"=>"Mandy Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6400000'), "name"=>"Madisyn Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6410000'), "name"=>"Mr. Vivianne Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6420000'), "name"=>"Aaron Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6430000'), "name"=>"Otho Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6440000'), "name"=>"Vida Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6450000'), "name"=>"Rosario Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6460000'), "name"=>"Arely Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6470000'), "name"=>"Nella Weber V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6480000'), "name"=>"Cleta Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6490000'), "name"=>"Ava Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64a0000'), "name"=>"Cordelia Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64b0000'), "name"=>"Reyna Lemke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64c0000'), "name"=>"Juanita Feil IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64d0000'), "name"=>"Thaddeus VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64e0000'), "name"=>"Skyla Herzog PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d64f0000'), "name"=>"Armand Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6500000'), "name"=>"Maureen Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6510000'), "name"=>"Lisandro Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6520000'), "name"=>"Noemy Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6530000'), "name"=>"Louvenia Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6540000'), "name"=>"Darien Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6550000'), "name"=>"Kadin Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6560000'), "name"=>"Miss Esmeralda Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6570000'), "name"=>"Janiya Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6580000'), "name"=>"Marjorie Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6590000'), "name"=>"Guiseppe Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65a0000'), "name"=>"Vladimir Jacobi DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65b0000'), "name"=>"Jarred Funk IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65c0000'), "name"=>"Adrien Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65d0000'), "name"=>"Hailee Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65e0000'), "name"=>"Gardner Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d65f0000'), "name"=>"Rozella Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6600000'), "name"=>"Nora Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6610000'), "name"=>"Sigrid Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6620000'), "name"=>"Erich Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6630000'), "name"=>"Layla Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6640000'), "name"=>"Salvatore Kemmer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6650000'), "name"=>"Osborne Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6660000'), "name"=>"Amira Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6670000'), "name"=>"Elian Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6680000'), "name"=>"Mckenna Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6690000'), "name"=>"Alexandre Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66a0000'), "name"=>"Sydni Reichel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66b0000'), "name"=>"Geo Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66c0000'), "name"=>"Ophelia Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66d0000'), "name"=>"Miss Ebony Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66e0000'), "name"=>"Ron Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d66f0000'), "name"=>"Frederique Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1084ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6700000'), "name"=>"Darien Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6710000'), "name"=>"Rhea Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6720000'), "name"=>"Zakary Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1947ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6730000'), "name"=>"Victor Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6740000'), "name"=>"Mr. Randal Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6750000'), "name"=>"Bethel Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6760000'), "name"=>"Vanessa Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6770000'), "name"=>"Mr. Gladyce Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6780000'), "name"=>"Allie Schultz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6790000'), "name"=>"Rick Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67a0000'), "name"=>"Nedra Considine Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67b0000'), "name"=>"Laura Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67c0000'), "name"=>"Logan Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67d0000'), "name"=>"Rosella West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67e0000'), "name"=>"Dr. Gussie Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d67f0000'), "name"=>"Marge Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6800000'), "name"=>"Dashawn Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6810000'), "name"=>"Lazaro Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6820000'), "name"=>"Fredrick Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6830000'), "name"=>"Quinton Nicolas Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6840000'), "name"=>"Peggie Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6850000'), "name"=>"Ruben Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6860000'), "name"=>"Laury Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6870000'), "name"=>"Destany Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6880000'), "name"=>"Everette Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6890000'), "name"=>"Dr. Carlos Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68a0000'), "name"=>"Donny Leffler I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68b0000'), "name"=>"Lizeth Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68c0000'), "name"=>"Eleanore Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68d0000'), "name"=>"Mrs. Jerel Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68e0000'), "name"=>"Pietro Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d68f0000'), "name"=>"Bernardo Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6900000'), "name"=>"Cristian McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6910000'), "name"=>"Ismael Torphy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6920000'), "name"=>"Lorena Hand III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6930000'), "name"=>"Antonette Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6940000'), "name"=>"Emmett Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6950000'), "name"=>"Isabel O'Hara III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6960000'), "name"=>"Mrs. Jasper Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6970000'), "name"=>"Ernie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1280ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms Redirected to http://test.host/categories/53e7522b77353304d6980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1419ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6990000'), "name"=>"Elsa Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1330ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1362ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d69a0000'), "name"=>"Jonatan Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7522b77353304d69a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 9ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d69b0000'), "name"=>"Chelsey Ankunding PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240587670069] runtime: 0.0903ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1965ms Completed 200 OK in 15ms (Views: 14.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d69c0000'), "name"=>"Jairo Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240540394015] runtime: 0.0678ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1629ms Completed 200 OK in 8ms (Views: 7.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d69d0000'), "name"=>"Ferne Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d69f0000'), "name"=>"Ms. Melyssa Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7522b77353304d69f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6a00000'), "name"=>"Shad Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7522b77353304d6a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1863ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7522b77353304d6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms Redirected to http://test.host/categories/53e7522b77353304d6a00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6a10000'), "name"=>"Hal Leffler Sr.", "reference"=>"Khalil Daniel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6a20000'), "author_name"=>"Fredrick Hackett V", "content"=>["Voluptatem necessitatibus quas beatae ab voluptates nesciunt et. Dolorem tempore laboriosam doloribus quasi rerum ut. At dolorum qui. Sunt voluptatem quia sunt. Beatae distinctio eligendi mollitia aut sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7522b77353304d6a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/products/53e7522b77353304d6a10000/comments/53e7522b77353304d6a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6a40000'), "name"=>"Lon Kemmer", "reference"=>"Kasey Erdman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6a50000'), "author_name"=>"Ubaldo Koepp", "content"=>["Hic corporis minus. Accusantium sequi illum eligendi. Facilis sint quisquam iure voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7522b77353304d6a40000", "id"=>"53e7522b77353304d6a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms Redirected to http://test.host/products/53e7522b77353304d6a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6a60000'), "name"=>"Mrs. Keyshawn Hessel", "reference"=>"Ms. Elenora Daniel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6a70000'), "author_name"=>"Lexi Strosin", "content"=>["Aspernatur earum in qui consequatur. Nemo sit modi ut eaque. Et consequatur asperiores et. Voluptate soluta aliquam sunt amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7522b77353304d6a60000", "id"=>"53e7522b77353304d6a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.1ms) Completed 200 OK in 41ms (Views: 39.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6a80000'), "name"=>"Orlando Cole", "reference"=>"Emilia Vandervort", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6a90000'), "author_name"=>"Brett Waelchi", "content"=>["Omnis enim est et consectetur dolores quisquam. Quam doloribus magnam et. Id suscipit vero tenetur. Dolor rerum mollitia ipsum qui est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7522b77353304d6a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6aa0000'), "name"=>"Dianna Greenholt", "reference"=>"Mrs. Priscilla Windler", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6ab0000'), "author_name"=>"Marc Jenkins DVM", "content"=>["Voluptatem sit culpa. Rerum unde eum itaque. Quod iste facere reprehenderit ratione repellat est sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7522b77353304d6aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6ac0000'), "name"=>"Makenzie Heller V", "reference"=>"Francisca Willms", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6ad0000'), "author_name"=>"Tania Wiegand Sr.", "content"=>["Temporibus voluptas voluptatibus facere molestiae magnam omnis modi. Laborum dolor aut illum sed tempora accusantium eveniet. Debitis excepturi delectus qui molestiae rerum aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7522b77353304d6ac0000", "id"=>"53e7522b77353304d6ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6ae0000'), "name"=>"Hollie Towne", "reference"=>"Agnes Cartwright", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6af0000'), "author_name"=>"Rhianna Oberbrunner", "content"=>["Doloribus autem suscipit facere ab voluptas autem. Harum tenetur omnis similique magni sint. Sit aspernatur ut possimus eveniet rem est veniam. Consequuntur voluptate quia veritatis qui nostrum quo eum. Qui est temporibus tenetur labore aut ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7522b77353304d6ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6b00000'), "name"=>"Ms. Terry Mertz", "reference"=>"Hazle Bernier", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6b10000'), "author_name"=>"Marlen Hettinger Sr.", "content"=>["Est culpa ut delectus enim qui. Optio odit sit nam repellendus minima doloribus molestias. A quidem est dolorem. Aliquam eaque placeat exercitationem quo quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7522b77353304d6b00000", "id"=>"53e7522b77353304d6b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6b20000'), "name"=>"Baby Wolff", "reference"=>"Vella Ondricka", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7522b77353304d6b30000'), "author_name"=>"Elian Kuhic", "content"=>["Fugit consequatur et. Debitis praesentium necessitatibus natus voluptas. Aut suscipit explicabo voluptatem distinctio voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7522b77353304d6b30000", "product_id"=>"53e7522b77353304d6b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b20000'), "comments._id"=>BSON::ObjectId('53e7522b77353304d6b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Redirected to http://test.host/products/53e7522b77353304d6b20000/comments/53e7522b77353304d6b30000 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('53e7522b77353304d6b40000'), "firstname"=>"Lelah", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms 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('53e7522b77353304d6b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Redirected to http://test.host/admin/clients/53e7522b77353304d6b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2282ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6b60000'), "firstname"=>"Kenna", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1547ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d6b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9332ms 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.1477ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6b70000'), "firstname"=>"Burley", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (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('53e7522b77353304d6b80000'), "firstname"=>"Evie", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms 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('53e7522b77353304d6b90000'), "firstname"=>"Michele", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6ba0000'), "firstname"=>"Jazmyne", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7522b77353304d6ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6bb0000'), "firstname"=>"Keven", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7522b77353304d6bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Redirected to http://test.host/admin/clients/53e7522b77353304d6bb0000 Completed 302 Found in 36ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6bc0000'), "firstname"=>"Brittany", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2632ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms Redirected to http://test.host/clients/53e7522b77353304d6bd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6be0000'), "firstname"=>"Jacques", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1358ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d6be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms 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.1401ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6bf0000'), "firstname"=>"Paula", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53e7522b77353304d6c00000'), "firstname"=>"Faustino", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms 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('53e7522b77353304d6c10000'), "firstname"=>"Elmore", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms 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('53e7522b77353304d6c20000'), "firstname"=>"Haylie", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7522b77353304d6c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms 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('53e7522b77353304d6c30000'), "firstname"=>"Marjolaine", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7522b77353304d6c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms Redirected to http://test.host/clients/53e7522b77353304d6c30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6c40000'), "name"=>"Golda Rodriguez", "reference"=>"Heath Franecki", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6c50000'), "firstname"=>"Christelle", "lastname"=>"Huel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7522b77353304d6c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c40000')} 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('53e7522b77353304d6c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms Redirected to http://test.host/products/53e7522b77353304d6c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6c70000'), "name"=>"Duncan Altenwerth III", "reference"=>"Arielle Waters", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6c80000'), "firstname"=>"Jakayla", "lastname"=>"McLaughlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6c80000", "product_id"=>"53e7522b77353304d6c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6c90000'), "name"=>"Jason Gerhold", "reference"=>"Thelma King", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6ca0000'), "firstname"=>"Kari", "lastname"=>"Schaefer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7522b77353304d6c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6cb0000'), "name"=>"Maria Langosh", "reference"=>"Alysa Auer", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6cc0000'), "firstname"=>"Ricardo", "lastname"=>"Collier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7522b77353304d6cc0000", "product_id"=>"53e7522b77353304d6cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6cd0000'), "name"=>"Mr. Lonie Crist", "reference"=>"Hilda Pfeffer", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7522b77353304d6ce0000'), "firstname"=>"Jaquelin", "lastname"=>"Hartmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7522b77353304d6ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7522b77353304d6cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms Unpermitted parameters: name Redirected to http://test.host/products/53e7522b77353304d6cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6cf0000'), "name"=>"Litzy Lubowitz", "reference"=>"Davon Nolan", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d00000'), "name"=>"Stefan Crona", "reference"=>"Florence Harris II", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d10000'), "name"=>"Savannah Ward", "reference"=>"Chaz Abshire", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d20000'), "name"=>"Rudy Johnston", "reference"=>"Miss Brigitte Larkin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d30000'), "name"=>"Natalia Hickle", "reference"=>"Jake Grimes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d40000'), "name"=>"Hallie Deckow", "reference"=>"Eloise Schneider Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3509ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2411ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms Redirected to http://test.host/products/53e7522b77353304d6d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2493ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d60000'), "name"=>"Clotilde Goldner", "reference"=>"Onie Nikolaus", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1421ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7522b77353304d6d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms 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.1392ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522b77353304d6d70000'), "name"=>"Khalil Sporer", "reference"=>"Santiago Parisian PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7522b77353304d6d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522b77353304d6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.2ms) Completed 200 OK in 43ms (Views: 41.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6d80000'), "name"=>"Joyce Anderson", "reference"=>"Dudley Block", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216586677477] runtime: 0.0841ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1965ms Completed 200 OK in 17ms (Views: 16.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6d90000'), "name"=>"Emmalee Haag", "reference"=>"Miss Destinee Prosacco", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6da0000'), "name"=>"HelloWorld", "reference"=>"Drew Ruecker", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6db0000'), "name"=>"value", "reference"=>"Samara Terry", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms Processing by ProductsController#index as HTML Parameters: {"search_term"=>"name", "search_value"=>"HelloWorld"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1986ms Completed 200 OK in 5ms (Views: 4.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1752ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1376ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6dc0000'), "name"=>"Pete Macejkovic", "reference"=>"Ashley McKenzie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214913177546] runtime: 0.0768ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms Completed 200 OK in 15ms (Views: 14.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215987358583] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215173041474] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215157030857] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216772663183] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214793447902] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216426925780] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216332537963] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216430452742] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215182365769] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215212245960] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215309575967] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216094781863] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215903362042] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216581695659] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215431491971] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216848658619] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216776178927] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215394336879] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216026470037] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.4005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216065826179] runtime: 0.1001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215388744248] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214857962794] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215690785168] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215826209235] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215775527238] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216784462542] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215296081092] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216558307586] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216411784777] runtime: 0.0971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214865122033] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214978891191] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216534334619] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215405373458] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216675734556] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216573984706] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216437637543] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214928170139] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216670300261] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216430929753] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216846708494] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215636981619] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215641472200] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215258228249] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214981529732] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216881443556] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216494316596] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216514391041] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215990005853] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215099398379] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214949435134] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216789766372] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215762060436] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215993477362] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216335273132] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216051686890] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215545429935] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215504270293] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215789726196] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214939526033] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215640037909] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216525297663] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215403122047] runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214938344037] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215029144680] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215684556719] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215397529884] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215900556893] runtime: 0.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215973119420] runtime: 0.0757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215145702252] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215913988380] runtime: 0.0806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216518963208] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215334499616] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215859496850] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215433944104] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214898597963] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216223552192] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215796779448] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214773657091] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216188854336] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216604132265] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215880742795] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216048711697] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214864449473] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216659019070] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215697745510] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216771530837] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215358557633] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215955716033] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215618178063] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214950602649] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215317680924] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215492190303] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215320652270] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215844025115] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215157374941] runtime: 0.1225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216437928854] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216260867575] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216505942787] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216749246417] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215984251564] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215357517603] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216240007730] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215687517041] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215543031904] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216832503135] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216386101712] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216813623113] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215935741666] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214985416944] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216883057541] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215573487668] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216240826893] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216356136771] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215720261575] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216820358926] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216725255985] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216640039031] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215398824551] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216321632734] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216635355176] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214841666880] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214926014868] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216467171777] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215288606039] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216236171708] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215155960100] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215126292237] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216130664799] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216827580782] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215699363198] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215213077433] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216500510545] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216376006163] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215306681256] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139049730] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215929430808] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215715763849] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215304876143] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139051891] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215720535892] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216000111613] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215659072009] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215910488088] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215052771171] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215923594513] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215593551835] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216149614039] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216483647235] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215921261282] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216686195675] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214925734809] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215277974431] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215246234981] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216523002656] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215005358906] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216472923268] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215221791477] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215876068736] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215700201063] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214935468920] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216223045803] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216090979506] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215984113715] runtime: 0.0571ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6dd0000'), "name"=>"Felicity Miller", "reference"=>"Mariano Howell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216718231365] runtime: 0.0603ms 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('53e7522c77353304d6de0000'), "name"=>"Lester Conroy", "reference"=>"Dax Cormier Sr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7522c77353304d6de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms 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('53e7522c77353304d6df0000'), "name"=>"Faustino Gottlieb", "reference"=>"Destin Padberg", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6e10000'), "name"=>"Ed Kuphal", "reference"=>"Dr. Cody Schmeler", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7522c77353304d6e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6e20000'), "name"=>"Natalia Collier Jr.", "reference"=>"Mrs. Ruth Klocko", "quantity"=>3}] 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.1815ms 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('53e7522c77353304d6e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1912ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6e40000'), "name"=>"Dock Hodkiewicz", "reference"=>"Dawson Mayer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7522c77353304d6e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms 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('53e7522c77353304d6e50000'), "name"=>"Miss Vidal Zieme", "reference"=>"Gus Adams", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms 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('53e7522c77353304d6e70000'), "name"=>"Tavares Schoen MD", "reference"=>"Dortha Marvin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7522c77353304d6e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e70000')} 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('53e7522c77353304d6e80000'), "name"=>"Alba MacGyver DVM", "reference"=>"Emmanuelle Herzog PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7522c77353304d6e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms Redirected to http://test.host/products/53e7522c77353304d6e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6eb0000'), "name"=>"Angela Jacobson", "reference"=>"Anna Williamson", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6e90000'), "author_name"=>"Blaze Kerluke", "content"=>["Totam error est exercitationem officia nulla laboriosam non. Assumenda qui expedita. Eos cupiditate possimus nihil nam similique molestiae. Voluptas unde architecto ducimus voluptatibus. Delectus omnis qui voluptate omnis voluptatem in eaque."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6ea0000'), "author_name"=>"German Hoppe IV", "content"=>["Id deleniti blanditiis eos. Cum nemo ad non cupiditate delectus sunt dolores. Sit magnam dolorem harum. Non sunt autem omnis voluptas temporibus. Ut sed vitae aperiam sunt quo nobis alias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7522c77353304d6eb0000", "comment_id"=>"53e7522c77353304d6e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6eb0000'), "comments._id"=>BSON::ObjectId('53e7522c77353304d6e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7522c77353304d6ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.2662ms Redirected to http://test.host/products/53e7522c77353304d6eb0000/comments/53e7522c77353304d6e90000/comments/53e7522c77353304d6ec0000 Completed 302 Found in 18ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6ef0000'), "name"=>"Ewald Powlowski", "reference"=>"Coleman Kunze", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6ed0000'), "author_name"=>"Timmothy Jacobson", "content"=>["Eligendi qui voluptatem. Iusto alias nobis. Recusandae quia occaecati nam vel. Eum neque ducimus vitae porro expedita qui."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6ee0000'), "author_name"=>"Jess Maggio Sr.", "content"=>["Magnam consectetur tempora sint id accusantium. Sed error illo beatae id eveniet voluptatem adipisci. Quos et est debitis facere ipsa dolore. Est ipsum quis sapiente enim dolor quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7522c77353304d6ef0000", "comment_id"=>"53e7522c77353304d6ed0000", "id"=>"53e7522c77353304d6ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6ef0000')} 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('53e7522c77353304d6ef0000'), "comments._id"=>BSON::ObjectId('53e7522c77353304d6ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7522c77353304d6ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Redirected to http://test.host/products/53e7522c77353304d6ef0000/comments/53e7522c77353304d6ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6f20000'), "name"=>"Ms. Bailee Torphy", "reference"=>"Ms. Melvina Kerluke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f00000'), "author_name"=>"Estelle Reynolds", "content"=>["Dolor non est labore placeat suscipit natus. Autem rerum suscipit quo repudiandae. Qui quasi cum sunt ex autem neque."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f10000'), "author_name"=>"Lina Cormier", "content"=>["Numquam delectus optio et velit dolores illum veritatis. Autem qui aliquam repellat laboriosam quia non. Tempore praesentium et in molestiae doloremque eos. Quidem cum aut voluptas autem omnis officiis. Nostrum qui enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7522c77353304d6f20000", "comment_id"=>"53e7522c77353304d6f00000", "id"=>"53e7522c77353304d6f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6f50000'), "name"=>"Jeff Haley", "reference"=>"Berenice Turner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f30000'), "author_name"=>"Ms. Winnifred Effertz", "content"=>["Quo et quisquam tenetur expedita veritatis. Et aut quisquam est laudantium impedit est. Quisquam voluptatem id."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f40000'), "author_name"=>"Lane Fritsch", "content"=>["Eos sint nam doloremque dolorem quo. Facilis possimus omnis aut corporis quasi voluptas. Rerum ut veritatis. Dignissimos veritatis rem architecto iure minus dolorum. Quibusdam doloremque dignissimos aspernatur qui sed aliquam optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7522c77353304d6f50000", "comment_id"=>"53e7522c77353304d6f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6f80000'), "name"=>"Craig Zemlak", "reference"=>"Tyson Torphy", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f60000'), "author_name"=>"Alana Mertz PhD", "content"=>["Consequatur exercitationem eum aut occaecati culpa assumenda voluptas. Vero deleniti soluta dolores dignissimos. Et laborum reprehenderit est. Ut quaerat sunt excepturi reprehenderit nihil."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f70000'), "author_name"=>"Elvis Schaefer", "content"=>["Nemo esse animi error magnam quaerat. In consectetur deleniti. Vero error minus non voluptates odio corporis vel. Sapiente corrupti nulla quis aut asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7522c77353304d6f80000", "comment_id"=>"53e7522c77353304d6f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6fb0000'), "name"=>"Sarina Jakubowski", "reference"=>"Dr. Nick Mayer", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6f90000'), "author_name"=>"Dr. Hoyt Bradtke", "content"=>["Quia voluptas est iste quaerat ut. Enim saepe ut sapiente architecto. Repudiandae voluptas et reprehenderit rerum dolores. Itaque maxime exercitationem pariatur hic. Dolore vero cupiditate suscipit dignissimos quidem."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6fa0000'), "author_name"=>"Adrian Dicki", "content"=>["Eos nobis numquam. Dolor iste sint sed quidem quia at. Voluptatem quaerat velit dolorum sed rem atque temporibus. Placeat omnis id. Dolorem eveniet rerum labore est sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7522c77353304d6fb0000", "comment_id"=>"53e7522c77353304d6f90000", "id"=>"53e7522c77353304d6fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6fe0000'), "name"=>"Ms. Judd Welch", "reference"=>"Arnold Ward", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6fc0000'), "author_name"=>"Solon Purdy", "content"=>["Quaerat dolor rem et. Dolor quo maxime culpa. Inventore quam maxime commodi ut qui necessitatibus dolorem. Et ut est."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6fd0000'), "author_name"=>"Ms. Domingo Robel", "content"=>["Explicabo in eos incidunt in accusantium perferendis neque. Explicabo ipsam voluptatem ea exercitationem. Velit perspiciatis dolorum fuga laboriosam. Ducimus quod repellendus esse. Aut exercitationem vel voluptatem consequatur et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7522c77353304d6fe0000", "comment_id"=>"53e7522c77353304d6fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6010100'), "name"=>"Wallace Cassin", "reference"=>"Serena King", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6ff0000'), "author_name"=>"Zachery Gislason", "content"=>["Expedita nulla deleniti recusandae deserunt. Aperiam aut tempora. Quos molestiae sed alias non velit id. Et voluptas quos quas unde ut. Nobis harum eum."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6000100'), "author_name"=>"Zella Schroeder", "content"=>["Et et dolorem veniam iure. Reprehenderit asperiores veniam dolores sed voluptatum. Officia corrupti delectus rerum consequatur culpa. Ut dolorem eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7522c77353304d6010100", "comment_id"=>"53e7522c77353304d6ff0000", "id"=>"53e7522c77353304d6000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Completed 200 OK in 6ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6040100'), "name"=>"Davon Ward", "reference"=>"Brionna Hermann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6020100'), "author_name"=>"Kara Feil", "content"=>["Deserunt veritatis aperiam sed. Molestiae nihil blanditiis saepe. Aspernatur et natus numquam explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('53e7522c77353304d6030100'), "author_name"=>"Camren Bednar", "content"=>["Voluptas dolor voluptatibus. Eos non sunt doloribus. Aut velit libero et quia. Accusamus delectus aut molestiae. Qui nisi reiciendis sequi molestiae omnis quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7522c77353304d6030100", "product_id"=>"53e7522c77353304d6040100", "comment_id"=>"53e7522c77353304d6020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7522c77353304d6040100'), "comments._id"=>BSON::ObjectId('53e7522c77353304d6020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7522c77353304d6030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Redirected to http://test.host/products/53e7522c77353304d6040100/comments/53e7522c77353304d6020100/comments/53e7522c77353304d6030100 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('53e7522c77353304d6050100'), "firstname"=>"Octavia", "lastname"=>"Weissnat"}] 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.1679ms 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('53e7522c77353304d6060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms Redirected to http://test.host/users/53e7522c77353304d6060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1572ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6070100'), "firstname"=>"Johnny", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2552ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7522c77353304d6070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522c77353304d6070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522c77353304d6070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms 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.1761ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d6080100'), "firstname"=>"Florence", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7522c77353304d6080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522c77353304d6080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms 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('53e7522c77353304d6090100'), "firstname"=>"Vena", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms 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.3058ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7522c77353304d60a0100'), "firstname"=>"Monte", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) 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('53e7522c77353304d60b0100'), "firstname"=>"Amelia", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7522c77353304d60b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522c77353304d60b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms 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('53e7522c77353304d60c0100'), "firstname"=>"Rachael", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7522c77353304d60c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7522c77353304d60c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms Unpermitted parameters: name Redirected to http://test.host/users/53e7522c77353304d60c0100 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.3245ms 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.3383ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms 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.2794ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms 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.4147ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- 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.4633ms 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.3793ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms 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.3335ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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.3397ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75511773533060f000000'), "firstname"=>"Nina", "lastname"=>"Medhurst"}] 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=>"administrators", :query=>{}} runtime: 0.1570ms 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('53e75511773533060f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms 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.1917ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75511773533060f020000'), "firstname"=>"Rossie", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e75511773533060f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75511773533060f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 20ms (Views: 18.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75511773533060f030000'), "firstname"=>"Lawrence", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.7035ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75511773533060f040000'), "firstname"=>"Ismael", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e75511773533060f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75511773533060f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75511773533060f050000'), "firstname"=>"Demetris", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e75511773533060f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75511773533060f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms 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('53e75511773533060f060000'), "name"=>"Isabel Senger", "reference"=>"Leann Beer III", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f070000'), "author_name"=>"Elton Littel", "content"=>["Eveniet quasi occaecati debitis. Iste officiis harum qui. Qui aut ratione dolorum ut praesentium. Aut expedita officia."]}]}] 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('53e75511773533060f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e75511773533060f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75511773533060f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Redirected to http://test.host/admin/products/53e75511773533060f060000/comments/53e75511773533060f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f090000'), "name"=>"Demario Koelpin", "reference"=>"Linnie Predovic", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f0a0000'), "author_name"=>"Fredrick Harvey", "content"=>["Fuga et soluta unde autem. Necessitatibus fugit rerum autem ex mollitia consequatur. Qui non eius nam. Exercitationem corporis enim et. Temporibus consequatur non facere voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e75511773533060f090000", "id"=>"53e75511773533060f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75511773533060f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Redirected to http://test.host/admin/products/53e75511773533060f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f0b0000'), "name"=>"Marge Kuvalis", "reference"=>"Donny Macejkovic", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f0c0000'), "author_name"=>"Johnny Kihn", "content"=>["In harum accusamus eum ut voluptas ad. Laudantium dolorem sint. Autem labore voluptatem dolore. Numquam quos delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e75511773533060f0b0000", "id"=>"53e75511773533060f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f0d0000'), "name"=>"Enola Thiel MD", "reference"=>"Geo Bode", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f0e0000'), "author_name"=>"Vinnie Grady", "content"=>["Labore necessitatibus quia sunt. Veniam iste modi adipisci ipsum magni. Doloremque eos quae quos nam exercitationem sapiente dignissimos. Cum ipsa aut exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e75511773533060f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f0f0000'), "name"=>"Brannon Hoeger", "reference"=>"Dr. Leann Leuschke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f100000'), "author_name"=>"Jameson Feeney DDS", "content"=>["Odio est et atque consequatur. Aspernatur sit deleniti mollitia voluptatem quibusdam optio. Aut ut nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e75511773533060f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f110000'), "name"=>"Forest Spinka", "reference"=>"Rowan Emard", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f120000'), "author_name"=>"Mr. Lowell Swift", "content"=>["Ea placeat eveniet dolorem et. Nihil illum autem esse quidem repudiandae ab laborum. Et est assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e75511773533060f110000", "id"=>"53e75511773533060f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f130000'), "name"=>"Jarret Schowalter MD", "reference"=>"Vivianne Schulist", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e75511773533060f140000'), "author_name"=>"Ms. Lindsay Wisozk", "content"=>["Corporis ullam aut ipsa numquam ut architecto. Omnis tempore aut molestiae qui amet alias maiores. Asperiores aut et maxime. Illum et quaerat enim. Earum omnis illo est et aut ut nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e75511773533060f140000", "product_id"=>"53e75511773533060f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f130000'), "comments._id"=>BSON::ObjectId('53e75511773533060f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Redirected to http://test.host/admin/products/53e75511773533060f130000/comments/53e75511773533060f140000 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('53e75511773533060f150000'), "name"=>"Rudolph Gleason", "reference"=>"Ms. Derek Walsh", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f160000'), "firstname"=>"Duane", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e75511773533060f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms Redirected to http://test.host/admin/products/53e75511773533060f150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f180000'), "name"=>"Arnold Spencer DVM", "reference"=>"Evalyn Prosacco", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f190000'), "firstname"=>"Cody", "lastname"=>"Kuhn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e75511773533060f190000", "product_id"=>"53e75511773533060f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f1a0000'), "name"=>"Destiny Streich", "reference"=>"Milo Collier", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f1b0000'), "firstname"=>"Alexa", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e75511773533060f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f1c0000'), "name"=>"Maryjane Stokes", "reference"=>"Kaylie Farrell", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f1d0000'), "firstname"=>"Myron", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e75511773533060f1d0000", "product_id"=>"53e75511773533060f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f1e0000'), "name"=>"Sam Schuppe MD", "reference"=>"Abraham Ondricka", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e75511773533060f1f0000'), "firstname"=>"Mireya", "lastname"=>"Green"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e75511773533060f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e75511773533060f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e75511773533060f1e0000/manager 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('53e75511773533060f200000'), "name"=>"Cynthia Kuhlman II", "reference"=>"Jaylen Kunde II", "quantity"=>5}] 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=>"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('53e75511773533060f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms Redirected to http://test.host/admin/products/53e75511773533060f210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2884ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f220000'), "name"=>"Dorothy Huels", "reference"=>"Wilton Yost III", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2566ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e75511773533060f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms 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.2787ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f230000'), "name"=>"Price Cummerata", "reference"=>"Lura Zulauf", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e75511773533060f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75511773533060f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75511773533060f240000'), "name"=>"Jamey Kulas", "reference"=>"Mr. Bria Lebsack", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms 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.4790ms Completed 200 OK in 11ms (Views: 10.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060f250000'), "name"=>"Ashleigh Cormier I", "reference"=>"Agnes Tromp DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060f280000'), "name"=>"Dr. Cale Kerluke", "reference"=>"Damian Wunsch", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e75512773533060f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms 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('53e75512773533060f290000'), "name"=>"Caesar Renner", "reference"=>"Jeffrey Little", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75512773533060f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5230ms Redirected to http://test.host/admin/products/53e75512773533060f290000 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('53e75512773533060f2a0000'), "firstname"=>"Arvilla", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2854ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3238ms 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('53e75512773533060f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms Redirected to http://test.host/admin/users/53e75512773533060f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3254ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75512773533060f2c0000'), "firstname"=>"Eveline", "lastname"=>"Kerluke"}] 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=>"admin_users", :query=>{}} runtime: 0.1553ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e75512773533060f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75512773533060f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75512773533060f2c0000')} 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.1532ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75512773533060f2d0000'), "firstname"=>"Paula", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e75512773533060f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75512773533060f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75512773533060f2e0000'), "firstname"=>"Corrine", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms 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.3981ms 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('53e75512773533060f2f0000'), "firstname"=>"Niko", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75512773533060f300000'), "firstname"=>"Kailyn", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e75512773533060f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75512773533060f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75512773533060f310000'), "firstname"=>"Lamont", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e75512773533060f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75512773533060f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e75512773533060f310000 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('53e75512773533060f320000'), "firstname"=>"Shania", "lastname"=>"Metz"}] 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.1423ms 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('53e75512773533060f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms 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.1460ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75512773533060f340000'), "firstname"=>"Arch", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e75512773533060f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75512773533060f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms 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_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75512773533060f350000'), "firstname"=>"Chanelle", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75512773533060f360000'), "firstname"=>"Caroline", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6395ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e75512773533060f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75512773533060f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75512773533060f370000'), "firstname"=>"Roman", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e75512773533060f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75512773533060f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f380000'), "name"=>"Benny Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f390000'), "name"=>"Yazmin Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3a0000'), "name"=>"Cletus Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3b0000'), "name"=>"Mrs. Myra Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3c0000'), "name"=>"Mrs. Talia Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3d0000'), "name"=>"Aron Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3e0000'), "name"=>"Jany Schmitt II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f3f0000'), "name"=>"Parker Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f400000'), "name"=>"Niko Kessler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f410000'), "name"=>"Ms. Loyce Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f420000'), "name"=>"Ms. Cristal Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f430000'), "name"=>"Lesley Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f440000'), "name"=>"Zita Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f450000'), "name"=>"Pietro Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f460000'), "name"=>"Ms. Adell Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f470000'), "name"=>"Teagan Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f480000'), "name"=>"Alisha Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f490000'), "name"=>"Braulio Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4a0000'), "name"=>"Florian Casper III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4b0000'), "name"=>"Peter Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4c0000'), "name"=>"Karina Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4d0000'), "name"=>"Corine Williamson DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4e0000'), "name"=>"Griffin Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f4f0000'), "name"=>"Uriah Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f500000'), "name"=>"Mrs. Camille Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f510000'), "name"=>"Rupert Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f520000'), "name"=>"Adele Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f530000'), "name"=>"Gregg Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f540000'), "name"=>"Alex Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f550000'), "name"=>"Nicole Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f560000'), "name"=>"Jarod Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f570000'), "name"=>"Yasmine Bernhard Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f580000'), "name"=>"Garland Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f590000'), "name"=>"Brady Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5a0000'), "name"=>"Erick Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5b0000'), "name"=>"River Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5c0000'), "name"=>"Ms. Emile Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5d0000'), "name"=>"Malinda McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5e0000'), "name"=>"Paige Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f5f0000'), "name"=>"Ms. Karelle Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f600000'), "name"=>"Ruth Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f610000'), "name"=>"Mr. Bessie Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f620000'), "name"=>"Twila Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f630000'), "name"=>"Mr. Jayda Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f640000'), "name"=>"Mr. Shanon Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f650000'), "name"=>"Shyanne Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f660000'), "name"=>"Raul Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f670000'), "name"=>"Ruben Metz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f680000'), "name"=>"Ms. Theresia Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f690000'), "name"=>"Herbert Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6a0000'), "name"=>"Dean Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6b0000'), "name"=>"Sophia Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6c0000'), "name"=>"Teresa O'Kon DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6d0000'), "name"=>"Hal Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6e0000'), "name"=>"Ms. Rachel Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f6f0000'), "name"=>"Ms. Nick Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f700000'), "name"=>"Elwyn Wiegand MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f710000'), "name"=>"Miss Dominic Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f720000'), "name"=>"Brock Prosacco Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f730000'), "name"=>"Mariana White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f740000'), "name"=>"Efrain McLaughlin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f750000'), "name"=>"Gabe Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f760000'), "name"=>"Mr. Elna Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f770000'), "name"=>"Alberto Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f780000'), "name"=>"Shayne Keebler III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f790000'), "name"=>"Miss D'angelo Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7a0000'), "name"=>"Katrina Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7b0000'), "name"=>"Murl Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7c0000'), "name"=>"Junius Casper II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7d0000'), "name"=>"Colt Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7e0000'), "name"=>"Darrell Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f7f0000'), "name"=>"Miss Modesta Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f800000'), "name"=>"Ruthe Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f810000'), "name"=>"Yasmeen Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f820000'), "name"=>"Polly Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f830000'), "name"=>"Colleen Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f840000'), "name"=>"Dariana Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f850000'), "name"=>"Hilma Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f860000'), "name"=>"Lottie Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f870000'), "name"=>"Lilian Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f880000'), "name"=>"Maci Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f890000'), "name"=>"Rosalee Green III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.6284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8a0000'), "name"=>"Hermina Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8b0000'), "name"=>"Gerald White III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8c0000'), "name"=>"Bria Hartmann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8d0000'), "name"=>"Amara Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8e0000'), "name"=>"Miss Donnie Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f8f0000'), "name"=>"Louvenia Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f900000'), "name"=>"Daron Hane II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f910000'), "name"=>"Dr. Domenick Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f920000'), "name"=>"Zackery Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f930000'), "name"=>"Ruthe Collier Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f940000'), "name"=>"Markus Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f950000'), "name"=>"Dr. Samantha Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f960000'), "name"=>"Mrs. Liana Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f970000'), "name"=>"Verdie Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1228ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms Redirected to http://test.host/categories/53e75512773533060f980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1502ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f990000'), "name"=>"Kayleigh VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1256ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e75512773533060f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1380ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f9a0000'), "name"=>"Noble Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e75512773533060f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 9ms (Views: 8.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f9b0000'), "name"=>"Humberto Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240597698040] runtime: 0.0984ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1899ms Completed 200 OK in 15ms (Views: 14.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f9c0000'), "name"=>"Miss Vivianne Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240730072509] runtime: 0.0682ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1632ms Completed 200 OK in 8ms (Views: 7.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f9d0000'), "name"=>"Keon Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 6ms (Views: 5.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060f9f0000'), "name"=>"Ettie Jacobi II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e75512773533060f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e75512773533060fa00000'), "name"=>"Reymundo Reichert MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e75512773533060fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e75512773533060fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e75512773533060fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms Redirected to http://test.host/categories/53e75512773533060fa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fa10000'), "name"=>"Karine Farrell", "reference"=>"Dr. Kristian Wiza", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fa20000'), "author_name"=>"Kaleigh Kuhlman", "content"=>["Blanditiis dolore reprehenderit quibusdam explicabo. Molestiae magni molestias saepe. Tempore amet non possimus sed repellat. Facere praesentium nulla quia sit voluptatem qui. Omnis et delectus odio quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e75512773533060fa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75512773533060fa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms Redirected to http://test.host/products/53e75512773533060fa10000/comments/53e75512773533060fa30000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fa40000'), "name"=>"Rudolph Lehner", "reference"=>"Jamaal D'Amore Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fa50000'), "author_name"=>"Alphonso Cole", "content"=>["Nesciunt voluptatem quaerat nulla quibusdam. At sint eaque blanditiis voluptas animi assumenda aut. Quidem neque quia a labore reprehenderit. Quas ut quos nobis omnis quia fugiat rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e75512773533060fa40000", "id"=>"53e75512773533060fa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75512773533060fa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms Redirected to http://test.host/products/53e75512773533060fa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fa60000'), "name"=>"Raquel Parker", "reference"=>"Alaina McGlynn", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fa70000'), "author_name"=>"Joaquin Harvey", "content"=>["Provident officia aliquid dolores dolorem quis doloribus rerum. Ipsum nostrum natus et necessitatibus fuga nihil nisi. Necessitatibus dolorum fuga est cum pariatur. Saepe voluptatem accusantium sit eos minima. Dolorum eligendi molestiae et minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e75512773533060fa60000", "id"=>"53e75512773533060fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.9ms) Completed 200 OK in 40ms (Views: 38.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fa80000'), "name"=>"Graham Cruickshank", "reference"=>"Carlotta Hills", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fa90000'), "author_name"=>"Osvaldo Parisian", "content"=>["Similique repudiandae perspiciatis. Eos ipsam id. Temporibus culpa dolores repellendus aut omnis. Perspiciatis dolor voluptatem autem qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e75512773533060fa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060faa0000'), "name"=>"Gene McGlynn", "reference"=>"Murray Strosin DVM", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fab0000'), "author_name"=>"Zachery Rogahn", "content"=>["Inventore autem quisquam qui. Sit nihil necessitatibus. Illo est libero dolorum velit dolores rerum. Facilis iure consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e75512773533060faa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fac0000'), "name"=>"Jan Stracke", "reference"=>"Antwan Heaney II", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fad0000'), "author_name"=>"Raphael Kris IV", "content"=>["Ut ea facere praesentium eos et accusantium et. Eius corporis at molestiae. Omnis animi veritatis ducimus. Doloribus quidem enim et itaque at quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e75512773533060fac0000", "id"=>"53e75512773533060fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fae0000'), "name"=>"Nikko Dickens", "reference"=>"Grace Waters", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060faf0000'), "author_name"=>"Assunta Wehner", "content"=>["Quod inventore omnis consectetur aut quia exercitationem ab. Natus numquam ullam non id. Expedita non quo et quibusdam magni. Maxime est quo similique velit modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e75512773533060fae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fb00000'), "name"=>"Ernie Parisian", "reference"=>"Lauriane Hyatt", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fb10000'), "author_name"=>"Mr. Kareem Bruen", "content"=>["Inventore nam pariatur libero accusamus. Adipisci laudantium qui quibusdam nobis error. Ea minima aut et sequi vel qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e75512773533060fb00000", "id"=>"53e75512773533060fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fb20000'), "name"=>"Margarette Murray Sr.", "reference"=>"Quinten Brown", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75512773533060fb30000'), "author_name"=>"Bartholome Mosciski", "content"=>["Mollitia atque sunt illum assumenda et. Eius sequi itaque ullam est vel. Est qui atque facilis. Non quisquam optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e75512773533060fb30000", "product_id"=>"53e75512773533060fb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fb20000')} 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('53e75512773533060fb20000'), "comments._id"=>BSON::ObjectId('53e75512773533060fb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Redirected to http://test.host/products/53e75512773533060fb20000/comments/53e75512773533060fb30000 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('53e75512773533060fb40000'), "firstname"=>"Odessa", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1327ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Redirected to http://test.host/admin/clients/53e75512773533060fb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1434ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fb60000'), "firstname"=>"Penelope", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1243ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e75512773533060fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms 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.1489ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fb70000'), "firstname"=>"Monique", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2013ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e75512773533060fb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53e75512773533060fb80000'), "firstname"=>"Erwin", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('53e75512773533060fb90000'), "firstname"=>"Marielle", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fba0000'), "firstname"=>"Mohamed", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e75512773533060fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fbb0000'), "firstname"=>"Demond", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e75512773533060fbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Redirected to http://test.host/admin/clients/53e75512773533060fbb0000 Completed 302 Found in 5ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fbc0000'), "firstname"=>"Anjali", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1362ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms Redirected to http://test.host/clients/53e75512773533060fbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1406ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fbe0000'), "firstname"=>"Eleanora", "lastname"=>"Lesch"}] 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.1236ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e75512773533060fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms 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.1427ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fbf0000'), "firstname"=>"Angela", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e75512773533060fbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms 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('53e75512773533060fc00000'), "firstname"=>"Kaitlyn", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms 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('53e75512773533060fc10000'), "firstname"=>"Krystina", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5934ms 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.0ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e75512773533060fc20000'), "firstname"=>"Trey", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e75512773533060fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms 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('53e75512773533060fc30000'), "firstname"=>"Dorris", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e75512773533060fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e75512773533060fc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms Redirected to http://test.host/clients/53e75512773533060fc30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fc40000'), "name"=>"Mireille Ortiz I", "reference"=>"Kirsten Crooks", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fc50000'), "firstname"=>"Elwyn", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e75512773533060fc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms Redirected to http://test.host/products/53e75512773533060fc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fc70000'), "name"=>"Mr. Christiana Marvin", "reference"=>"Phoebe Predovic", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fc80000'), "firstname"=>"Norval", "lastname"=>"Mayert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e75512773533060fc80000", "product_id"=>"53e75512773533060fc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fc90000'), "name"=>"Kaelyn Wolf", "reference"=>"Marques Muller", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fca0000'), "firstname"=>"Alphonso", "lastname"=>"Brakus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e75512773533060fc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fcb0000'), "name"=>"Tremaine Carroll", "reference"=>"Mose Stiedemann", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fcc0000'), "firstname"=>"Mollie", "lastname"=>"Langworth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e75512773533060fcc0000", "product_id"=>"53e75512773533060fcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fcd0000'), "name"=>"Mitchell Doyle", "reference"=>"Clementina Donnelly", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e75512773533060fce0000'), "firstname"=>"Jana", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e75512773533060fce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e75512773533060fcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms Unpermitted parameters: name Redirected to http://test.host/products/53e75512773533060fcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fcf0000'), "name"=>"Maudie Rice", "reference"=>"Claudie Bergstrom Sr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd00000'), "name"=>"Adonis Wyman", "reference"=>"Dale Leannon", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd10000'), "name"=>"Leora O'Hara", "reference"=>"Brenda Rempel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd20000'), "name"=>"Meta Hauck", "reference"=>"Dane Crooks", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd30000'), "name"=>"Stewart Romaguera", "reference"=>"Agustina Gottlieb", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd40000'), "name"=>"Walton Frami", "reference"=>"Edna VonRueden", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1264ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms Redirected to http://test.host/products/53e75512773533060fd50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1882ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd60000'), "name"=>"Judd Schmidt", "reference"=>"Laisha Kris", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5882ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1437ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e75512773533060fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms 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.1674ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd70000'), "name"=>"Celestino Moen", "reference"=>"Javonte Waelchi", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e75512773533060fd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75512773533060fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 41ms (Views: 39.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd80000'), "name"=>"Michele Rohan", "reference"=>"Benny Koelpin", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214952864195] runtime: 0.0989ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2034ms Completed 200 OK in 17ms (Views: 16.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fd90000'), "name"=>"Toney Adams", "reference"=>"Clifton Stehr", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fda0000'), "name"=>"HelloWorld", "reference"=>"Ignatius Morar", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fdb0000'), "name"=>"value", "reference"=>"Cleveland Anderson Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3446ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2111ms Completed 200 OK in 4ms (Views: 3.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1659ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2067ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75512773533060fdc0000'), "name"=>"Favian Smitham", "reference"=>"Melany Schinner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216513525707] runtime: 0.1007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3741ms Completed 200 OK in 15ms (Views: 14.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216373019470] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216287605758] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215475025723] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214951728630] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215302138632] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216670195157] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215388920464] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215510289158] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214800661512] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215149673435] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215843543340] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215755528249] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215538556428] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216415653271] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215194482350] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216461880341] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216831817699] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215172481412] runtime: 0.1028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215919027780] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215603161197] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215711567935] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215218634039] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216602348597] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215731565000] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215973180940] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216506749982] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214921125142] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215229741478] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216296119658] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215858846936] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215436139813] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215857229205] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215166141232] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215318153896] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214785977350] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214760673937] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215527091957] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215861609114] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216105896715] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216645973213] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214957810125] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216487017674] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216443982118] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215587519621] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215262332545] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216703905395] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216476064229] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216745583083] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216855426821] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216634126962] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215786584106] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215080468996] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215421595751] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216553399027] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216250197763] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215118534037] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215748607160] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215197270018] runtime: 0.0892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216392876134] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214902312270] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215798958959] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215457979758] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216392904241] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214801029186] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215623855866] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215838549436] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215012720564] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215020984198] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216143344197] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215744866968] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215710649951] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215423003925] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216207918540] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215937356833] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216259625747] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215768880065] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216588378354] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215291629306] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215379025278] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216769531862] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216742616027] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216273493412] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215688284011] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216824297858] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215220696621] runtime: 0.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216800133808] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216669286349] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215143987241] runtime: 0.0813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215589810856] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215090145374] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216608189855] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215339566493] runtime: 0.0929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215461822816] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215695638966] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216836842866] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215966897805] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216194503544] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215348401145] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216848839366] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215811987155] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214816041940] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215711607991] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215522594270] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215786788295] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216844619684] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214925056217] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214928945003] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215278749913] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214999821281] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215905498167] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216179799028] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316895815] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216010303978] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215619286391] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134088877] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216277195247] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216135537560] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215429305911] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215501577550] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216750200412] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216111905149] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215637047948] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215569620528] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215636233476] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215991670005] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215834831712] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215107698582] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216887694290] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215028325419] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215845661813] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214810475904] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216372454183] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214998803857] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216704197885] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215106078802] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215160128836] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216848607785] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216551054653] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215082146009] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216141176516] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216216275183] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216176012296] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216593913250] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215176549400] runtime: 0.0728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215908048439] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215536059120] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215926320969] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216680257219] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215611822198] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216764215338] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216637658112] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215575528606] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215942731297] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214829439181] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216518062083] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215625982150] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214883465712] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216286763852] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215133946705] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216258156568] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215727515694] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215000005714] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215752136663] runtime: 0.0542ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060fdd0000'), "name"=>"Shanel Will MD", "reference"=>"Ada Stoltenberg Sr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.4695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216650233325] runtime: 0.1021ms Completed 200 OK in 29ms (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('53e75513773533060fde0000'), "name"=>"Bryce Runolfsson", "reference"=>"Esmeralda Zemlak", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e75513773533060fde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms 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('53e75513773533060fdf0000'), "name"=>"Eric Lang", "reference"=>"Alison Ankunding", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060fe10000'), "name"=>"Raymundo Conn", "reference"=>"Kristoffer Fadel", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e75513773533060fe10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060fe20000'), "name"=>"Beau Ullrich", "reference"=>"Earnestine Marquardt", "quantity"=>1}] 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.1406ms 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('53e75513773533060fe30000'), "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.1398ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060fe40000'), "name"=>"Zechariah Cartwright Jr.", "reference"=>"Cole Robel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e75513773533060fe40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe40000')} 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('53e75513773533060fe40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms 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('53e75513773533060fe50000'), "name"=>"Larue Dibbert", "reference"=>"Ward Baumbach", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms 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('53e75513773533060fe70000'), "name"=>"Mr. Ahmad Bahringer", "reference"=>"Hosea Beer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75513773533060fe70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms 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('53e75513773533060fe80000'), "name"=>"Heber Klein", "reference"=>"Anya Hartmann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75513773533060fe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fe80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms Redirected to http://test.host/products/53e75513773533060fe80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060feb0000'), "name"=>"Reba Bahringer", "reference"=>"Simeon Heaney", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060fe90000'), "author_name"=>"Ivah Mann", "content"=>["Nemo a dolores vel quos neque aut magni. Doloribus magnam doloremque itaque. Harum praesentium velit ut est ipsum vitae. Deserunt enim dolores. Ea quis commodi est."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060fea0000'), "author_name"=>"Miss Lukas Upton", "content"=>["Eum repellendus qui et. Nostrum illum voluptate earum a ipsum. Debitis iure ipsam. Laudantium veniam aut est velit nostrum natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.7952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e75513773533060feb0000", "comment_id"=>"53e75513773533060fe90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060feb0000'), "comments._id"=>BSON::ObjectId('53e75513773533060fe90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e75513773533060fec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms Redirected to http://test.host/products/53e75513773533060feb0000/comments/53e75513773533060fe90000/comments/53e75513773533060fec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060fef0000'), "name"=>"Caterina Mertz", "reference"=>"Jacinto Nader", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060fed0000'), "author_name"=>"Candice West", "content"=>["Vel unde qui aut necessitatibus possimus quos quas. Quasi fugiat culpa. Pariatur ullam nobis non."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060fee0000'), "author_name"=>"Bernita Gorczany", "content"=>["Atque unde id molestias in ab. In cumque saepe maxime dolores. Tempore molestiae aut quaerat sint est consectetur dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e75513773533060fef0000", "comment_id"=>"53e75513773533060fed0000", "id"=>"53e75513773533060fee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fef0000')} 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('53e75513773533060fef0000'), "comments._id"=>BSON::ObjectId('53e75513773533060fed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e75513773533060fee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms Redirected to http://test.host/products/53e75513773533060fef0000/comments/53e75513773533060fed0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060ff20000'), "name"=>"Lelah Howell MD", "reference"=>"Joshuah Zieme", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff00000'), "author_name"=>"Vivienne Zieme", "content"=>["Dolorem velit officiis. Ut tenetur dignissimos. Minus doloribus sint illum quae."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff10000'), "author_name"=>"Angie Bergnaum DVM", "content"=>["Perferendis impedit earum dolore qui neque veritatis assumenda. Maxime porro suscipit repellendus odio praesentium. Est cupiditate neque natus odit distinctio est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e75513773533060ff20000", "comment_id"=>"53e75513773533060ff00000", "id"=>"53e75513773533060ff10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060ff20000')} 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.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060ff50000'), "name"=>"Adell Goyette", "reference"=>"Macey Bernier", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff30000'), "author_name"=>"Nicolas Mante II", "content"=>["Nostrum rerum omnis. Iusto cupiditate ea. Animi cumque ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff40000'), "author_name"=>"Arlie Ernser", "content"=>["At voluptatem vel repudiandae. Quidem sit repellat molestiae. Laborum aperiam qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e75513773533060ff50000", "comment_id"=>"53e75513773533060ff30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060ff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060ff80000'), "name"=>"Florian Bosco III", "reference"=>"King Emmerich", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff60000'), "author_name"=>"Shayne Quitzon", "content"=>["Alias veniam perspiciatis illo. Ea nostrum sit doloremque maxime iste. Doloribus nesciunt tenetur qui."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff70000'), "author_name"=>"Miss Kara Harber", "content"=>["Voluptatum accusamus error eum. Maxime fuga sunt ipsa repellendus nihil dolores. Quia voluptatem itaque aspernatur iusto. Maxime quidem cum ex tenetur libero et quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e75513773533060ff80000", "comment_id"=>"53e75513773533060ff60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060ff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060ffb0000'), "name"=>"Mrs. Turner Rice", "reference"=>"Laura Maggio II", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ff90000'), "author_name"=>"Jacklyn Purdy", "content"=>["Sequi autem rerum magnam autem nobis. Inventore laboriosam et optio blanditiis. Adipisci dignissimos consequuntur. Voluptate corporis ullam qui quis numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ffa0000'), "author_name"=>"Phyllis Marquardt", "content"=>["Blanditiis et placeat perferendis alias voluptatum. Dolores voluptate praesentium. Beatae non sed perspiciatis magni nam autem. Deleniti ut quam nulla ipsum est animi veritatis. Quia voluptatem est ex."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e75513773533060ffb0000", "comment_id"=>"53e75513773533060ff90000", "id"=>"53e75513773533060ffa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060ffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060ffe0000'), "name"=>"Madisen Robel I", "reference"=>"Elvie Frami", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ffc0000'), "author_name"=>"Thelma Roberts Sr.", "content"=>["Nemo est culpa totam voluptas voluptas minus. Beatae fuga voluptatum similique. Voluptates illum repellendus ab nobis est optio. Numquam quisquam veniam ducimus quam."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060ffd0000'), "author_name"=>"Nico Dach", "content"=>["Dolores amet qui iure. Et natus necessitatibus ut nihil perferendis rerum aspernatur. Illum et cupiditate nihil voluptatum officia ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e75513773533060ffe0000", "comment_id"=>"53e75513773533060ffc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060ffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060f010100'), "name"=>"Dr. Gideon Beier", "reference"=>"Miss Eli Jacobi", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060fff0000'), "author_name"=>"Mr. Dayna Vandervort", "content"=>["Recusandae et voluptatibus eos. Consequatur quam voluptas est enim. Deserunt nesciunt aperiam sint et. Corrupti voluptatum rerum omnis aut."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060f000100'), "author_name"=>"Dell Ferry", "content"=>["Tempore in voluptas nemo nobis dolore aut. Est non dolorem voluptate accusantium soluta. Quae quia accusamus rerum ut. Quis sunt eligendi eum rerum. Sunt omnis et quis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e75513773533060f010100", "comment_id"=>"53e75513773533060fff0000", "id"=>"53e75513773533060f000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060f010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75513773533060f040100'), "name"=>"Valentine Waelchi", "reference"=>"Tina Hickle DVM", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060f020100'), "author_name"=>"Mac Okuneva", "content"=>["Quia voluptatem quam cupiditate doloremque eum. Officia distinctio facere aspernatur in quis aliquid architecto. Est laborum illo. Facilis et aut ab."], "comments"=>[{"_id"=>BSON::ObjectId('53e75513773533060f030100'), "author_name"=>"Granville Veum", "content"=>["Ullam non id eum. A iste rerum delectus magni dolor omnis. Fugit ut aut nihil quisquam molestias. Consequatur quas sint aut. Optio natus repellat modi ut eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e75513773533060f030100", "product_id"=>"53e75513773533060f040100", "comment_id"=>"53e75513773533060f020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060f040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75513773533060f040100'), "comments._id"=>BSON::ObjectId('53e75513773533060f020100'), "comments.0.comments._id"=>BSON::ObjectId('53e75513773533060f030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Redirected to http://test.host/products/53e75513773533060f040100/comments/53e75513773533060f020100/comments/53e75513773533060f030100 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('53e75513773533060f050100'), "firstname"=>"Kristian", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1270ms 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('53e75513773533060f060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms Redirected to http://test.host/users/53e75513773533060f060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1693ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75513773533060f070100'), "firstname"=>"Kathryne", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1261ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e75513773533060f070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75513773533060f070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75513773533060f070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms 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.1357ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75513773533060f080100'), "firstname"=>"Immanuel", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e75513773533060f080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75513773533060f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75513773533060f090100'), "firstname"=>"Dulce", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms 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.3533ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75513773533060f0a0100'), "firstname"=>"Raul", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75513773533060f0b0100'), "firstname"=>"Oren", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e75513773533060f0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75513773533060f0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms 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('53e75513773533060f0c0100'), "firstname"=>"Judd", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e75513773533060f0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75513773533060f0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms Unpermitted parameters: name Redirected to http://test.host/users/53e75513773533060f0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6591ms 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.6609ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8466ms 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.6166ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0082ms 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.6090ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644000000'), "firstname"=>"Moises", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 72.8659ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4431ms 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('53e7555e7735330644010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6518ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3603ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644020000'), "firstname"=>"Beaulah", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e7555e7735330644020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4307ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 24ms (Views: 22.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644030000'), "firstname"=>"Modesto", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms 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: 4.1ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644040000'), "firstname"=>"Kristina", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e7555e7735330644040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644050000'), "firstname"=>"Kali", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4961ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e7555e7735330644050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms 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('53e7555e7735330644060000'), "name"=>"Ottis Gottlieb V", "reference"=>"Casey Streich", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e7735330644070000'), "author_name"=>"Kitty Gibson", "content"=>["Corrupti voluptas sunt in ipsam molestias exercitationem. Dolor dolorem occaecati. Reiciendis ducimus sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7555e7735330644060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7555e7735330644080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Redirected to http://test.host/admin/products/53e7555e7735330644060000/comments/53e7555e7735330644080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644090000'), "name"=>"Jaylon Hahn", "reference"=>"Peyton Luettgen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e77353306440a0000'), "author_name"=>"Madison Thompson", "content"=>["Nisi et soluta ut. Repellendus perferendis est dolor et tempora veritatis. Distinctio et qui sed ex non est nesciunt. Et in fuga aut sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7555e7735330644090000", "id"=>"53e7555e77353306440a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644090000')} 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('53e7555e7735330644090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7555e77353306440a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms Redirected to http://test.host/admin/products/53e7555e7735330644090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306440b0000'), "name"=>"Rex Kautzer", "reference"=>"Ernie Murazik", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e77353306440c0000'), "author_name"=>"Watson Dach", "content"=>["Accusamus laboriosam qui ratione aut ut perspiciatis. Atque voluptatibus eum recusandae nam. Sed tempora sit sint labore. Placeat et molestias culpa magnam ipsa occaecati voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e7555e77353306440b0000", "id"=>"53e7555e77353306440c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306440b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306440d0000'), "name"=>"Doris Smith Jr.", "reference"=>"Keyshawn Nitzsche", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e77353306440e0000'), "author_name"=>"Cristian Renner I", "content"=>["Accusantium repudiandae amet necessitatibus. Aut ea natus officiis eos ipsam. Occaecati ducimus et omnis odit. Ea sed sit aut rerum sunt magni. Sint in beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e7555e77353306440d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306440d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306440f0000'), "name"=>"Maegan Hessel", "reference"=>"Miss Guido Schultz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e7735330644100000'), "author_name"=>"Harold Corwin", "content"=>["Ipsum doloremque distinctio et hic architecto sapiente esse. Quibusdam quaerat ab inventore est. Aut quasi expedita error quia. Sed autem aut repellendus quas iusto veniam. Quia quaerat assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e7555e77353306440f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306440f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644110000'), "name"=>"Brett Nader", "reference"=>"Olin Kertzmann Sr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e7735330644120000'), "author_name"=>"Kane Jast", "content"=>["Facere consequatur optio ut et nihil numquam. Earum fugit dolor id ab aliquid. Debitis quibusdam et beatae quo ad commodi. Corporis fugit et facilis rem quam saepe maiores. Voluptatem blanditiis pariatur fugit doloremque aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5111ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e7555e7735330644110000", "id"=>"53e7555e7735330644120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644130000'), "name"=>"Yazmin Dietrich", "reference"=>"Dr. Oswaldo Mitchell", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7555e7735330644140000'), "author_name"=>"Mr. Kaci Gusikowski", "content"=>["Sint natus consequatur atque sunt voluptate modi ipsa. Autem quis laudantium molestiae. Sunt vel sint numquam necessitatibus. Dolores itaque molestias nobis rerum veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7555e7735330644140000", "product_id"=>"53e7555e7735330644130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644130000'), "comments._id"=>BSON::ObjectId('53e7555e7735330644140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms Redirected to http://test.host/admin/products/53e7555e7735330644130000/comments/53e7555e7735330644140000 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('53e7555e7735330644150000'), "name"=>"Madilyn Bogisich", "reference"=>"Dr. Isabella Fadel", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e7555e7735330644160000'), "firstname"=>"Ibrahim", "lastname"=>"O'Conner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5298ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7555e7735330644150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4099ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5842ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7555e7735330644170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Redirected to http://test.host/admin/products/53e7555e7735330644150000/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('53e7555e7735330644180000'), "name"=>"Jordan Treutel", "reference"=>"Samson Schneider", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7555e7735330644190000'), "firstname"=>"Emerson", "lastname"=>"Wintheiser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e7555e7735330644190000", "product_id"=>"53e7555e7735330644180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306441a0000'), "name"=>"Nora Dickinson", "reference"=>"Novella Berge", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7555e77353306441b0000'), "firstname"=>"Yadira", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e7555e77353306441a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306441c0000'), "name"=>"Retha Bayer", "reference"=>"Ana Beahan V", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7555e77353306441d0000'), "firstname"=>"Odessa", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e7555e77353306441d0000", "product_id"=>"53e7555e77353306441c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306441c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e77353306441e0000'), "name"=>"Mr. Petra Smitham", "reference"=>"Genoveva Schimmel", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7555e77353306441f0000'), "firstname"=>"Avis", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e7555e77353306441f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7555e77353306441e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e77353306441e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e7555e77353306441e0000/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('53e7555e7735330644200000'), "name"=>"Corene Wisoky DVM", "reference"=>"Mohammad Kris DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1832ms 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('53e7555e7735330644210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Redirected to http://test.host/admin/products/53e7555e7735330644210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1893ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644220000'), "name"=>"Mauricio Hammes", "reference"=>"Joel Larkin MD", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.1754ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e7555e7735330644220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms 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('53e7555e7735330644230000'), "name"=>"Gordon Fritsch", "reference"=>"Miss Makenzie Cummerata", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e7555e7735330644230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644240000'), "name"=>"Liliane Moen I", "reference"=>"Janet Johns", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms 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.4978ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644250000'), "name"=>"Callie Nolan", "reference"=>"Darien Reichert", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (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('53e7555e7735330644280000'), "name"=>"Jaycee Block", "reference"=>"Ms. Creola Beer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e7555e7735330644280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms 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('53e7555e7735330644290000'), "name"=>"Chaz Mohr", "reference"=>"Christine Deckow", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7555e7735330644290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555e7735330644290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms Redirected to http://test.host/admin/products/53e7555e7735330644290000 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('53e7555e77353306442a0000'), "firstname"=>"Aubree", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1757ms 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('53e7555e77353306442b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms Redirected to http://test.host/admin/users/53e7555e77353306442b0000 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('53e7555e77353306442c0000'), "firstname"=>"Chris", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e7555e77353306442c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7555e77353306442c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7555e77353306442c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms 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.1767ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7555e77353306442d0000'), "firstname"=>"Sylvester", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e7555e77353306442d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7555e77353306442d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7555e77353306442e0000'), "firstname"=>"Issac", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7104ms 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.3356ms 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('53e7555e77353306442f0000'), "firstname"=>"Mason", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms 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.2ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644300000'), "firstname"=>"Ericka", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e7555e7735330644300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7555e7735330644300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Completed 200 OK in 3ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644310000'), "firstname"=>"Freddie", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7555e7735330644310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7555e7735330644310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e7555e7735330644310000 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('53e7555e7735330644320000'), "firstname"=>"Leone", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2667ms 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('53e7555e7735330644330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms 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.1926ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644340000'), "firstname"=>"Bette", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7555e7735330644340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644350000'), "firstname"=>"Maye", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644360000'), "firstname"=>"Kory", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7555e7735330644360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644370000'), "firstname"=>"Bonita", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7555e7735330644370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7555e7735330644370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644380000'), "name"=>"Marilou Stamm II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e7735330644380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644390000'), "name"=>"Faye Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e7735330644390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443a0000'), "name"=>"Johnson Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443b0000'), "name"=>"Rozella Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443c0000'), "name"=>"Joyce Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443d0000'), "name"=>"Murphy D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443e0000'), "name"=>"Allison Gerlach Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e77353306443f0000'), "name"=>"Mrs. April Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e77353306443f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644400000'), "name"=>"Dr. Idella Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e7735330644400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644410000'), "name"=>"Mr. Coralie Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e7735330644410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555e7735330644420000'), "name"=>"Ms. Mateo Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555e7735330644420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644430000'), "name"=>"Maiya McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644440000'), "name"=>"Chaz Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644450000'), "name"=>"Flossie Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644460000'), "name"=>"Domenick Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644470000'), "name"=>"Emelie Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644480000'), "name"=>"Zola Waters Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644490000'), "name"=>"Dr. Dion Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444a0000'), "name"=>"Haleigh Douglas V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444b0000'), "name"=>"Lizzie Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444c0000'), "name"=>"Haskell Dickinson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444d0000'), "name"=>"Joseph Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444e0000'), "name"=>"Darron Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306444f0000'), "name"=>"Geo Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306444f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644500000'), "name"=>"Mrs. Samir Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644510000'), "name"=>"Mrs. Kacey Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644520000'), "name"=>"Samir Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644530000'), "name"=>"Shanie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644540000'), "name"=>"Ms. Jameson Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644550000'), "name"=>"Conor Pfannerstill Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644560000'), "name"=>"Dr. Brisa Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644570000'), "name"=>"Delaney Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644580000'), "name"=>"Jessie Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644590000'), "name"=>"Reginald McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445a0000'), "name"=>"Hector Beahan MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445b0000'), "name"=>"Derrick Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445c0000'), "name"=>"Sigrid Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445d0000'), "name"=>"Valerie Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445e0000'), "name"=>"Vena Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306445f0000'), "name"=>"Chelsea Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306445f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644600000'), "name"=>"Deven Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644610000'), "name"=>"Bertram Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644620000'), "name"=>"Unique Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644630000'), "name"=>"Dr. Bradley Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644640000'), "name"=>"Mackenzie Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644650000'), "name"=>"Noel Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644660000'), "name"=>"Armando Welch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644670000'), "name"=>"Margret Reichert Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644680000'), "name"=>"Ted Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644690000'), "name"=>"Addie Beatty DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446a0000'), "name"=>"Mr. Jermain Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446b0000'), "name"=>"Miss Hubert Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446c0000'), "name"=>"Gunner Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446d0000'), "name"=>"Myrtis Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446e0000'), "name"=>"Marcus Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306446f0000'), "name"=>"Florine Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306446f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644700000'), "name"=>"Roselyn Hauck I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644710000'), "name"=>"Marty Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644720000'), "name"=>"Macey D'Amore I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644730000'), "name"=>"Art Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644740000'), "name"=>"Lorenzo DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644750000'), "name"=>"Anthony O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644760000'), "name"=>"Jenifer Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644770000'), "name"=>"Howell Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644780000'), "name"=>"Mr. Estelle Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644790000'), "name"=>"Christopher Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447a0000'), "name"=>"Ryder Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447b0000'), "name"=>"Burdette Weber Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447c0000'), "name"=>"Mr. Sandra Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447d0000'), "name"=>"Leola Ankunding MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447e0000'), "name"=>"Jazmyne Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306447f0000'), "name"=>"Avery Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306447f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644800000'), "name"=>"Trevion Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644810000'), "name"=>"Vinnie Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644820000'), "name"=>"Ana Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644830000'), "name"=>"Ms. Madyson Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644840000'), "name"=>"Deon Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644850000'), "name"=>"Jewell Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644860000'), "name"=>"Gus Marquardt Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644870000'), "name"=>"Dion Heller IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644880000'), "name"=>"Elmira Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.9463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644890000'), "name"=>"Timmothy Abbott Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448a0000'), "name"=>"Jason Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448b0000'), "name"=>"Izabella Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448c0000'), "name"=>"Dr. Simeon Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448d0000'), "name"=>"Meredith Jacobi DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448e0000'), "name"=>"Javonte Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306448f0000'), "name"=>"Dr. Jordyn Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306448f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644900000'), "name"=>"Rosella Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644910000'), "name"=>"Jaclyn Schamberger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644920000'), "name"=>"Mr. Rodger Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644930000'), "name"=>"Katelyn Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644940000'), "name"=>"Nils Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644950000'), "name"=>"Damien Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644960000'), "name"=>"Hassan Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644970000'), "name"=>"Cortney Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1627ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms Redirected to http://test.host/categories/53e7555f7735330644980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1885ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644990000'), "name"=>"Luciano Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1739ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7555f7735330644990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f7735330644990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f7735330644990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1853ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306449a0000'), "name"=>"Cornelius Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7555f77353306449a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f77353306449a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 10ms (Views: 9.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306449b0000'), "name"=>"Precious Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241268194102] runtime: 0.0932ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1966ms Completed 200 OK in 16ms (Views: 15.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306449c0000'), "name"=>"Dr. Geo Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241783793509] runtime: 0.0724ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1702ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306449d0000'), "name"=>"Miss Grayce Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f77353306449f0000'), "name"=>"Keegan Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7555f77353306449f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f77353306449f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f77353306449f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644a00000'), "name"=>"Darby Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7555f7735330644a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f7735330644a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7555f7735330644a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7555f7735330644a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms Redirected to http://test.host/categories/53e7555f7735330644a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644a10000'), "name"=>"Antonio VonRueden", "reference"=>"Mr. Tyrel Waelchi", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644a20000'), "author_name"=>"Ellie Kerluke", "content"=>["Eos voluptas eum voluptate nulla ratione autem. Ea et exercitationem voluptatem sed sapiente quibusdam et. Aut nihil porro."]}]}] 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('53e7555f7735330644a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7555f7735330644a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7555f7735330644a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4507ms Redirected to http://test.host/products/53e7555f7735330644a10000/comments/53e7555f7735330644a30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644a40000'), "name"=>"Lilyan Weber", "reference"=>"Miss Skye Metz", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644a50000'), "author_name"=>"Jonathan Beatty", "content"=>["Iste ratione debitis voluptatem quo recusandae. Saepe sed architecto sit facere velit. Fugit quisquam consequatur et ipsam consequatur mollitia. Expedita et labore vel rerum pariatur quam omnis. Voluptatem neque dicta nulla necessitatibus ea rem beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7555f7735330644a40000", "id"=>"53e7555f7735330644a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7555f7735330644a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Redirected to http://test.host/products/53e7555f7735330644a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644a60000'), "name"=>"Lucy Runolfsson", "reference"=>"Andrew Jerde", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644a70000'), "author_name"=>"Brianne Murazik", "content"=>["Culpa quas libero natus et aperiam blanditiis. Beatae et reprehenderit. Nulla id tenetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7555f7735330644a60000", "id"=>"53e7555f7735330644a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 42ms (Views: 40.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644a80000'), "name"=>"Florine Cronin Sr.", "reference"=>"Ellie McClure", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644a90000'), "author_name"=>"Leo Kertzmann IV", "content"=>["Dolore id quae tenetur iusto et sunt. Sunt nulla laudantium neque. Omnis maxime et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7555f7735330644a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644aa0000'), "name"=>"Richmond Wiegand", "reference"=>"Roderick Kulas", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644ab0000'), "author_name"=>"Ms. Presley Powlowski", "content"=>["Accusamus reiciendis eum et animi rem aut. Voluptatum molestias consequatur mollitia corporis. Vitae sed sed asperiores et unde. Eum numquam totam nam odio qui corporis itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7555f7735330644aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644ac0000'), "name"=>"Marianna Mohr", "reference"=>"Lourdes Heathcote", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644ad0000'), "author_name"=>"Makenzie Koepp Jr.", "content"=>["Impedit animi repellendus non placeat eos omnis culpa. Et officiis id porro ullam dolorem quia. Optio veniam neque aliquid facere doloremque voluptatem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7555f7735330644ac0000", "id"=>"53e7555f7735330644ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644ae0000'), "name"=>"Rhea Daniel", "reference"=>"Arturo Watsica", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644af0000'), "author_name"=>"Dr. Rodrick Emmerich", "content"=>["Iste eum aperiam ut. Adipisci voluptas dolore ad. Dolorum perspiciatis aut officia dolores. Quod omnis voluptas pariatur sit laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7555f7735330644ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644b00000'), "name"=>"Lulu Sauer", "reference"=>"Ivory Bernhard", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644b10000'), "author_name"=>"Simone Effertz", "content"=>["Est eos id. Autem earum impedit voluptatum quas eveniet. Voluptas reprehenderit rem et accusamus consequatur ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7555f7735330644b00000", "id"=>"53e7555f7735330644b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644b20000'), "name"=>"Bernice Ruecker DDS", "reference"=>"Mr. Heaven Rodriguez", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7555f7735330644b30000'), "author_name"=>"Mrs. Chyna Moore", "content"=>["Saepe eum quia quis optio. Eaque temporibus ratione suscipit. Quidem ut aut ullam saepe aperiam ut enim. Consequatur praesentium voluptatibus soluta odio quaerat rem iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8670ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7555f7735330644b30000", "product_id"=>"53e7555f7735330644b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644b20000'), "comments._id"=>BSON::ObjectId('53e7555f7735330644b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Redirected to http://test.host/products/53e7555f7735330644b20000/comments/53e7555f7735330644b30000 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('53e7555f7735330644b40000'), "firstname"=>"Pedro", "lastname"=>"Robel"}] 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=>"clients", :query=>{}} runtime: 0.1438ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Redirected to http://test.host/admin/clients/53e7555f7735330644b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2404ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644b60000'), "firstname"=>"Paula", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2077ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7555f7735330644b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms 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.1683ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644b70000'), "firstname"=>"Brando", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7555f7735330644b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53e7555f7735330644b80000'), "firstname"=>"Emie", "lastname"=>"Senger"}] 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.2952ms 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('53e7555f7735330644b90000'), "firstname"=>"Josefa", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644ba0000'), "firstname"=>"Alycia", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7555f7735330644ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms 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('53e7555f7735330644bb0000'), "firstname"=>"Zakary", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7555f7735330644bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4077ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Redirected to http://test.host/admin/clients/53e7555f7735330644bb0000 Completed 302 Found in 5ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644bc0000'), "firstname"=>"Lydia", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2383ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms Redirected to http://test.host/clients/53e7555f7735330644bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1876ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644be0000'), "firstname"=>"Carolyn", "lastname"=>"Larkin"}] 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.1688ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7555f7735330644be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms 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('53e7555f7735330644bf0000'), "firstname"=>"Vita", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7555f7735330644bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms 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('53e7555f7735330644c00000'), "firstname"=>"Henri", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms 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('53e7555f7735330644c10000'), "firstname"=>"Kiana", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms 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('53e7555f7735330644c20000'), "firstname"=>"Clementine", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7555f7735330644c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644c30000'), "firstname"=>"Julio", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7555f7735330644c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7555f7735330644c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Redirected to http://test.host/clients/53e7555f7735330644c30000 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('53e7555f7735330644c40000'), "name"=>"Rudy Reilly", "reference"=>"Conor Luettgen Sr.", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644c50000'), "firstname"=>"Vada", "lastname"=>"Casper"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7555f7735330644c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644c40000')} 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('53e7555f7735330644c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms Redirected to http://test.host/products/53e7555f7735330644c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644c70000'), "name"=>"Torrey Crooks", "reference"=>"Grace Baumbach", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644c80000'), "firstname"=>"Sylvester", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7555f7735330644c80000", "product_id"=>"53e7555f7735330644c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644c90000'), "name"=>"Shanon Ullrich", "reference"=>"Harley Prohaska", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644ca0000'), "firstname"=>"Forrest", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7555f7735330644c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644cb0000'), "name"=>"Vance Rogahn", "reference"=>"Elise Ruecker", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644cc0000'), "firstname"=>"Cale", "lastname"=>"Gutmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7555f7735330644cc0000", "product_id"=>"53e7555f7735330644cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644cd0000'), "name"=>"Alfredo Maggio", "reference"=>"Isabel Wisozk III", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7555f7735330644ce0000'), "firstname"=>"Lenny", "lastname"=>"Kihn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7206ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7555f7735330644ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7555f7735330644cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms Unpermitted parameters: name Redirected to http://test.host/products/53e7555f7735330644cd0000/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('53e7555f7735330644cf0000'), "name"=>"Joaquin Jones", "reference"=>"Janessa Lubowitz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d00000'), "name"=>"Dameon Stracke", "reference"=>"Jonatan Gusikowski MD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d10000'), "name"=>"Mr. Rebeca Ondricka", "reference"=>"Royal Stoltenberg", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d20000'), "name"=>"Mrs. Tomas Collins", "reference"=>"Dr. River Morar", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d30000'), "name"=>"Lizeth Wisoky", "reference"=>"Genoveva Shanahan IV", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d40000'), "name"=>"Aleen Botsford", "reference"=>"Emmalee Dooley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2333ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Redirected to http://test.host/products/53e7555f7735330644d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2230ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d60000'), "name"=>"Roma VonRueden IV", "reference"=>"Mitchel Larson", "quantity"=>3}] 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.1768ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7555f7735330644d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms 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.1807ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d70000'), "name"=>"Mrs. Newell Moore", "reference"=>"Miss Tristin Ankunding", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7555f7735330644d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7555f7735330644d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 41ms (Views: 39.7ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d80000'), "name"=>"Ms. Elyse Waelchi", "reference"=>"Jewel Labadie", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216117739056] runtime: 0.1081ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2351ms Completed 200 OK in 17ms (Views: 16.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644d90000'), "name"=>"Gabriella Howe", "reference"=>"Hector Goyette I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644da0000'), "name"=>"HelloWorld", "reference"=>"Ms. Catharine Thiel", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644db0000'), "name"=>"value", "reference"=>"Dr. Filomena Klein", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2606ms Completed 200 OK in 5ms (Views: 3.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2324ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1703ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2596ms Completed 200 OK in 3ms (Views: 2.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2432ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7555f7735330644dc0000'), "name"=>"Laisha Bednar", "reference"=>"Adrienne Leffler", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316036477] runtime: 0.0954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1922ms Completed 200 OK in 15ms (Views: 14.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215746825195] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216172388907] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214969219577] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215447342604] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214888105153] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216291216986] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215173223148] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216844396068] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215439824692] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215777642646] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216041519203] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215935871011] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215399995576] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.6661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215423334860] runtime: 0.1021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214835989576] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216841747004] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215239802820] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215072248056] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215316170133] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216602283016] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215394069123] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215920064356] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216287930086] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215575282010] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214977109314] runtime: 0.0826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214786090501] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215932175474] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215716454120] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215400897745] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215387232646] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215226705186] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895588036] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895728845] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215809514414] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215631233694] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216783986645] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215394250552] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215157056242] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215538980885] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214771810708] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215348045871] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215369946392] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214933061340] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215356815177] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214939983102] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215999196382] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216096837517] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216184620215] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214752702166] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215747730140] runtime: 0.1015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216558036548] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215250299316] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214963273793] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215826038014] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215810858491] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216723469548] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214798843730] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216413630400] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214771949014] runtime: 0.0776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215935424450] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216160487655] runtime: 0.0775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215695790669] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214879334905] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215989815749] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215949843565] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215898326057] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215566185720] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216874770955] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215527417797] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215601480813] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214916640762] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216764005003] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215505447685] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215488935968] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215208376865] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215868418981] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216603744507] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216417568817] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215310830669] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216733226075] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216120413033] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215778819808] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215429577188] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215460666592] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215914890820] runtime: 0.0819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215343770730] runtime: 0.0814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215416513720] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216171048830] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215537038917] runtime: 0.1207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215198618035] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216285462709] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216562295591] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216133583103] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214838761687] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216146193190] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215617207600] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215160116366] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214868988584] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215333634419] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216270526690] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215098251679] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216509754494] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216327737611] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215450283877] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215084064225] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216460729411] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215335514755] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215952710910] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215841205427] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216295215696] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216770238591] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216789767357] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215347227087] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215164968571] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216811322814] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216525539041] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215733953922] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216814568360] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216089959103] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215992518446] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216769440028] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215772340025] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215652063429] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215784650855] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214802532618] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216806862595] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216266066912] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215896491913] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216573584599] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216777053306] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216613403084] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216145406191] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216536240716] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215972713440] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216730216298] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214955522833] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215280405092] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216766562145] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214935264501] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215812157171] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216579221008] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216035044578] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216247866869] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215402755996] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216081696074] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216718304891] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215435713054] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214856070474] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216874840984] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216304720650] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216006972006] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215127441257] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216564411793] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215023023959] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216856297688] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216175516530] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215618414180] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215483960071] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216663305444] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216295629529] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216077780988] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216247090543] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215662689837] runtime: 0.0492ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644dd0000'), "name"=>"Felicity Hintz", "reference"=>"Jonathon Braun", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.9492ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216338529681] runtime: 0.0776ms 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('53e755607735330644de0000'), "name"=>"Colby Larkin II", "reference"=>"Layla Schinner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e755607735330644de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644de0000')} 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('53e755607735330644df0000'), "name"=>"Effie Gleichner", "reference"=>"Abigail Howe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e10000'), "name"=>"Olin Paucek", "reference"=>"Mrs. Vince Nitzsche", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e755607735330644e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e20000'), "name"=>"Raphaelle Hackett", "reference"=>"Miss Monique Goldner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 81.5036ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5052ms 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('53e755607735330644e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7918ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5017ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e40000'), "name"=>"Margaretta Abernathy", "reference"=>"Kenton Casper DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6108ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e755607735330644e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5979ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e50000'), "name"=>"Alize Huels II", "reference"=>"Marlee Bailey", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6179ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e70000'), "name"=>"Joshua Nicolas", "reference"=>"Kristian O'Connell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7467ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e755607735330644e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5484ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms Completed 202 Accepted in 6ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644e80000'), "name"=>"Rupert Reynolds", "reference"=>"Dr. Manley Wilkinson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e755607735330644e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5622ms Redirected to http://test.host/products/53e755607735330644e80000 Completed 302 Found in 6ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644eb0000'), "name"=>"Marc Rohan DDS", "reference"=>"Geovanny Prohaska I", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644e90000'), "author_name"=>"Laury Romaguera", "content"=>["Error nihil vero aliquid incidunt ducimus omnis. Excepturi dolor aut ad doloribus possimus. Aut molestiae est tenetur optio nihil. Odio laboriosam est fugiat quod similique aut et."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644ea0000'), "author_name"=>"Mr. Lowell Shields", "content"=>["Quia tenetur consequuntur autem. Tenetur quo et. Qui rerum nulla ut sunt aspernatur modi molestiae. Corporis tempora dolorem. Exercitationem deleniti mollitia maiores eos quod laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4219ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e755607735330644eb0000", "comment_id"=>"53e755607735330644e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5204ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644eb0000'), "comments._id"=>BSON::ObjectId('53e755607735330644e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e755607735330644ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7160ms Redirected to http://test.host/products/53e755607735330644eb0000/comments/53e755607735330644e90000/comments/53e755607735330644ec0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644ef0000'), "name"=>"Diana Stanton", "reference"=>"Erick Paucek", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644ed0000'), "author_name"=>"Cole Bartell", "content"=>["Quia neque in. Ut voluptatem sed optio aut. Est vel labore voluptatibus beatae. Ullam inventore similique dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644ee0000'), "author_name"=>"Tina McCullough", "content"=>["Et nisi voluptatem soluta voluptas rerum quisquam. Maiores nobis dolorem et. Minus ipsam aut ratione odit aliquid quam voluptate. Sint unde veritatis non nemo est sed. Cum et illo et dolorem quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e755607735330644ef0000", "comment_id"=>"53e755607735330644ed0000", "id"=>"53e755607735330644ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4909ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644ef0000'), "comments._id"=>BSON::ObjectId('53e755607735330644ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e755607735330644ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7139ms Redirected to http://test.host/products/53e755607735330644ef0000/comments/53e755607735330644ed0000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3818ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644f20000'), "name"=>"Buck Rosenbaum", "reference"=>"Lesley Hansen", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f00000'), "author_name"=>"Reinhold Bernier", "content"=>["Est deleniti distinctio exercitationem sequi voluptate facere. Sed veritatis omnis. Quasi consequatur omnis dolor. Natus aut numquam. Consequatur repudiandae est eius."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f10000'), "author_name"=>"Salvador Rowe PhD", "content"=>["Eaque sint ex tempore maiores veniam est voluptatem. Quidem harum tempora vel maxime. Qui ut repellat esse ad quam earum at. Delectus voluptas dolor reprehenderit ipsa et aut. Rem illo tempore dolores tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e755607735330644f20000", "comment_id"=>"53e755607735330644f00000", "id"=>"53e755607735330644f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4322ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 12ms (Views: 8.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644f50000'), "name"=>"Judson Osinski IV", "reference"=>"Madge Turner", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f30000'), "author_name"=>"Jamison Ferry IV", "content"=>["Perspiciatis quia est. Id sed dolores aliquam vel repudiandae veritatis. Voluptatibus voluptas tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f40000'), "author_name"=>"Charlene Olson", "content"=>["Autem quasi voluptate ipsam atque. Quia eveniet sed. Eius ratione itaque nostrum corporis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6225ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e755607735330644f50000", "comment_id"=>"53e755607735330644f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4222ms Completed 200 OK in 8ms (Views: 4.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644f80000'), "name"=>"Matteo Lesch PhD", "reference"=>"Dr. Roxanne O'Reilly", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f60000'), "author_name"=>"Dalton Nikolaus V", "content"=>["Odio voluptas excepturi. Quisquam magnam praesentium maxime. Suscipit qui omnis optio."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f70000'), "author_name"=>"Dr. Clovis MacGyver", "content"=>["Ipsa aut similique est temporibus nemo aut. Perspiciatis fugiat nemo voluptatem fugit. Repellat aut quasi sunt quia. Quam ut iste optio voluptatem velit. Itaque velit dolores exercitationem qui iure facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e755607735330644f80000", "comment_id"=>"53e755607735330644f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644fb0000'), "name"=>"Marcia Parisian III", "reference"=>"Mercedes Zulauf", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644f90000'), "author_name"=>"Blaze Grady IV", "content"=>["Consequatur quo ex. Ut quos similique reprehenderit nihil quia id non. Earum quo ipsa quasi explicabo. Soluta voluptates sit esse maxime iste ut aliquid."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644fa0000'), "author_name"=>"Wilma Hermann", "content"=>["Debitis quis veniam deserunt voluptate et qui. Accusamus qui voluptas voluptate ullam nam necessitatibus. Praesentium exercitationem earum. A recusandae id qui ea reiciendis accusantium laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e755607735330644fb0000", "comment_id"=>"53e755607735330644f90000", "id"=>"53e755607735330644fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644fe0000'), "name"=>"Sister Rippin", "reference"=>"Dr. Keith Mertz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644fc0000'), "author_name"=>"Jarred Stanton", "content"=>["Dolor id exercitationem atque sit aut. Quia maiores fugiat qui sit aut quae eum. Doloremque necessitatibus sunt. Neque ullam reiciendis. Saepe quisquam ad."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644fd0000'), "author_name"=>"Annette Trantow III", "content"=>["Qui facere rerum debitis ullam distinctio. Qui minima ut modi facilis. Aut doloribus consequuntur laborum atque totam. Et reprehenderit repellendus est et deserunt possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4799ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e755607735330644fe0000", "comment_id"=>"53e755607735330644fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644010100'), "name"=>"Carmine McGlynn IV", "reference"=>"Jaiden Prohaska", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644ff0000'), "author_name"=>"Albert Hackett", "content"=>["Sunt sed voluptas. Officiis ipsam architecto qui qui tempora. Voluptas dolor nihil mollitia enim at maiores. Saepe ut assumenda nulla earum."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644000100'), "author_name"=>"Dora Little", "content"=>["Molestiae voluptatem doloribus ut autem. Aut consequatur sit expedita sed explicabo. Modi vitae quis perspiciatis tempore exercitationem qui. Modi deleniti numquam fugit et fuga perspiciatis eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e755607735330644010100", "comment_id"=>"53e755607735330644ff0000", "id"=>"53e755607735330644000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Completed 200 OK in 6ms (Views: 3.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e755607735330644040100'), "name"=>"Manley Hodkiewicz", "reference"=>"Alva Stamm", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644020100'), "author_name"=>"Lindsey Kiehn", "content"=>["Aspernatur est non aut vitae ea porro. Veniam praesentium labore ab. Esse vitae veritatis deserunt a repellat dolores. Necessitatibus et ipsa quos nesciunt qui quia. Aliquam inventore incidunt rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53e755607735330644030100'), "author_name"=>"Mr. Jasmin Bradtke", "content"=>["Omnis sit veniam fuga. Modi aut et sit accusamus. Optio laudantium unde velit et alias debitis. Minus ut expedita quo consequatur aspernatur sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5578ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e755607735330644030100", "product_id"=>"53e755607735330644040100", "comment_id"=>"53e755607735330644020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e755607735330644040100')} 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('53e755607735330644040100'), "comments._id"=>BSON::ObjectId('53e755607735330644020100'), "comments.0.comments._id"=>BSON::ObjectId('53e755607735330644030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Redirected to http://test.host/products/53e755607735330644040100/comments/53e755607735330644020100/comments/53e755607735330644030100 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('53e755607735330644050100'), "firstname"=>"Jaquelin", "lastname"=>"Green"}] 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.1881ms 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('53e755607735330644060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms Redirected to http://test.host/users/53e755607735330644060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2028ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e755607735330644070100'), "firstname"=>"Flavio", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1638ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e755607735330644070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e755607735330644070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e755607735330644070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms 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.1955ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e755607735330644080100'), "firstname"=>"Stefanie", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e755607735330644080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e755607735330644080100')} 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.6ms) 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('53e755607735330644090100'), "firstname"=>"Guillermo", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms 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.4075ms 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('53e7556077353306440a0100'), "firstname"=>"Clarissa", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms 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.8ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556077353306440b0100'), "firstname"=>"Katrine", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7556077353306440b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556077353306440b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms 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('53e7556077353306440c0100'), "firstname"=>"Tania", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7556077353306440c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556077353306440c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Unpermitted parameters: name Redirected to http://test.host/users/53e7556077353306440c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4413ms 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.5232ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6294ms 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.4790ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7304ms 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.5099ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c000000'), "firstname"=>"Lucienne", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6772ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3921ms 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('53e75569773533066c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.7763ms Redirected to http://test.host/admin/administrator Completed 302 Found in 23ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4233ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c020000'), "firstname"=>"Jerad", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e75569773533066c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5564ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 20ms (Views: 17.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c030000'), "firstname"=>"Nathen", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6033ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c040000'), "firstname"=>"Sherwood", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e75569773533066c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c050000'), "firstname"=>"Richie", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5657ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e75569773533066c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms 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('53e75569773533066c060000'), "name"=>"Adolf Thompson Sr.", "reference"=>"Mike Abernathy", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c070000'), "author_name"=>"Terrance Harris Sr.", "content"=>["Provident odio ipsam voluptatem quos. Beatae fuga veritatis et voluptatem ut. Veniam et voluptates beatae explicabo est. Hic porro unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e75569773533066c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75569773533066c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms Redirected to http://test.host/admin/products/53e75569773533066c060000/comments/53e75569773533066c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c090000'), "name"=>"Diana Abshire MD", "reference"=>"Davin Wyman V", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c0a0000'), "author_name"=>"Veronica Walsh", "content"=>["Eum et quos et ab. Est architecto ut laudantium nostrum voluptatem enim deleniti. Quaerat non cum omnis tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e75569773533066c090000", "id"=>"53e75569773533066c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75569773533066c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Redirected to http://test.host/admin/products/53e75569773533066c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c0b0000'), "name"=>"Adah Murazik", "reference"=>"Domenick Ziemann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c0c0000'), "author_name"=>"Beatrice Reilly", "content"=>["Exercitationem autem quis dolores possimus deleniti. Ea voluptates esse. Perferendis adipisci iusto et. Est asperiores at voluptatem iusto praesentium odio. Eos vel odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e75569773533066c0b0000", "id"=>"53e75569773533066c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c0d0000'), "name"=>"Chester Stiedemann", "reference"=>"Everett Moore", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c0e0000'), "author_name"=>"Casimer Effertz", "content"=>["Earum temporibus non minus. Dolore recusandae reiciendis quia rerum adipisci. Earum quidem iusto autem. Qui aspernatur saepe perferendis totam corporis sed sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e75569773533066c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c0f0000'), "name"=>"Margot Bartoletti IV", "reference"=>"Miss Tiffany Lynch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c100000'), "author_name"=>"Clementina Altenwerth", "content"=>["Dolores beatae velit architecto hic earum. Laudantium autem fugit voluptatem qui vel. Sit neque nam nesciunt dolorum qui. Quo voluptatem at magnam nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e75569773533066c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c110000'), "name"=>"Cecile Langosh", "reference"=>"Mr. Collin Conn", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c120000'), "author_name"=>"Jesus Luettgen DDS", "content"=>["Eius perferendis nobis corrupti ea ratione. Iusto perspiciatis tenetur rerum quos harum amet. Nulla est veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e75569773533066c110000", "id"=>"53e75569773533066c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c130000'), "name"=>"Ofelia Ferry", "reference"=>"Lincoln Graham Jr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e75569773533066c140000'), "author_name"=>"Dock Emmerich", "content"=>["Ab sed omnis et. Minus eligendi esse consequatur. In laudantium est reprehenderit velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e75569773533066c140000", "product_id"=>"53e75569773533066c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c130000'), "comments._id"=>BSON::ObjectId('53e75569773533066c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6183ms Redirected to http://test.host/admin/products/53e75569773533066c130000/comments/53e75569773533066c140000 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('53e75569773533066c150000'), "name"=>"Jewel Wolf", "reference"=>"Mr. Tatum Bradtke", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c160000'), "firstname"=>"Marlen", "lastname"=>"Rice"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e75569773533066c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c150000')} 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('53e75569773533066c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Redirected to http://test.host/admin/products/53e75569773533066c150000/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('53e75569773533066c180000'), "name"=>"Nina MacGyver", "reference"=>"Celine Lemke", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c190000'), "firstname"=>"Angelo", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e75569773533066c190000", "product_id"=>"53e75569773533066c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c1a0000'), "name"=>"Mr. Abigale Hodkiewicz", "reference"=>"Mazie Wiegand Sr.", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c1b0000'), "firstname"=>"Justen", "lastname"=>"Brekke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e75569773533066c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c1c0000'), "name"=>"Melody Stanton", "reference"=>"Valentin Feest", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c1d0000'), "firstname"=>"Jordi", "lastname"=>"McCullough"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e75569773533066c1d0000", "product_id"=>"53e75569773533066c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c1e0000'), "name"=>"Jeramy Predovic", "reference"=>"Dr. Geovanny Wyman", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53e75569773533066c1f0000'), "firstname"=>"Gregoria", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e75569773533066c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e75569773533066c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e75569773533066c1e0000/manager 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('53e75569773533066c200000'), "name"=>"Dr. Tiara Dicki", "reference"=>"Price Paucek Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2780ms 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('53e75569773533066c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Redirected to http://test.host/admin/products/53e75569773533066c210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2468ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c220000'), "name"=>"Milan Baumbach", "reference"=>"Amiya Huel", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.2093ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e75569773533066c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c220000')} 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={"_id"=>BSON::ObjectId('53e75569773533066c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms 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.2199ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c230000'), "name"=>"Kianna Schroeder Sr.", "reference"=>"Miss Abner Macejkovic", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e75569773533066c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c240000'), "name"=>"Bianka Langosh", "reference"=>"Heather Boehm", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms 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.4481ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75569773533066c250000'), "name"=>"Dr. Irma Jacobs", "reference"=>"Vivianne Rosenbaum", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 18ms (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('53e75569773533066c280000'), "name"=>"Wilma Stehr", "reference"=>"Miss Naomi Bahringer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e75569773533066c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms 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('53e75569773533066c290000'), "name"=>"Miss Therese Herzog", "reference"=>"Rogers Denesik", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75569773533066c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75569773533066c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms Redirected to http://test.host/admin/products/53e75569773533066c290000 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('53e75569773533066c2a0000'), "firstname"=>"Willa", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1295ms 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('53e75569773533066c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms Redirected to http://test.host/admin/users/53e75569773533066c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1571ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75569773533066c2c0000'), "firstname"=>"Vito", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1607ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e75569773533066c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75569773533066c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75569773533066c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms 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.1419ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75569773533066c2d0000'), "firstname"=>"Janelle", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e75569773533066c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75569773533066c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75569773533066c2e0000'), "firstname"=>"Florida", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms 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.3005ms 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('53e75569773533066c2f0000'), "firstname"=>"Amelie", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms 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.2ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75569773533066c300000'), "firstname"=>"Rickey", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e75569773533066c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75569773533066c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75569773533066c310000'), "firstname"=>"Kaci", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e75569773533066c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75569773533066c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e75569773533066c310000 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('53e75569773533066c320000'), "firstname"=>"Allan", "lastname"=>"Stracke"}] 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=>"administrators", :query=>{}} runtime: 0.1820ms 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('53e75569773533066c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms 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.1652ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c340000'), "firstname"=>"Charles", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e75569773533066c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c350000'), "firstname"=>"Matt", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c360000'), "firstname"=>"Nia", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e75569773533066c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75569773533066c370000'), "firstname"=>"Faustino", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e75569773533066c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75569773533066c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c380000'), "name"=>"Madaline Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c390000'), "name"=>"Osvaldo Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3a0000'), "name"=>"Seth Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3b0000'), "name"=>"Tavares Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3c0000'), "name"=>"Cara Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3d0000'), "name"=>"Mrs. Lois Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3e0000'), "name"=>"Marjolaine Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c3f0000'), "name"=>"Dr. Iliana Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c400000'), "name"=>"Abigale Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c410000'), "name"=>"Fae Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c420000'), "name"=>"Cortney Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c430000'), "name"=>"Mercedes Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c440000'), "name"=>"Stephany Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c450000'), "name"=>"Sheila Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c460000'), "name"=>"Adeline Hermann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c470000'), "name"=>"Mr. Emmie Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c480000'), "name"=>"Darryl Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c490000'), "name"=>"Melvin Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4a0000'), "name"=>"Nichole Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4b0000'), "name"=>"Lawson Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4c0000'), "name"=>"Jalyn Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4d0000'), "name"=>"Ms. Josefa Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4e0000'), "name"=>"Sadye Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c4f0000'), "name"=>"Lisette Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c500000'), "name"=>"Thaddeus Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c510000'), "name"=>"Lesley Becker Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c520000'), "name"=>"Royal Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c530000'), "name"=>"Evelyn Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c540000'), "name"=>"Ova Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c550000'), "name"=>"Tanner Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c560000'), "name"=>"Mrs. Gabriel Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c570000'), "name"=>"Crystal Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c580000'), "name"=>"Juston Schuster IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c590000'), "name"=>"Ewell Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5a0000'), "name"=>"Ariel Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5b0000'), "name"=>"Keshaun Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5c0000'), "name"=>"Miss Enoch Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5d0000'), "name"=>"Ward Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5e0000'), "name"=>"Hilbert Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c5f0000'), "name"=>"Dahlia Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c600000'), "name"=>"Mrs. Brenna Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c610000'), "name"=>"Evalyn Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c620000'), "name"=>"Graham Von PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c630000'), "name"=>"Gerald Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c640000'), "name"=>"Aletha Denesik II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c650000'), "name"=>"Mrs. Jade Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c660000'), "name"=>"Sofia Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c670000'), "name"=>"Emma Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c680000'), "name"=>"Jalen Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c690000'), "name"=>"Sylvia Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6a0000'), "name"=>"Cathrine MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6b0000'), "name"=>"Joe Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6c0000'), "name"=>"Gunner Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6d0000'), "name"=>"Lucienne Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6e0000'), "name"=>"Reid Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c6f0000'), "name"=>"Gino Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c700000'), "name"=>"Cayla Nicolas IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c710000'), "name"=>"Ms. Stephon Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c720000'), "name"=>"Heloise Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c730000'), "name"=>"Ebony Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c740000'), "name"=>"Harold Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c750000'), "name"=>"Hudson Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c760000'), "name"=>"Mrs. Davon Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c770000'), "name"=>"Josefa Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c780000'), "name"=>"Franz Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c790000'), "name"=>"Marcus Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7a0000'), "name"=>"Aniyah Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7b0000'), "name"=>"Amber Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7c0000'), "name"=>"Lydia Stroman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7d0000'), "name"=>"Noemie Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7e0000'), "name"=>"Dr. Francisca Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c7f0000'), "name"=>"Abner Abernathy III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c800000'), "name"=>"Neva Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c810000'), "name"=>"Angel Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c820000'), "name"=>"Curt Cartwright IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c830000'), "name"=>"Abbie Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c840000'), "name"=>"Catharine Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c850000'), "name"=>"Torrance Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c860000'), "name"=>"Marquise Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c870000'), "name"=>"Marlon Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c880000'), "name"=>"Crawford Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c890000'), "name"=>"Haskell Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8a0000'), "name"=>"Lawson Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8b0000'), "name"=>"Calista Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8c0000'), "name"=>"Shaun Wilkinson DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8d0000'), "name"=>"Camille Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8e0000'), "name"=>"Velda Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c8f0000'), "name"=>"Mercedes Wiza III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c900000'), "name"=>"Eunice Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c910000'), "name"=>"Kelsi Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c920000'), "name"=>"Bernhard Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c930000'), "name"=>"Jerome McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c940000'), "name"=>"Dr. Maya Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c950000'), "name"=>"Dr. Mozell Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c960000'), "name"=>"Melissa Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c970000'), "name"=>"Hassan Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1253ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms Redirected to http://test.host/categories/53e7556a773533066c980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1444ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c990000'), "name"=>"Augustine Dickinson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1299ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7556a773533066c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066c990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1488ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c9a0000'), "name"=>"Blaise Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7556a773533066c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9a0000')} 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.0ms) Completed 200 OK in 9ms (Views: 8.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c9b0000'), "name"=>"Deion Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242063063477] runtime: 0.0779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1821ms Completed 200 OK in 14ms (Views: 13.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c9c0000'), "name"=>"Maureen Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242055262983] runtime: 0.0706ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1664ms Completed 200 OK in 8ms (Views: 7.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c9d0000'), "name"=>"Paul Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066c9f0000'), "name"=>"Elinor Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7556a773533066c9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms Completed 200 OK in 4ms (Views: 2.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ca00000'), "name"=>"Ford Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7556a773533066ca00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7556a773533066ca00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7556a773533066ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms Redirected to http://test.host/categories/53e7556a773533066ca00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ca10000'), "name"=>"Gilberto Hettinger", "reference"=>"Ryann Kassulke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066ca20000'), "author_name"=>"Glen Barrows III", "content"=>["Fugit quia et neque corporis molestiae enim. Distinctio adipisci qui occaecati temporibus fugit. Est provident inventore vitae sed."]}]}] 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('53e7556a773533066ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7556a773533066ca10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7556a773533066ca30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms Redirected to http://test.host/products/53e7556a773533066ca10000/comments/53e7556a773533066ca30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ca40000'), "name"=>"Anibal Schoen", "reference"=>"Rahul Mosciski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066ca50000'), "author_name"=>"Ms. Sam Hintz", "content"=>["Distinctio magni accusantium nihil. Accusantium incidunt adipisci velit culpa dolores repudiandae praesentium. Molestias tempora eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7556a773533066ca40000", "id"=>"53e7556a773533066ca50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca40000')} 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('53e7556a773533066ca40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7556a773533066ca50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms Redirected to http://test.host/products/53e7556a773533066ca40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ca60000'), "name"=>"Adonis Heathcote DDS", "reference"=>"Michelle Kohler", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066ca70000'), "author_name"=>"Joshuah Hermann MD", "content"=>["Quisquam tempora possimus non ex. Id odio repudiandae. Voluptates necessitatibus quia beatae. Saepe corporis placeat omnis. Omnis cumque veritatis eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7556a773533066ca60000", "id"=>"53e7556a773533066ca70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.8ms) Completed 200 OK in 41ms (Views: 39.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ca80000'), "name"=>"Aliza Hamill", "reference"=>"Alan Bosco", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066ca90000'), "author_name"=>"Audra Steuber MD", "content"=>["Exercitationem nisi reprehenderit. Praesentium voluptas vero sint quae voluptate. Sint adipisci eum. Ut ratione provident sed saepe qui. Debitis totam neque sed quae qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7556a773533066ca80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066caa0000'), "name"=>"Lauretta Robel", "reference"=>"Missouri Bruen", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066cab0000'), "author_name"=>"Melvina Bartoletti", "content"=>["Aspernatur vel iure aut. Veritatis debitis tenetur non in. Qui maiores vel et. Corporis et officiis nisi explicabo. Labore qui quod iusto dolores vel quia veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7556a773533066caa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066caa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cac0000'), "name"=>"Sonia Feest", "reference"=>"Rodger Gleichner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066cad0000'), "author_name"=>"Ms. Sofia Weber", "content"=>["Non omnis molestias. Ad aut facere veritatis quae delectus. Reiciendis asperiores labore impedit magni saepe at atque. Qui voluptate est quaerat fugit repellendus magnam temporibus. Quia quia sequi quam veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7556a773533066cac0000", "id"=>"53e7556a773533066cad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cae0000'), "name"=>"Reed Hills", "reference"=>"Deion Paucek", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066caf0000'), "author_name"=>"Pierce Kilback", "content"=>["Voluptatem expedita incidunt labore ex harum. Velit itaque fugit incidunt. Eveniet sed quaerat qui porro accusamus voluptatibus qui. Nemo expedita aut adipisci architecto in et esse. Cum illo iusto eius libero vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6130ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7556a773533066cae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cb00000'), "name"=>"Friedrich Waters", "reference"=>"Jena Nicolas", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066cb10000'), "author_name"=>"Miss Rex Torp", "content"=>["Quis sapiente quia ut autem esse eligendi sint. Sequi facilis perspiciatis delectus. Sit et unde inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7556a773533066cb00000", "id"=>"53e7556a773533066cb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cb20000'), "name"=>"Liliana Bernier", "reference"=>"Kim Prohaska", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7556a773533066cb30000'), "author_name"=>"Mafalda Kautzer", "content"=>["Sit corporis fuga tempore laudantium ipsa laboriosam. Et neque rerum sunt. Adipisci et praesentium aut. Ipsum iure in quasi. Est consequatur vel qui veniam similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7556a773533066cb30000", "product_id"=>"53e7556a773533066cb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cb20000')} 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('53e7556a773533066cb20000'), "comments._id"=>BSON::ObjectId('53e7556a773533066cb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Redirected to http://test.host/products/53e7556a773533066cb20000/comments/53e7556a773533066cb30000 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('53e7556a773533066cb40000'), "firstname"=>"Jaquelin", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms 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('53e7556a773533066cb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Redirected to http://test.host/admin/clients/53e7556a773533066cb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1927ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cb60000'), "firstname"=>"Conor", "lastname"=>"Kunze"}] 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.1276ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7556a773533066cb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms 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.1380ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cb70000'), "firstname"=>"Murray", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7556a773533066cb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2039ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('53e7556a773533066cb80000'), "firstname"=>"Billie", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms 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('53e7556a773533066cb90000'), "firstname"=>"Raven", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms 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.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cba0000'), "firstname"=>"Samanta", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7556a773533066cba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cbb0000'), "firstname"=>"Ally", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7556a773533066cbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms Redirected to http://test.host/admin/clients/53e7556a773533066cbb0000 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('53e7556a773533066cbc0000'), "firstname"=>"Esta", "lastname"=>"Schaden"}] 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.2058ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms Redirected to http://test.host/clients/53e7556a773533066cbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1493ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cbe0000'), "firstname"=>"Esther", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1518ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7556a773533066cbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms 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.1382ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cbf0000'), "firstname"=>"Effie", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7556a773533066cbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) 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('53e7556a773533066cc00000'), "firstname"=>"Hildegard", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms 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('53e7556a773533066cc10000'), "firstname"=>"Demarcus", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms 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('53e7556a773533066cc20000'), "firstname"=>"Brandy", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7556a773533066cc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms 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('53e7556a773533066cc30000'), "firstname"=>"Lenore", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7556a773533066cc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7556a773533066cc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms Redirected to http://test.host/clients/53e7556a773533066cc30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cc40000'), "name"=>"Madonna Armstrong", "reference"=>"Miss Frederique Kub", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066cc50000'), "firstname"=>"Rickey", "lastname"=>"McDermott"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7556a773533066cc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cc40000')} 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('53e7556a773533066cc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066cc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms Redirected to http://test.host/products/53e7556a773533066cc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cc70000'), "name"=>"Sydnie Streich", "reference"=>"Ms. Arden Boyer", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066cc80000'), "firstname"=>"Amanda", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7556a773533066cc80000", "product_id"=>"53e7556a773533066cc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cc90000'), "name"=>"Ms. Linnea Lesch", "reference"=>"Muriel Kuhic", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066cca0000'), "firstname"=>"Vilma", "lastname"=>"Ondricka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8213ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7556a773533066cc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ccb0000'), "name"=>"Mr. Willie Rempel", "reference"=>"Faye Torp", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066ccc0000'), "firstname"=>"Joaquin", "lastname"=>"Russel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7556a773533066ccc0000", "product_id"=>"53e7556a773533066ccb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ccd0000'), "name"=>"Valerie Volkman", "reference"=>"Vena Collins Jr.", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7556a773533066cce0000'), "firstname"=>"Nathanael", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7556a773533066cce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7556a773533066ccd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066ccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Unpermitted parameters: name Redirected to http://test.host/products/53e7556a773533066ccd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066ccf0000'), "name"=>"Kelvin Kihn", "reference"=>"Mathias Renner", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd00000'), "name"=>"Mr. Nola Streich", "reference"=>"Kris Davis", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd10000'), "name"=>"Queenie Stiedemann", "reference"=>"Dr. Hulda Nienow", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd20000'), "name"=>"Kieran Romaguera", "reference"=>"Jada Wehner V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd30000'), "name"=>"Evie Luettgen III", "reference"=>"Moises Hilll", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd40000'), "name"=>"Miss Wendy Langosh", "reference"=>"Cecelia Harvey", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms Redirected to http://test.host/products/53e7556a773533066cd50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd60000'), "name"=>"Ryder Roob", "reference"=>"Karlie Tillman", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1353ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7556a773533066cd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms 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.1757ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd70000'), "name"=>"Myrtie Padberg", "reference"=>"Sadye Sporer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7556a773533066cd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556a773533066cd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (38.1ms) Completed 200 OK in 43ms (Views: 41.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd80000'), "name"=>"Evie Pfeffer", "reference"=>"Karl Torphy", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214821786386] runtime: 0.0874ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2001ms Completed 200 OK in 17ms (Views: 16.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cd90000'), "name"=>"Dariana Huel", "reference"=>"Ms. Hadley Boyle", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cda0000'), "name"=>"HelloWorld", "reference"=>"Brenden Boyer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cdb0000'), "name"=>"value", "reference"=>"Leila Dickinson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2140ms Completed 200 OK in 5ms (Views: 3.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1951ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1165ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2226ms Completed 200 OK in 3ms (Views: 2.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4206ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3649ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1706ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556a773533066cdc0000'), "name"=>"Beaulah Senger", "reference"=>"Alyce Adams", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214868109620] runtime: 0.0933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3370ms Completed 200 OK in 15ms (Views: 14.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215643894251] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216160463267] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216138045687] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216033931536] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216837078662] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216880883547] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216711093039] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215714712593] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215882387114] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215253031164] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216688434610] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216890158611] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216857468370] runtime: 25.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215702567392] runtime: 0.0795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216157273540] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216444262430] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216182997411] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216582660618] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215029589625] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215299480023] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216410688438] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216234471596] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216114472233] runtime: 0.0824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215898708274] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216628667053] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216744553811] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216065854152] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216679600995] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216458793447] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215684708863] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215879427268] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215511490689] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215553487072] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216420955233] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216726728791] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895338499] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216860273752] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216562240825] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215861567781] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215064539675] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216462729204] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215182156365] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216713100122] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216283649864] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215911035763] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216799738077] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215472545124] runtime: 0.1178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216432244638] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215933798157] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215142259861] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216572928547] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215162177826] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215222252821] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215392558323] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216088310694] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214839869478] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215034203072] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215209807638] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895609091] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215229891289] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215851031812] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216129541018] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215184742212] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216445451159] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215050181450] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215368619308] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215458143808] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216709948253] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216631034241] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216518372254] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215577052336] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215263918154] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215474751829] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215889202041] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216168777458] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216360705221] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215107907826] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216215819557] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216056158063] runtime: 0.0794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214760805984] runtime: 0.0959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216429272869] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216627802171] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216234891643] runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215981116126] runtime: 0.0767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216196660579] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214908312506] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216800791217] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215266497439] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215529917701] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216418588198] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215995881700] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215892034779] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215710192894] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215661136212] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216349404100] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215880577326] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215404015131] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215540117188] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215271789357] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215862305956] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215713431109] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216365592767] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215122111525] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216886405645] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216544314419] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215497760997] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214977742481] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214976150187] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860892854] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216852033357] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215026661118] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216883318949] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215521068353] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215963770570] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215099846844] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216582262655] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215674366746] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214957221112] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216871289626] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216554573635] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215528214615] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216001799236] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216863403931] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216122893709] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216306974415] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215932479187] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215822202285] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216845283821] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215075743931] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214945920678] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215824320110] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215298712734] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215419704972] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215021577836] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216326750397] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215078729397] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215372396025] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216662871221] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216659966947] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215190990390] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216079355582] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215465040709] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215309095507] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215627683862] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215531438235] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215945255864] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214864258955] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216765769384] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215568324908] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215564865108] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216715174901] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214944465308] runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215694880575] runtime: 0.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216339324424] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214972545708] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216818886202] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215119031615] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215147713963] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214759687204] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215667108477] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216360388495] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215202277099] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216860544074] runtime: 0.0508ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cdd0000'), "name"=>"Aliya Stiedemann", "reference"=>"Evan Hirthe", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216297492617] runtime: 0.0613ms Completed 200 OK in 4ms (Views: 1.2ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cde0000'), "name"=>"Grant Swift", "reference"=>"Zetta Boyle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7556b773533066cde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms 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('53e7556b773533066cdf0000'), "name"=>"Shaniya Ortiz", "reference"=>"Wilford Thiel", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066ce10000'), "name"=>"Raegan Leffler", "reference"=>"Lydia Sporer Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7556b773533066ce10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066ce20000'), "name"=>"Kamille Champlin", "reference"=>"Daren Reynolds I", "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.1330ms 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('53e7556b773533066ce30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1398ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066ce40000'), "name"=>"Leanne Hermiston", "reference"=>"Mathew Schneider", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7556b773533066ce40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms 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('53e7556b773533066ce50000'), "name"=>"Zelda Adams DVM", "reference"=>"Raphael Considine", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms 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('53e7556b773533066ce70000'), "name"=>"Miss Jalyn Ritchie", "reference"=>"Chanel Grimes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7556b773533066ce70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms 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('53e7556b773533066ce80000'), "name"=>"Davin Botsford", "reference"=>"Miss Jodie Stracke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7556b773533066ce80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ce80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms Redirected to http://test.host/products/53e7556b773533066ce80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066ceb0000'), "name"=>"Ms. Alanis Bernhard", "reference"=>"Mrs. Gwen Zulauf", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066ce90000'), "author_name"=>"Manley Farrell", "content"=>["Distinctio consequatur est culpa et nostrum. Occaecati expedita delectus eum. Repellendus modi et nobis omnis qui. Unde vitae alias illo explicabo incidunt."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cea0000'), "author_name"=>"Mrs. Pearlie Mann", "content"=>["Vel non eum ut et velit. Est hic et nam. Perspiciatis dolores officia. Facilis est id non quia consequatur reiciendis tenetur. Omnis magnam cum inventore possimus et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7556b773533066ceb0000", "comment_id"=>"53e7556b773533066ce90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ceb0000')} 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('53e7556b773533066ceb0000'), "comments._id"=>BSON::ObjectId('53e7556b773533066ce90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7556b773533066cec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Redirected to http://test.host/products/53e7556b773533066ceb0000/comments/53e7556b773533066ce90000/comments/53e7556b773533066cec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066ceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cef0000'), "name"=>"Mrs. Kari Will", "reference"=>"Miss Charlotte O'Conner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066ced0000'), "author_name"=>"Troy Greenholt", "content"=>["Libero qui deserunt velit est culpa asperiores sit. Quia perspiciatis provident eos dolorem. Tempore laboriosam blanditiis aut. Quibusdam amet libero sit nulla in."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cee0000'), "author_name"=>"Elliot Ratke", "content"=>["Vel et minus qui. Et qui dolor facere. Soluta possimus cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7556b773533066cef0000", "comment_id"=>"53e7556b773533066ced0000", "id"=>"53e7556b773533066cee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cef0000')} 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('53e7556b773533066cef0000'), "comments._id"=>BSON::ObjectId('53e7556b773533066ced0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7556b773533066cee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Redirected to http://test.host/products/53e7556b773533066cef0000/comments/53e7556b773533066ced0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cf20000'), "name"=>"Monserrat Pfeffer Jr.", "reference"=>"Rosalind Gutkowski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf00000'), "author_name"=>"Kadin Klocko", "content"=>["Fugit quae quisquam nobis animi deleniti quis eaque. Repellat neque nam nesciunt. Perspiciatis repellat accusantium qui. Veritatis dolorem et unde temporibus ut. Recusandae omnis voluptatem autem eaque inventore molestiae tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf10000'), "author_name"=>"Bryce Mayert", "content"=>["Velit deleniti praesentium qui voluptatem laborum porro. Ut esse vero. Facere error incidunt odio dignissimos consectetur laudantium. Ea nobis fugit nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7556b773533066cf20000", "comment_id"=>"53e7556b773533066cf00000", "id"=>"53e7556b773533066cf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cf50000'), "name"=>"Adolf Durgan", "reference"=>"Nathan Sporer", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf30000'), "author_name"=>"Shane Weimann", "content"=>["Aut deserunt ut. Nemo iste repellendus sunt. Voluptatem unde voluptatum. Est et ut. Dicta et beatae."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf40000'), "author_name"=>"Fermin Powlowski II", "content"=>["Sed harum repellendus excepturi animi veniam. Fugiat non tempora non laudantium. Nihil totam ut iure qui et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7556b773533066cf50000", "comment_id"=>"53e7556b773533066cf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cf80000'), "name"=>"Ozella Jacobi", "reference"=>"Ida Pollich", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf60000'), "author_name"=>"Wilfred Padberg", "content"=>["Fuga voluptates voluptatem aspernatur sint pariatur omnis optio. At inventore autem aut commodi non quia. Perferendis omnis dolorum iure molestias qui. Sit odit debitis quis id vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf70000'), "author_name"=>"Mr. Kitty Quitzon", "content"=>["Animi rem odit ut similique consectetur deserunt. Fugit corporis neque optio placeat et. Enim atque sed qui. Quasi assumenda quo deleniti impedit ex et similique. Quisquam minima asperiores et officiis itaque eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7556b773533066cf80000", "comment_id"=>"53e7556b773533066cf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cfb0000'), "name"=>"Mr. Izaiah Fahey", "reference"=>"Katheryn Mitchell", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cf90000'), "author_name"=>"Evan Jacobs", "content"=>["Suscipit vel illum nihil ut. Et autem deserunt non nihil similique. Expedita nemo unde sunt ab. Esse fugiat ut molestiae debitis quo. Ut corporis nam atque in."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cfa0000'), "author_name"=>"Alex Kulas PhD", "content"=>["Alias debitis est porro pariatur. Voluptatem doloribus recusandae ipsam et. Eligendi et est. Quo quia magni consequatur impedit qui ullam. Aut sapiente consequuntur deleniti ut non quibusdam accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7556b773533066cfb0000", "comment_id"=>"53e7556b773533066cf90000", "id"=>"53e7556b773533066cfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066cfe0000'), "name"=>"Jessy Satterfield", "reference"=>"Janessa Christiansen IV", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cfc0000'), "author_name"=>"Filiberto Nolan IV", "content"=>["Error autem mollitia. Reprehenderit a unde. Fugiat quaerat suscipit cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cfd0000'), "author_name"=>"Zackary Mann III", "content"=>["Sit et soluta eveniet. Assumenda in ut quos non quo. Enim libero quia rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7556b773533066cfe0000", "comment_id"=>"53e7556b773533066cfc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066cfe0000')} 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: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c010100'), "name"=>"Jonas Hilll III", "reference"=>"Leora Kirlin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066cff0000'), "author_name"=>"Gregory Boyle I", "content"=>["Qui veritatis neque eaque illo et. Excepturi non est quibusdam. Iure et sint nihil nihil ipsa. Maxime voluptatum culpa quod aperiam natus laudantium non. Quo magnam earum tempora beatae est iusto."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066c000100'), "author_name"=>"Rowland Hettinger", "content"=>["Soluta perspiciatis est eveniet magnam eius exercitationem. Fuga officiis nam vel ducimus totam quod error. Quia voluptate architecto laborum. Perspiciatis adipisci nam. Dolorum dolor quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7556b773533066c010100", "comment_id"=>"53e7556b773533066cff0000", "id"=>"53e7556b773533066c000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066c010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c040100'), "name"=>"Jany Borer", "reference"=>"Leta Wintheiser", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066c020100'), "author_name"=>"Emerson Sipes", "content"=>["Quasi officiis et. Quaerat eligendi voluptas vero similique. Voluptatem et dolores qui. Voluptate sed aut."], "comments"=>[{"_id"=>BSON::ObjectId('53e7556b773533066c030100'), "author_name"=>"Emie Kuvalis", "content"=>["Omnis neque consequuntur. Aspernatur nesciunt cupiditate eligendi dolorem cum minima. Tenetur iste doloribus expedita sed necessitatibus. In earum corrupti dolorem necessitatibus id rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7556b773533066c030100", "product_id"=>"53e7556b773533066c040100", "comment_id"=>"53e7556b773533066c020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066c040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7556b773533066c040100'), "comments._id"=>BSON::ObjectId('53e7556b773533066c020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7556b773533066c030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/products/53e7556b773533066c040100/comments/53e7556b773533066c020100/comments/53e7556b773533066c030100 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('53e7556b773533066c050100'), "firstname"=>"Jane", "lastname"=>"Schuppe"}] 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=>"admin_users", :query=>{}} runtime: 0.1403ms 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('53e7556b773533066c060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Redirected to http://test.host/users/53e7556b773533066c060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3029ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c070100'), "firstname"=>"Alba", "lastname"=>"Balistreri"}] 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.1515ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7556b773533066c070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556b773533066c070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556b773533066c070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms 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.1564ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c080100'), "firstname"=>"Hardy", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7556b773533066c080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556b773533066c080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms 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('53e7556b773533066c090100'), "firstname"=>"Niko", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms 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.4874ms Completed 200 OK in 10ms (Views: 9.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c0a0100'), "firstname"=>"Lester", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6318ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 11ms (Views: 9.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c0b0100'), "firstname"=>"Briana", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8085ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7556b773533066c0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556b773533066c0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5252ms Completed 200 OK in 8ms (Views: 5.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7556b773533066c0c0100'), "firstname"=>"Sonny", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7002ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7556b773533066c0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7556b773533066c0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6123ms Unpermitted parameters: name Redirected to http://test.host/users/53e7556b773533066c0c0100 Completed 302 Found in 41ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms 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.2427ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms 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.2036ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms 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.1966ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms 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.1928ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms 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.2090ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75849773533078e000000'), "firstname"=>"Bonnie", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1593ms 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('53e75849773533078e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms 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.1832ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75849773533078e020000'), "firstname"=>"Trent", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e75849773533078e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75849773533078e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75849773533078e030000'), "firstname"=>"Carmen", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.0286ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75849773533078e040000'), "firstname"=>"Abdiel", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e75849773533078e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75849773533078e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e75849773533078e050000'), "firstname"=>"Pearline", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e75849773533078e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e75849773533078e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms 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('53e75849773533078e060000'), "name"=>"Coralie Barton Jr.", "reference"=>"Israel Crooks", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e070000'), "author_name"=>"Brando McClure", "content"=>["Non suscipit asperiores sit tenetur ea et commodi. Cum laboriosam ut. Nemo repellendus fuga distinctio iure tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e75849773533078e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75849773533078e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms Redirected to http://test.host/admin/products/53e75849773533078e060000/comments/53e75849773533078e080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e090000'), "name"=>"Tracey Cummerata", "reference"=>"Raul Grimes", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e0a0000'), "author_name"=>"Amir Erdman", "content"=>["Earum et maxime labore hic suscipit ut qui. Sapiente accusantium alias sunt corrupti itaque sed delectus. Ipsa veritatis nesciunt accusamus. Voluptas eos corrupti qui vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e75849773533078e090000", "id"=>"53e75849773533078e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e75849773533078e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms Redirected to http://test.host/admin/products/53e75849773533078e090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e0b0000'), "name"=>"Natalia Lesch", "reference"=>"Mr. Ernestina Doyle", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e0c0000'), "author_name"=>"Polly Erdman Jr.", "content"=>["Vel alias delectus autem. Numquam accusantium exercitationem id velit nisi eveniet recusandae. Sit in iusto aut aut qui debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e75849773533078e0b0000", "id"=>"53e75849773533078e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3849ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e0d0000'), "name"=>"Miss Quinten Predovic", "reference"=>"Sage Kiehn DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e0e0000'), "author_name"=>"Jeffrey Krajcik", "content"=>["Odio dicta minus enim explicabo non. Et quibusdam quos ut asperiores laboriosam ipsam nesciunt. Reprehenderit aliquid eum voluptatum sit maxime. Totam quasi officiis cum itaque enim mollitia aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e75849773533078e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e0f0000'), "name"=>"Mario Heller DDS", "reference"=>"Cullen Fadel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e100000'), "author_name"=>"Paxton Bogisich", "content"=>["Quaerat est saepe. Dolorem pariatur quod omnis. Sed ipsam et est et animi odit. Quas magni magnam consequuntur veniam ut quam porro. Adipisci minima qui officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5833ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e75849773533078e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3924ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e110000'), "name"=>"Ms. Myah King", "reference"=>"Quentin Schowalter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e120000'), "author_name"=>"Russ Eichmann", "content"=>["Et nihil odio. Dolorem qui qui excepturi saepe omnis quaerat. Tempore neque ducimus quos aut tempora molestiae pariatur. Ab est excepturi distinctio fugit rerum molestias. Vero voluptas doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6069ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e75849773533078e110000", "id"=>"53e75849773533078e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4593ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e130000'), "name"=>"Josefa Crona", "reference"=>"Garnett Wolff", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e75849773533078e140000'), "author_name"=>"Mr. Berneice Oberbrunner", "content"=>["Rerum magni rerum minus hic optio deleniti. Repellendus natus id dolorum. Facere veritatis sed repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5328ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e75849773533078e140000", "product_id"=>"53e75849773533078e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3624ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e130000'), "comments._id"=>BSON::ObjectId('53e75849773533078e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Redirected to http://test.host/admin/products/53e75849773533078e130000/comments/53e75849773533078e140000 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('53e75849773533078e150000'), "name"=>"Rosendo Hilll", "reference"=>"Norris Ratke", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e160000'), "firstname"=>"Stella", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e75849773533078e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms Redirected to http://test.host/admin/products/53e75849773533078e150000/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('53e75849773533078e180000'), "name"=>"Franz Hand", "reference"=>"Abigail Schuster", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e190000'), "firstname"=>"Everette", "lastname"=>"Cummings"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e75849773533078e190000", "product_id"=>"53e75849773533078e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e1a0000'), "name"=>"Amie Balistreri MD", "reference"=>"Freeman McLaughlin V", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e1b0000'), "firstname"=>"Zakary", "lastname"=>"Smith"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e75849773533078e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e1c0000'), "name"=>"Jason Jacobson", "reference"=>"Dr. Kale Wuckert", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e1d0000'), "firstname"=>"Wiley", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e75849773533078e1d0000", "product_id"=>"53e75849773533078e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e1e0000'), "name"=>"Vincenzo Hermiston", "reference"=>"Candida Becker IV", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e75849773533078e1f0000'), "firstname"=>"Martin", "lastname"=>"Kling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e75849773533078e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e75849773533078e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e75849773533078e1e0000/manager 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('53e75849773533078e200000'), "name"=>"Stevie Bednar", "reference"=>"Kyleigh Waelchi", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1953ms 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('53e75849773533078e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Redirected to http://test.host/admin/products/53e75849773533078e210000 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('53e75849773533078e220000'), "name"=>"Myrna O'Hara", "reference"=>"Elizabeth Altenwerth", "quantity"=>5}] 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.1877ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e75849773533078e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e220000')} 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={"_id"=>BSON::ObjectId('53e75849773533078e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms 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.1990ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e230000'), "name"=>"Roselyn Leffler", "reference"=>"Sister Tremblay", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e75849773533078e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e230000')} 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 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e240000'), "name"=>"Carmelo Watsica", "reference"=>"Jana Abernathy", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms 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.4819ms Completed 200 OK in 11ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e250000'), "name"=>"Ross Conn", "reference"=>"Leanna Aufderhar", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e75849773533078e280000'), "name"=>"Merritt Dooley", "reference"=>"Liliane Gerlach", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e75849773533078e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms 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('53e75849773533078e290000'), "name"=>"Dashawn Bahringer", "reference"=>"Amanda Hilpert", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e75849773533078e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e75849773533078e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms Redirected to http://test.host/admin/products/53e75849773533078e290000 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('53e75849773533078e2a0000'), "firstname"=>"Jammie", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7572ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1865ms 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('53e75849773533078e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms Redirected to http://test.host/admin/users/53e75849773533078e2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1833ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75849773533078e2c0000'), "firstname"=>"Cristobal", "lastname"=>"Marks"}] 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=>"admin_users", :query=>{}} runtime: 0.1572ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e75849773533078e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75849773533078e2c0000')} 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('53e75849773533078e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms 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.1434ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75849773533078e2d0000'), "firstname"=>"Jade", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e75849773533078e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75849773533078e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75849773533078e2e0000'), "firstname"=>"Kathlyn", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms 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.3358ms 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('53e75849773533078e2f0000'), "firstname"=>"Jess", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6069ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75849773533078e300000'), "firstname"=>"Newell", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e75849773533078e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75849773533078e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4964ms Completed 200 OK in 9ms (Views: 6.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e75849773533078e310000'), "firstname"=>"Gideon", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6479ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e75849773533078e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e75849773533078e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e75849773533078e310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e320000'), "firstname"=>"Syble", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3004ms 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('53e7584a773533078e330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms 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.3203ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e340000'), "firstname"=>"Mauricio", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7584a773533078e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7584a773533078e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.7ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e350000'), "firstname"=>"April", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e360000'), "firstname"=>"Andreane", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7584a773533078e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7584a773533078e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3868ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e370000'), "firstname"=>"Jarrett", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7584a773533078e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7584a773533078e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e380000'), "name"=>"Monique Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e390000'), "name"=>"Priscilla Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3a0000'), "name"=>"Fritz Keebler V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3b0000'), "name"=>"Bennie Schuster MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3c0000'), "name"=>"Miss Jana Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3d0000'), "name"=>"Tyrel Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3e0000'), "name"=>"Ottilie Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e3f0000'), "name"=>"Elinore McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e400000'), "name"=>"Mr. Hugh Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e410000'), "name"=>"Gage Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e420000'), "name"=>"Ms. Delfina Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e430000'), "name"=>"Rachel Carter IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e440000'), "name"=>"Maximo Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e450000'), "name"=>"Georgette Metz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e460000'), "name"=>"Edyth Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e470000'), "name"=>"Cora Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e480000'), "name"=>"Kelli King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e490000'), "name"=>"Estrella Fadel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4a0000'), "name"=>"Mrs. Lavada Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4b0000'), "name"=>"Warren Quigley DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4c0000'), "name"=>"Simone Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4d0000'), "name"=>"Keanu Conn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4e0000'), "name"=>"Zackery Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e4f0000'), "name"=>"Mrs. Melvin Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e500000'), "name"=>"Cassidy Thiel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e510000'), "name"=>"Ms. Esmeralda Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e520000'), "name"=>"Miss Kiel Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e530000'), "name"=>"Kelsi Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e540000'), "name"=>"Antonetta Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e550000'), "name"=>"Billie Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e560000'), "name"=>"Gillian Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e570000'), "name"=>"Nedra Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e580000'), "name"=>"Xavier Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e590000'), "name"=>"Damien Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5a0000'), "name"=>"Issac Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5b0000'), "name"=>"Vilma Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5c0000'), "name"=>"Raul Kuhlman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5d0000'), "name"=>"Ms. Ricardo Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5e0000'), "name"=>"Yvette Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e5f0000'), "name"=>"Telly Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e600000'), "name"=>"Adelle Watsica IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e610000'), "name"=>"Elta Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e620000'), "name"=>"Kimberly Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e630000'), "name"=>"Jeramie Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e640000'), "name"=>"Laurianne Steuber III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e650000'), "name"=>"Abigayle Zieme MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e660000'), "name"=>"Nelda Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e670000'), "name"=>"Norma Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e680000'), "name"=>"Alexandre Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e690000'), "name"=>"Mrs. Mary Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6a0000'), "name"=>"Mrs. Stanley MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6b0000'), "name"=>"Mr. Else Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6c0000'), "name"=>"Nedra Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6d0000'), "name"=>"Bessie Thompson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6e0000'), "name"=>"Trenton Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e6f0000'), "name"=>"Roosevelt Schaefer DDS"}] 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={"category_id"=>BSON::ObjectId('53e7584a773533078e6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e700000'), "name"=>"Savanah Wunsch IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e710000'), "name"=>"Dr. Orie McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e720000'), "name"=>"Etha Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e730000'), "name"=>"Delia Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e740000'), "name"=>"Emmitt McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e750000'), "name"=>"Mr. Xavier Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e760000'), "name"=>"Dameon D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e770000'), "name"=>"Miss Marilou Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e780000'), "name"=>"Karina Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e790000'), "name"=>"Joseph Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7a0000'), "name"=>"Katelin Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7b0000'), "name"=>"Mr. Aurelia Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7c0000'), "name"=>"Mrs. Mattie Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7d0000'), "name"=>"Lorena Brekke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7e0000'), "name"=>"Verda Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e7f0000'), "name"=>"Myrtie Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e800000'), "name"=>"Ansley O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e810000'), "name"=>"Rupert Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e820000'), "name"=>"Elton Franecki"}] 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={"category_id"=>BSON::ObjectId('53e7584a773533078e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e830000'), "name"=>"Sabryna Wolf MD"}] 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={"category_id"=>BSON::ObjectId('53e7584a773533078e830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e840000'), "name"=>"Shayne Hansen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e850000'), "name"=>"Lyric Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e860000'), "name"=>"Mrs. Crystal Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e870000'), "name"=>"Cedrick Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.8112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e880000'), "name"=>"Dr. Catalina Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e890000'), "name"=>"William Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8a0000'), "name"=>"Heath Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8b0000'), "name"=>"Katlyn Zemlak DDS"}] 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={"category_id"=>BSON::ObjectId('53e7584a773533078e8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8c0000'), "name"=>"Mikel Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8d0000'), "name"=>"Davonte Nienow V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8e0000'), "name"=>"Laury Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e8f0000'), "name"=>"Jennings Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e900000'), "name"=>"Miss Simeon Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e910000'), "name"=>"Dr. Dominique Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e920000'), "name"=>"Jarvis Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e930000'), "name"=>"Virgie Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e940000'), "name"=>"Katheryn Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e950000'), "name"=>"Brody Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e960000'), "name"=>"Mrs. Jeff Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e970000'), "name"=>"Tara Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2755ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms Redirected to http://test.host/categories/53e7584a773533078e980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2879ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e990000'), "name"=>"Athena Zboncak IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2788ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7584a773533078e990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3768ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078e990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3053ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e9a0000'), "name"=>"Lia Kreiger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7584a773533078e9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e9b0000'), "name"=>"Gerardo Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241247755913] runtime: 0.0913ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.4068ms Completed 200 OK in 16ms (Views: 15.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e9c0000'), "name"=>"Precious Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241040097356] runtime: 0.0690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3644ms Completed 200 OK in 9ms (Views: 8.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e9d0000'), "name"=>"Mrs. Buddy Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078e9f0000'), "name"=>"Sherwood Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7584a773533078e9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ea00000'), "name"=>"Keyshawn Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7584a773533078ea00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7584a773533078ea00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7584a773533078ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms Redirected to http://test.host/categories/53e7584a773533078ea00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ea10000'), "name"=>"Nedra Hermiston", "reference"=>"Nora Sawayn", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ea20000'), "author_name"=>"Ms. Minerva Weber", "content"=>["Nam amet incidunt sapiente consequuntur alias nihil in. Quidem natus et sed quaerat sequi commodi ut. Enim ut hic consequatur. Et sapiente et ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7584a773533078ea10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea10000')} 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('53e7584a773533078ea10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7584a773533078ea30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms Redirected to http://test.host/products/53e7584a773533078ea10000/comments/53e7584a773533078ea30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ea40000'), "name"=>"Lonny Bergnaum", "reference"=>"Savanah Stiedemann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ea50000'), "author_name"=>"Madison Lynch", "content"=>["Incidunt nobis non mollitia quia. Unde illo possimus laboriosam exercitationem eos. Consequatur ut blanditiis tenetur repudiandae laboriosam accusamus quaerat. Sit odit ex aut ut pariatur hic ipsum. Officia doloremque sed et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7584a773533078ea40000", "id"=>"53e7584a773533078ea50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea40000')} 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('53e7584a773533078ea40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7584a773533078ea50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms Redirected to http://test.host/products/53e7584a773533078ea40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ea60000'), "name"=>"Dr. Michael Rolfson", "reference"=>"Marcelo McLaughlin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ea70000'), "author_name"=>"Brennon Swift", "content"=>["Nobis ipsam fugit magnam modi. Autem maiores ut ut labore libero tenetur. Molestiae occaecati sit quae accusamus. Aspernatur dolorum id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7584a773533078ea60000", "id"=>"53e7584a773533078ea70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea60000')} 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.5ms) Completed 200 OK in 41ms (Views: 38.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ea80000'), "name"=>"Estefania Hoppe", "reference"=>"Gwendolyn Welch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ea90000'), "author_name"=>"Lane Lemke", "content"=>["At ea cupiditate in. Error earum qui eius sed facilis. Sunt non qui tempora quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5901ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7584a773533078ea80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eaa0000'), "name"=>"Mrs. Quincy Satterfield", "reference"=>"Miss Kathlyn Wolf", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eab0000'), "author_name"=>"Mr. Bridget Jacobson", "content"=>["Iusto temporibus ipsa vitae dolorem culpa. Sunt quidem enim et aut ea necessitatibus. Nisi suscipit quaerat aut molestiae porro. Et illum ipsum optio mollitia est expedita dicta. Voluptas ipsam rerum ducimus corporis omnis cum aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7584a773533078eaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4602ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eac0000'), "name"=>"Everardo Dicki MD", "reference"=>"Claudine Kreiger", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ead0000'), "author_name"=>"Kaitlyn Blanda Jr.", "content"=>["Delectus minus et impedit et dicta. Eum ullam iure quaerat minus perferendis amet. Mollitia sit similique ipsam enim aperiam. Voluptates dignissimos eligendi iure dolorem nesciunt maiores sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7584a773533078eac0000", "id"=>"53e7584a773533078ead0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eae0000'), "name"=>"Jermey Rodriguez", "reference"=>"Ernesto Schiller", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eaf0000'), "author_name"=>"Edwin Kerluke", "content"=>["Animi suscipit voluptate ea pariatur natus. Ratione exercitationem atque. Autem non sit nesciunt ut et. Quaerat necessitatibus sed veniam. Aut non esse qui voluptatum dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7584a773533078eae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eb00000'), "name"=>"Lorenz Bahringer Sr.", "reference"=>"Mr. Willy Toy", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eb10000'), "author_name"=>"Linnea Kuhic Sr.", "content"=>["Eos repellat dolor ab pariatur. Omnis ut a. Incidunt mollitia sit asperiores magnam sit corporis. Quasi iusto numquam autem possimus saepe eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7584a773533078eb00000", "id"=>"53e7584a773533078eb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eb20000'), "name"=>"Vida Rowe", "reference"=>"Eileen Schumm", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eb30000'), "author_name"=>"Cortney Monahan", "content"=>["Et sunt eos. Ipsa aut aut. Id ratione amet magnam et est et sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7584a773533078eb30000", "product_id"=>"53e7584a773533078eb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eb20000'), "comments._id"=>BSON::ObjectId('53e7584a773533078eb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Redirected to http://test.host/products/53e7584a773533078eb20000/comments/53e7584a773533078eb30000 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('53e7584a773533078eb40000'), "firstname"=>"Heather", "lastname"=>"Conroy"}] 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.1761ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms Redirected to http://test.host/admin/clients/53e7584a773533078eb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1909ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eb60000'), "firstname"=>"Kenyatta", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms 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"=>"53e7584a773533078eb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078eb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078eb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms 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('53e7584a773533078eb70000'), "firstname"=>"Corrine", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7584a773533078eb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078eb70000')} 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.6ms) 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('53e7584a773533078eb80000'), "firstname"=>"Maureen", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms 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('53e7584a773533078eb90000'), "firstname"=>"Michelle", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2249ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eba0000'), "firstname"=>"Isabella", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7584a773533078eba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078eba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Completed 200 OK in 36ms (Views: 34.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ebb0000'), "firstname"=>"Meda", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7584a773533078ebb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ebb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms Redirected to http://test.host/admin/clients/53e7584a773533078ebb0000 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('53e7584a773533078ebc0000'), "firstname"=>"Sheridan", "lastname"=>"Bogisich"}] 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=>"clients", :query=>{}} runtime: 0.1938ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ebd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms Redirected to http://test.host/clients/53e7584a773533078ebd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1960ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ebe0000'), "firstname"=>"Edwina", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1341ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7584a773533078ebe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ebe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms 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.1444ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ebf0000'), "firstname"=>"Roberto", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7584a773533078ebf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms 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('53e7584a773533078ec00000'), "firstname"=>"Cesar", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms 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('53e7584a773533078ec10000'), "firstname"=>"Kennith", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms 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('53e7584a773533078ec20000'), "firstname"=>"Duncan", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7584a773533078ec20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms 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('53e7584a773533078ec30000'), "firstname"=>"Astrid", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7584a773533078ec30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ec30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7584a773533078ec30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms Redirected to http://test.host/clients/53e7584a773533078ec30000 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('53e7584a773533078ec40000'), "name"=>"Otis McLaughlin IV", "reference"=>"Freddy Reichert DVM", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078ec50000'), "firstname"=>"Iliana", "lastname"=>"Blanda"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3134ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7584a773533078ec40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ec40000')} 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('53e7584a773533078ec40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ec40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078ec60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms Redirected to http://test.host/products/53e7584a773533078ec40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ec70000'), "name"=>"Odie Ullrich", "reference"=>"Dayna Witting DVM", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078ec80000'), "firstname"=>"Lizzie", "lastname"=>"Sawayn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7584a773533078ec80000", "product_id"=>"53e7584a773533078ec70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ec90000'), "name"=>"Art Kovacek PhD", "reference"=>"Kelsi Hilll", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078eca0000'), "firstname"=>"Tianna", "lastname"=>"Klocko"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7584a773533078ec90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ecb0000'), "name"=>"Queen Gerlach", "reference"=>"Aurelie Lemke DVM", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078ecc0000'), "firstname"=>"Randal", "lastname"=>"Friesen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7584a773533078ecc0000", "product_id"=>"53e7584a773533078ecb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ecd0000'), "name"=>"Ms. Virginia Emard", "reference"=>"Miss Jamil Eichmann", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7584a773533078ece0000'), "firstname"=>"Reuben", "lastname"=>"Mayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7584a773533078ece0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7584a773533078ecd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms Unpermitted parameters: name Redirected to http://test.host/products/53e7584a773533078ecd0000/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('53e7584a773533078ecf0000'), "name"=>"Miracle Boyle", "reference"=>"Miss Elinor Leannon", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed00000'), "name"=>"Blair Kuvalis", "reference"=>"Kaitlin Tillman DDS", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed10000'), "name"=>"Meagan Satterfield", "reference"=>"Cornell Murazik", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed20000'), "name"=>"Pete Haag", "reference"=>"Elenora Paucek", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed30000'), "name"=>"Finn Marvin", "reference"=>"Mr. Claude Nitzsche", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed40000'), "name"=>"Jed Thompson", "reference"=>"Rodger Streich", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1404ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Redirected to http://test.host/products/53e7584a773533078ed50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2042ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed60000'), "name"=>"Mariana Bahringer", "reference"=>"Patsy Will", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1400ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7584a773533078ed60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ed60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ed60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms 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.1840ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed70000'), "name"=>"Lelah Hilpert", "reference"=>"Derrick Jones", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7584a773533078ed70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ed70000')} 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.6ms) Completed 200 OK in 44ms (Views: 42.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed80000'), "name"=>"Akeem Wilderman I", "reference"=>"Jessika Johns IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 5ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ed90000'), "name"=>"Dangelo Sporer", "reference"=>"Lisandro McDermott", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eda0000'), "name"=>"HelloWorld", "reference"=>"Coleman Medhurst", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078edb0000'), "name"=>"value", "reference"=>"Shana Dickens", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} Completed 500 Internal Server Error in 2ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078edc0000'), "name"=>"Sandrine Jacobson", "reference"=>"Keenan Reinger V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078edd0000'), "name"=>"Quentin Cronin", "reference"=>"Hayley Windler", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216622173555] runtime: 0.0713ms Completed 200 OK in 4ms (Views: 1.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ede0000'), "name"=>"Laurianne Williamson", "reference"=>"Miss Fausto Wyman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7584a773533078ede0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ede0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms 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('53e7584a773533078edf0000'), "name"=>"Dagmar Mante", "reference"=>"Yasmeen Moore", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ee10000'), "name"=>"Megane Wuckert", "reference"=>"Corene Zboncak", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7584a773533078ee10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ee20000'), "name"=>"Rozella Parisian", "reference"=>"Lera Lockman", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1758ms 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('53e7584a773533078ee30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ee40000'), "name"=>"Mazie Russel", "reference"=>"Joan Pfeffer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7584a773533078ee40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms 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('53e7584a773533078ee50000'), "name"=>"Roxanne Gutmann", "reference"=>"Miss Tessie Vandervort", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms 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('53e7584a773533078ee70000'), "name"=>"Porter Mueller", "reference"=>"Miss Myles Feil", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7509ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7584a773533078ee70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms 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('53e7584a773533078ee80000'), "name"=>"Adrianna D'Amore", "reference"=>"Ibrahim Durgan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7584a773533078ee80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ee80000')} 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('53e7584a773533078ee80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms Redirected to http://test.host/products/53e7584a773533078ee80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eeb0000'), "name"=>"Icie Durgan", "reference"=>"Jamir Cremin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ee90000'), "author_name"=>"Edgardo Dickens", "content"=>["Assumenda consequatur quia numquam iusto earum. Cupiditate facere aliquam quibusdam est corrupti voluptas mollitia. Rerum reprehenderit adipisci mollitia."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eea0000'), "author_name"=>"Khalid Lemke", "content"=>["Architecto repellendus quo ut enim quia eos dolores. Molestiae eveniet officia pariatur. Consequatur temporibus repellat rerum dolorem aut veniam. Perspiciatis recusandae rerum. Vel enim eos est non nisi laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7584a773533078eeb0000", "comment_id"=>"53e7584a773533078ee90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eeb0000'), "comments._id"=>BSON::ObjectId('53e7584a773533078ee90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7584a773533078eec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Redirected to http://test.host/products/53e7584a773533078eeb0000/comments/53e7584a773533078ee90000/comments/53e7584a773533078eec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078eef0000'), "name"=>"Miss Donnie Turner", "reference"=>"Howell Kuphal DDS", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eed0000'), "author_name"=>"Dr. Terrell Gorczany", "content"=>["Beatae aut est amet reprehenderit reiciendis et sint. Exercitationem temporibus blanditiis. Qui qui eos odio deserunt."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078eee0000'), "author_name"=>"Delbert Hermann", "content"=>["Dolorum enim non non qui ullam inventore esse. Suscipit ipsum libero nisi vel aut molestiae sunt. Et atque debitis neque nesciunt et assumenda. Ex aut quasi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7584a773533078eef0000", "comment_id"=>"53e7584a773533078eed0000", "id"=>"53e7584a773533078eee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eef0000'), "comments._id"=>BSON::ObjectId('53e7584a773533078eed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7584a773533078eee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Redirected to http://test.host/products/53e7584a773533078eef0000/comments/53e7584a773533078eed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584a773533078ef20000'), "name"=>"Miguel Schulist", "reference"=>"Anissa Terry", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ef00000'), "author_name"=>"Gayle Harvey", "content"=>["Exercitationem quae nihil. Accusantium sunt et facilis dolorem enim. Et asperiores quae voluptatibus sed ut qui quia."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584a773533078ef10000'), "author_name"=>"Miss Alan Russel", "content"=>["Ut cumque saepe laboriosam asperiores ut voluptatum exercitationem. Laboriosam qui sunt tempora quo praesentium modi ab. Dolorum perferendis consequatur at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7584a773533078ef20000", "comment_id"=>"53e7584a773533078ef00000", "id"=>"53e7584a773533078ef10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584a773533078ef20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078ef50000'), "name"=>"Hillard Ritchie", "reference"=>"Ofelia Zulauf V", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078ef30000'), "author_name"=>"Dr. Jeff Prosacco", "content"=>["Ex asperiores aut in voluptatem porro consequatur quasi. Labore ducimus in. Consectetur et distinctio maiores repudiandae aliquid sit sint. Sunt dolorem maxime ea accusantium id occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078ef40000'), "author_name"=>"Ms. Percival Sanford", "content"=>["Nostrum alias provident rerum a laborum dolore qui. Molestias laborum quidem deleniti nostrum suscipit natus nam. Temporibus corrupti saepe perspiciatis tempore velit ut. Sed quam vel ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7584b773533078ef50000", "comment_id"=>"53e7584b773533078ef30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078ef50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078ef80000'), "name"=>"Miss Blake Boyle", "reference"=>"Miss Rodolfo Orn", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078ef60000'), "author_name"=>"Beau Kassulke", "content"=>["Est dolor eum est qui. Autem qui harum consequatur sit perspiciatis. Eum adipisci quia totam dolores. Reprehenderit nihil veritatis in sit iusto quis. Ipsam itaque maxime dolorum exercitationem sit."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078ef70000'), "author_name"=>"Imogene Kilback DDS", "content"=>["Deserunt deleniti pariatur quisquam ab officiis animi. Saepe omnis esse. Perspiciatis id ullam. Itaque corrupti esse nihil fugiat laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7584b773533078ef80000", "comment_id"=>"53e7584b773533078ef60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078ef80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078efb0000'), "name"=>"Jayce Durgan", "reference"=>"Thea King", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078ef90000'), "author_name"=>"Dr. Kole Nienow", "content"=>["Consequuntur qui libero quis consequatur cumque. Minima veritatis dolorem. Explicabo pariatur perferendis nobis molestiae reprehenderit. Corrupti veritatis quibusdam et velit. Sit ducimus sint aut reprehenderit."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078efa0000'), "author_name"=>"Jalen Boehm", "content"=>["Praesentium pariatur ipsum vitae laboriosam qui occaecati. Et id quisquam minima. Harum eligendi vel et ut esse veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7584b773533078efb0000", "comment_id"=>"53e7584b773533078ef90000", "id"=>"53e7584b773533078efa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078efb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078efe0000'), "name"=>"Newton Nader", "reference"=>"Kaylin Skiles", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078efc0000'), "author_name"=>"Ruby Frami", "content"=>["Ea est consequatur expedita omnis maxime est repudiandae. Aut consequatur et corrupti repudiandae quidem eaque aspernatur. Et sed qui iusto."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078efd0000'), "author_name"=>"Tyrel Hartmann", "content"=>["Eos quia consequatur et eius debitis. Aut nam consequatur odit consequatur esse ut. Odio fuga est eos minus. Aut deserunt rerum ut corporis eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7584b773533078efe0000", "comment_id"=>"53e7584b773533078efc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078efe0000')} 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.0ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e010100'), "name"=>"Annabel Howell", "reference"=>"Dr. Celestino Watsica", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078eff0000'), "author_name"=>"Craig McClure", "content"=>["Alias sequi inventore. Sequi quam animi et impedit et. Aut aut quis quod. Velit voluptates exercitationem quis modi ab et. Molestiae odit id neque libero."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078e000100'), "author_name"=>"Katlyn Ortiz", "content"=>["Perspiciatis atque autem voluptates magnam labore. Pariatur vel sed quos rerum ut. Ipsum enim quisquam impedit. Molestiae fugiat consequatur quia et eos ducimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7584b773533078e010100", "comment_id"=>"53e7584b773533078eff0000", "id"=>"53e7584b773533078e000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078e010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e040100'), "name"=>"Larue Barrows V", "reference"=>"Mrs. Katelin Abernathy", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078e020100'), "author_name"=>"Mr. Enos Dickinson", "content"=>["Dolorum est sint quas vel nihil ipsam sit. Tenetur ea in quidem ut provident. Sed neque reprehenderit perspiciatis ut."], "comments"=>[{"_id"=>BSON::ObjectId('53e7584b773533078e030100'), "author_name"=>"Marley Hegmann", "content"=>["Rerum accusamus voluptatem eius nam reprehenderit dolore qui. Quod consectetur voluptas occaecati. Qui eum assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7584b773533078e030100", "product_id"=>"53e7584b773533078e040100", "comment_id"=>"53e7584b773533078e020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7584b773533078e040100')} 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('53e7584b773533078e040100'), "comments._id"=>BSON::ObjectId('53e7584b773533078e020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7584b773533078e030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms Redirected to http://test.host/products/53e7584b773533078e040100/comments/53e7584b773533078e020100/comments/53e7584b773533078e030100 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('53e7584b773533078e050100'), "firstname"=>"Angie", "lastname"=>"Hickle"}] 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.1726ms 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('53e7584b773533078e060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms Redirected to http://test.host/users/53e7584b773533078e060100 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('53e7584b773533078e070100'), "firstname"=>"Michael", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2438ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7584b773533078e070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7584b773533078e070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7584b773533078e070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms 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.1988ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e080100'), "firstname"=>"Lynn", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7584b773533078e080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7584b773533078e080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e090100'), "firstname"=>"Luna", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms 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.4789ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e0a0100'), "firstname"=>"Sarah", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1267ms 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('53e7584b773533078e0b0100'), "firstname"=>"Ebony", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7584b773533078e0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7584b773533078e0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Completed 200 OK in 3ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7584b773533078e0c0100'), "firstname"=>"Rafael", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7584b773533078e0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7584b773533078e0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms Unpermitted parameters: name Redirected to http://test.host/users/53e7584b773533078e0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms 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.5051ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms 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.4144ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6067ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.7897ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586477353307ba000000'), "firstname"=>"Payton", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6616ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3330ms 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('53e7586477353307ba010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms 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.3627ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586477353307ba020000'), "firstname"=>"Leonor", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e7586477353307ba020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586477353307ba020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5158ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586477353307ba030000'), "firstname"=>"Rodrigo", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5657ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586477353307ba040000'), "firstname"=>"Amos", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5854ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e7586477353307ba040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586477353307ba040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4214ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586477353307ba050000'), "firstname"=>"Pedro", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e7586477353307ba050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586477353307ba050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms 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('53e7586577353307ba060000'), "name"=>"Ike Batz", "reference"=>"Abbey Rowe IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba070000'), "author_name"=>"Dagmar Wisoky", "content"=>["Repellat cumque aspernatur aut. Rerum neque ut dolorem suscipit praesentium accusamus excepturi. Harum autem enim et quos recusandae neque. Et similique et molestiae iusto aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7586577353307ba060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4036ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7586577353307ba080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5021ms Redirected to http://test.host/admin/products/53e7586577353307ba060000/comments/53e7586577353307ba080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4316ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba090000'), "name"=>"Demarco Towne", "reference"=>"Isom Aufderhar", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba0a0000'), "author_name"=>"Dr. Kylie Waelchi", "content"=>["Ipsum quo fugit. Voluptate illum unde sit repellendus sit. Itaque ad culpa porro nemo laudantium maiores. Est et adipisci voluptas quia repellat non quisquam. Minus harum odio in facere sint natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7586577353307ba090000", "id"=>"53e7586577353307ba0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7586577353307ba0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/admin/products/53e7586577353307ba090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba0b0000'), "name"=>"Randi Leuschke", "reference"=>"Bernita Skiles", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba0c0000'), "author_name"=>"Stan Senger", "content"=>["Assumenda ut enim repudiandae iste voluptatem. Error vero repellendus accusantium corporis. Delectus libero voluptatum veritatis sit incidunt fugit. Possimus veritatis recusandae ut voluptas. Nisi rerum quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e7586577353307ba0b0000", "id"=>"53e7586577353307ba0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba0b0000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba0d0000'), "name"=>"Grace Franecki", "reference"=>"Marshall Schmidt DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba0e0000'), "author_name"=>"Ludie Becker", "content"=>["Eos a pariatur deserunt quod omnis aspernatur aliquid. Harum corporis impedit nostrum eum. Quibusdam est corporis minima ipsum modi officiis. Aut illum quaerat alias esse. Est nihil quas inventore deserunt est sit dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e7586577353307ba0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba0f0000'), "name"=>"Gerhard Dare Jr.", "reference"=>"Mr. Claudine Fadel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba100000'), "author_name"=>"Shayne Roberts", "content"=>["Vitae cum exercitationem et repellat reprehenderit. Sunt est officia unde ab voluptatem. Est dolor sunt enim exercitationem aspernatur. Nihil commodi fugiat et. Exercitationem recusandae maiores et voluptatibus suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e7586577353307ba0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba110000'), "name"=>"Buddy Altenwerth PhD", "reference"=>"Enrico Lueilwitz", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba120000'), "author_name"=>"Dr. Angelita Steuber", "content"=>["Omnis voluptatem explicabo dolores perferendis. Ratione temporibus nobis eius architecto eos. Iste nihil reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e7586577353307ba110000", "id"=>"53e7586577353307ba120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba130000'), "name"=>"Catalina Frami", "reference"=>"Bridget Gorczany", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307ba140000'), "author_name"=>"Ismael Fritsch", "content"=>["Alias corporis accusantium aut ut minima. Eius voluptatem aut excepturi eligendi quod illum. Aut officia rerum excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7586577353307ba140000", "product_id"=>"53e7586577353307ba130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba130000'), "comments._id"=>BSON::ObjectId('53e7586577353307ba140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Redirected to http://test.host/admin/products/53e7586577353307ba130000/comments/53e7586577353307ba140000 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('53e7586577353307ba150000'), "name"=>"Kitty Dickinson", "reference"=>"Lela Huel IV", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba160000'), "firstname"=>"Hellen", "lastname"=>"Heathcote"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7586577353307ba150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba150000')} 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('53e7586577353307ba150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms Redirected to http://test.host/admin/products/53e7586577353307ba150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba180000'), "name"=>"Ewald Pfannerstill", "reference"=>"Stacey Christiansen", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba190000'), "firstname"=>"Connor", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e7586577353307ba190000", "product_id"=>"53e7586577353307ba180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba180000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba1a0000'), "name"=>"Blanca Armstrong DVM", "reference"=>"Mauricio Gorczany", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba1b0000'), "firstname"=>"Collin", "lastname"=>"Schneider"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e7586577353307ba1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba1c0000'), "name"=>"Noemy Durgan", "reference"=>"Clay McKenzie", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba1d0000'), "firstname"=>"Kallie", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e7586577353307ba1d0000", "product_id"=>"53e7586577353307ba1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba1e0000'), "name"=>"Cheyenne Medhurst Jr.", "reference"=>"Halle Abernathy II", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307ba1f0000'), "firstname"=>"Emory", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e7586577353307ba1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7586577353307ba1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e7586577353307ba1e0000/manager 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('53e7586577353307ba200000'), "name"=>"Kamron Block", "reference"=>"Mrs. Arne Hansen", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1730ms 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('53e7586577353307ba210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Redirected to http://test.host/admin/products/53e7586577353307ba210000 Completed 302 Found in 3ms 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('53e7586577353307ba220000'), "name"=>"Luella Beahan V", "reference"=>"Ms. Scottie Ritchie", "quantity"=>7}] 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.1639ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e7586577353307ba220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba220000')} 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('53e7586577353307ba220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms 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.1802ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba230000'), "name"=>"Cary Bruen", "reference"=>"Mr. Delta Schulist", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4060ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e7586577353307ba230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba240000'), "name"=>"Guy Thiel", "reference"=>"Aditya Glover", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms 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.4675ms Completed 200 OK in 11ms (Views: 10.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba250000'), "name"=>"Darrin Jacobson", "reference"=>"Lupe Weissnat", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba280000'), "name"=>"Peter Gleichner", "reference"=>"Miss Omari Waelchi", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e7586577353307ba280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms 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('53e7586577353307ba290000'), "name"=>"Brandt Fahey", "reference"=>"Isabel Mraz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7586577353307ba290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307ba290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms Redirected to http://test.host/admin/products/53e7586577353307ba290000 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('53e7586577353307ba2a0000'), "firstname"=>"Marcos", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1402ms 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('53e7586577353307ba2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Redirected to http://test.host/admin/users/53e7586577353307ba2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2226ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba2c0000'), "firstname"=>"Alicia", "lastname"=>"Cronin"}] 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=>"admin_users", :query=>{}} runtime: 0.1326ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e7586577353307ba2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586577353307ba2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586577353307ba2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms 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.1382ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba2d0000'), "firstname"=>"Jayne", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e7586577353307ba2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586577353307ba2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba2e0000'), "firstname"=>"Oliver", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms 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.3065ms 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('53e7586577353307ba2f0000'), "firstname"=>"Lysanne", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms 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.5ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba300000'), "firstname"=>"Idell", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e7586577353307ba300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586577353307ba300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms 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('53e7586577353307ba310000'), "firstname"=>"Leland", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4837ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7586577353307ba310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586577353307ba310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e7586577353307ba310000 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('53e7586577353307ba320000'), "firstname"=>"Ardith", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2215ms 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('53e7586577353307ba330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms 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.1722ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba340000'), "firstname"=>"Jolie", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7586577353307ba340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586577353307ba340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba350000'), "firstname"=>"Emily", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba360000'), "firstname"=>"Melody", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7586577353307ba360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586577353307ba360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba370000'), "firstname"=>"Walker", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7586577353307ba370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7586577353307ba370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba380000'), "name"=>"Eliane Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba390000'), "name"=>"Sydnie Reynolds DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3a0000'), "name"=>"Janessa Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3b0000'), "name"=>"Dorcas Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3c0000'), "name"=>"Antonia Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3d0000'), "name"=>"Wallace Gusikowski I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3e0000'), "name"=>"Mrs. Shanny Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba3f0000'), "name"=>"Miss Warren Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba400000'), "name"=>"Mollie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba410000'), "name"=>"Kirk Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba420000'), "name"=>"Angelina Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba430000'), "name"=>"Okey Schamberger Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba440000'), "name"=>"Clarabelle Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba450000'), "name"=>"Maximo Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba460000'), "name"=>"Mrs. Harrison Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba470000'), "name"=>"Nathanial Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba480000'), "name"=>"Mrs. Hazel Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba490000'), "name"=>"Madelyn Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4a0000'), "name"=>"Fatima Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4b0000'), "name"=>"Hubert Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4c0000'), "name"=>"Mrs. Makenzie Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4d0000'), "name"=>"Cedrick Graham II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4e0000'), "name"=>"Billy Zemlak I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba4f0000'), "name"=>"Nash Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba500000'), "name"=>"Kristofer Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba510000'), "name"=>"Ms. Devonte Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba520000'), "name"=>"Casimer Douglas PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba530000'), "name"=>"Mrs. Marlee Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba540000'), "name"=>"Gayle Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba550000'), "name"=>"Jaden Murray II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba560000'), "name"=>"Era Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba570000'), "name"=>"Elisabeth Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba580000'), "name"=>"Lavern Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba590000'), "name"=>"Westley Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5a0000'), "name"=>"Kris Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5b0000'), "name"=>"Napoleon Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5c0000'), "name"=>"Rigoberto Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5d0000'), "name"=>"Misael Stehr II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5e0000'), "name"=>"Amiya Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba5f0000'), "name"=>"Colby Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba600000'), "name"=>"Bria Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba610000'), "name"=>"Matilde Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba620000'), "name"=>"Kaia Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba630000'), "name"=>"Christa Kuvalis Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba640000'), "name"=>"Kristin Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba650000'), "name"=>"Omari Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba660000'), "name"=>"Dorris Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba670000'), "name"=>"Rozella Aufderhar MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba680000'), "name"=>"Dell Sipes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba690000'), "name"=>"Tyrese Murazik Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6a0000'), "name"=>"Mrs. Corine Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6b0000'), "name"=>"Santiago Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6c0000'), "name"=>"Richard Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6d0000'), "name"=>"Felicita Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6e0000'), "name"=>"Arnold Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba6f0000'), "name"=>"Grayce Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 24.4870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba700000'), "name"=>"Keanu Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba710000'), "name"=>"Jasmin Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba720000'), "name"=>"Abdul Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba730000'), "name"=>"Rosella Shanahan IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba740000'), "name"=>"Mrs. Athena Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba750000'), "name"=>"Cecil Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba760000'), "name"=>"Mrs. Kirstin Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba770000'), "name"=>"Micah Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba780000'), "name"=>"Mr. Donato Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba790000'), "name"=>"Mr. Burnice Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7a0000'), "name"=>"Eldora Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7b0000'), "name"=>"Ahmad McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7c0000'), "name"=>"Dayana Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7d0000'), "name"=>"Kathryn Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7e0000'), "name"=>"Miss Drake Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba7f0000'), "name"=>"Sigurd Boehm DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba800000'), "name"=>"Caleb Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba810000'), "name"=>"Marilyne Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba820000'), "name"=>"Amalia O'Connell I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba830000'), "name"=>"Angie Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba840000'), "name"=>"Beau Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba850000'), "name"=>"Jaydon Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba860000'), "name"=>"Adrain Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba870000'), "name"=>"Tyshawn Tromp DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba880000'), "name"=>"Aylin Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba890000'), "name"=>"Demarcus Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8a0000'), "name"=>"Ryder Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8b0000'), "name"=>"Anais Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8c0000'), "name"=>"Emmitt Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8d0000'), "name"=>"Mrs. Maxine Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8e0000'), "name"=>"Granville Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba8f0000'), "name"=>"Lonzo Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba900000'), "name"=>"Mr. Pearline Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba910000'), "name"=>"Ciara Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba920000'), "name"=>"Kennedi Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba930000'), "name"=>"Anastasia Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba940000'), "name"=>"Julio Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba950000'), "name"=>"Jonathan Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba960000'), "name"=>"Letha Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba970000'), "name"=>"Violette Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1335ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms Redirected to http://test.host/categories/53e7586577353307ba980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1587ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba990000'), "name"=>"Edmond Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1371ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7586577353307ba990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307ba990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307ba990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1902ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba9a0000'), "name"=>"Rebeca Tremblay I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7586577353307ba9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba9b0000'), "name"=>"Kassandra Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240873720459] runtime: 0.0958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1999ms Completed 200 OK in 16ms (Views: 15.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba9c0000'), "name"=>"Kenyatta Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241602217249] runtime: 0.0701ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1673ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba9d0000'), "name"=>"Lina Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307ba9f0000'), "name"=>"Bernadette West Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7586577353307ba9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7586577353307baa00000'), "name"=>"Hazel Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7586577353307baa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7586577353307baa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7586577353307baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms Redirected to http://test.host/categories/53e7586577353307baa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baa10000'), "name"=>"Scottie Waters", "reference"=>"Emmalee Lebsack MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baa20000'), "author_name"=>"Mrs. Lisa Rau", "content"=>["Veritatis corrupti vitae quas voluptatem doloribus. Ut est reprehenderit qui quos. Amet veniam nam rerum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7586577353307baa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa10000')} 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('53e7586577353307baa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7586577353307baa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms Redirected to http://test.host/products/53e7586577353307baa10000/comments/53e7586577353307baa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa10000')} 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('53e7586577353307baa40000'), "name"=>"Ethel Ebert", "reference"=>"Lura Schmitt III", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baa50000'), "author_name"=>"Maximillian Bernhard", "content"=>["Est quas nulla et rerum. Doloribus blanditiis vero velit debitis ullam. Ut quia molestias deleniti officia quaerat perferendis. Laudantium voluptates assumenda dolor. Sapiente iusto eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7586577353307baa40000", "id"=>"53e7586577353307baa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7586577353307baa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms Redirected to http://test.host/products/53e7586577353307baa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baa60000'), "name"=>"Tristin Rippin IV", "reference"=>"Jace Torphy", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baa70000'), "author_name"=>"Alia Nicolas", "content"=>["At possimus neque repudiandae. Veniam eius dignissimos dolores et. Facilis necessitatibus consequatur rerum et rem in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7586577353307baa60000", "id"=>"53e7586577353307baa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 44ms (Views: 41.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baa80000'), "name"=>"Susie Hodkiewicz IV", "reference"=>"Nannie Gulgowski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baa90000'), "author_name"=>"Alize Rempel IV", "content"=>["Ut et perferendis quo voluptas voluptate consectetur. Qui nulla cum molestiae id doloremque. Aspernatur voluptatem corporis assumenda consequatur doloremque. Occaecati sapiente ut numquam debitis facilis delectus. Enim ut recusandae rerum qui culpa similique sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7586577353307baa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baaa0000'), "name"=>"Reynold Little", "reference"=>"Yasmine Welch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baab0000'), "author_name"=>"Keyshawn Ritchie", "content"=>["Quam praesentium tenetur ullam unde provident. Officia animi repellat tenetur sed magni deserunt. Vitae tempore qui sequi. Et temporibus dolorem eum ex ut nulla quis. Laudantium odit consequuntur atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7586577353307baaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baac0000'), "name"=>"Skylar Hartmann", "reference"=>"Annamae Baumbach", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baad0000'), "author_name"=>"Jaycee McCullough", "content"=>["Id odit blanditiis id nesciunt. Cum eum molestias reprehenderit sint. Laboriosam voluptas et et neque. Et impedit fugit esse sunt laudantium. Expedita maiores quidem magnam quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7586577353307baac0000", "id"=>"53e7586577353307baad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307baae0000'), "name"=>"Silas Schoen", "reference"=>"Ansley Hansen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307baaf0000'), "author_name"=>"Kip Schmitt", "content"=>["Eum enim molestiae alias. Sunt quia hic quis. Sapiente quibusdam accusantium molestias molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7586577353307baae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307baae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307bab00000'), "name"=>"Maribel Ondricka", "reference"=>"Mr. Urban Runte", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307bab10000'), "author_name"=>"Mr. Vladimir White", "content"=>["Nobis animi asperiores quia libero optio. Voluptatum fuga sed consequatur dicta. Dignissimos in quis. Dicta fugiat in voluptas nam eos id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7586577353307bab00000", "id"=>"53e7586577353307bab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307bab20000'), "name"=>"Miss Meta Goodwin", "reference"=>"Catharine Goyette", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7586577353307bab30000'), "author_name"=>"Mr. Kennith Greenfelder", "content"=>["Quasi qui nemo. Fugit autem in. Et et sequi ex. Sit qui nisi neque explicabo officiis maxime. Impedit consequatur at ratione enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7586577353307bab30000", "product_id"=>"53e7586577353307bab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bab20000')} 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('53e7586577353307bab20000'), "comments._id"=>BSON::ObjectId('53e7586577353307bab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Redirected to http://test.host/products/53e7586577353307bab20000/comments/53e7586577353307bab30000 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('53e7586577353307bab40000'), "firstname"=>"Dandre", "lastname"=>"Batz"}] 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.2309ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Redirected to http://test.host/admin/clients/53e7586577353307bab50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2335ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bab60000'), "firstname"=>"Scarlett", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2049ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7586577353307bab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms 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.1490ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bab70000'), "firstname"=>"Kiara", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7586577353307bab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) 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('53e7586577353307bab80000'), "firstname"=>"Dayana", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5771ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms 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('53e7586577353307bab90000'), "firstname"=>"Alvena", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307baba0000'), "firstname"=>"Damien", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7586577353307baba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307baba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Completed 200 OK in 37ms (Views: 35.5ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307babb0000'), "firstname"=>"Luigi", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7586577353307babb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307babb0000')} 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('53e7586577353307babb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms Redirected to http://test.host/admin/clients/53e7586577353307babb0000 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('53e7586577353307babc0000'), "firstname"=>"Kira", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1456ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307babd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms Redirected to http://test.host/clients/53e7586577353307babd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1704ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307babe0000'), "firstname"=>"Abbey", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms 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"=>"53e7586577353307babe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307babe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307babe0000')} 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.1608ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307babf0000'), "firstname"=>"Daphnee", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7586577353307babf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307babf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms 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('53e7586577353307bac00000'), "firstname"=>"Natalia", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bac10000'), "firstname"=>"Jayme", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6917ms 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.5ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bac20000'), "firstname"=>"Justice", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7586577353307bac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7586577353307bac30000'), "firstname"=>"Dasia", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7586577353307bac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7586577353307bac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms Redirected to http://test.host/clients/53e7586577353307bac30000 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('53e7586577353307bac40000'), "name"=>"Rosalinda Abernathy", "reference"=>"Lula Walter", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307bac50000'), "firstname"=>"Carissa", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7586577353307bac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7586577353307bac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms Redirected to http://test.host/products/53e7586577353307bac40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307bac70000'), "name"=>"Terence Luettgen", "reference"=>"Alessandro Murray", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307bac80000'), "firstname"=>"Johan", "lastname"=>"Harber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7586577353307bac80000", "product_id"=>"53e7586577353307bac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bac70000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586577353307bac90000'), "name"=>"Deonte Abshire Sr.", "reference"=>"Nikki Borer IV", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7586577353307baca0000'), "firstname"=>"Kailyn", "lastname"=>"Predovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7586577353307bac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586577353307bac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bacb0000'), "name"=>"Loyce Towne", "reference"=>"Otis Bernhard", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e7586677353307bacc0000'), "firstname"=>"Nia", "lastname"=>"Ziemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7586677353307bacc0000", "product_id"=>"53e7586677353307bacb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bacb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bacd0000'), "name"=>"Ivah Prosacco", "reference"=>"Raheem Fisher", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7586677353307bace0000'), "firstname"=>"Susie", "lastname"=>"Goodwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7586677353307bace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7586677353307bacd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bacd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Unpermitted parameters: name Redirected to http://test.host/products/53e7586677353307bacd0000/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('53e7586677353307bacf0000'), "name"=>"Magali Gutkowski", "reference"=>"Winifred Botsford", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad00000'), "name"=>"Liliane Watsica IV", "reference"=>"Rosetta Adams", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad10000'), "name"=>"Randy Bergnaum PhD", "reference"=>"Mia Kohler I", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad20000'), "name"=>"Austen Ratke", "reference"=>"Gus Braun", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad30000'), "name"=>"Torrey Abbott", "reference"=>"Jamey Sipes", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad40000'), "name"=>"Lorna Hauck", "reference"=>"Mrs. Elmer Schulist", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1458ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms Redirected to http://test.host/products/53e7586677353307bad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2011ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad60000'), "name"=>"Mr. Merlin Shanahan", "reference"=>"Mike Ryan", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1409ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7586677353307bad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms 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.1442ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad70000'), "name"=>"Frank Stehr", "reference"=>"Fannie Gibson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7586677353307bad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 44ms (Views: 42.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad80000'), "name"=>"Lamar Glover", "reference"=>"Martin Hilpert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214847145744] runtime: 0.1135ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2177ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bad90000'), "name"=>"Harley Lakin I", "reference"=>"Alec Adams III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bada0000'), "name"=>"HelloWorld", "reference"=>"Dr. Erwin Cummerata", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307badb0000'), "name"=>"value", "reference"=>"Cameron Hansen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3809ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2661ms Completed 200 OK in 5ms (Views: 4.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2171ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2124ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1528ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Completed 200 OK in 3ms (Views: 2.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2424ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2013ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1502ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307badc0000'), "name"=>"Elyse Hane I", "reference"=>"Miss Cole Langworth", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8920ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216127495418] runtime: 0.1105ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2186ms Completed 200 OK in 21ms (Views: 20.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216343289773] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216076180137] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216105275290] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216425569648] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215953050453] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215525777559] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216771913432] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215355254566] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215076525141] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216648440939] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215041269437] runtime: 0.1430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216193769186] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215811868047] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215968376204] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214958922385] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216395810284] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215878531992] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216009862650] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215302205023] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215502131958] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216758037704] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895130358] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216662814260] runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215589746851] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214961732931] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216450994643] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214907944646] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214888905781] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215931979231] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215771510356] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215328312259] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215438006896] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214943121649] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215137508992] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215827759350] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216064268822] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216428627810] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214789968056] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215014273521] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215709935030] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216545601577] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215825533666] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216822902252] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215794928379] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216219120638] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215992549555] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860402071] runtime: 0.0760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215598704939] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215461468803] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215396411960] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216024193614] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214876685461] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215382840288] runtime: 0.0973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214748695752] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215030185836] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215410611020] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216754817552] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216356039527] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215529900206] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215798635843] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216743188490] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216084778402] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215637355713] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215746567384] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216780223861] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216741798633] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216268280342] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216438676481] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215819271665] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215787460296] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216233016257] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215758783707] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216251551128] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215260498293] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216200829591] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216283468674] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215739539832] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215049554510] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215527844997] runtime: 0.0914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216697915658] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215045519637] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216385724631] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215269046693] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214926170327] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216179144192] runtime: 0.1133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214924131047] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139100124] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216618572535] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214847198958] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215814732407] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215996229717] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215057296716] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215673199241] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216678220511] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215795379882] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216412891046] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216177898203] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215225226008] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216410239809] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216003748625] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215948141242] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215705275841] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215479215514] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214808330449] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216314635499] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215525313988] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216807300770] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215263661228] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216481435565] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215607791597] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216640539366] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215414422527] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215360858435] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215389703321] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215093865922] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216178966636] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216873136246] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216745764351] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215341854497] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216298589446] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214900760636] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215036681980] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215601224991] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216270055678] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214866179860] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216572285366] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214967878746] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215572720094] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215213213177] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215794080856] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216371706012] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215898259715] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214893289126] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216552535414] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215201261123] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214990077446] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215221012227] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215758070581] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215487452749] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216423597508] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215280124579] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216171183403] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215087134209] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216232551782] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215425635281] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215006205140] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216581466624] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216861273883] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216240126895] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216274009234] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215294119717] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215317853337] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215466476555] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214948079148] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134584530] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215905736151] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214787632287] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215598890239] runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214957860821] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216217049376] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215067309210] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216122647553] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215943914470] runtime: 0.0634ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307badd0000'), "name"=>"Francisca Becker", "reference"=>"Dr. Charlene Hoeger", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215855968631] runtime: 0.0788ms 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('53e7586677353307bade0000'), "name"=>"Miss Kaleigh Considine", "reference"=>"Timmy Roberts Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7586677353307bade0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bade0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms 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('53e7586677353307badf0000'), "name"=>"Brody Howell", "reference"=>"Alfreda Emard", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bae10000'), "name"=>"Miss Elna Daniel", "reference"=>"Marco Lockman I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7586677353307bae10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bae20000'), "name"=>"Ms. Wilburn Ebert", "reference"=>"Adalberto Christiansen", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1444ms 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('53e7586677353307bae30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1584ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bae40000'), "name"=>"Rosamond Marvin Jr.", "reference"=>"Dane Botsford", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7586677353307bae40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.3695ms Completed 200 OK in 23ms (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('53e7586677353307bae50000'), "name"=>"Cassandra Stokes", "reference"=>"Katheryn Schmeler PhD", "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('53e7586677353307bae70000'), "name"=>"Jewel Mayert MD", "reference"=>"Eli Baumbach IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7586677353307bae70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae70000')} 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('53e7586677353307bae70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms 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('53e7586677353307bae80000'), "name"=>"Luella Huels II", "reference"=>"Donny VonRueden", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7586677353307bae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bae80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms Redirected to http://test.host/products/53e7586677353307bae80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307baeb0000'), "name"=>"Kennedi Kertzmann", "reference"=>"Vaughn Gulgowski", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307bae90000'), "author_name"=>"Jacinthe Harvey DDS", "content"=>["Voluptatem sequi ea nobis aliquid voluptates et. Et deleniti necessitatibus id magnam et. Est quam odit consequatur officiis. Totam ab fuga repellendus velit."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baea0000'), "author_name"=>"Dr. Tristin Nienow", "content"=>["Et quo voluptas eos illum. Ea architecto quod corporis aspernatur omnis qui enim. Omnis non debitis minus natus iure repellat. Voluptatem aut maxime soluta quos blanditiis. Dolores sed sed non provident voluptatem vero dolores."]}]}]}] 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('53e7586677353307baeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7586677353307baeb0000", "comment_id"=>"53e7586677353307bae90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baeb0000'), "comments._id"=>BSON::ObjectId('53e7586677353307bae90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7586677353307baec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Redirected to http://test.host/products/53e7586677353307baeb0000/comments/53e7586677353307bae90000/comments/53e7586677353307baec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307baef0000'), "name"=>"Dr. Tania Baumbach", "reference"=>"Valerie Roob", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baed0000'), "author_name"=>"Victoria Quigley", "content"=>["Tempore ut doloremque maxime molestiae voluptatum. Nam quia aut dolorum est possimus aut incidunt. Quas aut doloremque quibusdam voluptatum earum totam vero. Animi quasi unde assumenda non velit minus."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baee0000'), "author_name"=>"Lucinda Senger", "content"=>["Eaque blanditiis tenetur accusamus. Labore exercitationem consequatur quis quia. Suscipit voluptates molestiae quo fuga molestiae laboriosam. Aut unde dolorem perspiciatis assumenda mollitia beatae expedita."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7586677353307baef0000", "comment_id"=>"53e7586677353307baed0000", "id"=>"53e7586677353307baee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baef0000')} 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('53e7586677353307baef0000'), "comments._id"=>BSON::ObjectId('53e7586677353307baed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7586677353307baee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5971ms Redirected to http://test.host/products/53e7586677353307baef0000/comments/53e7586677353307baed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307baf20000'), "name"=>"Salvador Greenholt", "reference"=>"Anibal Frami", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf00000'), "author_name"=>"Janae Wiegand", "content"=>["Fuga aut sapiente magni odit culpa. Consectetur ut voluptatum. Architecto vitae et sapiente non harum. Ullam maxime dolorum repudiandae vel. Ut dolorem maxime voluptatem quia et."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf10000'), "author_name"=>"Ted Rutherford IV", "content"=>["Et rerum ipsa est unde. Hic delectus ad voluptatibus eos. Quam voluptas voluptatem fugit assumenda. Esse nihil et sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7586677353307baf20000", "comment_id"=>"53e7586677353307baf00000", "id"=>"53e7586677353307baf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307baf50000'), "name"=>"Dr. Wallace Maggio", "reference"=>"Kristin O'Kon", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf30000'), "author_name"=>"Fiona Bechtelar", "content"=>["Perferendis asperiores nemo ex non laboriosam. Ut earum esse ab non. Aut eveniet non et nam quod cum qui. Vero odio quasi. Assumenda qui ipsam quo et quo incidunt enim."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf40000'), "author_name"=>"Frederic Bernhard", "content"=>["Autem facilis et quidem vel sed voluptas occaecati. Doloribus autem quisquam magni vitae rem ex. Ut nihil occaecati quo amet quo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5444ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7586677353307baf50000", "comment_id"=>"53e7586677353307baf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4005ms Completed 200 OK in 32ms (Views: 30.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307baf80000'), "name"=>"Jean Heaney", "reference"=>"Mertie Watsica", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf60000'), "author_name"=>"Meghan Wisozk", "content"=>["Sit id nisi. Sed ut repellat quo omnis placeat. Commodi fugit rerum aliquid et eligendi error id."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf70000'), "author_name"=>"Tyshawn Nitzsche", "content"=>["Dolorem fugiat culpa aut et. Magnam qui minima est culpa dolores velit molestiae. Dolores quod libero mollitia adipisci et quam. Velit ipsam qui et quod occaecati voluptatum. Ab error et ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3729ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7586677353307baf80000", "comment_id"=>"53e7586677353307baf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307baf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bafb0000'), "name"=>"Jefferey Emard", "reference"=>"Princess Haag", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baf90000'), "author_name"=>"Miss Alberto Price", "content"=>["Et laborum at. Culpa delectus voluptatem sequi nemo. Ipsa inventore dolores commodi veniam hic. Itaque voluptas error laborum vel molestiae doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307bafa0000'), "author_name"=>"Fabiola Hyatt", "content"=>["Voluptatem voluptatem delectus inventore. Necessitatibus accusantium excepturi tempore est quia id aut. Omnis sunt laudantium officiis quis. Unde nisi quia sequi beatae. Nihil eum tempora nihil molestiae quibusdam mollitia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7586677353307bafb0000", "comment_id"=>"53e7586677353307baf90000", "id"=>"53e7586677353307bafa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bafb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4151ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307bafe0000'), "name"=>"Tabitha Haley", "reference"=>"Nicolas Roberts", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307bafc0000'), "author_name"=>"Luella Casper", "content"=>["Et dolorum voluptatum odit cum delectus. Ipsam est et quasi exercitationem consequuntur quae unde. Sunt fuga reiciendis placeat soluta deleniti sequi doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307bafd0000'), "author_name"=>"Malcolm Heaney", "content"=>["Quibusdam rerum sit. Exercitationem repudiandae autem. Vero ipsa inventore distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5865ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7586677353307bafe0000", "comment_id"=>"53e7586677353307bafc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307bafe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307ba010100'), "name"=>"Kayden Ratke IV", "reference"=>"Miss Raquel Schamberger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307baff0000'), "author_name"=>"Meta VonRueden", "content"=>["Iusto tenetur aut temporibus. Qui porro maxime veniam. Porro quam perferendis et accusamus non dolorem exercitationem."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307ba000100'), "author_name"=>"Moises Wilkinson", "content"=>["Aut minus et. Sint quas in rerum aut voluptatem sapiente. Exercitationem explicabo in aut molestias ut. Earum accusamus porro sed blanditiis suscipit iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7586677353307ba010100", "comment_id"=>"53e7586677353307baff0000", "id"=>"53e7586677353307ba000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307ba010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7586677353307ba040100'), "name"=>"Willow Schmitt", "reference"=>"Ms. Lilian O'Reilly", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307ba020100'), "author_name"=>"Ilene Spencer III", "content"=>["Similique aliquam et animi ratione perferendis architecto suscipit. Quia id maxime in repellendus nostrum. Soluta aut dicta omnis dolores quisquam provident."], "comments"=>[{"_id"=>BSON::ObjectId('53e7586677353307ba030100'), "author_name"=>"Jessika Lindgren Jr.", "content"=>["In quia animi quia repudiandae. Odio excepturi a quo. Architecto aut ex placeat provident necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5700ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7586677353307ba030100", "product_id"=>"53e7586677353307ba040100", "comment_id"=>"53e7586677353307ba020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307ba040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7586677353307ba040100'), "comments._id"=>BSON::ObjectId('53e7586677353307ba020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7586677353307ba030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6943ms Redirected to http://test.host/products/53e7586677353307ba040100/comments/53e7586677353307ba020100/comments/53e7586677353307ba030100 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('53e7586677353307ba050100'), "firstname"=>"Romaine", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2705ms 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('53e7586677353307ba060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Redirected to http://test.host/users/53e7586677353307ba060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2456ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586677353307ba070100'), "firstname"=>"Mary", "lastname"=>"Kreiger"}] 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=>"admin_users", :query=>{}} runtime: 0.2130ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7586677353307ba070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586677353307ba070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586677353307ba070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms 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.2720ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586677353307ba080100'), "firstname"=>"Kylee", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7586677353307ba080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586677353307ba080100')} 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.5ms) 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('53e7586677353307ba090100'), "firstname"=>"Ignatius", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms 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.3508ms 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('53e7586677353307ba0a0100'), "firstname"=>"Warren", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7586677353307ba0b0100'), "firstname"=>"Bernadine", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5431ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7586677353307ba0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586677353307ba0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms 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('53e7586677353307ba0c0100'), "firstname"=>"Emely", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7586677353307ba0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7586677353307ba0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms Unpermitted parameters: name Redirected to http://test.host/users/53e7586677353307ba0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6211ms 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.6041ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6853ms 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.5631ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9861ms 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.4475ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96000000'), "name"=>"Fredy Langworth", "reference"=>"Madilyn Okuneva", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96010000'), "name"=>"Isobel Koch", "reference"=>"Damon Welch MD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96020000'), "name"=>"Leonardo Tillman III", "reference"=>"Ayana Will", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96030000'), "name"=>"Malachi Kovacek", "reference"=>"Franz D'Amore Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96040000'), "name"=>"Mr. Emery Zieme", "reference"=>"Myra Bogan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96050000'), "name"=>"Royce Schuppe", "reference"=>"Dylan Langworth", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2834ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7d73c7735332a96000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73c7735332a96000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73c7735332a96000000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms 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.3073ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96060000'), "name"=>"Bartholome Stokes", "reference"=>"Emery Satterfield", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7d73c7735332a96060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73c7735332a96060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 47ms (Views: 45.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96070000'), "name"=>"Gregg Orn", "reference"=>"Roscoe Volkman", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.1507ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4642ms Completed 200 OK in 11ms (Views: 10.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96080000'), "name"=>"Jamil Leuschke", "reference"=>"Orval Bogan IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a96090000'), "name"=>"HelloWorld", "reference"=>"Rowan Rippin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a960a0000'), "name"=>"value", "reference"=>"Cristopher Quigley", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4541ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3286ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3219ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2082ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Completed 200 OK in 4ms (Views: 4.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2823ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2508ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2262ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a960b0000'), "name"=>"Ava Mueller", "reference"=>"Ellis Littel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5785ms Completed 200 OK in 10ms (Views: 9.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4155ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a960c0000'), "name"=>"Victor Bartell", "reference"=>"Ms. Millie Harber", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4578ms Completed 200 OK in 4ms (Views: 1.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73c7735332a960d0000'), "name"=>"Judge Witting", "reference"=>"Asia Gleason", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8837ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7d73c7735332a960d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73c7735332a960d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms 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('53e7d73c7735332a960e0000'), "name"=>"Anderson Walter Jr.", "reference"=>"Miss Jeanette Kessler", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 27ms (Views: 5.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73d7735332a96110000'), "name"=>"Ian Hirthe", "reference"=>"Salma Stamm", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7d73d7735332a96110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73d7735332a96120000'), "name"=>"Chaz Heidenreich", "reference"=>"Kiley Corkery", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2225ms 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('53e7d73d7735332a96130000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2103ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73d7735332a96140000'), "name"=>"Forrest Schiller", "reference"=>"Lyla Towne Jr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7d73d7735332a96140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96140000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms 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('53e7d73d7735332a96150000'), "name"=>"August Cole", "reference"=>"Mina Kemmer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 32ms (Views: 0.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73d7735332a96170000'), "name"=>"Eli Satterfield", "reference"=>"Denis Harris", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d73d7735332a96170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96170000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d73d7735332a96180000'), "name"=>"Tiara Armstrong", "reference"=>"Jada Lockman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0861ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d73d7735332a96180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d73d7735332a96180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Redirected to http://test.host/products/53e7d73d7735332a96180000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6554ms 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.5823ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms 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.4460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6555ms 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.3868ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75e7735332ac3000000'), "name"=>"Ms. Joyce Dietrich", "reference"=>"Mr. Barton Breitenberg", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3010000'), "name"=>"Derek Haley II", "reference"=>"Dariana Konopelski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3020000'), "name"=>"Camila O'Keefe III", "reference"=>"Ralph Block", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3030000'), "name"=>"Gerson Hodkiewicz", "reference"=>"Beryl Mosciski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3040000'), "name"=>"Oliver Kreiger MD", "reference"=>"Malachi McLaughlin Jr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3050000'), "name"=>"Cecile Jakubowski", "reference"=>"Dr. Assunta Maggio", "quantity"=>0}] 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.2885ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5460ms Redirected to http://test.host/products/53e7d75f7735332ac3060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3990ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3070000'), "name"=>"Dandre Pacocha", "reference"=>"Frederique Ullrich IV", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.3332ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7d75f7735332ac3070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4312ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms 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.3383ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3080000'), "name"=>"Dasia Hudson DVM", "reference"=>"London Rau DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7d75f7735332ac3080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 47ms (Views: 45.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3090000'), "name"=>"Mrs. Conner Boehm", "reference"=>"Ben Mertz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3788ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2505ms Completed 200 OK in 10ms (Views: 9.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac30a0000'), "name"=>"Cayla Halvorson", "reference"=>"Morgan Beier", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.6346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac30b0000'), "name"=>"HelloWorld", "reference"=>"Deron Lubowitz", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac30c0000'), "name"=>"value", "reference"=>"Elaina Daugherty III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3212ms Completed 200 OK in 5ms (Views: 4.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2206ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2027ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2293ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3201ms Completed 200 OK in 4ms (Views: 3.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2945ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2514ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1594ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac30d0000'), "name"=>"Delia Moen PhD", "reference"=>"Garrison Boyle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4796ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2499ms Completed 200 OK in 10ms (Views: 9.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac30e0000'), "name"=>"Johanna Ankunding", "reference"=>"Stacy Bahringer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5051ms Completed 200 OK in 5ms (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('53e7d75f7735332ac30f0000'), "name"=>"Aryanna Green", "reference"=>"Anabelle Upton II", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7d75f7735332ac30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Completed 200 OK in 2ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3100000'), "name"=>"Harmon Schroeder", "reference"=>"Mrs. Akeem Yost", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 30ms (Views: 6.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3120000'), "name"=>"Vilma Macejkovic", "reference"=>"Anastacio Hartmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7d75f7735332ac3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms Completed 200 OK in 30ms (Views: 28.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3130000'), "name"=>"Brigitte Gleason", "reference"=>"Louvenia Schaefer", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2354ms 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('53e7d75f7735332ac3140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.2596ms Completed 201 Created in 36ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3037ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3150000'), "name"=>"Malcolm West", "reference"=>"Laron Armstrong", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7d75f7735332ac3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms 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('53e7d75f7735332ac3160000'), "name"=>"Maymie Fadel", "reference"=>"Houston Fay", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms 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('53e7d75f7735332ac3180000'), "name"=>"Mr. Tanner Hermiston", "reference"=>"Anderson DuBuque", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4660ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d75f7735332ac3180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d75f7735332ac3190000'), "name"=>"Leonora Pouros", "reference"=>"Lyric Boyle II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d75f7735332ac3190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d75f7735332ac3190000')} 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('53e7d75f7735332ac3190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms Redirected to http://test.host/products/53e7d75f7735332ac3190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5479ms 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.5028ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5359ms 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.4133ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6969ms 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.3929ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec000000'), "name"=>"Destinee Smitham", "reference"=>"Arjun Sawayn I", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec010000'), "name"=>"Bill Lindgren", "reference"=>"Gaetano Dietrich", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec020000'), "name"=>"Jewel Padberg", "reference"=>"Godfrey Metz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec030000'), "name"=>"Ressie Larson IV", "reference"=>"Daniella Jast", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec040000'), "name"=>"Jazlyn Donnelly", "reference"=>"Damien Zboncak", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec050000'), "name"=>"Sandra Runolfsdottir", "reference"=>"Lavonne Olson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2221ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7d77a7735332aec000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec000000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms 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.2286ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec060000'), "name"=>"Quinten Deckow", "reference"=>"Ms. Alena Weimann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7d77a7735332aec060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 49ms (Views: 47.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec070000'), "name"=>"Estevan Gusikowski", "reference"=>"Donna Stark", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms Completed 200 OK in 9ms (Views: 8.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec080000'), "name"=>"Maegan Lakin Jr.", "reference"=>"Dr. Myriam Lehner", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec090000'), "name"=>"HelloWorld", "reference"=>"Maria Goyette", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec0a0000'), "name"=>"value", "reference"=>"Shayna Renner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5018ms Completed 200 OK in 5ms (Views: 4.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4125ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3749ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2033ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3576ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3237ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec0b0000'), "name"=>"Justice Mitchell", "reference"=>"Anne Rolfson Sr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.8017ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms Completed 200 OK in 10ms (Views: 8.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3393ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec0c0000'), "name"=>"Kendrick Funk", "reference"=>"Leola Raynor", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3388ms 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('53e7d77a7735332aec0d0000'), "name"=>"Marge Kuphal Jr.", "reference"=>"Einar Willms", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7d77a7735332aec0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms 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('53e7d77a7735332aec0e0000'), "name"=>"Oleta Koelpin", "reference"=>"Amira Gerhold V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec110000'), "name"=>"Ms. Kamron Rohan", "reference"=>"Laverna Kiehn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7d77a7735332aec110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec120000'), "name"=>"Selena Heller", "reference"=>"Johnathan Luettgen", "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.2812ms 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('53e7d77a7735332aec130000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2410ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec140000'), "name"=>"Lourdes Gleichner", "reference"=>"Emmy Beahan V", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7d77a7735332aec140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec140000')} 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('53e7d77a7735332aec140000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms 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('53e7d77a7735332aec150000'), "name"=>"Karelle Simonis", "reference"=>"Cassandre Schuppe DDS", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 31ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d77a7735332aec170000'), "name"=>"Tara Braun", "reference"=>"Libby Mertz", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d77a7735332aec170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec170000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms 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('53e7d77a7735332aec180000'), "name"=>"Kiana Rempel", "reference"=>"Adam Kuhic II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d77a7735332aec180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d77a7735332aec180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Redirected to http://test.host/products/53e7d77a7735332aec180000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5342ms 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.4457ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms 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.3870ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms 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.2072ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12000000'), "name"=>"Erling DuBuque", "reference"=>"Laurie Rohan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12010000'), "name"=>"Samson Boehm", "reference"=>"Alia Veum", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12020000'), "name"=>"Evelyn Zulauf", "reference"=>"Lily Vandervort", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12030000'), "name"=>"Mikel Pollich", "reference"=>"Connie Crooks", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12040000'), "name"=>"Aileen Cormier", "reference"=>"Estrella Willms", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12050000'), "name"=>"Ms. Abraham Schmidt", "reference"=>"Dr. Mathilde Bernhard", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1741ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms Redirected to http://test.host/products/53e7d7877735332b12060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2343ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12070000'), "name"=>"Dustin Zemlak", "reference"=>"Mrs. Elsie Moore", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1944ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7d7877735332b12070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms 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.2593ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12080000'), "name"=>"Della Thompson", "reference"=>"Miss Friedrich Ebert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7d7877735332b12080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 46ms (Views: 45.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12090000'), "name"=>"Ms. Jennie Thiel", "reference"=>"Clovis Ondricka MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3148ms Completed 200 OK in 10ms (Views: 9.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b120a0000'), "name"=>"Maudie Crooks", "reference"=>"Kaleb Mertz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b120b0000'), "name"=>"HelloWorld", "reference"=>"Hadley Wisoky", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b120c0000'), "name"=>"value", "reference"=>"Marty Ritchie", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3864ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3393ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3134ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3639ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3137ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1705ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b120d0000'), "name"=>"Harold Williamson", "reference"=>"Bradley Boyer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.4789ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3205ms Completed 200 OK in 11ms (Views: 10.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3663ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b120e0000'), "name"=>"Ethelyn Fahey", "reference"=>"Geoffrey Gutkowski IV", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3673ms 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('53e7d7877735332b120f0000'), "name"=>"Mr. Lillie Jakubowski", "reference"=>"Dr. Lisa Blanda", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7d7877735332b120f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b120f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms 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('53e7d7877735332b12100000'), "name"=>"Shaina Bogisich", "reference"=>"Evans Muller Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 22ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12120000'), "name"=>"Nichole Maggio", "reference"=>"Isaias Leffler MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7d7877735332b12120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Completed 200 OK in 26ms (Views: 24.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12130000'), "name"=>"Madonna Will", "reference"=>"Dr. Carrie Hane", "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.2117ms 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('53e7d7877735332b12140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1946ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7877735332b12150000'), "name"=>"Jaylin Crooks", "reference"=>"Mollie Gusikowski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7d7877735332b12150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12150000')} 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={"_id"=>BSON::ObjectId('53e7d7877735332b12150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms 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('53e7d7877735332b12160000'), "name"=>"Chaz Ward V", "reference"=>"Leo Rutherford", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms 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('53e7d7877735332b12180000'), "name"=>"Genesis Considine", "reference"=>"Donavon Dibbert", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d7877735332b12180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7877735332b12180000')} 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('53e7d7877735332b12180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms 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('53e7d7887735332b12190000'), "name"=>"Otilia Beahan II", "reference"=>"Reese Hills", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d7887735332b12190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7887735332b12190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7887735332b12190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms Redirected to http://test.host/products/53e7d7887735332b12190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4428ms 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.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.4924ms 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 MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms 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.2793ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f000000'), "name"=>"Nikko Harber", "reference"=>"Dorris Franecki", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f010000'), "name"=>"Mr. Violette Mann", "reference"=>"Catalina O'Reilly", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f020000'), "name"=>"Roderick Flatley", "reference"=>"Ubaldo Heaney DVM", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f030000'), "name"=>"Emil Jast", "reference"=>"Brielle Koepp", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f040000'), "name"=>"Dr. Gay Gaylord", "reference"=>"Allison Dickinson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f050000'), "name"=>"Elyssa Gleichner", "reference"=>"Erna Koch", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms Redirected to http://test.host/products/53e7d7a97735332b3f060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2234ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f070000'), "name"=>"Tyrese Macejkovic", "reference"=>"Dr. Wava Hickle", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1278ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7d7a97735332b3f070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7a97735332b3f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7a97735332b3f070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms 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.2076ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f080000'), "name"=>"Kitty Hackett", "reference"=>"Miss Everardo Nienow", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7d7a97735332b3f080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7a97735332b3f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 46ms (Views: 45.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f090000'), "name"=>"Mireya Purdy V", "reference"=>"Lavada Jaskolski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4698ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3039ms Completed 200 OK in 10ms (Views: 9.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f0a0000'), "name"=>"Jordan D'Amore", "reference"=>"Mr. Karson Marquardt", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f0b0000'), "name"=>"HelloWorld", "reference"=>"Haley Reilly", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f0c0000'), "name"=>"value", "reference"=>"Ettie Legros", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3818ms Completed 200 OK in 5ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3318ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3161ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1844ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3769ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3922ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2725ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1644ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f0d0000'), "name"=>"Adriel Doyle", "reference"=>"Maximillia Simonis", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8096ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3028ms Completed 200 OK in 11ms (Views: 10.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3294ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f0e0000'), "name"=>"Otho Weimann", "reference"=>"Ms. Jocelyn Padberg", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2286ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3740ms 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('53e7d7a97735332b3f0f0000'), "name"=>"May Hoeger", "reference"=>"Eulah Sawayn", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7d7a97735332b3f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7a97735332b3f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms 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('53e7d7a97735332b3f100000'), "name"=>"Mallory Morissette", "reference"=>"Mr. Lamont Wolf", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 22ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7a97735332b3f120000'), "name"=>"Paula Hauck", "reference"=>"Chaim Morar", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7d7a97735332b3f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7a97735332b3f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Completed 200 OK in 26ms (Views: 25.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7aa7735332b3f130000'), "name"=>"Miss Erica Rohan", "reference"=>"Enrico Gerhold", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2109ms 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('53e7d7aa7735332b3f140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms Completed 201 Created in 32ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2164ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7d7aa7735332b3f150000'), "name"=>"Haskell Gusikowski I", "reference"=>"Sherman Luettgen IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3680ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7d7aa7735332b3f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7aa7735332b3f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7aa7735332b3f150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms 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('53e7d7aa7735332b3f160000'), "name"=>"Virginia Jacobson", "reference"=>"Lizzie Parker", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms 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('53e7d7aa7735332b3f180000'), "name"=>"Frederic Herman", "reference"=>"Fleta Harris", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d7aa7735332b3f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7aa7735332b3f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3723ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7aa7735332b3f180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms 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('53e7d7aa7735332b3f190000'), "name"=>"Dr. Lysanne Mayert", "reference"=>"Cecile Grimes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7d7aa7735332b3f190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7d7aa7735332b3f190000')} 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('53e7d7aa7735332b3f190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms Redirected to http://test.host/products/53e7d7aa7735332b3f190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4988ms 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.4221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms 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.3961ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms 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.3852ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b000000'), "firstname"=>"Ruthie", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5655ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2529ms 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('53e7dc8f773533450b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms 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.2519ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b020000'), "firstname"=>"Devyn", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4348ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b030000'), "firstname"=>"Leilani", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5543ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b040000'), "firstname"=>"Camille", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5929ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b050000'), "firstname"=>"Kurtis", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e7dc8f773533450b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms 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('53e7dc8f773533450b060000'), "name"=>"Kasey Schultz", "reference"=>"Yadira Rogahn", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b070000'), "author_name"=>"Ms. Monserrate Hansen", "content"=>["Rerum exercitationem vitae ipsum vel et voluptatem eius. Aut ducimus placeat est. Tempora ratione nisi dolores ab sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3794ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7dc8f773533450b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms Redirected to http://test.host/admin/products/53e7dc8f773533450b060000/comments/53e7dc8f773533450b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b090000'), "name"=>"Gilberto Greenfelder", "reference"=>"Irving Balistreri", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0a0000'), "author_name"=>"Miss Katlyn Wuckert", "content"=>["Sint a facilis asperiores laborum. Debitis necessitatibus iure sint laboriosam. Facilis molestias perspiciatis ut amet et odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7dc8f773533450b090000", "id"=>"53e7dc8f773533450b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4221ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms Redirected to http://test.host/admin/products/53e7dc8f773533450b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0b0000'), "name"=>"Carter Johnston", "reference"=>"Noble Farrell V", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0c0000'), "author_name"=>"Eudora King", "content"=>["Quibusdam illum vel quia cupiditate numquam quaerat. Et et et. Voluptas saepe excepturi quia accusantium qui facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4626ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e7dc8f773533450b0b0000", "id"=>"53e7dc8f773533450b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4934ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0d0000'), "name"=>"Ms. Jared Botsford", "reference"=>"Santa Bednar", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0e0000'), "author_name"=>"Zola Luettgen I", "content"=>["Qui sed animi quo natus incidunt et facere. Ut et vitae doloremque voluptates sit sequi et. Magnam quidem sequi sint rerum quo. In adipisci ratione numquam. Consequatur enim iure similique aut nostrum dolore dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6312ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e7dc8f773533450b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b0f0000'), "name"=>"Magdalen Olson", "reference"=>"Ned Funk", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b100000'), "author_name"=>"Shayna Morissette", "content"=>["Ab voluptatem et labore. Nam dolor quis corrupti alias. Non est ducimus perferendis dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e7dc8f773533450b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b110000'), "name"=>"Miss Destin Anderson", "reference"=>"Estevan Rosenbaum", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b120000'), "author_name"=>"Kaycee Kub", "content"=>["Facere explicabo culpa. Aut libero modi commodi officia. Ipsam fugit in modi rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e7dc8f773533450b110000", "id"=>"53e7dc8f773533450b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms 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('53e7dc8f773533450b130000'), "name"=>"Mr. Oscar Schmitt", "reference"=>"Elyssa Von", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc8f773533450b140000'), "author_name"=>"Dolores Heathcote", "content"=>["Quas ex officiis culpa doloremque sunt velit. Totam tempore eligendi. Ipsa recusandae sit rerum minima. Tempora provident est commodi ut est nulla. Quidem quas aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6138ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7dc8f773533450b140000", "product_id"=>"53e7dc8f773533450b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b130000'), "comments._id"=>BSON::ObjectId('53e7dc8f773533450b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5486ms Redirected to http://test.host/admin/products/53e7dc8f773533450b130000/comments/53e7dc8f773533450b140000 Completed 302 Found in 6ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b150000'), "name"=>"Dane Sawayn DDS", "reference"=>"Jerrell Padberg", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b160000'), "firstname"=>"Garrick", "lastname"=>"Fahey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7dc8f773533450b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms Redirected to http://test.host/admin/products/53e7dc8f773533450b150000/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('53e7dc8f773533450b180000'), "name"=>"Ms. Anika Will", "reference"=>"Dakota Bogan", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b190000'), "firstname"=>"Edison", "lastname"=>"Mayert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b190000", "product_id"=>"53e7dc8f773533450b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 10ms (Views: 7.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b1a0000'), "name"=>"Baron Schuppe", "reference"=>"Monroe Langworth", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b1b0000'), "firstname"=>"Owen", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5695ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e7dc8f773533450b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b1a0000')} 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.4ms) Completed 200 OK in 7ms (Views: 4.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b1c0000'), "name"=>"Theo Hahn", "reference"=>"Kaley Rath", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b1d0000'), "firstname"=>"Joanne", "lastname"=>"Ernser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5501ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b1d0000", "product_id"=>"53e7dc8f773533450b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b1e0000'), "name"=>"Dr. Jennifer Kemmer", "reference"=>"Dax Jones", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7dc8f773533450b1f0000'), "firstname"=>"Jermaine", "lastname"=>"Bergstrom"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e7dc8f773533450b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7dc8f773533450b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e7dc8f773533450b1e0000/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('53e7dc8f773533450b200000'), "name"=>"Bria Simonis", "reference"=>"Orpha Wilkinson V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5514ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2310ms 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('53e7dc8f773533450b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms Redirected to http://test.host/admin/products/53e7dc8f773533450b210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2552ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b220000'), "name"=>"Guadalupe Beahan", "reference"=>"Jeffrey Miller", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2248ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e7dc8f773533450b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms 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.2799ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b230000'), "name"=>"Ciara Cassin", "reference"=>"Zack Haag", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b240000'), "name"=>"Michael Wintheiser", "reference"=>"Dewayne Herman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms 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.6457ms Completed 200 OK in 12ms (Views: 11.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b250000'), "name"=>"Tyreek Berge III", "reference"=>"Shanelle Waters", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms 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: 4.5ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b280000'), "name"=>"Jody Schmeler", "reference"=>"Dr. Reuben Koss", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5145ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms 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('53e7dc8f773533450b290000'), "name"=>"Mckenzie Turcotte", "reference"=>"Keely Tremblay", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5098ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7dc8f773533450b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b290000')} 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('53e7dc8f773533450b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Redirected to http://test.host/admin/products/53e7dc8f773533450b290000 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('53e7dc8f773533450b2a0000'), "firstname"=>"Alisa", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2227ms 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('53e7dc8f773533450b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Redirected to http://test.host/admin/users/53e7dc8f773533450b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2432ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b2c0000'), "firstname"=>"Dayna", "lastname"=>"Willms"}] 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=>"admin_users", :query=>{}} runtime: 0.2032ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53e7dc8f773533450b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms 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.2348ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b2d0000'), "firstname"=>"Edwina", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms 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('53e7dc8f773533450b2e0000'), "firstname"=>"Brooke", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms 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.3980ms 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('53e7dc8f773533450b2f0000'), "firstname"=>"Adolphus", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b300000'), "firstname"=>"Stanford", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms 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('53e7dc8f773533450b310000'), "firstname"=>"Bridie", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7dc8f773533450b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e7dc8f773533450b310000 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('53e7dc8f773533450b320000'), "firstname"=>"Tianna", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5922ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2034ms 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('53e7dc8f773533450b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms 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.2287ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b340000'), "firstname"=>"Russ", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b350000'), "firstname"=>"Westley", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b360000'), "firstname"=>"Rey", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b370000'), "firstname"=>"Leatha", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7dc8f773533450b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b380000'), "name"=>"Louvenia Spencer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b390000'), "name"=>"Izabella Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3a0000'), "name"=>"Pablo Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3b0000'), "name"=>"Camylle MacGyver II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3c0000'), "name"=>"Gaston Crist Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3d0000'), "name"=>"Mose Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3e0000'), "name"=>"Miss Raegan Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b3f0000'), "name"=>"Carlee Wiegand V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b400000'), "name"=>"Anais Monahan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b410000'), "name"=>"Lauren O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b420000'), "name"=>"Marion Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b430000'), "name"=>"Joshuah Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b440000'), "name"=>"Jeremy Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b450000'), "name"=>"Mrs. Adah O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b460000'), "name"=>"Camylle Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b470000'), "name"=>"Quinten Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b480000'), "name"=>"Buford Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b490000'), "name"=>"Uriel Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4a0000'), "name"=>"Tiana Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4b0000'), "name"=>"Edmond Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4c0000'), "name"=>"Aidan Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4d0000'), "name"=>"Ms. Fabian Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4e0000'), "name"=>"Tressa Hammes III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b4f0000'), "name"=>"Ulises Bernier MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b500000'), "name"=>"Ms. Nelda O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b510000'), "name"=>"Dr. Bernardo Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b520000'), "name"=>"Enoch Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b530000'), "name"=>"Judy Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b540000'), "name"=>"Gaetano Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b550000'), "name"=>"Claudia Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b560000'), "name"=>"Rachelle Prohaska V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b570000'), "name"=>"Katheryn Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b580000'), "name"=>"Ardella Smith Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b590000'), "name"=>"Brendan Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5a0000'), "name"=>"Nicolette Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5b0000'), "name"=>"Mavis Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5c0000'), "name"=>"Lindsay Labadie PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5d0000'), "name"=>"Ruben Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5e0000'), "name"=>"Andreane Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b5f0000'), "name"=>"Virginie Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b600000'), "name"=>"Waino Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b610000'), "name"=>"Nichole Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b620000'), "name"=>"Miss Chaz Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b630000'), "name"=>"Rebekah Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b640000'), "name"=>"Ladarius Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b650000'), "name"=>"Lia Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b660000'), "name"=>"Edison Schuster IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b670000'), "name"=>"Mr. Monique Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b680000'), "name"=>"Morton Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b690000'), "name"=>"Zion Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6a0000'), "name"=>"Vesta Graham V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6b0000'), "name"=>"Gwen Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6c0000'), "name"=>"Mrs. Norwood Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6d0000'), "name"=>"Mrs. Rosendo Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6e0000'), "name"=>"Garland Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b6f0000'), "name"=>"Vincent Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b700000'), "name"=>"Macie Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b710000'), "name"=>"Deion Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b720000'), "name"=>"Frieda Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b730000'), "name"=>"Kenton Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b740000'), "name"=>"Margie Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b750000'), "name"=>"Gilbert Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b760000'), "name"=>"Bella Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b770000'), "name"=>"Lennie Beatty III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b780000'), "name"=>"Caleigh Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b790000'), "name"=>"Carson Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7a0000'), "name"=>"Adeline Stehr IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7b0000'), "name"=>"Jacynthe Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7c0000'), "name"=>"Isaac Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7d0000'), "name"=>"Ms. Alisha Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7e0000'), "name"=>"Berry Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b7f0000'), "name"=>"Schuyler Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b800000'), "name"=>"Nelle Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b810000'), "name"=>"Cordelia Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b820000'), "name"=>"Mckenzie Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b830000'), "name"=>"Aimee O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b840000'), "name"=>"Jaylen Brown DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b850000'), "name"=>"Peter Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b860000'), "name"=>"Keven O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b870000'), "name"=>"Lia Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b880000'), "name"=>"Jacinto Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b890000'), "name"=>"Maymie Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8a0000'), "name"=>"Phoebe Bins DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8b0000'), "name"=>"May Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8c0000'), "name"=>"Charles Herzog II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8d0000'), "name"=>"Hallie Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8e0000'), "name"=>"Coby Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b8f0000'), "name"=>"Joan Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b900000'), "name"=>"Darwin Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b910000'), "name"=>"Benedict Bayer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b920000'), "name"=>"Maryse Willms V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b930000'), "name"=>"Mr. Tess Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b940000'), "name"=>"Kiara Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b950000'), "name"=>"Antone Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b960000'), "name"=>"Hunter Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b970000'), "name"=>"Gabrielle Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1769ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms Redirected to http://test.host/categories/53e7dc8f773533450b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1993ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b990000'), "name"=>"Toney Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1875ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7dc8f773533450b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1975ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b9a0000'), "name"=>"Gretchen Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7dc8f773533450b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b9b0000'), "name"=>"Brad Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242411508589] runtime: 0.0993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2491ms Completed 200 OK in 16ms (Views: 15.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b9c0000'), "name"=>"Amaya Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242401108826] runtime: 0.0954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3003ms Completed 200 OK in 9ms (Views: 8.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b9d0000'), "name"=>"Garrick Hamill"}] 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={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4354ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450b9f0000'), "name"=>"Garrett Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7dc8f773533450b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7dc8f773533450ba00000'), "name"=>"Devyn Lockman II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7dc8f773533450ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7dc8f773533450ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7dc8f773533450ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms Redirected to http://test.host/categories/53e7dc8f773533450ba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450ba10000'), "name"=>"Emmett Johnson", "reference"=>"Nora Marvin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450ba20000'), "author_name"=>"Emmie Roob", "content"=>["Et vero aut incidunt omnis reiciendis praesentium. Cumque recusandae reiciendis error libero eveniet nam. Distinctio rerum quisquam. In et dolor excepturi quis. Ad dolorem impedit sint magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7dc90773533450ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7dc90773533450ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Redirected to http://test.host/products/53e7dc90773533450ba10000/comments/53e7dc90773533450ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450ba40000'), "name"=>"Emery Mohr", "reference"=>"Tatyana Brakus", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450ba50000'), "author_name"=>"Israel Mraz", "content"=>["Id ea repellat aliquid autem autem delectus. Blanditiis id sed officia deleniti rerum odit. Accusantium labore velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7dc90773533450ba40000", "id"=>"53e7dc90773533450ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7dc90773533450ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Redirected to http://test.host/products/53e7dc90773533450ba40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450ba60000'), "name"=>"Clifford McCullough", "reference"=>"Walker Funk", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450ba70000'), "author_name"=>"Shany Hessel", "content"=>["Molestias dicta voluptas. Dolorem dicta tempora. Non ut temporibus quod. Et corrupti et laboriosam ut hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7dc90773533450ba60000", "id"=>"53e7dc90773533450ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 40ms (Views: 38.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450ba80000'), "name"=>"Adele Greenholt", "reference"=>"Retha Robel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450ba90000'), "author_name"=>"Rylan Feeney III", "content"=>["Atque rem praesentium. Consequatur quam quisquam dolore distinctio est. Blanditiis temporibus nihil exercitationem natus dolor. Iusto est veritatis vel neque est et optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5489ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7dc90773533450ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450baa0000'), "name"=>"Carolina Hilpert", "reference"=>"Lesly Lehner", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bab0000'), "author_name"=>"Elmo Lindgren", "content"=>["Nesciunt necessitatibus recusandae adipisci quae neque expedita. Atque animi suscipit inventore dolores provident temporibus velit. Ipsum quas pariatur natus nihil tempora fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7dc90773533450baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bac0000'), "name"=>"Jimmie Fahey", "reference"=>"Jewel Rau", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bad0000'), "author_name"=>"Mrs. Keanu Rosenbaum", "content"=>["Ad quis quod sed. Ullam labore libero delectus incidunt corrupti. Nobis esse qui. Delectus autem aut laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7dc90773533450bac0000", "id"=>"53e7dc90773533450bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bae0000'), "name"=>"Christelle Bode III", "reference"=>"Ms. Carlotta Kohler", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450baf0000'), "author_name"=>"Adriana Ullrich DVM", "content"=>["Molestiae laborum id voluptatem. Sed repudiandae mollitia error inventore dicta. Eveniet in dolor est aut nemo. Ut aliquam saepe eaque ipsa alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7dc90773533450bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bb00000'), "name"=>"Telly Stroman", "reference"=>"Alice Waelchi", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bb10000'), "author_name"=>"Ariel Windler", "content"=>["Corporis dolores qui qui. Quia quia aspernatur. Voluptatem ex non. Dolorem quaerat magni qui voluptatem reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5520ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7dc90773533450bb00000", "id"=>"53e7dc90773533450bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bb20000'), "name"=>"Miss Gertrude Wiza", "reference"=>"Sofia Ortiz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bb30000'), "author_name"=>"Alan Runolfsdottir Sr.", "content"=>["Quae beatae ipsum esse aut incidunt. Voluptatem quis aut veniam fuga voluptatem consequatur. Ratione ut quo ut sed tenetur debitis. Incidunt possimus rem nam soluta aliquam ducimus commodi. Tempore voluptatum ullam velit tempora magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5620ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7dc90773533450bb30000", "product_id"=>"53e7dc90773533450bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb20000'), "comments._id"=>BSON::ObjectId('53e7dc90773533450bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6047ms Redirected to http://test.host/products/53e7dc90773533450bb20000/comments/53e7dc90773533450bb30000 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('53e7dc90773533450bb40000'), "firstname"=>"Alex", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5769ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2094ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms Redirected to http://test.host/admin/clients/53e7dc90773533450bb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2576ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bb60000'), "firstname"=>"Paris", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms 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"=>"53e7dc90773533450bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms 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.2153ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bb70000'), "firstname"=>"Osbaldo", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7dc90773533450bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bb70000')} 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.6ms) 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('53e7dc90773533450bb80000'), "firstname"=>"Ursula", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6871ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4426ms 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('53e7dc90773533450bb90000'), "firstname"=>"Germaine", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bba0000'), "firstname"=>"Ryley", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7dc90773533450bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms Completed 200 OK in 35ms (Views: 34.1ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bbb0000'), "firstname"=>"Koby", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5259ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7dc90773533450bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Redirected to http://test.host/admin/clients/53e7dc90773533450bbb0000 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('53e7dc90773533450bbc0000'), "firstname"=>"Erna", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms 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('53e7dc90773533450bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Redirected to http://test.host/clients/53e7dc90773533450bbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1738ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bbe0000'), "firstname"=>"Kasandra", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1313ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7dc90773533450bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bbe0000')} 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('53e7dc90773533450bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms 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.1684ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bbf0000'), "firstname"=>"Shaun", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7dc90773533450bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms 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('53e7dc90773533450bc00000'), "firstname"=>"Mekhi", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3723ms 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('53e7dc90773533450bc10000'), "firstname"=>"Donnie", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms 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('53e7dc90773533450bc20000'), "firstname"=>"Josue", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6764ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7dc90773533450bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms 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('53e7dc90773533450bc30000'), "firstname"=>"Wilfred", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53e7dc90773533450bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Redirected to http://test.host/clients/53e7dc90773533450bc30000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bc40000'), "name"=>"Kory Ortiz", "reference"=>"Antoinette Prosacco", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bc50000'), "firstname"=>"Brant", "lastname"=>"Hagenes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7dc90773533450bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc40000')} 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('53e7dc90773533450bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms Redirected to http://test.host/products/53e7dc90773533450bc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bc70000'), "name"=>"Aurelie Emard III", "reference"=>"Alfredo Shanahan MD", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bc80000'), "firstname"=>"Jo", "lastname"=>"Bergnaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7dc90773533450bc80000", "product_id"=>"53e7dc90773533450bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc70000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bc90000'), "name"=>"Timothy Fadel", "reference"=>"Dr. Unique Abernathy", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bca0000'), "firstname"=>"Vilma", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7dc90773533450bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bcb0000'), "name"=>"Georgianna Moen", "reference"=>"Yvette Heller", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bcc0000'), "firstname"=>"Elliott", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7dc90773533450bcc0000", "product_id"=>"53e7dc90773533450bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bcd0000'), "name"=>"Guido Little MD", "reference"=>"Dereck Bartell", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bce0000'), "firstname"=>"Odell", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7dc90773533450bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7dc90773533450bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms Unpermitted parameters: name Redirected to http://test.host/products/53e7dc90773533450bcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bcf0000'), "name"=>"Kelvin Wuckert Sr.", "reference"=>"Kurtis Ritchie", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd00000'), "name"=>"Priscilla Beatty", "reference"=>"Syble Champlin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd10000'), "name"=>"Mrs. Anjali Maggio", "reference"=>"Lew Brakus V", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd20000'), "name"=>"Kameron Reichel", "reference"=>"Price Nitzsche", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd30000'), "name"=>"D'angelo Schowalter", "reference"=>"Issac Cummerata", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd40000'), "name"=>"Gus Tromp", "reference"=>"Antonia Bechtelar DDS", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1984ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms Redirected to http://test.host/products/53e7dc90773533450bd50000 Completed 302 Found in 2ms 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('53e7dc90773533450bd60000'), "name"=>"Bart Lakin II", "reference"=>"Winston Schimmel", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1862ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7dc90773533450bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bd60000')} 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={"_id"=>BSON::ObjectId('53e7dc90773533450bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8224ms 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.2772ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd70000'), "name"=>"Verla Collier", "reference"=>"Noble O'Kon", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7dc90773533450bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bd70000')} 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.3ms) Completed 200 OK in 41ms (Views: 39.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd80000'), "name"=>"Ebony Satterfield", "reference"=>"Andres Schimmel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5135ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215899995081] runtime: 0.1008ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2913ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bd90000'), "name"=>"Mrs. Sharon Becker", "reference"=>"Florian Labadie", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bda0000'), "name"=>"HelloWorld", "reference"=>"Gavin Blanda Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bdb0000'), "name"=>"value", "reference"=>"Magdalena Moen", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4478ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3809ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3602ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1694ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4232ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3598ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1692ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bdc0000'), "name"=>"Luther Schmeler", "reference"=>"Juvenal Franecki", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216265873072] runtime: 0.0941ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2780ms Completed 200 OK in 17ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214890746763] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216620340474] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214891581682] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215680500101] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215360957492] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.1475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215092273050] runtime: 0.0969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216194568999] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215217976077] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215354482314] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215608940251] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214751351294] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214911823661] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215441093726] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215836672546] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215487646118] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215472868430] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216153400753] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215264441014] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215976727921] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215187287397] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216074899772] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215894265194] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215958570063] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215171025515] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215342670016] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215006715802] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216178369029] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215718123739] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216793568578] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215927099179] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214980764140] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216333986572] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215244122331] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216021452566] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216508422855] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215343515165] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216288458969] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215257406913] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215625171630] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215333725077] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215401290272] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216861717097] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216116566283] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216565524452] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215218408343] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215413446148] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215265859258] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215012188674] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215585065105] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215634308312] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215142596989] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215454357538] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215222748785] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216286200205] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216077342700] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215795745696] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215120658194] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214773723568] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214848016283] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216188075078] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215713829313] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215546505265] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216117769743] runtime: 0.0808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216803132022] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215236710689] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216232255891] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214982675356] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215858664102] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216837050715] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215969651134] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214762475664] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215490955982] runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216245596692] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216009365028] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214995885057] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215736234605] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216694147703] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.6664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216667499098] runtime: 0.0944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216800121027] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216041191229] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215067567385] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216834567257] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216303756889] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216463361517] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215825287774] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214827113509] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214962386244] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216148610716] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216506834134] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215269045597] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215258105965] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214790563795] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215106813433] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216051204114] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215881386155] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216328061558] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216348774143] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215498142289] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215477824188] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215677232727] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215993271797] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215230239960] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215241831097] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215802839197] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215101896414] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215567728304] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216367038057] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216649090067] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214889457762] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216707642401] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215771120999] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215213618358] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216172323931] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216384388061] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215064139703] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215537864671] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216817732441] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214873737916] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216771496459] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215314580209] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216443258716] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216189488554] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216475358159] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215932747177] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215082987201] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216493390216] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216634437356] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214892617789] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216552062985] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215087266376] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215772195436] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214804938041] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216805979987] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214895698741] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214858693962] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214813326932] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216302227283] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215101103742] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216759666873] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216664487311] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215310256141] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214860535794] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216383090782] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215841613873] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216658558393] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214944523383] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215105063007] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215170319078] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216069063310] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.2032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215615030706] runtime: 0.1153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215564907432] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215246960361] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216603782115] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215274960470] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216698597409] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215446487281] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214807166546] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214837914098] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216886210113] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216044040789] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215943980558] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214998732525] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215132845975] runtime: 0.0651ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bdd0000'), "name"=>"Favian Glover Jr.", "reference"=>"Julius Morissette", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216759322565] runtime: 0.0615ms Completed 200 OK in 5ms (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('53e7dc90773533450bde0000'), "name"=>"Louvenia Gleichner", "reference"=>"Nathan Luettgen", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7dc90773533450bde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms 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('53e7dc90773533450bdf0000'), "name"=>"Ms. Avery Labadie", "reference"=>"Gustave Hansen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450be10000'), "name"=>"Gladyce DuBuque", "reference"=>"Mr. Joel Kertzmann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7dc90773533450be10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450be20000'), "name"=>"Orpha Kuhlman", "reference"=>"Ettie Sanford", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1741ms 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('53e7dc90773533450be30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2110ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450be40000'), "name"=>"Ms. Floy Dare", "reference"=>"Irving Breitenberg IV", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7dc90773533450be40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be40000')} 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('53e7dc90773533450be50000'), "name"=>"Alfonzo Batz", "reference"=>"Andreanne Spencer Sr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms 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('53e7dc90773533450be70000'), "name"=>"Eryn Stracke Jr.", "reference"=>"Kaia Beer I", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7dc90773533450be70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms 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('53e7dc90773533450be80000'), "name"=>"Tracy Walker", "reference"=>"Laisha Williamson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7dc90773533450be80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450be80000')} 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('53e7dc90773533450be80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.0760ms Redirected to http://test.host/products/53e7dc90773533450be80000 Completed 302 Found in 20ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450beb0000'), "name"=>"Dylan Wisozk", "reference"=>"Katelynn Corwin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450be90000'), "author_name"=>"Jamaal Pagac", "content"=>["Odit similique nesciunt autem quisquam totam. Voluptates voluptatem aliquid minima. Incidunt quam similique id rem repellat eius. Hic aut voluptas blanditiis in."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bea0000'), "author_name"=>"Eddie Fadel", "content"=>["Commodi qui odio atque aut voluptatum quisquam. Velit voluptatem quae corrupti aspernatur similique accusantium. Ad id voluptatem excepturi. Quis vel sit expedita. Corrupti qui libero ut et quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7dc90773533450beb0000", "comment_id"=>"53e7dc90773533450be90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450beb0000'), "comments._id"=>BSON::ObjectId('53e7dc90773533450be90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6318ms Redirected to http://test.host/products/53e7dc90773533450beb0000/comments/53e7dc90773533450be90000/comments/53e7dc90773533450bec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bef0000'), "name"=>"Janis Trantow", "reference"=>"Moises Balistreri", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bed0000'), "author_name"=>"Pattie Rempel", "content"=>["Expedita molestiae quae quo possimus. Eaque quo voluptates quibusdam. Minus aliquam nostrum tempore repellat nobis reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bee0000'), "author_name"=>"Dino Will PhD", "content"=>["Sit corporis vero. Molestias nam optio repellendus nemo dignissimos perferendis. Tenetur eos quam aut architecto magnam. Ea tenetur et iure sit dignissimos aspernatur quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7dc90773533450bef0000", "comment_id"=>"53e7dc90773533450bed0000", "id"=>"53e7dc90773533450bee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bef0000'), "comments._id"=>BSON::ObjectId('53e7dc90773533450bed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7dc90773533450bee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5935ms Redirected to http://test.host/products/53e7dc90773533450bef0000/comments/53e7dc90773533450bed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bf20000'), "name"=>"Kiana Ratke", "reference"=>"William Frami I", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf00000'), "author_name"=>"Dr. Geovany VonRueden", "content"=>["Quia eaque voluptas ipsam reiciendis magni odit. Maiores rerum vero quam qui nostrum. Cumque animi fuga molestiae facere voluptatem ipsam voluptas. Qui reprehenderit omnis officiis qui omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf10000'), "author_name"=>"Dr. Gilbert Dicki", "content"=>["Amet quis quasi soluta eum ea facilis voluptatem. Vitae repellendus enim et et vel ut facilis. Fugit ea expedita voluptatem velit mollitia. Ratione ea aut ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7dc90773533450bf20000", "comment_id"=>"53e7dc90773533450bf00000", "id"=>"53e7dc90773533450bf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3831ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 33ms (Views: 31.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bf50000'), "name"=>"Treva Littel", "reference"=>"Triston Spencer III", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf30000'), "author_name"=>"Parker Greenfelder", "content"=>["Delectus et eaque non nihil. Blanditiis dolor incidunt et. Illum saepe qui incidunt a vel et laudantium. Saepe minima optio qui ipsa et enim. Omnis vel iure at corporis."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf40000'), "author_name"=>"Ilene Lind", "content"=>["Reprehenderit est sed est nemo eum. Totam voluptate ex sunt ut mollitia ad. Cupiditate vel vel molestiae dolorem minus labore. Aut nam iure. Sit dolor non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5416ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7dc90773533450bf50000", "comment_id"=>"53e7dc90773533450bf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms Completed 200 OK in 6ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bf80000'), "name"=>"Cecilia Breitenberg Sr.", "reference"=>"Beau Kub", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf60000'), "author_name"=>"Jeramie Durgan", "content"=>["Ullam quia facilis quasi. Recusandae quia hic. Est non voluptatem ipsam vitae. Perferendis rerum dolores cum eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf70000'), "author_name"=>"Karelle Schuster DVM", "content"=>["Labore voluptatum tempora laudantium minus. Omnis earum odio alias voluptas aut deleniti et. Molestiae similique eum sit deleniti. Incidunt mollitia blanditiis libero. Voluptatem pariatur facere provident magnam recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5362ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7dc90773533450bf80000", "comment_id"=>"53e7dc90773533450bf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3985ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bfb0000'), "name"=>"Lavern Mraz", "reference"=>"Orie Yundt", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bf90000'), "author_name"=>"Margot Johns IV", "content"=>["Vel quia aut voluptates quis et. Reiciendis reprehenderit ut aut inventore. Officia ea aut repudiandae illum. Non consequatur accusantium qui soluta laboriosam omnis."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bfa0000'), "author_name"=>"Zachary Kutch", "content"=>["Enim vel odio reprehenderit. Odio fugit ex. Placeat est est deserunt tempore doloribus ea tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7dc90773533450bfb0000", "comment_id"=>"53e7dc90773533450bf90000", "id"=>"53e7dc90773533450bfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450bfe0000'), "name"=>"Ruthie Fay", "reference"=>"Dr. Travis Emard", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bfc0000'), "author_name"=>"Davonte Strosin", "content"=>["Inventore voluptas quo qui molestias tempora omnis. Repellendus amet ullam explicabo nam quos molestiae vitae. Eos ea dolores et reprehenderit iusto dolorum aut. Tempora soluta est veniam aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bfd0000'), "author_name"=>"Liliana Smitham", "content"=>["Recusandae qui suscipit et quibusdam at omnis. Ut libero et et repudiandae perferendis nihil. Est aspernatur harum ullam deleniti. Quia rerum in est ut. Vero blanditiis optio velit voluptatem ut non sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5553ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7dc90773533450bfe0000", "comment_id"=>"53e7dc90773533450bfc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450b010100'), "name"=>"Cindy Parker", "reference"=>"Mabelle Greenfelder", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450bff0000'), "author_name"=>"Araceli Lind", "content"=>["Possimus blanditiis quo quo similique ut molestiae. Nostrum doloremque ad. Ut non omnis et placeat quo et consequuntur. Ex quas vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450b000100'), "author_name"=>"Regan Auer", "content"=>["Ut non eveniet eos consequatur. Itaque aperiam et repellat sint enim laborum soluta. Architecto neque eveniet molestiae assumenda dignissimos est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5532ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7dc90773533450b010100", "comment_id"=>"53e7dc90773533450bff0000", "id"=>"53e7dc90773533450b000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450b040100'), "name"=>"Coleman Zieme PhD", "reference"=>"Mr. Loma Hane", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450b020100'), "author_name"=>"Jarrett Lebsack", "content"=>["Atque ut inventore quae voluptatem. Ducimus tenetur dolores voluptas voluptas deleniti. Ea recusandae nihil. Cumque corrupti eaque exercitationem."], "comments"=>[{"_id"=>BSON::ObjectId('53e7dc90773533450b030100'), "author_name"=>"Frederique Bogisich", "content"=>["Commodi vel laborum enim ea qui. Laudantium aspernatur deleniti. Accusamus nesciunt vero cupiditate aliquid rerum aut eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5829ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7dc90773533450b030100", "product_id"=>"53e7dc90773533450b040100", "comment_id"=>"53e7dc90773533450b020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7dc90773533450b040100'), "comments._id"=>BSON::ObjectId('53e7dc90773533450b020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7dc90773533450b030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms Redirected to http://test.host/products/53e7dc90773533450b040100/comments/53e7dc90773533450b020100/comments/53e7dc90773533450b030100 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('53e7dc90773533450b050100'), "firstname"=>"Chanel", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6064ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2335ms 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('53e7dc90773533450b060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms Redirected to http://test.host/users/53e7dc90773533450b060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2599ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450b070100'), "firstname"=>"Parker", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1891ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7dc90773533450b070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc90773533450b070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc90773533450b070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms 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.2744ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450b080100'), "firstname"=>"Rowena", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7dc90773533450b080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc90773533450b080100')} 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.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc90773533450b090100'), "firstname"=>"Kelvin", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms 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.4774ms Completed 200 OK in 10ms (Views: 9.1ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc91773533450b0a0100'), "firstname"=>"Lester", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms 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.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc91773533450b0b0100'), "firstname"=>"Ricardo", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5520ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7dc91773533450b0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc91773533450b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms Completed 200 OK in 29ms (Views: 2.6ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7dc91773533450b0c0100'), "firstname"=>"Timmothy", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3771ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7dc91773533450b0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7dc91773533450b0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Unpermitted parameters: name Redirected to http://test.host/users/53e7dc91773533450b0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5375ms 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.4992ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5560ms 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.4214ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms 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.4209ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1c773533463a000000'), "firstname"=>"Fletcher", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1976ms 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('53e7df1c773533463a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms 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.2317ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a020000'), "firstname"=>"Krista", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3905ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 16.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a030000'), "firstname"=>"Larry", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a040000'), "firstname"=>"Raul", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53e7df1d773533463a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a050000'), "firstname"=>"Delia", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53e7df1d773533463a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms 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('53e7df1d773533463a060000'), "name"=>"Dr. Janelle Yundt", "reference"=>"Mariana Hahn", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a070000'), "author_name"=>"Desmond Langworth", "content"=>["Illo omnis omnis voluptas incidunt aut. Et reprehenderit quia voluptatum exercitationem. Facilis nesciunt aut qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7df1d773533463a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a060000')} 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('53e7df1d773533463a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms Redirected to http://test.host/admin/products/53e7df1d773533463a060000/comments/53e7df1d773533463a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a090000'), "name"=>"Faustino Prohaska I", "reference"=>"Hazle Fay", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a0a0000'), "author_name"=>"Ari Willms", "content"=>["Rem rerum voluptates. Debitis qui distinctio. Sed dolor dolor quia et nam pariatur ab. Et adipisci ut esse delectus laborum. Voluptas ducimus sunt expedita quibusdam recusandae ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7df1d773533463a090000", "id"=>"53e7df1d773533463a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms Redirected to http://test.host/admin/products/53e7df1d773533463a090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a0b0000'), "name"=>"Rosie Wolff", "reference"=>"Makayla Prosacco", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a0c0000'), "author_name"=>"Laurie Kshlerin IV", "content"=>["Esse tempore autem modi ullam tenetur quibusdam. Aspernatur consequatur quo consectetur est. Eum quaerat in. Voluptas fugiat molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53e7df1d773533463a0b0000", "id"=>"53e7df1d773533463a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a0d0000'), "name"=>"Zella Anderson", "reference"=>"Clint Gottlieb II", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a0e0000'), "author_name"=>"Bonnie Beatty", "content"=>["Quia provident fuga deleniti autem eos sed ratione. Ipsum placeat quisquam. In magni voluptas ut aut eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5405ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53e7df1d773533463a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a0f0000'), "name"=>"Rogers Howell", "reference"=>"Polly Schimmel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a100000'), "author_name"=>"Dr. Lenore Hahn", "content"=>["Autem voluptatibus ratione. Aut fugiat consequatur minus fuga nostrum. Est cum soluta eveniet enim sapiente esse. Incidunt dignissimos praesentium sunt blanditiis enim quia. Illo quis ex tenetur reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5359ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53e7df1d773533463a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a110000'), "name"=>"Kasandra Schneider", "reference"=>"Joey Tremblay", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a120000'), "author_name"=>"Cooper Zulauf", "content"=>["Numquam aut illo odit praesentium. Quis labore explicabo facilis voluptas. Cupiditate ab fugiat ea voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5477ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53e7df1d773533463a110000", "id"=>"53e7df1d773533463a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a130000'), "name"=>"Kyra Dickinson", "reference"=>"Jace Sipes Jr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463a140000'), "author_name"=>"Winifred Becker", "content"=>["Quia est ut doloremque in fuga voluptas natus. Velit aut dicta tenetur iusto in amet. Rerum omnis fugit. Reiciendis nam est et sequi voluptatibus est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7df1d773533463a140000", "product_id"=>"53e7df1d773533463a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a130000'), "comments._id"=>BSON::ObjectId('53e7df1d773533463a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6054ms Redirected to http://test.host/admin/products/53e7df1d773533463a130000/comments/53e7df1d773533463a140000 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('53e7df1d773533463a150000'), "name"=>"Jannie Deckow", "reference"=>"Ms. Tyler Bernhard", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a160000'), "firstname"=>"Layla", "lastname"=>"Reichert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5423ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7df1d773533463a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Redirected to http://test.host/admin/products/53e7df1d773533463a150000/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('53e7df1d773533463a180000'), "name"=>"Anthony Wuckert DVM", "reference"=>"Jamir Schultz", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a190000'), "firstname"=>"Americo", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a190000", "product_id"=>"53e7df1d773533463a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a1a0000'), "name"=>"Mrs. Conner Denesik", "reference"=>"Lonnie Reichel", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a1b0000'), "firstname"=>"Chasity", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0086ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53e7df1d773533463a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a1c0000'), "name"=>"Philip Pouros", "reference"=>"Dr. Mariela Kutch", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a1d0000'), "firstname"=>"Sibyl", "lastname"=>"Hyatt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53e7df1d773533463a1d0000", "product_id"=>"53e7df1d773533463a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a1e0000'), "name"=>"Terry Carter", "reference"=>"Rosalyn Torphy", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53e7df1d773533463a1f0000'), "firstname"=>"Drew", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5206ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53e7df1d773533463a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7df1d773533463a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53e7df1d773533463a1e0000/manager 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('53e7df1d773533463a200000'), "name"=>"Marley Effertz", "reference"=>"Tina Batz", "quantity"=>5}] 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=>"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('53e7df1d773533463a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Redirected to http://test.host/admin/products/53e7df1d773533463a210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a220000'), "name"=>"Humberto Crooks", "reference"=>"Noble Wolf", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1380ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53e7df1d773533463a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a220000')} 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={"_id"=>BSON::ObjectId('53e7df1d773533463a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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.1924ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a230000'), "name"=>"Garland Weimann", "reference"=>"Rogers Thompson PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a240000'), "name"=>"Hayden Hudson", "reference"=>"Jamil Frami", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5201ms 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.6085ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a250000'), "name"=>"Dr. Palma Hermiston", "reference"=>"River Larson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53e7df1d773533463a280000'), "name"=>"Ms. Amanda Carroll", "reference"=>"Jerrold Towne", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53e7df1d773533463a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3191ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a290000'), "name"=>"Americo Collier", "reference"=>"Alfonzo Von", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7df1d773533463a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Redirected to http://test.host/admin/products/53e7df1d773533463a290000 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('53e7df1d773533463a2a0000'), "firstname"=>"Pauline", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5515ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2071ms 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('53e7df1d773533463a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Redirected to http://test.host/admin/users/53e7df1d773533463a2b0000 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('53e7df1d773533463a2c0000'), "firstname"=>"Preston", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms 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"=>"53e7df1d773533463a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1d773533463a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1d773533463a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms 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.2102ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a2d0000'), "firstname"=>"Minnie", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1d773533463a2d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a2e0000'), "firstname"=>"Willow", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms 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.4352ms 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('53e7df1d773533463a2f0000'), "firstname"=>"Kaley", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms 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.3ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a300000'), "firstname"=>"Gregory", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53e7df1d773533463a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1d773533463a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms 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('53e7df1d773533463a310000'), "firstname"=>"Darian", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7df1d773533463a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1d773533463a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53e7df1d773533463a310000 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('53e7df1d773533463a320000'), "firstname"=>"Brielle", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7543ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2049ms 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('53e7df1d773533463a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms 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.2276ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a340000'), "firstname"=>"Sister", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms 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_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a350000'), "firstname"=>"Angel", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a360000'), "firstname"=>"Marcellus", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53e7df1d773533463a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a370000'), "firstname"=>"Keara", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53e7df1d773533463a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53e7df1d773533463a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a380000'), "name"=>"Jackie Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a390000'), "name"=>"Al Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3a0000'), "name"=>"Talon Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3b0000'), "name"=>"Dr. Clotilde Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3c0000'), "name"=>"Kassandra Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3d0000'), "name"=>"Ms. German Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3e0000'), "name"=>"Carley Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a3f0000'), "name"=>"Claire Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a400000'), "name"=>"Ms. Esteban Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a410000'), "name"=>"Trudie Cartwright IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a420000'), "name"=>"Rocky Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a430000'), "name"=>"Cindy Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a440000'), "name"=>"Kaia Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a450000'), "name"=>"Mr. Brisa Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a460000'), "name"=>"Kristoffer Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a470000'), "name"=>"Yvette Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a480000'), "name"=>"Elza Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a490000'), "name"=>"Aron Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4a0000'), "name"=>"Humberto Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4b0000'), "name"=>"Richard Cummings II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4c0000'), "name"=>"Andreane Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4d0000'), "name"=>"Demario Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4e0000'), "name"=>"Eileen Cruickshank I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a4f0000'), "name"=>"Alexandrea Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a500000'), "name"=>"Theodora Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a510000'), "name"=>"Lavinia Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a520000'), "name"=>"Miss Wellington Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a530000'), "name"=>"Mrs. Erica Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a540000'), "name"=>"Elroy Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a550000'), "name"=>"Mr. Randy Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a560000'), "name"=>"Daphney Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a570000'), "name"=>"Otilia Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a580000'), "name"=>"Mafalda Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a590000'), "name"=>"Mrs. Eldred Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5a0000'), "name"=>"Beth Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5b0000'), "name"=>"Jarvis Leannon II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5c0000'), "name"=>"Al Daugherty III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5d0000'), "name"=>"Favian Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5e0000'), "name"=>"Miss Antwon Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a5f0000'), "name"=>"Karianne Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a600000'), "name"=>"Arlie Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a610000'), "name"=>"Estell Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a620000'), "name"=>"Hertha Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a630000'), "name"=>"Mr. Saul Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a640000'), "name"=>"Tara Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a650000'), "name"=>"Mitchel Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a660000'), "name"=>"Peter Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a670000'), "name"=>"Bryana Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a680000'), "name"=>"Suzanne Rippin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a690000'), "name"=>"Adolphus Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6a0000'), "name"=>"Derick Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6b0000'), "name"=>"Evan Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6c0000'), "name"=>"Cyril Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6d0000'), "name"=>"Colleen Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6e0000'), "name"=>"Ashleigh Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a6f0000'), "name"=>"Miss Susan Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a700000'), "name"=>"Alphonso Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a710000'), "name"=>"Ms. Abbey Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a720000'), "name"=>"Sonya Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a730000'), "name"=>"Jaylan McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a740000'), "name"=>"Dean Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a750000'), "name"=>"Ms. Burdette Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a760000'), "name"=>"Norene Heaney I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a770000'), "name"=>"Litzy Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a780000'), "name"=>"Mafalda Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a790000'), "name"=>"Rosa Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7a0000'), "name"=>"Ayden Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7b0000'), "name"=>"Miss Constantin Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7c0000'), "name"=>"Sydney Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7d0000'), "name"=>"Mrs. Holden Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7e0000'), "name"=>"Hailey Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a7f0000'), "name"=>"Zack Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a800000'), "name"=>"Annamarie Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a810000'), "name"=>"Amos O'Kon MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a820000'), "name"=>"Mrs. Eleanore Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a830000'), "name"=>"Dr. Emmet Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a840000'), "name"=>"Salvador Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a850000'), "name"=>"Mr. Eldora Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a860000'), "name"=>"Vicenta Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a870000'), "name"=>"Rahsaan Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a880000'), "name"=>"Chyna Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a890000'), "name"=>"Hildegard Ullrich"}] 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={"category_id"=>BSON::ObjectId('53e7df1d773533463a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8a0000'), "name"=>"Mrs. Guy Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8b0000'), "name"=>"Delfina Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8c0000'), "name"=>"Kyla Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8d0000'), "name"=>"Yasmin Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8e0000'), "name"=>"Tyrel Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a8f0000'), "name"=>"Kole Fisher V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a900000'), "name"=>"Jamey O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a910000'), "name"=>"Asa Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a920000'), "name"=>"Saul Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a930000'), "name"=>"Jeramy Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a940000'), "name"=>"Andres Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a950000'), "name"=>"Lessie Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a960000'), "name"=>"Leonardo Morissette PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a970000'), "name"=>"Dr. Jacquelyn Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1749ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms Redirected to http://test.host/categories/53e7df1d773533463a980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1957ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a990000'), "name"=>"Whitney Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1754ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53e7df1d773533463a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1963ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a9a0000'), "name"=>"Simone Howell DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53e7df1d773533463a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9a0000')} 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.5ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a9b0000'), "name"=>"Marilyne Herzog IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240799259332] runtime: 0.0971ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2354ms Completed 200 OK in 16ms (Views: 15.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a9c0000'), "name"=>"Hertha Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241690468784] runtime: 0.0732ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2190ms Completed 200 OK in 8ms (Views: 8.0ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a9d0000'), "name"=>"Amie Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463a9f0000'), "name"=>"Kian Christiansen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53e7df1d773533463a9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aa00000'), "name"=>"Angie Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53e7df1d773533463aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53e7df1d773533463aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms Redirected to http://test.host/categories/53e7df1d773533463aa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aa10000'), "name"=>"Mr. Estelle Gislason", "reference"=>"Mustafa Watsica", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aa20000'), "author_name"=>"Eldred Haag", "content"=>["Cum voluptas sed magnam. Qui delectus nemo ducimus et est repudiandae. Repellat amet voluptatem. Voluptas nam quas sit eaque ut. Doloribus nihil quae sed."]}]}] 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('53e7df1d773533463aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7df1d773533463aa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa10000')} 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('53e7df1d773533463aa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7df1d773533463aa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Redirected to http://test.host/products/53e7df1d773533463aa10000/comments/53e7df1d773533463aa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aa40000'), "name"=>"Montana Ebert", "reference"=>"Krystal Tillman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aa50000'), "author_name"=>"Desiree Kautzer", "content"=>["Sit est tempora quod. Qui placeat quia id. Et perspiciatis facilis eaque vero quas debitis impedit. Ut commodi magni omnis sunt consequatur corrupti. Ducimus sint nesciunt error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53e7df1d773533463aa40000", "id"=>"53e7df1d773533463aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53e7df1d773533463aa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms Redirected to http://test.host/products/53e7df1d773533463aa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aa60000'), "name"=>"Delfina Jenkins", "reference"=>"Maximus Goyette", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aa70000'), "author_name"=>"Abdullah Fisher", "content"=>["Ab numquam facere. Officiis nemo et. Et dolorem veniam corrupti error ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53e7df1d773533463aa60000", "id"=>"53e7df1d773533463aa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 39ms (Views: 37.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aa80000'), "name"=>"Josianne Cassin III", "reference"=>"Stacy Sauer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aa90000'), "author_name"=>"Cristina Price", "content"=>["Voluptatibus reiciendis deleniti voluptatem facere praesentium. Quod minima necessitatibus et dolorem. Itaque id qui inventore praesentium. Aut unde animi eaque quidem distinctio pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5715ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53e7df1d773533463aa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aaa0000'), "name"=>"Joesph Schroeder", "reference"=>"Mr. Prudence Jenkins", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aab0000'), "author_name"=>"Lexie Moore", "content"=>["Ex quo et neque ab. Occaecati qui ipsa placeat architecto. Et eos molestias quas adipisci quos beatae. Voluptatem quia officia voluptas aut. Voluptates maxime sed et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53e7df1d773533463aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aac0000'), "name"=>"Vernie Bode", "reference"=>"Caterina Ward", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aad0000'), "author_name"=>"Hassan Konopelski", "content"=>["Animi modi sed dicta voluptas libero corrupti. Animi ut voluptas facilis. Quae optio quasi voluptate incidunt labore non. Ut ea esse consectetur sint sapiente. Ut consequuntur et ut repellat quaerat occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53e7df1d773533463aac0000", "id"=>"53e7df1d773533463aad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aae0000'), "name"=>"Mekhi Grimes", "reference"=>"Ms. Donna Klocko", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463aaf0000'), "author_name"=>"Mike Hoeger", "content"=>["Corporis dolor quia repudiandae architecto et repellat maxime. Ipsum dolor aut iusto doloribus aliquam earum. Cumque autem qui culpa. Recusandae minus earum neque. Est repellendus sed quia unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53e7df1d773533463aae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463ab00000'), "name"=>"Alivia Gleichner", "reference"=>"Grayce Swaniawski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463ab10000'), "author_name"=>"Jermain Orn", "content"=>["Occaecati nisi quis molestias voluptatem aperiam. Quo ad temporibus et. Sapiente recusandae necessitatibus asperiores. Voluptas et dolorum commodi aliquid veniam dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5663ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53e7df1d773533463ab00000", "id"=>"53e7df1d773533463ab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463ab20000'), "name"=>"Kasey Ziemann", "reference"=>"Miss Theodora Stiedemann", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1d773533463ab30000'), "author_name"=>"Estefania Kshlerin", "content"=>["Et quia vel omnis fuga eligendi est. Laudantium quisquam voluptatibus harum dolores consequatur dicta aut. Distinctio ut cupiditate officiis eveniet pariatur qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7df1d773533463ab30000", "product_id"=>"53e7df1d773533463ab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab20000'), "comments._id"=>BSON::ObjectId('53e7df1d773533463ab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6442ms Redirected to http://test.host/products/53e7df1d773533463ab20000/comments/53e7df1d773533463ab30000 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('53e7df1d773533463ab40000'), "firstname"=>"Agnes", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2114ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463ab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Redirected to http://test.host/admin/clients/53e7df1d773533463ab50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463ab60000'), "firstname"=>"Stan", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms 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"=>"53e7df1d773533463ab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms 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('53e7df1d773533463ab70000'), "firstname"=>"Ariane", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7df1d773533463ab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1d773533463ab70000')} 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: 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('53e7df1d773533463ab80000'), "firstname"=>"Andreane", "lastname"=>"Hills"}] 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.3468ms 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('53e7df1d773533463ab90000'), "firstname"=>"Laurel", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1d773533463aba0000'), "firstname"=>"Colt", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2432ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7df1d773533463aba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1d773533463aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms Completed 200 OK in 36ms (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('53e7df1e773533463abb0000'), "firstname"=>"Georgianna", "lastname"=>"Rogahn"}] 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"=>"53e7df1e773533463abb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463abb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463abb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Redirected to http://test.host/admin/clients/53e7df1e773533463abb0000 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('53e7df1e773533463abc0000'), "firstname"=>"Arjun", "lastname"=>"Hettinger"}] 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.1728ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463abd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Redirected to http://test.host/clients/53e7df1e773533463abd0000 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('53e7df1e773533463abe0000'), "firstname"=>"Bettie", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1656ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53e7df1e773533463abe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463abe0000')} 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('53e7df1e773533463abe0000')} 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.1794ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463abf0000'), "firstname"=>"Jordyn", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53e7df1e773533463abf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms 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('53e7df1e773533463ac00000'), "firstname"=>"Vaughn", "lastname"=>"Cormier"}] 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.4110ms 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('53e7df1e773533463ac10000'), "firstname"=>"Brittany", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms 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.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ac20000'), "firstname"=>"Ines", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53e7df1e773533463ac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms 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('53e7df1e773533463ac30000'), "firstname"=>"Jailyn", "lastname"=>"Lesch"}] 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"=>"53e7df1e773533463ac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms Redirected to http://test.host/clients/53e7df1e773533463ac30000 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('53e7df1e773533463ac40000'), "name"=>"Samantha Hand", "reference"=>"Jovany Goldner", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463ac50000'), "firstname"=>"Brady", "lastname"=>"Mohr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53e7df1e773533463ac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4473ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4415ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463ac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Redirected to http://test.host/products/53e7df1e773533463ac40000/manager Completed 302 Found in 10ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ac70000'), "name"=>"Tristin Kunde", "reference"=>"Janice Kovacek", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463ac80000'), "firstname"=>"Sammie", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53e7df1e773533463ac80000", "product_id"=>"53e7df1e773533463ac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms 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_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ac90000'), "name"=>"Wilton Hansen", "reference"=>"Cara Willms", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463aca0000'), "firstname"=>"Stanford", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5279ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53e7df1e773533463ac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463acb0000'), "name"=>"Adrianna Schmeler", "reference"=>"Kelsi Upton", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463acc0000'), "firstname"=>"Annamae", "lastname"=>"Weber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53e7df1e773533463acc0000", "product_id"=>"53e7df1e773533463acb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463acd0000'), "name"=>"Miss Brook O'Kon", "reference"=>"Kurt Pouros", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53e7df1e773533463ace0000'), "firstname"=>"Mustafa", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53e7df1e773533463ace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53e7df1e773533463acd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms Unpermitted parameters: name Redirected to http://test.host/products/53e7df1e773533463acd0000/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('53e7df1e773533463acf0000'), "name"=>"Miss Montana Kub", "reference"=>"Miss Jerald Frami", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad00000'), "name"=>"Carol Cremin", "reference"=>"Ms. Cornelius McKenzie", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad10000'), "name"=>"Miss Lindsey Reichel", "reference"=>"Sylvia Conroy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad20000'), "name"=>"Mrs. Peggie Beier", "reference"=>"Jovan Will", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad30000'), "name"=>"Elza Weissnat", "reference"=>"Claudine Hoeger", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad40000'), "name"=>"Skyla Ferry", "reference"=>"Odessa Wehner", "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.2007ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4950ms Redirected to http://test.host/products/53e7df1e773533463ad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2890ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad60000'), "name"=>"Samara Dooley", "reference"=>"Maia Wehner", "quantity"=>8}] 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.2014ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53e7df1e773533463ad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms 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.2171ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad70000'), "name"=>"Lupe Barrows", "reference"=>"Rasheed Schaefer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53e7df1e773533463ad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4216ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 7.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad80000'), "name"=>"Danny Hackett", "reference"=>"Verna Schneider", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215519423718] runtime: 0.1024ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2892ms Completed 200 OK in 20ms (Views: 19.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ad90000'), "name"=>"Clotilde Davis", "reference"=>"Carolanne Franecki PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ada0000'), "name"=>"HelloWorld", "reference"=>"Anabel Cummerata", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463adb0000'), "name"=>"value", "reference"=>"Ethel Lebsack", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215839069331] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214783460651] runtime: 0.0590ms Completed 200 OK in 9ms (Views: 6.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2683ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216566892611] runtime: 0.0528ms Completed 200 OK in 6ms (Views: 4.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3659ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463adc0000'), "name"=>"Kimberly Price", "reference"=>"Sid Schulist", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215108045685] runtime: 0.1029ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2968ms Completed 200 OK in 52ms (Views: 51.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215864156932] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214798780578] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216013995537] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215349411818] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216560640279] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216447594605] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216122250659] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215091616794] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216111319578] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216725099272] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215735279324] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216862212304] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215741003951] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215377634833] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216762038659] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214957395475] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216441970738] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216063914963] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214881161660] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216229954116] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216095476367] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216153431166] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214858285060] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215368237043] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215535277776] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216863630110] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215066444216] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216263518706] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216057701821] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216574686193] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215513679763] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214962027307] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215109210124] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316095926] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216377022676] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216687923902] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216738311857] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216246788553] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316905423] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214947176572] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216420314640] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215891432900] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215130890992] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215550556693] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216683759249] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215715066571] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215959735402] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215211366315] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215979062535] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216805547533] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216579250792] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216088034792] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215532014553] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216280438388] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215801541932] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215879973345] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215790344469] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215120513684] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215172952616] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215589846289] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215437334961] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216007216173] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215414974614] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215460943365] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216795946922] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216718449954] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216634291201] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216581475639] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216016304634] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216191908263] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216391845787] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215095055399] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215707067297] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215736181411] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214897554235] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216034661676] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216099901107] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216581721083] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215923822787] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216090816280] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216742332669] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215513533646] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215097218998] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216455874264] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215300076797] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215535743443] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216406467871] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215611678683] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214748610772] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216312728046] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216443249419] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214766560183] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215269426721] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216087432471] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214841107037] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216193511745] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215813048938] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214933323942] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215682588241] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216766449884] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134124837] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215549757996] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216373036051] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216173244349] runtime: 0.0977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216026435862] runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215850772373] runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216536679852] runtime: 0.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216111259460] runtime: 0.1404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216690053396] runtime: 0.1399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216473835833] runtime: 0.1296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216085613227] runtime: 0.1166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214777936422] runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216146999419] runtime: 0.1335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214998856312] runtime: 0.1280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215166107804] runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214763854764] runtime: 0.1204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215952811370] runtime: 0.1210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215701053977] runtime: 0.1207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215050397500] runtime: 0.1214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216632897515] runtime: 0.1408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216436995518] runtime: 0.1123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215201450777] runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 37.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214952834562] runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215267290267] runtime: 0.0845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215984808317] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216341983761] runtime: 0.1214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215504437290] runtime: 0.0890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215871765479] runtime: 0.0870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216385209229] runtime: 0.0884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215373781396] runtime: 0.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216660810886] runtime: 0.0874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216379440093] runtime: 0.1186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216851255388] runtime: 0.0890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216371670491] runtime: 0.1024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214786446569] runtime: 0.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216308851119] runtime: 0.1125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216410853155] runtime: 0.0829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214997228015] runtime: 0.0781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215354304128] runtime: 0.0784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216364725749] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215837196363] runtime: 0.0802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215207146393] runtime: 0.0897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215549132692] runtime: 0.0794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214976913291] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216879702635] runtime: 0.0995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216226189992] runtime: 0.0887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216319754273] runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216178487064] runtime: 0.0981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216477795630] runtime: 0.0900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216600353782] runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216893372051] runtime: 0.0928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215723889503] runtime: 0.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214930169152] runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216830577479] runtime: 0.0912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215517807865] runtime: 0.1395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779366326] runtime: 0.1192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216777749317] runtime: 0.1120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215204464943] runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215538957759] runtime: 1.4584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216684217231] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216289409405] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215769408984] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215150859641] runtime: 0.0523ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463add0000'), "name"=>"Karl Connelly", "reference"=>"Bernard Green", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216676061874] runtime: 0.0750ms Completed 200 OK in 6ms (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('53e7df1e773533463ade0000'), "name"=>"Gordon Hessel", "reference"=>"Dudley Haag", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.9566ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53e7df1e773533463ade0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ade0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4048ms 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('53e7df1e773533463adf0000'), "name"=>"Kariane Wehner", "reference"=>"Miss Loma Stamm", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms 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: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ae10000'), "name"=>"Kim Mohr", "reference"=>"Leif Rolfson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53e7df1e773533463ae10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ae20000'), "name"=>"Walton Volkman", "reference"=>"Miss Carli Simonis", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms 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('53e7df1e773533463ae30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2123ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ae40000'), "name"=>"Leonie Jacobi II", "reference"=>"Marvin Quitzon V", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53e7df1e773533463ae40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae40000')} 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={"_id"=>BSON::ObjectId('53e7df1e773533463ae40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms 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('53e7df1e773533463ae50000'), "name"=>"Ms. Cassidy Erdman", "reference"=>"Terrance Carroll", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms 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('53e7df1e773533463ae70000'), "name"=>"Mrs. Cicero Bayer", "reference"=>"Keshawn Green PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7df1e773533463ae70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Completed 202 Accepted in 29ms (Views: 25.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463ae80000'), "name"=>"Frankie Blick", "reference"=>"Domenico Leffler", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53e7df1e773533463ae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463ae80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Redirected to http://test.host/products/53e7df1e773533463ae80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463aeb0000'), "name"=>"Riley Friesen", "reference"=>"Dayana Schmeler", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463ae90000'), "author_name"=>"Mrs. Brian Sanford", "content"=>["Cumque quo exercitationem numquam tempore autem est nihil. Est commodi vel autem qui voluptas libero. Quas est dolores. Facere quas cum occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463aea0000'), "author_name"=>"Stephan Hackett", "content"=>["Nobis voluptas et voluptatem ratione natus occaecati ipsam. Modi quia exercitationem suscipit magni voluptates. Dignissimos nisi ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53e7df1e773533463aeb0000", "comment_id"=>"53e7df1e773533463ae90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aeb0000'), "comments._id"=>BSON::ObjectId('53e7df1e773533463ae90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7df1e773533463aec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Redirected to http://test.host/products/53e7df1e773533463aeb0000/comments/53e7df1e773533463ae90000/comments/53e7df1e773533463aec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463aef0000'), "name"=>"Victor DuBuque Jr.", "reference"=>"Brad Waelchi", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463aed0000'), "author_name"=>"Winifred Morar", "content"=>["Ea facilis ut temporibus corporis eum. Et in rerum. Et voluptates est repellendus autem numquam ex quos. Beatae voluptatibus laboriosam doloremque et."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463aee0000'), "author_name"=>"Henriette Waters", "content"=>["Saepe maxime amet aut dignissimos. Sit accusantium culpa sunt esse dolor. Et est voluptas cumque ut reiciendis temporibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53e7df1e773533463aef0000", "comment_id"=>"53e7df1e773533463aed0000", "id"=>"53e7df1e773533463aee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aef0000'), "comments._id"=>BSON::ObjectId('53e7df1e773533463aed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53e7df1e773533463aee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Redirected to http://test.host/products/53e7df1e773533463aef0000/comments/53e7df1e773533463aed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463af20000'), "name"=>"Assunta Bruen III", "reference"=>"Burnice Bernier", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af00000'), "author_name"=>"Mr. Wilson Abbott", "content"=>["Magni aut modi. Rerum qui doloremque iure repellat. Praesentium quo quos et qui. Ullam non iste omnis sed unde. Voluptas fuga magni repudiandae aut facere ab."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af10000'), "author_name"=>"Josefa Jaskolski", "content"=>["Dolor id atque veniam facilis sunt. Veritatis quibusdam aut fuga. Sed repellendus itaque nisi non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53e7df1e773533463af20000", "comment_id"=>"53e7df1e773533463af00000", "id"=>"53e7df1e773533463af10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463af20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463af50000'), "name"=>"Bart Abshire", "reference"=>"Miss Elias Gibson", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af30000'), "author_name"=>"Theodora Haley DDS", "content"=>["Sequi distinctio nesciunt perferendis magnam blanditiis dolor itaque. Dolorem voluptas deleniti dolorem. Illo accusamus beatae quis."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af40000'), "author_name"=>"Ruby Koelpin", "content"=>["Autem quas dolore dolores repellat. Ut ex vel sapiente. Qui sit ratione tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6670ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53e7df1e773533463af50000", "comment_id"=>"53e7df1e773533463af30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463af50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4609ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463af80000'), "name"=>"Khalid Hamill Sr.", "reference"=>"Amalia Quitzon", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af60000'), "author_name"=>"Stanford Mueller", "content"=>["Et hic accusamus. Et sint iusto. Repellat harum necessitatibus ut."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af70000'), "author_name"=>"Ladarius Turner", "content"=>["Quaerat atque in possimus in. Corporis sed omnis doloremque repudiandae voluptate sunt officia. Nobis hic delectus ut maxime nihil. Quis fugiat veniam architecto repudiandae velit voluptas cupiditate. Aut distinctio dolorem necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6388ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53e7df1e773533463af80000", "comment_id"=>"53e7df1e773533463af60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463af80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4744ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463afb0000'), "name"=>"Helena Dare PhD", "reference"=>"Lesly Wisoky", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463af90000'), "author_name"=>"Brice West", "content"=>["Sunt officia eum cupiditate. Qui omnis sed similique. Autem voluptas placeat qui vero praesentium ullam."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463afa0000'), "author_name"=>"Eldora MacGyver", "content"=>["Id nihil nam delectus necessitatibus impedit. Vitae in mollitia fuga veritatis debitis ut. In porro distinctio ea. Sit recusandae non blanditiis vero dolorum nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6305ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53e7df1e773533463afb0000", "comment_id"=>"53e7df1e773533463af90000", "id"=>"53e7df1e773533463afa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463afb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4227ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463afe0000'), "name"=>"Thurman Bosco", "reference"=>"Burdette O'Reilly II", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463afc0000'), "author_name"=>"Bert Feil", "content"=>["Autem perspiciatis similique magni ea libero. Alias repellat repellendus nulla officiis quos voluptatem. Quidem eveniet aliquam modi voluptates est perferendis. Qui aut molestiae recusandae ut rerum quia. Delectus omnis quibusdam necessitatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463afd0000'), "author_name"=>"Adrianna Glover", "content"=>["Quaerat quidem architecto maxime et fugiat. Nihil cumque a ab omnis quam deserunt ratione. Enim praesentium ratione consectetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6318ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53e7df1e773533463afe0000", "comment_id"=>"53e7df1e773533463afc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463afe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4247ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463a010100'), "name"=>"Corrine Balistreri", "reference"=>"Janie Turner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463aff0000'), "author_name"=>"Elwin Weimann", "content"=>["Et dolorem ut tempore voluptatem deserunt illum ratione. Voluptatem voluptate rerum suscipit ut ullam minima alias. Numquam in ut non illo est ut. Quam sequi dolorem. Ipsum perspiciatis unde ea."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463a000100'), "author_name"=>"Emilio Lockman IV", "content"=>["Eaque possimus voluptates illum. Repudiandae nemo eos. Nesciunt quod commodi atque nemo facilis. Libero itaque ex ut et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6158ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53e7df1e773533463a010100", "comment_id"=>"53e7df1e773533463aff0000", "id"=>"53e7df1e773533463a000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463a010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4351ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463a040100'), "name"=>"Paxton Morar", "reference"=>"Issac Pacocha", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463a020100'), "author_name"=>"Asa Gusikowski III", "content"=>["Earum molestiae aperiam sint molestias qui. Quasi nam sit est iusto nesciunt. Ut expedita molestiae quo quos eligendi. Consectetur quo ut."], "comments"=>[{"_id"=>BSON::ObjectId('53e7df1e773533463a030100'), "author_name"=>"Garrick Hahn", "content"=>["Libero qui quod ab et. Rem illum sequi veniam qui. Voluptatem tempore voluptates saepe voluptas laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6184ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53e7df1e773533463a030100", "product_id"=>"53e7df1e773533463a040100", "comment_id"=>"53e7df1e773533463a020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463a040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4415ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53e7df1e773533463a040100'), "comments._id"=>BSON::ObjectId('53e7df1e773533463a020100'), "comments.0.comments._id"=>BSON::ObjectId('53e7df1e773533463a030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8332ms Redirected to http://test.host/products/53e7df1e773533463a040100/comments/53e7df1e773533463a020100/comments/53e7df1e773533463a030100 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('53e7df1e773533463a050100'), "firstname"=>"Noe", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6523ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3208ms 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('53e7df1e773533463a060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5630ms Redirected to http://test.host/users/53e7df1e773533463a060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3222ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463a070100'), "firstname"=>"Minnie", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3338ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53e7df1e773533463a070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1e773533463a070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1e773533463a070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms 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.2598ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463a080100'), "firstname"=>"Dillan", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53e7df1e773533463a080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1e773533463a080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4193ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('53e7df1e773533463a090100'), "firstname"=>"Lenny", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms 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.4329ms Completed 200 OK in 10ms (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('53e7df1e773533463a0a0100'), "firstname"=>"Alexis", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms 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.5ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53e7df1e773533463a0b0100'), "firstname"=>"Camden", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms Processing by UsersController#show as HTML Parameters: {"id"=>"53e7df1e773533463a0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1e773533463a0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms 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('53e7df1e773533463a0c0100'), "firstname"=>"Ena", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53e7df1e773533463a0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53e7df1e773533463a0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms Unpermitted parameters: name Redirected to http://test.host/users/53e7df1e773533463a0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4224ms 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.3950ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.5149ms 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.6925ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.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.3944ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b000000'), "firstname"=>"Robert", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2349ms 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('53fc457a7735330f4b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.8573ms Redirected to http://test.host/admin/administrator Completed 302 Found in 19ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3489ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b020000'), "firstname"=>"Moriah", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5374ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53fc457a7735330f4b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4002ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (20.5ms) Completed 200 OK in 106ms (Views: 104.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b030000'), "firstname"=>"Lori", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6406ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b040000'), "firstname"=>"Milford", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5713ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53fc457a7735330f4b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b050000'), "firstname"=>"Alex", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53fc457a7735330f4b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms 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('53fc457a7735330f4b060000'), "name"=>"Kelton Hintz", "reference"=>"Martine Bashirian PhD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b070000'), "author_name"=>"Sally Boehm", "content"=>["In qui eos commodi quae distinctio. Et sint commodi esse fuga molestias. Aliquid aut quia et tempore accusamus. Exercitationem consequatur natus laudantium ea. Quibusdam voluptates blanditiis facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc457a7735330f4b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Redirected to http://test.host/admin/products/53fc457a7735330f4b060000/comments/53fc457a7735330f4b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b090000'), "name"=>"Darlene Medhurst", "reference"=>"Dr. Zaria Heller", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0a0000'), "author_name"=>"Marques Labadie", "content"=>["Commodi sit eum consequatur rerum enim assumenda illum. Deserunt sed tempora dolor facilis et harum. Dolore est quasi rem id sed. Explicabo repellendus nulla ut quia mollitia ipsum laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc457a7735330f4b090000", "id"=>"53fc457a7735330f4b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms Redirected to http://test.host/admin/products/53fc457a7735330f4b090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0b0000'), "name"=>"Grant Towne", "reference"=>"Chasity Feil II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0c0000'), "author_name"=>"Florine Ullrich", "content"=>["Esse sunt et. Cumque expedita id eius dolore qui. Esse consequuntur quam eius. Et vel sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53fc457a7735330f4b0b0000", "id"=>"53fc457a7735330f4b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0d0000'), "name"=>"Rubie Mosciski", "reference"=>"Alanna Rempel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0e0000'), "author_name"=>"Domenico Bartell", "content"=>["Animi qui magni incidunt odio veritatis nostrum minus. Molestiae voluptatibus nihil quae pariatur. Accusantium consequuntur voluptates non quam nesciunt quae. Nihil temporibus maxime accusantium. Quia rem in fugiat saepe non perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53fc457a7735330f4b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b0f0000'), "name"=>"Scot Hickle", "reference"=>"Edd Daugherty DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b100000'), "author_name"=>"Wyatt Schmeler V", "content"=>["Voluptate qui cupiditate quaerat fuga perferendis rerum. Beatae voluptas maxime iure qui qui ad tempore. Molestiae nam sit aut. Tenetur quo quis illum. Voluptas excepturi similique mollitia consequuntur sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53fc457a7735330f4b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b110000'), "name"=>"Johanna Haag", "reference"=>"Jeffry Rippin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b120000'), "author_name"=>"Nathanial Lebsack", "content"=>["Consequatur id et nihil. Veritatis magnam nesciunt. Quas illum ex debitis explicabo inventore neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53fc457a7735330f4b110000", "id"=>"53fc457a7735330f4b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b130000'), "name"=>"Wilfrid Bradtke", "reference"=>"Demetris Moen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc457a7735330f4b140000'), "author_name"=>"Misty Senger DVM", "content"=>["Nihil dicta similique animi fuga in harum velit. Velit exercitationem et. Hic cum optio debitis eligendi qui recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc457a7735330f4b140000", "product_id"=>"53fc457a7735330f4b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b130000')} 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('53fc457a7735330f4b130000'), "comments._id"=>BSON::ObjectId('53fc457a7735330f4b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Redirected to http://test.host/admin/products/53fc457a7735330f4b130000/comments/53fc457a7735330f4b140000 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('53fc457a7735330f4b150000'), "name"=>"Ted Lemke", "reference"=>"Pinkie Wiza", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b160000'), "firstname"=>"Lorenz", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8223ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc457a7735330f4b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3996ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms Redirected to http://test.host/admin/products/53fc457a7735330f4b150000/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('53fc457a7735330f4b180000'), "name"=>"Michaela Flatley", "reference"=>"Ava Dicki", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b190000'), "firstname"=>"Beth", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53fc457a7735330f4b190000", "product_id"=>"53fc457a7735330f4b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b1a0000'), "name"=>"Trent Stokes", "reference"=>"Jalyn Carroll", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b1b0000'), "firstname"=>"Casper", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53fc457a7735330f4b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b1c0000'), "name"=>"Mrs. Cary Block", "reference"=>"Tavares Raynor II", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b1d0000'), "firstname"=>"Hans", "lastname"=>"Brekke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53fc457a7735330f4b1d0000", "product_id"=>"53fc457a7735330f4b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457a7735330f4b1e0000'), "name"=>"Virgie Homenick DDS", "reference"=>"Horace Lind", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53fc457a7735330f4b1f0000'), "firstname"=>"Darwin", "lastname"=>"Rodriguez"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4900ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53fc457a7735330f4b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc457a7735330f4b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457a7735330f4b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53fc457a7735330f4b1e0000/manager 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('53fc457b7735330f4b200000'), "name"=>"Crawford Jerde", "reference"=>"Dr. Modesta Cremin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2312ms 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('53fc457b7735330f4b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Redirected to http://test.host/admin/products/53fc457b7735330f4b210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2053ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b220000'), "name"=>"Kole Crooks", "reference"=>"Kitty Lueilwitz", "quantity"=>7}] 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.1936ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53fc457b7735330f4b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b220000')} 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={"_id"=>BSON::ObjectId('53fc457b7735330f4b220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2169ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b230000'), "name"=>"Thaddeus Monahan", "reference"=>"Laurie Simonis", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b240000'), "name"=>"Lavonne Wiegand", "reference"=>"Winnifred Pfeffer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms 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.5249ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b250000'), "name"=>"Mr. Blaise Ratke", "reference"=>"Jackson Quigley", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('53fc457b7735330f4b280000'), "name"=>"Darrion Emard", "reference"=>"Marjory Reynolds", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5567ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53fc457b7735330f4b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms 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('53fc457b7735330f4b290000'), "name"=>"Mr. Amani Emard", "reference"=>"Imelda Schamberger", "quantity"=>1}] 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"=>"53fc457b7735330f4b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3937ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms Redirected to http://test.host/admin/products/53fc457b7735330f4b290000 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('53fc457b7735330f4b2a0000'), "firstname"=>"Ova", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5694ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2991ms 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('53fc457b7735330f4b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Redirected to http://test.host/admin/users/53fc457b7735330f4b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3201ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b2c0000'), "firstname"=>"Carlos", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2797ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53fc457b7735330f4b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms 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.2734ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b2d0000'), "firstname"=>"Isac", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b2e0000'), "firstname"=>"Lavada", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms 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.3733ms 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('53fc457b7735330f4b2f0000'), "firstname"=>"Maryjane", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms 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('53fc457b7735330f4b300000'), "firstname"=>"Jamaal", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53fc457b7735330f4b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b310000'), "firstname"=>"Tessie", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc457b7735330f4b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3152ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53fc457b7735330f4b310000 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('53fc457b7735330f4b320000'), "firstname"=>"Cameron", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3252ms 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('53fc457b7735330f4b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms 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.3207ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b340000'), "firstname"=>"Aisha", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b350000'), "firstname"=>"Laura", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b360000'), "firstname"=>"Kendall", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53fc457b7735330f4b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b370000'), "firstname"=>"Serena", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53fc457b7735330f4b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b380000'), "name"=>"Branson Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b390000'), "name"=>"Bridgette Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3a0000'), "name"=>"Paul Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3b0000'), "name"=>"River Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3c0000'), "name"=>"Dawn O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3d0000'), "name"=>"Maya O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3e0000'), "name"=>"Mrs. Lonzo White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b3f0000'), "name"=>"Daren Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b400000'), "name"=>"Tiffany Heller IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b410000'), "name"=>"Frieda Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b420000'), "name"=>"Lenora Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b430000'), "name"=>"Rylee Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b440000'), "name"=>"Stephen Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b450000'), "name"=>"Jarvis Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b460000'), "name"=>"Caleb Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b470000'), "name"=>"Candida Marquardt V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b480000'), "name"=>"Electa Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b490000'), "name"=>"Xavier Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4a0000'), "name"=>"Daryl Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4b0000'), "name"=>"Denis Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4c0000'), "name"=>"Jacquelyn Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4d0000'), "name"=>"Damon Ledner V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4e0000'), "name"=>"Jena Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b4f0000'), "name"=>"Brain Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b500000'), "name"=>"Dr. Bethel Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b510000'), "name"=>"Boris Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b520000'), "name"=>"Carolyn Kling I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b530000'), "name"=>"Mrs. Bertha Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b540000'), "name"=>"Emmet Torp MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b550000'), "name"=>"Philip Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b560000'), "name"=>"Mylene Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b570000'), "name"=>"Mr. Timothy Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b580000'), "name"=>"Ms. Kaela Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b590000'), "name"=>"Ms. Preston Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5a0000'), "name"=>"Mr. Gerard Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5b0000'), "name"=>"Stephanie Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5c0000'), "name"=>"Jordyn Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5d0000'), "name"=>"Miss Hattie McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5e0000'), "name"=>"Mrs. Odessa Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b5f0000'), "name"=>"Kacie Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b600000'), "name"=>"Leslie Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b610000'), "name"=>"Jaden Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b620000'), "name"=>"Tobin Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b630000'), "name"=>"Alize Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b640000'), "name"=>"Paolo Roob PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b650000'), "name"=>"Chandler Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b660000'), "name"=>"Carey Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b670000'), "name"=>"Miss Brycen Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b680000'), "name"=>"Ali Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b690000'), "name"=>"Dr. Ebony Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6a0000'), "name"=>"Mr. Sigmund Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6b0000'), "name"=>"Carmela Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6c0000'), "name"=>"Ervin Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6d0000'), "name"=>"Ned Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6e0000'), "name"=>"Milford Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b6f0000'), "name"=>"Berniece Sanford III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b700000'), "name"=>"Hilton Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b710000'), "name"=>"Julie Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b720000'), "name"=>"Peter Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b730000'), "name"=>"Dr. Gabriella Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b740000'), "name"=>"Katelin Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b750000'), "name"=>"Dorris Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b760000'), "name"=>"Dax Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b770000'), "name"=>"Janis Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b780000'), "name"=>"Ms. Jadyn Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b790000'), "name"=>"Fay Gislason MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7a0000'), "name"=>"Nyasia Stark V"}] 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={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7b0000'), "name"=>"Jimmy Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7c0000'), "name"=>"Elvie Metz"}] 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={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7d0000'), "name"=>"Libbie Ortiz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7e0000'), "name"=>"Dillon Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b7f0000'), "name"=>"Cesar Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b800000'), "name"=>"Rebekah Nienow V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b810000'), "name"=>"Erling Welch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b820000'), "name"=>"Merle Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b830000'), "name"=>"Tatum Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b840000'), "name"=>"Mrs. Kali Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b850000'), "name"=>"Theresa Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b860000'), "name"=>"Kariane Mueller V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b870000'), "name"=>"Eliane Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b880000'), "name"=>"Aniyah Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b890000'), "name"=>"Shaniya Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8a0000'), "name"=>"Mr. Minerva Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8b0000'), "name"=>"Keaton Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8c0000'), "name"=>"Claudia Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8d0000'), "name"=>"Ms. Noah Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8e0000'), "name"=>"Macy Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b8f0000'), "name"=>"Daphne Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b900000'), "name"=>"Lauryn Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b910000'), "name"=>"Alessia Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b920000'), "name"=>"Cassie Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b930000'), "name"=>"Mrs. Shanie Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b940000'), "name"=>"Rogelio Casper I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b950000'), "name"=>"Sarina Ritchie I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b960000'), "name"=>"Cayla Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b970000'), "name"=>"Alice Satterfield II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1603ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms Redirected to http://test.host/categories/53fc457b7735330f4b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1859ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b990000'), "name"=>"Tommie Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1702ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53fc457b7735330f4b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1847ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b9a0000'), "name"=>"Jimmy Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b9b0000'), "name"=>"Jannie Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241335865430] runtime: 0.1010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2385ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b9c0000'), "name"=>"Alf Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240657587929] runtime: 0.0772ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2198ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b9d0000'), "name"=>"Elisa Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4b9f0000'), "name"=>"Lavada Runte Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53fc457b7735330f4b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba00000'), "name"=>"Cleve O'Keefe Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53fc457b7735330f4ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc457b7735330f4ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms Redirected to http://test.host/categories/53fc457b7735330f4ba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba10000'), "name"=>"Savion Haley", "reference"=>"Jake Klocko", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba20000'), "author_name"=>"Veronica Kling", "content"=>["Sint vel error. Ea quo doloribus perspiciatis expedita dolorum. Rem dolores voluptates. Ut libero et voluptatem facere deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc457b7735330f4ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba10000')} 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('53fc457b7735330f4ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Redirected to http://test.host/products/53fc457b7735330f4ba10000/comments/53fc457b7735330f4ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba40000'), "name"=>"Rey Kutch", "reference"=>"Guido Batz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba50000'), "author_name"=>"Mrs. Stan Hane", "content"=>["Quam quidem consequatur. Similique qui ducimus ullam necessitatibus rerum sunt corporis. Rerum laudantium aut minus."]}]}] 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('53fc457b7735330f4ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc457b7735330f4ba40000", "id"=>"53fc457b7735330f4ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4304ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Redirected to http://test.host/products/53fc457b7735330f4ba40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba60000'), "name"=>"Elian Gibson", "reference"=>"Loy Wunsch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba70000'), "author_name"=>"Mr. Anastacio Graham", "content"=>["Sapiente et eos. Quaerat magnam amet vel. Quo quis nesciunt aspernatur expedita. Ab rerum nam dicta. Quisquam sed veritatis voluptatum nobis explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53fc457b7735330f4ba60000", "id"=>"53fc457b7735330f4ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 40ms (Views: 38.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba80000'), "name"=>"Leola Pfeffer Jr.", "reference"=>"Abe Lindgren", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4ba90000'), "author_name"=>"Rickie Kozey", "content"=>["Quo saepe iure non perspiciatis reiciendis distinctio. Harum dicta iure laborum distinctio enim blanditiis deserunt. Consectetur corrupti nesciunt fugiat praesentium sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5634ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53fc457b7735330f4ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4baa0000'), "name"=>"Elfrieda Bechtelar", "reference"=>"Alayna Grimes", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4bab0000'), "author_name"=>"Dejon Shields", "content"=>["Et voluptatem et dicta sed. Voluptas illo provident et excepturi. Quam blanditiis ut. Provident qui doloremque nihil nulla. Tempore dolor iure assumenda suscipit et eum accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5433ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53fc457b7735330f4baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bac0000'), "name"=>"Ernie Langworth", "reference"=>"Cora Sawayn", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4bad0000'), "author_name"=>"Hunter Watsica", "content"=>["Ipsum magnam iure qui quia. Dignissimos rerum qui enim laudantium ea ratione. Officiis esse sit aut nihil quia vel doloremque. Nihil a officiis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53fc457b7735330f4bac0000", "id"=>"53fc457b7735330f4bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bae0000'), "name"=>"Hester Weimann", "reference"=>"Rodrigo Rau", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4baf0000'), "author_name"=>"Mr. Lesly DuBuque", "content"=>["Optio dolor aspernatur eligendi itaque ea. Reiciendis explicabo aut. Fugiat eius nemo a commodi amet consequatur. Incidunt facilis eligendi. Laudantium et sed perspiciatis dolores porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53fc457b7735330f4bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bae0000')} 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.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb00000'), "name"=>"Magdalen Dicki", "reference"=>"Justus Runolfsdottir I", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb10000'), "author_name"=>"Mr. Rory Barton", "content"=>["Ut quasi dolorem temporibus et quis. Et sed eaque voluptatem aut. Magni ea aut amet aut recusandae. Distinctio enim sed pariatur magnam eum placeat et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53fc457b7735330f4bb00000", "id"=>"53fc457b7735330f4bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb20000'), "name"=>"Vincenzo Moen", "reference"=>"Rhoda Altenwerth", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb30000'), "author_name"=>"Fletcher Lowe", "content"=>["Blanditiis distinctio et aut deleniti alias. Omnis ex est minus porro esse. Voluptatem minima eaque ut autem rem laudantium. Facilis itaque commodi. Sed aut rerum eos at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc457b7735330f4bb30000", "product_id"=>"53fc457b7735330f4bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb20000'), "comments._id"=>BSON::ObjectId('53fc457b7735330f4bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Redirected to http://test.host/products/53fc457b7735330f4bb20000/comments/53fc457b7735330f4bb30000 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('53fc457b7735330f4bb40000'), "firstname"=>"Millie", "lastname"=>"Bahringer"}] 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=>"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('53fc457b7735330f4bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Redirected to http://test.host/admin/clients/53fc457b7735330f4bb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1687ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb60000'), "firstname"=>"Morris", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms 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"=>"53fc457b7735330f4bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms 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.1662ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb70000'), "firstname"=>"Eloise", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bb80000'), "firstname"=>"Hermina", "lastname"=>"Collier"}] 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.3413ms 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('53fc457b7735330f4bb90000'), "firstname"=>"Clay", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9704ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bba0000'), "firstname"=>"Tristian", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc457b7735330f4bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms Completed 200 OK in 37ms (Views: 6.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bbb0000'), "firstname"=>"Marcelina", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc457b7735330f4bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Redirected to http://test.host/admin/clients/53fc457b7735330f4bbb0000 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('53fc457b7735330f4bbc0000'), "firstname"=>"Lorenza", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1809ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Redirected to http://test.host/clients/53fc457b7735330f4bbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2095ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bbe0000'), "firstname"=>"Sylvan", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms 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"=>"53fc457b7735330f4bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms 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.1965ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bbf0000'), "firstname"=>"Alexzander", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms 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('53fc457b7735330f4bc00000'), "firstname"=>"Pansy", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4271ms 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('53fc457b7735330f4bc10000'), "firstname"=>"Wallace", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms 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('53fc457b7735330f4bc20000'), "firstname"=>"Zola", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc457b7735330f4bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms 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('53fc457b7735330f4bc30000'), "firstname"=>"Janessa", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc457b7735330f4bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc30000')} 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('53fc457b7735330f4bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms Redirected to http://test.host/clients/53fc457b7735330f4bc30000 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('53fc457b7735330f4bc40000'), "name"=>"Arturo Greenfelder", "reference"=>"Lavonne Russel", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bc50000'), "firstname"=>"Stephan", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc457b7735330f4bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc40000')} 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('53fc457b7735330f4bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms Redirected to http://test.host/products/53fc457b7735330f4bc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bc70000'), "name"=>"Miss Elroy Luettgen", "reference"=>"Brendan Schiller Sr.", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bc80000'), "firstname"=>"Jerad", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4bc80000", "product_id"=>"53fc457b7735330f4bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bc90000'), "name"=>"Floyd Miller", "reference"=>"Dr. Turner Koelpin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bca0000'), "firstname"=>"Cordia", "lastname"=>"Balistreri"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53fc457b7735330f4bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bcb0000'), "name"=>"Rachael Balistreri DDS", "reference"=>"Mr. Pattie Bergstrom", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bcc0000'), "firstname"=>"Augustine", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53fc457b7735330f4bcc0000", "product_id"=>"53fc457b7735330f4bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bcd0000'), "name"=>"Gerda Reilly", "reference"=>"Miss Cortney Grady", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc457b7735330f4bce0000'), "firstname"=>"Damian", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53fc457b7735330f4bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc457b7735330f4bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Unpermitted parameters: name Redirected to http://test.host/products/53fc457b7735330f4bcd0000/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('53fc457b7735330f4bcf0000'), "name"=>"Rose Wiegand V", "reference"=>"Royal Keeling", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd00000'), "name"=>"Maryse Schaden V", "reference"=>"Luella West", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd10000'), "name"=>"Erling Rolfson", "reference"=>"Orpha Paucek", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd20000'), "name"=>"Dr. Madie Eichmann", "reference"=>"Dr. Matt Pacocha", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd30000'), "name"=>"Dr. Alessandro Wolff", "reference"=>"Maximillian Bahringer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd40000'), "name"=>"Mrs. Marianna Stiedemann", "reference"=>"Cleve Davis", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 1.1946ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5838ms Redirected to http://test.host/products/53fc457b7735330f4bd50000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2632ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd60000'), "name"=>"Chanel Daugherty", "reference"=>"Albertha Moen III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3255ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc457b7735330f4bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms 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.2223ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd70000'), "name"=>"Dawn Larson", "reference"=>"Miss Avis Graham", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.9492ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc457b7735330f4bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457b7735330f4bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms 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('53fc457b7735330f4bd80000'), "name"=>"Alisha Hahn", "reference"=>"Mr. Kiana Jakubowski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216172775608] runtime: 0.1325ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2352ms Completed 200 OK in 19ms (Views: 18.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bd90000'), "name"=>"Arnulfo Yundt", "reference"=>"Price Maggio DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bda0000'), "name"=>"HelloWorld", "reference"=>"Ray Walter", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457b7735330f4bdb0000'), "name"=>"value", "reference"=>"Orland Kulas", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2638ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2191ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2037ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1516ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2983ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1450ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bdc0000'), "name"=>"Ella Padberg", "reference"=>"Conrad Collins", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216561650364] runtime: 0.1113ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2165ms Completed 200 OK in 17ms (Views: 16.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215240530712] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216103682826] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215587824291] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214840643380] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215985592711] runtime: 0.0962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216316679017] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215387848287] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215350373383] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216378784605] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215138831818] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215342032443] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215013652356] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215271330291] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215690291073] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214987541952] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216866629723] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215816325673] runtime: 0.0833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215329438451] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215294663914] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216088455248] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216058516743] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216884562900] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215308640344] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216619626124] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216438862103] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216798239536] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216665232333] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216167788103] runtime: 0.0787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215413401482] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215442149205] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216157646536] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215513209446] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215137646505] runtime: 0.0765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215082349309] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215835547622] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215387074611] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216108877287] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214802524898] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215476092740] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216851399283] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216586389698] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215859008235] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216501821430] runtime: 0.1397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215360373455] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215716157082] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215231872782] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216507477837] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216480969827] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215354303895] runtime: 0.0817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216000694229] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215060916811] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216326185488] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216542594331] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214883171391] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215081843719] runtime: 0.0751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215033071433] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214945857872] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215895731475] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216165196252] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216784954900] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216334542697] runtime: 0.0867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214779810398] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215611305592] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216180358471] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216139671786] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216130375115] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215185323350] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216413340437] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216302935392] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215003525803] runtime: 0.1119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216070952926] runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215796879418] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215354870088] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216881301325] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216471143568] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216352143039] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.3537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216089172172] runtime: 0.1082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215295485459] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215722356116] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215416145444] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215569913705] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214959686554] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216252853968] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215052189543] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216423542482] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216167478624] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216500734732] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216264483234] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215006002053] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214943330811] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214820040943] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216102982388] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216793894005] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216795282330] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216156241661] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215058623494] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214914713048] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216766231252] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216767641271] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216437013414] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215809128047] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216738608078] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215501987235] runtime: 0.0780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216858208275] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216673264458] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214781284368] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216753640392] runtime: 0.0822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214873648155] runtime: 0.0738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216215977548] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215213691491] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216306752143] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215172936316] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216868414599] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216770743909] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215771272345] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216196390120] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215765693434] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215226247725] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215249136039] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215610285736] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215122053082] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215464521149] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214780816734] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215612922197] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215114756137] runtime: 0.0771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215860065643] runtime: 0.0891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215733921184] runtime: 0.0849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215982510355] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215125342195] runtime: 0.0784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216053559354] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216821485382] runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216067690030] runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216471383974] runtime: 0.1331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216743348522] runtime: 0.0797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216777593806] runtime: 0.1293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215494258880] runtime: 0.1133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215491060983] runtime: 0.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215064664076] runtime: 0.1344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214904853626] runtime: 0.0802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216646768352] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216766687023] runtime: 0.1391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215949445650] runtime: 0.1145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215552685726] runtime: 0.1109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216428918230] runtime: 0.1401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216716415523] runtime: 0.1236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216719048962] runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215328886068] runtime: 0.1245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 29.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215270689076] runtime: 0.0994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215200882681] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215323112437] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215541131556] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215287623249] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214815439547] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215520968554] runtime: 0.0794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214818585094] runtime: 0.0763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214873852468] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214759391938] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215974550034] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215664207484] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215158153712] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216267755117] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216303356327] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215294255368] runtime: 0.0504ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bdd0000'), "name"=>"Esther Goldner", "reference"=>"Gayle Baumbach", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216352008072] runtime: 0.1122ms Completed 200 OK in 5ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bde0000'), "name"=>"Annamae Considine", "reference"=>"Brando Schumm", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc457c7735330f4bde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms 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('53fc457c7735330f4bdf0000'), "name"=>"Ted Konopelski", "reference"=>"Rhoda Fritsch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms 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: 5.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4be10000'), "name"=>"Lance O'Keefe", "reference"=>"Brigitte Kulas", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc457c7735330f4be10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4be20000'), "name"=>"Mable Cartwright", "reference"=>"Miss Dock Walsh", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1729ms 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('53fc457c7735330f4be30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2284ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4be40000'), "name"=>"Branson Borer", "reference"=>"Dr. Maritza Bauch", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc457c7735330f4be40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms 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('53fc457c7735330f4be50000'), "name"=>"Norma Klocko", "reference"=>"Mr. Carmella Bernier", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms 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('53fc457c7735330f4be70000'), "name"=>"Willis Zulauf", "reference"=>"Sincere King", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc457c7735330f4be70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be70000')} 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('53fc457c7735330f4be70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms 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('53fc457c7735330f4be80000'), "name"=>"Dolores Prosacco", "reference"=>"Quinton Klocko", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.6444ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc457c7735330f4be80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4be80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms Redirected to http://test.host/products/53fc457c7735330f4be80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4beb0000'), "name"=>"Syble Kulas", "reference"=>"Anna D'Amore", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4be90000'), "author_name"=>"Rod Tromp III", "content"=>["Animi laboriosam nisi consequuntur qui maiores rerum nam. Corporis accusantium ullam quo. Nesciunt velit distinctio. Maxime tempora eos. Sed ea blanditiis eos."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bea0000'), "author_name"=>"Khalid Doyle", "content"=>["Voluptatem eos sequi quis officiis. Similique dignissimos dolorem perspiciatis. Qui blanditiis voluptate dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc457c7735330f4beb0000", "comment_id"=>"53fc457c7735330f4be90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4beb0000'), "comments._id"=>BSON::ObjectId('53fc457c7735330f4be90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc457c7735330f4bec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Redirected to http://test.host/products/53fc457c7735330f4beb0000/comments/53fc457c7735330f4be90000/comments/53fc457c7735330f4bec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bef0000'), "name"=>"Elvis Jacobs", "reference"=>"Alexander Sauer V", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bed0000'), "author_name"=>"Jaron Braun", "content"=>["Tempora fuga voluptatum. Vero quas saepe harum mollitia temporibus. Voluptatem delectus nihil quo in libero eligendi nesciunt. Suscipit autem qui."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bee0000'), "author_name"=>"Emanuel Jakubowski", "content"=>["Aperiam voluptas velit facere ratione omnis. Aut blanditiis et. Iste exercitationem ducimus blanditiis ex quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53fc457c7735330f4bef0000", "comment_id"=>"53fc457c7735330f4bed0000", "id"=>"53fc457c7735330f4bee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bef0000'), "comments._id"=>BSON::ObjectId('53fc457c7735330f4bed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc457c7735330f4bee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Redirected to http://test.host/products/53fc457c7735330f4bef0000/comments/53fc457c7735330f4bed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf20000'), "name"=>"Flossie Bednar", "reference"=>"Clinton Brown", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf00000'), "author_name"=>"Bernhard Feest", "content"=>["Cupiditate eius accusantium aut sit debitis occaecati. Accusantium molestiae commodi. Iure sapiente similique aut qui repudiandae vel aliquam. Provident perspiciatis autem et doloremque nemo."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf10000'), "author_name"=>"Mr. Chandler Halvorson", "content"=>["Reiciendis animi officia. Labore est inventore autem culpa dolores nobis ut. Eaque quod molestiae vel et eum sit dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53fc457c7735330f4bf20000", "comment_id"=>"53fc457c7735330f4bf00000", "id"=>"53fc457c7735330f4bf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 35ms (Views: 6.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf50000'), "name"=>"Stevie Zieme", "reference"=>"Mrs. Dominic Jerde", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf30000'), "author_name"=>"Amely Reynolds Jr.", "content"=>["Sit ipsum dolore adipisci beatae libero. Modi fugiat laudantium amet et quia dolorem et. Odio et maxime vitae illo alias odit. Eaque nisi vel cum aut. Neque at facere impedit."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf40000'), "author_name"=>"Hillard Pfeffer", "content"=>["Reiciendis doloribus et autem velit. Tempore ut explicabo quia doloribus non et. In sunt provident temporibus et. Molestiae neque adipisci atque ea possimus reiciendis. Soluta quia quia perspiciatis omnis aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5527ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53fc457c7735330f4bf50000", "comment_id"=>"53fc457c7735330f4bf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf80000'), "name"=>"Lilly Reichel IV", "reference"=>"Juana Steuber V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf60000'), "author_name"=>"Darrick Balistreri DDS", "content"=>["Et saepe id voluptate. Sequi quasi deserunt. Illo eos non facere quia. Beatae qui impedit vel eos officiis omnis. Perspiciatis qui veniam necessitatibus sequi aut."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf70000'), "author_name"=>"Lucas Renner", "content"=>["Similique tempore ipsa qui voluptatum iusto eligendi. Quia veniam eveniet dignissimos vel nulla et. Magnam accusantium possimus qui tempore tempora rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53fc457c7735330f4bf80000", "comment_id"=>"53fc457c7735330f4bf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4361ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bfb0000'), "name"=>"Collin Marvin", "reference"=>"Dr. Ole Boyle", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bf90000'), "author_name"=>"Mrs. Corbin Wolff", "content"=>["Aut assumenda dolorem. Molestiae molestias et tempora reiciendis nihil qui. Cumque beatae sit provident sed. Adipisci cumque ratione et velit expedita non eos. Consequuntur voluptatem omnis ut."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bfa0000'), "author_name"=>"Annabell Rodriguez", "content"=>["Sint exercitationem nulla nemo. Magni quibusdam minus quia natus et sit. Dolor repellat aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53fc457c7735330f4bfb0000", "comment_id"=>"53fc457c7735330f4bf90000", "id"=>"53fc457c7735330f4bfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4175ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4bfe0000'), "name"=>"River Gerlach", "reference"=>"Marco Willms", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bfc0000'), "author_name"=>"Jeramie Braun I", "content"=>["Sit dolores exercitationem dolorem minima illo ratione. Neque consequuntur et voluptas saepe id. Aut repellat neque ea amet aut. Dicta eius non delectus quasi repellat dolores."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bfd0000'), "author_name"=>"Rossie Stehr", "content"=>["Nesciunt et est minima enim dolore in ab. Exercitationem libero aut non eligendi assumenda. Quis beatae perspiciatis. Quod voluptatum eveniet. Ut omnis a voluptatem et fugit quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5871ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53fc457c7735330f4bfe0000", "comment_id"=>"53fc457c7735330f4bfc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b010100'), "name"=>"Mrs. Everett Johnson", "reference"=>"Reba Effertz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4bff0000'), "author_name"=>"Naomie Lindgren", "content"=>["Et perferendis nam amet. Est sunt eveniet. Possimus sit animi labore. Neque mollitia officiis dolores distinctio itaque unde. Molestias molestiae enim."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4b000100'), "author_name"=>"Easton Emmerich", "content"=>["Hic eos neque quia ea maiores fugit. Qui rerum quo sint eum est. Labore nesciunt sint. Ex sit sequi ullam necessitatibus voluptas magnam. Quia accusamus corporis vel nihil facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6390ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53fc457c7735330f4b010100", "comment_id"=>"53fc457c7735330f4bff0000", "id"=>"53fc457c7735330f4b000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms Completed 200 OK in 6ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b040100'), "name"=>"Jayde O'Reilly", "reference"=>"Gail Jacobi", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4b020100'), "author_name"=>"Sarina Russel", "content"=>["Eos non sunt impedit quae. Corporis voluptas tempore et. Facere dolorum quis."], "comments"=>[{"_id"=>BSON::ObjectId('53fc457c7735330f4b030100'), "author_name"=>"Myrna Leuschke", "content"=>["At incidunt ea illum. Aperiam atque ut consequatur animi. Cum atque doloremque labore aut officia est sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc457c7735330f4b030100", "product_id"=>"53fc457c7735330f4b040100", "comment_id"=>"53fc457c7735330f4b020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b040100'), "comments._id"=>BSON::ObjectId('53fc457c7735330f4b020100'), "comments.0.comments._id"=>BSON::ObjectId('53fc457c7735330f4b030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Redirected to http://test.host/products/53fc457c7735330f4b040100/comments/53fc457c7735330f4b020100/comments/53fc457c7735330f4b030100 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('53fc457c7735330f4b050100'), "firstname"=>"Manuel", "lastname"=>"Hayes"}] 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=>"admin_users", :query=>{}} runtime: 0.1916ms 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('53fc457c7735330f4b060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms Redirected to http://test.host/users/53fc457c7735330f4b060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1972ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b070100'), "firstname"=>"Brannon", "lastname"=>"Zulauf"}] 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=>"admin_users", :query=>{}} runtime: 0.1725ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53fc457c7735330f4b070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms 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.2023ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b080100'), "firstname"=>"Oswald", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53fc457c7735330f4b080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b080100')} 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.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('53fc457c7735330f4b090100'), "firstname"=>"Reina", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms 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.3728ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b0a0100'), "firstname"=>"Cleveland", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 30ms (Views: 29.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc457c7735330f4b0b0100'), "firstname"=>"Tanner", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6937ms Processing by UsersController#show as HTML Parameters: {"id"=>"53fc457c7735330f4b0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms 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('53fc457c7735330f4b0c0100'), "firstname"=>"Harry", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4890ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc457c7735330f4b0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc457c7735330f4b0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms Unpermitted parameters: name Redirected to http://test.host/users/53fc457c7735330f4b0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6528ms 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.5915ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6754ms 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.5542ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7493ms 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.4954ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b000000'), "firstname"=>"Rogers", "lastname"=>"Mayer"}] 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=>"administrators", :query=>{}} runtime: 0.2371ms 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('53fc59d7773533351b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5183ms 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.3209ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b020000'), "firstname"=>"Aleen", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53fc59d7773533351b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b030000'), "firstname"=>"Camila", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b040000'), "firstname"=>"Bailey", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53fc59d7773533351b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b050000'), "firstname"=>"Josiane", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.0334ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53fc59d7773533351b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms 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('53fc59d7773533351b060000'), "name"=>"Ms. Ursula Kuvalis", "reference"=>"Daryl Wiza MD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b070000'), "author_name"=>"Merle Conn", "content"=>["Tenetur ipsum eaque quia labore nihil voluptas. Aut et fuga enim consectetur. Iure laudantium cupiditate reprehenderit similique nostrum architecto. Qui in sed quod non atque maiores sequi. Minus laboriosam saepe et hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc59d7773533351b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms Redirected to http://test.host/admin/products/53fc59d7773533351b060000/comments/53fc59d7773533351b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5255ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b090000'), "name"=>"Santina Witting", "reference"=>"Alvis Beatty", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b0a0000'), "author_name"=>"Lesley Wolff", "content"=>["Voluptatem sint autem dolorem. Molestiae quia et aut est voluptatibus. Omnis aperiam quis. Distinctio rerum aut magni eum sed voluptas et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc59d7773533351b090000", "id"=>"53fc59d7773533351b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4584ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5729ms Redirected to http://test.host/admin/products/53fc59d7773533351b090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4008ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b0b0000'), "name"=>"Maryjane Rolfson", "reference"=>"Darius Mertz Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b0c0000'), "author_name"=>"Dr. Edna Bahringer", "content"=>["Non saepe ipsum ab. Ad voluptate suscipit libero ut ipsa quam. Omnis amet est cumque voluptatem modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53fc59d7773533351b0b0000", "id"=>"53fc59d7773533351b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4715ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b0d0000'), "name"=>"Justus Wisozk", "reference"=>"Jake Borer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b0e0000'), "author_name"=>"Emil Stroman", "content"=>["Quisquam animi similique minima nesciunt recusandae numquam. Vel id rem. Deserunt dignissimos aperiam et voluptas et. Recusandae fugiat quos quia suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5838ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53fc59d7773533351b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4678ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b0f0000'), "name"=>"Isabel Waters", "reference"=>"Erin Kerluke", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b100000'), "author_name"=>"Alvera Auer", "content"=>["Aut doloremque quibusdam. Saepe minima omnis quasi culpa suscipit hic. Aut atque minima explicabo id ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5693ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53fc59d7773533351b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b110000'), "name"=>"Roscoe Kassulke", "reference"=>"Raquel Thiel", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b120000'), "author_name"=>"Daphney Barrows DVM", "content"=>["Et magni blanditiis veniam. Qui adipisci est aliquam voluptas. Voluptas commodi doloremque inventore eum omnis quia eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53fc59d7773533351b110000", "id"=>"53fc59d7773533351b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4136ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b130000'), "name"=>"Dr. Madilyn Mertz", "reference"=>"Albin O'Keefe", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d7773533351b140000'), "author_name"=>"Mrs. Vincenza Jacobi", "content"=>["Maiores voluptatem numquam. Et et tenetur laudantium iusto iure qui molestiae. Perferendis hic dolorem reprehenderit. Natus tempore laborum pariatur corrupti consectetur et. Nesciunt culpa similique enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5721ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc59d7773533351b140000", "product_id"=>"53fc59d7773533351b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b130000'), "comments._id"=>BSON::ObjectId('53fc59d7773533351b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7402ms Redirected to http://test.host/admin/products/53fc59d7773533351b130000/comments/53fc59d7773533351b140000 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('53fc59d7773533351b150000'), "name"=>"Mr. Henri Kuhn", "reference"=>"Johnny Mann I", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b160000'), "firstname"=>"Cullen", "lastname"=>"Lockman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6011ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc59d7773533351b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4305ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Redirected to http://test.host/admin/products/53fc59d7773533351b150000/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('53fc59d7773533351b180000'), "name"=>"Avis Witting DDS", "reference"=>"Pasquale Gorczany", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b190000'), "firstname"=>"Moshe", "lastname"=>"Treutel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53fc59d7773533351b190000", "product_id"=>"53fc59d7773533351b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4103ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b1a0000'), "name"=>"Angel Berge", "reference"=>"Dorothy Dooley", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b1b0000'), "firstname"=>"Santos", "lastname"=>"Emard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5737ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53fc59d7773533351b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b1c0000'), "name"=>"Dr. Birdie Rowe", "reference"=>"Mrs. Brendan Thompson", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b1d0000'), "firstname"=>"Lucile", "lastname"=>"Goyette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6005ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53fc59d7773533351b1d0000", "product_id"=>"53fc59d7773533351b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b1e0000'), "name"=>"Raphael Klocko", "reference"=>"Sincere Schamberger", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc59d7773533351b1f0000'), "firstname"=>"Cora", "lastname"=>"Schimmel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5023ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53fc59d7773533351b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc59d7773533351b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53fc59d7773533351b1e0000/manager 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('53fc59d7773533351b200000'), "name"=>"Conner Becker II", "reference"=>"Coby Sanford PhD", "quantity"=>0}] 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.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('53fc59d7773533351b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Redirected to http://test.host/admin/products/53fc59d7773533351b210000 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('53fc59d7773533351b220000'), "name"=>"Mrs. Isidro Zieme", "reference"=>"Lawrence Trantow PhD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1738ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53fc59d7773533351b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b220000')} 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={"_id"=>BSON::ObjectId('53fc59d7773533351b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms 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.1890ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b230000'), "name"=>"Mrs. Nigel Schmidt", "reference"=>"Dolores Price", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53fc59d7773533351b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b230000')} 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.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b240000'), "name"=>"Mrs. Gregorio Cassin", "reference"=>"Jenifer Wehner", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms 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.8981ms Completed 200 OK in 23ms (Views: 22.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b250000'), "name"=>"Grover Rice", "reference"=>"Emerson Donnelly", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 30ms (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('53fc59d7773533351b280000'), "name"=>"Katlyn Grant", "reference"=>"Easton Lemke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3043ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53fc59d7773533351b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b290000'), "name"=>"Thelma Lind MD", "reference"=>"Else Schumm", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc59d7773533351b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d7773533351b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Redirected to http://test.host/admin/products/53fc59d7773533351b290000 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('53fc59d7773533351b2a0000'), "firstname"=>"Providenci", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2392ms 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('53fc59d7773533351b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Redirected to http://test.host/admin/users/53fc59d7773533351b2b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2572ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b2c0000'), "firstname"=>"Jackie", "lastname"=>"Johns"}] 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.1848ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53fc59d7773533351b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d7773533351b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d7773533351b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms 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.2552ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b2d0000'), "firstname"=>"Madalyn", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53fc59d7773533351b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d7773533351b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('53fc59d7773533351b2e0000'), "firstname"=>"Gaetano", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5423ms 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.4250ms 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('53fc59d7773533351b2f0000'), "firstname"=>"Geoffrey", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) 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('53fc59d7773533351b300000'), "firstname"=>"Joan", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5161ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53fc59d7773533351b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d7773533351b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms 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('53fc59d7773533351b310000'), "firstname"=>"Nettie", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc59d7773533351b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d7773533351b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3988ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53fc59d7773533351b310000 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('53fc59d7773533351b320000'), "firstname"=>"Esperanza", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5788ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2281ms 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('53fc59d7773533351b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms 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.2585ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b340000'), "firstname"=>"Ozella", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53fc59d7773533351b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b340000')} 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.5ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b350000'), "firstname"=>"Corbin", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms 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: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b360000'), "firstname"=>"Prudence", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53fc59d7773533351b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4255ms 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('53fc59d7773533351b370000'), "firstname"=>"Gerhard", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5311ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53fc59d7773533351b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc59d7773533351b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3985ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b380000'), "name"=>"Selmer O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b390000'), "name"=>"Minerva Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3a0000'), "name"=>"Lilla Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3b0000'), "name"=>"Miss Lizzie Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3c0000'), "name"=>"Tremayne Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3d0000'), "name"=>"Mariane Luettgen III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3e0000'), "name"=>"Dorian Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b3f0000'), "name"=>"Miss Letitia Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b400000'), "name"=>"Ms. Ayla Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b410000'), "name"=>"Coralie Thiel III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b420000'), "name"=>"Adelle Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b430000'), "name"=>"Enrico Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b440000'), "name"=>"Miss Anabel Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b450000'), "name"=>"Nicolette Hirthe III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b460000'), "name"=>"Corrine Cummerata III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b470000'), "name"=>"Cicero Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b480000'), "name"=>"Houston McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b490000'), "name"=>"Darrin Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4a0000'), "name"=>"Alanis Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4b0000'), "name"=>"Breana Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4c0000'), "name"=>"Brant Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4d0000'), "name"=>"Matilda Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4e0000'), "name"=>"Micaela Shields IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b4f0000'), "name"=>"Kenna Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b500000'), "name"=>"Antonietta Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b510000'), "name"=>"Edwina Gerhold II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b520000'), "name"=>"Eula Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b530000'), "name"=>"Rodolfo Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b540000'), "name"=>"Tyra Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b550000'), "name"=>"Granville Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b560000'), "name"=>"Turner Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b570000'), "name"=>"Jean O'Kon IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b580000'), "name"=>"Elinore MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b590000'), "name"=>"Edwardo Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5a0000'), "name"=>"Raegan Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5b0000'), "name"=>"Mr. Sierra Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5c0000'), "name"=>"Hattie Gorczany DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5d0000'), "name"=>"Max Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5e0000'), "name"=>"Mackenzie Anderson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b5f0000'), "name"=>"Adelia Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b600000'), "name"=>"Rubye Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b610000'), "name"=>"Charlotte Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b620000'), "name"=>"Consuelo Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b630000'), "name"=>"Lonny Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b640000'), "name"=>"Kaycee Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b650000'), "name"=>"Dr. Monroe Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b660000'), "name"=>"Dr. Mazie Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b670000'), "name"=>"Elwin Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b680000'), "name"=>"Antwan Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b690000'), "name"=>"Hassie Moen III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6a0000'), "name"=>"Miss Elmore Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6b0000'), "name"=>"Flavie VonRueden Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6c0000'), "name"=>"Albin McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6d0000'), "name"=>"Darien Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6e0000'), "name"=>"Samir Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b6f0000'), "name"=>"Breana DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.0013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b700000'), "name"=>"Lesly Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b710000'), "name"=>"Marta Koepp DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b720000'), "name"=>"Tyree Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b730000'), "name"=>"Yessenia Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b740000'), "name"=>"Rosie Rosenbaum DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b750000'), "name"=>"Alford Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b760000'), "name"=>"Ms. Justyn Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b770000'), "name"=>"Olaf Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b780000'), "name"=>"Christ O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b790000'), "name"=>"Aisha Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7a0000'), "name"=>"Evan Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7b0000'), "name"=>"Kelsie Nolan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7c0000'), "name"=>"Quincy Friesen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7d0000'), "name"=>"Ottilie Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7e0000'), "name"=>"Mr. Rudy Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b7f0000'), "name"=>"Alessandra Wolff I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b800000'), "name"=>"Miss Ian Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b810000'), "name"=>"Sophia Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b820000'), "name"=>"Hester Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b830000'), "name"=>"Dale Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b840000'), "name"=>"Jamie Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d7773533351b850000'), "name"=>"Ferne Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d7773533351b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b860000'), "name"=>"Mr. Jessy Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b870000'), "name"=>"Emery Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b880000'), "name"=>"Eric Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b890000'), "name"=>"Mrs. Cordell Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8a0000'), "name"=>"Mrs. Otho Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8b0000'), "name"=>"Gage Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8c0000'), "name"=>"Heloise Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8d0000'), "name"=>"Ardella Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8e0000'), "name"=>"Lizzie Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b8f0000'), "name"=>"Anya Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b900000'), "name"=>"Dr. Junius Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b910000'), "name"=>"Ms. Dedric DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b920000'), "name"=>"Gerard Baumbach DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b930000'), "name"=>"Miss Keenan Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b940000'), "name"=>"Mrs. Marian Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b950000'), "name"=>"Obie Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b960000'), "name"=>"Kody Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b970000'), "name"=>"Casimir Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1829ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms Redirected to http://test.host/categories/53fc59d8773533351b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2076ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b990000'), "name"=>"Vida Gerhold IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1926ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53fc59d8773533351b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1949ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b9a0000'), "name"=>"Angelo Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1954ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53fc59d8773533351b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b9b0000'), "name"=>"Prudence King II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242549130230] runtime: 0.1027ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2379ms Completed 200 OK in 17ms (Views: 15.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b9c0000'), "name"=>"Fleta Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241400239983] runtime: 0.0764ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2514ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b9d0000'), "name"=>"Ms. Henriette Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3948ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351b9f0000'), "name"=>"Marcellus Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53fc59d8773533351b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351ba00000'), "name"=>"Mose Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53fc59d8773533351ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc59d8773533351ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Redirected to http://test.host/categories/53fc59d8773533351ba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351ba10000'), "name"=>"Krystel Olson", "reference"=>"Robbie Langosh", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351ba20000'), "author_name"=>"Modesto Glover", "content"=>["Et consectetur illum. Nemo dolores et provident doloribus. Corporis nihil quidem veniam maiores consequatur. Quidem facilis ea dolore amet reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4288ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc59d8773533351ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc59d8773533351ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms Redirected to http://test.host/products/53fc59d8773533351ba10000/comments/53fc59d8773533351ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351ba40000'), "name"=>"Dena Steuber", "reference"=>"Gail Zemlak", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351ba50000'), "author_name"=>"Johanna D'Amore", "content"=>["Consequuntur numquam voluptatem consequatur ab porro veritatis. Optio cum asperiores et impedit debitis qui. Et dolores qui. Ipsum unde consequuntur autem blanditiis sed animi. Consequuntur ipsa quam vel officia praesentium et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc59d8773533351ba40000", "id"=>"53fc59d8773533351ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba40000')} 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('53fc59d8773533351ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc59d8773533351ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms Redirected to http://test.host/products/53fc59d8773533351ba40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351ba60000'), "name"=>"Mr. Alessandra O'Conner", "reference"=>"Camren Harber", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351ba70000'), "author_name"=>"Gayle Gislason", "content"=>["Totam omnis corrupti unde numquam tenetur voluptatum iste. Repellat rerum quis magnam cum omnis est nam. Et sit neque aut at explicabo labore exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53fc59d8773533351ba60000", "id"=>"53fc59d8773533351ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 40ms (Views: 38.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351ba80000'), "name"=>"Cyrus Lynch", "reference"=>"Maritza Veum", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351ba90000'), "author_name"=>"Murl Reynolds", "content"=>["Facilis harum necessitatibus eligendi eius et at. Quis dolores doloremque. Ea qui ut rerum quisquam omnis. Voluptatem omnis doloremque. A atque saepe possimus non eligendi ut illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53fc59d8773533351ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351baa0000'), "name"=>"Shyann Collins", "reference"=>"Forrest Kovacek Sr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351bab0000'), "author_name"=>"Adolph Harris", "content"=>["Ullam similique laboriosam ipsam. Voluptatem maiores quis. Consequatur placeat eum velit occaecati accusamus quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53fc59d8773533351baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bac0000'), "name"=>"Trevor D'Amore", "reference"=>"Dr. Caden Borer", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351bad0000'), "author_name"=>"Ms. Arely Gibson", "content"=>["Possimus voluptatem iure autem harum neque velit. Dolores ex aut laborum vel. Quisquam amet porro voluptatum sunt consequatur et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53fc59d8773533351bac0000", "id"=>"53fc59d8773533351bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bae0000'), "name"=>"Graham Durgan", "reference"=>"Alicia Koch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351baf0000'), "author_name"=>"Ms. Selina Mills", "content"=>["Nihil sit doloribus delectus aut dolorum. Ad sunt et quis. Molestiae amet omnis. Tenetur soluta maiores officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53fc59d8773533351bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb00000'), "name"=>"Raul Frami V", "reference"=>"Raven Konopelski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351bb10000'), "author_name"=>"Hayden Kilback", "content"=>["Ullam ea facere earum. Laborum exercitationem eveniet voluptatem aut quia odio aut. Est expedita earum et eos repellendus. Reprehenderit dolorem reiciendis temporibus facere perspiciatis dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5361ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53fc59d8773533351bb00000", "id"=>"53fc59d8773533351bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb20000'), "name"=>"Rylan Ortiz", "reference"=>"Tressa Dooley", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351bb30000'), "author_name"=>"Trever Wolf MD", "content"=>["Quae exercitationem a. Quia eligendi sed delectus. Ut sed cum aperiam perferendis enim. Voluptatibus dolores adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5467ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc59d8773533351bb30000", "product_id"=>"53fc59d8773533351bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bb20000'), "comments._id"=>BSON::ObjectId('53fc59d8773533351bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6930ms Redirected to http://test.host/products/53fc59d8773533351bb20000/comments/53fc59d8773533351bb30000 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('53fc59d8773533351bb40000'), "firstname"=>"Gregg", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1787ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Redirected to http://test.host/admin/clients/53fc59d8773533351bb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1852ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb60000'), "firstname"=>"Dovie", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1637ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc59d8773533351bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bb60000')} 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('53fc59d8773533351bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms 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.1807ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb70000'), "firstname"=>"Alfonso", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc59d8773533351bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bb70000')} 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.9ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bb80000'), "firstname"=>"Gilda", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3768ms 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('53fc59d8773533351bb90000'), "firstname"=>"Arlie", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms 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.1ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bba0000'), "firstname"=>"Opal", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc59d8773533351bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms Completed 200 OK in 35ms (Views: 34.0ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bbb0000'), "firstname"=>"Lawrence", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc59d8773533351bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms Redirected to http://test.host/admin/clients/53fc59d8773533351bbb0000 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('53fc59d8773533351bbc0000'), "firstname"=>"Orie", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms 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('53fc59d8773533351bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Redirected to http://test.host/clients/53fc59d8773533351bbd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bbe0000'), "firstname"=>"Dion", "lastname"=>"Becker"}] 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.1578ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc59d8773533351bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bbe0000')} 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('53fc59d8773533351bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7702ms 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.1835ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bbf0000'), "firstname"=>"Lucie", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc59d8773533351bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms 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('53fc59d8773533351bc00000'), "firstname"=>"Hermina", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms 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('53fc59d8773533351bc10000'), "firstname"=>"Amie", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms 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('53fc59d8773533351bc20000'), "firstname"=>"Nicola", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc59d8773533351bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms 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('53fc59d8773533351bc30000'), "firstname"=>"Lyla", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc59d8773533351bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc30000')} 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('53fc59d8773533351bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms Redirected to http://test.host/clients/53fc59d8773533351bc30000 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('53fc59d8773533351bc40000'), "name"=>"Margarete Schamberger", "reference"=>"Cristina D'Amore", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bc50000'), "firstname"=>"Sydnie", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc59d8773533351bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc40000')} 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('53fc59d8773533351bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms Redirected to http://test.host/products/53fc59d8773533351bc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bc70000'), "name"=>"Deangelo Franecki", "reference"=>"Treva Johns", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bc80000'), "firstname"=>"Diana", "lastname"=>"Runolfsson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53fc59d8773533351bc80000", "product_id"=>"53fc59d8773533351bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc70000')} 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.1ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bc90000'), "name"=>"Ignacio Yundt II", "reference"=>"Myrna Ebert", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bca0000'), "firstname"=>"Yasmin", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53fc59d8773533351bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bcb0000'), "name"=>"Stephon Conn Jr.", "reference"=>"Petra Nikolaus", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bcc0000'), "firstname"=>"Dahlia", "lastname"=>"Powlowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53fc59d8773533351bcc0000", "product_id"=>"53fc59d8773533351bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bcd0000'), "name"=>"Patience Rogahn", "reference"=>"Sylvester Bradtke", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bce0000'), "firstname"=>"Deshawn", "lastname"=>"Blick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53fc59d8773533351bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc59d8773533351bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms Unpermitted parameters: name Redirected to http://test.host/products/53fc59d8773533351bcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bcf0000'), "name"=>"Miss Arturo Boyer", "reference"=>"Rickie Schroeder", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd00000'), "name"=>"Estevan Beatty IV", "reference"=>"Joesph Herzog", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd10000'), "name"=>"Andreanne Veum Sr.", "reference"=>"Angie Treutel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd20000'), "name"=>"Vesta Feeney", "reference"=>"Willow Yundt", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd30000'), "name"=>"Muhammad Reynolds", "reference"=>"Mathias Turcotte III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd40000'), "name"=>"Gwendolyn Block", "reference"=>"Morris Hansen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1492ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms Redirected to http://test.host/products/53fc59d8773533351bd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1769ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd60000'), "name"=>"Amie Kunze", "reference"=>"Frederik Cole PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1550ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc59d8773533351bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms 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.2116ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd70000'), "name"=>"Andres Rippin", "reference"=>"Emilie Nader", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc59d8773533351bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 7.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd80000'), "name"=>"Leanne Mosciski MD", "reference"=>"Carolina Feil", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216806467953] runtime: 0.0975ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2207ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bd90000'), "name"=>"Bill Emmerich", "reference"=>"Miss Carlos Collier", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bda0000'), "name"=>"HelloWorld", "reference"=>"Raven Jast", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bdb0000'), "name"=>"value", "reference"=>"Agustina Prosacco III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3943ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2545ms Completed 200 OK in 5ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2144ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1287ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3455ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2761ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1642ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bdc0000'), "name"=>"Stephania Brekke", "reference"=>"Jovan VonRueden", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216298730994] runtime: 0.0934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2501ms Completed 200 OK in 17ms (Views: 16.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215579156118] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215769650889] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215405025154] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215805145521] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215446333590] runtime: 0.0877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215120845490] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215546708017] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214869085387] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214749694499] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216719206041] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214940087375] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216420742589] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215793364665] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216656071559] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215035315954] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214765738737] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216698749135] runtime: 0.0744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216098018483] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216536851801] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215336445033] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216144797247] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216563224423] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215422066518] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216363292695] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215050762246] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215190461078] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214959287268] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216400759553] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215848864064] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216539440783] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214925782392] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216815667880] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214872694470] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216375440762] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214959140080] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216027793920] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214808277600] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215914088333] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215671231614] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216615569940] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214796104879] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216426536086] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216318957132] runtime: 0.0733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216504970241] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216192241844] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214828012687] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216026008930] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215922848579] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216604590407] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216615287600] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215175981031] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216202237088] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215393308363] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216874282574] runtime: 0.0801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216879824288] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216544717749] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215733729098] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214961629901] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215427100806] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215516019134] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215606188651] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216652381824] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214798794921] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215371941374] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215232868658] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216727979216] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216811259406] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214875027547] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215234818297] runtime: 0.0809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216403505074] runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216051912926] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215547295571] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215705629473] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216368255309] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215929113058] runtime: 0.0939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216419715666] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215541476027] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215340683751] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216411530165] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214907255257] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214906198655] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216274744220] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215665528637] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214812774016] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215958869799] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215701515244] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216232892655] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215057399726] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216569351467] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215475887069] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216566515001] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215377596691] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6402ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215174013917] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215371124952] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215838092879] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216624604811] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216870379687] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216093861856] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216634538559] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215978027975] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215076570129] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215442041892] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215770748530] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215502640952] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215836159547] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216141124489] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215067024477] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216546969005] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216482748742] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215464710584] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215642684423] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214842265326] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216465001906] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215416352657] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216413110632] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216343665759] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215969052242] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215114102012] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216246699628] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216012398014] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215058629152] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216399183815] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216043857985] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215914018356] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216274392057] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215069721639] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215228765090] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216728030676] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216801849865] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216179410910] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216283312534] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215476274880] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216841391199] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215981917934] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214862118793] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215648169111] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215846665608] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215767249598] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214878009687] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215776340067] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215657203902] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215334511559] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214937704012] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215207617014] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216683639835] runtime: 0.0912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215536226412] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216582150280] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216710976710] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215683616622] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215961046853] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216086779868] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215221790662] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215322173073] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215453634485] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216108008799] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214976975215] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216037687644] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215466367829] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215552525102] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215298507925] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216352240305] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215486323556] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216632679110] runtime: 0.0585ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351bdd0000'), "name"=>"Domingo Schneider", "reference"=>"Shemar Haley", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214828750453] runtime: 0.0636ms Completed 200 OK in 5ms (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('53fc59d8773533351bde0000'), "name"=>"Finn Johnston", "reference"=>"Elsie Marvin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc59d8773533351bde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351bde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms 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('53fc59d8773533351bdf0000'), "name"=>"Mortimer Marquardt", "reference"=>"Julia Fisher", "quantity"=>1}] 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 (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351be10000'), "name"=>"Lexie Brakus", "reference"=>"Rogelio Witting", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc59d8773533351be10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351be20000'), "name"=>"Marquise Towne", "reference"=>"Uriel Beatty", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5622ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3051ms 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('53fc59d8773533351be30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3151ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351be40000'), "name"=>"Lauriane Abshire", "reference"=>"Bell Zemlak Sr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.1941ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc59d8773533351be40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms 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('53fc59d8773533351be50000'), "name"=>"Alexandre Ward", "reference"=>"Aglae Harber", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms 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('53fc59d8773533351be70000'), "name"=>"Curt Kerluke", "reference"=>"Jacky Padberg", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc59d8773533351be70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms 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('53fc59d8773533351be80000'), "name"=>"Danny Gaylord DVM", "reference"=>"Gust Bednar", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc59d8773533351be80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351be80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms Redirected to http://test.host/products/53fc59d8773533351be80000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d8773533351beb0000'), "name"=>"Stephania Hackett", "reference"=>"Markus Waelchi", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351be90000'), "author_name"=>"Larissa Towne", "content"=>["Amet vel qui. Deleniti sint fuga quisquam optio et omnis hic. Minima ipsam facilis et quis. Sit et sapiente officia. Voluptas inventore omnis aut."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d8773533351bea0000'), "author_name"=>"Destin Emmerich MD", "content"=>["Nisi voluptate hic corrupti dolores in et est. Neque rerum totam similique magni quibusdam. Consequatur et similique. Dignissimos dicta quia maiores voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc59d8773533351beb0000", "comment_id"=>"53fc59d8773533351be90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351beb0000'), "comments._id"=>BSON::ObjectId('53fc59d8773533351be90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc59d8773533351bec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6091ms Redirected to http://test.host/products/53fc59d8773533351beb0000/comments/53fc59d8773533351be90000/comments/53fc59d8773533351bec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d8773533351beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bef0000'), "name"=>"Jarred Little", "reference"=>"Tomas Wolf V", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bed0000'), "author_name"=>"Meredith Ruecker", "content"=>["Amet omnis et sit excepturi voluptatibus minus. Excepturi voluptatum iusto et deleniti provident. Quam omnis accusantium quis cumque qui aut explicabo. Eius omnis praesentium ratione autem hic et numquam."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bee0000'), "author_name"=>"Patience Larson", "content"=>["Animi itaque veniam hic eos. Eaque minima et vel ut aut adipisci et. Ut voluptas ipsa fugit debitis atque. Deserunt eaque tempore officiis. Vel facilis suscipit omnis porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53fc59d9773533351bef0000", "comment_id"=>"53fc59d9773533351bed0000", "id"=>"53fc59d9773533351bee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4146ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bef0000'), "comments._id"=>BSON::ObjectId('53fc59d9773533351bed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc59d9773533351bee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6332ms Redirected to http://test.host/products/53fc59d9773533351bef0000/comments/53fc59d9773533351bed0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bf20000'), "name"=>"Nia Wunsch", "reference"=>"Laury Mills", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf00000'), "author_name"=>"Shawn Mante", "content"=>["Atque architecto error quidem. Quis commodi et. Qui sed eum."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf10000'), "author_name"=>"Mr. Cheyenne Greenholt", "content"=>["Ex aut ducimus et et repellat praesentium facere. Qui est eos quibusdam. Est neque ad voluptatem voluptas. Iusto dicta totam perspiciatis omnis vero in. Dolorum consequatur ut illo laborum iusto et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53fc59d9773533351bf20000", "comment_id"=>"53fc59d9773533351bf00000", "id"=>"53fc59d9773533351bf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bf20000')} 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.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bf50000'), "name"=>"Jayce Crooks", "reference"=>"Lynn Reynolds", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf30000'), "author_name"=>"London Satterfield", "content"=>["Aliquid aut tempore. Pariatur sit repellat ipsa id sunt illo. Magnam ipsum quis mollitia inventore aut natus. Neque consequuntur et velit nemo consequatur dolor cumque."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf40000'), "author_name"=>"Ms. Enola Farrell", "content"=>["Aliquid ex officia ducimus animi laudantium. Voluptatem commodi dolores voluptatibus similique. Quaerat consequuntur occaecati odio sed voluptas soluta tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2976ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53fc59d9773533351bf50000", "comment_id"=>"53fc59d9773533351bf30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bf80000'), "name"=>"Stan Vandervort", "reference"=>"Ezequiel Mohr", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf60000'), "author_name"=>"Spencer Williamson", "content"=>["Et est inventore earum nulla dolores culpa recusandae. Ut accusantium minima quam atque est sunt. Velit eveniet magnam quidem qui id earum."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf70000'), "author_name"=>"Jany Franecki", "content"=>["Temporibus accusantium eos quos in sit. Autem non voluptatem rerum. Veritatis voluptates atque repellat. Eveniet quia aut qui saepe quia dolor. Temporibus amet dolorum omnis inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53fc59d9773533351bf80000", "comment_id"=>"53fc59d9773533351bf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bfb0000'), "name"=>"Electa Farrell", "reference"=>"Vickie Hane", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bf90000'), "author_name"=>"Diego Quitzon", "content"=>["Voluptatem assumenda iusto molestiae. Ut officia ipsam perferendis quia excepturi voluptate. Omnis odio expedita. Ad qui porro vitae consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bfa0000'), "author_name"=>"Beaulah Labadie", "content"=>["Ullam in aspernatur quaerat. Reprehenderit officiis quis sequi minus maxime. Iusto fugit ut dolorem. Quas facere et doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53fc59d9773533351bfb0000", "comment_id"=>"53fc59d9773533351bf90000", "id"=>"53fc59d9773533351bfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351bfe0000'), "name"=>"Kaylin Fahey", "reference"=>"Florencio Cummings", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bfc0000'), "author_name"=>"Maddison Vandervort", "content"=>["Praesentium distinctio esse quis ratione nostrum et id. Alias quos inventore ipsam veniam nihil maxime odit. Id sunt qui odio nam culpa. Sed blanditiis expedita consequatur. Quia accusantium explicabo reiciendis eligendi est provident."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bfd0000'), "author_name"=>"Emelie Hudson I", "content"=>["Ut quae doloremque sed officia alias. Nemo voluptatem omnis cupiditate sit. Eius nulla qui tempore. Ullam voluptates voluptatem aut accusantium placeat consectetur. Dolores dolorem exercitationem quae voluptatem sunt a voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53fc59d9773533351bfe0000", "comment_id"=>"53fc59d9773533351bfc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b010100'), "name"=>"Deonte Will", "reference"=>"Haleigh Reilly V", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351bff0000'), "author_name"=>"Hilario Braun V", "content"=>["Minus ut omnis quod ut aut eius sit. At sit adipisci. Vel occaecati numquam debitis quia eius voluptatem blanditiis. Exercitationem minima qui iste voluptas aspernatur. Omnis dicta et."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351b000100'), "author_name"=>"Mr. Shania Tromp", "content"=>["Cumque aut deleniti in. Vel aliquam officiis sint voluptas architecto amet molestias. Ducimus nulla dicta enim eaque voluptate ut amet. Consequatur inventore et est itaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53fc59d9773533351b010100", "comment_id"=>"53fc59d9773533351bff0000", "id"=>"53fc59d9773533351b000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b040100'), "name"=>"Bruce Fadel II", "reference"=>"Aliyah Lehner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351b020100'), "author_name"=>"Yoshiko Schinner", "content"=>["Quia dolorem voluptas neque natus enim exercitationem. Laboriosam sed eligendi aut voluptatem. Officia magnam est sint culpa alias aliquid. Sed consequatur illo. Quo labore quis ipsam temporibus magni."], "comments"=>[{"_id"=>BSON::ObjectId('53fc59d9773533351b030100'), "author_name"=>"Chanelle Goyette", "content"=>["Voluptatem illum assumenda facere. Aut rem quasi deserunt est architecto consequatur et. A corrupti ducimus sunt. Voluptatem a consequatur sit nobis adipisci eum. Suscipit enim itaque sunt molestias autem sequi molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc59d9773533351b030100", "product_id"=>"53fc59d9773533351b040100", "comment_id"=>"53fc59d9773533351b020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc59d9773533351b040100'), "comments._id"=>BSON::ObjectId('53fc59d9773533351b020100'), "comments.0.comments._id"=>BSON::ObjectId('53fc59d9773533351b030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Redirected to http://test.host/products/53fc59d9773533351b040100/comments/53fc59d9773533351b020100/comments/53fc59d9773533351b030100 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('53fc59d9773533351b050100'), "firstname"=>"Fidel", "lastname"=>"Mayert"}] 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.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('53fc59d9773533351b060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Redirected to http://test.host/users/53fc59d9773533351b060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2358ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b070100'), "firstname"=>"Ellie", "lastname"=>"Gutkowski"}] 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.1846ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53fc59d9773533351b070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d9773533351b070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d9773533351b070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms 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.2924ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b080100'), "firstname"=>"Ari", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53fc59d9773533351b080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d9773533351b080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) 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('53fc59d9773533351b090100'), "firstname"=>"Tracy", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms 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.4441ms 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('53fc59d9773533351b0a0100'), "firstname"=>"Ryley", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5185ms Processing by 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) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b0b0100'), "firstname"=>"Amalia", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms Processing by UsersController#show as HTML Parameters: {"id"=>"53fc59d9773533351b0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d9773533351b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc59d9773533351b0c0100'), "firstname"=>"Astrid", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc59d9773533351b0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc59d9773533351b0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Unpermitted parameters: name Redirected to http://test.host/users/53fc59d9773533351b0c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7294ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.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.3644ms 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.2285ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms 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.2120ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0577353343e6000000'), "firstname"=>"Alexie", "lastname"=>"Streich"}] 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=>"administrators", :query=>{}} runtime: 0.1315ms 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('53fc5d0577353343e6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.1515ms Redirected to http://test.host/admin/administrator Completed 302 Found in 18ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1931ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0577353343e6020000'), "firstname"=>"Isabel", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53fc5d0577353343e6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0577353343e6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6030000'), "firstname"=>"Xavier", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6040000'), "firstname"=>"Gilda", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53fc5d0677353343e6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6050000'), "firstname"=>"Clare", "lastname"=>"Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53fc5d0677353343e6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms 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('53fc5d0677353343e6060000'), "name"=>"Adela Zemlak", "reference"=>"Miss Grace Boyer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6070000'), "author_name"=>"Arnaldo Bernhard I", "content"=>["Soluta distinctio inventore accusantium sed dolores in nihil. Quia debitis nisi laudantium et. Maiores ut veniam. Est dolore consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc5d0677353343e6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Redirected to http://test.host/admin/products/53fc5d0677353343e6060000/comments/53fc5d0677353343e6080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6090000'), "name"=>"Zena Ziemann", "reference"=>"Mr. Erling Klocko", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e60a0000'), "author_name"=>"Davon Romaguera", "content"=>["Consequatur modi quod maxime ut voluptas quia. Dignissimos voluptatem asperiores sequi repudiandae ea. Deserunt sed corporis ipsum incidunt. Tempore in ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc5d0677353343e6090000", "id"=>"53fc5d0677353343e60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms Redirected to http://test.host/admin/products/53fc5d0677353343e6090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e60b0000'), "name"=>"Manuel Hammes", "reference"=>"Mireya Johnson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e60c0000'), "author_name"=>"Avery Nader II", "content"=>["Minus esse nesciunt. Omnis quia molestiae aliquid ratione odit et qui. Natus voluptas laboriosam. Et culpa nostrum aperiam sapiente quisquam hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53fc5d0677353343e60b0000", "id"=>"53fc5d0677353343e60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e60b0000')} 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.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e60d0000'), "name"=>"Dedrick Rodriguez", "reference"=>"Percival Carroll", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e60e0000'), "author_name"=>"Blair Schuster", "content"=>["Et quaerat recusandae consequatur occaecati voluptatem aut laboriosam. Officiis repellat adipisci nihil eligendi molestias nisi. Labore eum debitis in accusantium aspernatur explicabo iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53fc5d0677353343e60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e60f0000'), "name"=>"Dannie Hilpert", "reference"=>"Mrs. Tressie Prosacco", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6100000'), "author_name"=>"Alexa Stamm", "content"=>["Ipsam quos quod aut quisquam et magni accusamus. Explicabo eaque nesciunt ducimus animi. Voluptatum porro provident. Voluptas consequuntur est sapiente qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53fc5d0677353343e60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6110000'), "name"=>"Gilbert Bauch", "reference"=>"Ms. Pink Gibson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6120000'), "author_name"=>"Gisselle Wolff", "content"=>["Animi adipisci voluptatem accusamus rem aut beatae quis. Voluptatem aut animi non quisquam unde pariatur. Dignissimos rerum optio quia quos. Tempora aut magnam dolor libero nulla non. Quidem dolor molestias quia laboriosam commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53fc5d0677353343e6110000", "id"=>"53fc5d0677353343e6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6130000'), "name"=>"Willow Jakubowski", "reference"=>"Dr. Jeanne Braun", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6140000'), "author_name"=>"Mrs. Wava Armstrong", "content"=>["Maiores natus repellendus sed. Aliquam magnam vel. Ipsum ea maiores quod sunt. Reiciendis ut minima ut voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc5d0677353343e6140000", "product_id"=>"53fc5d0677353343e6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6130000')} 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('53fc5d0677353343e6130000'), "comments._id"=>BSON::ObjectId('53fc5d0677353343e6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms Redirected to http://test.host/admin/products/53fc5d0677353343e6130000/comments/53fc5d0677353343e6140000 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('53fc5d0677353343e6150000'), "name"=>"Bethany Kulas", "reference"=>"Emely Hilll", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6160000'), "firstname"=>"Stanford", "lastname"=>"Dickens"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3080ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc5d0677353343e6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms Redirected to http://test.host/admin/products/53fc5d0677353343e6150000/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('53fc5d0677353343e6180000'), "name"=>"Kiera Ritchie", "reference"=>"Americo Kunde", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6190000'), "firstname"=>"Jalyn", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53fc5d0677353343e6190000", "product_id"=>"53fc5d0677353343e6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e61a0000'), "name"=>"Patricia Bogisich", "reference"=>"Adalberto Stracke", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e61b0000'), "firstname"=>"Twila", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53fc5d0677353343e61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e61c0000'), "name"=>"Sabina Pacocha", "reference"=>"Melvina MacGyver", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e61d0000'), "firstname"=>"Hipolito", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53fc5d0677353343e61d0000", "product_id"=>"53fc5d0677353343e61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e61e0000'), "name"=>"Billie Christiansen", "reference"=>"Miss Tania Trantow", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e61f0000'), "firstname"=>"Filomena", "lastname"=>"Stiedemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53fc5d0677353343e61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc5d0677353343e61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53fc5d0677353343e61e0000/manager 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('53fc5d0677353343e6200000'), "name"=>"Sterling Hudson", "reference"=>"Mr. Jaunita Wisozk", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1989ms 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('53fc5d0677353343e6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Redirected to http://test.host/admin/products/53fc5d0677353343e6210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2357ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6220000'), "name"=>"Parker Reilly", "reference"=>"Reva Zemlak", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2121ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53fc5d0677353343e6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms 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.2184ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6230000'), "name"=>"Ted Howell Sr.", "reference"=>"Laila O'Conner DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53fc5d0677353343e6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6240000'), "name"=>"Damien Block", "reference"=>"Nikita Bernhard", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5497ms 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.6504ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6250000'), "name"=>"Ms. Werner Steuber", "reference"=>"Dr. Rodolfo Ledner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 17ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6280000'), "name"=>"Damion Dare", "reference"=>"Matilde Homenick I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53fc5d0677353343e6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3437ms 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('53fc5d0677353343e6290000'), "name"=>"Hanna Veum", "reference"=>"Cristopher Padberg", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc5d0677353343e6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Redirected to http://test.host/admin/products/53fc5d0677353343e6290000 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('53fc5d0677353343e62a0000'), "firstname"=>"Emmitt", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2046ms 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('53fc5d0677353343e62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms Redirected to http://test.host/admin/users/53fc5d0677353343e62b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2308ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e62c0000'), "firstname"=>"Tyrese", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1958ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53fc5d0677353343e62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0677353343e62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0677353343e62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms 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.2274ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e62d0000'), "firstname"=>"Monte", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53fc5d0677353343e62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0677353343e62d0000')} 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.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e62e0000'), "firstname"=>"Rollin", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5185ms 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.4486ms 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('53fc5d0677353343e62f0000'), "firstname"=>"Fleta", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms 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('53fc5d0677353343e6300000'), "firstname"=>"Furman", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53fc5d0677353343e6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6310000'), "firstname"=>"Emmanuel", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc5d0677353343e6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53fc5d0677353343e6310000 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('53fc5d0677353343e6320000'), "firstname"=>"Erik", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2051ms 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('53fc5d0677353343e6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms 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('53fc5d0677353343e6340000'), "firstname"=>"Ewell", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53fc5d0677353343e6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6350000'), "firstname"=>"Marquise", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5213ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6360000'), "firstname"=>"Leora", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53fc5d0677353343e6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6370000'), "firstname"=>"Rashawn", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53fc5d0677353343e6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6380000'), "name"=>"Schuyler Rosenbaum II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6390000'), "name"=>"Noemie Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63a0000'), "name"=>"Asia Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63b0000'), "name"=>"Mrs. Krystel Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63c0000'), "name"=>"Sebastian Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63d0000'), "name"=>"Miss Fabian Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63e0000'), "name"=>"Santiago O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e63f0000'), "name"=>"Jayden Yost MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6400000'), "name"=>"Willis Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6410000'), "name"=>"Bette Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6420000'), "name"=>"Manuel Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6430000'), "name"=>"Omari Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6440000'), "name"=>"Mr. Werner Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6450000'), "name"=>"Cristobal Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6460000'), "name"=>"Loyce Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6470000'), "name"=>"Kenyatta Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6480000'), "name"=>"Miss Unique Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6490000'), "name"=>"Edwardo Mayert V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64a0000'), "name"=>"Evert Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64b0000'), "name"=>"Rhianna Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64c0000'), "name"=>"Gordon Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64d0000'), "name"=>"Waldo Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64e0000'), "name"=>"Dr. Aryanna Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e64f0000'), "name"=>"Ray Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6500000'), "name"=>"Dario Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6510000'), "name"=>"Fae Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6520000'), "name"=>"Stuart Hilll Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6530000'), "name"=>"Ali Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6540000'), "name"=>"Kennedi Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6550000'), "name"=>"Miss Desmond Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6560000'), "name"=>"Dr. Aletha Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6570000'), "name"=>"Geo Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6580000'), "name"=>"Marjorie Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6590000'), "name"=>"Dr. Kiera Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65a0000'), "name"=>"Gabrielle Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65b0000'), "name"=>"Arthur Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65c0000'), "name"=>"Jacinthe Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65d0000'), "name"=>"Marina Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65e0000'), "name"=>"Brenda Volkman PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e65f0000'), "name"=>"Lizeth Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6600000'), "name"=>"Ms. Kira Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6610000'), "name"=>"Dorothy Lockman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6620000'), "name"=>"Wiley Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6630000'), "name"=>"Sven Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6640000'), "name"=>"Assunta Leffler IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6650000'), "name"=>"Barton Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6660000'), "name"=>"Ms. Susan Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6670000'), "name"=>"Dr. Lincoln Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6680000'), "name"=>"Evelyn Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6690000'), "name"=>"Ludwig Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66a0000'), "name"=>"Dr. Humberto Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66b0000'), "name"=>"Tony Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66c0000'), "name"=>"Damien Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66d0000'), "name"=>"Rebeka Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66e0000'), "name"=>"Earline Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e66f0000'), "name"=>"Leanne Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.8676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6700000'), "name"=>"Jeanne Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6710000'), "name"=>"Thad Purdy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6720000'), "name"=>"Oran Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6730000'), "name"=>"Lauryn Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6740000'), "name"=>"Demond Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6750000'), "name"=>"Jonathan Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6760000'), "name"=>"Greta Hermiston Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6770000'), "name"=>"Ms. Janet Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6780000'), "name"=>"Lesley Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6790000'), "name"=>"Shayne Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67a0000'), "name"=>"Selmer Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67b0000'), "name"=>"Vallie Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67c0000'), "name"=>"Trevion Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67d0000'), "name"=>"Brigitte Windler Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67e0000'), "name"=>"Miss Nathen Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e67f0000'), "name"=>"Winnifred Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6800000'), "name"=>"Sammy Shanahan IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6810000'), "name"=>"Ardella Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6820000'), "name"=>"Mrs. Zetta Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6830000'), "name"=>"Kallie O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6840000'), "name"=>"Elinore Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6850000'), "name"=>"Chadrick Doyle Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6860000'), "name"=>"Kira Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6870000'), "name"=>"Garth Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6880000'), "name"=>"Miss Haleigh Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6890000'), "name"=>"Maeve Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68a0000'), "name"=>"Chesley Sipes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68b0000'), "name"=>"Stephen Cummings III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68c0000'), "name"=>"Aaliyah Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68d0000'), "name"=>"Jeremy Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68e0000'), "name"=>"Antonetta Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e68f0000'), "name"=>"Miss Marjolaine Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6900000'), "name"=>"Sheldon Emard IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6910000'), "name"=>"Riley Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6920000'), "name"=>"Judah Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6930000'), "name"=>"Ivory Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6940000'), "name"=>"Regan Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6950000'), "name"=>"Dariana Kuhlman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6960000'), "name"=>"Ibrahim Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6970000'), "name"=>"Sim Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2628ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms Redirected to http://test.host/categories/53fc5d0677353343e6980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2883ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6990000'), "name"=>"Javonte Dooley PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2649ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53fc5d0677353343e6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2695ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e69a0000'), "name"=>"Rudy Gusikowski"}] 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={"category_id"=>BSON::ObjectId('53fc5d0677353343e69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53fc5d0677353343e69a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.9ms) Completed 200 OK in 13ms (Views: 11.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e69b0000'), "name"=>"Dr. Kay Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240844590603] runtime: 0.1138ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3931ms Completed 200 OK in 19ms (Views: 18.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e69c0000'), "name"=>"Dudley Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242158134058] runtime: 0.0857ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.4001ms Completed 200 OK in 11ms (Views: 10.0ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e69d0000'), "name"=>"Aiyana Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 8ms (Views: 7.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e69f0000'), "name"=>"Horacio O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53fc5d0677353343e69f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 7ms (Views: 5.7ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a00000'), "name"=>"Kari Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53fc5d0677353343e6a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc5d0677353343e6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms Redirected to http://test.host/categories/53fc5d0677353343e6a00000 Completed 302 Found in 6ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a10000'), "name"=>"Tyra Swift Sr.", "reference"=>"Elmore Dickinson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a20000'), "author_name"=>"Ms. Cortez Dooley", "content"=>["Voluptatem et odit illo et ut dolorem culpa. Saepe qui rem ea laudantium iusto. Nostrum dolorum est. Esse molestias beatae possimus. Voluptate illum ab et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc5d0677353343e6a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms Redirected to http://test.host/products/53fc5d0677353343e6a10000/comments/53fc5d0677353343e6a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a40000'), "name"=>"Rosella Ryan", "reference"=>"Emmalee Pagac", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a50000'), "author_name"=>"Tyrell Kris MD", "content"=>["Incidunt necessitatibus deleniti nisi magnam. Perferendis dolore ducimus laudantium assumenda dolor. Similique suscipit commodi natus et et iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc5d0677353343e6a40000", "id"=>"53fc5d0677353343e6a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc5d0677353343e6a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Redirected to http://test.host/products/53fc5d0677353343e6a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a60000'), "name"=>"Hyman Tillman", "reference"=>"Karley Dach", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a70000'), "author_name"=>"Reese Franecki", "content"=>["Voluptatem pariatur molestiae dolor et magni porro corporis. Rerum magni natus a voluptas error. Et non quos perspiciatis tempore aut exercitationem consequatur. Quis et eum nulla delectus sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53fc5d0677353343e6a60000", "id"=>"53fc5d0677353343e6a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 41ms (Views: 38.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a80000'), "name"=>"Dr. Rosario Nikolaus", "reference"=>"Miss Mikel Hayes", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6a90000'), "author_name"=>"Octavia Windler", "content"=>["Id sit alias repudiandae. Eos qui sequi dolorem. Et consequatur eos quaerat ad deleniti voluptatem rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53fc5d0677353343e6a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6aa0000'), "name"=>"Dr. Delta Abbott", "reference"=>"Mr. Kenna Goyette", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6ab0000'), "author_name"=>"Fausto Daugherty", "content"=>["Earum dolorem molestias. Similique adipisci odio modi. Officia dolore dolorum velit facere in. Cumque ut magni repudiandae aperiam. Sed ab amet laudantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2615ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53fc5d0677353343e6aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6ac0000'), "name"=>"Dr. Fannie Powlowski", "reference"=>"Genoveva Murazik", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6ad0000'), "author_name"=>"Olen Roberts", "content"=>["Doloribus pariatur rerum quisquam non sapiente repellendus. Quia quas aliquid pariatur nihil. Explicabo reiciendis aut quos repellat cum non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53fc5d0677353343e6ac0000", "id"=>"53fc5d0677353343e6ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6ae0000'), "name"=>"Maia Schultz", "reference"=>"Lennie D'Amore", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6af0000'), "author_name"=>"Adrien Beer", "content"=>["Aliquam tempore beatae error reiciendis corporis minima. Quis autem perferendis non. Maiores ipsa eligendi. Sequi sunt ut enim magni est sit. Hic eos ullam vitae placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53fc5d0677353343e6ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6b00000'), "name"=>"Karolann Willms", "reference"=>"Aron Douglas", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6b10000'), "author_name"=>"Zoe Ward", "content"=>["Laudantium et facilis consequatur dignissimos. Et quod cum. Vel dolorem aut ut. Qui reiciendis et voluptas. Molestiae debitis praesentium et officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53fc5d0677353343e6b00000", "id"=>"53fc5d0677353343e6b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0677353343e6b20000'), "name"=>"Mrs. Velda Wyman", "reference"=>"Valentin Gislason II", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0677353343e6b30000'), "author_name"=>"Jerald Hills Sr.", "content"=>["Incidunt molestiae fugiat enim ut nisi. Ex quia ducimus dicta. Quae quos sed asperiores cumque distinctio explicabo. Est praesentium ut non eveniet sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc5d0677353343e6b30000", "product_id"=>"53fc5d0677353343e6b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0677353343e6b20000'), "comments._id"=>BSON::ObjectId('53fc5d0677353343e6b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms Redirected to http://test.host/products/53fc5d0677353343e6b20000/comments/53fc5d0677353343e6b30000 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('53fc5d0777353343e6b40000'), "firstname"=>"Abbigail", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5502ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2544ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Redirected to http://test.host/admin/clients/53fc5d0777353343e6b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2595ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6b60000'), "firstname"=>"Ivah", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms 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"=>"53fc5d0777353343e6b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms 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.2503ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6b70000'), "firstname"=>"Estefania", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc5d0777353343e6b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('53fc5d0777353343e6b80000'), "firstname"=>"Maximilian", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4811ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4277ms 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('53fc5d0777353343e6b90000'), "firstname"=>"Rhoda", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms 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('53fc5d0777353343e6ba0000'), "firstname"=>"Earnest", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9254ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc5d0777353343e6ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5171ms Completed 200 OK in 36ms (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('53fc5d0777353343e6bb0000'), "firstname"=>"Dan", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5823ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc5d0777353343e6bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4111ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://test.host/admin/clients/53fc5d0777353343e6bb0000 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('53fc5d0777353343e6bc0000'), "firstname"=>"Eleanore", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2890ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms Redirected to http://test.host/clients/53fc5d0777353343e6bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3307ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6be0000'), "firstname"=>"Amalia", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2847ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc5d0777353343e6be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms 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.3029ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6bf0000'), "firstname"=>"Ansley", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc5d0777353343e6bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms 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('53fc5d0777353343e6c00000'), "firstname"=>"Carolina", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5173ms 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('53fc5d0777353343e6c10000'), "firstname"=>"Golden", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5273ms 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('53fc5d0777353343e6c20000'), "firstname"=>"Makayla", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc5d0777353343e6c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms 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('53fc5d0777353343e6c30000'), "firstname"=>"Alejandra", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc5d0777353343e6c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3797ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Redirected to http://test.host/clients/53fc5d0777353343e6c30000 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('53fc5d0777353343e6c40000'), "name"=>"Dr. Gianni King", "reference"=>"Werner Ward", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6c50000'), "firstname"=>"Jeffry", "lastname"=>"Heathcote"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9907ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc5d0777353343e6c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms Redirected to http://test.host/products/53fc5d0777353343e6c40000/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('53fc5d0777353343e6c70000'), "name"=>"Fletcher Corwin", "reference"=>"Alfonso Kuphal", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6c80000'), "firstname"=>"Theresia", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53fc5d0777353343e6c80000", "product_id"=>"53fc5d0777353343e6c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4604ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6c90000'), "name"=>"Aaliyah Vandervort II", "reference"=>"Michale Hauck", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6ca0000'), "firstname"=>"Wilfredo", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53fc5d0777353343e6c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6cb0000'), "name"=>"Candido Altenwerth MD", "reference"=>"Judd Schulist", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6cc0000'), "firstname"=>"Vicky", "lastname"=>"Ondricka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5529ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53fc5d0777353343e6cc0000", "product_id"=>"53fc5d0777353343e6cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6cd0000'), "name"=>"Amalia Wunsch", "reference"=>"Victoria Moore", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6ce0000'), "firstname"=>"Josephine", "lastname"=>"Jakubowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5618ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53fc5d0777353343e6ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc5d0777353343e6cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms Unpermitted parameters: name Redirected to http://test.host/products/53fc5d0777353343e6cd0000/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('53fc5d0777353343e6cf0000'), "name"=>"Chanel Quigley", "reference"=>"Josianne Glover", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d00000'), "name"=>"Ms. Carlo Murray", "reference"=>"Lessie Schmeler V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d10000'), "name"=>"Amara Dibbert", "reference"=>"Henderson Jast", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d20000'), "name"=>"Nikita Rempel", "reference"=>"Tiana Wilderman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d30000'), "name"=>"Reece Rowe", "reference"=>"Alayna Leuschke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d40000'), "name"=>"Mose Jacobson", "reference"=>"Margie King", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1867ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Redirected to http://test.host/products/53fc5d0777353343e6d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2457ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d60000'), "name"=>"Dejah Ratke II", "reference"=>"Sonia West", "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.1912ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc5d0777353343e6d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms 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('53fc5d0777353343e6d70000'), "name"=>"Earlene Hammes III", "reference"=>"Yolanda McLaughlin III", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc5d0777353343e6d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 7.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d80000'), "name"=>"Paxton Dickinson", "reference"=>"Shaniya Muller I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216582332647] runtime: 0.1098ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2897ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6d90000'), "name"=>"Wilfredo Lakin IV", "reference"=>"Jana Yost", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6da0000'), "name"=>"HelloWorld", "reference"=>"Ms. Dominique Grady", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6db0000'), "name"=>"value", "reference"=>"Verda Huels", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4921ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3509ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2919ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1994ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3412ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2969ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2242ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6dc0000'), "name"=>"Mr. Remington Heidenreich", "reference"=>"Miss Hermann Goldner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216287572306] runtime: 0.1018ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3186ms Completed 200 OK in 17ms (Views: 16.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216204482185] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214863960859] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215106491448] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215868523296] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.4316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215834225455] runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216234973984] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216739839327] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215118441962] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216600714647] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215145515425] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214833878926] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216427662202] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216068957771] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215706783549] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214836923184] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216335962937] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216272970328] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216388163481] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216335683157] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214865651620] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216335321153] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215454948757] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216615440549] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216818391663] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216397889602] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216281778344] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216871712537] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215106284485] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214864423677] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216587731392] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216603739154] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215539220806] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216875875165] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214867515845] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215292902240] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215074367385] runtime: 0.1156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215092077434] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215763338241] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215894923029] runtime: 0.0947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215359021737] runtime: 0.0738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215468995116] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215074137151] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215024776952] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215201509108] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216121318698] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215115022387] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215684315654] runtime: 0.1295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215817177029] runtime: 0.1239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779455444] runtime: 0.0904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214772331793] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216846100080] runtime: 0.0886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215203155195] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216635074013] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215232615423] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215400336754] runtime: 0.0841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215258456326] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215669683482] runtime: 0.0907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215777843923] runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214852171735] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215342238021] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215893437142] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216393837199] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215217813589] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215131747726] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216116247385] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216144209013] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216607049686] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215962991108] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216227320482] runtime: 0.1084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216425186463] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215941728448] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215334612922] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215858010948] runtime: 0.0792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216023742755] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214768197419] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216208747531] runtime: 0.1196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214944359509] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216393238946] runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215145305359] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215248095237] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216413228005] runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216212724217] runtime: 0.0834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214850731698] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216120366868] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215069137450] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214858239521] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215564749868] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216254104218] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215848832077] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215336140760] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216287158265] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214810537222] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214811212953] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216445908297] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214781061570] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216233715815] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216143416795] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215917821643] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215496930118] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215575194914] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216164284101] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216052881572] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216612230745] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215239821285] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216374036887] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215413602647] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216721885540] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215563164698] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216870093550] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216560918646] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215110790714] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216297918623] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216459266440] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215869792145] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216794694159] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215698308359] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216637851029] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216649070336] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215606062044] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214809632381] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216738529393] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216162831317] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216422337291] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216202126392] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215347116693] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215009299605] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216262934780] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215715309800] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216432679387] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214881425638] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216522652039] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215873403263] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214813661828] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216740141942] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215098022247] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215321206723] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214802207097] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216004581826] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215206735256] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215277646838] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216084109095] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214882302303] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216666172117] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214951982313] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216135057061] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216749851887] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216868360465] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216455620495] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214999756676] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215210113416] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216875628528] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214987790713] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215286485242] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215124583561] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215608010051] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215144152268] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216102824452] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215344006262] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214854134392] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216217601825] runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215351454877] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214856679393] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216610868093] runtime: 0.0507ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6dd0000'), "name"=>"Pamela Kub", "reference"=>"Kristoffer Pouros DVM", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216114258547] runtime: 0.0635ms Completed 200 OK in 5ms (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('53fc5d0777353343e6de0000'), "name"=>"Adela McGlynn", "reference"=>"Keith Corwin II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc5d0777353343e6de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms 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('53fc5d0777353343e6df0000'), "name"=>"Louie Bradtke", "reference"=>"Preston Brakus", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6e10000'), "name"=>"Paige Metz", "reference"=>"Mr. Reyes VonRueden", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc5d0777353343e6e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6e20000'), "name"=>"Darwin Wehner", "reference"=>"Rogelio Kutch", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1619ms 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('53fc5d0777353343e6e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms 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('53fc5d0777353343e6e40000'), "name"=>"Grant Raynor MD", "reference"=>"Jeremie Swaniawski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc5d0777353343e6e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms 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('53fc5d0777353343e6e50000'), "name"=>"Carlee Waelchi Jr.", "reference"=>"Maddison Kassulke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms 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('53fc5d0777353343e6e70000'), "name"=>"Tom Wyman", "reference"=>"Dr. Janessa Zemlak", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc5d0777353343e6e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e70000')} 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('53fc5d0777353343e6e80000'), "name"=>"Alberta Gleason", "reference"=>"Kristy Willms", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc5d0777353343e6e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.0625ms Redirected to http://test.host/products/53fc5d0777353343e6e80000 Completed 302 Found in 20ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6eb0000'), "name"=>"Maddison Turner", "reference"=>"Maxime Stiedemann", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6e90000'), "author_name"=>"Orion Reichel", "content"=>["Cumque impedit magni aut exercitationem et. Mollitia neque officiis rerum consequatur exercitationem adipisci fuga. Aspernatur excepturi officia."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6ea0000'), "author_name"=>"Bessie Fadel MD", "content"=>["Itaque nam maxime. Quam cupiditate nemo eum nobis saepe maxime et. Aut omnis tempore officia maxime ut sapiente. Ut quia ad ab consectetur rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc5d0777353343e6eb0000", "comment_id"=>"53fc5d0777353343e6e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6eb0000'), "comments._id"=>BSON::ObjectId('53fc5d0777353343e6e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Redirected to http://test.host/products/53fc5d0777353343e6eb0000/comments/53fc5d0777353343e6e90000/comments/53fc5d0777353343e6ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6ef0000'), "name"=>"Ludie Collins DVM", "reference"=>"Dayna Graham", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6ed0000'), "author_name"=>"Terry Cole", "content"=>["Esse quisquam quis pariatur accusantium amet molestiae dicta. Pariatur sapiente voluptatem quia sit nihil sequi quam. Et et beatae asperiores ipsum sed sed amet."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6ee0000'), "author_name"=>"Gilbert Dicki III", "content"=>["Impedit tempora eius facilis repellat consequatur laboriosam quo. Qui adipisci earum eveniet et molestiae nostrum sit. Quas veniam cum atque. Magnam illum aut est quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53fc5d0777353343e6ef0000", "comment_id"=>"53fc5d0777353343e6ed0000", "id"=>"53fc5d0777353343e6ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6ef0000'), "comments._id"=>BSON::ObjectId('53fc5d0777353343e6ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc5d0777353343e6ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Redirected to http://test.host/products/53fc5d0777353343e6ef0000/comments/53fc5d0777353343e6ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f20000'), "name"=>"Cheyanne West", "reference"=>"Sofia Watsica II", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f00000'), "author_name"=>"Jewell Fadel", "content"=>["Facere nulla ea. Dignissimos quam quia in. Aut id ut et tenetur. Quam facilis dolorem omnis et qui mollitia a."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f10000'), "author_name"=>"Daphnee Lindgren", "content"=>["Aliquid vel dignissimos quis unde velit magnam. Blanditiis explicabo ut dolor exercitationem. Asperiores velit omnis in. Repudiandae doloremque ut consequatur repellendus ad odit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53fc5d0777353343e6f20000", "comment_id"=>"53fc5d0777353343e6f00000", "id"=>"53fc5d0777353343e6f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f50000'), "name"=>"Hope Goldner", "reference"=>"Darron Baumbach", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f30000'), "author_name"=>"Chadrick Beier V", "content"=>["Veniam blanditiis rerum. Illum laudantium eveniet voluptatum reprehenderit sunt ea quae. Praesentium adipisci consectetur dolor maiores rerum dignissimos. Aut ullam vel temporibus autem et perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f40000'), "author_name"=>"Noemy Johnston", "content"=>["Natus harum nisi ut. Minima aperiam inventore unde qui voluptates et iure. Laboriosam sed maxime quas. Debitis voluptate nemo veritatis et ut delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53fc5d0777353343e6f50000", "comment_id"=>"53fc5d0777353343e6f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f80000'), "name"=>"Clint Friesen", "reference"=>"Alyson Kautzer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f60000'), "author_name"=>"Chloe Dooley", "content"=>["Voluptatem et delectus labore rerum deserunt. Ut aut est labore aliquid magni. Eligendi aut ipsam laboriosam nemo necessitatibus. Officia fugit repudiandae aliquid dolores dignissimos eos."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f70000'), "author_name"=>"Moriah Will", "content"=>["Illum ipsa occaecati molestias aut et alias. Expedita quidem est illo. Et aliquam aut repudiandae. Dicta repellat vitae aut ducimus sed. Expedita perspiciatis nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53fc5d0777353343e6f80000", "comment_id"=>"53fc5d0777353343e6f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6fb0000'), "name"=>"Neal Gerlach", "reference"=>"Ms. Felicita Reichel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6f90000'), "author_name"=>"Brayan Hamill Sr.", "content"=>["Harum voluptate id dolorem. Nihil inventore quibusdam aut itaque hic perspiciatis. Suscipit et consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6fa0000'), "author_name"=>"Eldon Gulgowski", "content"=>["Aliquam sapiente perspiciatis. Sit veritatis id et quidem et rerum. Laboriosam in quaerat tempora. Voluptatibus dolores delectus incidunt quo minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53fc5d0777353343e6fb0000", "comment_id"=>"53fc5d0777353343e6f90000", "id"=>"53fc5d0777353343e6fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6fe0000'), "name"=>"Antone Hermann", "reference"=>"Mrs. Tyrique Bins", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6fc0000'), "author_name"=>"Delphia Wilkinson", "content"=>["Distinctio est ut ut. Possimus numquam explicabo. Quibusdam ut consequatur odio. Tenetur eum ratione. Animi omnis quia libero consequuntur dicta."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6fd0000'), "author_name"=>"Ms. Esmeralda Koepp", "content"=>["Maiores deserunt nulla omnis. Ea distinctio fuga quo eos accusantium. Rem ipsam quibusdam iusto. Voluptate saepe assumenda dolore autem eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6848ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53fc5d0777353343e6fe0000", "comment_id"=>"53fc5d0777353343e6fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6010100'), "name"=>"Vincent Abbott III", "reference"=>"Hal Osinski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6ff0000'), "author_name"=>"Dr. Clifford VonRueden", "content"=>["Amet repellendus ut quae. Excepturi non repellendus suscipit ullam amet nulla nam. Sunt voluptatibus beatae voluptatem similique tempora velit."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6000100'), "author_name"=>"Rex Pagac", "content"=>["Molestiae neque aliquid ea modi id aut. Et sit repudiandae velit quia maxime natus atque. Iure nobis quidem. Soluta ut error ratione et laudantium officia vitae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53fc5d0777353343e6010100", "comment_id"=>"53fc5d0777353343e6ff0000", "id"=>"53fc5d0777353343e6000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6040100'), "name"=>"Lonie Luettgen III", "reference"=>"Benton Daugherty", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6020100'), "author_name"=>"Elfrieda Keeling", "content"=>["Hic ullam deleniti quos. Id nihil repellendus ipsa occaecati eum suscipit ratione. Id beatae aut."], "comments"=>[{"_id"=>BSON::ObjectId('53fc5d0777353343e6030100'), "author_name"=>"Hannah Schroeder Sr.", "content"=>["Quasi sit maiores perferendis blanditiis dolor. Et consequatur eveniet nesciunt quia. Ratione est iste. Ipsa delectus veritatis dolore et omnis quo provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc5d0777353343e6030100", "product_id"=>"53fc5d0777353343e6040100", "comment_id"=>"53fc5d0777353343e6020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6040100'), "comments._id"=>BSON::ObjectId('53fc5d0777353343e6020100'), "comments.0.comments._id"=>BSON::ObjectId('53fc5d0777353343e6030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7284ms Redirected to http://test.host/products/53fc5d0777353343e6040100/comments/53fc5d0777353343e6020100/comments/53fc5d0777353343e6030100 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('53fc5d0777353343e6050100'), "firstname"=>"Madge", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5543ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1996ms 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('53fc5d0777353343e6060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms Redirected to http://test.host/users/53fc5d0777353343e6060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1479ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6070100'), "firstname"=>"Clark", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1931ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53fc5d0777353343e6070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms 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.2186ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6080100'), "firstname"=>"Madelyn", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53fc5d0777353343e6080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0777353343e6080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e6090100'), "firstname"=>"Darrin", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5068ms 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.4528ms Completed 200 OK in 8ms (Views: 7.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e60a0100'), "firstname"=>"Dale", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.7361ms 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('53fc5d0777353343e60b0100'), "firstname"=>"Jarred", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5220ms Processing by UsersController#show as HTML Parameters: {"id"=>"53fc5d0777353343e60b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0777353343e60b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc5d0777353343e60c0100'), "firstname"=>"Verdie", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.9724ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc5d0777353343e60c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc5d0777353343e60c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms Unpermitted parameters: name Redirected to http://test.host/users/53fc5d0777353343e60c0100 Completed 302 Found in 2ms 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.3256ms 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.3126ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms 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.3031ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms 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.2750ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms 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.2569ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms 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.1841ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms 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.2783ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271000000'), "firstname"=>"Kadin", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5701ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1929ms 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('53fc64d27735336271010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms 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.2318ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271020000'), "firstname"=>"Misael", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53fc64d27735336271020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4322ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271030000'), "firstname"=>"Montana", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Processing by Admin::AdministratorsController#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::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271040000'), "firstname"=>"Tillman", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53fc64d27735336271040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271050000'), "firstname"=>"Carley", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53fc64d27735336271050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms 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('53fc64d27735336271060000'), "name"=>"Miss Stewart Upton", "reference"=>"Ida Stoltenberg", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d27735336271070000'), "author_name"=>"Allene Wisoky", "content"=>["Facilis sunt doloremque eos adipisci excepturi. Ducimus rerum fugiat neque rerum. Magnam et ullam et voluptates ea culpa quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc64d27735336271060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271060000')} 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('53fc64d27735336271060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc64d27735336271080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/admin/products/53fc64d27735336271060000/comments/53fc64d27735336271080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271090000'), "name"=>"Devonte Nikolaus", "reference"=>"Abigail Gleichner IV", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d277353362710a0000'), "author_name"=>"Mrs. Destany Cronin", "content"=>["Nam eligendi velit voluptatem consequatur. Culpa rem ut. Labore facere in id et. Laboriosam itaque fugit numquam cupiditate aspernatur iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc64d27735336271090000", "id"=>"53fc64d277353362710a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc64d277353362710a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms Redirected to http://test.host/admin/products/53fc64d27735336271090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362710b0000'), "name"=>"Dr. Renee Rippin", "reference"=>"Clair D'Amore", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d277353362710c0000'), "author_name"=>"Tillman Bergnaum", "content"=>["Soluta eum ad nulla doloribus quia alias. Eaque cupiditate aliquam assumenda vel id sed placeat. Omnis excepturi omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53fc64d277353362710b0000", "id"=>"53fc64d277353362710c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362710b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362710d0000'), "name"=>"Ms. Michel Stark", "reference"=>"Malcolm Hackett", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d277353362710e0000'), "author_name"=>"Aurelia Mraz II", "content"=>["Id excepturi sed accusamus qui dignissimos eum. Ad velit dolor neque rerum modi. Qui nemo aut. Autem quis illum quia. Asperiores nulla rem velit necessitatibus culpa est omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53fc64d277353362710d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362710d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362710f0000'), "name"=>"Retha Lehner", "reference"=>"Terrell Zboncak Sr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d27735336271100000'), "author_name"=>"Mitchel Hermann", "content"=>["Est dolorem atque molestiae at aliquid. Ea repellat officia ea deserunt maxime. Qui esse et asperiores. Inventore excepturi aut eius numquam vel. Blanditiis et expedita illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53fc64d277353362710f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362710f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271110000'), "name"=>"Arjun Fay II", "reference"=>"Ms. Valentine Huel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d27735336271120000'), "author_name"=>"Rodolfo Cassin", "content"=>["Vel odit voluptas debitis consequatur cum aut. Id dolores explicabo et excepturi eius qui. Alias consequatur ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53fc64d27735336271110000", "id"=>"53fc64d27735336271120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271130000'), "name"=>"Mr. Freda Parker", "reference"=>"Eleonore Berge", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d27735336271140000'), "author_name"=>"Jaeden Nader", "content"=>["Provident quia sit facere tenetur aliquid quis. Vel corporis amet repellendus inventore voluptas. Quas assumenda odit sit minus. Autem aut eos illo id laudantium. Adipisci ipsum officiis quia cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc64d27735336271140000", "product_id"=>"53fc64d27735336271130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271130000'), "comments._id"=>BSON::ObjectId('53fc64d27735336271140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms Redirected to http://test.host/admin/products/53fc64d27735336271130000/comments/53fc64d27735336271140000 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('53fc64d27735336271150000'), "name"=>"Danielle Skiles", "reference"=>"Juliet Mraz", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc64d27735336271160000'), "firstname"=>"Ricardo", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc64d27735336271150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271150000')} 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('53fc64d27735336271150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc64d27735336271170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms Redirected to http://test.host/admin/products/53fc64d27735336271150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271180000'), "name"=>"Jedidiah Franecki", "reference"=>"Jaquelin Sawayn", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53fc64d27735336271190000'), "firstname"=>"Fritz", "lastname"=>"Wunsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53fc64d27735336271190000", "product_id"=>"53fc64d27735336271180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362711a0000'), "name"=>"Krystel Rath", "reference"=>"Bertram Lindgren DVM", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('53fc64d277353362711b0000'), "firstname"=>"Edwardo", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5221ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53fc64d277353362711a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362711a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362711c0000'), "name"=>"Kristin Murray", "reference"=>"Ms. Isidro Schiller", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc64d277353362711d0000'), "firstname"=>"Jasen", "lastname"=>"Reinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5511ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53fc64d277353362711d0000", "product_id"=>"53fc64d277353362711c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362711c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d277353362711e0000'), "name"=>"Estefania Harris II", "reference"=>"Tremayne Schaden", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('53fc64d277353362711f0000'), "firstname"=>"Angelita", "lastname"=>"Sporer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53fc64d277353362711f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc64d277353362711e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d277353362711e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53fc64d277353362711e0000/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('53fc64d27735336271200000'), "name"=>"Elda Yost IV", "reference"=>"Bulah Rowe PhD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms 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('53fc64d27735336271210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms Redirected to http://test.host/admin/products/53fc64d27735336271210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2415ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271220000'), "name"=>"Alberta Johnson", "reference"=>"Efrain Kautzer", "quantity"=>6}] 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.1977ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53fc64d27735336271220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms 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.2537ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271230000'), "name"=>"Hermann Hahn", "reference"=>"Adaline Harber", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53fc64d27735336271230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271240000'), "name"=>"Mr. Nickolas Trantow", "reference"=>"Sofia Predovic MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms 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.4914ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271250000'), "name"=>"Mariane McDermott", "reference"=>"Carley Runte MD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('53fc64d27735336271280000'), "name"=>"Jayson Friesen", "reference"=>"Shad Weimann", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53fc64d27735336271280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms 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('53fc64d27735336271290000'), "name"=>"Lora Rosenbaum", "reference"=>"Crystal Jaskolski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc64d27735336271290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d27735336271290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Redirected to http://test.host/admin/products/53fc64d27735336271290000 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('53fc64d277353362712a0000'), "firstname"=>"Chadd", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5633ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2083ms 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('53fc64d277353362712b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Redirected to http://test.host/admin/users/53fc64d277353362712b0000 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('53fc64d277353362712c0000'), "firstname"=>"Shania", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1986ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53fc64d277353362712c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d277353362712c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d277353362712c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms 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.2181ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d277353362712d0000'), "firstname"=>"Ellen", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53fc64d277353362712d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d277353362712d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d277353362712e0000'), "firstname"=>"Cierra", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms 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 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('53fc64d277353362712f0000'), "firstname"=>"Eloisa", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms 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.4ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271300000'), "firstname"=>"Isadore", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53fc64d27735336271300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d27735336271300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms 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('53fc64d27735336271310000'), "firstname"=>"Raymundo", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc64d27735336271310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d27735336271310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53fc64d27735336271310000 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('53fc64d27735336271320000'), "firstname"=>"Dayna", "lastname"=>"Rodriguez"}] 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=>"administrators", :query=>{}} runtime: 0.1660ms 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('53fc64d27735336271330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms 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.1806ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271340000'), "firstname"=>"Domenico", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53fc64d27735336271340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms 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_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271350000'), "firstname"=>"Emerald", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 6.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271360000'), "firstname"=>"Darryl", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5819ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53fc64d27735336271360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4222ms 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('53fc64d27735336271370000'), "firstname"=>"Nadia", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5766ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53fc64d27735336271370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc64d27735336271370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4129ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271380000'), "name"=>"Deon McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271390000'), "name"=>"Earnest Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713a0000'), "name"=>"Rodrigo Altenwerth II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713b0000'), "name"=>"Patience Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713c0000'), "name"=>"Missouri Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713d0000'), "name"=>"Alycia Deckow DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713e0000'), "name"=>"Gina Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362713f0000'), "name"=>"Ms. Amie Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362713f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271400000'), "name"=>"Jefferey Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271410000'), "name"=>"Myrna D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271420000'), "name"=>"Collin Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271430000'), "name"=>"Waldo Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271440000'), "name"=>"Major Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271450000'), "name"=>"Rosa McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271460000'), "name"=>"Kaylah Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271470000'), "name"=>"Jackson Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271480000'), "name"=>"Rachael O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271490000'), "name"=>"Cristobal Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714a0000'), "name"=>"Ms. Millie Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714b0000'), "name"=>"Mervin Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714c0000'), "name"=>"Emerson Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714d0000'), "name"=>"Estefania Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714e0000'), "name"=>"Jaycee Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362714f0000'), "name"=>"Chaya Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362714f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271500000'), "name"=>"Mrs. Ciara Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271510000'), "name"=>"Mrs. Delaney Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271520000'), "name"=>"Avis Gleason V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271530000'), "name"=>"Cristal Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271540000'), "name"=>"Isabella Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271550000'), "name"=>"Vernon Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271560000'), "name"=>"Jamal Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271570000'), "name"=>"Peyton Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271580000'), "name"=>"Ms. Chaim Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271590000'), "name"=>"Wallace Dietrich I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715a0000'), "name"=>"Hyman Barton MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715b0000'), "name"=>"Rickie Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715c0000'), "name"=>"Winifred Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715d0000'), "name"=>"Destinee Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715e0000'), "name"=>"Tillman Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362715f0000'), "name"=>"Arnoldo Lowe V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362715f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271600000'), "name"=>"Glenda Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271610000'), "name"=>"Ms. Griffin Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271620000'), "name"=>"Julio Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271630000'), "name"=>"Alysson Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271640000'), "name"=>"Dr. Lydia Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271650000'), "name"=>"Trent Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271660000'), "name"=>"Franco Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271670000'), "name"=>"Ms. Jerod Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271680000'), "name"=>"Braulio Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271690000'), "name"=>"Elissa Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716a0000'), "name"=>"Tyra Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716b0000'), "name"=>"Watson Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716c0000'), "name"=>"Zola Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716d0000'), "name"=>"Annette O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716e0000'), "name"=>"Elsa Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362716f0000'), "name"=>"Tristian Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362716f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271700000'), "name"=>"Mr. Hester Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271710000'), "name"=>"Tyrel Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271720000'), "name"=>"Alec Gulgowski DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271730000'), "name"=>"Mrs. Mackenzie Wintheiser"}] 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={"category_id"=>BSON::ObjectId('53fc64d27735336271730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271740000'), "name"=>"Miss Lavern Balistreri"}] 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={"category_id"=>BSON::ObjectId('53fc64d27735336271740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271750000'), "name"=>"Madaline Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271760000'), "name"=>"Athena Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271770000'), "name"=>"Justyn Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271780000'), "name"=>"Quinn Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271790000'), "name"=>"Dr. Wyman Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717a0000'), "name"=>"Avis Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717b0000'), "name"=>"Lucile Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2063ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717c0000'), "name"=>"Arlene Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717d0000'), "name"=>"Emmitt DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717e0000'), "name"=>"Rachelle Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362717f0000'), "name"=>"Meagan Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362717f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271800000'), "name"=>"Ms. Jennifer Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271810000'), "name"=>"Benton McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271820000'), "name"=>"Russel Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271830000'), "name"=>"Harry Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271840000'), "name"=>"Kyla Durgan MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271850000'), "name"=>"Miss Jarvis Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271860000'), "name"=>"Greta Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 53.6283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271870000'), "name"=>"Keeley Wilkinson DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271880000'), "name"=>"Mallory Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4011ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271890000'), "name"=>"Jeanie Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718a0000'), "name"=>"Rae Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718b0000'), "name"=>"Tre Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718c0000'), "name"=>"Courtney Ortiz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718d0000'), "name"=>"Hortense Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718e0000'), "name"=>"Adaline Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d277353362718f0000'), "name"=>"Javonte Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d277353362718f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271900000'), "name"=>"Samanta Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271910000'), "name"=>"Dr. Itzel Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271920000'), "name"=>"Travon McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271930000'), "name"=>"Lilliana Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d27735336271940000'), "name"=>"Dr. Wayne Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d27735336271940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271950000'), "name"=>"Modesto Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271960000'), "name"=>"Andrew Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271970000'), "name"=>"Israel Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3306ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Redirected to http://test.host/categories/53fc64d37735336271980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3078ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271990000'), "name"=>"Sydnie Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3401ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53fc64d37735336271990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d37735336271990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d37735336271990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5133ms Redirected to http://test.host/categories Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3595ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d377353362719a0000'), "name"=>"Mr. Veronica Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53fc64d377353362719a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d377353362719a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4629ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.9ms) Completed 200 OK in 15ms (Views: 12.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d377353362719b0000'), "name"=>"Myah Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242273963352] runtime: 0.1151ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2977ms Completed 200 OK in 21ms (Views: 20.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d377353362719c0000'), "name"=>"Glenna Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[241476650764] runtime: 0.0879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3253ms Completed 200 OK in 11ms (Views: 10.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d377353362719d0000'), "name"=>"Eulah King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4149ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d377353362719f0000'), "name"=>"Shaun King DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3977ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53fc64d377353362719f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d377353362719f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d377353362719f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5071ms Completed 200 OK in 10ms (Views: 7.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271a00000'), "name"=>"Micaela Hessel IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53fc64d37735336271a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d37735336271a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc64d37735336271a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc64d37735336271a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Redirected to http://test.host/categories/53fc64d37735336271a00000 Completed 302 Found in 8ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271a10000'), "name"=>"Aileen Aufderhar", "reference"=>"Geoffrey Mueller", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271a20000'), "author_name"=>"Mr. Carli Blanda", "content"=>["Accusantium velit in. Nobis ipsam sint tempore quas qui unde laboriosam. Ipsam consequatur eos commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4103ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc64d37735336271a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5495ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc64d37735336271a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6080ms Redirected to http://test.host/products/53fc64d37735336271a10000/comments/53fc64d37735336271a30000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5121ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271a40000'), "name"=>"D'angelo Parisian", "reference"=>"Sylvan Denesik", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271a50000'), "author_name"=>"Krystel Cruickshank", "content"=>["Sit ex ullam est tempora est incidunt velit. Sed omnis repellendus a quis. Et blanditiis ut. Architecto est consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3967ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc64d37735336271a40000", "id"=>"53fc64d37735336271a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4555ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc64d37735336271a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5232ms Redirected to http://test.host/products/53fc64d37735336271a40000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271a60000'), "name"=>"Jerrold Schmitt DDS", "reference"=>"Dr. Anya Little", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271a70000'), "author_name"=>"Sylvia Schamberger", "content"=>["Rerum consequatur nemo. Sunt corrupti voluptas quam voluptates hic. Vitae quos commodi quia est consequatur aut. Consequatur est quia nihil velit culpa molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6475ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53fc64d37735336271a60000", "id"=>"53fc64d37735336271a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4606ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 48ms (Views: 45.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271a80000'), "name"=>"Felipe Johnson", "reference"=>"Silas Hartmann", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271a90000'), "author_name"=>"Roger Blanda", "content"=>["Quibusdam et sit. Animi sunt voluptates aut assumenda. Perspiciatis optio cumque voluptatum assumenda. Quos ut saepe aperiam aut. Nihil vel omnis nihil odio quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6533ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53fc64d37735336271a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271aa0000'), "name"=>"Hanna Weimann Jr.", "reference"=>"Luz Pollich", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271ab0000'), "author_name"=>"Trudie Upton", "content"=>["Non cupiditate incidunt est fugit explicabo tempore vel. Sed deleniti fugit non iste illum aut itaque. Rerum aliquam expedita veniam. Aut id cum expedita sint nemo fuga quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53fc64d37735336271aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3704ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271ac0000'), "name"=>"Marlen Sporer", "reference"=>"Taylor Lemke MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271ad0000'), "author_name"=>"Mr. Dane Mitchell", "content"=>["Ducimus nihil voluptatem quia voluptatibus eaque. Facere dolores vel ut nesciunt rem non eaque. Reprehenderit sit officiis soluta deserunt. Vel omnis atque est sit. Nihil suscipit ut eveniet reiciendis labore laborum alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53fc64d37735336271ac0000", "id"=>"53fc64d37735336271ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271ae0000'), "name"=>"Mr. Florida Hettinger", "reference"=>"Camylle Hammes", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271af0000'), "author_name"=>"Shayna Satterfield", "content"=>["Reprehenderit deleniti consequatur enim. Impedit vitae quis. Nobis et velit nesciunt magnam. Voluptatem et qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53fc64d37735336271ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271ae0000')} 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 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271b00000'), "name"=>"Nia Cummerata V", "reference"=>"Ms. Lucie Turner", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271b10000'), "author_name"=>"Halie Wolff", "content"=>["Distinctio quia quia eos numquam. Dolorem est cumque. Ipsum corporis minus et ut tenetur quaerat. Eveniet qui ipsum cum atque eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53fc64d37735336271b00000", "id"=>"53fc64d37735336271b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271b20000'), "name"=>"Gilda Cronin II", "reference"=>"Dorian Murazik", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d37735336271b30000'), "author_name"=>"Bradly Goyette", "content"=>["Maxime fuga aut laborum ipsum. Harum odit facere ab nihil qui. Aut vero quam possimus eum et. Illum non nulla saepe inventore eveniet aut consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7033ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc64d37735336271b30000", "product_id"=>"53fc64d37735336271b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4093ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271b20000'), "comments._id"=>BSON::ObjectId('53fc64d37735336271b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6250ms Redirected to http://test.host/products/53fc64d37735336271b20000/comments/53fc64d37735336271b30000 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('53fc64d37735336271b40000'), "firstname"=>"Alvina", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5725ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1706ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Redirected to http://test.host/admin/clients/53fc64d37735336271b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2589ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271b60000'), "firstname"=>"Ashlynn", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2354ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc64d37735336271b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms 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.2296ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271b70000'), "firstname"=>"Casandra", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc64d37735336271b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271b70000')} 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.8ms) 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('53fc64d37735336271b80000'), "firstname"=>"Kaitlin", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3968ms 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('53fc64d37735336271b90000'), "firstname"=>"Damaris", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5384ms 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.4ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271ba0000'), "firstname"=>"Jordane", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc64d37735336271ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms Completed 200 OK in 36ms (Views: 34.7ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271bb0000'), "firstname"=>"Alexane", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc64d37735336271bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Redirected to http://test.host/admin/clients/53fc64d37735336271bb0000 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('53fc64d37735336271bc0000'), "firstname"=>"Fleta", "lastname"=>"Stokes"}] 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.1921ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Redirected to http://test.host/clients/53fc64d37735336271bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2257ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271be0000'), "firstname"=>"Kelvin", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1920ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc64d37735336271be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms 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.2331ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271bf0000'), "firstname"=>"Breanne", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc64d37735336271bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms 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('53fc64d37735336271c00000'), "firstname"=>"Ima", "lastname"=>"Gorczany"}] 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.3513ms 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('53fc64d37735336271c10000'), "firstname"=>"Jimmie", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms 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('53fc64d37735336271c20000'), "firstname"=>"Henderson", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc64d37735336271c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms 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('53fc64d37735336271c30000'), "firstname"=>"Abbie", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc64d37735336271c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc64d37735336271c30000')} 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('53fc64d37735336271c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms Redirected to http://test.host/clients/53fc64d37735336271c30000 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('53fc64d37735336271c40000'), "name"=>"Gussie Lakin", "reference"=>"Thelma Bernhard", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271c50000'), "firstname"=>"Meagan", "lastname"=>"Barton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc64d37735336271c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms Redirected to http://test.host/products/53fc64d37735336271c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271c70000'), "name"=>"Jamil Rowe", "reference"=>"Christa Dicki", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271c80000'), "firstname"=>"Deon", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53fc64d37735336271c80000", "product_id"=>"53fc64d37735336271c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271c70000')} 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.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271c90000'), "name"=>"Travon Boyle DVM", "reference"=>"Isai Nicolas", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271ca0000'), "firstname"=>"Zelma", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53fc64d37735336271c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271c90000')} 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.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271cb0000'), "name"=>"Raegan McGlynn III", "reference"=>"Rudy Dach Jr.", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271cc0000'), "firstname"=>"Patience", "lastname"=>"Gleason"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53fc64d37735336271cc0000", "product_id"=>"53fc64d37735336271cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271cd0000'), "name"=>"Cooper Hirthe", "reference"=>"Noe King DDS", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc64d37735336271ce0000'), "firstname"=>"Orrin", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53fc64d37735336271ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc64d37735336271cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms Unpermitted parameters: name Redirected to http://test.host/products/53fc64d37735336271cd0000/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('53fc64d37735336271cf0000'), "name"=>"Drake Roob", "reference"=>"Samanta Terry", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d00000'), "name"=>"Jed Crist DDS", "reference"=>"Keira Schmeler", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d10000'), "name"=>"Miss Pablo Marquardt", "reference"=>"Fredy Fadel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d20000'), "name"=>"Dr. Naomie Hills", "reference"=>"Vickie Crist II", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d30000'), "name"=>"Rowan Waelchi", "reference"=>"Vivian Hoeger", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d40000'), "name"=>"Carter Harber", "reference"=>"Dr. Wilhelmine Simonis", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1401ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Redirected to http://test.host/products/53fc64d37735336271d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2014ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d60000'), "name"=>"Casandra Johns DDS", "reference"=>"Noah Klein Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1661ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc64d37735336271d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms 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.1496ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d70000'), "name"=>"Dr. Toney Upton", "reference"=>"Ms. Lucie Block", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc64d37735336271d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271d70000')} 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 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('53fc64d37735336271d80000'), "name"=>"Mr. Daren Wilderman", "reference"=>"Mr. Colten Romaguera", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215256922695] runtime: 0.1017ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1966ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271d90000'), "name"=>"Mrs. Antonina Keebler", "reference"=>"Erling Block IV", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271da0000'), "name"=>"HelloWorld", "reference"=>"Maximilian Tillman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271db0000'), "name"=>"value", "reference"=>"Norberto Swift", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2144ms Completed 200 OK in 5ms (Views: 4.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2203ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1699ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1192ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2378ms Completed 200 OK in 3ms (Views: 3.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1712ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1177ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271dc0000'), "name"=>"Modesta Mosciski", "reference"=>"Ms. Eulah Batz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215862461912] runtime: 0.0987ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215575492234] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215539577002] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216070925002] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215602032589] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 24.8992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216431310781] runtime: 0.0919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214958782014] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215165947807] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215373436105] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215766171011] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216455972718] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216414659455] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215966667840] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215414537909] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214788374106] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215080136498] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215996139230] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215647950966] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215354417201] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214823920767] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216046500679] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216690558898] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216174739411] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216201955856] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215211001408] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216694697111] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214824419299] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216661623272] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214952503471] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216580070313] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215454942856] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214886434658] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216141805914] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216140812353] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216544638288] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216003456647] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216495884909] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215788446257] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215531170475] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215237001967] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215779776836] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214955662128] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216489858530] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216810345614] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216505438895] runtime: 0.0799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215887955475] runtime: 0.0851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216031930761] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214958262195] runtime: 0.0759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216041472806] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216508582089] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215442975164] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215616785532] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215203345233] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215378320507] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215750376063] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215020089752] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214871985204] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215829882656] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216089249747] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215584276807] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215739913381] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215581145921] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215224168569] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215992816524] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215828765328] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216496658670] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216528253545] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215931878420] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215458733903] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215208296771] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215707958781] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215424240787] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215947183090] runtime: 0.0808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214955979334] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216277908453] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215744989575] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215418353162] runtime: 28.6261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215483497843] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215405305407] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215386046508] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216761859456] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215379340630] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215858140732] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216729320820] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215111065931] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215026618355] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216835911659] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216400249935] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216812447091] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215726938039] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215509038369] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215265123192] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216336025903] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214847669027] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216368300354] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215133094128] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215928462259] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215184275969] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214940101677] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216525063344] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216469963132] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216282748124] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215773747035] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216468428684] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215077284929] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215045441754] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215350010232] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216722843896] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216066177771] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214895564856] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215684837369] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215768790547] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215078029312] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215479850388] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216502344121] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215692482645] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215176294677] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214770627204] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215639762246] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215783151367] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215447797950] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216005333150] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216675141392] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215345853411] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216652853854] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216459604944] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215464499384] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215040439781] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215841923924] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215298996562] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216642817896] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215360232205] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215125764117] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215936063713] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216601333535] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216748298735] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216558838044] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216827982160] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216795218886] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216198078080] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216638911504] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216208635300] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215443132976] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215719679299] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215602031003] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215459143350] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215986123039] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216234785385] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216443416016] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.7027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216298612713] runtime: 0.0944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215290800947] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215830501090] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216472262095] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214982356817] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216719167663] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215638552548] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216208222823] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215655763761] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216834858036] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215560039508] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216803305645] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215244328084] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216705372141] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216050634401] runtime: 0.0475ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271dd0000'), "name"=>"Rosella Denesik", "reference"=>"Josue Torphy", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215134550335] runtime: 0.0758ms Completed 200 OK in 5ms (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('53fc64d37735336271de0000'), "name"=>"Marjory Larkin", "reference"=>"Claude Murphy", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc64d37735336271de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms 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('53fc64d37735336271df0000'), "name"=>"Dillon Wolf", "reference"=>"Mavis Boyer Jr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271e10000'), "name"=>"Geo Emmerich", "reference"=>"Kylee Heathcote", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc64d37735336271e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d37735336271e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d37735336271e20000'), "name"=>"Ms. Aurelio Powlowski", "reference"=>"Barton Gottlieb", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.2423ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2096ms 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('53fc64d37735336271e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2059ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271e40000'), "name"=>"Green Kunde", "reference"=>"Karianne Schumm", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc64d47735336271e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms 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('53fc64d47735336271e50000'), "name"=>"Jeramy Blick DDS", "reference"=>"Ismael Friesen IV", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms 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('53fc64d47735336271e70000'), "name"=>"Hiram Mosciski", "reference"=>"Toby Hoeger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc64d47735336271e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271e70000')} 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('53fc64d47735336271e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms 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('53fc64d47735336271e80000'), "name"=>"Dr. Rosalyn Friesen", "reference"=>"Rhoda Kuhic", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc64d47735336271e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271e80000')} 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('53fc64d47735336271e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Redirected to http://test.host/products/53fc64d47735336271e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271eb0000'), "name"=>"Bartholome Altenwerth", "reference"=>"Wade Hyatt", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271e90000'), "author_name"=>"Dulce Wuckert", "content"=>["Magnam ab impedit labore sunt facere quis minus. Porro aspernatur deserunt eius. Quam et beatae nobis non consequatur cum. Et blanditiis ipsum deleniti sed magnam sed ut."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271ea0000'), "author_name"=>"Mr. Arvid Farrell", "content"=>["Sed aut architecto libero. Et qui eaque tempore quia dicta. Quae quas non enim laboriosam rerum corrupti voluptates. Et et aut unde quod voluptas. Dolorem dolor ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc64d47735336271eb0000", "comment_id"=>"53fc64d47735336271e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271eb0000'), "comments._id"=>BSON::ObjectId('53fc64d47735336271e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc64d47735336271ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Redirected to http://test.host/products/53fc64d47735336271eb0000/comments/53fc64d47735336271e90000/comments/53fc64d47735336271ec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271ef0000'), "name"=>"Yasmeen Sporer", "reference"=>"Nicholas Kozey", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271ed0000'), "author_name"=>"Russell Ziemann DVM", "content"=>["Ipsa maiores veritatis quia possimus molestiae. Consequatur nemo nisi maxime quia quia. Hic recusandae vel dolorem ut quia. Ipsam in id pariatur assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271ee0000'), "author_name"=>"Devyn O'Kon DDS", "content"=>["At tenetur reprehenderit numquam maxime. Voluptatem nobis in quasi sunt deleniti. Praesentium a occaecati nihil. Placeat veritatis voluptatibus quisquam iste. Consequuntur aliquam rerum quam consequatur aut repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53fc64d47735336271ef0000", "comment_id"=>"53fc64d47735336271ed0000", "id"=>"53fc64d47735336271ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271ef0000'), "comments._id"=>BSON::ObjectId('53fc64d47735336271ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc64d47735336271ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Redirected to http://test.host/products/53fc64d47735336271ef0000/comments/53fc64d47735336271ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271f20000'), "name"=>"Jerel Wehner", "reference"=>"Randal Larkin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f00000'), "author_name"=>"Oren Herzog", "content"=>["Quis rem sunt et consequuntur explicabo esse. Quam officia eius error saepe. Voluptates accusantium nobis nulla. Adipisci nisi culpa non aspernatur et. Pariatur quia exercitationem."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f10000'), "author_name"=>"Ahmed Reynolds Sr.", "content"=>["Unde ratione et sunt tempore. Rerum non magni officia ducimus hic. Ut rerum et iure dolore sunt accusantium. Quas in et ratione ea ut necessitatibus eius."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53fc64d47735336271f20000", "comment_id"=>"53fc64d47735336271f00000", "id"=>"53fc64d47735336271f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4356ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271f50000'), "name"=>"Ned Gulgowski", "reference"=>"Anderson Renner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f30000'), "author_name"=>"Elyssa Morar", "content"=>["Id velit commodi blanditiis omnis. Omnis nam amet aut enim quia delectus eum. Assumenda nobis sunt nulla perspiciatis amet architecto ipsa. Nesciunt ratione consectetur eum natus eaque."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f40000'), "author_name"=>"Mollie Zboncak", "content"=>["Consequatur rerum commodi consectetur. Illo aperiam officia voluptatem est similique reprehenderit. Doloribus nihil numquam veritatis aspernatur dolore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2100ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53fc64d47735336271f50000", "comment_id"=>"53fc64d47735336271f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4413ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271f80000'), "name"=>"Junius Lockman", "reference"=>"Katlynn Beer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f60000'), "author_name"=>"Bianka Feil", "content"=>["Dolor veniam nostrum earum soluta ullam. Qui et quis omnis id. Dignissimos est qui animi nulla vel beatae. Sed reiciendis voluptatem illo necessitatibus."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f70000'), "author_name"=>"Dr. Karley Schmidt", "content"=>["Atque perferendis eaque omnis. Ratione ut et in fugiat. Laudantium nobis aut et autem minus non. Autem beatae possimus sit magni culpa. Quidem culpa sit id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53fc64d47735336271f80000", "comment_id"=>"53fc64d47735336271f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271fb0000'), "name"=>"Nova Nader", "reference"=>"Alta Pfannerstill DVM", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271f90000'), "author_name"=>"Hailey Schmitt", "content"=>["Est magnam laboriosam repudiandae incidunt cumque qui impedit. Et asperiores qui molestias itaque porro et numquam. Voluptates nulla rerum reiciendis aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271fa0000'), "author_name"=>"Bertram Lebsack DVM", "content"=>["Quaerat non iure adipisci et. Et excepturi id ducimus quos qui et. Illo rerum aut inventore et est natus assumenda. Rerum debitis tempora ad qui et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53fc64d47735336271fb0000", "comment_id"=>"53fc64d47735336271f90000", "id"=>"53fc64d47735336271fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4155ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271fe0000'), "name"=>"Taryn Hackett", "reference"=>"Annie Maggio", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271fc0000'), "author_name"=>"Jovan Johnston", "content"=>["Fugiat ab ut quasi et eveniet nihil et. Ut ipsam vitae cupiditate explicabo culpa soluta officia. Aliquam temporibus vitae."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271fd0000'), "author_name"=>"Ursula Effertz", "content"=>["Harum voluptatibus in vel necessitatibus. Expedita pariatur minus fugiat in sunt et recusandae. Nobis occaecati error voluptas. Quam quia quae aut. Blanditiis ducimus sit est aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53fc64d47735336271fe0000", "comment_id"=>"53fc64d47735336271fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3152ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271010100'), "name"=>"Retta Little DVM", "reference"=>"Arjun Lowe", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271ff0000'), "author_name"=>"Lorine Cole", "content"=>["Porro libero quia doloribus eveniet vel consequuntur eum. Doloremque rerum excepturi voluptas. Sed consequatur praesentium. Harum ab non sit corrupti."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271000100'), "author_name"=>"Alize Mosciski DVM", "content"=>["Expedita sed esse nobis. Nihil distinctio libero autem. Exercitationem dignissimos est sed esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53fc64d47735336271010100", "comment_id"=>"53fc64d47735336271ff0000", "id"=>"53fc64d47735336271000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271040100'), "name"=>"Maybelle Hammes", "reference"=>"Ozella Cummings", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271020100'), "author_name"=>"Reta Schaden", "content"=>["Sed repudiandae et sapiente temporibus. Et autem illo dolor vitae sit sed. Voluptas qui sint voluptatem quibusdam. Nobis molestiae aut amet optio."], "comments"=>[{"_id"=>BSON::ObjectId('53fc64d47735336271030100'), "author_name"=>"Alyson Considine I", "content"=>["Maxime qui recusandae. Aut cupiditate est. Culpa et voluptas. Nemo voluptatem sit maxime repudiandae nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc64d47735336271030100", "product_id"=>"53fc64d47735336271040100", "comment_id"=>"53fc64d47735336271020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc64d47735336271040100'), "comments._id"=>BSON::ObjectId('53fc64d47735336271020100'), "comments.0.comments._id"=>BSON::ObjectId('53fc64d47735336271030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms Redirected to http://test.host/products/53fc64d47735336271040100/comments/53fc64d47735336271020100/comments/53fc64d47735336271030100 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('53fc64d47735336271050100'), "firstname"=>"Annamarie", "lastname"=>"Bartell"}] 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=>"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('53fc64d47735336271060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms Redirected to http://test.host/users/53fc64d47735336271060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2028ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271070100'), "firstname"=>"Clotilde", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1778ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53fc64d47735336271070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d47735336271070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d47735336271070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms 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.1819ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271080100'), "firstname"=>"Magnolia", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53fc64d47735336271080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d47735336271080100')} 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.0ms) Completed 200 OK in 6ms (Views: 4.8ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d47735336271090100'), "firstname"=>"America", "lastname"=>"Schamberger"}] 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.4534ms Completed 200 OK in 33ms (Views: 32.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc64d477353362710a0100'), "firstname"=>"Davion", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms 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('53fc64d477353362710b0100'), "firstname"=>"Melany", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Processing by UsersController#show as HTML Parameters: {"id"=>"53fc64d477353362710b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d477353362710b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms 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('53fc64d477353362710c0100'), "firstname"=>"Annamarie", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc64d477353362710c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc64d477353362710c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms Unpermitted parameters: name Redirected to http://test.host/users/53fc64d477353362710c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms 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.3095ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms 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.2797ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651677353362f1000000'), "firstname"=>"Carissa", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1413ms 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('53fc651677353362f1010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3300ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651677353362f1020000'), "firstname"=>"Enid", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"53fc651677353362f1020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651677353362f1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1030000'), "firstname"=>"Josue", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1040000'), "firstname"=>"Carmela", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"53fc651777353362f1040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651777353362f1040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1050000'), "firstname"=>"Shemar", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"53fc651777353362f1050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651777353362f1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms 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('53fc651777353362f1060000'), "name"=>"Jovany Hermann", "reference"=>"Leland Schuppe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1070000'), "author_name"=>"Chelsey Torp", "content"=>["Nobis sed in. Aut officiis ullam. Animi laboriosam impedit ipsum necessitatibus nihil. Ut delectus cumque velit id rem magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc651777353362f1060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1060000')} 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('53fc651777353362f1060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc651777353362f1080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms Redirected to http://test.host/admin/products/53fc651777353362f1060000/comments/53fc651777353362f1080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1090000'), "name"=>"Micaela Abshire Jr.", "reference"=>"Rhiannon Schulist", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f10a0000'), "author_name"=>"Miss Addison Robel", "content"=>["Laudantium ipsum error. Soluta maxime sed minus omnis. Accusantium praesentium ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc651777353362f1090000", "id"=>"53fc651777353362f10a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc651777353362f10a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Redirected to http://test.host/admin/products/53fc651777353362f1090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f10b0000'), "name"=>"Candace Cartwright", "reference"=>"Jazmyn Cormier", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f10c0000'), "author_name"=>"Francis Deckow DVM", "content"=>["Culpa ea harum. Iste molestias sapiente et incidunt. Recusandae ducimus inventore atque voluptas ut nihil a. Provident fugiat id facere ut sapiente eligendi autem. Sapiente possimus a quisquam dolores soluta tempora quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"53fc651777353362f10b0000", "id"=>"53fc651777353362f10c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f10d0000'), "name"=>"Ms. Ole Hermiston", "reference"=>"Hayley Williamson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f10e0000'), "author_name"=>"Chauncey Skiles", "content"=>["Temporibus dolorem placeat impedit doloremque. Vel et earum voluptatem ipsum. Impedit possimus a qui. Dolores quia vel omnis consectetur porro in. Est iure voluptate illo sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"53fc651777353362f10d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f10f0000'), "name"=>"Gail Denesik", "reference"=>"Nora Wuckert", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1100000'), "author_name"=>"Adrienne Prosacco", "content"=>["Nulla error sed quaerat in est et quas. Velit atque distinctio est dignissimos. Vero amet harum et sint nihil et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5480ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"53fc651777353362f10f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1110000'), "name"=>"Amir Ritchie", "reference"=>"Mylene Wintheiser", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1120000'), "author_name"=>"Marcella Braun", "content"=>["Et omnis iste qui repellat aut. Facilis delectus consequatur et accusamus illum. Voluptas sit dignissimos quasi recusandae vel aliquid voluptatem. Earum beatae veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"53fc651777353362f1110000", "id"=>"53fc651777353362f1120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1130000'), "name"=>"Paige Walter", "reference"=>"Remington Anderson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1140000'), "author_name"=>"Henriette Casper", "content"=>["Sed ab natus doloribus rerum. Temporibus dolores accusamus vel excepturi consequatur laboriosam. Id non asperiores est aspernatur aliquid error ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc651777353362f1140000", "product_id"=>"53fc651777353362f1130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1130000')} 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('53fc651777353362f1130000'), "comments._id"=>BSON::ObjectId('53fc651777353362f1140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Redirected to http://test.host/admin/products/53fc651777353362f1130000/comments/53fc651777353362f1140000 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('53fc651777353362f1150000'), "name"=>"Miss May Kub", "reference"=>"Daphnee Wintheiser", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f1160000'), "firstname"=>"Amelia", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc651777353362f1150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1150000')} 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('53fc651777353362f1150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f1170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms Redirected to http://test.host/admin/products/53fc651777353362f1150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1180000'), "name"=>"Branson Lang", "reference"=>"Miss Rebeka Mante", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f1190000'), "firstname"=>"Kara", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"53fc651777353362f1190000", "product_id"=>"53fc651777353362f1180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f11a0000'), "name"=>"Guillermo Russel", "reference"=>"Laura Monahan Jr.", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f11b0000'), "firstname"=>"Nya", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"53fc651777353362f11a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f11c0000'), "name"=>"Mrs. Vilma Cassin", "reference"=>"Javon Boyle", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f11d0000'), "firstname"=>"Magnus", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"53fc651777353362f11d0000", "product_id"=>"53fc651777353362f11c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f11e0000'), "name"=>"Dell Stamm", "reference"=>"Julius Russel", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc651777353362f11f0000'), "firstname"=>"Forest", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"53fc651777353362f11f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc651777353362f11e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Unpermitted parameters: name Redirected to http://test.host/admin/products/53fc651777353362f11e0000/manager 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('53fc651777353362f1200000'), "name"=>"Linwood Runolfsson", "reference"=>"Miss Jonathan Gulgowski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5440ms 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('53fc651777353362f1210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms Redirected to http://test.host/admin/products/53fc651777353362f1210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1220000'), "name"=>"Ethan Stark", "reference"=>"Clint Leffler", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.1457ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"53fc651777353362f1220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9879ms 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.2160ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1230000'), "name"=>"Ms. Judah Mayert", "reference"=>"Alexandrea Davis", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"53fc651777353362f1230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1240000'), "name"=>"Delpha Lindgren", "reference"=>"Zion Gulgowski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms 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.6031ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1250000'), "name"=>"Miss Lolita Funk", "reference"=>"Ms. Frances Flatley", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 17ms (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('53fc651777353362f1280000'), "name"=>"Elvie Keeling", "reference"=>"Sierra Zemlak", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"53fc651777353362f1280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1290000'), "name"=>"Berenice Flatley", "reference"=>"Kamryn Auer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc651777353362f1290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Redirected to http://test.host/admin/products/53fc651777353362f1290000 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('53fc651777353362f12a0000'), "firstname"=>"Dimitri", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2402ms 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('53fc651777353362f12b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Redirected to http://test.host/admin/users/53fc651777353362f12b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2560ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651777353362f12c0000'), "firstname"=>"Zechariah", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3741ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"53fc651777353362f12c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651777353362f12c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651777353362f12c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms 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.1583ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651777353362f12d0000'), "firstname"=>"Frida", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"53fc651777353362f12d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651777353362f12d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4988ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651777353362f12e0000'), "firstname"=>"Alanis", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms 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.4459ms 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('53fc651777353362f12f0000'), "firstname"=>"Ray", "lastname"=>"Abshire"}] 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.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('53fc651777353362f1300000'), "firstname"=>"Justen", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4688ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"53fc651777353362f1300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651777353362f1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1310000'), "firstname"=>"Floyd", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc651777353362f1310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651777353362f1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Unpermitted parameters: name Redirected to http://test.host/admin/users/53fc651777353362f1310000 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('53fc651777353362f1320000'), "firstname"=>"Dan", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5784ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2076ms 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('53fc651777353362f1330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms 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.2267ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1340000'), "firstname"=>"Nicolette", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"53fc651777353362f1340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651777353362f1340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1350000'), "firstname"=>"Daphnee", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1360000'), "firstname"=>"Muhammad", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5023ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"53fc651777353362f1360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651777353362f1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1370000'), "firstname"=>"Sidney", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"53fc651777353362f1370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53fc651777353362f1370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1380000'), "name"=>"Ms. Conner Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1390000'), "name"=>"Norberto Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13a0000'), "name"=>"Ezekiel Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13b0000'), "name"=>"Lessie Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13c0000'), "name"=>"Ms. Rita Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13d0000'), "name"=>"Ubaldo West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13e0000'), "name"=>"Mr. Reginald Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f13f0000'), "name"=>"Ms. Lew Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f13f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1400000'), "name"=>"Verona Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1410000'), "name"=>"Octavia Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1420000'), "name"=>"Douglas Cartwright IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1430000'), "name"=>"Dr. Jordane Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1440000'), "name"=>"Bernardo Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1450000'), "name"=>"Sheridan McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1460000'), "name"=>"Alanna Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1470000'), "name"=>"Keshawn Considine DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1480000'), "name"=>"Schuyler Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1490000'), "name"=>"Mr. Austin Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14a0000'), "name"=>"Ava Bode IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14b0000'), "name"=>"Veronica O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14c0000'), "name"=>"Darian Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14d0000'), "name"=>"Brady Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14e0000'), "name"=>"Dr. Christian Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f14f0000'), "name"=>"Hildegard Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f14f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1500000'), "name"=>"Izaiah Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1510000'), "name"=>"Caleb Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1520000'), "name"=>"Abel Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1530000'), "name"=>"Sofia Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1540000'), "name"=>"Ms. Clair Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1550000'), "name"=>"Justine Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1560000'), "name"=>"Oda Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1570000'), "name"=>"Xavier Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1580000'), "name"=>"Dalton Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1590000'), "name"=>"Dr. Polly Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15a0000'), "name"=>"Brooke Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15b0000'), "name"=>"Felipe Monahan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15c0000'), "name"=>"Seth Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15d0000'), "name"=>"Mr. Cory Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15e0000'), "name"=>"Miss Mitchell Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f15f0000'), "name"=>"Marlin Collier IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f15f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1600000'), "name"=>"Jalon Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1610000'), "name"=>"Blake Connelly IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1620000'), "name"=>"Xzavier Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1630000'), "name"=>"Anita Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1640000'), "name"=>"Eliseo Mayer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1650000'), "name"=>"Ervin Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1660000'), "name"=>"Keyshawn Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1670000'), "name"=>"Delores Douglas I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1680000'), "name"=>"Chad Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1690000'), "name"=>"Damian Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16a0000'), "name"=>"Carolina Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16b0000'), "name"=>"Ida Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16c0000'), "name"=>"Arnaldo Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16d0000'), "name"=>"Sage Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16e0000'), "name"=>"Ms. Hazel Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f16f0000'), "name"=>"Laurie Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.8288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f16f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1700000'), "name"=>"Christina Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1710000'), "name"=>"Ms. Murphy Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1720000'), "name"=>"Asa Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1730000'), "name"=>"Hilton Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1740000'), "name"=>"Leon Jaskolski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1750000'), "name"=>"Alf Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1760000'), "name"=>"Elinor Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1770000'), "name"=>"Willis Stamm I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1780000'), "name"=>"Ms. Addison Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1790000'), "name"=>"Griffin DuBuque DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17a0000'), "name"=>"Ella Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17b0000'), "name"=>"Juanita Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17c0000'), "name"=>"Roger Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17d0000'), "name"=>"Mrs. Bette Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17e0000'), "name"=>"Ms. Ryann Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f17f0000'), "name"=>"Beaulah Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f17f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1800000'), "name"=>"Werner Ondricka PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1810000'), "name"=>"Miss Jon Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1820000'), "name"=>"Lorenza Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1830000'), "name"=>"Marcel Braun MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1840000'), "name"=>"Antonietta Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1850000'), "name"=>"Anais Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1860000'), "name"=>"Ms. Tania Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.8582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1870000'), "name"=>"Luisa Dooley IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1880000'), "name"=>"Nina Gutkowski Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1890000'), "name"=>"Josianne Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18a0000'), "name"=>"Tara Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18b0000'), "name"=>"Jaeden Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18c0000'), "name"=>"Heather Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18d0000'), "name"=>"Domenico Bogan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18e0000'), "name"=>"Agnes Durgan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f18f0000'), "name"=>"Halle Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f18f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1900000'), "name"=>"Ms. Kasey Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1910000'), "name"=>"Terrence Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1920000'), "name"=>"Chaim Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1930000'), "name"=>"Coralie Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1940000'), "name"=>"Arvid Satterfield Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1950000'), "name"=>"Sigrid Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1960000'), "name"=>"Ava Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1970000'), "name"=>"Brett Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2003ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Redirected to http://test.host/categories/53fc651777353362f1980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2300ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1990000'), "name"=>"Solon Buckridge III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1725ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"53fc651777353362f1990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f1990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1863ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f19a0000'), "name"=>"Skyla Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"53fc651777353362f19a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19a0000')} 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.3ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f19b0000'), "name"=>"Shaun Schmidt Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[242457039541] runtime: 0.1099ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2456ms Completed 200 OK in 18ms (Views: 17.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f19c0000'), "name"=>"Narciso Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[240831220062] runtime: 0.0825ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2320ms Completed 200 OK in 10ms (Views: 9.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f19d0000'), "name"=>"Marlene Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f19f0000'), "name"=>"Rudolph Hackett PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"53fc651777353362f19f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1a00000'), "name"=>"Fern O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"53fc651777353362f1a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('53fc651777353362f1a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('53fc651777353362f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms Redirected to http://test.host/categories/53fc651777353362f1a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1a10000'), "name"=>"Anjali Schroeder III", "reference"=>"Ludwig Sanford", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1a20000'), "author_name"=>"Judson Kertzmann", "content"=>["Voluptatem pariatur adipisci maxime qui velit et. Nesciunt aliquid quo voluptatem harum quam. Asperiores commodi incidunt ipsa reiciendis quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc651777353362f1a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc651777353362f1a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms Redirected to http://test.host/products/53fc651777353362f1a10000/comments/53fc651777353362f1a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1a40000'), "name"=>"Vickie Sauer", "reference"=>"Dr. Pauline Nader", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1a50000'), "author_name"=>"Mr. Joannie Thiel", "content"=>["Veritatis omnis porro autem laboriosam eius sequi temporibus. Vel similique eligendi quos deserunt incidunt dolorum. Nesciunt labore aut minima blanditiis quasi animi ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"53fc651777353362f1a40000", "id"=>"53fc651777353362f1a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53fc651777353362f1a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Redirected to http://test.host/products/53fc651777353362f1a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1a60000'), "name"=>"Summer Mills", "reference"=>"Nathan Dibbert", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1a70000'), "author_name"=>"Claudie Cartwright", "content"=>["Aut expedita impedit qui aliquam porro similique ut. Tempora sed neque similique omnis dolorem. Aut illum dolorum ut qui rem necessitatibus. Et molestiae nam laudantium est veniam voluptas. Cupiditate et officia labore voluptas aut sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"53fc651777353362f1a60000", "id"=>"53fc651777353362f1a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 40ms (Views: 38.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1a80000'), "name"=>"Abbie VonRueden", "reference"=>"Dianna Stanton", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1a90000'), "author_name"=>"Ignatius Kozey", "content"=>["Consequatur tempore assumenda illum sint laboriosam voluptatibus consectetur. Nobis sed voluptatem corrupti quidem. Dolor deleniti libero earum ut eos qui impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5738ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"53fc651777353362f1a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1aa0000'), "name"=>"Mervin Ebert", "reference"=>"Miss Marvin Rutherford", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1ab0000'), "author_name"=>"Mrs. Bernice Farrell", "content"=>["Esse aliquid sint provident voluptatum earum. Deleniti facilis laborum quia provident numquam aspernatur. Praesentium tempora expedita. Qui molestias expedita ratione molestiae cumque iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5568ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"53fc651777353362f1aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1ac0000'), "name"=>"Fanny Feeney DVM", "reference"=>"Stacey Hartmann", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1ad0000'), "author_name"=>"Miss Mustafa Dare", "content"=>["Alias dolorem recusandae nulla suscipit ut ipsa. Tenetur voluptas nihil sit cupiditate dignissimos exercitationem a. Aut quasi harum error. Voluptatem quia est repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"53fc651777353362f1ac0000", "id"=>"53fc651777353362f1ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1ae0000'), "name"=>"Lacey Zulauf DVM", "reference"=>"Ms. Marianna Schaden", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1af0000'), "author_name"=>"Mathias Stroman", "content"=>["Itaque nisi iusto ad neque in velit. Nostrum ab est quia. Excepturi similique dolorum magni est odit minus. Culpa corporis est. Incidunt aperiam tempora aut aut doloribus eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"53fc651777353362f1ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1b00000'), "name"=>"Mr. Chris McClure", "reference"=>"Dianna Langworth", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1b10000'), "author_name"=>"Carlee Aufderhar", "content"=>["Illo qui vel. Saepe architecto eius aut repellat. Similique nobis quis ducimus et eius nam. Eum neque est explicabo sit. Rerum impedit optio tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"53fc651777353362f1b00000", "id"=>"53fc651777353362f1b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1b20000'), "name"=>"Beaulah Weimann", "reference"=>"Rusty Stracke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('53fc651777353362f1b30000'), "author_name"=>"Carli Friesen", "content"=>["Et enim quia quibusdam blanditiis in ab. Labore rem iusto placeat accusantium quas vel corporis. Doloribus non dolorem voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc651777353362f1b30000", "product_id"=>"53fc651777353362f1b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651777353362f1b20000'), "comments._id"=>BSON::ObjectId('53fc651777353362f1b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6303ms Redirected to http://test.host/products/53fc651777353362f1b20000/comments/53fc651777353362f1b30000 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('53fc651777353362f1b40000'), "firstname"=>"Price", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5662ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2034ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Redirected to http://test.host/admin/clients/53fc651777353362f1b50000 Completed 302 Found in 2ms 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('53fc651777353362f1b60000'), "firstname"=>"Ambrose", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1954ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"53fc651777353362f1b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651777353362f1b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3466ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651777353362f1b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms 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.2193ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1b70000'), "firstname"=>"Carson", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc651777353362f1b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651777353362f1b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms) 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('53fc651777353362f1b80000'), "firstname"=>"Darrick", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms Processing by Iord::GenericController#index as HTML MOPED: 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: 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('53fc651777353362f1b90000'), "firstname"=>"Janessa", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5315ms 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.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651777353362f1ba0000'), "firstname"=>"Waylon", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc651777353362f1ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651777353362f1ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.3603ms Completed 200 OK in 35ms (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('53fc651877353362f1bb0000'), "firstname"=>"Vince", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc651877353362f1bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7941ms Redirected to http://test.host/admin/clients/53fc651877353362f1bb0000 Completed 302 Found in 10ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1bc0000'), "firstname"=>"Sonny", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7067ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4298ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6096ms Redirected to http://test.host/clients/53fc651877353362f1bd0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4007ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1be0000'), "firstname"=>"Oma", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms 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"=>"53fc651877353362f1be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5293ms Redirected to http://test.host/clients Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3629ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1bf0000'), "firstname"=>"Christa", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"53fc651877353362f1bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5108ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 6.4ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c00000'), "firstname"=>"Natalie", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6267ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5767ms Completed 200 OK in 13ms (Views: 12.5ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c10000'), "firstname"=>"Emilio", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6106ms 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: 4.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c20000'), "firstname"=>"Judy", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6669ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"53fc651877353362f1c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 5ms (Views: 2.7ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c30000'), "firstname"=>"Cathy", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53fc651877353362f1c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53fc651877353362f1c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms Redirected to http://test.host/clients/53fc651877353362f1c30000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c40000'), "name"=>"Logan Flatley", "reference"=>"Bettie Schinner", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1c50000'), "firstname"=>"Vivienne", "lastname"=>"Hand"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5803ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53fc651877353362f1c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5238ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9064ms Redirected to http://test.host/products/53fc651877353362f1c40000/manager Completed 302 Found in 12ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c70000'), "name"=>"Jaylon Kozey", "reference"=>"Zetta Huel", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1c80000'), "firstname"=>"Armani", "lastname"=>"Beer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5631ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"53fc651877353362f1c80000", "product_id"=>"53fc651877353362f1c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1c90000'), "name"=>"Vallie Ledner", "reference"=>"Stuart Heaney", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1ca0000'), "firstname"=>"Lesley", "lastname"=>"Grant"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"53fc651877353362f1c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5453ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 12ms (Views: 8.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1cb0000'), "name"=>"Reymundo Weissnat", "reference"=>"Kevon Christiansen Jr.", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1cc0000'), "firstname"=>"Vance", "lastname"=>"Ryan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7497ms Processing by ManagersController#show as HTML Parameters: {"id"=>"53fc651877353362f1cc0000", "product_id"=>"53fc651877353362f1cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 8ms (Views: 4.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1cd0000'), "name"=>"Ms. Pierce Langosh", "reference"=>"Holly Boyle V", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('53fc651877353362f1ce0000'), "firstname"=>"Ruth", "lastname"=>"Franecki"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5954ms Processing by ManagersController#update as HTML Parameters: {"id"=>"53fc651877353362f1ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53fc651877353362f1cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms Unpermitted parameters: name Redirected to http://test.host/products/53fc651877353362f1cd0000/manager Completed 302 Found in 4ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1cf0000'), "name"=>"Keshaun Bernhard", "reference"=>"Miss Constance Berge", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d00000'), "name"=>"Miss Maybelle Fahey", "reference"=>"Rita VonRueden", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d10000'), "name"=>"Miss Jairo Wiza", "reference"=>"Samir Stanton", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d20000'), "name"=>"Hardy Kunze", "reference"=>"Benjamin Dare DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d30000'), "name"=>"Raphael Hettinger", "reference"=>"Kelton Collier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d40000'), "name"=>"Marshall Ullrich Sr.", "reference"=>"Ulices Smitham", "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.2491ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms Redirected to http://test.host/products/53fc651877353362f1d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3123ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d60000'), "name"=>"Horace Ortiz Jr.", "reference"=>"Emilia McLaughlin", "quantity"=>0}] 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.2499ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc651877353362f1d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1d60000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2075ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d70000'), "name"=>"Triston Welch Sr.", "reference"=>"Monroe Spinka DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc651877353362f1d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4177ms 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('53fc651877353362f1d80000'), "name"=>"Dr. Nicklaus Gleason", "reference"=>"Rosemary Klein", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5411ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216703712295] runtime: 0.1187ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2687ms Completed 200 OK in 22ms (Views: 21.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1d90000'), "name"=>"Mya Abernathy", "reference"=>"Zoey Hermiston", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1da0000'), "name"=>"HelloWorld", "reference"=>"Elizabeth Lowe I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1db0000'), "name"=>"value", "reference"=>"Dr. Bria Bartoletti", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4403ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3007ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2657ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2506ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1718ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Completed 200 OK in 4ms (Views: 3.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2922ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1752ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1dc0000'), "name"=>"Belle Mosciski", "reference"=>"Laury Franecki", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215487483836] runtime: 0.1094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2461ms Completed 200 OK in 18ms (Views: 17.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216465008282] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216169080366] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215852909976] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215251259889] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214940631522] runtime: 25.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215500016052] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215331795824] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214956054720] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216203702911] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215024718325] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214768582009] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214842196615] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216243217664] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216631091375] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215507879012] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216518178993] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214796116283] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216028988567] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216010182429] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215621684858] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214951485625] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215176277457] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214801384667] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216242414810] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216657091050] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216413101542] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215427646086] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215191165159] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216043887048] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215272860516] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215300600632] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215259509858] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216561145917] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216527980243] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215168977690] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215878973502] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215983869279] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215998021350] runtime: 0.0805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215767557736] runtime: 0.0915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216396942217] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214914448427] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216321669375] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216418474441] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215216867634] runtime: 0.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215349438720] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216018906309] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216740803050] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214934668121] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215994069139] runtime: 0.0780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215444611541] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216062609521] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216569268969] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215394686083] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215002196175] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215030923034] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215723679851] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215488006560] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215460821949] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216878267974] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216190806155] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215658442909] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216258826036] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215937797052] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215348301403] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215280756966] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216822561354] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215141951017] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215401923082] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215214645930] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216590678131] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215422721805] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216180190419] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215180675937] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215014597834] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216202812299] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215879406842] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216875417717] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216858919762] runtime: 0.0964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216300233251] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216050950354] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216649747195] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216503353744] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.1321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215659894810] runtime: 0.1268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216436771698] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216031237647] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214803941776] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216565847528] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215030496139] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215216247024] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216484595349] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216095777863] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215701799270] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215716328028] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215947465617] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216497023717] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214974843381] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215904614676] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215730835011] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216868153013] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216671074538] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216386981364] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215303514836] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216557112461] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215674352758] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214963215241] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216444457102] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216705192836] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215680322466] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215987817673] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215047944539] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216686654999] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215285609054] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216590644307] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216259823952] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215124573003] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215217515674] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214773575643] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215222287154] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216526548445] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215700475396] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215758831792] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215356246766] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216176990641] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216588586303] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216803098426] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216860993121] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215023833852] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214777521083] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215847407065] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216312968358] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215150473536] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214994790718] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216343052788] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214978734711] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216231896881] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215421209819] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215271565965] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215622030221] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214940856145] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214932604657] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216608816673] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215784867595] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214748783685] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215538624122] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216363188366] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216421641234] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216101767276] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216149188021] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215576257380] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216023877089] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215937715237] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215231947321] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215140868420] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216580671364] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214946900771] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216889393994] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215852311292] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216444766118] runtime: 0.1038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215724717141] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216193673098] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[216641598640] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[214789614906] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215961805437] runtime: 0.0505ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1dd0000'), "name"=>"Wilhelm Buckridge", "reference"=>"Ms. Turner Mertz", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[215607231754] runtime: 0.0611ms 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('53fc651877353362f1de0000'), "name"=>"Antonina Sporer IV", "reference"=>"Ofelia Waelchi II", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc651877353362f1de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms 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('53fc651877353362f1df0000'), "name"=>"Verlie Marks", "reference"=>"Brennan Cartwright", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) 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('53fc651877353362f1e10000'), "name"=>"Stefanie Shanahan", "reference"=>"Connie Dach", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc651877353362f1e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms Completed 200 OK in 4ms (Views: 2.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1e20000'), "name"=>"Dr. Nigel Schoen", "reference"=>"Everardo Cronin", "quantity"=>1}] 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.1648ms 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('53fc651877353362f1e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.3782ms Completed 201 Created in 20ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1935ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1e40000'), "name"=>"Nikolas Keeling", "reference"=>"Mckenzie Huels MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc651877353362f1e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms 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('53fc651877353362f1e50000'), "name"=>"Miss Ashleigh Gorczany", "reference"=>"Eddie Howe", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms 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('53fc651877353362f1e70000'), "name"=>"Emmalee Jast", "reference"=>"Miss Noemy Kuphal", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc651877353362f1e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1e70000')} 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('53fc651877353362f1e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms 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('53fc651877353362f1e80000'), "name"=>"Aisha Abernathy", "reference"=>"Maggie Deckow II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc651877353362f1e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1e80000')} 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('53fc651877353362f1e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms Redirected to http://test.host/products/53fc651877353362f1e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1eb0000'), "name"=>"Elfrieda Kshlerin", "reference"=>"Mr. Lelia Bradtke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1e90000'), "author_name"=>"Reynold Legros", "content"=>["Sit numquam quas autem et. Voluptas necessitatibus dolores. Minus modi et corporis qui suscipit odio."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1ea0000'), "author_name"=>"Sandra Willms III", "content"=>["Provident labore unde. Et ut voluptate corporis quod odit. Repellendus ducimus quo ratione itaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53fc651877353362f1eb0000", "comment_id"=>"53fc651877353362f1e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1eb0000'), "comments._id"=>BSON::ObjectId('53fc651877353362f1e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc651877353362f1ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Redirected to http://test.host/products/53fc651877353362f1eb0000/comments/53fc651877353362f1e90000/comments/53fc651877353362f1ec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1ef0000'), "name"=>"Mrs. Ardith Conroy", "reference"=>"Ms. Craig Murray", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1ed0000'), "author_name"=>"Syble Robel", "content"=>["Fuga cumque beatae in voluptas corporis quae reiciendis. Qui dolorum veniam. Totam architecto in dolores voluptas molestiae asperiores. Optio consequuntur deserunt. Non vel incidunt accusamus nemo quos dolor rerum."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1ee0000'), "author_name"=>"General Keebler PhD", "content"=>["Sit vel voluptates. Cum in sed cumque est quaerat. Dolorem autem sequi esse tempore earum. Aperiam facilis distinctio aspernatur voluptates dolor sint tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"53fc651877353362f1ef0000", "comment_id"=>"53fc651877353362f1ed0000", "id"=>"53fc651877353362f1ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1ef0000'), "comments._id"=>BSON::ObjectId('53fc651877353362f1ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('53fc651877353362f1ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Redirected to http://test.host/products/53fc651877353362f1ef0000/comments/53fc651877353362f1ed0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1f20000'), "name"=>"Shaina Carroll", "reference"=>"Mrs. Shany Wiegand", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f00000'), "author_name"=>"Helga Heaney Sr.", "content"=>["Fugiat sit eius enim qui. Odio facere qui quibusdam sit laborum. Praesentium qui aut eos quia."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f10000'), "author_name"=>"Ms. Jaiden Homenick", "content"=>["Ut nihil veritatis dolore. Aut maxime pariatur praesentium sunt. Omnis ipsam quaerat iusto fuga dolorem dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.8005ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"53fc651877353362f1f20000", "comment_id"=>"53fc651877353362f1f00000", "id"=>"53fc651877353362f1f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1f50000'), "name"=>"Brandy Cummings V", "reference"=>"Alfredo Marquardt", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f30000'), "author_name"=>"Joe Prohaska DVM", "content"=>["Dolorem doloribus pariatur molestiae nam occaecati suscipit eum. Voluptatem et pariatur nisi at quia optio. Voluptas libero aspernatur sint a ut. Excepturi expedita aut dolor ex."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f40000'), "author_name"=>"Dr. Coleman Beier", "content"=>["Ad rerum nisi ut omnis. Eos nemo dolorum ut et commodi. Quia vel sint alias aut nostrum ut aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"53fc651877353362f1f50000", "comment_id"=>"53fc651877353362f1f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1f80000'), "name"=>"Mark Boyle MD", "reference"=>"Hubert Berge II", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f60000'), "author_name"=>"Fredy Schaden Sr.", "content"=>["Deserunt vel qui ex. Veritatis tempore est incidunt. Esse corporis facilis doloribus sunt ut. Est et est consequatur. Et voluptate quod."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f70000'), "author_name"=>"Delores Rosenbaum", "content"=>["Iste placeat ut voluptatem cum. Et earum beatae. Natus quod ex vero temporibus cumque eius dicta. Ut culpa commodi et. Provident eum dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"53fc651877353362f1f80000", "comment_id"=>"53fc651877353362f1f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1fb0000'), "name"=>"Stevie Braun", "reference"=>"Mrs. Roy Schamberger", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1f90000'), "author_name"=>"Miss Cleora Hackett", "content"=>["Necessitatibus est enim modi optio. Sunt nobis deserunt. Quia ab et ut consequatur. Cupiditate et ut in et dolores ratione incidunt."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1fa0000'), "author_name"=>"Melvin Becker", "content"=>["Qui eos est ut nihil qui. Et qui qui magnam est et. Architecto rerum omnis nulla quod inventore dolorum eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"53fc651877353362f1fb0000", "comment_id"=>"53fc651877353362f1f90000", "id"=>"53fc651877353362f1fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1fe0000'), "name"=>"Haylee Collins DDS", "reference"=>"Brody Nienow", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1fc0000'), "author_name"=>"Hayden Kutch", "content"=>["Neque non qui odit id et ut. Accusamus rerum repudiandae asperiores temporibus. Qui nesciunt qui molestiae cumque hic. Quia corrupti numquam consequatur minima quia similique esse."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1fd0000'), "author_name"=>"Wilburn Stark", "content"=>["Commodi nisi fugit minus. Dolor culpa et blanditiis omnis sit. Doloremque voluptas autem. Labore fuga culpa rerum praesentium est. Qui voluptatem in velit quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"53fc651877353362f1fe0000", "comment_id"=>"53fc651877353362f1fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1010100'), "name"=>"Andrew Schowalter", "reference"=>"Leo Spencer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1ff0000'), "author_name"=>"Loraine Dibbert MD", "content"=>["Dicta voluptatum magni magnam molestiae. Omnis nesciunt veniam. Eaque cum corporis doloribus hic omnis dignissimos blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1000100'), "author_name"=>"Missouri Kub", "content"=>["Voluptates est velit in saepe laboriosam. Ab aut id perspiciatis rerum et vero. Ut nesciunt dolore dignissimos nisi. Laborum atque odio fuga est debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"53fc651877353362f1010100", "comment_id"=>"53fc651877353362f1ff0000", "id"=>"53fc651877353362f1000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1040100'), "name"=>"Elfrieda Kiehn", "reference"=>"Turner Hyatt", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1020100'), "author_name"=>"Keith Dietrich", "content"=>["Aut occaecati consequatur neque aut rerum. Et explicabo sint. Laborum cum et nesciunt. Vel rerum corporis fugiat et omnis. Iusto debitis vitae veniam."], "comments"=>[{"_id"=>BSON::ObjectId('53fc651877353362f1030100'), "author_name"=>"Leanne Thiel", "content"=>["Excepturi ad dolores repellat. Aut explicabo suscipit earum minima magni voluptatem natus. Quasi exercitationem et est. Voluptatem veniam ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53fc651877353362f1030100", "product_id"=>"53fc651877353362f1040100", "comment_id"=>"53fc651877353362f1020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651877353362f1040100'), "comments._id"=>BSON::ObjectId('53fc651877353362f1020100'), "comments.0.comments._id"=>BSON::ObjectId('53fc651877353362f1030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Redirected to http://test.host/products/53fc651877353362f1040100/comments/53fc651877353362f1020100/comments/53fc651877353362f1030100 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('53fc651877353362f1050100'), "firstname"=>"Rogers", "lastname"=>"Hoppe"}] 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.1602ms 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('53fc651877353362f1060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Redirected to http://test.host/users/53fc651877353362f1060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1546ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1070100'), "firstname"=>"Ruben", "lastname"=>"Balistreri"}] 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=>"admin_users", :query=>{}} runtime: 0.1573ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"53fc651877353362f1070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651877353362f1070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651877353362f1070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms 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.1659ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1080100'), "firstname"=>"Angus", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms Processing by UsersController#edit as HTML Parameters: {"id"=>"53fc651877353362f1080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651877353362f1080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651877353362f1090100'), "firstname"=>"Vena", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms 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.3394ms 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('53fc651877353362f10a0100'), "firstname"=>"Tyshawn", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (26.6ms) Completed 200 OK in 29ms (Views: 28.4ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53fc651877353362f10b0100'), "firstname"=>"Lexus", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms Processing by UsersController#show as HTML Parameters: {"id"=>"53fc651877353362f10b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651877353362f10b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms 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('53fc651877353362f10c0100'), "firstname"=>"Arnold", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53fc651877353362f10c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53fc651877353362f10c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Unpermitted parameters: name Redirected to http://test.host/users/53fc651877353362f10c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6480ms 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.6104ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6688ms 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.5582ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9852ms 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.4632ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303000000'), "name"=>"Mrs. Rebeca Franecki", "reference"=>"Chester Hackett", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303010000'), "name"=>"Jordy Wunsch", "reference"=>"Orie Monahan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303020000'), "name"=>"Marjory Cole I", "reference"=>"Mr. Ollie Marquardt", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303030000'), "name"=>"Mr. Angelina Brown", "reference"=>"Luz Trantow", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303040000'), "name"=>"Christ Kuhn I", "reference"=>"Alexzander Schaefer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303050000'), "name"=>"Haleigh Flatley PhD", "reference"=>"Newell Halvorson", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.1744ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Redirected to http://test.host/products/53fc651f7735336303060000 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('53fc651f7735336303070000'), "name"=>"Brandi Friesen", "reference"=>"Ms. Georgiana McKenzie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1687ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc651f7735336303070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651f7735336303070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651f7735336303070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms 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.1862ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303080000'), "name"=>"Elnora Dicki", "reference"=>"Earnestine Hayes", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc651f7735336303080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651f7735336303080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 47ms (Views: 45.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303090000'), "name"=>"Cole Dickens", "reference"=>"Stacey Hammes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4438ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2914ms Completed 200 OK in 10ms (Views: 9.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f77353363030a0000'), "name"=>"Macie Sipes", "reference"=>"Emory Lueilwitz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f77353363030b0000'), "name"=>"HelloWorld", "reference"=>"Dr. Carlos Braun", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f77353363030c0000'), "name"=>"value", "reference"=>"Jared Price", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3323ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3245ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2749ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2032ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3214ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.3028ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2789ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2059ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f77353363030d0000'), "name"=>"Ms. Gerard Keeling", "reference"=>"Earlene Skiles", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6306ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2944ms Completed 200 OK in 11ms (Views: 10.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f77353363030e0000'), "name"=>"Leora Lang", "reference"=>"Jeffery Ebert", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms Completed 200 OK in 6ms (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('53fc651f77353363030f0000'), "name"=>"Marlon Upton PhD", "reference"=>"Stephany Kozey IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc651f77353363030f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651f77353363030f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4401ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303100000'), "name"=>"Kaleigh Lebsack", "reference"=>"Demetris Pouros", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 35ms (Views: 7.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc651f7735336303120000'), "name"=>"Juliana Hayes", "reference"=>"Madonna Bins", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5230ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc651f7735336303120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc651f7735336303120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms Completed 200 OK in 32ms (Views: 29.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65207735336303130000'), "name"=>"Fabiola Anderson V", "reference"=>"Kristina Schuppe", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2891ms 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('53fc65207735336303140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Completed 201 Created in 36ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3702ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65207735336303150000'), "name"=>"Crystel Morissette", "reference"=>"Kiera Johnston", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc65207735336303150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms 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('53fc65207735336303160000'), "name"=>"Reed Conroy", "reference"=>"Lilly Harris IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms 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('53fc65207735336303180000'), "name"=>"Olin Rogahn", "reference"=>"Abigayle Konopelski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65207735336303180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65207735336303190000'), "name"=>"Jolie Schneider", "reference"=>"Sarai Prosacco", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65207735336303190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65207735336303190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Redirected to http://test.host/products/53fc65207735336303190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4902ms 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.2915ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5051ms 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.4529ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7499ms 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.4580ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327000000'), "name"=>"Teresa White MD", "reference"=>"Miss Garrett Pagac", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327010000'), "name"=>"Rafael Larson", "reference"=>"Josefa Nolan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327020000'), "name"=>"Esperanza McGlynn", "reference"=>"Kelvin Russel", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327030000'), "name"=>"Rafaela Kertzmann", "reference"=>"Mrs. Curtis DuBuque", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327040000'), "name"=>"Jace Fisher", "reference"=>"Justine Barton", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327050000'), "name"=>"Hermina Turcotte Jr.", "reference"=>"Rosendo Hickle", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.9097ms Redirected to http://test.host/products/53fc65247735336327060000 Completed 302 Found in 20ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327070000'), "name"=>"Ernest Simonis", "reference"=>"Shirley Sanford", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1615ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc65247735336327070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65247735336327070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65247735336327070000')} 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.1774ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327080000'), "name"=>"Anabelle Jakubowski", "reference"=>"Rebeka Kutch DDS", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc65247735336327080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65247735336327080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 48ms (Views: 46.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65247735336327090000'), "name"=>"Taylor Waters", "reference"=>"Mrs. Orion Lueilwitz", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3736ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2353ms Completed 200 OK in 10ms (Views: 9.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652477353363270a0000'), "name"=>"Misael Connelly", "reference"=>"Modesta Zieme", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652477353363270b0000'), "name"=>"HelloWorld", "reference"=>"Mr. Leatha Nitzsche", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652477353363270c0000'), "name"=>"value", "reference"=>"Mrs. Meta Ferry", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3729ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2513ms Completed 200 OK in 5ms (Views: 4.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.2182ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.1915ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1627ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.8511ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.8141ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9247ms Completed 200 OK in 12ms (Views: 11.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.6971ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.6292ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4790ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f77353363270d0000'), "name"=>"Ronaldo Hettinger DVM", "reference"=>"Noemie Vandervort", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6389ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0957ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5096ms Completed 200 OK in 27ms (Views: 25.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5444ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f77353363270e0000'), "name"=>"Jan McLaughlin", "reference"=>"Adonis Langosh", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 268.9608ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2628ms Completed 200 OK in 12ms (Views: 3.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f77353363270f0000'), "name"=>"Yadira Satterfield IV", "reference"=>"Miss Pauline Dickinson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7511ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc652f77353363270f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f77353363270f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6067ms Completed 200 OK in 4ms (Views: 0.5ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f7735336327100000'), "name"=>"Gayle Wolff", "reference"=>"Craig Ritchie", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5641ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 31ms (Views: 6.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f7735336327120000'), "name"=>"Marian Satterfield", "reference"=>"Mrs. Hollis Boehm", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc652f7735336327120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f7735336327130000'), "name"=>"Carolyn Rosenbaum II", "reference"=>"Jessy Orn", "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.2131ms 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('53fc652f7735336327140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2389ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f7735336327150000'), "name"=>"Lilian Heidenreich", "reference"=>"Barbara O'Kon", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc652f7735336327150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms 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('53fc652f7735336327160000'), "name"=>"Lois Toy", "reference"=>"Mr. Mathew Mitchell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms 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('53fc652f7735336327180000'), "name"=>"Ena Kautzer", "reference"=>"Bernadette Rath", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc652f7735336327180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327180000')} 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('53fc652f7735336327180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5984ms Completed 202 Accepted in 7ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc652f7735336327190000'), "name"=>"Elda Shields", "reference"=>"Mr. Scottie Hickle", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc652f7735336327190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3679ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc652f7735336327190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5410ms Redirected to http://test.host/products/53fc652f7735336327190000 Completed 302 Found in 31ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5491ms 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.5065ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6251ms 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.5379ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7239ms 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.4402ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f000000'), "name"=>"Maci Buckridge", "reference"=>"Mrs. Hellen Olson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f010000'), "name"=>"Abigayle O'Kon", "reference"=>"Edd Roob", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f020000'), "name"=>"Serenity Murphy", "reference"=>"Dahlia Baumbach", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f030000'), "name"=>"Winnifred Ebert DVM", "reference"=>"Maybell Watsica", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f040000'), "name"=>"Miss Mara Brekke", "reference"=>"Dr. Elizabeth Kozey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f050000'), "name"=>"Piper Ebert", "reference"=>"Mr. Clifford Connelly", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1897ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Redirected to http://test.host/products/53fc653d773533634f060000 Completed 302 Found in 3ms 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('53fc653d773533634f070000'), "name"=>"Warren O'Kon", "reference"=>"Bettie Halvorson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1409ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc653d773533634f070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc653d773533634f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc653d773533634f070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms 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.2266ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f080000'), "name"=>"Asha Cruickshank", "reference"=>"Christopher Kunze", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc653d773533634f080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc653d773533634f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 48ms (Views: 46.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f090000'), "name"=>"Ms. Mabel Fisher", "reference"=>"Naomie Crona", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5342ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2485ms Completed 200 OK in 10ms (Views: 9.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f0a0000'), "name"=>"Godfrey Batz", "reference"=>"Taryn Konopelski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f0b0000'), "name"=>"HelloWorld", "reference"=>"Jane Mertz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc653d773533634f0c0000'), "name"=>"value", "reference"=>"Ignacio Bosco", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9781ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.8878ms Completed 200 OK in 8823ms (Views: 1931.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5068ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4791ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3587ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9562ms Completed 200 OK in 1512ms (Views: 11.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.6835ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4648ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f0d0000'), "name"=>"Constantin Klein", "reference"=>"Timmothy Kulas", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6752ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6411ms Completed 200 OK in 27ms (Views: 25.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6404ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f0e0000'), "name"=>"Pattie Marvin", "reference"=>"Rosalind Hansen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 327.6739ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9233ms Completed 200 OK in 8ms (Views: 2.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f0f0000'), "name"=>"General Morar", "reference"=>"Mauricio Pfeffer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6856ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc6548773533634f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6052ms Completed 200 OK in 4ms (Views: 0.5ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f100000'), "name"=>"Ola Johns", "reference"=>"Conner Mills", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6786ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 41ms (Views: 8.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f120000'), "name"=>"Deshawn Hoeger", "reference"=>"Shane O'Connell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7124ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc6548773533634f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4817ms Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f130000'), "name"=>"Euna Weimann", "reference"=>"Dr. Norval Williamson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6818ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 36.5269ms 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('53fc6548773533634f140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6265ms Completed 201 Created in 4ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4391ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f150000'), "name"=>"Jermey Mohr", "reference"=>"Zachery Mueller", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5454ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc6548773533634f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5061ms Completed 200 OK in 4ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f160000'), "name"=>"Martin Stehr", "reference"=>"Ova Stroman", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f180000'), "name"=>"Summer Koelpin", "reference"=>"Jerod Boyle", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5469ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6548773533634f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6480ms Completed 202 Accepted in 9ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6548773533634f190000'), "name"=>"Aiyana Bogan III", "reference"=>"Gisselle Anderson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6548773533634f190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6548773533634f190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Redirected to http://test.host/products/53fc6548773533634f190000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5616ms 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.5890ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5210ms 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.4139ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6738ms 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.3967ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a000000'), "name"=>"Concepcion Prosacco", "reference"=>"Shana Tromp", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a010000'), "name"=>"Fausto Huel", "reference"=>"Adolphus Kulas", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a020000'), "name"=>"Katherine Nitzsche", "reference"=>"Delaney Donnelly Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a030000'), "name"=>"Enos Botsford", "reference"=>"Diamond Welch", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a040000'), "name"=>"Lou Cummings", "reference"=>"Jake Nitzsche", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a050000'), "name"=>"Velda Langosh", "reference"=>"Aglae Schamberger", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2114ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms Redirected to http://test.host/products/53fc6564773533637a060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2271ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a070000'), "name"=>"Ottilie Smitham", "reference"=>"Gloria Bernhard", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2101ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc6564773533637a070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6564773533637a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6564773533637a070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms 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.1976ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a080000'), "name"=>"Sven Schmitt", "reference"=>"Velva Flatley IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc6564773533637a080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6564773533637a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 48ms (Views: 46.9ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6564773533637a090000'), "name"=>"Eric McDermott", "reference"=>"Mr. Myron Stoltenberg", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9231ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5776ms Completed 200 OK in 8699ms (Views: 8698.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc656d773533637a0a0000'), "name"=>"Vidal Yundt", "reference"=>"Amir Luettgen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc656d773533637a0b0000'), "name"=>"HelloWorld", "reference"=>"Dr. Dorris Langworth", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7053ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc656d773533637a0c0000'), "name"=>"value", "reference"=>"Kay Flatley", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9374ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9734ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.9564ms Completed 200 OK in 12447ms (Views: 6934.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4976ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4474ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3529ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9236ms Completed 200 OK in 5826ms (Views: 5039.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.6531ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5848ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4591ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc657f773533637a0d0000'), "name"=>"Mary Fisher", "reference"=>"Dr. Zena Miller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8702ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2891ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5479ms Completed 200 OK in 4485ms (Views: 4483.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4951ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6584773533637a0e0000'), "name"=>"Roscoe Ziemann", "reference"=>"Brown Gusikowski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5021ms Completed 200 OK in 5ms (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('53fc6584773533637a0f0000'), "name"=>"Richard Carter", "reference"=>"Ms. Jenifer Keebler", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc6584773533637a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a0f0000')} 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('53fc6584773533637a100000'), "name"=>"Salvador Parisian", "reference"=>"Monserrate Oberbrunner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 27ms (Views: 6.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6584773533637a120000'), "name"=>"Karen Hane", "reference"=>"Keenan VonRueden", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc6584773533637a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6584773533637a130000'), "name"=>"Kole Denesik", "reference"=>"Dr. Angela Bergnaum", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2279ms 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('53fc6584773533637a140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2321ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6584773533637a150000'), "name"=>"Alec Lehner", "reference"=>"Brittany Labadie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc6584773533637a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms 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('53fc6584773533637a160000'), "name"=>"Ronny Moen", "reference"=>"Christ Hammes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 21.4807ms 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('53fc6584773533637a180000'), "name"=>"Orpha Homenick", "reference"=>"Reta Beer", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6584773533637a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5250ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6584773533637a190000'), "name"=>"Enoch Schaefer", "reference"=>"Jamir Marquardt", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6584773533637a190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6584773533637a190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Redirected to http://test.host/products/53fc6584773533637a190000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil 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.1928ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7410ms 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 MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms 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 ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6000000'), "name"=>"Malika McKenzie III", "reference"=>"Maymie Lebsack V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6010000'), "name"=>"Adeline Goldner", "reference"=>"Pablo Grant I", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6020000'), "name"=>"Nettie Champlin DDS", "reference"=>"Ms. Jamel Weber", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6030000'), "name"=>"Dr. Hilma Cremin", "reference"=>"Jaren Tromp", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6040000'), "name"=>"Noemy DuBuque", "reference"=>"Mr. Marielle Parisian", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6050000'), "name"=>"Birdie Williamson", "reference"=>"Tyrese Marks", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2040ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Redirected to http://test.host/products/53fc658977353363f6060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2378ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6070000'), "name"=>"Ardith Walker", "reference"=>"Rasheed Gutkowski", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1290ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc658977353363f6070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc658977353363f6070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc658977353363f6070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms 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.2232ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6080000'), "name"=>"Barbara Anderson", "reference"=>"Damon Padberg", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc658977353363f6080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc658977353363f6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 48ms (Views: 46.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc658977353363f6090000'), "name"=>"Camryn Pacocha", "reference"=>"Mack Robel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8341ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms 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.2311ms MOPED: 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 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.1820ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6427ms 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.3566ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c000000'), "name"=>"Ruth Bayer", "reference"=>"Mrs. Ignatius Metz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c010000'), "name"=>"Garrett Corkery", "reference"=>"Rhianna Ryan", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c020000'), "name"=>"Mrs. Josh Jakubowski", "reference"=>"Camden Fritsch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c030000'), "name"=>"Florida Adams", "reference"=>"Brody Hickle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c040000'), "name"=>"Alexandrine Lesch", "reference"=>"Georgiana Kub", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c050000'), "name"=>"Lenny Feil", "reference"=>"Lauriane Schultz", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms Redirected to http://test.host/products/53fc6596773533641c060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2134ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c070000'), "name"=>"Adelia Stracke", "reference"=>"Jennings Fritsch", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1762ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc6596773533641c070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6596773533641c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6596773533641c070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms 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.1958ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c080000'), "name"=>"Unique Schuppe", "reference"=>"Constance Cronin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc6596773533641c080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6596773533641c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 47ms (Views: 45.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c090000'), "name"=>"Justen Konopelski", "reference"=>"Trace Nikolaus", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2520ms Completed 200 OK in 10ms (Views: 9.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c0a0000'), "name"=>"Orion Orn", "reference"=>"Mr. Samir Wisoky", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c0b0000'), "name"=>"HelloWorld", "reference"=>"Kayli Ritchie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6596773533641c0c0000'), "name"=>"value", "reference"=>"Zackery Connelly Jr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9888ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 1.0152ms Completed 200 OK in 7125ms (Views: 2853.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5766ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5725ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4577ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8343ms Completed 200 OK in 53611ms (Views: 11.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5512ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4659ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3414ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d3773533641c0d0000'), "name"=>"Werner Hahn IV", "reference"=>"Will Harber", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5438ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0757ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6036ms Completed 200 OK in 25ms (Views: 23.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d3773533641c0e0000'), "name"=>"Charlie Witting", "reference"=>"Emilia Feest", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Completed 200 OK in 5ms (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('53fc65d3773533641c0f0000'), "name"=>"Mrs. Margaretta Goyette", "reference"=>"Alexane Hahn", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc65d3773533641c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms 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('53fc65d3773533641c100000'), "name"=>"Carolina Smitham", "reference"=>"Danielle Mertz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 31ms (Views: 6.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d3773533641c120000'), "name"=>"Donnie Kiehn", "reference"=>"Luna Cremin", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5475ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc65d3773533641c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Completed 200 OK in 7ms (Views: 5.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d3773533641c130000'), "name"=>"Fatima Effertz", "reference"=>"Bonita Franecki", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms 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('53fc65d3773533641c140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1998ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d3773533641c150000'), "name"=>"Lauren Mohr", "reference"=>"Raheem Pollich", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc65d3773533641c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms 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('53fc65d3773533641c160000'), "name"=>"Peggie Ankunding", "reference"=>"Henri Keebler IV", "quantity"=>0}] 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('53fc65d3773533641c180000'), "name"=>"Jasen Nicolas", "reference"=>"Vincenzo Bosco", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65d3773533641c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c180000')} 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('53fc65d3773533641c180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms 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('53fc65d3773533641c190000'), "name"=>"Jamal Hand", "reference"=>"Malika Frami", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65d3773533641c190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d3773533641c190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Redirected to http://test.host/products/53fc65d3773533641c190000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5285ms 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.4324ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms 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.3877ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6467ms 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.3258ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451000000'), "name"=>"Brad Wisozk Jr.", "reference"=>"Manuel Flatley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451010000'), "name"=>"Dr. Freda Nitzsche", "reference"=>"Kurt Schowalter", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451020000'), "name"=>"Mose Bode", "reference"=>"Vernon Stehr", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451030000'), "name"=>"Roselyn Jaskolski", "reference"=>"Eunice Kemmer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451040000'), "name"=>"Mohamed Stanton", "reference"=>"Mrs. Jake Franecki", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451050000'), "name"=>"Wallace Daniel", "reference"=>"Ms. Sofia Brakus", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2133ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms Redirected to http://test.host/products/53fc65d67735336451060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3597ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451070000'), "name"=>"Miss Rubye Sauer", "reference"=>"Brandon Ryan", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3483ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc65d67735336451070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d67735336451070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4294ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d67735336451070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms 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.3436ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451080000'), "name"=>"Mr. Monroe Conn", "reference"=>"Miss Providenci Stokes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc65d67735336451080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65d67735336451080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 48ms (Views: 46.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d67735336451090000'), "name"=>"Dr. Vicky Feil", "reference"=>"Zita Hammes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4364ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2631ms Completed 200 OK in 10ms (Views: 9.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d677353364510a0000'), "name"=>"Donald Stoltenberg", "reference"=>"David Macejkovic", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d677353364510b0000'), "name"=>"HelloWorld", "reference"=>"Tobin Davis", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65d677353364510c0000'), "name"=>"value", "reference"=>"Mrs. Golden Cremin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$"=>"HelloWorld"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 4.0500ms Completed 500 Internal Server Error in 4009ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da77353364510d0000'), "name"=>"Bertrand Morissette", "reference"=>"Max Doyle DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7865ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0108ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5473ms Completed 200 OK in 23ms (Views: 21.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7016ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da77353364510e0000'), "name"=>"Ludie Murphy", "reference"=>"Lourdes Nienow MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6090ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms Completed 200 OK in 5ms (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('53fc65da77353364510f0000'), "name"=>"Emile Boyle", "reference"=>"Ayana Bins", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc65da77353364510f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da77353364510f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4302ms 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('53fc65da7735336451100000'), "name"=>"Cassandre Luettgen", "reference"=>"Golda Hirthe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4926ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 31ms (Views: 6.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da7735336451120000'), "name"=>"Noble Cartwright I", "reference"=>"Alba Boehm", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6633ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc65da7735336451120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4634ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da7735336451130000'), "name"=>"Fritz Kovacek", "reference"=>"Ms. Junius Denesik", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2628ms 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('53fc65da7735336451140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2705ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da7735336451150000'), "name"=>"Zackery Abbott", "reference"=>"Mrs. Katelin Luettgen", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc65da7735336451150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms 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('53fc65da7735336451160000'), "name"=>"Ms. Jerrell Schmidt", "reference"=>"Talon Boyle", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms 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('53fc65da7735336451180000'), "name"=>"Angelina Kris", "reference"=>"Mrs. Jackie Kunze", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65da7735336451180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms Completed 202 Accepted in 5ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc65da7735336451190000'), "name"=>"Marguerite Boyer", "reference"=>"Trinity Kuphal", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.5219ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc65da7735336451190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4005ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc65da7735336451190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Redirected to http://test.host/products/53fc65da7735336451190000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms 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.2234ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6761ms 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.2770ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms 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.2645ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486000000'), "name"=>"Ms. Halie Hoppe", "reference"=>"Erik Ondricka", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486010000'), "name"=>"Eliezer Rippin", "reference"=>"Claire Schowalter", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486020000'), "name"=>"Valentine Gerhold DDS", "reference"=>"Zoie Vandervort", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486030000'), "name"=>"Gladyce Cummerata", "reference"=>"Isidro Bins", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486040000'), "name"=>"Lavina Cronin I", "reference"=>"Makenzie Bernhard", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486050000'), "name"=>"Quentin Dibbert Sr.", "reference"=>"Suzanne Kirlin", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.2039ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms Redirected to http://test.host/products/53fc66257735336486060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2383ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486070000'), "name"=>"Henderson Koelpin", "reference"=>"Kayley Hessel", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2023ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc66257735336486070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66257735336486070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3067ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66257735336486070000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2254ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486080000'), "name"=>"Alfonzo Walter", "reference"=>"Pauline Graham Jr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc66257735336486080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66257735336486080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 47ms (Views: 45.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66257735336486090000'), "name"=>"Stanford Doyle", "reference"=>"Zula Walter", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5391ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4924ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3247ms Completed 200 OK in 10ms (Views: 9.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc662577353364860a0000'), "name"=>"Mrs. Justina Hartmann", "reference"=>"Eda Towne", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc662577353364860b0000'), "name"=>"HelloWorld", "reference"=>"Lamar Pfannerstill", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc662577353364860c0000'), "name"=>"value", "reference"=>"Mr. Eleonore Bins", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$"=>"HelloWorld"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9897ms Completed 500 Internal Server Error in 892ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc662677353364860d0000'), "name"=>"Moshe Conroy", "reference"=>"Rhea Ward MD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8598ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9686ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5464ms Completed 200 OK in 25ms (Views: 23.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc662677353364860e0000'), "name"=>"Gerardo White", "reference"=>"Dr. Hazle McGlynn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6428ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7553ms Completed 200 OK in 6ms (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('53fc662677353364860f0000'), "name"=>"Mr. Jett Adams", "reference"=>"Doyle Anderson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6243ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc662677353364860f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc662677353364860f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66267735336486100000'), "name"=>"Rita Weber", "reference"=>"Skye Brown", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5860ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 36ms (Views: 6.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66267735336486120000'), "name"=>"Christian Bergstrom", "reference"=>"Celestine Jast", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6294ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc66267735336486120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4296ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66267735336486130000'), "name"=>"Abigayle Upton", "reference"=>"Theo Schulist", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2940ms 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('53fc66267735336486140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2792ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc66267735336486150000'), "name"=>"Mathias MacGyver V", "reference"=>"Dr. Elian Stark", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc66267735336486150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms 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('53fc66267735336486160000'), "name"=>"Linwood Swift", "reference"=>"Hailee Rath", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms 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('53fc66267735336486180000'), "name"=>"Dylan Moen", "reference"=>"Ms. Donato Robel", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc66267735336486180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms 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('53fc66267735336486190000'), "name"=>"Charity Nicolas", "reference"=>"Ms. Noemy Kulas", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc66267735336486190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc66267735336486190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Redirected to http://test.host/products/53fc66267735336486190000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms 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.3007ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms 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.3548ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6750ms 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.4354ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af000000'), "name"=>"Bonita Heaney", "reference"=>"Aurore Kirlin III", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af010000'), "name"=>"Mr. Yessenia Paucek", "reference"=>"Mr. Deondre Tillman", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af020000'), "name"=>"Savion Hudson", "reference"=>"Rose Gleichner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af030000'), "name"=>"Amya Haley", "reference"=>"Gudrun Crist", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af040000'), "name"=>"Asia McKenzie", "reference"=>"Rudy Shields", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af050000'), "name"=>"Mrs. Haskell Mohr", "reference"=>"Enrique Nienow", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1703ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Redirected to http://test.host/products/53fc664177353364af060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1858ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af070000'), "name"=>"Dr. Charley Little", "reference"=>"Danika O'Kon", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.1625ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc664177353364af070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc664177353364af070000')} 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('53fc664177353364af070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms 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('53fc664177353364af080000'), "name"=>"Miss Betsy Huels", "reference"=>"Louie Crona", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc664177353364af080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc664177353364af080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 47ms (Views: 46.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af090000'), "name"=>"Abbigail Brekke", "reference"=>"Lonie Morissette", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4362ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2816ms Completed 200 OK in 10ms (Views: 9.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af0a0000'), "name"=>"Kenya Block", "reference"=>"Ms. Hollis Goldner", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af0b0000'), "name"=>"HelloWorld", "reference"=>"Fabian Parker II", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc664177353364af0c0000'), "name"=>"value", "reference"=>"Kristin Dooley V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.9711ms Completed 200 OK in 3465ms (Views: 2849.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5623ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3963ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$eq"=>"HelloWorld"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8440ms Completed 200 OK in 26926ms (Views: 11.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$eq"=>"HelloWorld"}}} runtime: 0.5733ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$eq"=>"HelloWorld"}}} runtime: 0.5137ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4555ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af0d0000'), "name"=>"Leonardo Romaguera", "reference"=>"Mrs. Simeon Barrows", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6995ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1719ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6804ms Completed 200 OK in 25ms (Views: 23.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5042ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af0e0000'), "name"=>"Oren Spencer", "reference"=>"Queenie Reichert", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms Completed 200 OK in 5ms (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('53fc666077353364af0f0000'), "name"=>"Milton Crona Jr.", "reference"=>"Reilly Rippin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc666077353364af0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms Completed 200 OK in 2ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af100000'), "name"=>"Lenna Rowe", "reference"=>"Maxie Toy IV", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 30ms (Views: 6.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af120000'), "name"=>"Cordie Pouros", "reference"=>"Marcelina Berge", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc666077353364af120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms Completed 200 OK in 38ms (Views: 36.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af130000'), "name"=>"Brandi Homenick", "reference"=>"Lucio Gibson III", "quantity"=>0}] 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.2014ms 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('53fc666077353364af140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2133ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666077353364af150000'), "name"=>"Ms. Golden Casper", "reference"=>"Rogelio Koelpin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc666077353364af150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af150000')} 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('53fc666077353364af150000')} 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('53fc666077353364af160000'), "name"=>"Kaden Mante", "reference"=>"Robyn Hilll", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms 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('53fc666077353364af180000'), "name"=>"Miss Krista Lowe", "reference"=>"Leslie Smith", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc666077353364af180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms 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('53fc666077353364af190000'), "name"=>"Jensen Jacobson", "reference"=>"Kayla Will", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc666077353364af190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666077353364af190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Redirected to http://test.host/products/53fc666077353364af190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5029ms 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.4147ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms 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.3694ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6186ms 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.4138ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666277353364d9000000'), "name"=>"Oscar Ondricka", "reference"=>"Glenna Turcotte", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666277353364d9010000'), "name"=>"Wanda Ebert IV", "reference"=>"Susan Halvorson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666277353364d9020000'), "name"=>"Karen Collins", "reference"=>"Art Feeney MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666277353364d9030000'), "name"=>"Holden Luettgen", "reference"=>"Cooper Weber III", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666277353364d9040000'), "name"=>"Ms. Dayne Gleason", "reference"=>"Arjun Oberbrunner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d9050000'), "name"=>"Zora Rolfson", "reference"=>"Josiane Cruickshank II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d9060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Redirected to http://test.host/products/53fc666377353364d9060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2110ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d9070000'), "name"=>"Frederic Osinski", "reference"=>"Gustave Rippin", "quantity"=>0}] 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.1896ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc666377353364d9070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666377353364d9070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666377353364d9070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms 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.1747ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d9080000'), "name"=>"Ernestina Osinski V", "reference"=>"Immanuel Rath", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc666377353364d9080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666377353364d9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 49ms (Views: 48.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d9090000'), "name"=>"Lila Haley", "reference"=>"Mrs. Marjolaine Skiles", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3087ms Completed 200 OK in 11ms (Views: 10.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d90a0000'), "name"=>"Benjamin Toy", "reference"=>"Reece Howe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d90b0000'), "name"=>"HelloWorld", "reference"=>"Kirk Feest", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666377353364d90c0000'), "name"=>"value", "reference"=>"Miss Hipolito Schinner", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0469ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.9382ms Completed 200 OK in 4354ms (Views: 1535.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5037ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4729ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3680ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$fuck"=>"HelloWorld"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0623ms Completed 500 Internal Server Error in 2577ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d90d0000'), "name"=>"Josefa Bednar V", "reference"=>"Destiny Johnson I", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9308ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0788ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5196ms Completed 200 OK in 27ms (Views: 25.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7510ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d90e0000'), "name"=>"Jennie Ratke MD", "reference"=>"Erica Kunze", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6277ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8991ms Completed 200 OK in 8ms (Views: 2.5ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d90f0000'), "name"=>"Ahmed Gutkowski", "reference"=>"Eliane Hamill", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5821ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc666a77353364d90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms 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('53fc666a77353364d9100000'), "name"=>"Stacey Hammes", "reference"=>"Phyllis Batz", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.3ms) Completed 200 OK in 66ms (Views: 42.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d9120000'), "name"=>"Jeanne Gislason", "reference"=>"Mrs. Zaria Schaefer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6489ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc666a77353364d9120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4568ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d9130000'), "name"=>"Ara Dibbert", "reference"=>"Rosemary Reilly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2826ms 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('53fc666a77353364d9140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0067ms Completed 201 Created in 5ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3996ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc666a77353364d9150000'), "name"=>"Anais Hilll", "reference"=>"Beryl Berge", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc666a77353364d9150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9150000')} 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('53fc666a77353364d9150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms 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('53fc666a77353364d9160000'), "name"=>"Coty Conroy", "reference"=>"Sanford Ortiz", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms 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('53fc666a77353364d9180000'), "name"=>"Danny Leuschke", "reference"=>"Coby Watsica", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc666a77353364d9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5256ms 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('53fc666a77353364d9190000'), "name"=>"Trever Hintz III", "reference"=>"Delia Nader", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc666a77353364d9190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc666a77353364d9190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms Redirected to http://test.host/products/53fc666a77353364d9190000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms 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.2575ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms 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.2486ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4781ms 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.3300ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b000000'), "name"=>"Laila Hammes", "reference"=>"Bryon Jerde", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b010000'), "name"=>"Jovany Huels", "reference"=>"Beryl Turcotte", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b020000'), "name"=>"Mr. Elenora Balistreri", "reference"=>"Lelia Mitchell", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b030000'), "name"=>"Richie Blanda", "reference"=>"Wilfredo O'Connell", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b040000'), "name"=>"Buck Bayer", "reference"=>"Moises Barrows", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b050000'), "name"=>"Jean Brakus", "reference"=>"Adrien Gleason DVM", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1720ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Redirected to http://test.host/products/53fc6757773533654b060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b070000'), "name"=>"Melba Buckridge MD", "reference"=>"Sydni Rowe MD", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1826ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc6757773533654b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6757773533654b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6757773533654b070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms 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.1837ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b080000'), "name"=>"Osvaldo Bayer", "reference"=>"Ms. Doyle Hayes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc6757773533654b080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6757773533654b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 49ms (Views: 48.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b090000'), "name"=>"Zetta Considine", "reference"=>"Benny Ward II", "quantity"=>1}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2460ms Completed 200 OK in 10ms (Views: 9.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b0a0000'), "name"=>"Peggie Green", "reference"=>"Noah Rodriguez Sr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b0b0000'), "name"=>"HelloWorld", "reference"=>"Guadalupe Russel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6757773533654b0c0000'), "name"=>"value", "reference"=>"Maiya Abernathy", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>/.*HelloWorld.*/i} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9472ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.8988ms Completed 200 OK in 1742ms (Views: 358.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.4779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.6094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4580ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8830ms Completed 200 OK in 597ms (Views: 11.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.6591ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.5673ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4863ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6759773533654b0d0000'), "name"=>"Nikolas Bergstrom", "reference"=>"Lelah Jacobson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6846ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4224ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4921ms Completed 200 OK in 26ms (Views: 24.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4575ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6759773533654b0e0000'), "name"=>"Bridgette Rempel", "reference"=>"Coralie D'Amore", "quantity"=>3}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms Completed 200 OK in 5ms (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('53fc6759773533654b0f0000'), "name"=>"Darrell Turcotte", "reference"=>"Esmeralda Renner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc6759773533654b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms 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('53fc6759773533654b100000'), "name"=>"Thomas Lakin III", "reference"=>"Berneice Runolfsdottir PhD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 28ms (Views: 6.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6759773533654b120000'), "name"=>"Lavern Rolfson", "reference"=>"Camille VonRueden", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc6759773533654b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4383ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6759773533654b130000'), "name"=>"Miss Noah Macejkovic", "reference"=>"Ottilie Dach", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5963ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3020ms 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('53fc6759773533654b140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2924ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc6759773533654b150000'), "name"=>"Susana Stroman", "reference"=>"Shakira Abshire", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc6759773533654b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms 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('53fc6759773533654b160000'), "name"=>"Alexander Adams", "reference"=>"Mrs. Lois Murray", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms 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('53fc6759773533654b180000'), "name"=>"Mr. Yvette Volkman", "reference"=>"Dr. Carey Heidenreich", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6759773533654b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms 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('53fc6759773533654b190000'), "name"=>"Heath Rohan", "reference"=>"Eugene Lehner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc6759773533654b190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4359ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc6759773533654b190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms Redirected to http://test.host/products/53fc6759773533654b190000 Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4967ms 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.4263ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms 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.3936ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5918ms 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.3075ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f000000'), "name"=>"Laisha Predovic", "reference"=>"Ms. Kathleen Ernser", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f010000'), "name"=>"Madeline Okuneva", "reference"=>"Jorge Kreiger", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f020000'), "name"=>"Willa Beier", "reference"=>"Gilberto Kulas DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f030000'), "name"=>"Torey Zemlak", "reference"=>"Fiona Dibbert", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f040000'), "name"=>"Mrs. Zackery Kuhn", "reference"=>"Jaclyn Funk Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f050000'), "name"=>"Dr. Stephen Simonis", "reference"=>"Mrs. Melba Bednar", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.4191ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4396ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms Redirected to http://test.host/products/53fc679d773533657f060000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2867ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f070000'), "name"=>"Brooks Homenick Jr.", "reference"=>"Marianne Robel", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2625ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc679d773533657f070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc679d773533657f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4357ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc679d773533657f070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms 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.2529ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f080000'), "name"=>"Hulda Shields", "reference"=>"Bennett Considine", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc679d773533657f080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc679d773533657f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.8ms) Completed 200 OK in 63ms (Views: 61.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f090000'), "name"=>"Roger Walter Sr.", "reference"=>"Kurt Roberts", "quantity"=>3}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2678ms Completed 200 OK in 13ms (Views: 12.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f0a0000'), "name"=>"Marley Von", "reference"=>"Theo Runte", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f0b0000'), "name"=>"HelloWorld", "reference"=>"Merritt Kertzmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc679d773533657f0c0000'), "name"=>"value", "reference"=>"Lindsay Huels", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{"name"=>/.*HelloWorld.*/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{"name"=>/.*HelloWorld.*/i}, "$orderby"=>{:_id=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0387ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.9333ms Completed 200 OK in 174221ms (Views: 437.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5574ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>/.*HelloWorld.*/i}} runtime: 0.5299ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4337ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5914ms Completed 200 OK in 10ms (Views: 9.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.5048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4471ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4107ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684b773533657f0d0000'), "name"=>"Anissa Lesch", "reference"=>"Mr. Elvis Corwin", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6002ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0387ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4805ms Completed 200 OK in 61ms (Views: 59.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4255ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684c773533657f0e0000'), "name"=>"Miss Norris Kohler", "reference"=>"Dr. Tobin Morar", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4292ms Completed 200 OK in 4ms (Views: 1.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684c773533657f0f0000'), "name"=>"Reymundo Kautzer", "reference"=>"Regan Tremblay", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc684c773533657f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f0f0000')} 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('53fc684c773533657f100000'), "name"=>"Amparo Bogisich", "reference"=>"Mrs. Rosalind Weimann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 23ms (Views: 5.2ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684c773533657f120000'), "name"=>"Sarai Murray V", "reference"=>"Shannon Bednar", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc684c773533657f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684c773533657f130000'), "name"=>"Jayne Dach", "reference"=>"Efrain Medhurst", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2317ms 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('53fc684c773533657f140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2406ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc684c773533657f150000'), "name"=>"Elfrieda Smitham MD", "reference"=>"Talon Herzog PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc684c773533657f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms 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('53fc684c773533657f160000'), "name"=>"Estell Rutherford", "reference"=>"Wilton O'Hara", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms 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('53fc684c773533657f180000'), "name"=>"Addie Bode II", "reference"=>"Charlie Konopelski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc684c773533657f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms 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('53fc684c773533657f190000'), "name"=>"Muhammad Lesch", "reference"=>"Ethyl Hayes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2410ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc684c773533657f190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc684c773533657f190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Redirected to http://test.host/products/53fc684c773533657f190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms 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.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.6429ms 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.3471ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories 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=clients selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3000000'), "name"=>"Elda Hane", "reference"=>"Jaclyn Lakin", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3010000'), "name"=>"Lucas Rowe", "reference"=>"Maureen Kovacek", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3020000'), "name"=>"Mrs. Cordell Kihn", "reference"=>"Dr. Favian Okuneva", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3030000'), "name"=>"Mike Blick", "reference"=>"Rosalee Herman", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3040000'), "name"=>"Albin Hegmann V", "reference"=>"Ethyl Reynolds Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3050000'), "name"=>"Arnoldo Becker", "reference"=>"Ms. Angelo Pfeffer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1723ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3060000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms Redirected to http://test.host/products/53fc688e77353365e3060000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1931ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3070000'), "name"=>"Iva Durgan", "reference"=>"Adolfo Block", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1825ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"53fc688e77353365e3070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3070000')} 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('53fc688e77353365e3070000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms 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.1874ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3080000'), "name"=>"Ernesto Rippin", "reference"=>"Lourdes Wolff Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"53fc688e77353365e3080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 47ms (Views: 46.1ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3090000'), "name"=>"Ruth Dooley", "reference"=>"Enoch Parker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3532ms Completed 200 OK in 11ms (Views: 10.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30a0000'), "name"=>"Giovanni Nolan DVM", "reference"=>"Dr. Hilbert Walsh", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.5594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30b0000'), "name"=>"HelloWorld", "reference"=>"Allison Williamson II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30c0000'), "name"=>"value", "reference"=>"Jeanette Schoen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5414ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4256ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3924ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3787ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3097ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3698ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3371ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2290ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30d0000'), "name"=>"Marcelo Mills DDS", "reference"=>"Tanya Altenwerth", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3461ms Completed 200 OK in 11ms (Views: 10.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5854ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30e0000'), "name"=>"Abbigail Stokes", "reference"=>"Leanna Bashirian Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4297ms Completed 200 OK in 4ms (Views: 1.1ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e30f0000'), "name"=>"Mrs. Liana Rodriguez", "reference"=>"Marjorie Lind", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Processing by ProductsController#show as JSON Parameters: {"id"=>"53fc688e77353365e30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms 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('53fc688e77353365e3100000'), "name"=>"Sylvan Stoltenberg", "reference"=>"Winona Morissette", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9052ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 23ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3120000'), "name"=>"Vance McGlynn", "reference"=>"Harry Casper", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms Processing by ProductsController#show as HTML Parameters: {"id"=>"53fc688e77353365e3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms Completed 200 OK in 27ms (Views: 25.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3130000'), "name"=>"Mrs. Immanuel Wolff", "reference"=>"Melba Spencer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5715ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3113ms 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('53fc688e77353365e3140000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5878ms Completed 201 Created in 35ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2852ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53fc688e77353365e3150000'), "name"=>"Marty Hayes", "reference"=>"Keeley Langworth", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"53fc688e77353365e3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3150000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms 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('53fc688e77353365e3160000'), "name"=>"Brendon Orn", "reference"=>"Ms. Tania Hackett", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3422ms 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('53fc688e77353365e3180000'), "name"=>"Melody Stiedemann", "reference"=>"Kennith Heathcote", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc688e77353365e3180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3180000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms 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('53fc688e77353365e3190000'), "name"=>"Sylvan Prohaska", "reference"=>"Melyna Bednar", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53fc688e77353365e3190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53fc688e77353365e3190000')} 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('53fc688e77353365e3190000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Redirected to http://test.host/products/53fc688e77353365e3190000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9300ms 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.4106ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.9499ms 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.7935ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3409ms 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.4600ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efb77353372d3000000'), "firstname"=>"Eldridge", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5232ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2132ms 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('541b0efb77353372d3010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6092ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3119ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efb77353372d3020000'), "firstname"=>"Mylene", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"541b0efb77353372d3020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efb77353372d3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4133ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (241.7ms) Completed 200 OK in 404ms (Views: 402.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efb77353372d3030000'), "firstname"=>"Arielle", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8034ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efb77353372d3040000'), "firstname"=>"Ressie", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6528ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"541b0efb77353372d3040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efb77353372d3040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4608ms Completed 200 OK in 6ms (Views: 4.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3050000'), "firstname"=>"Elbert", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5982ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"541b0efc77353372d3050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efc77353372d3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4793ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3060000'), "name"=>"Norene Langosh", "reference"=>"Beatrice MacGyver", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3070000'), "author_name"=>"Joanny Kohler", "content"=>["Aliquid nam et enim et nostrum voluptas sit. Enim repellendus sed. Inventore nulla autem perferendis consectetur. Quod est ab sit. Voluptatem ipsum nulla tempora quo et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"541b0efc77353372d3060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Redirected to http://test.host/admin/products/541b0efc77353372d3060000/comments/541b0efc77353372d3080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3090000'), "name"=>"Devan Metz", "reference"=>"Mr. Christa Lueilwitz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d30a0000'), "author_name"=>"Raul Hilpert", "content"=>["Totam sit cum. Debitis sint quibusdam et accusamus eaque voluptates repellendus. Quos ipsa qui commodi sapiente amet ea. Iste dolorem aperiam architecto qui voluptas consectetur eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"541b0efc77353372d3090000", "id"=>"541b0efc77353372d30a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('541b0efc77353372d30a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Redirected to http://test.host/admin/products/541b0efc77353372d3090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d30b0000'), "name"=>"Mallory Kuhn", "reference"=>"Cullen Bosco", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d30c0000'), "author_name"=>"Jessie Durgan", "content"=>["Voluptates numquam quae qui qui dolorem vero. Sit qui fugiat ducimus. Voluptas et soluta consequuntur dicta libero laudantium. Aspernatur possimus qui consequatur placeat inventore. Labore ratione quos autem aut eum animi non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"541b0efc77353372d30b0000", "id"=>"541b0efc77353372d30c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d30b0000')} 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 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d30d0000'), "name"=>"Jaime Keeling", "reference"=>"Ms. Wilson Zieme", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d30e0000'), "author_name"=>"Mrs. Nya Wehner", "content"=>["Et praesentium sunt id. Quos iure dolorum nobis impedit quia odit nihil. Et veniam quae voluptatem non. Rerum aliquam velit et quasi quidem qui magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"541b0efc77353372d30d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d30f0000'), "name"=>"Lennie Abernathy", "reference"=>"Ashlee Hoeger", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3100000'), "author_name"=>"Providenci Weber", "content"=>["Eaque omnis et ut. Omnis est incidunt. Soluta maxime quia ea quo dolores asperiores. Voluptates modi et ut deserunt maiores. Qui eaque sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"541b0efc77353372d30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3110000'), "name"=>"Charlie Marks", "reference"=>"Alaina Towne", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3120000'), "author_name"=>"Mathilde Morissette", "content"=>["Rem sunt qui provident iure quo sunt optio. At quis ut. Molestias rerum deserunt commodi ab magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"541b0efc77353372d3110000", "id"=>"541b0efc77353372d3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3130000'), "name"=>"Trey Wintheiser", "reference"=>"Kitty Bernier", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3140000'), "author_name"=>"Ruthe O'Conner", "content"=>["Hic cupiditate corrupti vel consectetur voluptatem aspernatur. Odio minima recusandae. A est est placeat nesciunt voluptas. Nobis impedit in eos dolorem ipsum. Aut ex omnis culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"541b0efc77353372d3140000", "product_id"=>"541b0efc77353372d3130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3130000'), "comments._id"=>BSON::ObjectId('541b0efc77353372d3140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Redirected to http://test.host/admin/products/541b0efc77353372d3130000/comments/541b0efc77353372d3140000 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('541b0efc77353372d3150000'), "name"=>"Miss Boyd Will", "reference"=>"Gloria Ritchie", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3160000'), "firstname"=>"Rodolfo", "lastname"=>"Fritsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"541b0efc77353372d3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3934ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4382ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms Redirected to http://test.host/admin/products/541b0efc77353372d3150000/manager Completed 302 Found in 10ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3180000'), "name"=>"Dr. Constantin Gutkowski", "reference"=>"Katrina Schaefer", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3190000'), "firstname"=>"Princess", "lastname"=>"Ruecker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6171ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"541b0efc77353372d3190000", "product_id"=>"541b0efc77353372d3180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4624ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 12ms (Views: 8.9ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d31a0000'), "name"=>"Miss Sallie Kunde", "reference"=>"Blaise Orn", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d31b0000'), "firstname"=>"Ron", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"541b0efc77353372d31a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d31a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) 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('541b0efc77353372d31c0000'), "name"=>"Miss Ernesto Kuhlman", "reference"=>"Gina Treutel", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d31d0000'), "firstname"=>"Shanon", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"541b0efc77353372d31d0000", "product_id"=>"541b0efc77353372d31c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d31e0000'), "name"=>"Madge Rempel", "reference"=>"Ramon Mueller", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('541b0efc77353372d31f0000'), "firstname"=>"Linnie", "lastname"=>"Yundt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"541b0efc77353372d31f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"541b0efc77353372d31e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d31e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Unpermitted parameters: name Redirected to http://test.host/admin/products/541b0efc77353372d31e0000/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('541b0efc77353372d3200000'), "name"=>"Monroe Nolan V", "reference"=>"Trinity Turcotte", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3060ms 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('541b0efc77353372d3210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms Redirected to http://test.host/admin/products/541b0efc77353372d3210000 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('541b0efc77353372d3220000'), "name"=>"Kallie Moen", "reference"=>"Clair Haley", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1932ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"541b0efc77353372d3220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3220000')} 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('541b0efc77353372d3220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1861ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3230000'), "name"=>"Damaris Halvorson", "reference"=>"Joan Stamm", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1805ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"541b0efc77353372d3230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3240000'), "name"=>"Katheryn Kshlerin", "reference"=>"Ernestine Lakin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms 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.5590ms Completed 200 OK in 12ms (Views: 11.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3250000'), "name"=>"Alford Conn", "reference"=>"Darrin Johnston", "quantity"=>8}] 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 200 OK in 20ms (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('541b0efc77353372d3280000'), "name"=>"Lonnie Jenkins", "reference"=>"Russell Weber", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"541b0efc77353372d3280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms 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('541b0efc77353372d3290000'), "name"=>"Rosie Kuhic", "reference"=>"Eileen Cormier IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"541b0efc77353372d3290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms Redirected to http://test.host/admin/products/541b0efc77353372d3290000 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('541b0efc77353372d32a0000'), "firstname"=>"Orlo", "lastname"=>"Kuhlman"}] 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.1895ms 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('541b0efc77353372d32b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Redirected to http://test.host/admin/users/541b0efc77353372d32b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1994ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d32c0000'), "firstname"=>"Eldon", "lastname"=>"Kuhlman"}] 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.2094ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"541b0efc77353372d32c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efc77353372d32c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efc77353372d32c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms 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.2026ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d32d0000'), "firstname"=>"Carey", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"541b0efc77353372d32d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efc77353372d32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d32e0000'), "firstname"=>"Cordie", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms 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.3486ms 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('541b0efc77353372d32f0000'), "firstname"=>"Mable", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms 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.6ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3300000'), "firstname"=>"Judge", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8290ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"541b0efc77353372d3300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efc77353372d3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5961ms Completed 200 OK in 9ms (Views: 6.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3310000'), "firstname"=>"Jovanny", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6206ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"541b0efc77353372d3310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efc77353372d3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5463ms Unpermitted parameters: name Redirected to http://test.host/admin/users/541b0efc77353372d3310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3320000'), "firstname"=>"Tatyana", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6114ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3160ms 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('541b0efc77353372d3330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms 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.3281ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3340000'), "firstname"=>"Brent", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"541b0efc77353372d3340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efc77353372d3340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('541b0efc77353372d3350000'), "firstname"=>"Lindsey", "lastname"=>"Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9979ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3360000'), "firstname"=>"Demario", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5349ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"541b0efc77353372d3360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efc77353372d3360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3370000'), "firstname"=>"Khalil", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5023ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"541b0efc77353372d3370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('541b0efc77353372d3370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3380000'), "name"=>"Dr. Imelda Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3390000'), "name"=>"Mitchell Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33a0000'), "name"=>"Miss Madisen Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33b0000'), "name"=>"Burnice Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33c0000'), "name"=>"Kendra Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33d0000'), "name"=>"Ardella Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33e0000'), "name"=>"Valentine Bayer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d33f0000'), "name"=>"Armando Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d33f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3400000'), "name"=>"Mary Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3410000'), "name"=>"Mr. Titus Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3420000'), "name"=>"Aubree Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3430000'), "name"=>"Alfonzo Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3440000'), "name"=>"Elisha Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3450000'), "name"=>"Mr. Rashad Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3460000'), "name"=>"Curtis Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3470000'), "name"=>"Skye Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3480000'), "name"=>"Zola Parisian DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3490000'), "name"=>"Dr. Lorena Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34a0000'), "name"=>"Will Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34b0000'), "name"=>"Breanne Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34c0000'), "name"=>"Ambrose Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34d0000'), "name"=>"Keyshawn Schamberger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34e0000'), "name"=>"Ms. Cornell Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d34f0000'), "name"=>"Kris Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d34f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3500000'), "name"=>"Itzel Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3510000'), "name"=>"Claudine Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3520000'), "name"=>"Adelle MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3530000'), "name"=>"Otto Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3540000'), "name"=>"Jacky Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3550000'), "name"=>"Mrs. Josh Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3560000'), "name"=>"Miss Mara Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3570000'), "name"=>"Jose Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3580000'), "name"=>"Josephine Purdy PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3590000'), "name"=>"Maude Fay I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35a0000'), "name"=>"Urban Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35b0000'), "name"=>"Claire Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35c0000'), "name"=>"Araceli Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35d0000'), "name"=>"Dr. Brendon Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35e0000'), "name"=>"Ms. Nikki Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d35f0000'), "name"=>"Daron Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d35f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3600000'), "name"=>"Einar Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3610000'), "name"=>"Jerrell Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3620000'), "name"=>"Mr. Billy Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3630000'), "name"=>"Mr. Millie Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3640000'), "name"=>"Reva Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3650000'), "name"=>"Adrian Glover DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3660000'), "name"=>"Ettie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3670000'), "name"=>"Micheal Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3680000'), "name"=>"Joseph Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3690000'), "name"=>"Griffin Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36a0000'), "name"=>"Miss Hans Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36b0000'), "name"=>"Hadley Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36c0000'), "name"=>"Anjali Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36d0000'), "name"=>"Louisa Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36e0000'), "name"=>"Candelario Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d36f0000'), "name"=>"Toni Cassin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d36f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3700000'), "name"=>"Kennith Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3710000'), "name"=>"Deron Powlowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3720000'), "name"=>"Wanda Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3730000'), "name"=>"Dr. Orland Waters"}] 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={"category_id"=>BSON::ObjectId('541b0efc77353372d3730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3740000'), "name"=>"Dortha Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3750000'), "name"=>"Amina Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3760000'), "name"=>"Myra Ankunding"}] 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={"category_id"=>BSON::ObjectId('541b0efc77353372d3760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3770000'), "name"=>"Jevon Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3780000'), "name"=>"Judd Mann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3790000'), "name"=>"Mr. Piper Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37a0000'), "name"=>"Ms. Connie Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37b0000'), "name"=>"Arch Schowalter Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37c0000'), "name"=>"Jany Paucek V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37d0000'), "name"=>"Esther Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37e0000'), "name"=>"Osbaldo Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d37f0000'), "name"=>"Miss Laverna Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d37f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3800000'), "name"=>"Dr. Kathlyn Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3810000'), "name"=>"Nona Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3820000'), "name"=>"Georgette Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3830000'), "name"=>"Maud Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3840000'), "name"=>"Reinhold Cormier V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3850000'), "name"=>"Damion Bode I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3860000'), "name"=>"Miss Salvatore Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3870000'), "name"=>"Kathleen Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3880000'), "name"=>"Lavada Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3890000'), "name"=>"Emil Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38a0000'), "name"=>"Kayley Cole PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38b0000'), "name"=>"Donna Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38c0000'), "name"=>"Kaley Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38d0000'), "name"=>"Karianne Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38e0000'), "name"=>"Jany Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d38f0000'), "name"=>"Kimberly Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d38f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3900000'), "name"=>"Moises Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3910000'), "name"=>"Marc Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3920000'), "name"=>"Desmond Oberbrunner III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3930000'), "name"=>"Fredy Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3940000'), "name"=>"D'angelo Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3950000'), "name"=>"Crystel Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3960000'), "name"=>"Lora Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3970000'), "name"=>"Glenna Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2777ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Redirected to http://test.host/categories/541b0efc77353372d3980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2868ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3990000'), "name"=>"Destini Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2572ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"541b0efc77353372d3990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d3990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3865ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d3990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms Redirected to http://test.host/categories Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3478ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d39a0000'), "name"=>"Ms. Leanna Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"541b0efc77353372d39a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.0ms) Completed 200 OK in 13ms (Views: 11.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d39b0000'), "name"=>"Jovany Brown V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[283978195623] runtime: 0.1198ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2929ms Completed 200 OK in 19ms (Views: 18.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d39c0000'), "name"=>"Esteban Dooley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[284115413490] runtime: 0.0830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2785ms Completed 200 OK in 10ms (Views: 9.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d39d0000'), "name"=>"Katelynn Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 7ms (Views: 6.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d39f0000'), "name"=>"Braxton Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"541b0efc77353372d39f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4274ms Completed 200 OK in 30ms (Views: 3.7ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3a00000'), "name"=>"Mittie Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"541b0efc77353372d3a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('541b0efc77353372d3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Redirected to http://test.host/categories/541b0efc77353372d3a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3a10000'), "name"=>"Alvah Reichert", "reference"=>"Ms. Faye Veum", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3a20000'), "author_name"=>"Roxanne Rolfson", "content"=>["Optio magni adipisci rerum qui fuga. Dolores unde fugit autem cum iste ea. Temporibus sed sint fugiat velit inventore id perspiciatis. Quae hic velit. Accusantium est non est asperiores vel cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"541b0efc77353372d3a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Redirected to http://test.host/products/541b0efc77353372d3a10000/comments/541b0efc77353372d3a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efc77353372d3a40000'), "name"=>"Jasen Bechtelar", "reference"=>"Fabian Reinger", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('541b0efc77353372d3a50000'), "author_name"=>"Ms. Marisa Larkin", "content"=>["Veniam pariatur amet dolor labore perspiciatis deleniti expedita. Voluptate neque vel et sed eveniet officiis. Recusandae quaerat et quo. Eos suscipit omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"541b0efc77353372d3a40000", "id"=>"541b0efc77353372d3a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('541b0efc77353372d3a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.6370ms Redirected to http://test.host/products/541b0efc77353372d3a40000/comments Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efc77353372d3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4587ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3a60000'), "name"=>"Lucienne Legros", "reference"=>"Frederic Pagac DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3a70000'), "author_name"=>"Stanford Corwin", "content"=>["Optio rerum sint. Temporibus eius molestias mollitia nesciunt ratione. Et omnis expedita et odit animi id. Illum aut exercitationem facilis amet explicabo dolores qui. Nulla sunt repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"541b0efd77353372d3a60000", "id"=>"541b0efd77353372d3a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3a80000'), "name"=>"Asa Champlin I", "reference"=>"Kenna Boyer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3a90000'), "author_name"=>"Roman Brakus", "content"=>["Corporis et voluptatem mollitia officia. Autem est inventore eos laboriosam nemo. Nobis praesentium tempora nulla sit reprehenderit accusamus. Aperiam culpa dignissimos ipsam. Sed ea aperiam et assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6059ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"541b0efd77353372d3a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3aa0000'), "name"=>"Lavinia Marquardt", "reference"=>"Loma Stokes", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ab0000'), "author_name"=>"Elinore Streich", "content"=>["Voluptas libero veniam beatae sapiente consequatur. Nam quasi consequuntur alias. Error sed neque molestiae velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"541b0efd77353372d3aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4363ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3ac0000'), "name"=>"Mathias Barton", "reference"=>"Loma Tillman", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ad0000'), "author_name"=>"Kurtis Carter", "content"=>["Fugit sunt corporis soluta. Debitis voluptas recusandae optio in consequuntur accusamus. Aliquid itaque sit dolores a inventore aut. A suscipit est hic minima totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8820ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"541b0efd77353372d3ac0000", "id"=>"541b0efd77353372d3ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4078ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3ae0000'), "name"=>"Johnny Kshlerin DDS", "reference"=>"Zackary Zieme", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3af0000'), "author_name"=>"Darryl Hilll", "content"=>["Et distinctio doloribus qui et. Voluptatibus atque itaque culpa non quibusdam. Itaque facilis aut est. Et aperiam qui ratione sequi ad delectus non. Voluptates laborum accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"541b0efd77353372d3ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b00000'), "name"=>"Camren Bauch", "reference"=>"Annamae Altenwerth II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3b10000'), "author_name"=>"Lavinia Champlin", "content"=>["Nemo fugit ut et impedit maiores placeat dignissimos. Et non velit vel. Beatae debitis ipsum enim nemo repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5987ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"541b0efd77353372d3b00000", "id"=>"541b0efd77353372d3b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3927ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b20000'), "name"=>"Jayden Altenwerth Jr.", "reference"=>"Citlalli Leffler", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3b30000'), "author_name"=>"Athena Berge PhD", "content"=>["Pariatur veritatis eveniet. Officiis assumenda possimus laboriosam aperiam veniam omnis. Qui animi dolorum et laborum amet. Sit accusantium quia quas iure nihil vero. Expedita eius sunt ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5960ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"541b0efd77353372d3b30000", "product_id"=>"541b0efd77353372d3b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b20000'), "comments._id"=>BSON::ObjectId('541b0efd77353372d3b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6634ms Redirected to http://test.host/products/541b0efd77353372d3b20000/comments/541b0efd77353372d3b30000 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('541b0efd77353372d3b40000'), "firstname"=>"Neil", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6503ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3031ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms Redirected to http://test.host/admin/clients/541b0efd77353372d3b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3225ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b60000'), "firstname"=>"Darron", "lastname"=>"Ullrich"}] 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=>"clients", :query=>{}} runtime: 0.2943ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"541b0efd77353372d3b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms 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.2989ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b70000'), "firstname"=>"Enrico", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"541b0efd77353372d3b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms) 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('541b0efd77353372d3b80000'), "firstname"=>"Raphaelle", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5525ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4656ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3b90000'), "firstname"=>"Gisselle", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 36ms (Views: 35.5ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3ba0000'), "firstname"=>"Carmelo", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6053ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"541b0efd77353372d3ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms 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('541b0efd77353372d3bb0000'), "firstname"=>"Elisha", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"541b0efd77353372d3bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5657ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6618ms Redirected to http://test.host/admin/clients/541b0efd77353372d3bb0000 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('541b0efd77353372d3bc0000'), "firstname"=>"Torey", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3791ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5966ms Redirected to http://test.host/clients/541b0efd77353372d3bd0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3702ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3be0000'), "firstname"=>"Margie", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3369ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"541b0efd77353372d3be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms Redirected to http://test.host/clients Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3704ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3bf0000'), "firstname"=>"Bernice", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"541b0efd77353372d3bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4576ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 7.6ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3c00000'), "firstname"=>"Caroline", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5866ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6011ms Completed 200 OK in 15ms (Views: 14.1ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3c10000'), "firstname"=>"Weston", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) 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('541b0efd77353372d3c20000'), "firstname"=>"Lewis", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5861ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"541b0efd77353372d3c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms 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('541b0efd77353372d3c30000'), "firstname"=>"Lucio", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5133ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"541b0efd77353372d3c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms Redirected to http://test.host/clients/541b0efd77353372d3c30000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3c40000'), "name"=>"Elliot Thiel", "reference"=>"Dessie Feil", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3c50000'), "firstname"=>"Adelia", "lastname"=>"Hammes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5952ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"541b0efd77353372d3c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms Redirected to http://test.host/products/541b0efd77353372d3c40000/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('541b0efd77353372d3c70000'), "name"=>"Lamont Beatty", "reference"=>"Spencer Jaskolski", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3c80000'), "firstname"=>"Kurtis", "lastname"=>"Harber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5532ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"541b0efd77353372d3c80000", "product_id"=>"541b0efd77353372d3c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms) 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('541b0efd77353372d3c90000'), "name"=>"Harrison Casper", "reference"=>"Tyshawn Morissette", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3ca0000'), "firstname"=>"Americo", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"541b0efd77353372d3c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3693ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3cb0000'), "name"=>"Ignatius Blanda", "reference"=>"Hector Mueller Sr.", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3cc0000'), "firstname"=>"Clifford", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by ManagersController#show as HTML Parameters: {"id"=>"541b0efd77353372d3cc0000", "product_id"=>"541b0efd77353372d3cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms Completed 200 OK in 6ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3cd0000'), "name"=>"Maryjane Marks", "reference"=>"Freddie Roberts", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3ce0000'), "firstname"=>"Presley", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms Processing by ManagersController#update as HTML Parameters: {"id"=>"541b0efd77353372d3ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"541b0efd77353372d3cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms Unpermitted parameters: name Redirected to http://test.host/products/541b0efd77353372d3cd0000/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('541b0efd77353372d3cf0000'), "name"=>"Magnolia Reichel", "reference"=>"Mrs. Gertrude Dibbert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d00000'), "name"=>"Dr. Gerhard Shields", "reference"=>"Remington Gleason", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d10000'), "name"=>"King Towne", "reference"=>"Skylar Crist V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d20000'), "name"=>"Miss Waldo Russel", "reference"=>"Mr. Anjali Muller", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d30000'), "name"=>"Marquis Hyatt I", "reference"=>"London Jones", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d40000'), "name"=>"Ms. Gustave Reichert", "reference"=>"Delaney Anderson I", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.2154ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms Redirected to http://test.host/products/541b0efd77353372d3d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3007ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d60000'), "name"=>"Dr. Angela Lang", "reference"=>"Audra Parisian IV", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.2091ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"541b0efd77353372d3d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4287ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms 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.2309ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d70000'), "name"=>"Maybell Pfeffer", "reference"=>"Bell Hodkiewicz", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"541b0efd77353372d3d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms 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_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d80000'), "name"=>"Jettie Reichert", "reference"=>"Drake Bruen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5101ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258400702715] runtime: 0.1013ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2888ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3d90000'), "name"=>"Vada Lubowitz", "reference"=>"Edgardo VonRueden", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3da0000'), "name"=>"HelloWorld", "reference"=>"Adelle Schmitt", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3db0000'), "name"=>"value", "reference"=>"Justyn Leannon I", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4326ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4573ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3515ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1726ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3537ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3313ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3dc0000'), "name"=>"Penelope Jacobson", "reference"=>"Mr. Karley Satterfield", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257984535903] runtime: 0.0965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2507ms Completed 200 OK in 17ms (Views: 16.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259314074459] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.7187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258466616553] runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257875181475] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259727712968] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259598335639] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258243134602] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259265860801] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257852494213] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259205162674] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259480707286] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259045565507] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257702686517] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257720678649] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259317034964] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258819042340] runtime: 0.0905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259675216908] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258781052158] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258236168820] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258040431198] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259122955747] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259840239884] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258668379159] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259476173569] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258924700224] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259006563686] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258675326538] runtime: 0.0957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259001181752] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257966539439] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259148046460] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259541743253] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258827845815] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259230787080] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259409839007] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258470855125] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258482187928] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259129534177] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259633709871] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258248735359] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258115164435] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258326876423] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259148306428] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258214420047] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258221082821] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258220331342] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258708073441] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258102984462] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259564419055] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259787255975] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258239721525] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258496799165] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258948426350] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257728424017] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259483547781] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259228167612] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258412521646] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259147661453] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259203838548] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259348163293] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257799908704] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259511805639] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258504764162] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259756172255] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257970714759] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259256109462] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258739188916] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258262391537] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258573753026] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259393468203] runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258485421098] runtime: 0.0909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258060920788] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258988018664] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259178650160] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257745570502] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258207011535] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259018860070] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258041013275] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258828050217] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257970044327] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259579372177] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257981940018] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259725490129] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258312562216] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258837954119] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258560279194] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259706674648] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259108070561] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259405573089] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259587802577] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258541699456] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258728264964] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259571021995] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257752757635] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259770020138] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257803066212] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259615939879] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259420508163] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258198768477] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257955179065] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257767175953] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258570720601] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258006315751] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259842347255] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259637528160] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259428203415] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259661313374] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259682884385] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258373761742] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259021127890] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258003149714] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258079483301] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257885814134] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259245979282] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258555755963] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258662426416] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258841196516] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257791749844] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258581559736] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258386549498] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259657323560] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258260203307] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259285200410] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258656694585] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257957858081] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258258640202] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259057978755] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259703149730] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259364044016] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258012413342] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258704050527] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259052481543] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259209769052] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259052693132] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258244190645] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259155520183] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258415602144] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259693256754] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258690066259] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259460069458] runtime: 0.1244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259485849275] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259735488232] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258962140458] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257996261627] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257797176950] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257888861797] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259759567833] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259296374062] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258220209086] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258071693998] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259564653828] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258051780639] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257839952704] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258543163418] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259024017720] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257834683790] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259114242233] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259396226406] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259525745120] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258983174285] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259114475007] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[257909406057] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[258156174979] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259397961903] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259206718239] runtime: 0.0524ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3dd0000'), "name"=>"Dr. Mekhi Parisian", "reference"=>"Mrs. Elbert Grady", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[259367078714] runtime: 0.0606ms Completed 200 OK in 5ms (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('541b0efd77353372d3de0000'), "name"=>"Bettie Johns II", "reference"=>"Roger Funk", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by ProductsController#show as JSON Parameters: {"id"=>"541b0efd77353372d3de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms 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('541b0efd77353372d3df0000'), "name"=>"Corbin Jenkins", "reference"=>"Mr. Meredith Turcotte", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.3874ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3e10000'), "name"=>"Ramon Murray", "reference"=>"Dr. Jolie Greenfelder", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6411ms Processing by ProductsController#show as HTML Parameters: {"id"=>"541b0efd77353372d3e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3e20000'), "name"=>"Bertha Franecki", "reference"=>"Victoria Conn IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3016ms 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('541b0efd77353372d3e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3038ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3e40000'), "name"=>"Doris Wehner", "reference"=>"Malachi Douglas", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"541b0efd77353372d3e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms 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('541b0efd77353372d3e50000'), "name"=>"Tracy Heidenreich", "reference"=>"Alexanne Homenick", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms 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('541b0efd77353372d3e70000'), "name"=>"Giovanny Leannon", "reference"=>"Ivory Nitzsche", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"541b0efd77353372d3e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms 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('541b0efd77353372d3e80000'), "name"=>"Concepcion Kulas", "reference"=>"Edwina Rohan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"541b0efd77353372d3e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3e80000')} 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('541b0efd77353372d3e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Redirected to http://test.host/products/541b0efd77353372d3e80000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3eb0000'), "name"=>"Miss Dashawn O'Conner", "reference"=>"Ms. Myrtle Kreiger", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3e90000'), "author_name"=>"Naomi Hyatt", "content"=>["Illo nesciunt voluptatibus quos. Vel soluta officia natus. Nihil nihil rerum minus. Non ut quae qui asperiores soluta ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ea0000'), "author_name"=>"Fannie Fay IV", "content"=>["Est error et necessitatibus dolore nulla. Recusandae tenetur dolores totam ducimus fuga quia illum. Exercitationem qui voluptatibus a ipsum. Aliquam et saepe. Et dolore nobis quia maxime hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"541b0efd77353372d3eb0000", "comment_id"=>"541b0efd77353372d3e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3eb0000'), "comments._id"=>BSON::ObjectId('541b0efd77353372d3e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms Redirected to http://test.host/products/541b0efd77353372d3eb0000/comments/541b0efd77353372d3e90000/comments/541b0efd77353372d3ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3ef0000'), "name"=>"Dr. Daniella Blick", "reference"=>"Luther Cremin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ed0000'), "author_name"=>"Keon Labadie", "content"=>["Dolores esse facere nostrum labore molestiae. Voluptatem voluptas libero. Aut numquam neque ipsam sint dolorem et recusandae. Aliquid dicta dolore omnis suscipit temporibus voluptates."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ee0000'), "author_name"=>"Ms. Aracely Ratke", "content"=>["Et possimus omnis eius. Deleniti qui voluptas dolorem eaque et sint quis. Eligendi itaque voluptatem modi odio sed excepturi. Assumenda quaerat impedit earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"541b0efd77353372d3ef0000", "comment_id"=>"541b0efd77353372d3ed0000", "id"=>"541b0efd77353372d3ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ef0000'), "comments._id"=>BSON::ObjectId('541b0efd77353372d3ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('541b0efd77353372d3ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms Redirected to http://test.host/products/541b0efd77353372d3ef0000/comments/541b0efd77353372d3ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3f20000'), "name"=>"Cathryn Cole", "reference"=>"Eliza Sipes III", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f00000'), "author_name"=>"Dr. Ronny Ratke", "content"=>["Quia quia officiis. Praesentium error quaerat. Rerum corrupti fugiat minima pariatur molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f10000'), "author_name"=>"Janice Romaguera", "content"=>["Sunt eveniet corporis dolores temporibus incidunt. Repellat vel aut et quos quia impedit. Alias doloribus aut modi ipsam soluta quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"541b0efd77353372d3f20000", "comment_id"=>"541b0efd77353372d3f00000", "id"=>"541b0efd77353372d3f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3f20000')} 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.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3f50000'), "name"=>"Chance Block III", "reference"=>"Maximillian Cormier", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f30000'), "author_name"=>"Madilyn Pollich IV", "content"=>["Excepturi vero id. Eum minus aliquid quia. Iste unde saepe et eum. Ut ipsam omnis nobis. Suscipit alias inventore debitis aliquid voluptatem voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f40000'), "author_name"=>"Mr. Arlo Stamm", "content"=>["Ut aspernatur commodi sed quam et ut. Id sunt enim eius voluptates. At similique est. Libero deserunt laboriosam quis quae exercitationem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"541b0efd77353372d3f50000", "comment_id"=>"541b0efd77353372d3f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3f80000'), "name"=>"Mavis Bradtke", "reference"=>"Dr. Isobel Homenick", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f60000'), "author_name"=>"Ward Prohaska", "content"=>["Repellendus voluptatem ex explicabo qui corrupti repudiandae. Provident voluptas tempora quia repudiandae consequuntur quia id. Delectus velit quibusdam perspiciatis sint. Sunt vitae voluptas dolor animi quia quia. Aut sed est debitis dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f70000'), "author_name"=>"Alyson Murray", "content"=>["Laboriosam inventore odit aut officia sit illo quo. Ad quos cupiditate quas ut ex. Qui praesentium saepe quo. Aperiam qui officiis est ut vel dolores consectetur. Hic ut qui praesentium quis sit inventore quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"541b0efd77353372d3f80000", "comment_id"=>"541b0efd77353372d3f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3fb0000'), "name"=>"Marion Carter", "reference"=>"Nora Fritsch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3f90000'), "author_name"=>"Miss Ludwig Hermann", "content"=>["Ut est exercitationem omnis ullam qui. Et quia alias consectetur. Placeat commodi velit ea. Voluptatibus et eos et. Est ex in voluptate vero earum."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3fa0000'), "author_name"=>"Randal Tremblay", "content"=>["Rerum illum consequuntur sit vero enim optio. In ea tenetur nisi veritatis eaque. Excepturi odio eos deserunt earum officia ut. Itaque veritatis ut id. Ut nisi sit possimus doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"541b0efd77353372d3fb0000", "comment_id"=>"541b0efd77353372d3f90000", "id"=>"541b0efd77353372d3fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3fe0000'), "name"=>"Osborne Waters", "reference"=>"Lewis Gottlieb", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3fc0000'), "author_name"=>"Ms. Dolly Bayer", "content"=>["Consectetur corrupti ut iste earum ducimus at. Qui impedit odit dicta voluptate. Error est dolor qui amet."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3fd0000'), "author_name"=>"Kaley Hamill", "content"=>["Earum ut voluptatum voluptatem voluptatem. Aliquam rem repellat eos nostrum ut architecto. Sunt et accusantium est pariatur excepturi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"541b0efd77353372d3fe0000", "comment_id"=>"541b0efd77353372d3fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efd77353372d3010100'), "name"=>"Mr. Gillian Klocko", "reference"=>"Albina Crona", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3ff0000'), "author_name"=>"Lorenza Hamill", "content"=>["Vel alias sequi rerum nostrum. Laboriosam esse et fugit officiis. Sed excepturi doloribus veritatis iusto. Quaerat neque voluptatem culpa."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efd77353372d3000100'), "author_name"=>"Daniela Turner", "content"=>["Exercitationem dignissimos enim. Sit eveniet sit reiciendis rerum at ut. Enim est ratione in error ducimus eum ut. Dolor inventore animi libero qui aliquam excepturi amet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4857ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"541b0efd77353372d3010100", "comment_id"=>"541b0efd77353372d3ff0000", "id"=>"541b0efd77353372d3000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efd77353372d3010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d3040100'), "name"=>"Mrs. Kay Kuvalis", "reference"=>"Noelia Weissnat IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('541b0efe77353372d3020100'), "author_name"=>"Alexa Johns", "content"=>["Soluta et aspernatur cupiditate est. Et voluptatem quibusdam ut et voluptates. Consequatur ullam quibusdam nemo consequuntur harum aperiam. Esse ullam placeat. Laudantium ab rem."], "comments"=>[{"_id"=>BSON::ObjectId('541b0efe77353372d3030100'), "author_name"=>"Mr. Aaron Weimann", "content"=>["Corporis possimus consequatur. Laudantium dolores atque repudiandae. Laborum molestiae cum tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"541b0efe77353372d3030100", "product_id"=>"541b0efe77353372d3040100", "comment_id"=>"541b0efe77353372d3020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('541b0efe77353372d3040100')} 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('541b0efe77353372d3040100'), "comments._id"=>BSON::ObjectId('541b0efe77353372d3020100'), "comments.0.comments._id"=>BSON::ObjectId('541b0efe77353372d3030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Redirected to http://test.host/products/541b0efe77353372d3040100/comments/541b0efe77353372d3020100/comments/541b0efe77353372d3030100 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('541b0efe77353372d3050100'), "firstname"=>"Sibyl", "lastname"=>"Stiedemann"}] 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=>"admin_users", :query=>{}} runtime: 0.1818ms 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('541b0efe77353372d3060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Redirected to http://test.host/users/541b0efe77353372d3060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2048ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d3070100'), "firstname"=>"Waino", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1796ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"541b0efe77353372d3070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efe77353372d3070100')} 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('541b0efe77353372d3070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms 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.1856ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d3080100'), "firstname"=>"Scotty", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by UsersController#edit as HTML Parameters: {"id"=>"541b0efe77353372d3080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efe77353372d3080100')} 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.2ms) Completed 200 OK in 32ms (Views: 30.6ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d3090100'), "firstname"=>"Clinton", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4842ms 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.3864ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d30a0100'), "firstname"=>"Tiara", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms 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.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d30b0100'), "firstname"=>"Riley", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4851ms Processing by UsersController#show as HTML Parameters: {"id"=>"541b0efe77353372d30b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efe77353372d30b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('541b0efe77353372d30c0100'), "firstname"=>"Marshall", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"541b0efe77353372d30c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('541b0efe77353372d30c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms Unpermitted parameters: name Redirected to http://test.host/users/541b0efe77353372d30c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7748ms 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.6175ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.3238ms 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.9313ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2428ms 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.6627ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458d7735330a59000000'), "firstname"=>"Xzavier", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5577ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2737ms 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('548f458d7735330a59010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms 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.1975ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458d7735330a59020000'), "firstname"=>"Noemie", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f458d7735330a59020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458d7735330a59020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (24.5ms) Completed 200 OK in 102ms (Views: 100.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458d7735330a59030000'), "firstname"=>"Tillman", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8143ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 10ms (Views: 8.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458d7735330a59040000'), "firstname"=>"Enrique", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6882ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f458d7735330a59040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458d7735330a59040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5185ms Completed 200 OK in 7ms (Views: 4.9ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458d7735330a59050000'), "firstname"=>"Izaiah", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6310ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f458d7735330a59050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458d7735330a59050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4905ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59060000'), "name"=>"Harley O'Conner", "reference"=>"Godfrey Ernser", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59070000'), "author_name"=>"Mr. Esther Daniel", "content"=>["Et natus neque. Tenetur quis modi et sint ipsam commodi asperiores. At esse blanditiis minima sunt quisquam molestiae. Labore consequatur sint sunt possimus cumque ut est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f458e7735330a59060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f458e7735330a59080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7444ms Redirected to http://test.host/admin/products/548f458e7735330a59060000/comments/548f458e7735330a59080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4544ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59090000'), "name"=>"Ward Hauck V", "reference"=>"Mr. Lavina Littel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a590a0000'), "author_name"=>"Ezra McKenzie", "content"=>["Eveniet qui in sunt. Non natus adipisci expedita. Quis beatae modi vero delectus eum sunt. Ex mollitia quia quam unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f458e7735330a59090000", "id"=>"548f458e7735330a590a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3805ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f458e7735330a590a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms Redirected to http://test.host/admin/products/548f458e7735330a59090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a590b0000'), "name"=>"Maximilian Sawayn", "reference"=>"Gregoria Bins", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a590c0000'), "author_name"=>"Arnulfo Dickens", "content"=>["Sit deserunt rerum sed et est. Et id dolor et unde itaque. Qui atque veniam explicabo repellat qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f458e7735330a590b0000", "id"=>"548f458e7735330a590c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a590b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4047ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f458e7735330a590d0000'), "name"=>"Hailee Fahey Jr.", "reference"=>"Mrs. Avery Monahan", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a590e0000'), "author_name"=>"Jay Bogan Sr.", "content"=>["Suscipit incidunt doloremque. Sed quae voluptas impedit reprehenderit voluptate ut. Consequatur assumenda minus blanditiis reprehenderit. Impedit et nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f458e7735330a590d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a590d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3856ms Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a590f0000'), "name"=>"Bernita Nader", "reference"=>"Karlie Marvin V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59100000'), "author_name"=>"Abdiel Bogan", "content"=>["Perspiciatis praesentium soluta earum incidunt eos nihil. Et sed voluptas. Laboriosam quam omnis et et voluptas et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f458e7735330a590f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a590f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59110000'), "name"=>"Janick Mertz", "reference"=>"Clare Carter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59120000'), "author_name"=>"Jaren Legros", "content"=>["Veniam impedit adipisci. Aut velit sint est et. Dolor aut blanditiis possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f458e7735330a59110000", "id"=>"548f458e7735330a59120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59130000'), "name"=>"Hayley Huels", "reference"=>"Krystel Heathcote", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59140000'), "author_name"=>"Don Nader PhD", "content"=>["Quod autem est. Velit at repudiandae dolore itaque. Qui veritatis voluptate quidem commodi tempore. Minima exercitationem ea rerum totam ea cupiditate esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f458e7735330a59140000", "product_id"=>"548f458e7735330a59130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59130000'), "comments._id"=>BSON::ObjectId('548f458e7735330a59140000')} 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/548f458e7735330a59130000/comments/548f458e7735330a59140000 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('548f458e7735330a59150000'), "name"=>"Krystal Batz", "reference"=>"Gabrielle Hegmann", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a59160000'), "firstname"=>"Derrick", "lastname"=>"Hoppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f458e7735330a59150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59150000')} 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('548f458e7735330a59150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a59170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms Redirected to http://test.host/admin/products/548f458e7735330a59150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59180000'), "name"=>"Lester Kling", "reference"=>"Nettie Spencer", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a59190000'), "firstname"=>"Glen", "lastname"=>"Lubowitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f458e7735330a59190000", "product_id"=>"548f458e7735330a59180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a591a0000'), "name"=>"Ayla Blick", "reference"=>"Braxton Blick", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a591b0000'), "firstname"=>"Charlene", "lastname"=>"Doyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f458e7735330a591a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a591a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a591c0000'), "name"=>"Molly Pacocha", "reference"=>"Dolores Collins", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a591d0000'), "firstname"=>"Celia", "lastname"=>"Rowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f458e7735330a591d0000", "product_id"=>"548f458e7735330a591c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a591c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a591e0000'), "name"=>"Kenna Stoltenberg", "reference"=>"Tristin Skiles", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f458e7735330a591f0000'), "firstname"=>"Hayley", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f458e7735330a591f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f458e7735330a591e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a591e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f458e7735330a591e0000/manager 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('548f458e7735330a59200000'), "name"=>"Horace Leuschke", "reference"=>"Sabrina Rogahn I", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1344ms 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('548f458e7735330a59210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/admin/products/548f458e7735330a59210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1482ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59220000'), "name"=>"Arturo Armstrong", "reference"=>"Mrs. Jeanette Braun", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1325ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f458e7735330a59220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms 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.1456ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59230000'), "name"=>"Michele Schowalter", "reference"=>"Stephan Medhurst", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f458e7735330a59230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59240000'), "name"=>"Jonatan Ortiz", "reference"=>"Otho Purdy II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms 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.4526ms Completed 200 OK in 10ms (Views: 9.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59250000'), "name"=>"Luz Goldner", "reference"=>"Ernestine Grant DDS", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 18ms (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('548f458e7735330a59280000'), "name"=>"Jamar Rolfson III", "reference"=>"Cole McDermott", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f458e7735330a59280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59290000'), "name"=>"Precious Barrows III", "reference"=>"Ms. Lyric Romaguera", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f458e7735330a59290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Redirected to http://test.host/admin/products/548f458e7735330a59290000 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('548f458e7735330a592a0000'), "firstname"=>"Eden", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4798ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3133ms 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('548f458e7735330a592b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms Redirected to http://test.host/admin/users/548f458e7735330a592b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3170ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f458e7735330a592c0000'), "firstname"=>"Jevon", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2777ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f458e7735330a592c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f458e7735330a592c0000')} 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('548f458e7735330a592c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms 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.3247ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f458e7735330a592d0000'), "firstname"=>"Verna", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f458e7735330a592d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f458e7735330a592d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f458e7735330a592e0000'), "firstname"=>"Elenora", "lastname"=>"Lebsack"}] 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.3837ms 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('548f458e7735330a592f0000'), "firstname"=>"Gordon", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f458e7735330a59300000'), "firstname"=>"Sienna", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5494ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f458e7735330a59300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f458e7735330a59300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59310000'), "firstname"=>"Vito", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f458e7735330a59310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f458e7735330a59310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f458e7735330a59310000 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('548f458e7735330a59320000'), "firstname"=>"Savanna", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6215ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3053ms 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('548f458e7735330a59330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5086ms 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.3168ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59340000'), "firstname"=>"Kristin", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f458e7735330a59340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458e7735330a59340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59350000'), "firstname"=>"Matt", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5182ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59360000'), "firstname"=>"Roman", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f458e7735330a59360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458e7735330a59360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59370000'), "firstname"=>"Manuel", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f458e7735330a59370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f458e7735330a59370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59380000'), "name"=>"Miss Vanessa Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59390000'), "name"=>"Zaria Gibson PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593a0000'), "name"=>"Nathen Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593b0000'), "name"=>"Dr. Jaylen Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593c0000'), "name"=>"Dr. Thora Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593d0000'), "name"=>"Buck Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593e0000'), "name"=>"Diego Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a593f0000'), "name"=>"Amira Hegmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a593f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59400000'), "name"=>"Alexie Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59410000'), "name"=>"Sunny Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59420000'), "name"=>"Adonis Abbott I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59430000'), "name"=>"Aaron Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59440000'), "name"=>"Cecile Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59450000'), "name"=>"Colt Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59460000'), "name"=>"Einar Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59470000'), "name"=>"Green Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59480000'), "name"=>"Dr. Omer Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59490000'), "name"=>"Rahul Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594a0000'), "name"=>"Stephania Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594b0000'), "name"=>"Vada Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594c0000'), "name"=>"Miss Buster Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594d0000'), "name"=>"Miss Elvie Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594e0000'), "name"=>"Cassidy Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a594f0000'), "name"=>"Bradly Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a594f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59500000'), "name"=>"Bridgette D'Amore Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59510000'), "name"=>"Elwyn Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59520000'), "name"=>"Dr. Timmothy Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59530000'), "name"=>"Ms. Sylvia McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59540000'), "name"=>"Mya Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59550000'), "name"=>"Kenny Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59560000'), "name"=>"Matteo Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59570000'), "name"=>"Stanley Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59580000'), "name"=>"Lelah Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59590000'), "name"=>"Columbus Abshire IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595a0000'), "name"=>"Lynn Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595b0000'), "name"=>"Mrs. Zelma Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595c0000'), "name"=>"Annamae Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595d0000'), "name"=>"Shirley Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595e0000'), "name"=>"Uriah Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a595f0000'), "name"=>"Mr. Declan Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a595f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59600000'), "name"=>"Foster Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59610000'), "name"=>"Paris Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59620000'), "name"=>"Cierra Lang I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59630000'), "name"=>"Kurt Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59640000'), "name"=>"Ona Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59650000'), "name"=>"Taylor Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59660000'), "name"=>"Jonatan Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59670000'), "name"=>"Buck Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59680000'), "name"=>"Miss Creola Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59690000'), "name"=>"Blair Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596a0000'), "name"=>"Rosalyn Jaskolski I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596b0000'), "name"=>"Samson Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596c0000'), "name"=>"Marina Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596d0000'), "name"=>"Wilfredo Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596e0000'), "name"=>"Jennie Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a596f0000'), "name"=>"Edd Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a596f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59700000'), "name"=>"Jaquan Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59710000'), "name"=>"William Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59720000'), "name"=>"Kirsten Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59730000'), "name"=>"Torey Bosco IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59740000'), "name"=>"Brody Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59750000'), "name"=>"Estelle Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59760000'), "name"=>"Mina Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59770000'), "name"=>"Clara Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59780000'), "name"=>"Taryn O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59790000'), "name"=>"Hertha Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597a0000'), "name"=>"Sigurd Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597b0000'), "name"=>"Cortney Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597c0000'), "name"=>"Joy Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597d0000'), "name"=>"Aric Bailey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597e0000'), "name"=>"Ms. Estevan Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a597f0000'), "name"=>"Coty Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a597f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59800000'), "name"=>"Stanford Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59810000'), "name"=>"Nyah Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59820000'), "name"=>"Tre Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59830000'), "name"=>"Katharina Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59840000'), "name"=>"Jensen Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59850000'), "name"=>"Godfrey Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59860000'), "name"=>"Ayla Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59870000'), "name"=>"Gordon Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59880000'), "name"=>"Adolf Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59890000'), "name"=>"Britney Koelpin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598a0000'), "name"=>"Stella Stracke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598b0000'), "name"=>"Liliana Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598c0000'), "name"=>"Cecilia Shields DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598d0000'), "name"=>"Eloise Thompson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598e0000'), "name"=>"Cleve Reilly PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a598f0000'), "name"=>"Clemmie Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a598f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59900000'), "name"=>"Randy Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59910000'), "name"=>"Edgardo Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59920000'), "name"=>"Bette Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59930000'), "name"=>"Claudie Kihn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59940000'), "name"=>"Destiney Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59950000'), "name"=>"Lamont West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59960000'), "name"=>"Mr. Carlee Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59970000'), "name"=>"Brannon Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1740ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms Redirected to http://test.host/categories/548f458e7735330a59980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1942ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59990000'), "name"=>"Norberto Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1740ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f458e7735330a59990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a59990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a59990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2310ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a599a0000'), "name"=>"Sammy Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f458e7735330a599a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a599a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3867ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a599b0000'), "name"=>"Zackary Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1939ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306467654098] runtime: 0.0850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2351ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a599c0000'), "name"=>"Carleton Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306588355094] runtime: 0.0721ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1891ms Completed 200 OK in 8ms (Views: 7.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a599d0000'), "name"=>"Emelie Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a599f0000'), "name"=>"Waino Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f458e7735330a599f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a599f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a599f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59a00000'), "name"=>"Jaylin Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f458e7735330a59a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a59a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f458e7735330a59a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f458e7735330a59a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms Redirected to http://test.host/categories/548f458e7735330a59a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59a10000'), "name"=>"Adrian Bartoletti PhD", "reference"=>"Celia Stamm", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59a20000'), "author_name"=>"Omari Tillman", "content"=>["Ea veritatis voluptatem ducimus voluptatibus architecto. Pariatur illo voluptatem sed occaecati cupiditate asperiores et. Et dolores impedit sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f458e7735330a59a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f458e7735330a59a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms Redirected to http://test.host/products/548f458e7735330a59a10000/comments/548f458e7735330a59a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59a40000'), "name"=>"Mr. Raymundo Conroy", "reference"=>"Mikayla Maggio", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59a50000'), "author_name"=>"Marge Parisian", "content"=>["Dolorem amet possimus veritatis. Ullam nihil quos nobis perspiciatis neque aut qui. Saepe omnis dolorum illo enim dolor. Perspiciatis assumenda quasi deserunt ipsam sunt error. Esse iure molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f458e7735330a59a40000", "id"=>"548f458e7735330a59a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f458e7735330a59a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms Redirected to http://test.host/products/548f458e7735330a59a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59a60000'), "name"=>"Walton Donnelly", "reference"=>"Heather Hyatt", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59a70000'), "author_name"=>"Ms. Olin Mertz", "content"=>["Voluptates suscipit esse consequuntur nesciunt ad. Ab recusandae magni autem et itaque. Necessitatibus voluptas non quis ut porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f458e7735330a59a60000", "id"=>"548f458e7735330a59a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59a80000'), "name"=>"Mrs. Ernest Jacobson", "reference"=>"Justyn Swaniawski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59a90000'), "author_name"=>"Mr. Francis Auer", "content"=>["Autem officia voluptate occaecati quis. In alias eius sit officiis qui impedit. Ut consequatur suscipit sit in voluptatem et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f458e7735330a59a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59aa0000'), "name"=>"Darby Effertz MD", "reference"=>"Leatha Beatty", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59ab0000'), "author_name"=>"Osborne Yost", "content"=>["Ratione quibusdam rem. In est dolor quia nihil. Beatae laboriosam assumenda. Voluptas sint fugiat quis autem deserunt. Unde id distinctio veritatis reprehenderit tenetur nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f458e7735330a59aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59ac0000'), "name"=>"Dr. Fausto Yundt", "reference"=>"Christy Wolff", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59ad0000'), "author_name"=>"Caitlyn Dickinson MD", "content"=>["Qui ipsa quia fugit et quasi. Consequatur quaerat vel explicabo quis ut. Dolores quia possimus facere quis. Ut voluptas aliquid ducimus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f458e7735330a59ac0000", "id"=>"548f458e7735330a59ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59ae0000'), "name"=>"Jude Feeney MD", "reference"=>"Lue Grant", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59af0000'), "author_name"=>"Toy Schimmel", "content"=>["Ullam eaque suscipit magni. Officiis placeat quia omnis ex qui aut qui. Voluptas mollitia cumque unde sit repellat aut perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f458e7735330a59ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59b00000'), "name"=>"Raul Ruecker", "reference"=>"Cicero Jast", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59b10000'), "author_name"=>"Boris Effertz", "content"=>["Recusandae qui aspernatur quas dolor. Nihil corrupti soluta enim impedit a quisquam. Molestias officia doloribus consequatur vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f458e7735330a59b00000", "id"=>"548f458e7735330a59b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59b20000'), "name"=>"Francisca Mayer", "reference"=>"Miss Camden Trantow", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f458e7735330a59b30000'), "author_name"=>"Lawson Kertzmann I", "content"=>["Cumque voluptatem optio aut magnam. Consequuntur est earum. Porro cum delectus atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f458e7735330a59b30000", "product_id"=>"548f458e7735330a59b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458e7735330a59b20000'), "comments._id"=>BSON::ObjectId('548f458e7735330a59b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5146ms Redirected to http://test.host/products/548f458e7735330a59b20000/comments/548f458e7735330a59b30000 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('548f458e7735330a59b40000'), "firstname"=>"Janie", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2471ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Redirected to http://test.host/admin/clients/548f458e7735330a59b50000 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('548f458e7735330a59b60000'), "firstname"=>"Jed", "lastname"=>"Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms 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"=>"548f458e7735330a59b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458e7735330a59b60000')} 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('548f458e7735330a59b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms 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.2001ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458e7735330a59b70000'), "firstname"=>"Pasquale", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f458e7735330a59b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458e7735330a59b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms Rendered /home/geoffroy/projects/crealettres/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('548f458e7735330a59b80000'), "firstname"=>"Karianne", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('548f458e7735330a59b90000'), "firstname"=>"Mariam", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.4ms) Completed 200 OK in 38ms (Views: 37.8ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59ba0000'), "firstname"=>"Eldon", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f458f7735330a59ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms Completed 200 OK in 5ms (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('548f458f7735330a59bb0000'), "firstname"=>"Max", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f458f7735330a59bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Redirected to http://test.host/admin/clients/548f458f7735330a59bb0000 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('548f458f7735330a59bc0000'), "firstname"=>"Lee", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2348ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Redirected to http://test.host/clients/548f458f7735330a59bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2109ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59be0000'), "firstname"=>"Amina", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1896ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f458f7735330a59be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms 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.2005ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59bf0000'), "firstname"=>"Justen", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f458f7735330a59bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f458f7735330a59c00000'), "firstname"=>"Steve", "lastname"=>"Hamill"}] 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.4352ms 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('548f458f7735330a59c10000'), "firstname"=>"Lou", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f458f7735330a59c20000'), "firstname"=>"Forrest", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f458f7735330a59c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms 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('548f458f7735330a59c30000'), "firstname"=>"Lauren", "lastname"=>"Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f458f7735330a59c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f458f7735330a59c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Redirected to http://test.host/clients/548f458f7735330a59c30000 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('548f458f7735330a59c40000'), "name"=>"Kraig Sporer", "reference"=>"Sean Haag I", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59c50000'), "firstname"=>"Fernando", "lastname"=>"Price"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f458f7735330a59c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Redirected to http://test.host/products/548f458f7735330a59c40000/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('548f458f7735330a59c70000'), "name"=>"Devante Miller", "reference"=>"Mossie Hessel I", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59c80000'), "firstname"=>"Ed", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f458f7735330a59c80000", "product_id"=>"548f458f7735330a59c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59c90000'), "name"=>"Sibyl Bins", "reference"=>"Orrin Gerlach", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59ca0000'), "firstname"=>"Unique", "lastname"=>"Aufderhar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f458f7735330a59c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59cb0000'), "name"=>"Morton Brakus", "reference"=>"Ms. Xavier O'Keefe", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59cc0000'), "firstname"=>"Zoila", "lastname"=>"Erdman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6621ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f458f7735330a59cc0000", "product_id"=>"548f458f7735330a59cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59cd0000'), "name"=>"Ruthe Purdy MD", "reference"=>"Janet Shields V", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f458f7735330a59ce0000'), "firstname"=>"Al", "lastname"=>"Stokes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f458f7735330a59ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f458f7735330a59cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Unpermitted parameters: name Redirected to http://test.host/products/548f458f7735330a59cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59cf0000'), "name"=>"Patricia Hudson DVM", "reference"=>"Mr. Freddie Wilderman", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d00000'), "name"=>"Judge Rosenbaum", "reference"=>"Raul Harris", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d10000'), "name"=>"Everette Zemlak", "reference"=>"Emily Hudson I", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d20000'), "name"=>"Tiana Jacobi I", "reference"=>"Montana Rodriguez", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d30000'), "name"=>"Delores Gutkowski", "reference"=>"Una Yundt MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d40000'), "name"=>"Mr. Matt Pfannerstill", "reference"=>"Gerson Ziemann", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1799ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Redirected to http://test.host/products/548f458f7735330a59d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1917ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d60000'), "name"=>"Fiona Kunde", "reference"=>"Clare Sporer", "quantity"=>5}] 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.1650ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f458f7735330a59d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4223ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms 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.2455ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d70000'), "name"=>"Maud Gerlach V", "reference"=>"Esther Rogahn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1193ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f458f7735330a59d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d80000'), "name"=>"Milo Nikolaus", "reference"=>"Alexane Marvin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279898906978] runtime: 0.1110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2979ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59d90000'), "name"=>"Kari Stiedemann", "reference"=>"Marquise Weber", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59da0000'), "name"=>"HelloWorld", "reference"=>"Pasquale Rice", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59db0000'), "name"=>"value", "reference"=>"Evelyn Huel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6355ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4355ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3611ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1676ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3612ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2166ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2941ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1705ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59dc0000'), "name"=>"Mrs. Erwin Fay", "reference"=>"Jamil Lynch Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279503449234] runtime: 0.0928ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2821ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280833127106] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968228644] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099626202] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225950739] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280464029944] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757600071] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279220987402] runtime: 0.1122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264793516] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857256570] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932832188] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280867063516] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280893292712] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279973234801] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078252808] runtime: 0.0723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993032768] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279346341940] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289563663] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293892935] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280710701674] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279592515171] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280111843626] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859600518] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116859331] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128424070] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280460650603] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451224025] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311648257] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974954295] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279855018113] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281270722] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682457080] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300257735] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500869671] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021722135] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280378146843] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280570685525] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279813031920] runtime: 0.1047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850346494] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848774961] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232592429] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884062763] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355893245] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806255865] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781695550] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279992597531] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281009619322] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473973062] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100001683] runtime: 0.0703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279837068868] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280806484637] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338751729] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280861235586] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354761148] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838755961] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089020553] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280255228305] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426233474] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280093037446] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809051348] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281295151129] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280263538352] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459794869] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036280093] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280406808258] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279599341301] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390475548] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122272753] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768808947] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659374100] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279934238754] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.6061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279927907970] runtime: 0.1326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089696590] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280958100692] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280433891627] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280803889722] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279443150657] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137277266] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280223332759] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279623867132] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279537197310] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279438404629] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279900126329] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204195220] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024975381] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279227754696] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442548717] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562822766] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280775272678] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281180473590] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279424738401] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558253755] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280724189978] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280911605338] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078460131] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280714070494] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277470812] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280002701314] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579933497] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280689939414] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552739561] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936833172] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912282863] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279489457816] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280378498672] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752007081] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280833695252] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281231480509] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713491013] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782412414] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280410743902] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280551380452] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325792996] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144763693] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280029405914] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280037446698] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280407230907] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279692003095] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280258424161] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280010426457] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279473602766] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281231356955] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859967753] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069432065] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280295718865] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280381426363] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280591781370] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279664444418] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280086471629] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081525610] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358934344] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281051968764] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625849658] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984621236] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830539726] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563407488] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399969773] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076238029] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122912997] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279849392952] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299945290] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281135997450] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831581277] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891917974] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280728874949] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226563306] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191758996] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922629648] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233923780] runtime: 0.0976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280053591073] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047011506] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882367741] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279851946427] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279552945969] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279431779457] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459358901] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280611309202] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191380467] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239896295] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229318071] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098310828] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138190186] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281258185917] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272154934] runtime: 0.0482ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59dd0000'), "name"=>"Elsa Mueller", "reference"=>"Miss Earnest Bergnaum", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460882058] runtime: 0.0604ms 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('548f458f7735330a59de0000'), "name"=>"Tomas Stanton V", "reference"=>"Ottilie Moore Jr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f458f7735330a59de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms 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('548f458f7735330a59df0000'), "name"=>"Roman Kilback III", "reference"=>"Benjamin Barton", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('548f458f7735330a59e10000'), "name"=>"Reuben Collier", "reference"=>"Keara Hettinger", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f458f7735330a59e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59e20000'), "name"=>"Julianne Larkin III", "reference"=>"Maximilian Weber", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms 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('548f458f7735330a59e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1720ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59e40000'), "name"=>"Mrs. Kamron Haley", "reference"=>"Imelda Connelly", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f458f7735330a59e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms 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('548f458f7735330a59e50000'), "name"=>"Paxton Feil", "reference"=>"Lon Romaguera", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms 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('548f458f7735330a59e70000'), "name"=>"Mrs. Jennifer Rice", "reference"=>"Merlin Kunze", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f458f7735330a59e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms 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('548f458f7735330a59e80000'), "name"=>"Virginia Schamberger", "reference"=>"Ryley Hahn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f458f7735330a59e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Redirected to http://test.host/products/548f458f7735330a59e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59eb0000'), "name"=>"Georgiana Dickens", "reference"=>"Ms. Katelin Turner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f458f7735330a59e90000'), "author_name"=>"Darien Erdman", "content"=>["Mollitia dolores qui et quia perspiciatis ut error. Ut corporis corrupti eos. A ut fuga eligendi cupiditate ea ipsam. Voluptate excepturi dolore."], "comments"=>[{"_id"=>BSON::ObjectId('548f458f7735330a59ea0000'), "author_name"=>"Josue Waters", "content"=>["Quia cumque ea sit architecto dolore mollitia. Sit aut adipisci animi rem quis et dolores. Veniam necessitatibus aperiam voluptas illo enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f458f7735330a59eb0000", "comment_id"=>"548f458f7735330a59e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59eb0000'), "comments._id"=>BSON::ObjectId('548f458f7735330a59e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f458f7735330a59ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6457ms Redirected to http://test.host/products/548f458f7735330a59eb0000/comments/548f458f7735330a59e90000/comments/548f458f7735330a59ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 33.0098ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f458f7735330a59ef0000'), "name"=>"Mr. Cielo Stiedemann", "reference"=>"Mrs. Bonita Torphy", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f458f7735330a59ed0000'), "author_name"=>"Mr. Tate Weissnat", "content"=>["In earum eos. Quia quaerat culpa assumenda. Ea aliquid est."], "comments"=>[{"_id"=>BSON::ObjectId('548f458f7735330a59ee0000'), "author_name"=>"Jeremie Sawayn Sr.", "content"=>["Perspiciatis ut cum. Natus vel eius quasi. Ipsum alias voluptates dolore. Atque amet asperiores in nostrum voluptates. Similique minima perspiciatis corporis autem porro excepturi modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 653.4686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f458f7735330a59ef0000", "comment_id"=>"548f458f7735330a59ed0000", "id"=>"548f458f7735330a59ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59ef0000'), "comments._id"=>BSON::ObjectId('548f458f7735330a59ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f458f7735330a59ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8130ms Redirected to http://test.host/products/548f458f7735330a59ef0000/comments/548f458f7735330a59ed0000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f458f7735330a59ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4499ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59f20000'), "name"=>"Chadrick Walter Jr.", "reference"=>"Olaf Veum", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f00000'), "author_name"=>"Mrs. Lucious Gibson", "content"=>["Dolor numquam aut culpa et magnam. Laborum debitis perspiciatis est quas esse. Quaerat odit impedit voluptatibus et exercitationem doloremque. Voluptas occaecati dicta iure id. Quibusdam quae ut voluptas suscipit maiores."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f10000'), "author_name"=>"Isaiah Runte", "content"=>["Blanditiis dolore dolorem ullam. Aliquid laborum praesentium enim adipisci et reiciendis. Iure quibusdam delectus dolores ut est. Voluptas qui et et accusantium et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6793ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f45907735330a59f20000", "comment_id"=>"548f45907735330a59f00000", "id"=>"548f45907735330a59f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5337ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 16ms (Views: 11.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59f50000'), "name"=>"Parker Padberg III", "reference"=>"Sophia Marks", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f30000'), "author_name"=>"Elmore Conn", "content"=>["Perferendis quo omnis sequi eos assumenda. Qui error vel architecto vel. Officiis eos qui rem eligendi et. Ex voluptate delectus in. Aliquid sint rerum incidunt est beatae tempora."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f40000'), "author_name"=>"Willy Hills", "content"=>["Nihil minus a temporibus molestiae aut. Tempore at et ea impedit pariatur. Dolor quas voluptatum est fuga sed. Rem ut ipsa soluta ea et consequatur debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7259ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f45907735330a59f50000", "comment_id"=>"548f45907735330a59f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4858ms Completed 200 OK in 10ms (Views: 5.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59f80000'), "name"=>"Nicolas Paucek", "reference"=>"Mr. Celestine McClure", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f60000'), "author_name"=>"Rosa Johnson", "content"=>["Voluptatibus inventore enim expedita id voluptas a. Voluptate est sunt ut in quibusdam qui. Blanditiis et laborum rem sequi. Natus reprehenderit dolorem. Qui aliquid cum labore."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f70000'), "author_name"=>"Lila Schiller II", "content"=>["Id ipsa sint exercitationem. Nam ut quos dolore adipisci. Vitae ut assumenda. At odio quis nam deleniti iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6475ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f45907735330a59f80000", "comment_id"=>"548f45907735330a59f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4461ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59fb0000'), "name"=>"Miss Josh Kihn", "reference"=>"Hiram Denesik I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59f90000'), "author_name"=>"Cordie Runte", "content"=>["Et ut sequi facilis. Repellat laudantium dolorem. Excepturi ratione ut. Eius assumenda necessitatibus tempora. Ab doloribus sit."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59fa0000'), "author_name"=>"Elinor McGlynn", "content"=>["Enim dicta vel id. Velit accusantium et qui aut dolore laborum saepe. Molestiae qui incidunt. Voluptatibus et minima saepe eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5736ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f45907735330a59fb0000", "comment_id"=>"548f45907735330a59f90000", "id"=>"548f45907735330a59fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4478ms Completed 200 OK in 4ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59fe0000'), "name"=>"Dina Durgan", "reference"=>"Dee Hodkiewicz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59fc0000'), "author_name"=>"Geovanni Schaden", "content"=>["Commodi ut ut. Corporis occaecati velit ab et laborum quisquam. Saepe odio doloribus. Aut dolorum nihil."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59fd0000'), "author_name"=>"Hudson Hagenes", "content"=>["Debitis eius eum eos itaque eaque. Omnis natus eum voluptatem itaque. Accusantium consequuntur dolorem blanditiis vel laudantium. Eveniet non praesentium magni reiciendis repellat. Dolorem officiis dolor sapiente possimus facilis rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f45907735330a59fe0000", "comment_id"=>"548f45907735330a59fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4289ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 5.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59010100'), "name"=>"Augustine White", "reference"=>"Clay Buckridge V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59ff0000'), "author_name"=>"Crawford Kuvalis II", "content"=>["Et aut autem est consequatur rerum. Est esse nulla. Quia nulla quidem ut sapiente aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59000100'), "author_name"=>"Lavinia Hintz", "content"=>["Possimus aliquid at quo corrupti ut fuga. Cumque voluptatem consequatur. Totam occaecati veritatis ut facilis commodi. Et id aut eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6066ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f45907735330a59010100", "comment_id"=>"548f45907735330a59ff0000", "id"=>"548f45907735330a59000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4246ms Completed 200 OK in 7ms (Views: 3.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45907735330a59040100'), "name"=>"Marshall Walter", "reference"=>"Dora Mosciski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59020100'), "author_name"=>"Marisa McKenzie", "content"=>["Possimus eum ipsam placeat consectetur voluptas aut itaque. Itaque debitis neque reprehenderit tempore repellat animi rem. Officiis eaque voluptas aperiam dolorum quidem."], "comments"=>[{"_id"=>BSON::ObjectId('548f45907735330a59030100'), "author_name"=>"Madelynn Kuhic", "content"=>["Velit sint nihil. Vel illum consequuntur. Amet ut nemo. Sunt repellendus reiciendis iure et nihil inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6020ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45907735330a59030100", "product_id"=>"548f45907735330a59040100", "comment_id"=>"548f45907735330a59020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45907735330a59040100'), "comments._id"=>BSON::ObjectId('548f45907735330a59020100'), "comments.0.comments._id"=>BSON::ObjectId('548f45907735330a59030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6866ms Redirected to http://test.host/products/548f45907735330a59040100/comments/548f45907735330a59020100/comments/548f45907735330a59030100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45907735330a59050100'), "firstname"=>"Houston", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6044ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2640ms 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('548f45907735330a59060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms Redirected to http://test.host/users/548f45907735330a59060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2661ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45907735330a59070100'), "firstname"=>"Wilfrid", "lastname"=>"Will"}] 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.2393ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f45907735330a59070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45907735330a59070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45907735330a59070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms 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.1731ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45907735330a59080100'), "firstname"=>"Earlene", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f45907735330a59080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45907735330a59080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('548f45907735330a59090100'), "firstname"=>"Maximillian", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5213ms 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.4577ms Completed 200 OK in 39ms (Views: 38.0ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45907735330a590a0100'), "firstname"=>"Magali", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3549ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.1ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45907735330a590b0100'), "firstname"=>"Leonie", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5332ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f45907735330a590b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45907735330a590b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms 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('548f45907735330a590c0100'), "firstname"=>"Emilio", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f45907735330a590c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45907735330a590c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms Unpermitted parameters: name Redirected to http://test.host/users/548f45907735330a590c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms 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.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.4327ms 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.2842ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms 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.2817ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45947735330a89000000'), "firstname"=>"Arnaldo", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 66.5665ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3739ms 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('548f45957735330a89010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5999ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3300ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89020000'), "firstname"=>"Vinnie", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f45957735330a89020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4284ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 26ms (Views: 23.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89030000'), "firstname"=>"Halie", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6388ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89040000'), "firstname"=>"Max", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6122ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f45957735330a89040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89050000'), "firstname"=>"Brady", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5277ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f45957735330a89050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3831ms 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('548f45957735330a89060000'), "name"=>"Erich Hamill", "reference"=>"Betsy Volkman", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89070000'), "author_name"=>"Valentina Torphy", "content"=>["Occaecati doloremque ut ab necessitatibus facilis. Quaerat iure culpa non ut. Eos culpa ea reiciendis. Enim iure a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45957735330a89060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45957735330a89080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5683ms Redirected to http://test.host/admin/products/548f45957735330a89060000/comments/548f45957735330a89080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4294ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89090000'), "name"=>"Keon Hackett", "reference"=>"Steve Bogisich", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a890a0000'), "author_name"=>"Beth Osinski", "content"=>["Dolores est explicabo veniam rem ipsa. Quis dolorum vel rerum. Labore ut doloremque reiciendis id deserunt nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f45957735330a89090000", "id"=>"548f45957735330a890a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89090000')} 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('548f45957735330a89090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45957735330a890a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms Redirected to http://test.host/admin/products/548f45957735330a89090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a890b0000'), "name"=>"Brook Blick", "reference"=>"Dion Raynor", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a890c0000'), "author_name"=>"Ernestina Roberts IV", "content"=>["Asperiores nam harum maiores qui qui impedit et. Omnis saepe nihil non. Aut veritatis in qui quae sit. Illum in et quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f45957735330a890b0000", "id"=>"548f45957735330a890c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a890b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3869ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a890d0000'), "name"=>"Miss Lupe Ritchie", "reference"=>"Ms. Sabryna Crist", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a890e0000'), "author_name"=>"Hiram Konopelski", "content"=>["Corrupti sint ratione cumque dicta voluptatem possimus quia. Facilis amet quis aut vero minima nostrum. Eum provident quibusdam. Qui inventore labore quo dolores. Incidunt autem hic adipisci minus impedit accusantium quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0767ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f45957735330a890d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a890d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a890f0000'), "name"=>"Lucy McKenzie", "reference"=>"August Moore", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89100000'), "author_name"=>"Karley O'Keefe", "content"=>["Corporis ut ut quisquam ipsum blanditiis laboriosam incidunt. Modi deserunt natus ipsa et dolore qui sit. Sit neque dolor aliquid error vitae. Omnis eos illum quo sed necessitatibus consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f45957735330a890f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a890f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89110000'), "name"=>"Cedrick Reichert", "reference"=>"Maxwell Torphy I", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89120000'), "author_name"=>"Keith Bauch", "content"=>["Voluptatum saepe nobis ab maiores. Magni error culpa et aut. Possimus accusantium suscipit consequatur quos minima. Consequatur nam dolor assumenda quia harum ea. Cum aliquam mollitia natus et dolor ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f45957735330a89110000", "id"=>"548f45957735330a89120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89130000'), "name"=>"Danial Kshlerin", "reference"=>"Hubert Lehner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89140000'), "author_name"=>"Katrina Gutkowski", "content"=>["Ut deleniti iusto voluptate qui dolorem. Quia quae architecto mollitia modi ex qui. Et nesciunt minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45957735330a89140000", "product_id"=>"548f45957735330a89130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89130000'), "comments._id"=>BSON::ObjectId('548f45957735330a89140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Redirected to http://test.host/admin/products/548f45957735330a89130000/comments/548f45957735330a89140000 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('548f45957735330a89150000'), "name"=>"Carroll Stanton", "reference"=>"Ken Pacocha Jr.", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f45957735330a89160000'), "firstname"=>"Sandrine", "lastname"=>"Carter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f45957735330a89150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f45957735330a89170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms Redirected to http://test.host/admin/products/548f45957735330a89150000/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('548f45957735330a89180000'), "name"=>"Jerry Swaniawski", "reference"=>"Zane Predovic", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f45957735330a89190000'), "firstname"=>"Juston", "lastname"=>"Goyette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f45957735330a89190000", "product_id"=>"548f45957735330a89180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a891a0000'), "name"=>"Veronica Stiedemann", "reference"=>"Brent Beatty", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f45957735330a891b0000'), "firstname"=>"Logan", "lastname"=>"Kirlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f45957735330a891a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a891a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a891c0000'), "name"=>"Irving Monahan", "reference"=>"Eleonore Stanton", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f45957735330a891d0000'), "firstname"=>"Benedict", "lastname"=>"Robel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f45957735330a891d0000", "product_id"=>"548f45957735330a891c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a891c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a891e0000'), "name"=>"Katlyn Cormier", "reference"=>"Alfreda Lang", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f45957735330a891f0000'), "firstname"=>"Wilbert", "lastname"=>"Larson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f45957735330a891f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f45957735330a891e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a891e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f45957735330a891e0000/manager 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('548f45957735330a89200000'), "name"=>"Ottis Erdman", "reference"=>"Brett Barton", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms 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('548f45957735330a89210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Redirected to http://test.host/admin/products/548f45957735330a89210000 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('548f45957735330a89220000'), "name"=>"Jazmyne Schroeder", "reference"=>"Fredy Denesik", "quantity"=>0}] 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.1847ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f45957735330a89220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms 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.2021ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89230000'), "name"=>"Lazaro Kilback", "reference"=>"Miss Mandy Zboncak", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f45957735330a89230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89240000'), "name"=>"Ressie Schimmel", "reference"=>"Marjory Schoen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms 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.4873ms 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('548f45957735330a89250000'), "name"=>"Jayne Beahan", "reference"=>"Katharina Marks", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 18ms (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('548f45957735330a89280000'), "name"=>"Ms. Jaquan Strosin", "reference"=>"Iliana Mosciski MD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f45957735330a89280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms 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('548f45957735330a89290000'), "name"=>"Josh Nader", "reference"=>"Porter Emard", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f45957735330a89290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89290000')} 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('548f45957735330a89290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Redirected to http://test.host/admin/products/548f45957735330a89290000 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('548f45957735330a892a0000'), "firstname"=>"Marvin", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2115ms 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('548f45957735330a892b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5082ms Redirected to http://test.host/admin/users/548f45957735330a892b0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2144ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45957735330a892c0000'), "firstname"=>"Tiffany", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2106ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f45957735330a892c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45957735330a892c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45957735330a892c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms 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.2288ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45957735330a892d0000'), "firstname"=>"Alessia", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f45957735330a892d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45957735330a892d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45957735330a892e0000'), "firstname"=>"Leon", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms 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.3234ms 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('548f45957735330a892f0000'), "firstname"=>"Joshuah", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('548f45957735330a89300000'), "firstname"=>"Buford", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f45957735330a89300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45957735330a89300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45957735330a89310000'), "firstname"=>"Jaiden", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f45957735330a89310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45957735330a89310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f45957735330a89310000 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('548f45957735330a89320000'), "firstname"=>"Aurelio", "lastname"=>"Hoeger"}] 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=>"administrators", :query=>{}} runtime: 0.1942ms 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('548f45957735330a89330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms 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.2034ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89340000'), "firstname"=>"Colleen", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f45957735330a89340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89350000'), "firstname"=>"Ubaldo", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89360000'), "firstname"=>"Garfield", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7181ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f45957735330a89360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45957735330a89370000'), "firstname"=>"Ernestina", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f45957735330a89370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45957735330a89370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89380000'), "name"=>"Judy Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89390000'), "name"=>"Mr. Kirsten Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893a0000'), "name"=>"Flossie Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893b0000'), "name"=>"Cydney Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893c0000'), "name"=>"Jeffry Bruen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893d0000'), "name"=>"Amanda Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893e0000'), "name"=>"Abbigail Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a893f0000'), "name"=>"Geovany Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a893f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89400000'), "name"=>"Conner Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89410000'), "name"=>"Annie Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89420000'), "name"=>"Taya Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89430000'), "name"=>"Martin Stamm III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89440000'), "name"=>"Helga Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89450000'), "name"=>"Amira West III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89460000'), "name"=>"Devin West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89470000'), "name"=>"Johnson Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89480000'), "name"=>"Miss Titus Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89490000'), "name"=>"Stuart Schamberger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894a0000'), "name"=>"Jake Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894b0000'), "name"=>"Lila Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894c0000'), "name"=>"Julius Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894d0000'), "name"=>"Dr. Laila Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894e0000'), "name"=>"Litzy Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a894f0000'), "name"=>"Angela Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a894f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89500000'), "name"=>"Alfonso Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89510000'), "name"=>"Efrain Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89520000'), "name"=>"Victoria Schowalter II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89530000'), "name"=>"Milford Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89540000'), "name"=>"Beatrice Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89550000'), "name"=>"Libbie Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89560000'), "name"=>"Cyrus Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89570000'), "name"=>"Camren Cruickshank IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89580000'), "name"=>"Shane Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89590000'), "name"=>"Okey Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895a0000'), "name"=>"Kelton Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895b0000'), "name"=>"Violette Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895c0000'), "name"=>"Nicolas Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895d0000'), "name"=>"Hector Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895e0000'), "name"=>"Dameon Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a895f0000'), "name"=>"Izabella Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a895f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89600000'), "name"=>"Constantin Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89610000'), "name"=>"Sonny Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89620000'), "name"=>"Carey Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89630000'), "name"=>"Ms. Ian Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89640000'), "name"=>"Leone Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89650000'), "name"=>"Oda Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89660000'), "name"=>"Mrs. Erika Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89670000'), "name"=>"Kaylin Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89680000'), "name"=>"Collin Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89690000'), "name"=>"Judah Feest DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896a0000'), "name"=>"Ashleigh Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896b0000'), "name"=>"Mrs. Mariane Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896c0000'), "name"=>"Nathanael Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896d0000'), "name"=>"Easter Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896e0000'), "name"=>"Dino Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a896f0000'), "name"=>"Casandra Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a896f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89700000'), "name"=>"Verna Abbott Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89710000'), "name"=>"Alena Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89720000'), "name"=>"Fletcher Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89730000'), "name"=>"Carissa Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89740000'), "name"=>"Berenice Hickle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89750000'), "name"=>"Allie Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89760000'), "name"=>"Miss Lucius Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89770000'), "name"=>"Mr. Isaac Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89780000'), "name"=>"Vernie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89790000'), "name"=>"Lucie Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897a0000'), "name"=>"Alan Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897b0000'), "name"=>"Melba Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897c0000'), "name"=>"Lonnie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897d0000'), "name"=>"Lamont McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897e0000'), "name"=>"Marilie Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a897f0000'), "name"=>"Darrin Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a897f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89800000'), "name"=>"Miguel Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89810000'), "name"=>"Frederique Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89820000'), "name"=>"Willie Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89830000'), "name"=>"Weston Graham IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89840000'), "name"=>"Kareem Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89850000'), "name"=>"Gay Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89860000'), "name"=>"Mrs. Harmony Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89870000'), "name"=>"Earnest Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89880000'), "name"=>"Merlin Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89890000'), "name"=>"Cole Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898a0000'), "name"=>"Mrs. Ayla Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898b0000'), "name"=>"Nathanael Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898c0000'), "name"=>"Anthony Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898d0000'), "name"=>"Willow Von MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898e0000'), "name"=>"Reta Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a898f0000'), "name"=>"Sigurd Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a898f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89900000'), "name"=>"Mrs. Cynthia Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89910000'), "name"=>"Irwin Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89920000'), "name"=>"Dr. Jerry Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89930000'), "name"=>"Edyth Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89940000'), "name"=>"Jaime Ledner PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89950000'), "name"=>"Jeanette Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89960000'), "name"=>"Brandon Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89970000'), "name"=>"Linwood MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2815ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms Redirected to http://test.host/categories/548f45957735330a89980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2995ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89990000'), "name"=>"Chris Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2844ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f45957735330a89990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a89990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a89990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3232ms Redirected to http://test.host/categories Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3486ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a899a0000'), "name"=>"Jamison Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f45957735330a899a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a899a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4533ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a899b0000'), "name"=>"Dr. Otha Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3781ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305267104370] runtime: 0.0792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3450ms Completed 200 OK in 16ms (Views: 15.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a899c0000'), "name"=>"Dr. Adrian Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306533041056] runtime: 0.0785ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3334ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a899d0000'), "name"=>"Jason Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a899f0000'), "name"=>"Abigale Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f45957735330a899f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a899f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a899f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45957735330a89a00000'), "name"=>"Alycia Stamm I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f45957735330a89a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a89a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45957735330a89a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45957735330a89a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms Redirected to http://test.host/categories/548f45957735330a89a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89a10000'), "name"=>"Elwin Nienow", "reference"=>"Verda Ward", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89a20000'), "author_name"=>"Lilliana Stiedemann", "content"=>["Soluta autem quia eos. Vel distinctio animi sit sed suscipit. Reprehenderit nisi dolorum corrupti sed voluptas maxime qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45957735330a89a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45957735330a89a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Redirected to http://test.host/products/548f45957735330a89a10000/comments/548f45957735330a89a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89a40000'), "name"=>"Leilani Bins", "reference"=>"Craig Roob", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89a50000'), "author_name"=>"Dasia Cronin", "content"=>["Ex laudantium eius amet. Ipsam ut veniam sit repellat. Odio culpa qui odit rerum ex deleniti. Et nulla expedita cupiditate dolores eos aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f45957735330a89a40000", "id"=>"548f45957735330a89a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45957735330a89a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms Redirected to http://test.host/products/548f45957735330a89a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89a60000'), "name"=>"Melyna Legros PhD", "reference"=>"Dr. Nellie Romaguera", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89a70000'), "author_name"=>"Hollis Goldner", "content"=>["Id omnis voluptas sequi impedit. A eveniet ut facere temporibus. Ut nihil ab. Velit velit dolorem occaecati et tempore quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f45957735330a89a60000", "id"=>"548f45957735330a89a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89a80000'), "name"=>"Dr. Judd Ruecker", "reference"=>"Ramon Grady", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89a90000'), "author_name"=>"Reta Beier", "content"=>["Totam ullam architecto voluptas et. Aut quasi est. Magnam aspernatur nisi id quis eos labore. Autem at soluta facere labore eos asperiores. Dolores minima ut dicta accusamus consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f45957735330a89a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89aa0000'), "name"=>"Jazmyne Gaylord", "reference"=>"Berry Predovic II", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89ab0000'), "author_name"=>"Miss Geoffrey Rath", "content"=>["Velit et omnis quis molestiae eum officiis rerum. Officiis nemo dolorum fugiat. Quia pariatur voluptatibus aspernatur aperiam consequatur ipsam. Neque voluptatum natus quas laborum. Sed expedita sunt provident beatae dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5545ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f45957735330a89aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89ac0000'), "name"=>"Toby Gutmann", "reference"=>"Ola Reinger", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89ad0000'), "author_name"=>"Myrl Denesik", "content"=>["Dolor fugit sit vel rerum. Aspernatur beatae qui iure. Sit mollitia provident et rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f45957735330a89ac0000", "id"=>"548f45957735330a89ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45957735330a89ae0000'), "name"=>"Lacy Wehner", "reference"=>"Alexie Parisian", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45957735330a89af0000'), "author_name"=>"Mr. Wanda Ratke", "content"=>["Eveniet ut nihil modi. Ut harum incidunt reprehenderit beatae architecto. Architecto quae et natus suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f45957735330a89ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45957735330a89ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89b00000'), "name"=>"Arnulfo Rowe", "reference"=>"Sherwood Kessler PhD", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89b10000'), "author_name"=>"Watson Batz I", "content"=>["Perspiciatis est dolor consequatur et repellat ipsum. Eos asperiores quia praesentium ut ipsa ipsum. Rerum repudiandae harum qui veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f45967735330a89b00000", "id"=>"548f45967735330a89b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89b20000'), "name"=>"Brisa Schmeler", "reference"=>"Rhea Rolfson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89b30000'), "author_name"=>"Carleton Fisher", "content"=>["Quam vitae eaque aut repellat dolores atque. Laboriosam quia tempore molestias repellendus et ipsum animi. Ut provident hic cumque sit et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6568ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45967735330a89b30000", "product_id"=>"548f45967735330a89b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89b20000'), "comments._id"=>BSON::ObjectId('548f45967735330a89b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms Redirected to http://test.host/products/548f45967735330a89b20000/comments/548f45967735330a89b30000 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('548f45967735330a89b40000'), "firstname"=>"Jaquan", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2625ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms Redirected to http://test.host/admin/clients/548f45967735330a89b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2433ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89b60000'), "firstname"=>"Asa", "lastname"=>"Blick"}] 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=>"clients", :query=>{}} runtime: 0.2333ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f45967735330a89b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms 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.2272ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89b70000'), "firstname"=>"Jana", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f45967735330a89b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('548f45967735330a89b80000'), "firstname"=>"Ezra", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4348ms 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('548f45967735330a89b90000'), "firstname"=>"Amina", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.4ms) Completed 200 OK in 39ms (Views: 38.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89ba0000'), "firstname"=>"Camren", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f45967735330a89ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms 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('548f45967735330a89bb0000'), "firstname"=>"Cordelia", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f45967735330a89bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms Redirected to http://test.host/admin/clients/548f45967735330a89bb0000 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('548f45967735330a89bc0000'), "firstname"=>"Arturo", "lastname"=>"Satterfield"}] 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.2018ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Redirected to http://test.host/clients/548f45967735330a89bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2074ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89be0000'), "firstname"=>"Twila", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2085ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f45967735330a89be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89be0000')} 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('548f45967735330a89be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms 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.1976ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89bf0000'), "firstname"=>"Polly", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f45967735330a89bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f45967735330a89c00000'), "firstname"=>"Alberta", "lastname"=>"Langosh"}] 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.3707ms 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('548f45967735330a89c10000'), "firstname"=>"Quinn", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45967735330a89c20000'), "firstname"=>"Eldridge", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f45967735330a89c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms 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('548f45967735330a89c30000'), "firstname"=>"Coy", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f45967735330a89c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4578ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45967735330a89c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Redirected to http://test.host/clients/548f45967735330a89c30000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89c40000'), "name"=>"Lue Predovic", "reference"=>"Michaela Swift", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89c50000'), "firstname"=>"Roberta", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f45967735330a89c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Redirected to http://test.host/products/548f45967735330a89c40000/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('548f45967735330a89c70000'), "name"=>"Mrs. Lewis Rau", "reference"=>"Lionel Bruen", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89c80000'), "firstname"=>"Donald", "lastname"=>"Graham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f45967735330a89c80000", "product_id"=>"548f45967735330a89c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 7.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89c90000'), "name"=>"Elfrieda Heidenreich", "reference"=>"Billie Murphy", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89ca0000'), "firstname"=>"Schuyler", "lastname"=>"Hettinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f45967735330a89c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89cb0000'), "name"=>"Lenna Bartoletti", "reference"=>"Stefanie Wolf PhD", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89cc0000'), "firstname"=>"Fae", "lastname"=>"Kub"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f45967735330a89cc0000", "product_id"=>"548f45967735330a89cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89cd0000'), "name"=>"Hellen Sauer V", "reference"=>"Skye Leuschke", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f45967735330a89ce0000'), "firstname"=>"Madilyn", "lastname"=>"Wisozk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f45967735330a89ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f45967735330a89cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms Unpermitted parameters: name Redirected to http://test.host/products/548f45967735330a89cd0000/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('548f45967735330a89cf0000'), "name"=>"Laury Mann", "reference"=>"Drake Hickle I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d00000'), "name"=>"Lester Lubowitz", "reference"=>"Godfrey Bernhard", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d10000'), "name"=>"Jordon Yost", "reference"=>"Pedro Price", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d20000'), "name"=>"Guadalupe Ward", "reference"=>"Rylee Kozey II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d30000'), "name"=>"Mr. Shanie Sipes", "reference"=>"Ms. Cathryn Kozey", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d40000'), "name"=>"Athena Frami", "reference"=>"Janick Kassulke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3121ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms Redirected to http://test.host/products/548f45967735330a89d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2683ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d60000'), "name"=>"Alexandria Torp DDS", "reference"=>"Lonnie Gusikowski", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.1962ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f45967735330a89d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms 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.2467ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d70000'), "name"=>"Cassie Sauer", "reference"=>"Murray Kling", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f45967735330a89d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f45967735330a89d80000'), "name"=>"Jude Schumm", "reference"=>"Ms. Bell Turner", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362106050] runtime: 0.1069ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4049ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89d90000'), "name"=>"Juwan Gislason", "reference"=>"Bethany Wyman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89da0000'), "name"=>"HelloWorld", "reference"=>"Vicky Sipes PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89db0000'), "name"=>"value", "reference"=>"Aliza Roob", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6259ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4850ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2384ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2214ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2234ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3306ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3086ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2706ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2153ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89dc0000'), "name"=>"Lynn Collier", "reference"=>"Orin Carter IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280786265631] runtime: 0.0868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3429ms Completed 200 OK in 17ms (Views: 16.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279687551207] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280699056974] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401763070] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280222307787] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424028317] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280550293314] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281237780127] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279934572411] runtime: 0.1140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187764666] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793938251] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281250946249] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280818631046] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241708186] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701462425] runtime: 0.0885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272528948] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752890983] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825945497] runtime: 0.0396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280071712648] runtime: 0.0403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281210789534] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087835316] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281198108199] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279910355414] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014204120] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485609286] runtime: 0.0401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279729149587] runtime: 0.0394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280746838209] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041620245] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226482671] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769977387] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281244631500] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279321769245] runtime: 0.0390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515364440] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281287170295] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279691396122] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279548816839] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280786132820] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023839110] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987872031] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137430280] runtime: 0.0784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635156876] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496780282] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342829279] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762317094] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280618263921] runtime: 0.0395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280083519478] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079937623] runtime: 0.0390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247975084] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280868786751] runtime: 0.0405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280949260684] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806220015] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279473253481] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838359552] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282433688] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908306781] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479282686] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280213526213] runtime: 0.0394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921325525] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126304255] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280106320713] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996320326] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693791782] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279654052153] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998791918] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280681462389] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279744155340] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502981709] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609362107] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609927407] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702843385] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018562042] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191380041] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280598791672] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.8285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279202120185] runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193138449] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476454199] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639870601] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280702919703] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281139924001] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698501194] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281168849216] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366426516] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280179030677] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591712968] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531001535] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095460284] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098747364] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280912477553] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574648224] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281168813574] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180405167] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805188842] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658983843] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864204180] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202230742] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713277736] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316987620] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281201962009] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280582065636] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279768280084] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280844539713] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047838344] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280111849273] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208527967] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274650309] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702526475] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969379991] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942092122] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710630935] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280495997855] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286959851] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280385367230] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279242355869] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280770989629] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280015497732] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280573284385] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167119887] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279772159567] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279796283766] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469314666] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880877683] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280055263068] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280550507376] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279974371349] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791169856] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280957688541] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279975989858] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279963179716] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279600532316] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845602396] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366484938] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500368080] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343983876] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280379871439] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857942182] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916439070] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280509898352] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270749281] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175616792] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211144515] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280125008293] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279670761180] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280565570920] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281032185766] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605496984] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735648558] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853164522] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845399343] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279543398167] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281017061066] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279979870972] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875819549] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.3006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281013188401] runtime: 0.0899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280786058771] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280810182337] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197186078] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006568773] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280058235225] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279445499998] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279924393531] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677796154] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279282954977] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556460398] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280788822288] runtime: 0.0471ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89dd0000'), "name"=>"Jovanny Bergnaum", "reference"=>"Jovany O'Keefe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6402ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280287325071] runtime: 0.0732ms Completed 200 OK in 5ms (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('548f45967735330a89de0000'), "name"=>"Miss Marge Blick", "reference"=>"Beverly Heller", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f45967735330a89de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms 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('548f45967735330a89df0000'), "name"=>"Lisette Koss", "reference"=>"Joany D'Amore", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('548f45967735330a89e10000'), "name"=>"Cesar Corwin", "reference"=>"Celine Legros", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f45967735330a89e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89e20000'), "name"=>"Cade Ledner", "reference"=>"Claire Aufderhar", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms 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('548f45967735330a89e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1717ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89e40000'), "name"=>"Walter Klein", "reference"=>"Ms. Mervin Cremin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f45967735330a89e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89e40000')} 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('548f45967735330a89e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms 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('548f45967735330a89e50000'), "name"=>"Jamison Haley", "reference"=>"Roselyn Kassulke V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms 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('548f45967735330a89e70000'), "name"=>"Mr. Maximus Runolfsdottir", "reference"=>"Mr. Crawford Boehm", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f45967735330a89e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89e70000')} 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('548f45967735330a89e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms 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('548f45967735330a89e80000'), "name"=>"Chloe Marvin", "reference"=>"Lucile Gleason", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f45967735330a89e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89e80000')} 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('548f45967735330a89e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms Redirected to http://test.host/products/548f45967735330a89e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89eb0000'), "name"=>"Patsy Marks", "reference"=>"Isaiah Cummerata II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89e90000'), "author_name"=>"Breanna Leffler", "content"=>["Dolores omnis sint illum earum aperiam exercitationem. Et nemo dolorem molestiae. Voluptatem maxime et neque consequuntur est."], "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89ea0000'), "author_name"=>"Judd Kling", "content"=>["Et asperiores soluta. Quos accusantium ut sed vel maxime sed. Voluptas perspiciatis tempore ut eveniet aut. Atque iusto voluptatem laborum aliquam consequuntur ex. Dolorem atque eius voluptatum nostrum amet perferendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45967735330a89eb0000", "comment_id"=>"548f45967735330a89e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89eb0000'), "comments._id"=>BSON::ObjectId('548f45967735330a89e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f45967735330a89ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Redirected to http://test.host/products/548f45967735330a89eb0000/comments/548f45967735330a89e90000/comments/548f45967735330a89ec0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45967735330a89ef0000'), "name"=>"Dayna Wiegand", "reference"=>"Mr. Warren Huel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89ed0000'), "author_name"=>"Virgil Turner", "content"=>["Et qui neque tenetur omnis nulla iste quia. Aliquid consequatur libero quia iure quia amet praesentium. Odit ullam similique et. Modi recusandae nobis non nisi a voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('548f45967735330a89ee0000'), "author_name"=>"Herman Kovacek", "content"=>["Modi eius non rem veritatis cumque. Nam rerum inventore id quod voluptatem fugiat velit. Dolor eaque nemo assumenda tenetur ex quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 634.8909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6583ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f45967735330a89ef0000", "comment_id"=>"548f45967735330a89ed0000", "id"=>"548f45967735330a89ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7005ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89ef0000'), "comments._id"=>BSON::ObjectId('548f45967735330a89ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f45967735330a89ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8945ms Redirected to http://test.host/products/548f45967735330a89ef0000/comments/548f45967735330a89ed0000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45967735330a89ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5417ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89f20000'), "name"=>"Lucio Kunze", "reference"=>"Carter Fisher IV", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f00000'), "author_name"=>"Brandy Carroll", "content"=>["Ea qui doloremque placeat. Recusandae laudantium eaque animi quam quod laborum alias. Nihil consequatur atque quia placeat. Officiis in aperiam consectetur est velit voluptatum. Nobis harum ut doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f10000'), "author_name"=>"Celestine Boehm V", "content"=>["Vero odio aspernatur cupiditate ipsam. Rem doloremque soluta sequi dolorem accusamus alias iure. Soluta quo similique rem voluptatum numquam. Ut ipsam quam molestiae esse facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7433ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f45977735330a89f20000", "comment_id"=>"548f45977735330a89f00000", "id"=>"548f45977735330a89f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6196ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 16ms (Views: 10.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89f50000'), "name"=>"Rocio West I", "reference"=>"Chance Herman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f30000'), "author_name"=>"Lia Ruecker II", "content"=>["Natus animi delectus incidunt molestiae et facere. Reiciendis et nisi recusandae rerum. Culpa perferendis qui nam nostrum. Nihil voluptatem rem nulla est."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f40000'), "author_name"=>"Narciso Casper", "content"=>["Laudantium nisi aut qui. Est ipsa eaque natus molestiae provident. Laborum omnis aut debitis voluptatem modi dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8099ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f45977735330a89f50000", "comment_id"=>"548f45977735330a89f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5636ms Completed 200 OK in 9ms (Views: 5.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89f80000'), "name"=>"Lessie Fisher", "reference"=>"Destiney West", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f60000'), "author_name"=>"Dr. Hassan Schroeder", "content"=>["Quo magni consectetur aut voluptates est sed asperiores. Veniam nihil omnis blanditiis aut. Quibusdam perspiciatis ut et vel. Autem maxime est quidem cupiditate nobis fugiat minus."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f70000'), "author_name"=>"Lucio Dicki", "content"=>["Optio nostrum numquam molestiae non. Laboriosam sit sed ex. Dolorem et corporis sit. Et aut hic magni quis quisquam delectus ratione. Molestiae placeat recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7093ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f45977735330a89f80000", "comment_id"=>"548f45977735330a89f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5521ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89fb0000'), "name"=>"Carley Koch Jr.", "reference"=>"Santina Sawayn V", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89f90000'), "author_name"=>"Gaetano Dicki Jr.", "content"=>["Voluptatem omnis aliquid odio. Alias sequi ab ut qui sit quos. Est quis quas odio et deleniti consequuntur autem. Quaerat eos iure debitis qui laborum veniam quo. Et consequuntur perspiciatis repellat esse dolores est aut."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89fa0000'), "author_name"=>"Miss Michelle Collins", "content"=>["Deserunt labore nostrum aliquam ducimus beatae distinctio id. Consequuntur voluptate molestias. Quia molestiae placeat provident reiciendis repellat facere dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6853ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f45977735330a89fb0000", "comment_id"=>"548f45977735330a89f90000", "id"=>"548f45977735330a89fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 4ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89fe0000'), "name"=>"Cathryn Bernhard III", "reference"=>"Mrs. Fiona Monahan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89fc0000'), "author_name"=>"Marcia Schaden", "content"=>["Qui quod architecto earum. Consequatur ut veritatis error tempora qui qui. Dolores dolores est quia aut rerum. Molestiae voluptatem beatae."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89fd0000'), "author_name"=>"Rosemarie Wunsch IV", "content"=>["Aperiam deserunt est. Reprehenderit ut nemo aut illo. Deserunt nihil veritatis quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6255ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f45977735330a89fe0000", "comment_id"=>"548f45977735330a89fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5002ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 5.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89010100'), "name"=>"Rosalia Mayer", "reference"=>"Mavis Welch", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89ff0000'), "author_name"=>"Heloise Turcotte DDS", "content"=>["Id rerum autem aut. Veniam fugiat sunt. Eum quis eos omnis modi. Vero rem iusto soluta rerum magni amet. Quo id nesciunt maiores sit magnam ipsa et."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89000100'), "author_name"=>"Drew King MD", "content"=>["Est debitis earum maiores. Facilis odio neque. Nam et sunt. Hic atque delectus laboriosam a commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6993ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f45977735330a89010100", "comment_id"=>"548f45977735330a89ff0000", "id"=>"548f45977735330a89000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4956ms Completed 200 OK in 7ms (Views: 3.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45977735330a89040100'), "name"=>"Mrs. Carmel Cole", "reference"=>"Keaton Purdy MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89020100'), "author_name"=>"Lillie Vandervort", "content"=>["Impedit omnis molestias voluptate ratione a. Libero dicta ipsa sunt. Ut sint saepe molestiae quia repellendus. Qui nihil quisquam provident debitis."], "comments"=>[{"_id"=>BSON::ObjectId('548f45977735330a89030100'), "author_name"=>"Deanna Sauer", "content"=>["Voluptate enim deserunt. Nam inventore veritatis. Est corrupti sunt velit molestiae magnam. Rerum sit ab. Cumque autem et aut ullam facere doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6761ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45977735330a89030100", "product_id"=>"548f45977735330a89040100", "comment_id"=>"548f45977735330a89020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45977735330a89040100'), "comments._id"=>BSON::ObjectId('548f45977735330a89020100'), "comments.0.comments._id"=>BSON::ObjectId('548f45977735330a89030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7765ms Redirected to http://test.host/products/548f45977735330a89040100/comments/548f45977735330a89020100/comments/548f45977735330a89030100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a89050100'), "firstname"=>"Kamren", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3703ms 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('548f45977735330a89060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms Redirected to http://test.host/users/548f45977735330a89060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3663ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a89070100'), "firstname"=>"Sidney", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3511ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f45977735330a89070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45977735330a89070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45977735330a89070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms 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.3448ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a89080100'), "firstname"=>"Forest", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f45977735330a89080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45977735330a89080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('548f45977735330a89090100'), "firstname"=>"Damion", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms 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.4287ms Completed 200 OK in 39ms (Views: 38.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a890a0100'), "firstname"=>"Gage", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9649ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a890b0100'), "firstname"=>"Jayda", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f45977735330a890b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45977735330a890b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Completed 200 OK in 4ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45977735330a890c0100'), "firstname"=>"Lea", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5725ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f45977735330a890c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45977735330a890c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4283ms Unpermitted parameters: name Redirected to http://test.host/users/548f45977735330a890c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms 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.3138ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms 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.3257ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms 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.2694ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60000000'), "firstname"=>"Doyle", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1887ms 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('548f45c57735330b60010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms 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.2575ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60020000'), "firstname"=>"Moriah", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f45c57735330b60020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c57735330b60020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60030000'), "firstname"=>"Tania", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60040000'), "firstname"=>"Zachery", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f45c57735330b60040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c57735330b60040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60050000'), "firstname"=>"Maria", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f45c57735330b60050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c57735330b60050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms 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('548f45c57735330b60060000'), "name"=>"Seamus Kutch", "reference"=>"Davonte Effertz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b60070000'), "author_name"=>"Stephany Brekke", "content"=>["Voluptatibus ducimus accusantium voluptatem perspiciatis. Mollitia et eligendi nemo dolorem aliquam corrupti. Laborum quidem quod. Quia dolore quis voluptas quidem tempore tempora omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45c57735330b60060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45c57735330b60080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Redirected to http://test.host/admin/products/548f45c57735330b60060000/comments/548f45c57735330b60080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60090000'), "name"=>"Dr. Dario Hermann", "reference"=>"Raegan Cummings", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b600a0000'), "author_name"=>"Wilmer Bashirian", "content"=>["Nemo libero maxime ducimus et in. Est beatae quam. Harum earum aut itaque rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f45c57735330b60090000", "id"=>"548f45c57735330b600a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60090000')} 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('548f45c57735330b60090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45c57735330b600a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Redirected to http://test.host/admin/products/548f45c57735330b60090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b600b0000'), "name"=>"Mrs. Millie Auer", "reference"=>"Trycia Kemmer MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b600c0000'), "author_name"=>"Emil Bergnaum", "content"=>["Aut atque distinctio qui hic omnis perspiciatis architecto. Similique ut at sed alias sit suscipit maiores. Culpa incidunt delectus. Illo labore dolor vel. Dolor eius quaerat qui numquam odio qui magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f45c57735330b600b0000", "id"=>"548f45c57735330b600c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b600b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3766ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b600d0000'), "name"=>"Duane Anderson", "reference"=>"Mr. Eliezer Lebsack", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b600e0000'), "author_name"=>"Sonny Douglas V", "content"=>["Eaque ipsum quisquam repudiandae vitae repellendus. Blanditiis dolorem eos ut. Iusto modi mollitia voluptatum aut et. Dolorem inventore nobis. Eligendi soluta vel voluptas ipsum velit animi velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f45c57735330b600d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b600d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b600f0000'), "name"=>"Dean Kunze", "reference"=>"Miss Yessenia Ankunding", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b60100000'), "author_name"=>"Micheal Wiza", "content"=>["Temporibus voluptate distinctio velit. Qui ratione quis dignissimos tenetur ipsum laborum. Vel sunt officia sit placeat a fugiat et. Ratione vel iure quis eos ad voluptatibus quibusdam. Omnis expedita deserunt repudiandae qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f45c57735330b600f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b600f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60110000'), "name"=>"Stanton Littel", "reference"=>"Dr. Sophia Bartell", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b60120000'), "author_name"=>"Joel Funk", "content"=>["Eveniet esse nam praesentium optio quis. Iusto molestiae maiores quia assumenda qui. Corrupti sit sint sapiente facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f45c57735330b60110000", "id"=>"548f45c57735330b60120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60130000'), "name"=>"Vivianne Waters", "reference"=>"Bo Glover", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45c57735330b60140000'), "author_name"=>"Hayden Daugherty", "content"=>["Architecto quae maiores quisquam dolore at atque. Culpa vel aliquid. Nihil quo tenetur minus. Esse omnis quas perspiciatis repellendus aliquid. Incidunt vero est officiis voluptas voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45c57735330b60140000", "product_id"=>"548f45c57735330b60130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60130000')} 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('548f45c57735330b60130000'), "comments._id"=>BSON::ObjectId('548f45c57735330b60140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Redirected to http://test.host/admin/products/548f45c57735330b60130000/comments/548f45c57735330b60140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60150000'), "name"=>"Crystel Morar DDS", "reference"=>"Franz Stoltenberg I", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b60160000'), "firstname"=>"Vaughn", "lastname"=>"Strosin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f45c57735330b60150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b60170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms Redirected to http://test.host/admin/products/548f45c57735330b60150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60180000'), "name"=>"Tremayne Beatty", "reference"=>"Aletha Bergnaum", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b60190000'), "firstname"=>"Fritz", "lastname"=>"Breitenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f45c57735330b60190000", "product_id"=>"548f45c57735330b60180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b601a0000'), "name"=>"Elvis Cummerata", "reference"=>"Sylvester Kovacek", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b601b0000'), "firstname"=>"Ted", "lastname"=>"Kris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7218ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f45c57735330b601a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b601a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b601c0000'), "name"=>"Mr. Eulalia Beer", "reference"=>"Alan Cole", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b601d0000'), "firstname"=>"Dedrick", "lastname"=>"Emmerich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f45c57735330b601d0000", "product_id"=>"548f45c57735330b601c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b601c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b601e0000'), "name"=>"Pierce Hessel DDS", "reference"=>"Johan Pfeffer", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f45c57735330b601f0000'), "firstname"=>"Hardy", "lastname"=>"Brekke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f45c57735330b601f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f45c57735330b601e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b601e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f45c57735330b601e0000/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('548f45c57735330b60200000'), "name"=>"Horace Johnson DVM", "reference"=>"Kira Gleason", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2038ms 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('548f45c57735330b60210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms Redirected to http://test.host/admin/products/548f45c57735330b60210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60220000'), "name"=>"Kendrick Schinner", "reference"=>"Madilyn Parker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1933ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f45c57735330b60220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60220000')} 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={"_id"=>BSON::ObjectId('548f45c57735330b60220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms 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.2225ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60230000'), "name"=>"Edythe Prohaska", "reference"=>"Alexandre Schultz", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f45c57735330b60230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60240000'), "name"=>"Ambrose Welch", "reference"=>"Pearline Schimmel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms 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.6200ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c57735330b60250000'), "name"=>"Alivia Bahringer", "reference"=>"Ms. Kristofer Skiles", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('548f45c57735330b60280000'), "name"=>"Jayce Weissnat", "reference"=>"Marcelino Bode", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5681ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f45c57735330b60280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms 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('548f45c57735330b60290000'), "name"=>"Theodore Langworth", "reference"=>"Nikki Zboncak", "quantity"=>6}] 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"=>"548f45c57735330b60290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c57735330b60290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5988ms Redirected to http://test.host/admin/products/548f45c57735330b60290000 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('548f45c57735330b602a0000'), "firstname"=>"Eve", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5638ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2030ms 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('548f45c57735330b602b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms Redirected to http://test.host/admin/users/548f45c57735330b602b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1600ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c57735330b602c0000'), "firstname"=>"Bria", "lastname"=>"Kuhlman"}] 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.1830ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f45c57735330b602c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c57735330b602c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c57735330b602c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms 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.2644ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c57735330b602d0000'), "firstname"=>"Marta", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f45c57735330b602d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c57735330b602d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c57735330b602e0000'), "firstname"=>"Yesenia", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms 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.4163ms 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('548f45c57735330b602f0000'), "firstname"=>"Layla", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('548f45c67735330b60300000'), "firstname"=>"Frances", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f45c67735330b60300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c67735330b60300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60310000'), "firstname"=>"Kaylie", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4863ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f45c67735330b60310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c67735330b60310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f45c67735330b60310000 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('548f45c67735330b60320000'), "firstname"=>"Hattie", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2256ms 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('548f45c67735330b60330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms 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('548f45c67735330b60340000'), "firstname"=>"Lorine", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f45c67735330b60340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c67735330b60340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60350000'), "firstname"=>"Lori", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60360000'), "firstname"=>"Jennifer", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f45c67735330b60360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c67735330b60360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60370000'), "firstname"=>"Tatum", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f45c67735330b60370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f45c67735330b60370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60380000'), "name"=>"Kaia Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60390000'), "name"=>"Curtis Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603a0000'), "name"=>"Camron Willms Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603b0000'), "name"=>"Gunner Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603c0000'), "name"=>"Adelbert Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603d0000'), "name"=>"Colt Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603e0000'), "name"=>"Mr. Ursula Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b603f0000'), "name"=>"Eriberto Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b603f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60400000'), "name"=>"Paolo Hettinger Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60410000'), "name"=>"Alexa Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60420000'), "name"=>"Jacques Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60430000'), "name"=>"Eulalia Smitham III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60440000'), "name"=>"Fae Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60450000'), "name"=>"Mikayla Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60460000'), "name"=>"Izabella Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60470000'), "name"=>"Einar Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60480000'), "name"=>"Stephany Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60490000'), "name"=>"Amya Auer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604a0000'), "name"=>"Frederik Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604b0000'), "name"=>"Hilbert Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604c0000'), "name"=>"Macy Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604d0000'), "name"=>"Berniece Lockman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604e0000'), "name"=>"Elinore Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b604f0000'), "name"=>"Miss Beulah Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b604f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60500000'), "name"=>"Violet Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60510000'), "name"=>"Brandi Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60520000'), "name"=>"Nicholas Mohr MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60530000'), "name"=>"Carolina Braun PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60540000'), "name"=>"Montana D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60550000'), "name"=>"Makenzie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60560000'), "name"=>"Shayna Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60570000'), "name"=>"Fredrick Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60580000'), "name"=>"Casandra Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60590000'), "name"=>"Cecelia Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605a0000'), "name"=>"Miles Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605b0000'), "name"=>"Brannon Weimann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605c0000'), "name"=>"Maximo Konopelski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605d0000'), "name"=>"Werner Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605e0000'), "name"=>"Theodora Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b605f0000'), "name"=>"Janiya Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b605f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60600000'), "name"=>"Oswald Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60610000'), "name"=>"Elbert Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60620000'), "name"=>"Vince Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60630000'), "name"=>"Kailey Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60640000'), "name"=>"Antonia Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60650000'), "name"=>"Cristal Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60660000'), "name"=>"Coralie Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60670000'), "name"=>"Aiyana Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60680000'), "name"=>"Dorian Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60690000'), "name"=>"Tad Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606a0000'), "name"=>"Ms. Grayce Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606b0000'), "name"=>"Kaela Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606c0000'), "name"=>"Nedra Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606d0000'), "name"=>"Celestine Emard Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606e0000'), "name"=>"Chadrick McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b606f0000'), "name"=>"Reanna Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b606f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60700000'), "name"=>"Aurore Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60710000'), "name"=>"Austen Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60720000'), "name"=>"Nels Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60730000'), "name"=>"Elise Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60740000'), "name"=>"Kayden Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60750000'), "name"=>"Andy Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60760000'), "name"=>"Willa Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60770000'), "name"=>"Meaghan Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60780000'), "name"=>"Agustin Bradtke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60790000'), "name"=>"Dr. Ali Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607a0000'), "name"=>"Dora Kuvalis MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607b0000'), "name"=>"Roel Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607c0000'), "name"=>"Liza Gerlach DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607d0000'), "name"=>"Lisa Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607e0000'), "name"=>"Leilani Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b607f0000'), "name"=>"Blake Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b607f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60800000'), "name"=>"Declan Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60810000'), "name"=>"Carmela Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60820000'), "name"=>"Richie Beahan Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60830000'), "name"=>"Nico Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60840000'), "name"=>"Stuart Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60850000'), "name"=>"Adeline Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60860000'), "name"=>"Ms. Malachi Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60870000'), "name"=>"Cathrine Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60880000'), "name"=>"Dr. Forest Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60890000'), "name"=>"Ursula Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608a0000'), "name"=>"Tad Denesik MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608b0000'), "name"=>"Mrs. Maurice Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608c0000'), "name"=>"Adelia Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608d0000'), "name"=>"Felicia Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608e0000'), "name"=>"Dr. Yolanda Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b608f0000'), "name"=>"Kari Rempel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b608f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60900000'), "name"=>"Chaz Wiza Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60910000'), "name"=>"Jessie Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60920000'), "name"=>"Coleman McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60930000'), "name"=>"Jerome Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60940000'), "name"=>"Madonna Schaden I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60950000'), "name"=>"Burdette Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60960000'), "name"=>"Miss Jeffrey Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60970000'), "name"=>"Nannie Fay V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1643ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms Redirected to http://test.host/categories/548f45c67735330b60980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1821ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60990000'), "name"=>"Mrs. Marty Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1644ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f45c67735330b60990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b60990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b60990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1646ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b609a0000'), "name"=>"Katelyn Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f45c67735330b609a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b609a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b609b0000'), "name"=>"Jadon Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305715509874] runtime: 0.0988ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2323ms Completed 200 OK in 15ms (Views: 14.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b609c0000'), "name"=>"Delta Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305136501276] runtime: 0.0711ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1820ms Completed 200 OK in 8ms (Views: 7.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b609d0000'), "name"=>"Elody Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 6ms (Views: 5.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b609f0000'), "name"=>"Jaleel Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f45c67735330b609f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b609f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b609f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms Completed 200 OK in 4ms (Views: 2.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60a00000'), "name"=>"Koby Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f45c67735330b60a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b60a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f45c67735330b60a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f45c67735330b60a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms Redirected to http://test.host/categories/548f45c67735330b60a00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60a10000'), "name"=>"Christa Hand Sr.", "reference"=>"Wilbert Kerluke", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60a20000'), "author_name"=>"Sherman Emmerich", "content"=>["Numquam id qui nesciunt et tempore aut. Perferendis accusantium non ipsa. Reprehenderit veritatis expedita est eos tempore nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45c67735330b60a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45c67735330b60a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Redirected to http://test.host/products/548f45c67735330b60a10000/comments/548f45c67735330b60a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60a40000'), "name"=>"Miss Reuben Mosciski", "reference"=>"Aurelia Hammes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60a50000'), "author_name"=>"Olga Spinka", "content"=>["Provident exercitationem eligendi deleniti quibusdam illo corrupti. Exercitationem et voluptatum nemo temporibus est. Inventore vel voluptate natus laudantium aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f45c67735330b60a40000", "id"=>"548f45c67735330b60a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f45c67735330b60a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Redirected to http://test.host/products/548f45c67735330b60a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60a60000'), "name"=>"Mateo Mertz", "reference"=>"Hattie Lueilwitz", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60a70000'), "author_name"=>"Carleton Champlin", "content"=>["Rerum consequatur est aut. Sed molestiae quam laborum quod voluptatum et neque. Quisquam excepturi dolor nostrum aut rerum ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f45c67735330b60a60000", "id"=>"548f45c67735330b60a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60a80000'), "name"=>"Buford Green", "reference"=>"Rhianna Bashirian", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60a90000'), "author_name"=>"Eladio Sawayn", "content"=>["Amet id consequatur esse quia ab. Omnis qui facere quia ratione provident quis. Perspiciatis magnam laboriosam. Voluptatibus exercitationem molestiae eaque et est nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f45c67735330b60a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60aa0000'), "name"=>"Sim Quigley", "reference"=>"Monty Stark", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60ab0000'), "author_name"=>"Miss Dejuan Bogan", "content"=>["Magnam molestiae et ut atque in dolores. Quasi qui amet vel odio nulla voluptas est. Assumenda ducimus quasi ab aut totam deleniti enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f45c67735330b60aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60ac0000'), "name"=>"Brendon D'Amore", "reference"=>"Sammy Rowe", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60ad0000'), "author_name"=>"Alicia Senger", "content"=>["Sequi qui earum ex est. Qui error quaerat in autem. Voluptas et consectetur. Ipsa nam eum dolor praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f45c67735330b60ac0000", "id"=>"548f45c67735330b60ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60ae0000'), "name"=>"Lilyan Russel", "reference"=>"Brannon Keebler V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60af0000'), "author_name"=>"Ashleigh Harvey", "content"=>["Eligendi incidunt ipsum saepe dignissimos at ut. Facere et totam id. Modi suscipit animi cupiditate. Aut velit est dolor ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6886ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f45c67735330b60ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60b00000'), "name"=>"Kyle Gerhold", "reference"=>"Aurelia Fadel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60b10000'), "author_name"=>"Larue Balistreri", "content"=>["Aut reiciendis est. Cum vel temporibus. Iste eligendi vero aliquam illum id odit consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f45c67735330b60b00000", "id"=>"548f45c67735330b60b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60b20000'), "name"=>"Bud Dare DDS", "reference"=>"Ms. Harmony Carter", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45c67735330b60b30000'), "author_name"=>"Alexys Kautzer", "content"=>["Nihil nulla fuga vero error quod quia. Veniam impedit ut quo. Totam neque quisquam asperiores iusto illum. Qui ullam assumenda fuga delectus pariatur et sequi. Et sit animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45c67735330b60b30000", "product_id"=>"548f45c67735330b60b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60b20000')} 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('548f45c67735330b60b20000'), "comments._id"=>BSON::ObjectId('548f45c67735330b60b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Redirected to http://test.host/products/548f45c67735330b60b20000/comments/548f45c67735330b60b30000 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('548f45c67735330b60b40000'), "firstname"=>"Gerard", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1791ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Redirected to http://test.host/admin/clients/548f45c67735330b60b50000 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('548f45c67735330b60b60000'), "firstname"=>"Unique", "lastname"=>"Stark"}] 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.1672ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f45c67735330b60b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms 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.1821ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60b70000'), "firstname"=>"Alford", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f45c67735330b60b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f45c67735330b60b80000'), "firstname"=>"Bryon", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms 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('548f45c67735330b60b90000'), "firstname"=>"Benjamin", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.1ms) Completed 200 OK in 37ms (Views: 36.5ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60ba0000'), "firstname"=>"Amya", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f45c67735330b60ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms 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('548f45c67735330b60bb0000'), "firstname"=>"Mack", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f45c67735330b60bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Redirected to http://test.host/admin/clients/548f45c67735330b60bb0000 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('548f45c67735330b60bc0000'), "firstname"=>"Marlin", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1724ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Redirected to http://test.host/clients/548f45c67735330b60bd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60be0000'), "firstname"=>"Simone", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1599ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f45c67735330b60be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms 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.1751ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60bf0000'), "firstname"=>"Rodolfo", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f45c67735330b60bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms Rendered /home/geoffroy/projects/crealettres/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('548f45c67735330b60c00000'), "firstname"=>"Pattie", "lastname"=>"Schinner"}] 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.3705ms 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('548f45c67735330b60c10000'), "firstname"=>"Davonte", "lastname"=>"Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f45c67735330b60c20000'), "firstname"=>"Terrance", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f45c67735330b60c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms 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('548f45c67735330b60c30000'), "firstname"=>"Dean", "lastname"=>"Boehm"}] 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"=>"548f45c67735330b60c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f45c67735330b60c30000')} 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('548f45c67735330b60c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms Redirected to http://test.host/clients/548f45c67735330b60c30000 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('548f45c67735330b60c40000'), "name"=>"Miss Brandi Zboncak", "reference"=>"Danyka White", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60c50000'), "firstname"=>"Gay", "lastname"=>"Erdman"}}] 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"=>"548f45c67735330b60c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms Redirected to http://test.host/products/548f45c67735330b60c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60c70000'), "name"=>"Sienna Herzog Sr.", "reference"=>"Naomi Lubowitz", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60c80000'), "firstname"=>"Marisol", "lastname"=>"Jacobson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f45c67735330b60c80000", "product_id"=>"548f45c67735330b60c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60c90000'), "name"=>"Ronny Parker", "reference"=>"Tiffany Mante", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60ca0000'), "firstname"=>"Marley", "lastname"=>"Adams"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f45c67735330b60c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60cb0000'), "name"=>"Odell Bartell MD", "reference"=>"Lavina Roob", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60cc0000'), "firstname"=>"Friedrich", "lastname"=>"Wolf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f45c67735330b60cc0000", "product_id"=>"548f45c67735330b60cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60cd0000'), "name"=>"Tess Zboncak", "reference"=>"Keeley Aufderhar", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f45c67735330b60ce0000'), "firstname"=>"Pearlie", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f45c67735330b60ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f45c67735330b60cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Unpermitted parameters: name Redirected to http://test.host/products/548f45c67735330b60cd0000/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('548f45c67735330b60cf0000'), "name"=>"Eliza Moore", "reference"=>"Osvaldo Cruickshank", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d00000'), "name"=>"Alfonso Yost PhD", "reference"=>"Aubree Reichel", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d10000'), "name"=>"Fern Collier", "reference"=>"King Sipes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d20000'), "name"=>"Gabe Parisian", "reference"=>"Kellen Zulauf", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d30000'), "name"=>"Bradford Howell", "reference"=>"Miss Cornelius Waelchi", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d40000'), "name"=>"Timmy Dach", "reference"=>"Virginia Bogan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1719ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d50000'), "name"=>"Maggie Schoen", "reference"=>"Verna Feest", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f45c67735330b60d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4255ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60d50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms 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.2222ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d60000'), "name"=>"Lisette O'Hara", "reference"=>"Augustine Quigley", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f45c67735330b60d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c67735330b60d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('548f45c67735330b60d70000'), "name"=>"Dexter Kihn Jr.", "reference"=>"Laurie Zieme", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130126233] runtime: 0.0919ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2887ms Completed 200 OK in 17ms (Views: 16.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d80000'), "name"=>"Itzel Effertz", "reference"=>"Domingo Ondricka IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60d90000'), "name"=>"HelloWorld", "reference"=>"Crawford Ward", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60da0000'), "name"=>"value", "reference"=>"Dewitt Carter", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6279ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4518ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3627ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1705ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3474ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1675ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c67735330b60db0000'), "name"=>"Bernadette Gerlach", "reference"=>"Camille Jacobs", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118058921] runtime: 0.1061ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2946ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921862746] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279302819602] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280430216245] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243483093] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280083015693] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112936839] runtime: 0.1084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191669919] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280263265264] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281123929122] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399827747] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279257433656] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416185570] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280977564207] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756924527] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324263964] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916330402] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195286890] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281109184476] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280421097803] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145223602] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543061672] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035318302] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279543544972] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690675653] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279513251472] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281019533907] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117356673] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000098656] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280928908519] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170012403] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481370931] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280530059118] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049183321] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642979616] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280775292470] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859326247] runtime: 0.0791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279328120991] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280759271312] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558029617] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002497437] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838505659] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483071420] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279430461895] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390512268] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280578350068] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279751557589] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193243676] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280064264242] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280385482521] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882331501] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279942903293] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520790635] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984671170] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972320903] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976903891] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279758106325] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649747080] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297930145] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316472591] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279797166989] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280364363433] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116127261] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209931315] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170821219] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279525579214] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.1708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279252095019] runtime: 0.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560508517] runtime: 0.0755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924379400] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280575194723] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025580466] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049231532] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864789447] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858988077] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095153950] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279465630461] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873821413] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279894390748] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279792672141] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563027740] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280378320656] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905549728] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094942192] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251409629] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279416678294] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743696992] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280142878727] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735288550] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279489258563] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413540258] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295768507] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280755031051] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281026462269] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248983119] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732033311] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462914730] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725924052] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280182068079] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280285026075] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676909826] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978976543] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280057148442] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815966552] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049817209] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224207936] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280551564203] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936436409] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280293800280] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922208085] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279569408784] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748650909] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279699890102] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281266428491] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294245089] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279956398589] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281277636530] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403593493] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326296155] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318638456] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892469843] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280353890299] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239192678] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147462799] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281288690906] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279691354085] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270807711] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217948189] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676662759] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280149843893] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583269753] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432256984] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280996298070] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281111232897] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279798712674] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279519806580] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4445ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206235706] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150377101] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103047230] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279340187215] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279703301524] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144646912] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879754729] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279640975972] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.4070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557002625] runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280511393870] runtime: 0.0718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132560181] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280688418370] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886264276] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924276510] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049053920] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792129046] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253163315] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280496174595] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304811010] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191737496] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280472285453] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279234607438] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279531884015] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279527465167] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180506751] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515356985] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138487203] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136606481] runtime: 0.0424ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60dc0000'), "name"=>"Taya Lubowitz MD", "reference"=>"Miss Khalil Stroman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5070ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280033138551] runtime: 0.0871ms 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('548f45c77735330b60dd0000'), "name"=>"Samantha Bergstrom", "reference"=>"Richmond Schiller", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f45c77735330b60dd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms 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('548f45c77735330b60de0000'), "name"=>"Clotilde Jaskolski", "reference"=>"Deron Ratke", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) 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('548f45c77735330b60e10000'), "name"=>"Maggie Kilback", "reference"=>"Devonte Skiles", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.9957ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f45c77735330b60e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3682ms 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('548f45c77735330b60e20000'), "name"=>"Noe Wehner", "reference"=>"Mrs. Olen Brakus", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5853ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3247ms 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('548f45c77735330b60e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5905ms Completed 201 Created in 4ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3088ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60e40000'), "name"=>"Ocie Christiansen", "reference"=>"Rodolfo Reynolds", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f45c77735330b60e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4882ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Completed 200 OK in 4ms (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('548f45c77735330b60e50000'), "name"=>"Imelda Keeling", "reference"=>"Lorna Becker", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60e70000'), "name"=>"Shea Dicki", "reference"=>"Dr. Josephine Will", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f45c77735330b60e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60e80000'), "name"=>"Meaghan D'Amore", "reference"=>"Lillie Rogahn", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f45c77735330b60e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4762ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms Redirected to http://test.host/products/548f45c77735330b60e80000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60eb0000'), "name"=>"Watson Adams", "reference"=>"Loyce Rath III", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60e90000'), "author_name"=>"Thad Dietrich IV", "content"=>["Omnis harum aut soluta ut dicta sed praesentium. Ipsam ut optio ratione qui minima qui. Et labore vel a consectetur voluptas porro. Praesentium laudantium atque. Rerum voluptas tempora ipsam minus delectus et."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60ea0000'), "author_name"=>"Christa Gottlieb III", "content"=>["Mollitia quam officiis et quod quis repellendus. Fugiat voluptas id id iusto minus. Dolores veritatis velit eum voluptatibus maiores ipsam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f45c77735330b60eb0000", "comment_id"=>"548f45c77735330b60e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60eb0000'), "comments._id"=>BSON::ObjectId('548f45c77735330b60e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f45c77735330b60ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6758ms Redirected to http://test.host/products/548f45c77735330b60eb0000/comments/548f45c77735330b60e90000/comments/548f45c77735330b60ec0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60ef0000'), "name"=>"Alice Kuhic", "reference"=>"Jamel Swaniawski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60ed0000'), "author_name"=>"Demond Bogan IV", "content"=>["Corrupti consequuntur ut hic ipsa voluptatum. Facilis ex maxime nesciunt quas suscipit voluptas nemo. Et est facere tenetur ut earum. Doloremque dolores ut dolor. Non magnam enim nemo exercitationem suscipit alias."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60ee0000'), "author_name"=>"Arvid Stark", "content"=>["Expedita praesentium nihil. Assumenda expedita quod tempora illo. Quia dolore ut. Eius expedita corporis distinctio unde rerum laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f45c77735330b60ef0000", "comment_id"=>"548f45c77735330b60ed0000", "id"=>"548f45c77735330b60ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4045ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60ef0000'), "comments._id"=>BSON::ObjectId('548f45c77735330b60ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f45c77735330b60ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6355ms Redirected to http://test.host/products/548f45c77735330b60ef0000/comments/548f45c77735330b60ed0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60f20000'), "name"=>"Teagan Buckridge V", "reference"=>"Bailee Mosciski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f00000'), "author_name"=>"Dr. Donald Waters", "content"=>["Maiores iusto praesentium quisquam provident aut. Dolore facere eos quaerat suscipit voluptates. Incidunt porro numquam et nesciunt."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f10000'), "author_name"=>"Janae Adams", "content"=>["Architecto doloremque molestiae sint harum quidem. Asperiores et molestiae. Sit odit ea consequatur consectetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f45c77735330b60f20000", "comment_id"=>"548f45c77735330b60f00000", "id"=>"548f45c77735330b60f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3806ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 14ms (Views: 11.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60f50000'), "name"=>"Humberto Hartmann", "reference"=>"Daniela Tremblay", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f30000'), "author_name"=>"Raoul Terry Sr.", "content"=>["Reprehenderit tempore sunt. Qui eos cumque quia ea animi quo. Illum qui dicta commodi."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f40000'), "author_name"=>"Mrs. Adriana Frami", "content"=>["Ad ducimus inventore temporibus expedita. Tempora illo et voluptatum voluptatem asperiores impedit. Eligendi consectetur voluptas repellat fugiat omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5860ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f45c77735330b60f50000", "comment_id"=>"548f45c77735330b60f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60f80000'), "name"=>"Noelia Hand", "reference"=>"Favian Johnson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f60000'), "author_name"=>"Winona Glover", "content"=>["Asperiores ut minus et et sint praesentium. Sunt dolorum sed modi sed atque ut dignissimos. Distinctio recusandae quia similique earum. Quia quis voluptatum soluta consequatur ut odit tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f70000'), "author_name"=>"Berry Goyette", "content"=>["Et sequi animi et dolorem. Est asperiores maiores voluptas consequatur aut. In qui eum. Dolores molestiae asperiores sed qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5570ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f45c77735330b60f80000", "comment_id"=>"548f45c77735330b60f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3716ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60fb0000'), "name"=>"Emelie Rosenbaum", "reference"=>"Randal Haley", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60f90000'), "author_name"=>"Cale Morar", "content"=>["Quis unde necessitatibus accusamus sit temporibus cumque perspiciatis. Soluta accusantium ut doloribus in rerum qui veniam. Suscipit cupiditate incidunt laboriosam eos accusamus sit. Impedit amet qui quibusdam ut dicta. Rem non accusantium doloribus velit dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60fa0000'), "author_name"=>"Araceli Mann III", "content"=>["Qui explicabo magni amet asperiores architecto. At libero necessitatibus qui voluptas. Numquam tenetur a omnis. Autem praesentium quis quia. Ea dicta esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5151ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f45c77735330b60fb0000", "comment_id"=>"548f45c77735330b60f90000", "id"=>"548f45c77735330b60fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3725ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60fe0000'), "name"=>"Timothy Zboncak", "reference"=>"Sammie Labadie", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60fc0000'), "author_name"=>"Miss Lyla Lind", "content"=>["Quo id amet. Maxime illum quae tempora hic. A dolore suscipit veniam. Eos velit sunt labore. Dolor voluptas magni distinctio et voluptas vitae."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60fd0000'), "author_name"=>"Eliezer Windler IV", "content"=>["Delectus saepe facere. Id harum quae magni autem. Architecto vitae incidunt possimus ipsum reiciendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f45c77735330b60fe0000", "comment_id"=>"548f45c77735330b60fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60010100'), "name"=>"Mrs. Leopoldo Dibbert", "reference"=>"Green Farrell", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60ff0000'), "author_name"=>"Prince Connelly", "content"=>["Modi non fugit et tenetur et voluptatibus. Eius porro temporibus totam rerum laboriosam illum. Et eum minus vitae molestiae. Distinctio harum atque hic nemo laborum. Et totam aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60000100'), "author_name"=>"Anna Goodwin III", "content"=>["Culpa quis quo quia. Provident ut reiciendis nesciunt. Id quia dolorum est voluptas est est ipsum. Sit sunt quia aut quaerat placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f45c77735330b60010100", "comment_id"=>"548f45c77735330b60ff0000", "id"=>"548f45c77735330b60000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60040100'), "name"=>"Asa Feest", "reference"=>"Jayda Bernhard", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60020100'), "author_name"=>"Jalyn Mills I", "content"=>["Totam aliquid voluptatum ut. Vero iure adipisci eum. Qui quo eos consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('548f45c77735330b60030100'), "author_name"=>"Florine Grady", "content"=>["Cupiditate debitis soluta aut. Qui suscipit debitis sit aut porro nihil. Sapiente modi veritatis et voluptates id explicabo. Nulla sint qui rem similique. Sed voluptatum sequi vel similique quibusdam omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5592ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f45c77735330b60030100", "product_id"=>"548f45c77735330b60040100", "comment_id"=>"548f45c77735330b60020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f45c77735330b60040100'), "comments._id"=>BSON::ObjectId('548f45c77735330b60020100'), "comments.0.comments._id"=>BSON::ObjectId('548f45c77735330b60030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6319ms Redirected to http://test.host/products/548f45c77735330b60040100/comments/548f45c77735330b60020100/comments/548f45c77735330b60030100 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('548f45c77735330b60050100'), "firstname"=>"Yvette", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2240ms 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('548f45c77735330b60060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Redirected to http://test.host/users/548f45c77735330b60060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2412ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60070100'), "firstname"=>"Pat", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2080ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f45c77735330b60070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c77735330b60070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3849ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c77735330b60070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms 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.2296ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c77735330b60080100'), "firstname"=>"Loyal", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f45c77735330b60080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c77735330b60080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms Rendered /home/geoffroy/projects/crealettres/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('548f45c77735330b60090100'), "firstname"=>"Shad", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms 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.4486ms Completed 200 OK in 36ms (Views: 35.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f45c77735330b600a0100'), "firstname"=>"Eric", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5234ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f45c77735330b600b0100'), "firstname"=>"Asha", "lastname"=>"Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5327ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f45c77735330b600b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c77735330b600b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4117ms 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('548f45c77735330b600c0100'), "firstname"=>"Ericka", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f45c77735330b600c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f45c77735330b600c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3488ms Unpermitted parameters: name Redirected to http://test.host/users/548f45c77735330b600c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5104ms 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.5633ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5459ms 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.4278ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6402ms 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.4192ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7000000'), "firstname"=>"Taurean", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5632ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2010ms 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('548f469e7735330bc7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.5471ms Redirected to http://test.host/admin/administrator Completed 302 Found in 14ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2688ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7020000'), "firstname"=>"Sonia", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f469e7735330bc7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469e7735330bc7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7030000'), "firstname"=>"Steve", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7040000'), "firstname"=>"Felton", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f469e7735330bc7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469e7735330bc7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7050000'), "firstname"=>"Lucio", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4964ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f469e7735330bc7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469e7735330bc7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms 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('548f469e7735330bc7060000'), "name"=>"Gunner Glover", "reference"=>"Reba Parisian", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc7070000'), "author_name"=>"Hulda Spinka", "content"=>["In molestias animi. Rem et officiis. Quibusdam cum eaque consequatur voluptatem voluptates recusandae ab. Tempore veritatis libero accusamus nulla. Dolores sunt ut nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f469e7735330bc7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f469e7735330bc7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms Redirected to http://test.host/admin/products/548f469e7735330bc7060000/comments/548f469e7735330bc7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7090000'), "name"=>"Ruben Tromp", "reference"=>"Robb Johns", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc70a0000'), "author_name"=>"Taya Beatty", "content"=>["Distinctio reprehenderit et est rerum sed maxime tenetur. Magni quaerat est blanditiis in et minus. Quo quis reprehenderit maxime quia dignissimos accusantium animi. Adipisci distinctio et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f469e7735330bc7090000", "id"=>"548f469e7735330bc70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f469e7735330bc70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Redirected to http://test.host/admin/products/548f469e7735330bc7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc70b0000'), "name"=>"Talon Jacobi PhD", "reference"=>"Dr. Sylvester Smitham", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc70c0000'), "author_name"=>"Nichole Reinger", "content"=>["Dolor repellat officiis aspernatur. Aut doloremque sed omnis inventore sint. Necessitatibus labore in unde iste asperiores repudiandae explicabo. Reiciendis aut voluptatem deserunt vel. Sit alias dolorem non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f469e7735330bc70b0000", "id"=>"548f469e7735330bc70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc70d0000'), "name"=>"Dexter Cormier", "reference"=>"Jamir Schulist Sr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc70e0000'), "author_name"=>"Mr. Shaina Friesen", "content"=>["In at enim dolorem hic illo ut. In nihil sed repellat. Aspernatur nihil iusto illum aut. Sed repudiandae sint. Perferendis quis sequi cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f469e7735330bc70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc70f0000'), "name"=>"Dr. Berta Gerlach", "reference"=>"Mariah Walsh III", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc7100000'), "author_name"=>"Elsa Murazik", "content"=>["Ullam facilis impedit inventore alias asperiores est itaque. Reiciendis provident exercitationem tenetur quia non deserunt praesentium. Facere consectetur vitae quia aut et quam sed. Possimus ipsam numquam nihil sequi consequatur. Est fuga error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f469e7735330bc70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7110000'), "name"=>"Serena Braun", "reference"=>"Ms. Jeffrey Abshire", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc7120000'), "author_name"=>"Rafaela Feil", "content"=>["Ut numquam voluptatem. Perspiciatis quam qui nostrum rem officiis sit. Repellendus minima ab voluptate illo esse nisi. Ut labore iusto dignissimos rem earum. Et et veniam facilis molestiae quia doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f469e7735330bc7110000", "id"=>"548f469e7735330bc7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7130000'), "name"=>"Donna Barton", "reference"=>"Modesto Thiel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f469e7735330bc7140000'), "author_name"=>"Adell Ruecker", "content"=>["Ducimus provident id perspiciatis. Perferendis illum ducimus eum sequi et. Veniam officia consectetur delectus eos consequatur autem. Minima voluptates quidem fuga aut cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f469e7735330bc7140000", "product_id"=>"548f469e7735330bc7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7130000'), "comments._id"=>BSON::ObjectId('548f469e7735330bc7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms Redirected to http://test.host/admin/products/548f469e7735330bc7130000/comments/548f469e7735330bc7140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7150000'), "name"=>"Edward Botsford", "reference"=>"Sage Bashirian", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc7160000'), "firstname"=>"Glen", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f469e7735330bc7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7150000')} 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('548f469e7735330bc7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms Redirected to http://test.host/admin/products/548f469e7735330bc7150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7180000'), "name"=>"Manuela Quigley", "reference"=>"Jadyn Jacobson", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc7190000'), "firstname"=>"Christa", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f469e7735330bc7190000", "product_id"=>"548f469e7735330bc7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc71a0000'), "name"=>"Nannie Towne", "reference"=>"Amari Graham", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc71b0000'), "firstname"=>"Hugh", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f469e7735330bc71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc71c0000'), "name"=>"Daisy Ward", "reference"=>"Miss Abdul Lynch", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc71d0000'), "firstname"=>"Leonie", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f469e7735330bc71d0000", "product_id"=>"548f469e7735330bc71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc71e0000'), "name"=>"Vesta Buckridge", "reference"=>"Judd Mraz", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f469e7735330bc71f0000'), "firstname"=>"Brant", "lastname"=>"Weber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f469e7735330bc71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f469e7735330bc71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f469e7735330bc71e0000/manager 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('548f469e7735330bc7200000'), "name"=>"Alphonso Wisozk I", "reference"=>"Christy Stanton", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1340ms 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('548f469e7735330bc7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms Redirected to http://test.host/admin/products/548f469e7735330bc7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1475ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469e7735330bc7220000'), "name"=>"Rosanna Cormier", "reference"=>"Wilton Marvin", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1289ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f469e7735330bc7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469e7735330bc7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms 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.1497ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7230000'), "name"=>"Mrs. Nathen Nienow", "reference"=>"Zander Towne", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7240000'), "name"=>"Misty Wolf Sr.", "reference"=>"Nora Grimes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms 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.5166ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7250000'), "name"=>"Phoebe Doyle", "reference"=>"Sydni Lakin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7280000'), "name"=>"Kaelyn Barrows", "reference"=>"Ms. Mack Stark", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8700ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f469f7735330bc7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms 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('548f469f7735330bc7290000'), "name"=>"Vivianne Volkman DVM", "reference"=>"Jett Kuhlman", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f469f7735330bc7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Redirected to http://test.host/admin/products/548f469f7735330bc7290000 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('548f469f7735330bc72a0000'), "firstname"=>"Bryana", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1468ms 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('548f469f7735330bc72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms Redirected to http://test.host/admin/users/548f469f7735330bc72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1747ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc72c0000'), "firstname"=>"Rosalee", "lastname"=>"Nikolaus"}] 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=>"admin_users", :query=>{}} runtime: 0.1359ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f469f7735330bc72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f469f7735330bc72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f469f7735330bc72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms 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.1624ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc72d0000'), "firstname"=>"Royal", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f469f7735330bc72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f469f7735330bc72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc72e0000'), "firstname"=>"Gennaro", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms 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.5167ms 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('548f469f7735330bc72f0000'), "firstname"=>"Dangelo", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('548f469f7735330bc7300000'), "firstname"=>"Brice", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f469f7735330bc7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f469f7735330bc7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3888ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7310000'), "firstname"=>"Vivianne", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5416ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f469f7735330bc7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f469f7735330bc7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f469f7735330bc7310000 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('548f469f7735330bc7320000'), "firstname"=>"Cary", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6001ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2651ms 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('548f469f7735330bc7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2008ms Redirected to http://test.host/administrator Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2817ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7340000'), "firstname"=>"Elisabeth", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469f7735330bc7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7350000'), "firstname"=>"Ralph", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5309ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7360000'), "firstname"=>"Murray", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f469f7735330bc7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469f7735330bc7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7370000'), "firstname"=>"Johnson", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f469f7735330bc7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f469f7735330bc7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4584ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7380000'), "name"=>"Laury Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7390000'), "name"=>"Elena Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73a0000'), "name"=>"Imelda Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73b0000'), "name"=>"Torrance Littel DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73c0000'), "name"=>"Rasheed Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73d0000'), "name"=>"Alicia Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73e0000'), "name"=>"Mrs. Mariah Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc73f0000'), "name"=>"Dexter Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7400000'), "name"=>"Gaetano Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7410000'), "name"=>"Wilburn Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7420000'), "name"=>"Mrs. Pascale Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7430000'), "name"=>"Kenton McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7440000'), "name"=>"Mabelle Crona IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7450000'), "name"=>"Jayme Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7460000'), "name"=>"Ari Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7470000'), "name"=>"Caesar Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7480000'), "name"=>"Braden Goldner DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7490000'), "name"=>"Jaren Yost V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74a0000'), "name"=>"Mr. Sierra Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74b0000'), "name"=>"Felipa Grant DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74c0000'), "name"=>"Miss Deanna Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74d0000'), "name"=>"Freddy Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74e0000'), "name"=>"Miss Sheldon Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc74f0000'), "name"=>"Mrs. Hyman Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc74f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7500000'), "name"=>"Clementine Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7510000'), "name"=>"Miss Monique Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7520000'), "name"=>"Rogers Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7530000'), "name"=>"Elmer Vandervort I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7540000'), "name"=>"Beatrice Lynch"}] 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={"category_id"=>BSON::ObjectId('548f469f7735330bc7540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7550000'), "name"=>"Darrell Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7560000'), "name"=>"Kyleigh McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7570000'), "name"=>"Ms. Maxie Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7580000'), "name"=>"Aurelia Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7590000'), "name"=>"Ellen Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75a0000'), "name"=>"Mr. Anjali Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75b0000'), "name"=>"Angelica Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75c0000'), "name"=>"Violet Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75d0000'), "name"=>"Braulio McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75e0000'), "name"=>"Larissa Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc75f0000'), "name"=>"Hellen Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc75f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7600000'), "name"=>"Elna Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7610000'), "name"=>"Charlotte Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7620000'), "name"=>"Ms. Effie Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7630000'), "name"=>"Celestine Kutch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7640000'), "name"=>"Grover Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7650000'), "name"=>"Jayme Jerde MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7660000'), "name"=>"Magdalen Price PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7670000'), "name"=>"Jordan Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7680000'), "name"=>"Brady Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7690000'), "name"=>"Dayna Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76a0000'), "name"=>"Micah Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76b0000'), "name"=>"Mr. Dovie Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76c0000'), "name"=>"Miss Raegan Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76d0000'), "name"=>"Orval Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76e0000'), "name"=>"Hardy Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc76f0000'), "name"=>"Daphney Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7700000'), "name"=>"Mr. Jonas Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7710000'), "name"=>"Adelia Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7720000'), "name"=>"Ms. Nella Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7730000'), "name"=>"Noah Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7740000'), "name"=>"Nellie Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7750000'), "name"=>"Ms. Dennis Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7760000'), "name"=>"Ray O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7770000'), "name"=>"Chesley Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7780000'), "name"=>"Providenci Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7790000'), "name"=>"Sincere Friesen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77a0000'), "name"=>"Mac Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77b0000'), "name"=>"Ms. Lauryn Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77c0000'), "name"=>"Fanny Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77d0000'), "name"=>"Berneice Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77e0000'), "name"=>"Bethel Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc77f0000'), "name"=>"Miss Lawrence Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc77f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7800000'), "name"=>"Malika Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.4082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7810000'), "name"=>"Ken Hansen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7820000'), "name"=>"Wade Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7830000'), "name"=>"Jeanette Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7840000'), "name"=>"Bill Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7850000'), "name"=>"Dennis Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7860000'), "name"=>"Brionna Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7870000'), "name"=>"Nelson Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7880000'), "name"=>"Jazmyn O'Kon II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7890000'), "name"=>"Abigayle Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78a0000'), "name"=>"Rudy Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78b0000'), "name"=>"Loraine Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78c0000'), "name"=>"Irving Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78d0000'), "name"=>"Shawn Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78e0000'), "name"=>"Glennie Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc78f0000'), "name"=>"Viva Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7900000'), "name"=>"Dylan Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7910000'), "name"=>"Sebastian Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7920000'), "name"=>"Ephraim Parker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7930000'), "name"=>"Joaquin Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7940000'), "name"=>"Ignatius Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7950000'), "name"=>"Angie Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7960000'), "name"=>"Christop Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7970000'), "name"=>"Amelie O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1899ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms Redirected to http://test.host/categories/548f469f7735330bc7980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2068ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7990000'), "name"=>"Jessika Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1919ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f469f7735330bc7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc7990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2078ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc79a0000'), "name"=>"Owen Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f469f7735330bc79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc79b0000'), "name"=>"Mrs. Jerrold Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306379869397] runtime: 0.0913ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2442ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc79c0000'), "name"=>"Berry Kreiger DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1977ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306343121859] runtime: 0.0842ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2238ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc79d0000'), "name"=>"Renee Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3338ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc79f0000'), "name"=>"Ms. Kathleen O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f469f7735330bc79f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7a00000'), "name"=>"Blair Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f469f7735330bc7a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f469f7735330bc7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms Redirected to http://test.host/categories/548f469f7735330bc7a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7a10000'), "name"=>"Ronny Ward", "reference"=>"Leon Grimes", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7a20000'), "author_name"=>"Haylee Schimmel", "content"=>["Enim aut facilis. Eveniet molestias ad dolorum debitis. Et deleniti quia consequatur dolorem sed quos. Id et voluptatum voluptates voluptatem necessitatibus et totam. Atque sed tenetur est recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f469f7735330bc7a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5366ms Redirected to http://test.host/products/548f469f7735330bc7a10000/comments/548f469f7735330bc7a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3527ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7a40000'), "name"=>"Alfredo Leuschke", "reference"=>"Kian Johnson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7a50000'), "author_name"=>"Janice Emmerich", "content"=>["Id enim et est quidem nesciunt eveniet sint. Minus aut perspiciatis dolores. Quo rerum corporis placeat aut. Quasi eum voluptatem dolores vitae porro vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f469f7735330bc7a40000", "id"=>"548f469f7735330bc7a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a40000')} 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('548f469f7735330bc7a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Redirected to http://test.host/products/548f469f7735330bc7a40000/comments Completed 302 Found in 40ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7a60000'), "name"=>"Octavia Haag DDS", "reference"=>"Guiseppe Paucek", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7a70000'), "author_name"=>"Shea Mayert", "content"=>["Delectus praesentium laborum eum non quia et corporis. Ut consequatur id voluptatem porro debitis omnis. Commodi consequatur accusantium et pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f469f7735330bc7a60000", "id"=>"548f469f7735330bc7a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7a80000'), "name"=>"Norene Hauck", "reference"=>"Ms. Sydni Heaney", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7a90000'), "author_name"=>"Marielle Beahan Sr.", "content"=>["Labore nisi et eligendi quis nihil vel voluptates. Vero repellendus reiciendis ipsum excepturi omnis saepe distinctio. Magni omnis facilis eum ut maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f469f7735330bc7a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7aa0000'), "name"=>"Donnell Schultz", "reference"=>"Julian Stroman DDS", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7ab0000'), "author_name"=>"Koby Kreiger", "content"=>["Qui doloribus dolores odit quia nobis deleniti. Praesentium placeat in voluptatem. Debitis aut ut tempora est id. Omnis nihil molestiae. Voluptatem facilis voluptas aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f469f7735330bc7aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7ac0000'), "name"=>"Rory Douglas DDS", "reference"=>"Gavin Boehm Jr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7ad0000'), "author_name"=>"Monroe Blick", "content"=>["Iusto ea dolorem. Iste dolorem harum voluptas sit omnis. Consequatur est rerum minima labore voluptatum est quos. Tenetur voluptatibus neque nesciunt esse saepe omnis corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f469f7735330bc7ac0000", "id"=>"548f469f7735330bc7ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7ae0000'), "name"=>"Roman Medhurst", "reference"=>"Danyka Hoeger", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7af0000'), "author_name"=>"Mr. Kennedi Torphy", "content"=>["Aut sunt quia. Omnis distinctio ipsum. Non numquam quisquam sunt. Quo odit quidem ratione velit deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f469f7735330bc7ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b00000'), "name"=>"Consuelo Emmerich", "reference"=>"Felipa Osinski", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7b10000'), "author_name"=>"Marcelino Watsica", "content"=>["Sed veritatis in eos quo ut. Possimus aut ut et. Natus beatae maiores. Molestias sed et quis sunt non excepturi enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f469f7735330bc7b00000", "id"=>"548f469f7735330bc7b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b20000'), "name"=>"Ramona Moore", "reference"=>"Virgie Hoppe", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f469f7735330bc7b30000'), "author_name"=>"Itzel Schneider", "content"=>["Amet et aspernatur eos ut iure consectetur. Ratione dolorem soluta architecto eos sequi. Expedita soluta officia fuga ex nostrum id dolores. Et voluptate neque non aliquam unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f469f7735330bc7b30000", "product_id"=>"548f469f7735330bc7b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b20000'), "comments._id"=>BSON::ObjectId('548f469f7735330bc7b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Redirected to http://test.host/products/548f469f7735330bc7b20000/comments/548f469f7735330bc7b30000 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('548f469f7735330bc7b40000'), "firstname"=>"Gaetano", "lastname"=>"Hintz"}] 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=>"clients", :query=>{}} runtime: 0.1308ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Redirected to http://test.host/admin/clients/548f469f7735330bc7b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1537ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b60000'), "firstname"=>"Chelsie", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1248ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f469f7735330bc7b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms 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.1507ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b70000'), "firstname"=>"Jaclyn", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7b80000'), "firstname"=>"Mariam", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4940ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms 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('548f469f7735330bc7b90000'), "firstname"=>"Fritz", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.4ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7ba0000'), "firstname"=>"Alejandrin", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5154ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f469f7735330bc7ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3919ms Completed 200 OK in 5ms (Views: 3.6ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7bb0000'), "firstname"=>"Rosina", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f469f7735330bc7bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms Redirected to http://test.host/admin/clients/548f469f7735330bc7bb0000 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('548f469f7735330bc7bc0000'), "firstname"=>"Lamar", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1662ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms Redirected to http://test.host/clients/548f469f7735330bc7bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2131ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7be0000'), "firstname"=>"Liam", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1566ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f469f7735330bc7be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7be0000')} 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('548f469f7735330bc7be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms 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.1767ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7bf0000'), "firstname"=>"Marie", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms Rendered /home/geoffroy/projects/crealettres/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('548f469f7735330bc7c00000'), "firstname"=>"Jaycee", "lastname"=>"Hackett"}] 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.3526ms 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('548f469f7735330bc7c10000'), "firstname"=>"Royal", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f469f7735330bc7c20000'), "firstname"=>"Jordi", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9818ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f469f7735330bc7c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms 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('548f469f7735330bc7c30000'), "firstname"=>"Whitney", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f469f7735330bc7c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms Redirected to http://test.host/clients/548f469f7735330bc7c30000 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('548f469f7735330bc7c40000'), "name"=>"Herminio Walsh", "reference"=>"Mr. Waylon Lesch", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7c50000'), "firstname"=>"Elisabeth", "lastname"=>"Pfeffer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f469f7735330bc7c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms Redirected to http://test.host/products/548f469f7735330bc7c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7c70000'), "name"=>"Dora Weissnat", "reference"=>"Ole Zieme", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7c80000'), "firstname"=>"Daron", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7c80000", "product_id"=>"548f469f7735330bc7c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7c90000'), "name"=>"Ofelia Ritchie", "reference"=>"Raymundo Weissnat PhD", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7ca0000'), "firstname"=>"Rudy", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f469f7735330bc7c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7cb0000'), "name"=>"Frederick Little", "reference"=>"Lisette Fritsch", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7cc0000'), "firstname"=>"Kian", "lastname"=>"Greenfelder"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f469f7735330bc7cc0000", "product_id"=>"548f469f7735330bc7cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7cd0000'), "name"=>"Rubye Reynolds", "reference"=>"Mathilde Schuster", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f469f7735330bc7ce0000'), "firstname"=>"Royal", "lastname"=>"Dickens"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f469f7735330bc7ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f469f7735330bc7cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms Unpermitted parameters: name Redirected to http://test.host/products/548f469f7735330bc7cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7cf0000'), "name"=>"Devon Schulist", "reference"=>"Gabe Medhurst", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d00000'), "name"=>"Kylie Treutel", "reference"=>"Dayton Glover", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d10000'), "name"=>"Mekhi Bartell", "reference"=>"Dr. Haleigh Muller", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d20000'), "name"=>"Dr. Ned Hilll", "reference"=>"Elfrieda Rohan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d30000'), "name"=>"Jason Terry", "reference"=>"Dr. Heidi Keeling", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d40000'), "name"=>"Emory Fadel PhD", "reference"=>"Carmel Kertzmann V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1746ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d50000'), "name"=>"Dr. Jerald Cartwright", "reference"=>"Iva Balistreri", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1486ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f469f7735330bc7d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4593ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7d50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms 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.2262ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d60000'), "name"=>"Darlene Witting", "reference"=>"Elaina Dare", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f469f7735330bc7d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f469f7735330bc7d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('548f469f7735330bc7d70000'), "name"=>"Jaida Flatley V", "reference"=>"Mrs. Eda Hills", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355585351] runtime: 0.0946ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2630ms Completed 200 OK in 17ms (Views: 16.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d80000'), "name"=>"Antwan Toy", "reference"=>"Gerard Pollich", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7d90000'), "name"=>"HelloWorld", "reference"=>"Okey Robel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7da0000'), "name"=>"value", "reference"=>"Ezequiel Grimes", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4343ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2717ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2361ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2185ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1531ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3687ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3193ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2801ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f469f7735330bc7db0000'), "name"=>"Mrs. Adalberto Lueilwitz", "reference"=>"Jalon Bayer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145812972] runtime: 0.0902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2714ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280815495403] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885376654] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279881034638] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869654243] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280375549340] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280447563041] runtime: 0.1130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280029859339] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249895772] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281275071867] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584283854] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281059667203] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780251322] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338049309] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281071103633] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280514759555] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869091766] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280363913161] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491228065] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300273134] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280073524744] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280825812211] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280283190715] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528558311] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501314656] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783353517] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006617380] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280471377738] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207442972] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281090889114] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229122919] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279629122235] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132984165] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014981152] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945810971] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279229343111] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279967794502] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713124312] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279967748547] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229787701] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279669358873] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756666428] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281179974906] runtime: 0.0689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504061099] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279498249040] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243522592] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279237190539] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281075337806] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325187937] runtime: 0.0746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280839302466] runtime: 0.0836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280048587672] runtime: 0.0894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281041328234] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725311745] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280738389615] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279244695757] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888835367] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191983287] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712592757] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800048960] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280197287997] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281112927163] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279607340335] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836349924] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279792559365] runtime: 0.0747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279506208] runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281107188772] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279789773846] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281276017158] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012642896] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280324992941] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402040506] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456960206] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117404327] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279768544388] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154846728] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279455770812] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280445757786] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813998513] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232741187] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279340494533] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280394941145] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280689512043] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936567555] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094179824] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280176970878] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542709816] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280589426206] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027312354] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190431357] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735291417] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313813389] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279720879676] runtime: 0.0740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869497100] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055865461] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460376500] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300792234] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247874691] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530642433] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492300368] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280139098040] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279942193135] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781684033] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279657283683] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816488167] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870060177] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598298880] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280300240] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780656717] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279327713235] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047071875] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370360160] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176610363] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279774837200] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280003581957] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279463138608] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821805048] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279385241412] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739532644] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655294713] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279467547695] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280763374350] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280434661398] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280035767729] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280775943895] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945988419] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181651848] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279999050739] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336227165] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279652871842] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280390289786] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151736432] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903568362] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280871342227] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518057687] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280286527016] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280904243861] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593035496] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842822264] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820888339] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021475827] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950081208] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272994898] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065788623] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715860328] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280923734311] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281303883682] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281112300607] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280354974507] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005971963] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280951947235] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279916002857] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280222115000] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501166917] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167312932] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279226317479] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281000489374] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296358221] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005816495] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280400170622] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280721728773] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671697579] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280337504742] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050498507] runtime: 0.0467ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7dc0000'), "name"=>"Amaya Franecki PhD", "reference"=>"Maynard Huels V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624255946] runtime: 0.0597ms 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('548f46a07735330bc7dd0000'), "name"=>"Jamel Jones", "reference"=>"Garnet Osinski PhD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f46a07735330bc7dd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7dd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms 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('548f46a07735330bc7de0000'), "name"=>"Savannah Trantow MD", "reference"=>"Ms. Carmine Skiles", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) 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('548f46a07735330bc7e10000'), "name"=>"Mr. Mia Paucek", "reference"=>"Madisen Lehner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f46a07735330bc7e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7e20000'), "name"=>"Cullen Stroman", "reference"=>"Miss Micaela Kutch", "quantity"=>1}] 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.1945ms 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('548f46a07735330bc7e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1735ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7e40000'), "name"=>"Elmo Hane", "reference"=>"Syble Stoltenberg", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f46a07735330bc7e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e40000')} 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={"_id"=>BSON::ObjectId('548f46a07735330bc7e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms 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('548f46a07735330bc7e50000'), "name"=>"Miss Sydnie Renner", "reference"=>"Rosemarie Block", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms 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('548f46a07735330bc7e70000'), "name"=>"Mr. Jaunita Schneider", "reference"=>"Nia Kuhn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f46a07735330bc7e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms 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('548f46a07735330bc7e80000'), "name"=>"Esther Kuhlman", "reference"=>"Arjun Welch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f46a07735330bc7e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Redirected to http://test.host/products/548f46a07735330bc7e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7eb0000'), "name"=>"Era Gutkowski", "reference"=>"Mr. Myrtle Schoen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7e90000'), "author_name"=>"Ruthie O'Connell", "content"=>["Nihil voluptatem est optio eaque. Dignissimos quia quis ut atque repellendus quia. Distinctio et non vel facere fugiat et in. Explicabo at rerum. Magni enim nobis fuga et."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7ea0000'), "author_name"=>"Jayne Bartoletti", "content"=>["Omnis ipsam asperiores vel doloremque dolores. Aut rerum dolor omnis ducimus aut earum corrupti. Sit natus ipsum inventore consequatur. Similique consequatur exercitationem saepe quo provident sit et. Tempore voluptate et est numquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f46a07735330bc7eb0000", "comment_id"=>"548f46a07735330bc7e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4707ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7eb0000'), "comments._id"=>BSON::ObjectId('548f46a07735330bc7e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f46a07735330bc7ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6581ms Redirected to http://test.host/products/548f46a07735330bc7eb0000/comments/548f46a07735330bc7e90000/comments/548f46a07735330bc7ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7ef0000'), "name"=>"Mr. Michael Sporer", "reference"=>"Annalise Langosh", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7ed0000'), "author_name"=>"Abraham McCullough", "content"=>["Aspernatur et vero atque nihil. Aliquam minus debitis. Voluptates saepe totam culpa. Qui porro molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7ee0000'), "author_name"=>"Adolph Swaniawski", "content"=>["Corrupti maxime assumenda. Et quia ratione quaerat. Culpa molestias soluta ipsam quae dolorem nemo. Odio inventore doloribus nisi qui. Omnis qui magni nemo magnam architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f46a07735330bc7ef0000", "comment_id"=>"548f46a07735330bc7ed0000", "id"=>"548f46a07735330bc7ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7ef0000'), "comments._id"=>BSON::ObjectId('548f46a07735330bc7ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f46a07735330bc7ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6091ms Redirected to http://test.host/products/548f46a07735330bc7ef0000/comments/548f46a07735330bc7ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7f20000'), "name"=>"Mrs. Lowell Miller", "reference"=>"Rowland Ernser", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f00000'), "author_name"=>"Thora Wuckert", "content"=>["Provident aut dicta in necessitatibus sunt inventore. Commodi voluptatem et officia ea architecto laborum accusamus. Non dolor autem ex ut laborum et quia. Eum blanditiis eaque rerum aut atque ex. Tenetur ut maxime ut."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f10000'), "author_name"=>"Delbert Flatley IV", "content"=>["Sunt deleniti assumenda quo quas et illo eum. Quae corporis delectus nesciunt beatae sit magnam tempora. Aut qui facilis eos quis delectus a est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f46a07735330bc7f20000", "comment_id"=>"548f46a07735330bc7f00000", "id"=>"548f46a07735330bc7f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7f50000'), "name"=>"Simeon Dach", "reference"=>"Marietta Homenick", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f30000'), "author_name"=>"Zachariah Mayert", "content"=>["Ad qui eius quis debitis. Ut expedita et. Earum sit ab quidem minus suscipit et deserunt. Aut est sint quo id. Nihil sit voluptates dolorem quia dolores rerum aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f40000'), "author_name"=>"Rebekah Wunsch", "content"=>["Quos aut a sed dignissimos. Reiciendis provident et hic itaque eveniet incidunt. Iusto necessitatibus distinctio assumenda eum et. Ex atque distinctio nemo. Iusto vel eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6241ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f46a07735330bc7f50000", "comment_id"=>"548f46a07735330bc7f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7f80000'), "name"=>"Ms. David Kertzmann", "reference"=>"Alene Schowalter", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f60000'), "author_name"=>"Ottis Becker", "content"=>["Consectetur qui pariatur. Praesentium temporibus voluptas maiores animi at sunt vel. Optio et maiores ipsam ut sunt eos ut. Nostrum beatae animi dolores. Eum id error."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f70000'), "author_name"=>"Elsa Romaguera", "content"=>["Dolor voluptatem quae illo. Non laboriosam aut aut omnis maiores officia. Provident saepe magni qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5360ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f46a07735330bc7f80000", "comment_id"=>"548f46a07735330bc7f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7fb0000'), "name"=>"Mr. Albina Homenick", "reference"=>"Tessie Kohler", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7f90000'), "author_name"=>"Dr. Aimee Swift", "content"=>["Qui omnis dolores odio. Autem aperiam sit incidunt in quis impedit eum. Distinctio dolor sequi ex deleniti sit nesciunt dolorum. Qui officiis explicabo ad ea aut. Placeat aspernatur eum voluptas incidunt occaecati minima voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7fa0000'), "author_name"=>"Jade Beahan", "content"=>["Quo molestiae eveniet sit voluptatem. Officia et voluptas. Voluptatibus quam aut provident in id quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f46a07735330bc7fb0000", "comment_id"=>"548f46a07735330bc7f90000", "id"=>"548f46a07735330bc7fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7fe0000'), "name"=>"Jeffery Rice", "reference"=>"Pearlie Sawayn", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7fc0000'), "author_name"=>"Verona Jones", "content"=>["Tempore et dolores consequuntur sit deleniti. Soluta laudantium autem est. Est odit officiis sit. Porro quasi vel."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7fd0000'), "author_name"=>"Bret Hoeger", "content"=>["Eum sed non vero est. Fuga quae ullam aut est minima ab molestiae. Ducimus reprehenderit voluptatem ea fuga. Blanditiis sequi odio explicabo vitae exercitationem culpa consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f46a07735330bc7fe0000", "comment_id"=>"548f46a07735330bc7fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7010100'), "name"=>"Ms. Elizabeth Bogan", "reference"=>"Mr. Brett Ratke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7ff0000'), "author_name"=>"Rosa Vandervort I", "content"=>["Voluptas tempore quod dolor recusandae. Maiores nihil consequuntur veritatis omnis quo sunt vel. In sunt voluptatem exercitationem perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7000100'), "author_name"=>"Floyd Lindgren", "content"=>["Magnam ratione qui nostrum facere. Placeat eum qui. In quas quisquam. Quidem quisquam distinctio rerum porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5378ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f46a07735330bc7010100", "comment_id"=>"548f46a07735330bc7ff0000", "id"=>"548f46a07735330bc7000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms Completed 200 OK in 5ms (Views: 2.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7040100'), "name"=>"Sabrina Haley", "reference"=>"Mr. Mekhi Weimann", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7020100'), "author_name"=>"Dr. Mariano Hoeger", "content"=>["Enim consectetur animi qui. Sequi est incidunt unde. Est corporis aperiam vero sed quod animi et. Sapiente ut eos."], "comments"=>[{"_id"=>BSON::ObjectId('548f46a07735330bc7030100'), "author_name"=>"Miss Nadia O'Conner", "content"=>["Et qui praesentium dolor et quae quia. Totam sit expedita ex doloremque deserunt quidem. Temporibus rerum cum dolorem illum natus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f46a07735330bc7030100", "product_id"=>"548f46a07735330bc7040100", "comment_id"=>"548f46a07735330bc7020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f46a07735330bc7040100'), "comments._id"=>BSON::ObjectId('548f46a07735330bc7020100'), "comments.0.comments._id"=>BSON::ObjectId('548f46a07735330bc7030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6790ms Redirected to http://test.host/products/548f46a07735330bc7040100/comments/548f46a07735330bc7020100/comments/548f46a07735330bc7030100 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('548f46a07735330bc7050100'), "firstname"=>"Cade", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1976ms 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('548f46a07735330bc7060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Redirected to http://test.host/users/548f46a07735330bc7060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2286ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7070100'), "firstname"=>"Marlen", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms 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"=>"548f46a07735330bc7070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f46a07735330bc7070100')} 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('548f46a07735330bc7070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms 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.2050ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7080100'), "firstname"=>"Sheldon", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f46a07735330bc7080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f46a07735330bc7080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc7090100'), "firstname"=>"Bridget", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms 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.4710ms Completed 200 OK in 35ms (Views: 34.1ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f46a07735330bc70a0100'), "firstname"=>"Shad", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5987ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f46a07735330bc70b0100'), "firstname"=>"Trace", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5761ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f46a07735330bc70b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f46a07735330bc70b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms 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('548f46a07735330bc70c0100'), "firstname"=>"Marianna", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f46a07735330bc70c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f46a07735330bc70c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms Unpermitted parameters: name Redirected to http://test.host/users/548f46a07735330bc70c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6694ms 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.6711ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8825ms 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.6117ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9910ms 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.6105ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48007735330c52000000'), "firstname"=>"Nelson", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 107.6409ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.5099ms 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('548f48007735330c52010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7525ms Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4053ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48007735330c52020000'), "firstname"=>"Ward", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5897ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f48007735330c52020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48007735330c52020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5249ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.9ms) Completed 200 OK in 30ms (Views: 28.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48007735330c52030000'), "firstname"=>"Jaquan", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2488ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f48007735330c52040000'), "firstname"=>"Matteo", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6183ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f48007735330c52040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48007735330c52040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4408ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48007735330c52050000'), "firstname"=>"Aniya", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5821ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f48007735330c52050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48007735330c52050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms 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('548f48007735330c52060000'), "name"=>"Ezekiel Christiansen III", "reference"=>"Jonas Weimann I", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c52070000'), "author_name"=>"Hipolito Wiegand DVM", "content"=>["Voluptatem doloribus doloremque hic pariatur. Qui totam et velit. Error voluptate sit nam voluptates. Maiores asperiores rerum illo et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f48007735330c52060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4435ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f48007735330c52080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4317ms Redirected to http://test.host/admin/products/548f48007735330c52060000/comments/548f48007735330c52080000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4909ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c52090000'), "name"=>"Darrel Schumm", "reference"=>"Ralph Conroy", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c520a0000'), "author_name"=>"Christiana McKenzie", "content"=>["Quae nostrum sunt dolores et beatae harum possimus. Non voluptatem nulla. Quos autem sed accusantium. Voluptas vitae delectus sit. Sed ad iure excepturi perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f48007735330c52090000", "id"=>"548f48007735330c520a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52090000')} 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('548f48007735330c52090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f48007735330c520a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Redirected to http://test.host/admin/products/548f48007735330c52090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c520b0000'), "name"=>"Ms. Cassandre Lebsack", "reference"=>"Jennings Eichmann", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c520c0000'), "author_name"=>"Adelbert Hirthe", "content"=>["Adipisci est ipsam molestiae. Explicabo quo voluptas modi laboriosam nisi et nobis. Soluta tenetur sequi laborum itaque in. Architecto id ratione necessitatibus et. Quidem aliquam molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f48007735330c520b0000", "id"=>"548f48007735330c520c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c520b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c520d0000'), "name"=>"Leonie Ortiz", "reference"=>"Dorothy Hilll", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c520e0000'), "author_name"=>"Miss Tamara Gutkowski", "content"=>["Amet cumque excepturi earum repellat deleniti et et. Quos vero aut vitae. Est enim est quia perferendis quod qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f48007735330c520d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c520d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c520f0000'), "name"=>"Dayne Dooley", "reference"=>"Larissa Reichert", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c52100000'), "author_name"=>"Eleanora Herzog", "content"=>["Iure qui quia hic laudantium molestiae. Modi ad iure voluptas pariatur in inventore quo. Veniam culpa quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f48007735330c520f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c520f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c52110000'), "name"=>"Noemie Pfannerstill", "reference"=>"Seth Welch III", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c52120000'), "author_name"=>"Magnolia Cartwright", "content"=>["Est eos vel blanditiis. Eum eos et placeat rerum est. Nostrum aliquid natus eos voluptas enim. Optio suscipit nihil possimus. Maxime itaque aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f48007735330c52110000", "id"=>"548f48007735330c52120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c52130000'), "name"=>"Nola Thompson MD", "reference"=>"Philip Rempel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f48007735330c52140000'), "author_name"=>"Neoma Lynch", "content"=>["Vero veniam cum illo quidem. Quae velit sed qui. Delectus enim quod nulla libero iure autem. Iusto et aliquid occaecati minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5077ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f48007735330c52140000", "product_id"=>"548f48007735330c52130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52130000'), "comments._id"=>BSON::ObjectId('548f48007735330c52140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6437ms Redirected to http://test.host/admin/products/548f48007735330c52130000/comments/548f48007735330c52140000 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('548f48007735330c52150000'), "name"=>"Ms. Ruthe Stark", "reference"=>"Abigail Heller", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f48007735330c52160000'), "firstname"=>"Prince", "lastname"=>"Schuster"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5992ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f48007735330c52150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f48007735330c52170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms Redirected to http://test.host/admin/products/548f48007735330c52150000/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('548f48007735330c52180000'), "name"=>"Ms. Domenico Yundt", "reference"=>"Twila Lynch", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f48007735330c52190000'), "firstname"=>"Kurtis", "lastname"=>"Klein"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f48007735330c52190000", "product_id"=>"548f48007735330c52180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c52180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3793ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c521a0000'), "name"=>"Julie Rempel", "reference"=>"Lazaro Wilkinson", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f48007735330c521b0000'), "firstname"=>"Lorine", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f48007735330c521a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c521a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c521c0000'), "name"=>"Shanelle Gorczany", "reference"=>"Bettye Smith", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f48007735330c521d0000'), "firstname"=>"Americo", "lastname"=>"Harvey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f48007735330c521d0000", "product_id"=>"548f48007735330c521c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c521c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48007735330c521e0000'), "name"=>"Velma Hoppe", "reference"=>"Damion Cronin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f48007735330c521f0000'), "firstname"=>"Dolly", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5917ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f48007735330c521f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f48007735330c521e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48007735330c521e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f48007735330c521e0000/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('548f48017735330c52200000'), "name"=>"Madilyn Hayes", "reference"=>"Tobin Marks", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2981ms 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('548f48017735330c52210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms Redirected to http://test.host/admin/products/548f48017735330c52210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3101ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52220000'), "name"=>"Gus Hilpert", "reference"=>"Camron Weissnat", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1652ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f48017735330c52220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms 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.1673ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52230000'), "name"=>"Hayden Morissette", "reference"=>"Carole Kassulke", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f48017735330c52230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52240000'), "name"=>"Shayne Auer", "reference"=>"Leonor Anderson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms 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.4817ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52250000'), "name"=>"Ms. Dena Ryan", "reference"=>"Belle O'Keefe II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52280000'), "name"=>"Sonya Wilderman IV", "reference"=>"Mya Bogan", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f48017735330c52280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms 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('548f48017735330c52290000'), "name"=>"Johnson Stoltenberg", "reference"=>"Miss Sonya Moore", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f48017735330c52290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms Redirected to http://test.host/admin/products/548f48017735330c52290000 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('548f48017735330c522a0000'), "firstname"=>"Lolita", "lastname"=>"Lubowitz"}] 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.2250ms 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('548f48017735330c522b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms Redirected to http://test.host/admin/users/548f48017735330c522b0000 Completed 302 Found in 2ms 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('548f48017735330c522c0000'), "firstname"=>"Rodolfo", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2030ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f48017735330c522c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48017735330c522c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48017735330c522c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms 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('548f48017735330c522d0000'), "firstname"=>"Jordon", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f48017735330c522d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48017735330c522d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48017735330c522e0000'), "firstname"=>"Blair", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms 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.3279ms 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('548f48017735330c522f0000'), "firstname"=>"Cristal", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f48017735330c52300000'), "firstname"=>"Neoma", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f48017735330c52300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48017735330c52300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms 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('548f48017735330c52310000'), "firstname"=>"Cleveland", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f48017735330c52310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48017735330c52310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f48017735330c52310000 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('548f48017735330c52320000'), "firstname"=>"Christelle", "lastname"=>"Weimann"}] 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=>"administrators", :query=>{}} runtime: 0.1693ms 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('548f48017735330c52330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms 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.2035ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48017735330c52340000'), "firstname"=>"Darlene", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f48017735330c52340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48017735330c52340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48017735330c52350000'), "firstname"=>"Aryanna", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48017735330c52360000'), "firstname"=>"Floyd", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f48017735330c52360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48017735330c52360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f48017735330c52370000'), "firstname"=>"Rebekah", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f48017735330c52370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f48017735330c52370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52380000'), "name"=>"Hipolito Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52390000'), "name"=>"Leland Abernathy IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523a0000'), "name"=>"Adalberto Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523b0000'), "name"=>"Miss Marilyne Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523c0000'), "name"=>"Meagan Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523d0000'), "name"=>"Ward Ward III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523e0000'), "name"=>"Layne Wunsch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c523f0000'), "name"=>"Reagan Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c523f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52400000'), "name"=>"Dr. Caitlyn Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52410000'), "name"=>"Ms. Fanny O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52420000'), "name"=>"Santa Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52430000'), "name"=>"Wilma Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52440000'), "name"=>"Mr. Allene Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52450000'), "name"=>"Elias Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52460000'), "name"=>"Jarret Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52470000'), "name"=>"Abe Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52480000'), "name"=>"Bettye Baumbach I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52490000'), "name"=>"Macie Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524a0000'), "name"=>"Demarcus Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524b0000'), "name"=>"Adrain Koepp MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524c0000'), "name"=>"Humberto Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524d0000'), "name"=>"Gabe Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524e0000'), "name"=>"Jamie McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c524f0000'), "name"=>"Dr. Marlin Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c524f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52500000'), "name"=>"Ms. Andreane McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52510000'), "name"=>"Emil Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52520000'), "name"=>"Adriel Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52530000'), "name"=>"Alvera Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52540000'), "name"=>"Myrtis Hane IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52550000'), "name"=>"Mrs. Trevion Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52560000'), "name"=>"Maritza Kohler DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52570000'), "name"=>"Alessandra Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52580000'), "name"=>"Fermin Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52590000'), "name"=>"Thomas Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525a0000'), "name"=>"Imani Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525b0000'), "name"=>"Rodrigo Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525c0000'), "name"=>"Miss Sydni Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525d0000'), "name"=>"Saige Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525e0000'), "name"=>"Albert Little II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c525f0000'), "name"=>"Colt Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c525f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52600000'), "name"=>"D'angelo Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52610000'), "name"=>"Margarett Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52620000'), "name"=>"Reed Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52630000'), "name"=>"Dane Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52640000'), "name"=>"Hayley Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52650000'), "name"=>"Salvador Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52660000'), "name"=>"Imogene Zemlak Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52670000'), "name"=>"Landen Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52680000'), "name"=>"Gage Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52690000'), "name"=>"Gregoria McGlynn MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526a0000'), "name"=>"Miss Dejuan Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526b0000'), "name"=>"Carey Zulauf I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526c0000'), "name"=>"Mrs. Luella Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526d0000'), "name"=>"Mrs. Magnus Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526e0000'), "name"=>"Gino Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c526f0000'), "name"=>"Maia Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c526f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52700000'), "name"=>"Brandyn Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52710000'), "name"=>"Chris Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52720000'), "name"=>"Jamie Becker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52730000'), "name"=>"Nya O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52740000'), "name"=>"Roy Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52750000'), "name"=>"Joan Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52760000'), "name"=>"Layla Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52770000'), "name"=>"Kasandra Hills I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52780000'), "name"=>"Dr. Rafaela Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52790000'), "name"=>"Dawson Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527a0000'), "name"=>"Macey Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527b0000'), "name"=>"Talon Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527c0000'), "name"=>"Hailie Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527d0000'), "name"=>"Ms. Domenic Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527e0000'), "name"=>"Tevin Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c527f0000'), "name"=>"Veronica Casper III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c527f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52800000'), "name"=>"Archibald Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52810000'), "name"=>"Marilyne Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52820000'), "name"=>"Joe Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52830000'), "name"=>"Tamia O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52840000'), "name"=>"Wilton Koepp V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52850000'), "name"=>"Catalina Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52860000'), "name"=>"Reece Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52870000'), "name"=>"Virgil Grimes DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52880000'), "name"=>"Zaria Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52890000'), "name"=>"Jay Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528a0000'), "name"=>"Mrs. Theodore Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528b0000'), "name"=>"Blanca Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528c0000'), "name"=>"Dylan Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528d0000'), "name"=>"Terrence O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528e0000'), "name"=>"Jarod Durgan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c528f0000'), "name"=>"Mrs. Hailee Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c528f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52900000'), "name"=>"Fae Glover PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52910000'), "name"=>"Dr. Adriana Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52920000'), "name"=>"Jena Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52930000'), "name"=>"Ms. Sean Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52940000'), "name"=>"Paul Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52950000'), "name"=>"Elsa Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52960000'), "name"=>"Columbus Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52970000'), "name"=>"Willie Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1677ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms Redirected to http://test.host/categories/548f48017735330c52980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1889ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52990000'), "name"=>"Ms. Karli O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1698ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f48017735330c52990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c52990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c52990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1829ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c529a0000'), "name"=>"Leopoldo Cremin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f48017735330c529a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c529b0000'), "name"=>"Willie Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[304960974900] runtime: 0.0891ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2401ms Completed 200 OK in 15ms (Views: 14.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c529c0000'), "name"=>"Eli Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306669539176] runtime: 0.0738ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2118ms Completed 200 OK in 8ms (Views: 7.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c529d0000'), "name"=>"Alex Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c529f0000'), "name"=>"Elisha Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f48017735330c529f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f48017735330c52a00000'), "name"=>"Katelin Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f48017735330c52a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c52a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f48017735330c52a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f48017735330c52a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Redirected to http://test.host/categories/548f48017735330c52a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52a10000'), "name"=>"Zoie Lynch", "reference"=>"Bianka Cremin", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52a20000'), "author_name"=>"Mrs. Dulce Stracke", "content"=>["Voluptates voluptatem ab sit esse. Consequatur sed quas ut quos numquam deserunt. Quo laboriosam autem excepturi rerum natus consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f48017735330c52a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f48017735330c52a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Redirected to http://test.host/products/548f48017735330c52a10000/comments/548f48017735330c52a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52a40000'), "name"=>"Ms. Francisca Kiehn", "reference"=>"Glenna Hand", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52a50000'), "author_name"=>"Santos Schmeler", "content"=>["Sint magnam est et fuga nihil nisi. Consequatur perspiciatis velit iure quasi aspernatur sapiente. Velit aliquid provident culpa sed ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f48017735330c52a40000", "id"=>"548f48017735330c52a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f48017735330c52a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms Redirected to http://test.host/products/548f48017735330c52a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4425ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52a60000'), "name"=>"Phyllis Smitham DDS", "reference"=>"Nicholas Quigley", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52a70000'), "author_name"=>"Concepcion Parisian", "content"=>["Ea a voluptatem consequatur. Qui eos excepturi non a qui. Nesciunt repudiandae incidunt corrupti molestiae qui quis rerum. Possimus voluptate et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f48017735330c52a60000", "id"=>"548f48017735330c52a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52a80000'), "name"=>"Tyreek Brakus", "reference"=>"Dianna Lang III", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52a90000'), "author_name"=>"Ms. Tomas Jaskolski", "content"=>["Facere at est soluta. Voluptatem molestias et aut quia numquam quibusdam eos. Dolores nobis sit est et nihil. Est officia eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0978ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f48017735330c52a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52aa0000'), "name"=>"Lea Jerde", "reference"=>"Kayla Davis", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52ab0000'), "author_name"=>"Garret Hahn", "content"=>["Possimus nisi iste corporis tempore sint. Quia laborum molestiae et sed. Illum quam inventore blanditiis sit suscipit ullam necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5042ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f48017735330c52aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52ac0000'), "name"=>"Vance McCullough III", "reference"=>"Ashlee Schoen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52ad0000'), "author_name"=>"Guillermo Fisher", "content"=>["Dolor iste eum accusamus praesentium. Esse molestiae quis cupiditate ea. Tempore ut odio voluptatem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f48017735330c52ac0000", "id"=>"548f48017735330c52ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52ae0000'), "name"=>"Mozelle Bailey", "reference"=>"Mr. Taurean Sipes", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52af0000'), "author_name"=>"Rylee Conn II", "content"=>["Beatae et quo alias dignissimos debitis iste corrupti. Doloribus est dicta velit corporis aut. Aliquam dolores nostrum et esse omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f48017735330c52ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52b00000'), "name"=>"Libby Schoen I", "reference"=>"Lilla Hamill", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52b10000'), "author_name"=>"Laisha Muller I", "content"=>["Maxime ad et maiores labore illo enim. Provident dolor itaque id. Soluta magni alias voluptatum non maxime in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f48017735330c52b00000", "id"=>"548f48017735330c52b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52b20000'), "name"=>"Maud Marquardt", "reference"=>"Brisa Okuneva DVM", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f48017735330c52b30000'), "author_name"=>"Jaden Reichel", "content"=>["Sit eos pariatur et consequuntur. Impedit non dolor. Praesentium sunt laudantium sed qui reiciendis beatae. Natus facere similique iste culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f48017735330c52b30000", "product_id"=>"548f48017735330c52b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52b20000')} 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('548f48017735330c52b20000'), "comments._id"=>BSON::ObjectId('548f48017735330c52b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Redirected to http://test.host/products/548f48017735330c52b20000/comments/548f48017735330c52b30000 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('548f48017735330c52b40000'), "firstname"=>"Delphia", "lastname"=>"Kirlin"}] 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.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('548f48017735330c52b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Redirected to http://test.host/admin/clients/548f48017735330c52b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1903ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f48017735330c52b60000'), "firstname"=>"Emiliano", "lastname"=>"Klein"}] 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=>"clients", :query=>{}} runtime: 0.1480ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f48017735330c52b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms 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.1746ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f48017735330c52b70000'), "firstname"=>"May", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f48017735330c52b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('548f48017735330c52b80000'), "firstname"=>"Marjory", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3921ms 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('548f48017735330c52b90000'), "firstname"=>"Rashad", "lastname"=>"Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1216ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 37ms (Views: 36.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f48017735330c52ba0000'), "firstname"=>"Christelle", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4995ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f48017735330c52ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms 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('548f48017735330c52bb0000'), "firstname"=>"Aaron", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f48017735330c52bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms Redirected to http://test.host/admin/clients/548f48017735330c52bb0000 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('548f48017735330c52bc0000'), "firstname"=>"Meaghan", "lastname"=>"Mohr"}] 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=>"clients", :query=>{}} runtime: 0.1702ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f48017735330c52bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms Redirected to http://test.host/clients/548f48017735330c52bd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f48017735330c52be0000'), "firstname"=>"Madison", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1617ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f48017735330c52be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms 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('548f48017735330c52bf0000'), "firstname"=>"Ernestina", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f48017735330c52bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('548f48017735330c52c00000'), "firstname"=>"Fannie", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms 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('548f48017735330c52c10000'), "firstname"=>"Nicolette", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f48017735330c52c20000'), "firstname"=>"Corine", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f48017735330c52c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms 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('548f48017735330c52c30000'), "firstname"=>"Junius", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f48017735330c52c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f48017735330c52c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms Redirected to http://test.host/clients/548f48017735330c52c30000 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('548f48017735330c52c40000'), "name"=>"Bennie Hamill", "reference"=>"Ricky Schmidt", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52c50000'), "firstname"=>"Xander", "lastname"=>"Jacobson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f48017735330c52c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms Redirected to http://test.host/products/548f48017735330c52c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52c70000'), "name"=>"Rubye Kilback", "reference"=>"Kory Larkin", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52c80000'), "firstname"=>"Laila", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f48017735330c52c80000", "product_id"=>"548f48017735330c52c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52c90000'), "name"=>"Abbie Stehr", "reference"=>"Emmie Smitham", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52ca0000'), "firstname"=>"Cortez", "lastname"=>"Koss"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f48017735330c52c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52cb0000'), "name"=>"Ayden Ullrich DDS", "reference"=>"Cleo Bogisich PhD", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52cc0000'), "firstname"=>"Frederic", "lastname"=>"Boyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f48017735330c52cc0000", "product_id"=>"548f48017735330c52cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52cd0000'), "name"=>"Timmy Fadel", "reference"=>"Vinnie Gorczany", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f48017735330c52ce0000'), "firstname"=>"Carlie", "lastname"=>"Jast"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f48017735330c52ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f48017735330c52cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Unpermitted parameters: name Redirected to http://test.host/products/548f48017735330c52cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52cf0000'), "name"=>"Melany Pfannerstill", "reference"=>"Theodora Roob DDS", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d00000'), "name"=>"Tyrell Considine", "reference"=>"Eduardo Tremblay", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d10000'), "name"=>"Ludwig Breitenberg", "reference"=>"Braulio Huels", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d20000'), "name"=>"Hazle Welch", "reference"=>"Meda Sanford", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d30000'), "name"=>"Jadon Mosciski", "reference"=>"Clare Padberg", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d40000'), "name"=>"Francesco Macejkovic", "reference"=>"Francisca Price", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1913ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d50000'), "name"=>"Yasmin Lemke", "reference"=>"Gregory Abbott", "quantity"=>8}] 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.1938ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f48017735330c52d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52d50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms 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.2241ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d60000'), "name"=>"Miguel Bosco", "reference"=>"Miss Jo Von", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f48017735330c52d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48017735330c52d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('548f48017735330c52d70000'), "name"=>"Orlando Strosin", "reference"=>"Mr. Electa Zulauf", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400180575] runtime: 0.0887ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2769ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d80000'), "name"=>"Mrs. America Brakus", "reference"=>"Danielle Schaden", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52d90000'), "name"=>"HelloWorld", "reference"=>"Ms. Carlee Lueilwitz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52da0000'), "name"=>"value", "reference"=>"Johnson Weissnat", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5685ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4473ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3986ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3445ms Completed 200 OK in 4ms (Views: 3.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3363ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2949ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1774ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48017735330c52db0000'), "name"=>"Camille Heller I", "reference"=>"Nedra Rogahn DVM", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680001761] runtime: 0.0786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2656ms Completed 200 OK in 17ms (Views: 16.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546809806] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176436193] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606175424] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861888565] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280720457278] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.3708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120265405] runtime: 0.0911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432108377] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615098028] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300054498] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279621736081] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281168051649] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922506822] runtime: 0.0889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280054840608] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826550973] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279438861399] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936477340] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972388529] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183732444] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279802497667] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532585447] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002583064] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280262456363] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280770723300] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042254365] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842553243] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533045153] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717625590] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675931185] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943831728] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204620013] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279289256716] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279252563042] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583393135] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279764575957] runtime: 0.0755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280700333578] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782233069] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192953858] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281288084437] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281260228963] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280335759542] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279217995766] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279695003990] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101317199] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279374721435] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098678306] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963533452] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529378054] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279819284755] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279709113729] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280526167001] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329832235] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280681195855] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362694567] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562635335] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208335636] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280830731593] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279531848161] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279840918138] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027390509] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859803028] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279468725730] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280339648502] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176147680] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280699178081] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682287001] runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248323950] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981544319] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670194588] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280268885029] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279955298846] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247013918] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833484125] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299606896] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242917813] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296618623] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874171278] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387322395] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433005582] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280871395459] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210840673] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062142753] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281140991494] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279256258900] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079397054] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895000485] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280973761105] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280559328406] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833189372] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014820885] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280307284527] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400733158] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279339280339] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279894337459] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234517054] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945843053] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281296764611] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280523764637] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169850479] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281292030358] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280262297978] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280104026849] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942986656] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947260023] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571464364] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280900803948] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193155798] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309490117] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077174568] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723057029] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279327856919] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280659156982] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670817291] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878709094] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146591570] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279903649418] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280057415524] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281058965386] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306020346] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280679362915] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694726425] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073509602] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373406020] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369201520] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206997064] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118474399] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280561207087] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280168919600] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281260848127] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280754543264] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423457144] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144423783] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808789422] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399218408] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166829284] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280379894647] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654783004] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279893688376] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279615385646] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279961438726] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873128760] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280428477239] runtime: 0.0908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534733571] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225442202] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320180513] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356767193] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281137328707] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466527256] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279661543187] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279749513059] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279459619905] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281307613487] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816761148] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280415061943] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702738907] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281109762551] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279994758396] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857805995] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280788720549] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191711602] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529290128] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279683411266] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187705817] runtime: 0.0602ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52dc0000'), "name"=>"Johathan Breitenberg", "reference"=>"Jude Lemke", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279969567268] runtime: 0.0613ms 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('548f48027735330c52dd0000'), "name"=>"John Lemke", "reference"=>"Ms. Everette Schoen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f48027735330c52dd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52dd0000')} 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('548f48027735330c52de0000'), "name"=>"Andreanne Upton", "reference"=>"Fatima Olson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f48027735330c52e10000'), "name"=>"Tito Schimmel Sr.", "reference"=>"Twila Bartell", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f48027735330c52e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Completed 200 OK in 4ms (Views: 2.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52e20000'), "name"=>"Lura Larson", "reference"=>"Laurel Nikolaus", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1893ms 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('548f48027735330c52e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1906ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52e40000'), "name"=>"Soledad D'Amore", "reference"=>"Mossie Hayes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f48027735330c52e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms 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('548f48027735330c52e50000'), "name"=>"Cordell Sporer", "reference"=>"Thalia Greenfelder", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms 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('548f48027735330c52e70000'), "name"=>"Ofelia Bogisich IV", "reference"=>"Dayton Sanford", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f48027735330c52e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms 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('548f48027735330c52e80000'), "name"=>"Tito Adams", "reference"=>"Erling Von", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f48027735330c52e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms Redirected to http://test.host/products/548f48027735330c52e80000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52eb0000'), "name"=>"Nelson Jacobson Jr.", "reference"=>"Madyson Wiza", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52e90000'), "author_name"=>"Rico Rodriguez", "content"=>["Ducimus sint debitis blanditiis assumenda at similique. Veritatis omnis voluptatem iure. Fuga et ratione nesciunt magnam. Perspiciatis non enim eos. Est accusamus facere."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52ea0000'), "author_name"=>"Mr. Mina MacGyver", "content"=>["Consectetur dolores dolorem ut consequatur architecto quia hic. Labore illum consectetur facere quis amet quia. Voluptatum error excepturi earum voluptate sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f48027735330c52eb0000", "comment_id"=>"548f48027735330c52e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4632ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52eb0000'), "comments._id"=>BSON::ObjectId('548f48027735330c52e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f48027735330c52ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1800ms Redirected to http://test.host/products/548f48027735330c52eb0000/comments/548f48027735330c52e90000/comments/548f48027735330c52ec0000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52ef0000'), "name"=>"Emie Steuber", "reference"=>"Boyd Altenwerth", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52ed0000'), "author_name"=>"Ellsworth Mayer", "content"=>["Modi ratione assumenda quasi omnis neque et dolorum. Quo qui commodi nihil velit molestias qui. Aut quam veniam est qui quidem assumenda. Quidem enim qui nulla adipisci animi vel."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52ee0000'), "author_name"=>"Mrs. Ethelyn Monahan", "content"=>["Est aliquid similique. Labore ut suscipit voluptatibus. Ratione autem veritatis quia doloremque impedit velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f48027735330c52ef0000", "comment_id"=>"548f48027735330c52ed0000", "id"=>"548f48027735330c52ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52ef0000'), "comments._id"=>BSON::ObjectId('548f48027735330c52ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f48027735330c52ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5936ms Redirected to http://test.host/products/548f48027735330c52ef0000/comments/548f48027735330c52ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52f20000'), "name"=>"Paula Volkman", "reference"=>"Travis Greenholt", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f00000'), "author_name"=>"Alycia Stoltenberg Sr.", "content"=>["Tempore voluptatibus quis optio id at est rerum. Vero qui accusantium laboriosam voluptatem qui ut at. Alias a ut. Qui quasi veritatis voluptatem sint qui voluptas aut. Placeat enim ratione eum voluptatem ut similique non."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f10000'), "author_name"=>"Violet Jakubowski", "content"=>["Voluptate accusantium consequatur in omnis et minima. Tempore sunt alias harum quam autem autem. Rerum laborum cupiditate hic officia corporis autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f48027735330c52f20000", "comment_id"=>"548f48027735330c52f00000", "id"=>"548f48027735330c52f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52f50000'), "name"=>"Mr. Paolo Leffler", "reference"=>"Trenton Jakubowski V", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f30000'), "author_name"=>"Viva Prosacco", "content"=>["Animi quas repellat et expedita velit et. Beatae dolor et inventore aut culpa reiciendis sed. Eveniet quos quam vel commodi corrupti libero. Distinctio est accusamus ex voluptatibus consequatur corporis. Ipsa nesciunt est non et omnis consequatur quibusdam."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f40000'), "author_name"=>"Kareem Homenick", "content"=>["Rerum voluptatem aliquam aut minima cumque tempora. Ut voluptatibus maxime ratione nesciunt ab. Natus a facere ipsam tempora. Qui iusto et. Et dolore qui eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5432ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f48027735330c52f50000", "comment_id"=>"548f48027735330c52f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52f80000'), "name"=>"Jayde Hudson II", "reference"=>"Elmira Daugherty", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f60000'), "author_name"=>"Dr. Alberto Christiansen", "content"=>["Doloribus laboriosam corporis. Hic velit et necessitatibus sunt. Dolorem repellendus voluptatibus corrupti qui ut. Nisi libero molestiae pariatur minus distinctio."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f70000'), "author_name"=>"Ole Cormier", "content"=>["Non voluptates accusantium et. Dolorem molestias ut cum eius. Ut ut et ab similique nemo. Eligendi commodi reprehenderit consequatur. Alias inventore assumenda sed accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f48027735330c52f80000", "comment_id"=>"548f48027735330c52f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52fb0000'), "name"=>"Maye Ortiz", "reference"=>"Cordie Daniel DVM", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52f90000'), "author_name"=>"Chet Wilkinson", "content"=>["Id alias quae et nihil ut. Nobis neque qui. Et recusandae optio quidem ut. Et temporibus enim voluptatibus placeat aut dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52fa0000'), "author_name"=>"Daphne Morar", "content"=>["Asperiores ut aut in nesciunt dicta modi. Quis consequatur aut. Eveniet veritatis vel enim libero debitis itaque officiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f48027735330c52fb0000", "comment_id"=>"548f48027735330c52f90000", "id"=>"548f48027735330c52fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52fe0000'), "name"=>"Ali Boehm", "reference"=>"Jeanie King", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52fc0000'), "author_name"=>"Andreanne Bailey", "content"=>["Nisi est nam et dicta. Cum error laborum qui similique dicta aliquid expedita. Saepe sapiente cumque molestias."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52fd0000'), "author_name"=>"Ophelia Nolan", "content"=>["Natus numquam ad. Sunt perspiciatis maiores. Dolores minima nisi voluptas cumque vero. Nihil voluptate debitis animi magnam voluptatem aut. Voluptatem autem reiciendis impedit atque ut voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f48027735330c52fe0000", "comment_id"=>"548f48027735330c52fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52010100'), "name"=>"Mrs. Colin Spencer", "reference"=>"Rylee Spencer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52ff0000'), "author_name"=>"Eulalia Kub", "content"=>["Beatae et autem qui est rerum. Sequi sint quam a molestiae ratione aperiam vel. Consequatur id amet."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52000100'), "author_name"=>"Kristoffer Botsford V", "content"=>["Voluptate alias quasi nulla natus sunt molestiae. Enim nam aut consequatur nobis et sint rerum. Alias odio debitis architecto sapiente ullam dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5325ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f48027735330c52010100", "comment_id"=>"548f48027735330c52ff0000", "id"=>"548f48027735330c52000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f48027735330c52040100'), "name"=>"Mr. Nasir Hauck", "reference"=>"Mittie Miller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52020100'), "author_name"=>"Roosevelt Romaguera", "content"=>["Sint maxime explicabo voluptas. Optio vitae incidunt laborum. Laborum aut consequatur in laudantium adipisci aut. Pariatur qui quo ipsa dolorem consequatur rem laboriosam."], "comments"=>[{"_id"=>BSON::ObjectId('548f48027735330c52030100'), "author_name"=>"Theodora Harris", "content"=>["Sunt similique at. Magni adipisci magnam optio fugiat nostrum. Voluptates earum ipsam tempora nulla sit doloremque nesciunt. Quia quam tempore rem omnis iusto sapiente. Ipsa repudiandae qui voluptas quis voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5203ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f48027735330c52030100", "product_id"=>"548f48027735330c52040100", "comment_id"=>"548f48027735330c52020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f48027735330c52040100')} 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('548f48027735330c52040100'), "comments._id"=>BSON::ObjectId('548f48027735330c52020100'), "comments.0.comments._id"=>BSON::ObjectId('548f48027735330c52030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6389ms Redirected to http://test.host/products/548f48027735330c52040100/comments/548f48027735330c52020100/comments/548f48027735330c52030100 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('548f48027735330c52050100'), "firstname"=>"Gunnar", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2819ms 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('548f48027735330c52060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Redirected to http://test.host/users/548f48027735330c52060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2503ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48027735330c52070100'), "firstname"=>"Zack", "lastname"=>"Swaniawski"}] 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.2226ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f48027735330c52070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48027735330c52070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48027735330c52070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5278ms Redirected to http://test.host/users Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1828ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48027735330c52080100'), "firstname"=>"Berniece", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f48027735330c52080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48027735330c52080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48027735330c52090100'), "firstname"=>"Effie", "lastname"=>"Shields"}] 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.4332ms Completed 200 OK in 37ms (Views: 36.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48027735330c520a0100'), "firstname"=>"Guillermo", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f48027735330c520b0100'), "firstname"=>"Bartholome", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f48027735330c520b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48027735330c520b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms 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('548f48027735330c520c0100'), "firstname"=>"Liana", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f48027735330c520c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48027735330c520c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Unpermitted parameters: name Redirected to http://test.host/users/548f48027735330c520c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms 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.3850ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6707ms 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.4037ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9745ms 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.3975ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9000000'), "firstname"=>"Minerva", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5684ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1977ms 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('548f482e7735330ca9010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms 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.2216ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9020000'), "firstname"=>"Pat", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f482e7735330ca9020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9030000'), "firstname"=>"Mohamed", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9040000'), "firstname"=>"Declan", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f482e7735330ca9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9050000'), "firstname"=>"Gabriel", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.3672ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f482e7735330ca9050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms 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('548f482e7735330ca9060000'), "name"=>"Daisha Schumm", "reference"=>"Velda Cruickshank", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9070000'), "author_name"=>"Lillie Hirthe", "content"=>["Iure odio minus eius sed. Eaque libero maxime. Quam pariatur sunt. Non aut ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f482e7735330ca9060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms Redirected to http://test.host/admin/products/548f482e7735330ca9060000/comments/548f482e7735330ca9080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9090000'), "name"=>"Judge Aufderhar DVM", "reference"=>"Duane Hickle", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca90a0000'), "author_name"=>"Jaqueline Buckridge", "content"=>["Ea veritatis nobis modi corporis atque temporibus. Magni non adipisci debitis deserunt. Voluptas voluptatum et consequatur dolor et. Doloribus nihil aut dolores ad vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f482e7735330ca9090000", "id"=>"548f482e7735330ca90a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9090000')} 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('548f482e7735330ca9090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f482e7735330ca90a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms Redirected to http://test.host/admin/products/548f482e7735330ca9090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca90b0000'), "name"=>"Edwin Walker", "reference"=>"Shanna Stanton", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca90c0000'), "author_name"=>"Stevie Wiegand", "content"=>["Ut consectetur veniam porro et saepe aut. Alias et dignissimos dolorem fugiat suscipit minima vitae. Voluptatem et maiores excepturi aut culpa eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f482e7735330ca90b0000", "id"=>"548f482e7735330ca90c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca90b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca90d0000'), "name"=>"Dr. Mortimer Douglas", "reference"=>"Clifton Oberbrunner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca90e0000'), "author_name"=>"Carissa Morissette", "content"=>["Tempora in aperiam. Cumque dolorem itaque illum cupiditate impedit. Corrupti temporibus veniam hic et. Ut quis quo eaque rerum quam corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5312ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f482e7735330ca90d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Completed 200 OK in 6ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca90f0000'), "name"=>"Nola Jenkins", "reference"=>"Greyson Thiel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9100000'), "author_name"=>"Concepcion Mills", "content"=>["In sint ipsam quas saepe. Saepe expedita accusantium quas odit non reiciendis voluptate. Inventore nobis delectus harum incidunt quo dolores aut. Quod reprehenderit aliquid. Ut eaque consequatur natus sequi assumenda blanditiis nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0593ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f482e7735330ca90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9110000'), "name"=>"Jalen Satterfield", "reference"=>"Kirstin Kovacek", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9120000'), "author_name"=>"Macy Bednar", "content"=>["Voluptatem fugit dolorum vel doloribus non recusandae. Eligendi adipisci nisi voluptas saepe. Nam ipsa impedit veniam porro dolores voluptatibus ipsam. Laborum reprehenderit repudiandae voluptatem rerum qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5360ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f482e7735330ca9110000", "id"=>"548f482e7735330ca9120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9130000'), "name"=>"Emma Bartell MD", "reference"=>"Kory Jones IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9140000'), "author_name"=>"Melissa Wehner MD", "content"=>["Nemo id praesentium nam voluptatum aperiam neque. Itaque aut animi. Aspernatur pariatur voluptatibus. Sint non culpa sit placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f482e7735330ca9140000", "product_id"=>"548f482e7735330ca9130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9130000'), "comments._id"=>BSON::ObjectId('548f482e7735330ca9140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6534ms Redirected to http://test.host/admin/products/548f482e7735330ca9130000/comments/548f482e7735330ca9140000 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('548f482e7735330ca9150000'), "name"=>"Gwen Kemmer", "reference"=>"Emelia Hermiston", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9160000'), "firstname"=>"Jaiden", "lastname"=>"Mitchell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5560ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f482e7735330ca9150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3725ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Redirected to http://test.host/admin/products/548f482e7735330ca9150000/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('548f482e7735330ca9180000'), "name"=>"Nona Thompson", "reference"=>"Ruthie Lehner", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9190000'), "firstname"=>"Anthony", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f482e7735330ca9190000", "product_id"=>"548f482e7735330ca9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca91a0000'), "name"=>"Ivah Reinger", "reference"=>"Rahsaan Breitenberg III", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca91b0000'), "firstname"=>"Violet", "lastname"=>"Davis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5397ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f482e7735330ca91a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca91a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca91c0000'), "name"=>"Jerrold Reynolds PhD", "reference"=>"Harry Abernathy", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca91d0000'), "firstname"=>"Emie", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f482e7735330ca91d0000", "product_id"=>"548f482e7735330ca91c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca91e0000'), "name"=>"Bernardo Wehner", "reference"=>"Elmira Howell", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f482e7735330ca91f0000'), "firstname"=>"Ewald", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5192ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f482e7735330ca91f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f482e7735330ca91e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca91e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f482e7735330ca91e0000/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('548f482e7735330ca9200000'), "name"=>"Kenton Schamberger", "reference"=>"Tamara Moen", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5555ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1960ms 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('548f482e7735330ca9210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms Redirected to http://test.host/admin/products/548f482e7735330ca9210000 Completed 302 Found in 3ms 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('548f482e7735330ca9220000'), "name"=>"Mr. Alfred Von", "reference"=>"Ms. Maryjane Mosciski", "quantity"=>6}] 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.1878ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f482e7735330ca9220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms 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.2145ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9230000'), "name"=>"Issac Williamson", "reference"=>"Juanita Kshlerin II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f482e7735330ca9230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9240000'), "name"=>"Jordon Beer", "reference"=>"Madelynn Luettgen", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5404ms 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.6008ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9250000'), "name"=>"Edgardo Wisozk", "reference"=>"Terence Monahan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 18ms (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('548f482e7735330ca9280000'), "name"=>"Mrs. Charlie Towne", "reference"=>"Mckenna Upton", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f482e7735330ca9280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms 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('548f482e7735330ca9290000'), "name"=>"Jamaal Jast", "reference"=>"Maximo Olson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f482e7735330ca9290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Redirected to http://test.host/admin/products/548f482e7735330ca9290000 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('548f482e7735330ca92a0000'), "firstname"=>"Diamond", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1984ms 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('548f482e7735330ca92b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Redirected to http://test.host/admin/users/548f482e7735330ca92b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2514ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca92c0000'), "firstname"=>"Effie", "lastname"=>"Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1834ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f482e7735330ca92c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482e7735330ca92c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482e7735330ca92c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2950ms 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.2262ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca92d0000'), "firstname"=>"Angelina", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f482e7735330ca92d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482e7735330ca92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca92e0000'), "firstname"=>"Isobel", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms 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.4487ms Completed 200 OK in 6ms (Views: 5.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca92f0000'), "firstname"=>"Rhoda", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f482e7735330ca9300000'), "firstname"=>"Asha", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5057ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f482e7735330ca9300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482e7735330ca9300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms 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('548f482e7735330ca9310000'), "firstname"=>"Dena", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f482e7735330ca9310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482e7735330ca9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f482e7735330ca9310000 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('548f482e7735330ca9320000'), "firstname"=>"Dallin", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2111ms 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('548f482e7735330ca9330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms 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.2274ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9340000'), "firstname"=>"Zachariah", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f482e7735330ca9340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9350000'), "firstname"=>"Ashleigh", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9360000'), "firstname"=>"Lue", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f482e7735330ca9360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9370000'), "firstname"=>"Lessie", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3418ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f482e7735330ca9370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f482e7735330ca9370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9380000'), "name"=>"Chad Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9390000'), "name"=>"Dr. Ephraim Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93a0000'), "name"=>"Mr. Leonie West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93b0000'), "name"=>"Justyn Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93c0000'), "name"=>"Dr. Alexander Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93d0000'), "name"=>"Dr. Anika Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93e0000'), "name"=>"Myrl Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca93f0000'), "name"=>"Leanna Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca93f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9400000'), "name"=>"Ms. Lavina Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9410000'), "name"=>"Cristobal Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9420000'), "name"=>"Cyril Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9430000'), "name"=>"Katharina Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9440000'), "name"=>"Mrs. Geovanny Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9450000'), "name"=>"June Hintz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9460000'), "name"=>"Shakira Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9470000'), "name"=>"Drake Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9480000'), "name"=>"Cassandra Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9490000'), "name"=>"Mrs. Aron Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94a0000'), "name"=>"Breanne Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94b0000'), "name"=>"Mrs. Keara Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94c0000'), "name"=>"Mrs. Summer Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94d0000'), "name"=>"Mina Collier DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94e0000'), "name"=>"Ms. Celestino Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca94f0000'), "name"=>"Mrs. Hettie Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca94f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9500000'), "name"=>"Dedrick Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9510000'), "name"=>"Miss Reagan Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9520000'), "name"=>"Arden Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9530000'), "name"=>"Cordia Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9540000'), "name"=>"Forest Barrows DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9550000'), "name"=>"Gordon Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9560000'), "name"=>"Malinda Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9570000'), "name"=>"Kimberly McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9580000'), "name"=>"Vesta Lehner II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9590000'), "name"=>"Gaetano Murray Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95a0000'), "name"=>"Ellen Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95b0000'), "name"=>"Humberto Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95c0000'), "name"=>"Elmer Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95d0000'), "name"=>"Bennie McKenzie DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95e0000'), "name"=>"Eulalia Wintheiser Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca95f0000'), "name"=>"Miss Sage Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca95f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9600000'), "name"=>"Jose Kirlin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9610000'), "name"=>"Lucius Prohaska IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9620000'), "name"=>"Hildegard Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9630000'), "name"=>"Hanna Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9640000'), "name"=>"Kayla Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9650000'), "name"=>"Sylvester Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9660000'), "name"=>"Cesar Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9670000'), "name"=>"Ms. Andreane Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9680000'), "name"=>"Karli Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9690000'), "name"=>"Annamarie Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96a0000'), "name"=>"Mrs. Diamond Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96b0000'), "name"=>"Keely Kuphal Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96c0000'), "name"=>"Mrs. Elliot Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96d0000'), "name"=>"Bert Gibson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96e0000'), "name"=>"Miss Lorenz Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca96f0000'), "name"=>"Khalid Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca96f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9700000'), "name"=>"Magnus Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9710000'), "name"=>"Myah Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9720000'), "name"=>"Jordyn Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9730000'), "name"=>"Eunice Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9740000'), "name"=>"Miss Marques Upton"}] 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={"category_id"=>BSON::ObjectId('548f482e7735330ca9740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9750000'), "name"=>"Niko Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9760000'), "name"=>"Gerardo Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9770000'), "name"=>"Ms. Gladyce Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9780000'), "name"=>"Verla Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9790000'), "name"=>"Christine Connelly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97a0000'), "name"=>"Frida Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97b0000'), "name"=>"Mr. Quinn Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97c0000'), "name"=>"Lawrence Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97d0000'), "name"=>"Cathryn Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97e0000'), "name"=>"Lulu Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca97f0000'), "name"=>"Pascale Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca97f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9800000'), "name"=>"Ramona Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9810000'), "name"=>"Allan Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.5861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9820000'), "name"=>"Chaya Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9830000'), "name"=>"Hilbert Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9840000'), "name"=>"Arnold Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9850000'), "name"=>"Fred Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9860000'), "name"=>"Salvador Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9870000'), "name"=>"Miss Darrick Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9880000'), "name"=>"Mattie Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9890000'), "name"=>"Conor Murphy PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98a0000'), "name"=>"Laurel Baumbach Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98b0000'), "name"=>"Lexie Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98c0000'), "name"=>"Kamren Hoeger Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98d0000'), "name"=>"Ines Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98e0000'), "name"=>"Amari Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca98f0000'), "name"=>"Beatrice Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca98f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9900000'), "name"=>"Ms. Lily Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9910000'), "name"=>"Mabel Rowe MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9920000'), "name"=>"Dameon Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9930000'), "name"=>"Elmira Kub DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9940000'), "name"=>"Presley Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9950000'), "name"=>"Miss Justen Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9960000'), "name"=>"Mrs. Simone Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9970000'), "name"=>"Demetris Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1746ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms Redirected to http://test.host/categories/548f482e7735330ca9980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1900ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9990000'), "name"=>"Fay Rolfson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2086ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f482e7735330ca9990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca9990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1855ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca99a0000'), "name"=>"Tyrell Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f482e7735330ca99a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca99b0000'), "name"=>"Anabel Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307043592196] runtime: 0.0934ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2853ms Completed 200 OK in 15ms (Views: 14.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca99c0000'), "name"=>"Odell Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305366666091] runtime: 0.0722ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2540ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca99d0000'), "name"=>"Mrs. Name Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4193ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca99f0000'), "name"=>"Mitchell Hessel"}] 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={"category_id"=>BSON::ObjectId('548f482e7735330ca99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f482e7735330ca99f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9a00000'), "name"=>"Heath Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f482e7735330ca9a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f482e7735330ca9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms Redirected to http://test.host/categories/548f482e7735330ca9a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9a10000'), "name"=>"Dominic Witting DDS", "reference"=>"Seamus Daugherty", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9a20000'), "author_name"=>"Agustin Gislason", "content"=>["Vitae impedit maiores. Vel nobis voluptatem facere id nostrum. Facilis nisi suscipit ab ut optio aut. Quidem ipsum illum tempore ducimus omnis. Hic molestias sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f482e7735330ca9a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms Redirected to http://test.host/products/548f482e7735330ca9a10000/comments/548f482e7735330ca9a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482e7735330ca9a40000'), "name"=>"Roger Kilback", "reference"=>"Rebeka Connelly Jr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f482e7735330ca9a50000'), "author_name"=>"Marlee Hansen PhD", "content"=>["Hic optio consequatur aspernatur. Impedit magnam ducimus sunt nihil cum possimus natus. Corrupti quisquam unde est reiciendis. Delectus minus nihil nihil dicta unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f482e7735330ca9a40000", "id"=>"548f482e7735330ca9a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f482e7735330ca9a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5971ms Redirected to http://test.host/products/548f482e7735330ca9a40000/comments Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482e7735330ca9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9a60000'), "name"=>"Garth Stoltenberg", "reference"=>"Cassie Connelly", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9a70000'), "author_name"=>"Dortha Ortiz", "content"=>["Atque dolor et minus necessitatibus. Et consequatur laborum sit voluptas. Incidunt debitis cum ut ipsa quaerat rem sint. Nam non quisquam corporis laborum ipsa porro quasi. Nesciunt et porro eos sit inventore molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f482f7735330ca9a60000", "id"=>"548f482f7735330ca9a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9a80000'), "name"=>"Brent Block Sr.", "reference"=>"Theo Mueller DDS", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9a90000'), "author_name"=>"Giovani Schimmel", "content"=>["Et esse qui perspiciatis ea. Officiis et maxime quibusdam error sequi quae. Quia non sit. Temporibus ut consequuntur et soluta est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5680ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f482f7735330ca9a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9aa0000'), "name"=>"Verdie Sawayn Jr.", "reference"=>"Ethelyn Littel", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ab0000'), "author_name"=>"Nikolas Sauer", "content"=>["Minus debitis et officia laborum numquam laudantium itaque. Omnis dolorem dignissimos voluptatem perspiciatis velit consequatur. Vero nesciunt labore minus laborum eveniet numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5679ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f482f7735330ca9aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9ac0000'), "name"=>"Kaleb Metz", "reference"=>"Helga Block", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ad0000'), "author_name"=>"Ozella Zboncak", "content"=>["Excepturi aut nihil nesciunt dignissimos et eos. Autem magnam aliquid necessitatibus. Et voluptas voluptatem totam et nobis aliquam id. Exercitationem voluptatem voluptate aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f482f7735330ca9ac0000", "id"=>"548f482f7735330ca9ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9ae0000'), "name"=>"Glenda Sauer", "reference"=>"Olen Rau", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9af0000'), "author_name"=>"Ms. Mariela Wisoky", "content"=>["Debitis molestiae est qui corrupti ea laborum. Non ullam at culpa dolorum labore rerum. Debitis laudantium tempore et recusandae voluptas qui. Dolore sed qui illum et totam quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f482f7735330ca9ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b00000'), "name"=>"Mac Murazik", "reference"=>"Regan Rippin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9b10000'), "author_name"=>"Nicholaus Lebsack", "content"=>["Sint non asperiores eveniet qui sequi qui. Dolores repudiandae consequatur nulla facilis. Voluptatem ipsam aut nostrum facilis numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f482f7735330ca9b00000", "id"=>"548f482f7735330ca9b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b20000'), "name"=>"Mr. Asia Kulas", "reference"=>"Esperanza Dietrich", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9b30000'), "author_name"=>"Ariel Fay", "content"=>["Sint ea accusamus laborum. Sint quis animi error perspiciatis sapiente et. In cum dolore sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5647ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f482f7735330ca9b30000", "product_id"=>"548f482f7735330ca9b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b20000'), "comments._id"=>BSON::ObjectId('548f482f7735330ca9b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5050ms Redirected to http://test.host/products/548f482f7735330ca9b20000/comments/548f482f7735330ca9b30000 Completed 302 Found in 9ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b40000'), "firstname"=>"Desmond", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5727ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1990ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Redirected to http://test.host/admin/clients/548f482f7735330ca9b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2377ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b60000'), "firstname"=>"Joana", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1839ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f482f7735330ca9b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms 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.2105ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b70000'), "firstname"=>"Braden", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f482f7735330ca9b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9b80000'), "firstname"=>"Reed", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4362ms 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('548f482f7735330ca9b90000'), "firstname"=>"Georgette", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5251ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.8ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9ba0000'), "firstname"=>"Estel", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f482f7735330ca9ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms 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('548f482f7735330ca9bb0000'), "firstname"=>"Burnice", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8549ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f482f7735330ca9bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms Redirected to http://test.host/admin/clients/548f482f7735330ca9bb0000 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('548f482f7735330ca9bc0000'), "firstname"=>"Isabell", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1958ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Redirected to http://test.host/clients/548f482f7735330ca9bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2162ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9be0000'), "firstname"=>"Bryana", "lastname"=>"Harris"}] 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=>"clients", :query=>{}} runtime: 0.1783ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f482f7735330ca9be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms 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.1980ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9bf0000'), "firstname"=>"Demarco", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f482f7735330ca9bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms Rendered /home/geoffroy/projects/crealettres/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('548f482f7735330ca9c00000'), "firstname"=>"Linwood", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4663ms 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('548f482f7735330ca9c10000'), "firstname"=>"Gerson", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f482f7735330ca9c20000'), "firstname"=>"Dora", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f482f7735330ca9c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms 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('548f482f7735330ca9c30000'), "firstname"=>"Rene", "lastname"=>"Zieme"}] 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"=>"548f482f7735330ca9c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Redirected to http://test.host/clients/548f482f7735330ca9c30000 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('548f482f7735330ca9c40000'), "name"=>"Ruthe Reilly DDS", "reference"=>"Deangelo Harris", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9c50000'), "firstname"=>"Dante", "lastname"=>"Dach"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f482f7735330ca9c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c40000')} 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('548f482f7735330ca9c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms Redirected to http://test.host/products/548f482f7735330ca9c40000/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('548f482f7735330ca9c70000'), "name"=>"Cleta Rempel DVM", "reference"=>"Chelsea Rippin IV", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9c80000'), "firstname"=>"Joaquin", "lastname"=>"Nienow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f482f7735330ca9c80000", "product_id"=>"548f482f7735330ca9c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9c90000'), "name"=>"Wilton Daniel", "reference"=>"Fritz Schumm", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9ca0000'), "firstname"=>"Josh", "lastname"=>"Bayer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f482f7735330ca9c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9cb0000'), "name"=>"Triston Cole", "reference"=>"Forrest Koch", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9cc0000'), "firstname"=>"Shakira", "lastname"=>"D'Amore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f482f7735330ca9cc0000", "product_id"=>"548f482f7735330ca9cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9cd0000'), "name"=>"Hugh Ward", "reference"=>"Chad Krajcik", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9ce0000'), "firstname"=>"Raphaelle", "lastname"=>"Jacobson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f482f7735330ca9ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f482f7735330ca9cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms Unpermitted parameters: name Redirected to http://test.host/products/548f482f7735330ca9cd0000/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('548f482f7735330ca9cf0000'), "name"=>"Uriel Dach", "reference"=>"Riley Kulas", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d00000'), "name"=>"Moses Gulgowski Jr.", "reference"=>"Maybell Osinski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d10000'), "name"=>"Adrianna Ferry V", "reference"=>"Verlie Kihn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d20000'), "name"=>"Kenna Simonis DDS", "reference"=>"Will Kuhn", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d30000'), "name"=>"Elyse Bartell", "reference"=>"Emanuel Considine III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d40000'), "name"=>"Faye Hand", "reference"=>"Lempi Lockman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1931ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms Redirected to http://test.host/products/548f482f7735330ca9d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2432ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d60000'), "name"=>"Deion Wehner", "reference"=>"Sven Rice", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f482f7735330ca9d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4259ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9d60000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2144ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d70000'), "name"=>"Mathew Hintz", "reference"=>"Nico Zemlak", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f482f7735330ca9d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f482f7735330ca9d80000'), "name"=>"Malinda Greenholt", "reference"=>"Alden Toy III", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416719256] runtime: 0.1002ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2317ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9d90000'), "name"=>"Ozella Carroll", "reference"=>"Dr. Sandy Kulas", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9da0000'), "name"=>"HelloWorld", "reference"=>"Nina Moore", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9db0000'), "name"=>"value", "reference"=>"Guadalupe Jacobson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4148ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3118ms Completed 200 OK in 5ms (Views: 4.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2388ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1516ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2809ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2215ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1834ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1519ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9dc0000'), "name"=>"Korey Weissnat", "reference"=>"Myah Goodwin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279798391203] runtime: 0.0880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2203ms Completed 200 OK in 16ms (Views: 15.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280108645972] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279237945146] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600582543] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066060086] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096326619] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042613559] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542288291] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281253808633] runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667640760] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925673395] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154753438] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222765686] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279377883608] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280638323683] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280776835631] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932961106] runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692490598] runtime: 0.0872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070778420] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272083281] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281036748904] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620325980] runtime: 0.0702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280324337134] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735614010] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102081371] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545990116] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280745220688] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279870644407] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483116891] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473548567] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968829037] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280254169516] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051221654] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449823493] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279554268877] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280030593943] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279919562582] runtime: 0.0715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281231005016] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501100854] runtime: 0.0979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281285054527] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737258474] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280299488064] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600148099] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208640182] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280589079763] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279728644573] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279578727194] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574153892] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428516742] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279931022645] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280448385930] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239417476] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533503879] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280322726872] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280228387408] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191620727] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865406983] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963563736] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624854661] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279177455540] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132875139] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244162241] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780446011] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281060748594] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280822593924] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281153871753] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280697030705] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700443493] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830139798] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.9224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014368557] runtime: 0.1168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534839321] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732501088] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281029192830] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279668275136] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279761428817] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783413609] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280848828743] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380312524] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219366475] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158254001] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074936464] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279332186396] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087447060] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948975438] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280678758844] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649911697] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281128899426] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380971155] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279681958966] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279309920041] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280110737613] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043068962] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280496121935] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279703215314] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663492908] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280425921873] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279215159579] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279173042005] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279494334246] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279816250727] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395142998] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279597798275] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280290158504] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548933761] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280726954666] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279792151926] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696318820] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721732532] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174960954] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587601019] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929644227] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338355101] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895122610] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248052223] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280412201026] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478251487] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446638120] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187818444] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280305625890] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282273804] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279575577501] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128814390] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653978736] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395696630] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496215016] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279302706555] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280808648096] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280581445174] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281031122729] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281290688839] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279705008589] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626406059] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805095220] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280156224299] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905585764] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226944295] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279475860958] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021537111] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004623701] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027782458] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670158719] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124949030] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279839014539] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451967562] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279698530805] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780982411] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783133857] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279293641262] runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260366452] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280997966915] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581569775] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281168224376] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371563681] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021596320] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917954243] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983588571] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366796931] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731696772] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892858380] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901642268] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757225529] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042731897] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413918072] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673283749] runtime: 0.0480ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9dd0000'), "name"=>"Berneice Mayer PhD", "reference"=>"Martina Treutel", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280841630864] runtime: 0.0635ms Completed 200 OK in 5ms (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('548f482f7735330ca9de0000'), "name"=>"Augustus Schaden", "reference"=>"Elmer Stokes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f482f7735330ca9de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms 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('548f482f7735330ca9df0000'), "name"=>"Mathias Keebler", "reference"=>"Kennedy Ward", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e10000'), "name"=>"Emmie Rodriguez", "reference"=>"Pattie Nolan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f482f7735330ca9e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e20000'), "name"=>"Mr. Zella Lebsack", "reference"=>"Max Kerluke", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.3927ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5093ms 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('548f482f7735330ca9e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7514ms Completed 201 Created in 6ms (Views: 0.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4992ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e40000'), "name"=>"Ally Altenwerth", "reference"=>"Arnaldo Ledner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5577ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f482f7735330ca9e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5675ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e50000'), "name"=>"Thad Ullrich IV", "reference"=>"Asia Beer", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e70000'), "name"=>"Novella Kshlerin", "reference"=>"Aileen Schmeler DVM", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6422ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f482f7735330ca9e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4900ms Completed 202 Accepted in 6ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9e80000'), "name"=>"Miss Aileen Greenholt", "reference"=>"Maddison Muller", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5233ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f482f7735330ca9e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5402ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5210ms Redirected to http://test.host/products/548f482f7735330ca9e80000 Completed 302 Found in 6ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9eb0000'), "name"=>"Kameron Schuppe", "reference"=>"Electa Ankunding", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9e90000'), "author_name"=>"Jay Runolfsdottir", "content"=>["Sit voluptas veritatis sint repellendus ab. Est voluptatem accusantium nihil perspiciatis qui est. Dolorem iste omnis voluptatem provident eos. Amet consequatur ad est."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ea0000'), "author_name"=>"Ewell Sawayn", "content"=>["Omnis nulla doloribus inventore voluptates possimus consequatur. Et molestiae ut dolores veritatis officia earum. Ducimus voluptatum neque iure. Recusandae consequuntur necessitatibus. Velit facilis vel aliquam sunt sit eveniet itaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f482f7735330ca9eb0000", "comment_id"=>"548f482f7735330ca9e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9eb0000'), "comments._id"=>BSON::ObjectId('548f482f7735330ca9e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5735ms Redirected to http://test.host/products/548f482f7735330ca9eb0000/comments/548f482f7735330ca9e90000/comments/548f482f7735330ca9ec0000 Completed 302 Found in 49ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9ef0000'), "name"=>"Tressa Bashirian", "reference"=>"Alexzander Beier", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ed0000'), "author_name"=>"Bonnie Harris", "content"=>["Quis est accusamus et voluptatibus aut. Reprehenderit facilis occaecati est impedit sunt. Veritatis quis corrupti iusto."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ee0000'), "author_name"=>"Savion Kub", "content"=>["Omnis enim itaque. Cupiditate ut fugiat ipsa ab ut blanditiis et. Et excepturi a eveniet molestiae qui voluptatem alias. Fugiat sed at error molestiae. Tempore iure sit laboriosam odio corporis quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f482f7735330ca9ef0000", "comment_id"=>"548f482f7735330ca9ed0000", "id"=>"548f482f7735330ca9ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ef0000'), "comments._id"=>BSON::ObjectId('548f482f7735330ca9ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f482f7735330ca9ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Redirected to http://test.host/products/548f482f7735330ca9ef0000/comments/548f482f7735330ca9ed0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9f20000'), "name"=>"Nathanael Nader Sr.", "reference"=>"Lilla Rippin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f00000'), "author_name"=>"Mallie Marvin I", "content"=>["Autem doloremque placeat dolore rerum consequatur sunt quibusdam. Sequi quas explicabo repudiandae nisi. Labore quod ullam sit quas ad. Est et voluptatibus ut."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f10000'), "author_name"=>"Ellen Howe", "content"=>["Eius iusto recusandae nemo laboriosam officiis. Neque asperiores aut repudiandae illum. Rerum illo suscipit omnis dolorum. Nihil assumenda officia est tempora sed. Dolor neque doloremque aut sed unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f482f7735330ca9f20000", "comment_id"=>"548f482f7735330ca9f00000", "id"=>"548f482f7735330ca9f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9f50000'), "name"=>"Javon Zieme", "reference"=>"Darion Price DVM", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f30000'), "author_name"=>"Mable Rogahn", "content"=>["Veritatis aliquam corrupti error delectus. Eum illum sit laboriosam incidunt ducimus deleniti. Aut sunt culpa voluptas ea hic consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f40000'), "author_name"=>"Orie Pfannerstill", "content"=>["Praesentium in libero asperiores quibusdam. Adipisci qui architecto aut dicta totam amet et. Voluptas itaque accusantium mollitia earum voluptas nihil veritatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f482f7735330ca9f50000", "comment_id"=>"548f482f7735330ca9f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms Completed 200 OK in 7ms (Views: 3.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9f80000'), "name"=>"Cristina Pfeffer", "reference"=>"Jaycee Stoltenberg", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f60000'), "author_name"=>"Mr. Green Lesch", "content"=>["Ad deleniti voluptatem esse laborum. Consequatur magni explicabo. Voluptas adipisci incidunt at possimus laudantium. Et doloremque perspiciatis numquam sit culpa. Tenetur magni tempore."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f70000'), "author_name"=>"David Mertz", "content"=>["Libero voluptatem enim sunt. Aut et non. Quas sunt consequatur illum. Porro ut facere et iste aut. Eos sed velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f482f7735330ca9f80000", "comment_id"=>"548f482f7735330ca9f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9fb0000'), "name"=>"Eriberto Terry", "reference"=>"Rickie Bode", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9f90000'), "author_name"=>"Burnice Mueller", "content"=>["Et incidunt harum consequatur voluptatem debitis. Reiciendis voluptates esse corrupti perferendis. Dicta repellendus veritatis. Tempore est repellat hic laudantium sed architecto."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9fa0000'), "author_name"=>"Myles Koelpin", "content"=>["Praesentium consequatur omnis doloremque et id error. Blanditiis tenetur vel. Quisquam assumenda illum. Dignissimos asperiores eos nisi iste autem est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f482f7735330ca9fb0000", "comment_id"=>"548f482f7735330ca9f90000", "id"=>"548f482f7735330ca9fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4434ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9fe0000'), "name"=>"Halie Bogisich V", "reference"=>"Aimee Brown IV", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9fc0000'), "author_name"=>"Deon Krajcik I", "content"=>["Minus dolor voluptas. Consectetur suscipit aspernatur commodi. Doloribus et amet et. Et et nam perspiciatis pariatur iure ad laborum. Non animi hic ipsa alias voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9fd0000'), "author_name"=>"Ashlee Hahn", "content"=>["Modi id voluptates ullam sit sint quia. Doloremque quae illum. Qui sunt voluptatem eos alias quia. Qui ut sunt corrupti explicabo omnis saepe et. Unde autem at ut voluptatibus vel ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f482f7735330ca9fe0000", "comment_id"=>"548f482f7735330ca9fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9010100'), "name"=>"Joshua Klein II", "reference"=>"Mrs. Tiffany Moore", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9ff0000'), "author_name"=>"Retta Hilpert", "content"=>["Qui sunt aut enim itaque tenetur. Iure reiciendis quia. Repudiandae beatae suscipit. Sed aliquid non totam in sit. Laboriosam sunt deleniti pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9000100'), "author_name"=>"Estrella Boyer", "content"=>["Sequi rem ipsa et. Veniam odio atque repellendus placeat fugiat. Saepe distinctio quas nihil rerum non dolorem iste. Blanditiis eligendi tenetur excepturi molestias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6001ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f482f7735330ca9010100", "comment_id"=>"548f482f7735330ca9ff0000", "id"=>"548f482f7735330ca9000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9040100'), "name"=>"Dillon Runte", "reference"=>"D'angelo Schulist DVM", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9020100'), "author_name"=>"Lorenz Hintz", "content"=>["Autem sed numquam et corporis ut. Qui consequuntur aut est et occaecati. Voluptatem provident optio earum. Consequatur corporis saepe vero perspiciatis quia. Recusandae nobis quisquam sit exercitationem et."], "comments"=>[{"_id"=>BSON::ObjectId('548f482f7735330ca9030100'), "author_name"=>"Miss Gianni Kihn", "content"=>["Quos autem expedita eum nostrum sint ipsum. Asperiores aut ut qui rerum. Maiores unde dolorem dolorum commodi. Ea reiciendis quos voluptatem veniam omnis voluptas. Exercitationem assumenda nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6437ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f482f7735330ca9030100", "product_id"=>"548f482f7735330ca9040100", "comment_id"=>"548f482f7735330ca9020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4348ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f482f7735330ca9040100'), "comments._id"=>BSON::ObjectId('548f482f7735330ca9020100'), "comments.0.comments._id"=>BSON::ObjectId('548f482f7735330ca9030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7541ms Redirected to http://test.host/products/548f482f7735330ca9040100/comments/548f482f7735330ca9020100/comments/548f482f7735330ca9030100 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('548f482f7735330ca9050100'), "firstname"=>"Sim", "lastname"=>"Cummings"}] 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=>"admin_users", :query=>{}} runtime: 0.2286ms 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('548f482f7735330ca9060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Redirected to http://test.host/users/548f482f7735330ca9060100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2425ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9070100'), "firstname"=>"Kylee", "lastname"=>"Braun"}] 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=>"admin_users", :query=>{}} runtime: 0.2217ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f482f7735330ca9070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482f7735330ca9070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482f7735330ca9070100')} 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.2253ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f482f7735330ca9080100'), "firstname"=>"Kendra", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f482f7735330ca9080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f482f7735330ca9080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms Rendered /home/geoffroy/projects/crealettres/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('548f482f7735330ca9090100'), "firstname"=>"Betty", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms 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.4501ms Completed 200 OK in 36ms (Views: 35.0ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f48307735330ca90a0100'), "firstname"=>"Colt", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6172ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f48307735330ca90b0100'), "firstname"=>"Jess", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5659ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f48307735330ca90b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48307735330ca90b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms 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('548f48307735330ca90c0100'), "firstname"=>"Brooklyn", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5803ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f48307735330ca90c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f48307735330ca90c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Unpermitted parameters: name Redirected to http://test.host/users/548f48307735330ca90c0100 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.3258ms 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.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.3651ms 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.2357ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms 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.2774ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112000000'), "firstname"=>"Barbara", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3522ms 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('548f4a9c7735331112010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5878ms 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.3647ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112020000'), "firstname"=>"Keenan", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4a9c7735331112020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9c7735331112020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112030000'), "firstname"=>"Manuela", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5399ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112040000'), "firstname"=>"Chester", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5653ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4a9c7735331112040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9c7735331112040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4321ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112050000'), "firstname"=>"Vernice", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.3567ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4a9c7735331112050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9c7735331112050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms 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('548f4a9c7735331112060000'), "name"=>"Simone Conn", "reference"=>"Brenda Feest", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9c7735331112070000'), "author_name"=>"Vaughn Smith V", "content"=>["Dolorum aut corporis. Libero ad ut qui. Recusandae sed nam veritatis voluptates eligendi voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4a9c7735331112060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4277ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4a9c7735331112080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5104ms Redirected to http://test.host/admin/products/548f4a9c7735331112060000/comments/548f4a9c7735331112080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9c7735331112090000'), "name"=>"Charles Wisozk", "reference"=>"Betsy Witting", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9c77353311120a0000'), "author_name"=>"Mr. Milo Klein", "content"=>["Necessitatibus dolorum velit molestiae cumque incidunt optio totam. Sit assumenda quo quia modi. Velit inventore veritatis id animi exercitationem quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4a9c7735331112090000", "id"=>"548f4a9c77353311120a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4a9c77353311120a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5815ms Redirected to http://test.host/admin/products/548f4a9c7735331112090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c7735331112090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9c77353311120b0000'), "name"=>"Jammie Fritsch III", "reference"=>"Aron Treutel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9c77353311120c0000'), "author_name"=>"Billy Hirthe", "content"=>["Inventore sit debitis natus minima eum sed autem. Et beatae excepturi quam et. Quia ea dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5277ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4a9c77353311120b0000", "id"=>"548f4a9c77353311120c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c77353311120b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4448ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9c77353311120d0000'), "name"=>"Dr. Angelina Ryan", "reference"=>"Larry Raynor", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9c77353311120e0000'), "author_name"=>"Mrs. Destany Stiedemann", "content"=>["Consectetur perferendis reiciendis officiis exercitationem. Deserunt omnis aperiam quod et. Consectetur quia aperiam doloribus rem repellendus adipisci. Fuga ea optio tempora earum quod autem perferendis. Nulla expedita voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4a9c77353311120d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c77353311120d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Completed 200 OK in 6ms (Views: 3.5ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9c77353311120f0000'), "name"=>"Kasandra Labadie", "reference"=>"Domingo Stokes", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9c7735331112100000'), "author_name"=>"Jacinto Nolan", "content"=>["Quia at et molestiae quia totam. Reprehenderit optio fugiat. Quia suscipit quas possimus aperiam qui eligendi. Deserunt eius inventore optio quia ut nihil velit. Id magnam ducimus laborum est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4a9c77353311120f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9c77353311120f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112110000'), "name"=>"Yazmin Block", "reference"=>"Mrs. Celestine Ankunding", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112120000'), "author_name"=>"Meghan Conn", "content"=>["Et totam atque repellat illo ipsam. Et velit similique. Velit sit aut qui. Tenetur quia et est quo optio iure necessitatibus. Est sed iusto maxime aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4a9d7735331112110000", "id"=>"548f4a9d7735331112120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112130000'), "name"=>"Mrs. Gerhard Paucek", "reference"=>"Tressa Bins II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112140000'), "author_name"=>"Linnie Harris", "content"=>["Porro reiciendis rerum nesciunt expedita tempore cumque omnis. Possimus sapiente autem odit et animi qui. Omnis ut quae soluta nulla iure ex corrupti. Porro minus voluptas debitis consequuntur sed quasi ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4a9d7735331112140000", "product_id"=>"548f4a9d7735331112130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112130000')} 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('548f4a9d7735331112130000'), "comments._id"=>BSON::ObjectId('548f4a9d7735331112140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms Redirected to http://test.host/admin/products/548f4a9d7735331112130000/comments/548f4a9d7735331112140000 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('548f4a9d7735331112150000'), "name"=>"Mrs. Jackson Rodriguez", "reference"=>"Pierre Kuhn", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112160000'), "firstname"=>"Alvah", "lastname"=>"Cremin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4a9d7735331112150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms Redirected to http://test.host/admin/products/548f4a9d7735331112150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112180000'), "name"=>"Cullen Murray", "reference"=>"Diamond Hahn", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112190000'), "firstname"=>"Clifton", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112190000", "product_id"=>"548f4a9d7735331112180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 10ms (Views: 7.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311121a0000'), "name"=>"Mr. Aidan Bednar", "reference"=>"Tod Green", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d77353311121b0000'), "firstname"=>"Irma", "lastname"=>"Balistreri"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4a9d77353311121a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d77353311121a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311121c0000'), "name"=>"Litzy Ferry", "reference"=>"Eloy Stoltenberg", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d77353311121d0000'), "firstname"=>"Isobel", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4a9d77353311121d0000", "product_id"=>"548f4a9d77353311121c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d77353311121c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311121e0000'), "name"=>"Lance Haag", "reference"=>"Serenity Vandervort", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d77353311121f0000'), "firstname"=>"Abraham", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4a9d77353311121f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4a9d77353311121e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d77353311121e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4a9d77353311121e0000/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('548f4a9d7735331112200000'), "name"=>"Magnus Parker DDS", "reference"=>"Burdette Gleason", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.1969ms 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('548f4a9d7735331112210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Redirected to http://test.host/admin/products/548f4a9d7735331112210000 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('548f4a9d7735331112220000'), "name"=>"Royal Rolfson", "reference"=>"Rhoda Reilly", "quantity"=>4}] 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.1899ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4a9d7735331112220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms 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.2011ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112230000'), "name"=>"Chance Kessler", "reference"=>"Pat Gibson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112240000'), "name"=>"Mrs. Marguerite Altenwerth", "reference"=>"Jabari Beer III", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms 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.5799ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112250000'), "name"=>"Charley Pfannerstill", "reference"=>"Johnathon Powlowski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 18ms (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('548f4a9d7735331112280000'), "name"=>"Katharina Hackett DDS", "reference"=>"Taya Will", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4856ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4a9d7735331112280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms 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('548f4a9d7735331112290000'), "name"=>"Kennedy Glover", "reference"=>"Justen Torphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5412ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4a9d7735331112290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Redirected to http://test.host/admin/products/548f4a9d7735331112290000 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('548f4a9d77353311122a0000'), "firstname"=>"Owen", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6015ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2373ms 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('548f4a9d77353311122b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Redirected to http://test.host/admin/users/548f4a9d77353311122b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2787ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311122c0000'), "firstname"=>"Albertha", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2213ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4a9d77353311122c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9d77353311122c0000')} 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('548f4a9d77353311122c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3154ms 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.2715ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311122d0000'), "firstname"=>"Nicholaus", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4a9d77353311122d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9d77353311122d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311122e0000'), "firstname"=>"Heaven", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms 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.2826ms 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('548f4a9d77353311122f0000'), "firstname"=>"Sedrick", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4a9d7735331112300000'), "firstname"=>"Elinore", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4a9d7735331112300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9d7735331112300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms Completed 200 OK in 3ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112310000'), "firstname"=>"Willy", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4a9d7735331112310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9d7735331112310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4a9d7735331112310000 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('548f4a9d7735331112320000'), "firstname"=>"Sienna", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1355ms 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('548f4a9d7735331112330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms 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.1466ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112340000'), "firstname"=>"Rafael", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9d7735331112340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112350000'), "firstname"=>"Florencio", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112360000'), "firstname"=>"Alayna", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4a9d7735331112360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9d7735331112360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112370000'), "firstname"=>"Karine", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4a9d7735331112370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4a9d7735331112370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112380000'), "name"=>"Joey Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112390000'), "name"=>"Amy Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123a0000'), "name"=>"Bud Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123b0000'), "name"=>"Betty Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123c0000'), "name"=>"Green Kling II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123d0000'), "name"=>"Lue Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123e0000'), "name"=>"Dagmar Lueilwitz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311123f0000'), "name"=>"Sonia Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311123f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112400000'), "name"=>"Eliezer Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112410000'), "name"=>"Nakia Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112420000'), "name"=>"Elliott Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112430000'), "name"=>"Dr. Trudie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112440000'), "name"=>"Kraig Mueller Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112450000'), "name"=>"Dr. Emilio Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112460000'), "name"=>"Raegan Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112470000'), "name"=>"Coty Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112480000'), "name"=>"Mauricio Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112490000'), "name"=>"Addison Walter DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124a0000'), "name"=>"Mrs. Milo Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124b0000'), "name"=>"Jesus Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124c0000'), "name"=>"Mrs. Matt Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124d0000'), "name"=>"Faye Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124e0000'), "name"=>"Candido Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311124f0000'), "name"=>"Annabelle Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311124f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112500000'), "name"=>"Ella Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112510000'), "name"=>"Nola Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112520000'), "name"=>"Easter Dare III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112530000'), "name"=>"Kole Schuppe IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112540000'), "name"=>"Verla Bradtke V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112550000'), "name"=>"Earl Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112560000'), "name"=>"Miss Carmen O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112570000'), "name"=>"Dawn Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112580000'), "name"=>"Steve Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112590000'), "name"=>"Miss Danny Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125a0000'), "name"=>"Everett Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125b0000'), "name"=>"Ms. Mustafa Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125c0000'), "name"=>"Armani Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125d0000'), "name"=>"Bernard Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125e0000'), "name"=>"Bernita Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311125f0000'), "name"=>"Louvenia Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311125f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112600000'), "name"=>"Mrs. Jana Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112610000'), "name"=>"Quinten Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112620000'), "name"=>"Reuben Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112630000'), "name"=>"Millie Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112640000'), "name"=>"Dr. Maybell Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112650000'), "name"=>"Kiel Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112660000'), "name"=>"Antwan Luettgen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112670000'), "name"=>"Miss Jaida Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112680000'), "name"=>"Favian Lemke Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112690000'), "name"=>"Santina Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126a0000'), "name"=>"Conner Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126b0000'), "name"=>"Candice Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126c0000'), "name"=>"Darlene Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126d0000'), "name"=>"Lucy Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126e0000'), "name"=>"Palma Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311126f0000'), "name"=>"Duncan Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311126f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112700000'), "name"=>"Dr. Zaria Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112710000'), "name"=>"Michel Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112720000'), "name"=>"Zakary Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112730000'), "name"=>"Silas Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112740000'), "name"=>"Miss Emery Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112750000'), "name"=>"Oral Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112760000'), "name"=>"Mrs. Moses Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112770000'), "name"=>"Ellis Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112780000'), "name"=>"Elaina Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112790000'), "name"=>"Margaret Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127a0000'), "name"=>"Caitlyn Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127b0000'), "name"=>"Kay Gleason DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127c0000'), "name"=>"Miss Olen Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127d0000'), "name"=>"Lorine Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127e0000'), "name"=>"Jerad Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311127f0000'), "name"=>"Mr. Linda Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311127f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112800000'), "name"=>"Leanne Kovacek DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112810000'), "name"=>"Ms. Dusty Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112820000'), "name"=>"Geraldine Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112830000'), "name"=>"Mr. Maximillian Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112840000'), "name"=>"Miss Judd Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112850000'), "name"=>"Lonny Cassin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112860000'), "name"=>"Mr. Juliet Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112870000'), "name"=>"Ms. Sterling Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112880000'), "name"=>"Mrs. Tyrell Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112890000'), "name"=>"Jesus Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128a0000'), "name"=>"Norberto Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128b0000'), "name"=>"Miss Noemi Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128c0000'), "name"=>"Sabryna Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2066ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128d0000'), "name"=>"Dr. Allie Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128e0000'), "name"=>"Dr. Faye Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311128f0000'), "name"=>"Zella Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311128f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112900000'), "name"=>"Dorian Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112910000'), "name"=>"Zaria Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112920000'), "name"=>"Ms. Colin Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112930000'), "name"=>"Emmet Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112940000'), "name"=>"Gunner Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112950000'), "name"=>"Chadd Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112960000'), "name"=>"Makenzie Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1939ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112970000'), "name"=>"Laura Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2807ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms Redirected to http://test.host/categories/548f4a9d7735331112980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2996ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112990000'), "name"=>"Ms. Melvin Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2835ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4a9d7735331112990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d7735331112990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3822ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d7735331112990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2403ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311129a0000'), "name"=>"Miss Rylee Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4a9d77353311129a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d77353311129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311129b0000'), "name"=>"Rosalee Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306526785255] runtime: 0.0958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2169ms Completed 200 OK in 15ms (Views: 14.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311129c0000'), "name"=>"Darien Watsica V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306401615053] runtime: 0.0732ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1705ms Completed 200 OK in 8ms (Views: 7.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311129d0000'), "name"=>"Anika Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 6ms (Views: 5.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d77353311129f0000'), "name"=>"Mr. Madelyn Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4a9d77353311129f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d77353311129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d77353311129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms Completed 200 OK in 4ms (Views: 2.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112a00000'), "name"=>"Rosalyn Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4a9d7735331112a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4a9d7735331112a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms Redirected to http://test.host/categories/548f4a9d7735331112a00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112a10000'), "name"=>"Geoffrey Murphy", "reference"=>"Joan Lockman I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112a20000'), "author_name"=>"Florence Daniel", "content"=>["Dolorem voluptatem sapiente eos. Repellat eos eum quia aut similique ea ullam. Possimus quidem natus harum illo error rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4a9d7735331112a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a10000')} 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('548f4a9d7735331112a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms Redirected to http://test.host/products/548f4a9d7735331112a10000/comments/548f4a9d7735331112a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112a40000'), "name"=>"Geovanny Cummings", "reference"=>"Arno Tillman Jr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112a50000'), "author_name"=>"Darryl Feest", "content"=>["Aspernatur sit voluptas. Qui neque aut in vero sit. Est aut in doloremque et sed nobis. Earum est rerum facere aspernatur consectetur minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4a9d7735331112a40000", "id"=>"548f4a9d7735331112a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.4640ms Redirected to http://test.host/products/548f4a9d7735331112a40000/comments Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112a60000'), "name"=>"Trycia Crooks", "reference"=>"Michale Beer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112a70000'), "author_name"=>"Miss Claudine Kulas", "content"=>["Cupiditate dolorum assumenda voluptatum ab omnis sed asperiores. Labore asperiores ut tenetur unde. Qui et illum error in sint est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4a9d7735331112a60000", "id"=>"548f4a9d7735331112a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112a80000'), "name"=>"Lula Kub", "reference"=>"Ivy Dare PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112a90000'), "author_name"=>"Oran Beier", "content"=>["Corporis assumenda aspernatur commodi quo quo. Ut earum eum laudantium ratione. Laudantium qui distinctio voluptatem. Saepe ex neque. Voluptas et omnis necessitatibus dolor sequi sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4a9d7735331112a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112aa0000'), "name"=>"Kylie Kreiger", "reference"=>"Lucio Moore", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112ab0000'), "author_name"=>"Rhett Denesik", "content"=>["Non assumenda ea aut. Exercitationem ut assumenda perspiciatis consectetur doloremque rerum vel. Dolores aspernatur possimus similique. Ut sapiente impedit eos itaque ab et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4a9d7735331112aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112ac0000'), "name"=>"Shanon Fahey", "reference"=>"Vivien Lueilwitz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112ad0000'), "author_name"=>"Blaise Jacobi III", "content"=>["In molestiae et corporis deserunt dolorem repudiandae ea. Amet aperiam qui dignissimos. Temporibus ut aspernatur iure. Fugit nisi optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4a9d7735331112ac0000", "id"=>"548f4a9d7735331112ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112ae0000'), "name"=>"Jena Collins", "reference"=>"Lane Gerlach", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112af0000'), "author_name"=>"Jett Effertz Jr.", "content"=>["Qui nemo alias enim. Aut magni cum impedit et qui. Molestiae inventore voluptatibus rem doloremque commodi facilis laboriosam. Eum esse nihil aut beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4a9d7735331112ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112b00000'), "name"=>"Bertha Waelchi", "reference"=>"Gianni Jacobs", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112b10000'), "author_name"=>"Halie Keebler", "content"=>["Dolorum qui placeat deleniti. Et error ipsam animi ut asperiores. Voluptatem quaerat culpa sit optio aut placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4a9d7735331112b00000", "id"=>"548f4a9d7735331112b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112b20000'), "name"=>"Citlalli Lebsack", "reference"=>"Gilberto Wisoky", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9d7735331112b30000'), "author_name"=>"Freddy Boyer", "content"=>["Et quos sed magni soluta assumenda. Amet sit non dolor. Nulla soluta qui. Fugiat consectetur molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4a9d7735331112b30000", "product_id"=>"548f4a9d7735331112b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b20000'), "comments._id"=>BSON::ObjectId('548f4a9d7735331112b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Redirected to http://test.host/products/548f4a9d7735331112b20000/comments/548f4a9d7735331112b30000 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('548f4a9d7735331112b40000'), "firstname"=>"Robin", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1327ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Redirected to http://test.host/admin/clients/548f4a9d7735331112b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1498ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112b60000'), "firstname"=>"Brionna", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1248ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4a9d7735331112b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms 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.1398ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112b70000'), "firstname"=>"Hermann", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('548f4a9d7735331112b80000'), "firstname"=>"Nakia", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms 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('548f4a9d7735331112b90000'), "firstname"=>"Agnes", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 36ms (Views: 35.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112ba0000'), "firstname"=>"Adelle", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4a9d7735331112ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms 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('548f4a9d7735331112bb0000'), "firstname"=>"Emie", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4a9d7735331112bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Redirected to http://test.host/admin/clients/548f4a9d7735331112bb0000 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('548f4a9d7735331112bc0000'), "firstname"=>"Geovany", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms 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('548f4a9d7735331112bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8284ms Redirected to http://test.host/clients/548f4a9d7735331112bd0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2123ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112be0000'), "firstname"=>"Rasheed", "lastname"=>"Hartmann"}] 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=>"clients", :query=>{}} runtime: 0.1686ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4a9d7735331112be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112be0000')} 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('548f4a9d7735331112be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms 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.1898ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112bf0000'), "firstname"=>"Nellie", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Rendered /home/geoffroy/projects/crealettres/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('548f4a9d7735331112c00000'), "firstname"=>"Malika", "lastname"=>"Metz"}] 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.4088ms 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('548f4a9d7735331112c10000'), "firstname"=>"Duane", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4a9d7735331112c20000'), "firstname"=>"Drew", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4a9d7735331112c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms 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('548f4a9d7735331112c30000'), "firstname"=>"Rick", "lastname"=>"Gislason"}] 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"=>"548f4a9d7735331112c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Redirected to http://test.host/clients/548f4a9d7735331112c30000 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('548f4a9d7735331112c40000'), "name"=>"Mr. Abdullah Kuhn", "reference"=>"Gladys Senger", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112c50000'), "firstname"=>"Montana", "lastname"=>"Morar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4a9d7735331112c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Redirected to http://test.host/products/548f4a9d7735331112c40000/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('548f4a9d7735331112c70000'), "name"=>"Chaz Doyle", "reference"=>"Mr. Muhammad Prohaska", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112c80000'), "firstname"=>"Oma", "lastname"=>"Schoen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4a9d7735331112c80000", "product_id"=>"548f4a9d7735331112c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112c90000'), "name"=>"Carmine Crona", "reference"=>"Russell Bauch", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112ca0000'), "firstname"=>"Sally", "lastname"=>"Koss"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4a9d7735331112c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3257ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112cb0000'), "name"=>"Nestor Keebler DVM", "reference"=>"Dereck Glover Jr.", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112cc0000'), "firstname"=>"Rory", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5361ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4a9d7735331112cc0000", "product_id"=>"548f4a9d7735331112cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112cd0000'), "name"=>"Emma Hamill", "reference"=>"Miss Caitlyn Jenkins", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4a9d7735331112ce0000'), "firstname"=>"Santos", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4a9d7735331112ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4a9d7735331112cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9d7735331112cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3446ms Unpermitted parameters: name Redirected to http://test.host/products/548f4a9d7735331112cd0000/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('548f4a9d7735331112cf0000'), "name"=>"Robbie Konopelski", "reference"=>"Isaiah Bogisich", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9d7735331112d00000'), "name"=>"Joel Howell", "reference"=>"Dayton Hand Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d10000'), "name"=>"Lukas Schmitt MD", "reference"=>"Kathlyn White", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d20000'), "name"=>"Loyal Emard", "reference"=>"Elva Baumbach", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d30000'), "name"=>"Dr. Cecil Abshire", "reference"=>"Merritt Wisoky", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d40000'), "name"=>"Elfrieda Rempel", "reference"=>"Edmund Haley Sr.", "quantity"=>3}] 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.2658ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Redirected to http://test.host/products/548f4a9e7735331112d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2804ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d60000'), "name"=>"Greyson Thompson", "reference"=>"Mohammed Stehr", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4533ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4a9e7735331112d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms 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.2760ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d70000'), "name"=>"Joe Bartell II", "reference"=>"Aubree Orn", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4a9e7735331112d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d80000'), "name"=>"Olin Grant", "reference"=>"Tom Mann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 45ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112d90000'), "name"=>"Korbin Wiza", "reference"=>"Makayla Metz", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112da0000'), "name"=>"HelloWorld", "reference"=>"Dr. Cleta Muller", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112db0000'), "name"=>"value", "reference"=>"Elody Fisher Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} Completed 500 Internal Server Error in 42ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112dc0000'), "name"=>"Ms. Abner Lynch", "reference"=>"Celia Streich", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} Completed 500 Internal Server Error in 69ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112dd0000'), "name"=>"Olin Smith", "reference"=>"Florencio Kessler DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280927148726] runtime: 0.0731ms Completed 200 OK in 5ms (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('548f4a9e7735331112de0000'), "name"=>"Devon Wiza DVM", "reference"=>"Steve Johnson III", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4a9e7735331112de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms 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('548f4a9e7735331112df0000'), "name"=>"Mr. Bo Torphy", "reference"=>"Caterina Trantow Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) 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('548f4a9e7735331112e10000'), "name"=>"Rosetta Larkin", "reference"=>"Ron Hahn", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4a9e7735331112e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112e20000'), "name"=>"Kailyn Schuster DVM", "reference"=>"Elbert Dickens", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1590ms 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('548f4a9e7735331112e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112e40000'), "name"=>"Lurline Bergstrom IV", "reference"=>"Freddie Kshlerin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4a9e7735331112e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms 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('548f4a9e7735331112e50000'), "name"=>"Caesar Leannon", "reference"=>"Cristopher Douglas", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2180ms 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('548f4a9e7735331112e70000'), "name"=>"Mr. Caesar O'Reilly", "reference"=>"Darion Ruecker I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4a9e7735331112e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms 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('548f4a9e7735331112e80000'), "name"=>"Camylle Volkman", "reference"=>"Vallie Glover", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4a9e7735331112e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms Redirected to http://test.host/products/548f4a9e7735331112e80000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112eb0000'), "name"=>"Dr. Pierce Mitchell", "reference"=>"Julie Hauck", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112e90000'), "author_name"=>"Rory McClure", "content"=>["Voluptatem sint tempore quaerat veniam rem. Rerum et fugit. Ut tenetur inventore odio et dolor eum modi."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112ea0000'), "author_name"=>"Kaela Friesen", "content"=>["Rerum iste id est ut. Ut ut quo est. Provident quae ducimus itaque velit. Accusamus placeat distinctio. Autem blanditiis adipisci architecto ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4a9e7735331112eb0000", "comment_id"=>"548f4a9e7735331112e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4181ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112eb0000'), "comments._id"=>BSON::ObjectId('548f4a9e7735331112e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4a9e7735331112ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6107ms Redirected to http://test.host/products/548f4a9e7735331112eb0000/comments/548f4a9e7735331112e90000/comments/548f4a9e7735331112ec0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112ef0000'), "name"=>"Jonatan Reilly", "reference"=>"Katarina Batz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112ed0000'), "author_name"=>"Reva Maggio", "content"=>["Enim quis repellat qui illo quam qui dignissimos. Similique fugit ea ut amet. Rem earum pariatur tempore laboriosam. Et consectetur et."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112ee0000'), "author_name"=>"Nina Wiza", "content"=>["Ut repellendus officia consequuntur placeat suscipit sit qui. Aut molestias qui. Ut illum sed iste. Sint eos sequi. Inventore esse repudiandae eaque quia adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4a9e7735331112ef0000", "comment_id"=>"548f4a9e7735331112ed0000", "id"=>"548f4a9e7735331112ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112ef0000'), "comments._id"=>BSON::ObjectId('548f4a9e7735331112ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4a9e7735331112ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7198ms Redirected to http://test.host/products/548f4a9e7735331112ef0000/comments/548f4a9e7735331112ed0000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112f20000'), "name"=>"Alford Schulist", "reference"=>"Alysha Schneider", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f00000'), "author_name"=>"Mr. Shaina Bernier", "content"=>["Quaerat voluptatem doloremque veniam. Qui et dolores quia. Debitis sint omnis voluptatem. Quas laudantium incidunt ut molestiae aut. Ipsam aspernatur soluta dolorum temporibus esse officiis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f10000'), "author_name"=>"Cara Daugherty", "content"=>["Ex neque autem aspernatur harum atque saepe et. Quibusdam repudiandae unde natus id consequatur fugit. Culpa voluptatem nesciunt non eius nostrum ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5783ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4a9e7735331112f20000", "comment_id"=>"548f4a9e7735331112f00000", "id"=>"548f4a9e7735331112f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112f50000'), "name"=>"Mr. Edward Wunsch", "reference"=>"Cletus Haag", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f30000'), "author_name"=>"Otis Klocko", "content"=>["Velit aperiam et itaque animi recusandae error. Aut ad atque consequatur et est. Deleniti ducimus vitae sunt mollitia."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f40000'), "author_name"=>"Evie Ledner", "content"=>["Tempora ratione qui a totam officiis cumque repudiandae. Similique cupiditate ullam non reiciendis delectus cum. Rerum corrupti quod sit nostrum corporis. Cupiditate eligendi consequatur excepturi corrupti laudantium officia ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4a9e7735331112f50000", "comment_id"=>"548f4a9e7735331112f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112f80000'), "name"=>"Myrtle Abshire", "reference"=>"Martin Waelchi", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f60000'), "author_name"=>"Cora Raynor", "content"=>["Molestiae aliquam illo. Sit et omnis non molestiae voluptatum nobis. Rerum laborum dolores tempore iure accusamus consequuntur rerum. Maiores non sit laudantium veritatis dolorum pariatur corrupti."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f70000'), "author_name"=>"Lillie Dibbert", "content"=>["Temporibus veniam occaecati vitae placeat voluptas. Quia ex et ut culpa. Optio architecto sequi voluptatem voluptatem enim. Minima et et provident voluptatem ullam fuga nobis. Possimus ut accusamus ut distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4a9e7735331112f80000", "comment_id"=>"548f4a9e7735331112f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112fb0000'), "name"=>"Ottilie O'Connell", "reference"=>"Mallie Kunze", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112f90000'), "author_name"=>"Luisa Mante I", "content"=>["Quia nulla ex illum. Ratione dignissimos sit unde consequuntur ipsum. Unde nisi necessitatibus aperiam molestiae sed quas. Repudiandae et dolor nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112fa0000'), "author_name"=>"Marcel Balistreri IV", "content"=>["Eum expedita tempore. Assumenda adipisci molestias. Debitis sequi voluptas necessitatibus commodi vitae dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0511ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4a9e7735331112fb0000", "comment_id"=>"548f4a9e7735331112f90000", "id"=>"548f4a9e7735331112fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3924ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112fe0000'), "name"=>"Mrs. Frederik Ernser", "reference"=>"Jena Wolff", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112fc0000'), "author_name"=>"Ricardo Russel II", "content"=>["Et impedit reprehenderit officiis non sit. Nihil sapiente ut earum. Qui nisi vitae. Architecto eligendi consequatur ipsa quia modi sed ad. Minus ex sint animi."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112fd0000'), "author_name"=>"Keshaun Weimann", "content"=>["Dolor alias dicta qui. Et cumque soluta. Tenetur illo et voluptates voluptas rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5254ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4a9e7735331112fe0000", "comment_id"=>"548f4a9e7735331112fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3766ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112010100'), "name"=>"Marques Monahan", "reference"=>"Alexandro Hyatt", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112ff0000'), "author_name"=>"Rylee Rodriguez", "content"=>["Quo qui quas rem ipsam. Id incidunt error. Qui quibusdam et voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112000100'), "author_name"=>"Wade Turcotte", "content"=>["Aut laborum quisquam ut. Est velit sit natus eius. Qui nisi et ea animi. Et ea eum vel iure et molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4a9e7735331112010100", "comment_id"=>"548f4a9e7735331112ff0000", "id"=>"548f4a9e7735331112000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5481ms Completed 200 OK in 40ms (Views: 3.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112040100'), "name"=>"Brian Bode", "reference"=>"Kaitlin Heathcote", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112020100'), "author_name"=>"Lillian Boyle", "content"=>["Consequatur deleniti quo velit omnis sed. Officiis nihil dignissimos deserunt voluptates pariatur quia vel. Laudantium magnam rerum ad at odit."], "comments"=>[{"_id"=>BSON::ObjectId('548f4a9e7735331112030100'), "author_name"=>"Keyon Tremblay", "content"=>["Quos ut et necessitatibus. Similique eos fuga harum debitis. Sit autem sunt corporis odit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6426ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4a9e7735331112030100", "product_id"=>"548f4a9e7735331112040100", "comment_id"=>"548f4a9e7735331112020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4a9e7735331112040100'), "comments._id"=>BSON::ObjectId('548f4a9e7735331112020100'), "comments.0.comments._id"=>BSON::ObjectId('548f4a9e7735331112030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7904ms Redirected to http://test.host/products/548f4a9e7735331112040100/comments/548f4a9e7735331112020100/comments/548f4a9e7735331112030100 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('548f4a9e7735331112050100'), "firstname"=>"Donny", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2955ms 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('548f4a9e7735331112060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms Redirected to http://test.host/users/548f4a9e7735331112060100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2611ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112070100'), "firstname"=>"Elyssa", "lastname"=>"Berge"}] 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=>"admin_users", :query=>{}} runtime: 0.2634ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4a9e7735331112070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9e7735331112070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4339ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9e7735331112070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms 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.3106ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112080100'), "firstname"=>"Lindsey", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4a9e7735331112080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9e7735331112080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9e7735331112090100'), "firstname"=>"Lonzo", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0651ms 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.4079ms Completed 200 OK in 8ms (Views: 7.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9e77353311120a0100'), "firstname"=>"Kali", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4a9e77353311120b0100'), "firstname"=>"Glen", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4a9e77353311120b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9e77353311120b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4a9e77353311120c0100'), "firstname"=>"Micaela", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4a9e77353311120c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4a9e77353311120c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Unpermitted parameters: name Redirected to http://test.host/users/548f4a9e77353311120c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5086ms 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.4838ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms 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.4334ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6010ms 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.4200ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8000000'), "firstname"=>"Mittie", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1366ms 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('548f4e367735331ef8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms 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.1699ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8020000'), "firstname"=>"Ryder", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4e367735331ef8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e367735331ef8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8030000'), "firstname"=>"Fidel", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8040000'), "firstname"=>"Bailey", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4e367735331ef8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e367735331ef8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8050000'), "firstname"=>"Marcia", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4e367735331ef8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e367735331ef8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms 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('548f4e367735331ef8060000'), "name"=>"Kirk Emard", "reference"=>"Carlie Parker I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef8070000'), "author_name"=>"Seth Cremin", "content"=>["Neque consectetur vel qui quod. At magni possimus sapiente molestias recusandae. Doloremque aperiam qui et voluptas sed hic. Voluptate corrupti velit itaque ut harum libero non. Impedit atque officia quis a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4e367735331ef8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4e367735331ef8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Redirected to http://test.host/admin/products/548f4e367735331ef8060000/comments/548f4e367735331ef8080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8090000'), "name"=>"Keith Wilkinson DDS", "reference"=>"Mr. Gerhard Herman", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef80a0000'), "author_name"=>"Cicero Carroll", "content"=>["Nam repellat dolorum. Qui hic debitis. Non provident perferendis. Iste hic recusandae maxime sit quae inventore pariatur. Id ex est saepe omnis iste eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4e367735331ef8090000", "id"=>"548f4e367735331ef80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4e367735331ef80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms Redirected to http://test.host/admin/products/548f4e367735331ef8090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef80b0000'), "name"=>"Charlie Effertz", "reference"=>"Dudley Schinner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef80c0000'), "author_name"=>"Ms. Freida Jacobs", "content"=>["Eum adipisci et libero. Non omnis quam dolor voluptatem optio doloribus dolorum. Ut nobis dolorum ratione aut eos dicta. Laboriosam odit incidunt dolores fugiat. Consequuntur fugit ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4e367735331ef80b0000", "id"=>"548f4e367735331ef80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef80d0000'), "name"=>"Jarrell Gusikowski", "reference"=>"Ms. Assunta Lind", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef80e0000'), "author_name"=>"Frida Champlin", "content"=>["Error sapiente est et non. Distinctio veritatis in quia. Velit eaque debitis dolorem consequuntur natus nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4e367735331ef80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef80f0000'), "name"=>"Aracely Jakubowski", "reference"=>"Lionel Breitenberg IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef8100000'), "author_name"=>"Ms. Isabella Fadel", "content"=>["Non ut cupiditate. Nihil quidem rerum. Quibusdam sit facilis. Quos commodi magnam praesentium quis. Eos sit libero quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4e367735331ef80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8110000'), "name"=>"Korbin Abernathy", "reference"=>"Dr. Louie Spencer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef8120000'), "author_name"=>"Laurine Purdy", "content"=>["Et numquam nihil temporibus nam praesentium doloremque. Ut quas voluptatem omnis fugit consequatur blanditiis possimus. Corrupti velit vel. Molestiae aut voluptas reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4e367735331ef8110000", "id"=>"548f4e367735331ef8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8130000'), "name"=>"Mrs. Jodie Barrows", "reference"=>"Dr. Sarai Schoen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4e367735331ef8140000'), "author_name"=>"Leo Spinka IV", "content"=>["Animi modi optio id. Perspiciatis repellat qui. Labore et facere culpa voluptas. Ab adipisci nihil sit. Debitis accusantium rem veritatis totam distinctio et inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.0683ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4e367735331ef8140000", "product_id"=>"548f4e367735331ef8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8130000')} 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('548f4e367735331ef8130000'), "comments._id"=>BSON::ObjectId('548f4e367735331ef8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Redirected to http://test.host/admin/products/548f4e367735331ef8130000/comments/548f4e367735331ef8140000 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('548f4e367735331ef8150000'), "name"=>"Ashtyn West", "reference"=>"Kaley Schimmel II", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef8160000'), "firstname"=>"Emmy", "lastname"=>"Hahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4e367735331ef8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8150000')} 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('548f4e367735331ef8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms Redirected to http://test.host/admin/products/548f4e367735331ef8150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef8180000'), "name"=>"Edd Hackett", "reference"=>"Chauncey Bosco", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef8190000'), "firstname"=>"Delia", "lastname"=>"Abbott"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4e367735331ef8190000", "product_id"=>"548f4e367735331ef8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef81a0000'), "name"=>"Agustina Barrows II", "reference"=>"Frieda Schuppe", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef81b0000'), "firstname"=>"Shyanne", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4e367735331ef81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef81c0000'), "name"=>"Darian Osinski", "reference"=>"Einar Rohan", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef81d0000'), "firstname"=>"Fatima", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4e367735331ef81d0000", "product_id"=>"548f4e367735331ef81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e367735331ef81e0000'), "name"=>"Ms. Laisha Schultz", "reference"=>"Jameson Hayes", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4e367735331ef81f0000'), "firstname"=>"Cloyd", "lastname"=>"Crona"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4e367735331ef81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4e367735331ef81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e367735331ef81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4e367735331ef81e0000/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('548f4e377735331ef8200000'), "name"=>"Delaney Langosh", "reference"=>"Bridie Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms 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('548f4e377735331ef8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.8285ms Redirected to http://test.host/admin/products/548f4e377735331ef8210000 Completed 302 Found in 11ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2509ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8220000'), "name"=>"Gladyce Bradtke", "reference"=>"Florine McCullough", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1849ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4e377735331ef8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8220000')} 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={"_id"=>BSON::ObjectId('548f4e377735331ef8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms 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.2067ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8230000'), "name"=>"Mrs. Garrison Goodwin", "reference"=>"Elise Walter", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4e377735331ef8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8240000'), "name"=>"Josefa Johns", "reference"=>"Bulah Welch", "quantity"=>3}] 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.5455ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8250000'), "name"=>"Oswald Nikolaus", "reference"=>"Marisa Howe", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('548f4e377735331ef8280000'), "name"=>"Llewellyn McCullough", "reference"=>"Ms. Nikko O'Connell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4e377735331ef8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms 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('548f4e377735331ef8290000'), "name"=>"Mr. Ervin O'Conner", "reference"=>"Jerrold Corkery", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4e377735331ef8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms Redirected to http://test.host/admin/products/548f4e377735331ef8290000 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('548f4e377735331ef82a0000'), "firstname"=>"Lynn", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5096ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1837ms 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('548f4e377735331ef82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Redirected to http://test.host/admin/users/548f4e377735331ef82b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2035ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef82c0000'), "firstname"=>"Angeline", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms 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"=>"548f4e377735331ef82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e377735331ef82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e377735331ef82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms 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.1978ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef82d0000'), "firstname"=>"Bennett", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4e377735331ef82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e377735331ef82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef82e0000'), "firstname"=>"Nyah", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms 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 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('548f4e377735331ef82f0000'), "firstname"=>"Kayden", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7579ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4e377735331ef8300000'), "firstname"=>"Ariane", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4e377735331ef8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e377735331ef8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8310000'), "firstname"=>"Tianna", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4e377735331ef8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e377735331ef8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4e377735331ef8310000 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('548f4e377735331ef8320000'), "firstname"=>"Giovani", "lastname"=>"Hessel"}] 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=>"administrators", :query=>{}} runtime: 0.1784ms 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('548f4e377735331ef8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms 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.1981ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8340000'), "firstname"=>"Willis", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4e377735331ef8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e377735331ef8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8350000'), "firstname"=>"Mitchel", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8360000'), "firstname"=>"Maeve", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4e377735331ef8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e377735331ef8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8370000'), "firstname"=>"Liana", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4e377735331ef8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4e377735331ef8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8380000'), "name"=>"Vita Sporer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8390000'), "name"=>"Tracey Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83a0000'), "name"=>"Mackenzie Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83b0000'), "name"=>"Mrs. Audreanne Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83c0000'), "name"=>"Einar Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83d0000'), "name"=>"Willa Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83e0000'), "name"=>"Giovanna Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef83f0000'), "name"=>"Aliya Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8400000'), "name"=>"Madisen Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8410000'), "name"=>"Emma Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8420000'), "name"=>"Chester Von"}] 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={"category_id"=>BSON::ObjectId('548f4e377735331ef8420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8430000'), "name"=>"Nick Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8440000'), "name"=>"Marquis Stark DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8450000'), "name"=>"Tyree Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8460000'), "name"=>"Karen Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8470000'), "name"=>"Damaris Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8480000'), "name"=>"Cara Stokes DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8490000'), "name"=>"Hugh Blanda II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84a0000'), "name"=>"Fay Stehr I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84b0000'), "name"=>"Jerry Schaefer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84c0000'), "name"=>"Mr. Kieran Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84d0000'), "name"=>"Zelda Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84e0000'), "name"=>"Alba Hodkiewicz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef84f0000'), "name"=>"Jessica Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef84f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8500000'), "name"=>"Ms. Keara Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8510000'), "name"=>"Missouri Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8520000'), "name"=>"Sigurd Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8530000'), "name"=>"Mrs. Deangelo Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8540000'), "name"=>"Tia Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8550000'), "name"=>"Adonis Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8560000'), "name"=>"Millie O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8570000'), "name"=>"Magdalen Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8580000'), "name"=>"Ms. Mozell Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8590000'), "name"=>"Effie Braun I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85a0000'), "name"=>"Gaylord Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85b0000'), "name"=>"Jedediah Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85c0000'), "name"=>"Bernice Senger DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85d0000'), "name"=>"Freddie Cartwright III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85e0000'), "name"=>"Felicity Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef85f0000'), "name"=>"Aleen Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef85f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8600000'), "name"=>"Mose Funk DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8610000'), "name"=>"Cristian Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8620000'), "name"=>"Jeanette Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8630000'), "name"=>"Ms. Aubrey Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8640000'), "name"=>"Dr. Rosie Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8650000'), "name"=>"Blanca Schaefer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8660000'), "name"=>"Elouise Rempel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8670000'), "name"=>"Nina Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8680000'), "name"=>"Gideon McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8690000'), "name"=>"Treva Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86a0000'), "name"=>"Kenton Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86b0000'), "name"=>"Bobbie Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86c0000'), "name"=>"Macy Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86d0000'), "name"=>"Dr. Sierra Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86e0000'), "name"=>"Alena Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef86f0000'), "name"=>"Jaeden Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8700000'), "name"=>"Dr. Ernesto Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8710000'), "name"=>"Miss Noemie Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8720000'), "name"=>"Heber Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8730000'), "name"=>"Ms. Marlin Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8740000'), "name"=>"Mr. Maiya Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8750000'), "name"=>"Mr. Gilberto Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8760000'), "name"=>"Beverly King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8770000'), "name"=>"Delphia Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8780000'), "name"=>"Eladio Turcotte IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8790000'), "name"=>"Abner Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87a0000'), "name"=>"Pearl Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef87a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87b0000'), "name"=>"Brody Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef87b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87c0000'), "name"=>"Ms. Sigrid Cruickshank"}] 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={"category_id"=>BSON::ObjectId('548f4e377735331ef87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87d0000'), "name"=>"Ms. Jettie McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87e0000'), "name"=>"Dr. Willa Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef87e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef87f0000'), "name"=>"Johnny Schimmel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef87f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8800000'), "name"=>"Jakayla Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8810000'), "name"=>"Pauline Weimann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8820000'), "name"=>"Shanna Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8830000'), "name"=>"Ms. Destiny Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8840000'), "name"=>"Mr. Alvera Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8850000'), "name"=>"Christine Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8860000'), "name"=>"Waino Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8870000'), "name"=>"Taurean Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8880000'), "name"=>"Ruthe Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8890000'), "name"=>"Tad Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88a0000'), "name"=>"Kenyon Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88b0000'), "name"=>"Corrine Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88c0000'), "name"=>"Myah Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88d0000'), "name"=>"Darian Schulist I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88e0000'), "name"=>"Ryan Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef88f0000'), "name"=>"Kian Shields I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8900000'), "name"=>"Darion Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8910000'), "name"=>"Andre Maggio II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8920000'), "name"=>"Durward Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8930000'), "name"=>"Candace McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8940000'), "name"=>"Sabina Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8950000'), "name"=>"Ms. Salvador Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8960000'), "name"=>"Savanah Grady Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8970000'), "name"=>"Ms. Modesto Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2132ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Redirected to http://test.host/categories/548f4e377735331ef8980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2513ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8990000'), "name"=>"Florence Strosin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1465ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4e377735331ef8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef8990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2377ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef89a0000'), "name"=>"Aliyah Rosenbaum DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4e377735331ef89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4002ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef89b0000'), "name"=>"Raymond Gusikowski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305466615647] runtime: 0.1005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2946ms Completed 200 OK in 16ms (Views: 15.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef89c0000'), "name"=>"Janie Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305648462080] runtime: 0.0840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3002ms Completed 200 OK in 9ms (Views: 8.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef89d0000'), "name"=>"Abigayle Daugherty Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef89f0000'), "name"=>"Kolby Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4e377735331ef89f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8a00000'), "name"=>"Miss Audreanne Okuneva"}] 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={"category_id"=>BSON::ObjectId('548f4e377735331ef8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4e377735331ef8a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4086ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4e377735331ef8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Redirected to http://test.host/categories/548f4e377735331ef8a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8a10000'), "name"=>"Audie Hills III", "reference"=>"Keyshawn Leffler", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8a20000'), "author_name"=>"Mrs. Lizeth Lynch", "content"=>["Qui expedita sed ducimus officiis. Autem in ut vitae aut fugit. Est nesciunt eveniet animi nulla distinctio cum voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4e377735331ef8a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Redirected to http://test.host/products/548f4e377735331ef8a10000/comments/548f4e377735331ef8a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8a40000'), "name"=>"Javon Hackett", "reference"=>"Maegan McCullough", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8a50000'), "author_name"=>"Chaim Wuckert", "content"=>["Itaque esse et est corrupti totam. Illum corporis ratione. Aliquid nostrum aut in consequatur aut rerum et. Perspiciatis quidem totam. Numquam possimus quibusdam qui ea qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4e377735331ef8a40000", "id"=>"548f4e377735331ef8a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4336ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Redirected to http://test.host/products/548f4e377735331ef8a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8a60000'), "name"=>"Mr. Celestino Hilll", "reference"=>"Hilda Mann", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8a70000'), "author_name"=>"Sharon Aufderhar", "content"=>["Error quo quia id pariatur voluptate fuga sed. Quidem nihil quos tempora laborum. Quia aut repellat expedita aut molestiae dignissimos qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4e377735331ef8a60000", "id"=>"548f4e377735331ef8a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4138ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8a80000'), "name"=>"Dr. Barbara Nicolas", "reference"=>"Miss Hannah Cremin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8a90000'), "author_name"=>"Mr. Nikita Vandervort", "content"=>["Id explicabo quia. Accusantium quidem ullam unde blanditiis et. Dolores et voluptate voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5112ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4e377735331ef8a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8aa0000'), "name"=>"Heath Russel", "reference"=>"Concepcion Ullrich", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8ab0000'), "author_name"=>"Zita Koelpin", "content"=>["Commodi non modi numquam. Iure aliquam labore qui expedita ipsam ad. Dicta accusamus minima fuga laudantium. Dolorem dolor ratione quisquam eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4e377735331ef8aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8ac0000'), "name"=>"Mikayla Lebsack", "reference"=>"Taurean Barton", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8ad0000'), "author_name"=>"Maud Mohr", "content"=>["Et ratione totam quia molestiae provident suscipit. Nostrum qui repudiandae tempora. Est debitis dolor provident. Voluptatem voluptates voluptas dolore. Nobis voluptatem facere et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4e377735331ef8ac0000", "id"=>"548f4e377735331ef8ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8ae0000'), "name"=>"Camila Spencer Jr.", "reference"=>"Demetrius Miller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8af0000'), "author_name"=>"Burnice Walker", "content"=>["Officia consequatur molestiae. Iusto ut minus cumque. Quaerat sit sint amet dolores dolores culpa assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4e377735331ef8ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b00000'), "name"=>"Antonina Denesik", "reference"=>"Josiah Dooley", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8b10000'), "author_name"=>"Dr. Beth Crooks", "content"=>["Sequi quia sunt maiores quidem aut accusantium. Ut doloremque beatae rem dolores veniam. Saepe non excepturi culpa. In nemo omnis et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4e377735331ef8b00000", "id"=>"548f4e377735331ef8b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b20000'), "name"=>"Alicia Schneider", "reference"=>"Mr. Adah Bernhard", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4e377735331ef8b30000'), "author_name"=>"Dr. Vivienne Stanton", "content"=>["Numquam voluptatem possimus quos id omnis. Quam perspiciatis sint et quia dolorem tempore id. Quia est velit omnis ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4e377735331ef8b30000", "product_id"=>"548f4e377735331ef8b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b20000'), "comments._id"=>BSON::ObjectId('548f4e377735331ef8b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4547ms Redirected to http://test.host/products/548f4e377735331ef8b20000/comments/548f4e377735331ef8b30000 Completed 302 Found in 11ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b40000'), "firstname"=>"Osbaldo", "lastname"=>"Streich"}] 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=>"clients", :query=>{}} runtime: 0.1335ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms Redirected to http://test.host/admin/clients/548f4e377735331ef8b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1546ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b60000'), "firstname"=>"Kenyatta", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1262ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4e377735331ef8b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms 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.1470ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b70000'), "firstname"=>"Alberto", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4e377735331ef8b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.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('548f4e377735331ef8b80000'), "firstname"=>"Dovie", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5188ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 9ms (Views: 8.0ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8b90000'), "firstname"=>"Adeline", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 7ms (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('548f4e377735331ef8ba0000'), "firstname"=>"Deontae", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1298ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4e377735331ef8ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms 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('548f4e377735331ef8bb0000'), "firstname"=>"Margarita", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4e377735331ef8bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Redirected to http://test.host/admin/clients/548f4e377735331ef8bb0000 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('548f4e377735331ef8bc0000'), "firstname"=>"Jalyn", "lastname"=>"McDermott"}] 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.2861ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Redirected to http://test.host/clients/548f4e377735331ef8bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1774ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8be0000'), "firstname"=>"Rashawn", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1654ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4e377735331ef8be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms 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('548f4e377735331ef8bf0000'), "firstname"=>"Juston", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4e377735331ef8bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms Rendered /home/geoffroy/projects/crealettres/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('548f4e377735331ef8c00000'), "firstname"=>"Eulah", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms 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('548f4e377735331ef8c10000'), "firstname"=>"Delilah", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4e377735331ef8c20000'), "firstname"=>"Queen", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4e377735331ef8c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms 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('548f4e377735331ef8c30000'), "firstname"=>"Tillman", "lastname"=>"Schuster"}] 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"=>"548f4e377735331ef8c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4051ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Redirected to http://test.host/clients/548f4e377735331ef8c30000 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('548f4e377735331ef8c40000'), "name"=>"Laura Harber", "reference"=>"Annetta Sipes", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8c50000'), "firstname"=>"Omari", "lastname"=>"McClure"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4e377735331ef8c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Redirected to http://test.host/products/548f4e377735331ef8c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8c70000'), "name"=>"Vernice Ward IV", "reference"=>"Lonnie Kuvalis", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8c80000'), "firstname"=>"Allie", "lastname"=>"Towne"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4e377735331ef8c80000", "product_id"=>"548f4e377735331ef8c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8c90000'), "name"=>"Mrs. Kiley Skiles", "reference"=>"Santina Harris", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8ca0000'), "firstname"=>"Bridie", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4e377735331ef8c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8cb0000'), "name"=>"Mariane Lakin", "reference"=>"Dorcas Konopelski", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8cc0000'), "firstname"=>"Gertrude", "lastname"=>"Runolfsdottir"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4e377735331ef8cc0000", "product_id"=>"548f4e377735331ef8cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8cd0000'), "name"=>"Wilton Schinner III", "reference"=>"Nona Sauer", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4e377735331ef8ce0000'), "firstname"=>"Andreanne", "lastname"=>"Beahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9417ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4e377735331ef8ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4e377735331ef8cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e377735331ef8cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms Unpermitted parameters: name Redirected to http://test.host/products/548f4e377735331ef8cd0000/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('548f4e377735331ef8cf0000'), "name"=>"Mr. Tony Nolan", "reference"=>"Fredy Lemke III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d00000'), "name"=>"Sibyl Murazik", "reference"=>"Elza Koelpin DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d10000'), "name"=>"Ivy Kiehn", "reference"=>"Wendell Torphy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d20000'), "name"=>"Andreane O'Hara", "reference"=>"Billie Moore", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d30000'), "name"=>"Lilian Keeling", "reference"=>"Samara Johns DDS", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d40000'), "name"=>"Austin White", "reference"=>"Miss Gaetano Ebert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3327ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e377735331ef8d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Redirected to http://test.host/products/548f4e377735331ef8d50000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2158ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8d60000'), "name"=>"Corine Vandervort", "reference"=>"Nella Volkman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1994ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4e387735331ef8d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e387735331ef8d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e387735331ef8d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms 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.2032ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8d70000'), "name"=>"Mallory Goodwin", "reference"=>"Nash Kautzer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4e387735331ef8d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e387735331ef8d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('548f4e387735331ef8d80000'), "name"=>"Paolo Wolff", "reference"=>"Caroline Moore", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0931ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583680463] runtime: 0.1110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2409ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8d90000'), "name"=>"Antone Monahan", "reference"=>"Elisha Muller", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8da0000'), "name"=>"HelloWorld", "reference"=>"Liana Zemlak", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8db0000'), "name"=>"value", "reference"=>"Emory Effertz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2555ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2391ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2216ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3612ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3059ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2559ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2035ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8dc0000'), "name"=>"Jennie Conn", "reference"=>"Vivianne Altenwerth", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280901590761] runtime: 0.1005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3330ms Completed 200 OK in 17ms (Views: 16.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280397100] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280610378352] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280533386517] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898659464] runtime: 0.1165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280232908650] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679533037] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422611027] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263108643] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066944860] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297878415] runtime: 0.0913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280658025867] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922815442] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279409543432] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191799567] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280391727830] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501603195] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280862496924] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243176684] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279213751260] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279791518201] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279498378374] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280686948648] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809364200] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279189310886] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808127939] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281182417377] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929231521] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245518680] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280109981498] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217427481] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232161683] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712314381] runtime: 0.0952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431958144] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810616408] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280799322932] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280054991025] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700823739] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279712452833] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014667731] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280672987303] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295190839] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281010934119] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146700578] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279914320404] runtime: 0.1056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187597178] runtime: 0.1081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800958646] runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175606220] runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769346799] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280937370011] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280730467104] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471483065] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426490667] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279285369242] runtime: 0.0735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279480139159] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794715844] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309869891] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743650155] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450573433] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281153586766] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279330832931] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279200959588] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279385369540] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183057193] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711872579] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280214186236] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280812490929] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.6904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280346437510] runtime: 0.1108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280176086563] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105028974] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280139693730] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279620854023] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281310711460] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764380928] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280862344983] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279652034847] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279266172356] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280369729026] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280349635072] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735151690] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280659457027] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587323276] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401762039] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280002924789] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477417909] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281044655398] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355399447] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280321599765] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306536006] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279699837363] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281214635542] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223693492] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280370942246] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690196273] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279424010883] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280083192120] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280140553975] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281142286542] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313751795] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794985170] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280072552982] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622467268] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279464883467] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279345196055] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242450427] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541225455] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281277122872] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723240790] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280798934167] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280418656636] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280607032453] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459500411] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081418102] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280025076979] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315650435] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147900408] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517882264] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229264373] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880426077] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853385633] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375353371] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279596926913] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518275134] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794366976] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701874497] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280025502719] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520699739] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320927176] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280866373611] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280131212641] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279328145060] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746042337] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280192562600] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218133836] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206834592] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027544784] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982918364] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208364567] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005783749] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280230955687] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450546797] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280741857996] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343083681] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395992707] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281269605779] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295615594] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280288590547] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902783132] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857205618] runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279636813350] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694395235] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272273359] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244499026] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666439577] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280188847326] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574680753] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018547120] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886007316] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823420398] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769099589] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785281578] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211102594] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280966052353] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279542199879] runtime: 0.0456ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e387735331ef8dd0000'), "name"=>"Verner Fritsch", "reference"=>"Nick Powlowski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280085331301] runtime: 0.0598ms 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('548f4e387735331ef8de0000'), "name"=>"Robin Jacobson", "reference"=>"Samantha Reynolds", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4e387735331ef8de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e387735331ef8de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms 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('548f4e387735331ef8df0000'), "name"=>"Miss Candida Bartoletti", "reference"=>"Ms. Kay Hickle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 779.0588ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.5ms) Completed 200 OK in 14ms (Views: 11.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8e10000'), "name"=>"Clifton Gerlach", "reference"=>"Flavio Prohaska", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8180ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4e397735331ef8e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5175ms Completed 200 OK in 8ms (Views: 5.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8e20000'), "name"=>"Miss Tevin Greenfelder", "reference"=>"Mr. Jeramie Wyman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3303ms 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('548f4e397735331ef8e30000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5677ms Completed 201 Created in 4ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4111ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8e40000'), "name"=>"Dalton Daniel", "reference"=>"Michael Erdman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4e397735331ef8e40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4471ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Completed 200 OK in 4ms (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('548f4e397735331ef8e50000'), "name"=>"Heber Sipes PhD", "reference"=>"Vincenza Lang", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8e70000'), "name"=>"Anika Bailey", "reference"=>"Miss Regan Ledner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5907ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4e397735331ef8e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e70000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8e80000'), "name"=>"Reed Metz", "reference"=>"Jamir Wintheiser III", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4e397735331ef8e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4143ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8e80000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Redirected to http://test.host/products/548f4e397735331ef8e80000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8eb0000'), "name"=>"Cicero Kautzer PhD", "reference"=>"Lexus Waters", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8e90000'), "author_name"=>"Rodger Kreiger", "content"=>["Non dolor est accusamus enim ratione dolorem ex. Non sint repudiandae nihil. Quos itaque harum qui est porro."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8ea0000'), "author_name"=>"Tanner Kuhic", "content"=>["Sequi officia sit. Quos quas nesciunt. In vitae aut repudiandae aut soluta reiciendis. Ut autem repellendus. Quaerat dolorum aspernatur ex aliquid qui iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4e397735331ef8eb0000", "comment_id"=>"548f4e397735331ef8e90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8eb0000'), "comments._id"=>BSON::ObjectId('548f4e397735331ef8e90000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4e397735331ef8ec0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8253ms Redirected to http://test.host/products/548f4e397735331ef8eb0000/comments/548f4e397735331ef8e90000/comments/548f4e397735331ef8ec0000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8ef0000'), "name"=>"Lottie Grimes PhD", "reference"=>"Helga Bechtelar", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8ed0000'), "author_name"=>"Miller Bruen", "content"=>["Voluptas pariatur quod id nihil. Nisi aperiam voluptates minus asperiores laborum. Reprehenderit laboriosam voluptatem nihil. Voluptatem omnis esse repudiandae fugit. Repellendus totam ipsum rerum cupiditate saepe."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8ee0000'), "author_name"=>"Rosamond Torphy", "content"=>["Eaque voluptatum mollitia et. Dignissimos vitae et at voluptatem eveniet est autem. Et et expedita nostrum eum corporis. Eum dignissimos molestiae nam dolorum aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4e397735331ef8ef0000", "comment_id"=>"548f4e397735331ef8ed0000", "id"=>"548f4e397735331ef8ee0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8ef0000'), "comments._id"=>BSON::ObjectId('548f4e397735331ef8ed0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4e397735331ef8ee0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6146ms Redirected to http://test.host/products/548f4e397735331ef8ef0000/comments/548f4e397735331ef8ed0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8f20000'), "name"=>"Cicero O'Conner", "reference"=>"Dr. Adeline Herzog", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f00000'), "author_name"=>"Antonia Schmeler Sr.", "content"=>["Impedit eum et sed omnis. Laboriosam ipsam cupiditate esse. Dignissimos quia rem dolore. Sed et est incidunt. Nisi blanditiis provident."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f10000'), "author_name"=>"Melyssa Olson", "content"=>["Saepe ducimus nulla. Praesentium fuga deleniti placeat. Et quas fugiat illum maxime consequatur. Voluptatem aut quam ducimus. Omnis nihil accusamus aliquam exercitationem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4e397735331ef8f20000", "comment_id"=>"548f4e397735331ef8f00000", "id"=>"548f4e397735331ef8f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 7.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8f50000'), "name"=>"Yoshiko Kshlerin", "reference"=>"Regan Tromp", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f30000'), "author_name"=>"Colt Orn", "content"=>["Animi odit qui quaerat eos alias. Error nihil ut qui qui nostrum sed. Mollitia ad culpa quis fugit numquam. Eos saepe est aut non. Sed ut similique nihil."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f40000'), "author_name"=>"Zachery Baumbach PhD", "content"=>["Temporibus ut quas ut. Vel repellendus quia earum voluptas. Nobis quia ad ut. Explicabo ex ut hic aperiam. Rerum non perspiciatis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5651ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4e397735331ef8f50000", "comment_id"=>"548f4e397735331ef8f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8f80000'), "name"=>"Ezequiel Pfannerstill", "reference"=>"Dorothy Hansen", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f60000'), "author_name"=>"Tina Hirthe DVM", "content"=>["Voluptate omnis eaque rerum error. Qui dignissimos quas consequatur. Iusto sit repellat similique excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f70000'), "author_name"=>"Jaeden Deckow", "content"=>["Beatae eos rerum nemo. Necessitatibus sed qui. Deserunt fugit architecto reiciendis qui sed et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5413ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4e397735331ef8f80000", "comment_id"=>"548f4e397735331ef8f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4509ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8fb0000'), "name"=>"Federico Kuphal", "reference"=>"Fabian Cruickshank", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8f90000'), "author_name"=>"Mack Cummings", "content"=>["Aliquid fugiat nemo quia aut necessitatibus quis. Rerum in et modi. Quos autem sed non quidem et necessitatibus fuga. Harum eaque error ab."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8fa0000'), "author_name"=>"Selena Williamson", "content"=>["Quasi recusandae quaerat ea rem illum. Corrupti rerum praesentium ea et occaecati. Possimus facilis iure. Consequatur amet ut voluptate ratione consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4e397735331ef8fb0000", "comment_id"=>"548f4e397735331ef8f90000", "id"=>"548f4e397735331ef8fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4644ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8fe0000'), "name"=>"Emery Fadel DDS", "reference"=>"Cleta Murphy", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8fc0000'), "author_name"=>"Alisa Aufderhar", "content"=>["Et dignissimos iste eum explicabo non rem nemo. Distinctio qui excepturi alias qui quo autem id. Voluptas sequi dolorum provident ad."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8fd0000'), "author_name"=>"Lizeth Hirthe", "content"=>["Qui ducimus ut libero error magnam rerum. Inventore et non repellendus maiores veritatis. Esse quia at deleniti sunt et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4e397735331ef8fe0000", "comment_id"=>"548f4e397735331ef8fc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8010100'), "name"=>"Zaria Feeney", "reference"=>"Brittany Nicolas", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8ff0000'), "author_name"=>"Reyes Daniel IV", "content"=>["Reprehenderit asperiores non corrupti harum magnam enim. Quis pariatur autem. Harum at pariatur aut quam doloribus exercitationem nesciunt. Aut sit sit sint dolorem modi sit."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8000100'), "author_name"=>"Marvin Lehner", "content"=>["Distinctio sed corporis sit voluptatem. In aut minima illum. Qui laboriosam sapiente repellendus. Et similique animi fuga adipisci corporis dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5571ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4e397735331ef8010100", "comment_id"=>"548f4e397735331ef8ff0000", "id"=>"548f4e397735331ef8000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8040100'), "name"=>"Miss Lolita Kertzmann", "reference"=>"Santino Prohaska", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8020100'), "author_name"=>"Newell Treutel", "content"=>["Amet laborum velit quia saepe occaecati. Qui consequatur assumenda vel voluptate aliquam eum sint. Explicabo aliquam quis vel blanditiis hic consequatur quas. Enim doloribus voluptas sit est voluptatem provident ullam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4e397735331ef8030100'), "author_name"=>"Damon Lebsack", "content"=>["Quis a quasi est totam est corporis quia. Fuga sed vero sit nemo assumenda. Dolores enim voluptas dolores excepturi a et. Sint nemo facilis non consectetur molestiae impedit aut. Rerum nostrum est non quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5521ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4e397735331ef8030100", "product_id"=>"548f4e397735331ef8040100", "comment_id"=>"548f4e397735331ef8020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4e397735331ef8040100'), "comments._id"=>BSON::ObjectId('548f4e397735331ef8020100'), "comments.0.comments._id"=>BSON::ObjectId('548f4e397735331ef8030100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6455ms Redirected to http://test.host/products/548f4e397735331ef8040100/comments/548f4e397735331ef8020100/comments/548f4e397735331ef8030100 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('548f4e397735331ef8050100'), "firstname"=>"Sophie", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2224ms 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('548f4e397735331ef8060100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Redirected to http://test.host/users/548f4e397735331ef8060100 Completed 302 Found in 3ms 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('548f4e397735331ef8070100'), "firstname"=>"Kelli", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2087ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4e397735331ef8070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e397735331ef8070100')} 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('548f4e397735331ef8070100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms 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.1952ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef8080100'), "firstname"=>"Catharine", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4e397735331ef8080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e397735331ef8080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Rendered /home/geoffroy/projects/crealettres/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('548f4e397735331ef8090100'), "firstname"=>"Andre", "lastname"=>"Boyle"}] 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.3712ms Completed 200 OK in 35ms (Views: 34.3ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4e397735331ef80a0100'), "firstname"=>"Vesta", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4e397735331ef80b0100'), "firstname"=>"Abigale", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7758ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4e397735331ef80b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e397735331ef80b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms 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('548f4e397735331ef80c0100'), "firstname"=>"Lindsay", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4e397735331ef80c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4e397735331ef80c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms Unpermitted parameters: name Redirected to http://test.host/users/548f4e397735331ef80c0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5976ms 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.5307ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6694ms 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.4678ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7440ms 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.5560ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106000000'), "firstname"=>"Jayme", "lastname"=>"Stehr"}] 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=>"administrators", :query=>{}} runtime: 0.2693ms 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('548f4eaa7735332106010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2859ms Redirected to http://test.host/admin/administrator Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2730ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106020000'), "firstname"=>"America", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4eaa7735332106020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eaa7735332106020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106030000'), "firstname"=>"Garry", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106040000'), "firstname"=>"Janick", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4eaa7735332106040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eaa7735332106040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106050000'), "firstname"=>"Turner", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4eaa7735332106050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eaa7735332106050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms 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('548f4eaa7735332106060000'), "name"=>"Stanton Sawayn", "reference"=>"Antonio Schultz PhD", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa7735332106070000'), "author_name"=>"Kade Batz Sr.", "content"=>["Et praesentium et unde ducimus voluptas quo libero. Optio ea ut neque repellat aliquam repudiandae. Recusandae tempore et est molestiae occaecati corrupti. Reprehenderit dolorum voluptas quisquam facere quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4eaa7735332106060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4eaa7735332106080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5413ms Redirected to http://test.host/admin/products/548f4eaa7735332106060000/comments/548f4eaa7735332106080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3643ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106090000'), "name"=>"Melisa Dicki II", "reference"=>"Bertrand O'Hara", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa77353321060a0000'), "author_name"=>"Miss Velva Flatley", "content"=>["Ut enim voluptatem quod modi ratione illo in. Placeat cumque nostrum et nam. Ipsam quia sed delectus et dolorem quia ea. Sit harum dolores qui omnis. Et unde eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4eaa7735332106090000", "id"=>"548f4eaa77353321060a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4eaa77353321060a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Redirected to http://test.host/admin/products/548f4eaa7735332106090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321060b0000'), "name"=>"Mrs. Brooks Heidenreich", "reference"=>"Murl Luettgen", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa77353321060c0000'), "author_name"=>"Mr. Skyla Gislason", "content"=>["Harum vitae soluta. Autem molestias quia. Dignissimos quis eveniet et atque illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4eaa77353321060b0000", "id"=>"548f4eaa77353321060c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321060b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321060d0000'), "name"=>"Mrs. Domenico Ferry", "reference"=>"Nico Auer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa77353321060e0000'), "author_name"=>"Mr. Edward Ortiz", "content"=>["Ut consectetur rerum animi. Itaque quibusdam autem molestias laudantium libero voluptates deserunt. Pariatur ut quia est ipsum illo. Accusamus at rerum explicabo earum sit fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4eaa77353321060d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321060d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321060f0000'), "name"=>"Torrance Abbott", "reference"=>"Dr. Izabella Watsica", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa7735332106100000'), "author_name"=>"Katlynn Goyette", "content"=>["Minima dolorum laudantium quisquam. Error et voluptates. Ea similique vel omnis commodi qui et dolorem. Aspernatur nemo accusamus alias et dicta repudiandae. In alias temporibus sunt ex cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4eaa77353321060f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321060f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106110000'), "name"=>"Dee Stroman", "reference"=>"Dr. Gideon Krajcik", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa7735332106120000'), "author_name"=>"Frankie Pouros", "content"=>["Quae fuga cumque voluptatem ad quia eum. Cum repudiandae eum et molestiae officia. Eveniet expedita id veniam quis. Architecto repudiandae qui doloribus dolore dolor laboriosam incidunt. Est reprehenderit fuga quo delectus enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4eaa7735332106110000", "id"=>"548f4eaa7735332106120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106130000'), "name"=>"Arlene Zulauf", "reference"=>"Hanna Kihn", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eaa7735332106140000'), "author_name"=>"Rhiannon Abshire", "content"=>["Earum autem reprehenderit et error at. Odio laborum a nemo non dicta. Distinctio voluptatibus a saepe suscipit. Fuga et aliquam autem soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4eaa7735332106140000", "product_id"=>"548f4eaa7735332106130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106130000')} 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('548f4eaa7735332106130000'), "comments._id"=>BSON::ObjectId('548f4eaa7735332106140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Redirected to http://test.host/admin/products/548f4eaa7735332106130000/comments/548f4eaa7735332106140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106150000'), "name"=>"Zita Doyle III", "reference"=>"Monroe Runolfsdottir", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4eaa7735332106160000'), "firstname"=>"Lon", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4eaa7735332106150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4eaa7735332106170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms Redirected to http://test.host/admin/products/548f4eaa7735332106150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106180000'), "name"=>"Ariane Rutherford", "reference"=>"Marie Wolf", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4eaa7735332106190000'), "firstname"=>"Aliza", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4eaa7735332106190000", "product_id"=>"548f4eaa7735332106180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321061a0000'), "name"=>"Keara Vandervort", "reference"=>"Maryam Gusikowski", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4eaa77353321061b0000'), "firstname"=>"Gayle", "lastname"=>"Friesen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4926ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4eaa77353321061a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321061a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321061c0000'), "name"=>"Cicero Jacobson", "reference"=>"Ms. Alfred Huel", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4eaa77353321061d0000'), "firstname"=>"Julius", "lastname"=>"Vandervort"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2247ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4eaa77353321061d0000", "product_id"=>"548f4eaa77353321061c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321061c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321061e0000'), "name"=>"Margaret Auer", "reference"=>"Juliana Nitzsche", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4eaa77353321061f0000'), "firstname"=>"Maximillian", "lastname"=>"Grady"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4eaa77353321061f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4eaa77353321061e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa77353321061e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4eaa77353321061e0000/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('548f4eaa7735332106200000'), "name"=>"Cornelius Marvin", "reference"=>"Jabari Baumbach", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2709ms 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('548f4eaa7735332106210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms Redirected to http://test.host/admin/products/548f4eaa7735332106210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2704ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106220000'), "name"=>"Mrs. Clarissa Haley", "reference"=>"Maribel Stroman DDS", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2713ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4eaa7735332106220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106220000')} 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={"_id"=>BSON::ObjectId('548f4eaa7735332106220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms 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.2045ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106230000'), "name"=>"Mia Gleichner", "reference"=>"Lydia Lowe", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4eaa7735332106230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106240000'), "name"=>"Diego Schulist", "reference"=>"Adrain Hauck", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms 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.5379ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eaa7735332106250000'), "name"=>"Brenden Bartell", "reference"=>"Miss Duncan Swift", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (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('548f4eaa7735332106280000'), "name"=>"Kennedy Crooks IV", "reference"=>"Martin Kovacek", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4eaa7735332106280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms 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('548f4eaa7735332106290000'), "name"=>"Joaquin Hammes", "reference"=>"Roselyn Hane V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4eaa7735332106290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eaa7735332106290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Redirected to http://test.host/admin/products/548f4eaa7735332106290000 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('548f4eaa77353321062a0000'), "firstname"=>"Rosella", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2405ms 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('548f4eaa77353321062b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Redirected to http://test.host/admin/users/548f4eaa77353321062b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2050ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321062c0000'), "firstname"=>"Leslie", "lastname"=>"Kerluke"}] 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.1816ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4eaa77353321062c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eaa77353321062c0000')} 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('548f4eaa77353321062c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms 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.2049ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321062d0000'), "firstname"=>"Guiseppe", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4eaa77353321062d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eaa77353321062d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eaa77353321062e0000'), "firstname"=>"Florence", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms 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.3547ms 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('548f4eaa77353321062f0000'), "firstname"=>"Darion", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) 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('548f4eaa7735332106300000'), "firstname"=>"Carlie", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4eaa7735332106300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eaa7735332106300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms Completed 200 OK in 5ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106310000'), "firstname"=>"Melyssa", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4eab7735332106310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eab7735332106310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3688ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4eab7735332106310000 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('548f4eab7735332106320000'), "firstname"=>"Laron", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5913ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2195ms 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('548f4eab7735332106330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms 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.1968ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106340000'), "firstname"=>"Lauren", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4eab7735332106340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eab7735332106340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106350000'), "firstname"=>"Marlen", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106360000'), "firstname"=>"Paul", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4eab7735332106360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eab7735332106360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106370000'), "firstname"=>"Thora", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4eab7735332106370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4eab7735332106370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106380000'), "name"=>"Demarcus Walsh Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106390000'), "name"=>"Ms. Jules Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063a0000'), "name"=>"Kavon Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063b0000'), "name"=>"Nathen Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063c0000'), "name"=>"Paxton Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063d0000'), "name"=>"Zion Mitchell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063e0000'), "name"=>"Ernest Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321063f0000'), "name"=>"Margot Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321063f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106400000'), "name"=>"Mrs. Jamison Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106410000'), "name"=>"Dan Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106420000'), "name"=>"Vito Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106430000'), "name"=>"Chet Lebsack Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106440000'), "name"=>"Ahmad Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106450000'), "name"=>"Kaylee Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106460000'), "name"=>"Charlie Sanford I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106470000'), "name"=>"Fiona Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106480000'), "name"=>"Maye Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106490000'), "name"=>"Amparo Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064a0000'), "name"=>"German Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064b0000'), "name"=>"Mr. Pearline Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064c0000'), "name"=>"Tianna Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064d0000'), "name"=>"Cheyanne Ritchie II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064e0000'), "name"=>"Krista Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321064f0000'), "name"=>"Darius Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321064f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106500000'), "name"=>"Rod Kshlerin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106510000'), "name"=>"Nikki Crona I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106520000'), "name"=>"Edd Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106530000'), "name"=>"Durward Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106540000'), "name"=>"Ms. Myra Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106550000'), "name"=>"Miss Vickie Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106560000'), "name"=>"Tanner Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106570000'), "name"=>"Maryam Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106580000'), "name"=>"Ms. Camylle Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106590000'), "name"=>"Brigitte Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065a0000'), "name"=>"Turner Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065b0000'), "name"=>"Kenny Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065c0000'), "name"=>"Lawrence Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065d0000'), "name"=>"Raoul Lang IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065e0000'), "name"=>"Adell Schaefer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321065f0000'), "name"=>"Micheal Welch I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321065f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106600000'), "name"=>"Ms. Lora Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106610000'), "name"=>"Mrs. Hulda Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106620000'), "name"=>"Alfred Altenwerth II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106630000'), "name"=>"Hope Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106640000'), "name"=>"Nelda Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106650000'), "name"=>"Ms. Alex Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106660000'), "name"=>"Pedro Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106670000'), "name"=>"Alice Hilll DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106680000'), "name"=>"Nelda Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106690000'), "name"=>"Dave Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066a0000'), "name"=>"Steve Mertz DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066b0000'), "name"=>"Melyna Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066c0000'), "name"=>"Hollis O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066d0000'), "name"=>"Dr. Loraine Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066e0000'), "name"=>"Watson Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321066f0000'), "name"=>"Zackary Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321066f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106700000'), "name"=>"Lauriane Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106710000'), "name"=>"Favian Schamberger Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106720000'), "name"=>"Ms. Trycia Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106730000'), "name"=>"Jayne Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106740000'), "name"=>"Benjamin Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106750000'), "name"=>"Cullen Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106760000'), "name"=>"Brandy Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106770000'), "name"=>"Justyn Toy Jr."}] 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={"category_id"=>BSON::ObjectId('548f4eab7735332106770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106780000'), "name"=>"Mya Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106790000'), "name"=>"Asha Lindgren III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067a0000'), "name"=>"Seamus Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067b0000'), "name"=>"Mr. Thelma Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067c0000'), "name"=>"Vincenza Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067d0000'), "name"=>"Daisy Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067e0000'), "name"=>"Ernestine Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321067f0000'), "name"=>"Estefania Hartmann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321067f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106800000'), "name"=>"Peyton Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106810000'), "name"=>"Sammie Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106820000'), "name"=>"Presley Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106830000'), "name"=>"Ila Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106840000'), "name"=>"Amara Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106850000'), "name"=>"Allen Bergnaum II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106860000'), "name"=>"Myrna Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106870000'), "name"=>"Nona Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106880000'), "name"=>"Mr. Chester Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106890000'), "name"=>"Yazmin Heaney II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068a0000'), "name"=>"George Hartmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068b0000'), "name"=>"Hellen Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068c0000'), "name"=>"Halle Murazik I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068d0000'), "name"=>"Leann McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068e0000'), "name"=>"Rosalinda Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321068f0000'), "name"=>"Kiarra Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321068f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106900000'), "name"=>"Hildegard DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106910000'), "name"=>"Odell Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106920000'), "name"=>"Heloise Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106930000'), "name"=>"Troy Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106940000'), "name"=>"Brooks Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106950000'), "name"=>"Wilma Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106960000'), "name"=>"Araceli Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106970000'), "name"=>"Emely Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2171ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Redirected to http://test.host/categories/548f4eab7735332106980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2440ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106990000'), "name"=>"Mrs. Brenda Hickle"}] 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={"category_id"=>BSON::ObjectId('548f4eab7735332106990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2241ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4eab7735332106990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab7735332106990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3429ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab7735332106990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2082ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321069a0000'), "name"=>"Miss Zoey Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4eab77353321069a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab77353321069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 9.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321069b0000'), "name"=>"Jeffry Boehm"}] 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={"category_id"=>BSON::ObjectId('548f4eab77353321069b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305614800403] runtime: 0.1220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2343ms Completed 200 OK in 19ms (Views: 18.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321069c0000'), "name"=>"Pierre Jacobi IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305712735275] runtime: 0.0886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2417ms Completed 200 OK in 9ms (Views: 8.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321069d0000'), "name"=>"Sophia Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab77353321069f0000'), "name"=>"Lenora McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4eab77353321069f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab77353321069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab77353321069f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106a00000'), "name"=>"Laury Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4eab7735332106a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab7735332106a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4eab7735332106a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4eab7735332106a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Redirected to http://test.host/categories/548f4eab7735332106a00000 Completed 302 Found in 29ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106a10000'), "name"=>"Joan Dietrich MD", "reference"=>"Merl Cassin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106a20000'), "author_name"=>"Savion Abbott DVM", "content"=>["Labore numquam non incidunt repudiandae consequatur et a. Enim veritatis voluptas ab est est. Culpa dolor molestias et id ipsam debitis inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4eab7735332106a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4eab7735332106a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Redirected to http://test.host/products/548f4eab7735332106a10000/comments/548f4eab7735332106a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106a40000'), "name"=>"Agustin Marks", "reference"=>"Frederik Fisher", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106a50000'), "author_name"=>"Kaylie Jenkins", "content"=>["Id qui maxime delectus quia sed. Quod non quo sed. Ut aspernatur iure quidem velit id cum sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4eab7735332106a40000", "id"=>"548f4eab7735332106a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8863ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4eab7735332106a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5378ms Redirected to http://test.host/products/548f4eab7735332106a40000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106a60000'), "name"=>"Mrs. Mossie Torphy", "reference"=>"Dr. Lia Rau", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106a70000'), "author_name"=>"Mrs. Estrella Collier", "content"=>["Unde id quas maxime dolor magnam. Commodi maxime eveniet cupiditate facere mollitia cumque. Odit voluptatum similique omnis veritatis eligendi numquam repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4eab7735332106a60000", "id"=>"548f4eab7735332106a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106a80000'), "name"=>"Mr. Henri MacGyver", "reference"=>"Kris Balistreri", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106a90000'), "author_name"=>"Davion Cronin", "content"=>["Repellendus soluta iste est qui impedit excepturi expedita. Voluptatem sequi deleniti culpa animi libero. Magnam voluptatem omnis soluta nihil ut autem aut. Voluptatem et saepe dolorum repudiandae mollitia. Repudiandae id officiis itaque non veniam sint rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4eab7735332106a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106aa0000'), "name"=>"Bridie Erdman", "reference"=>"Miss Nichole Nolan", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106ab0000'), "author_name"=>"Clint Boyer", "content"=>["Incidunt omnis ea et eligendi molestiae id ut. Voluptatem nihil molestias sequi. Itaque labore quisquam id eaque occaecati quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4eab7735332106aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106ac0000'), "name"=>"Miss Marge Miller", "reference"=>"Joshuah Gaylord", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106ad0000'), "author_name"=>"Abner Leannon", "content"=>["Blanditiis ut exercitationem ipsa dolorem quasi fuga et. Officiis reiciendis quasi neque. Quia nesciunt dolore tempora ut. Exercitationem ipsa facere sunt est velit adipisci. Officia culpa soluta sed quidem quia ipsa occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4eab7735332106ac0000", "id"=>"548f4eab7735332106ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106ae0000'), "name"=>"Lucile Hudson", "reference"=>"Dee Gibson V", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106af0000'), "author_name"=>"Aidan Howe", "content"=>["Quos facere aut dolor sunt non. Modi omnis nulla asperiores recusandae. Commodi veritatis reiciendis. Consequatur est illum sequi. Occaecati ut quia aut optio ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4eab7735332106ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106b00000'), "name"=>"Blake Morar", "reference"=>"Cyril Abernathy", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106b10000'), "author_name"=>"Xander Macejkovic", "content"=>["Dolorum enim earum nulla tempore quia. Corrupti non veritatis fugiat natus qui rem quibusdam. Ut et quae unde dignissimos. Earum ut beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4eab7735332106b00000", "id"=>"548f4eab7735332106b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106b20000'), "name"=>"Hannah Daniel", "reference"=>"Noemy West", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eab7735332106b30000'), "author_name"=>"Rhett Collier", "content"=>["Est aperiam aliquid quia dolor mollitia nihil. Beatae quidem aut dolor ut enim. Consequuntur saepe molestiae cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4eab7735332106b30000", "product_id"=>"548f4eab7735332106b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106b20000'), "comments._id"=>BSON::ObjectId('548f4eab7735332106b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Redirected to http://test.host/products/548f4eab7735332106b20000/comments/548f4eab7735332106b30000 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('548f4eab7735332106b40000'), "firstname"=>"Cletus", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1570ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Redirected to http://test.host/admin/clients/548f4eab7735332106b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106b60000'), "firstname"=>"Gilberto", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6304ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2611ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4eab7735332106b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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.2826ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106b70000'), "firstname"=>"Rashawn", "lastname"=>"Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4eab7735332106b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f4eab7735332106b80000'), "firstname"=>"Jazmin", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms 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('548f4eab7735332106b90000'), "firstname"=>"Brisa", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 5.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106ba0000'), "firstname"=>"Trisha", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4eab7735332106ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms 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('548f4eab7735332106bb0000'), "firstname"=>"Daphne", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4eab7735332106bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106bb0000')} 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('548f4eab7735332106bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms Redirected to http://test.host/admin/clients/548f4eab7735332106bb0000 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('548f4eab7735332106bc0000'), "firstname"=>"Theodora", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1778ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Redirected to http://test.host/clients/548f4eab7735332106bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2341ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106be0000'), "firstname"=>"Cyril", "lastname"=>"Abshire"}] 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.1821ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4eab7735332106be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms 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.1967ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106bf0000'), "firstname"=>"Vito", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4eab7735332106bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Rendered /home/geoffroy/projects/crealettres/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('548f4eab7735332106c00000'), "firstname"=>"Sheldon", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.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.4181ms 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('548f4eab7735332106c10000'), "firstname"=>"Murray", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4eab7735332106c20000'), "firstname"=>"Hobart", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4eab7735332106c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms 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('548f4eab7735332106c30000'), "firstname"=>"Alvina", "lastname"=>"Bednar"}] 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"=>"548f4eab7735332106c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4eab7735332106c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms Redirected to http://test.host/clients/548f4eab7735332106c30000 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('548f4eab7735332106c40000'), "name"=>"Brooke Ankunding PhD", "reference"=>"Benjamin Konopelski", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106c50000'), "firstname"=>"Zack", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4eab7735332106c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3121ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms Redirected to http://test.host/products/548f4eab7735332106c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106c70000'), "name"=>"Nyasia Shanahan", "reference"=>"Boris Stracke", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106c80000'), "firstname"=>"Bernita", "lastname"=>"Kuphal"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4eab7735332106c80000", "product_id"=>"548f4eab7735332106c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4311ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106c90000'), "name"=>"Brandy O'Reilly", "reference"=>"Chelsea Roob", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106ca0000'), "firstname"=>"Carolyn", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5751ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4eab7735332106c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106cb0000'), "name"=>"Austen Okuneva", "reference"=>"Gustave Howe", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106cc0000'), "firstname"=>"Henry", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4eab7735332106cc0000", "product_id"=>"548f4eab7735332106cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4901ms Completed 200 OK in 5ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106cd0000'), "name"=>"Maximo Howe", "reference"=>"Pat Prohaska", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f4eab7735332106ce0000'), "firstname"=>"Nyasia", "lastname"=>"Eichmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4eab7735332106ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4eab7735332106cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4366ms Unpermitted parameters: name Redirected to http://test.host/products/548f4eab7735332106cd0000/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('548f4eab7735332106cf0000'), "name"=>"Rogers Will", "reference"=>"Dr. Emmanuelle Herman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d00000'), "name"=>"Benjamin Simonis DVM", "reference"=>"Dr. Brielle Koepp", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d10000'), "name"=>"Nya Jerde", "reference"=>"Devyn Dickens Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d20000'), "name"=>"Helmer Tillman", "reference"=>"Fernando Gulgowski", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d30000'), "name"=>"Isac Bernier", "reference"=>"Justyn Bashirian", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d40000'), "name"=>"Clark Senger I", "reference"=>"Alayna Goldner", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Redirected to http://test.host/products/548f4eab7735332106d50000 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('548f4eab7735332106d60000'), "name"=>"Durward Wintheiser IV", "reference"=>"Miss Wilfredo McGlynn", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1957ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4eab7735332106d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms 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.2024ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d70000'), "name"=>"Jamie Grant", "reference"=>"Kiel Schmidt", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4eab7735332106d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eab7735332106d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f4eab7735332106d80000'), "name"=>"Kailyn Luettgen V", "reference"=>"Miss Trinity Ledner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279417287018] runtime: 0.1094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2379ms Completed 200 OK in 18ms (Views: 17.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106d90000'), "name"=>"Jackie Klein", "reference"=>"Enoch Bayer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106da0000'), "name"=>"HelloWorld", "reference"=>"Toni Hegmann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106db0000'), "name"=>"value", "reference"=>"Ubaldo Haag", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3904ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2943ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3872ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2209ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3454ms Completed 200 OK in 4ms (Views: 3.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3443ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2164ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eab7735332106dc0000'), "name"=>"Milo Monahan", "reference"=>"Carter Christiansen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947585803] runtime: 0.1134ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3607ms Completed 200 OK in 17ms (Views: 16.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858657082] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280344350981] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280234844916] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280939041213] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886643070] runtime: 0.0986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279341635667] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616271908] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500372769] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792303328] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478650659] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175130336] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150410230] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028932568] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280472969712] runtime: 0.0910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280752800211] runtime: 0.0931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320680531] runtime: 0.0923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279763412725] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281301676290] runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299878484] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280979197797] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711517099] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399218251] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366826014] runtime: 0.0895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018538349] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280075292379] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371281143] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100991884] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280167009964] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280255389705] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281156445546] runtime: 0.0703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000181682] runtime: 0.0813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279177767193] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281045664945] runtime: 0.0897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996018074] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282538543] runtime: 0.0797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859265760] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297409600] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387538759] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213325157] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660768822] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884856024] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091137251] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280361013430] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279190496068] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996058553] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279791951348] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279465963006] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281169951318] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280245746189] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876291066] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276324580] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091432509] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838594618] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279720875824] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281100576871] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280324336120] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280796895334] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279419474712] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280503920633] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279255968194] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279189147282] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905807750] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898698617] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222924697] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280241760138] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365243325] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283154847] runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737380034] runtime: 0.0746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280017584983] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254430232] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280304940718] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673138789] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279616083315] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279334630112] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234668028] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505310339] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772811975] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281173956350] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948077683] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362443196] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423219331] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403763270] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207932460] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249159847] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460735438] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280394589309] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279293550999] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281083652670] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279773731797] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279640908254] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280923227884] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124007426] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886173234] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280527857790] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874330028] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279899180599] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317209122] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279441193538] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280173030230] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280327954724] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620988327] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280641043205] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229602104] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320392527] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759179966] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280899640758] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696537790] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279271346720] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416044421] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483373213] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800845650] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047076545] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279441529823] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325261578] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280840486017] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280304973354] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408948793] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095022687] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280185705272] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280565742015] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094395694] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096264304] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341708879] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280198070724] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426109486] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669813927] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323008183] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280724757123] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987510850] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196450084] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279860091809] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152550910] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280526662203] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280985023380] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279368959654] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228001449] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280721087791] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279872133792] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743865349] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950169232] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457943760] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279368380729] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466994956] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118188588] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280508631533] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281278601182] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279797863861] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713096203] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789620353] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358112115] runtime: 0.0921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279890514074] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990846131] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279696733735] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253394346] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653309884] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279903207836] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186817668] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247347977] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996054918] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280699592409] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279233296352] runtime: 0.0831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645093159] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279651564756] runtime: 0.0467ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106dd0000'), "name"=>"Bartholome Johns", "reference"=>"Modesto Schultz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106de0000'), "name"=>"Thaddeus Rolfson", "reference"=>"Jakayla Graham", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366489738] runtime: 0.0665ms Completed 200 OK in 5ms (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('548f4eac7735332106df0000'), "name"=>"Libby Crooks", "reference"=>"Jordy Reinger IV", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4eac7735332106df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms 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('548f4eac7735332106e00000'), "name"=>"Nia Kertzmann", "reference"=>"Mrs. Theodore Skiles", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106e20000'), "name"=>"Alda Koch", "reference"=>"Rogelio Ratke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4eac7735332106e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106e30000'), "name"=>"Elizabeth Wilkinson", "reference"=>"Mr. Darrion O'Keefe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5046ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4104ms Completed 500 Internal Server Error in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106e40000'), "name"=>"Monty Buckridge", "reference"=>"Miss Chanelle Streich", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3587ms Completed 500 Internal Server Error in 2ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106e50000'), "name"=>"Stacy Ward DVM", "reference"=>"Yoshiko Sipes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.0491ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2753ms 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('548f4eac7735332106e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2593ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106e70000'), "name"=>"Vinnie Shields", "reference"=>"Maya Bahringer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4eac7735332106e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106e70000')} 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={"_id"=>BSON::ObjectId('548f4eac7735332106e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms 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('548f4eac7735332106e80000'), "name"=>"Amie Fahey", "reference"=>"Rodolfo Hettinger", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms 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('548f4eac7735332106ea0000'), "name"=>"Thalia Friesen", "reference"=>"Aaliyah Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4eac7735332106ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms 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('548f4eac7735332106eb0000'), "name"=>"Emerson Grant", "reference"=>"Devon Borer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4eac7735332106eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Redirected to http://test.host/products/548f4eac7735332106eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106ee0000'), "name"=>"Eldora Champlin PhD", "reference"=>"Pattie Wolf", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106ec0000'), "author_name"=>"Arnold Walter", "content"=>["Asperiores iste ut voluptas non commodi voluptatem. Natus eligendi provident. Quia voluptatum consequatur atque qui praesentium doloribus. A molestiae labore id."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106ed0000'), "author_name"=>"Jovany McKenzie DDS", "content"=>["Voluptatibus et fuga rem aut repellendus possimus. Quia quas sunt. Quo repellat iste saepe dolor et ducimus consequatur. Numquam occaecati maiores assumenda vitae autem esse voluptates."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4eac7735332106ee0000", "comment_id"=>"548f4eac7735332106ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106ee0000')} 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('548f4eac7735332106ee0000'), "comments._id"=>BSON::ObjectId('548f4eac7735332106ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4eac7735332106ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Redirected to http://test.host/products/548f4eac7735332106ee0000/comments/548f4eac7735332106ec0000/comments/548f4eac7735332106ef0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106f20000'), "name"=>"Mrs. Jocelyn Marvin", "reference"=>"Dion Dare", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f00000'), "author_name"=>"Dr. Colby Monahan", "content"=>["Et et non totam necessitatibus illo et. Alias amet temporibus facilis libero aliquam. Corrupti maiores doloremque voluptas. Quos totam quo assumenda enim fuga."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f10000'), "author_name"=>"Arielle Friesen", "content"=>["Sed et fugit esse tempora et consequuntur fugiat. Nemo ex autem iusto ut quos. Eaque qui vero ut saepe assumenda nostrum."]}]}]}] 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('548f4eac7735332106f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4eac7735332106f20000", "comment_id"=>"548f4eac7735332106f00000", "id"=>"548f4eac7735332106f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106f20000'), "comments._id"=>BSON::ObjectId('548f4eac7735332106f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4eac7735332106f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Redirected to http://test.host/products/548f4eac7735332106f20000/comments/548f4eac7735332106f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106f50000'), "name"=>"Derek Schaden", "reference"=>"Letha Harvey MD", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f30000'), "author_name"=>"Dr. Kiel Schumm", "content"=>["Eligendi ipsam necessitatibus. Quisquam qui excepturi voluptas eos sit dignissimos aliquam. Voluptatem et et et tenetur voluptatum. Perspiciatis molestiae qui."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f40000'), "author_name"=>"Mossie Nitzsche", "content"=>["Dignissimos velit voluptas sed consequatur exercitationem cumque rem. Quis rerum assumenda placeat in delectus perferendis ea. Doloribus qui omnis sint ratione quasi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4eac7735332106f50000", "comment_id"=>"548f4eac7735332106f30000", "id"=>"548f4eac7735332106f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4845ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106f80000'), "name"=>"Krystal Feeney", "reference"=>"Shanelle Goodwin MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f60000'), "author_name"=>"Savannah Kertzmann", "content"=>["Laudantium possimus quae optio et ad esse. Porro inventore sit quam quidem ea. Qui ea aliquid."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f70000'), "author_name"=>"Mrs. Sydney Douglas", "content"=>["Distinctio non aperiam itaque perspiciatis est. Amet et sunt qui beatae. Modi omnis reiciendis ducimus suscipit ea nostrum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4eac7735332106f80000", "comment_id"=>"548f4eac7735332106f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106fb0000'), "name"=>"Jonatan Yundt", "reference"=>"Leon Farrell", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106f90000'), "author_name"=>"Lesley Hayes", "content"=>["Aut ipsa maiores veniam. Aliquam consequuntur soluta aut consectetur sint. Esse et ipsa rerum eius fuga."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106fa0000'), "author_name"=>"Julian Graham", "content"=>["Ullam ipsum odit. Eos et ut nulla dolor aut molestiae laudantium. Vitae quia laboriosam enim non veniam porro et. Saepe voluptas esse dolorem labore quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4eac7735332106fb0000", "comment_id"=>"548f4eac7735332106f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106fe0000'), "name"=>"Anthony Kreiger", "reference"=>"Tre Reichel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106fc0000'), "author_name"=>"Mabel Little", "content"=>["Magnam cupiditate quo cumque doloribus et sapiente possimus. Quo ipsam esse aperiam. Vel et impedit qui quis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106fd0000'), "author_name"=>"Khalil Rice", "content"=>["Non eligendi quibusdam illo consequuntur ipsum rerum ratione. Rerum soluta voluptas sequi. Natus tempora minima molestias quibusdam aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4eac7735332106fe0000", "comment_id"=>"548f4eac7735332106fc0000", "id"=>"548f4eac7735332106fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106010100'), "name"=>"Miss Everette Padberg", "reference"=>"Isom Zemlak", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106ff0000'), "author_name"=>"Mrs. Domingo Leannon", "content"=>["Incidunt vel accusamus. Sint dolore rem recusandae et reprehenderit cupiditate. In non vel veritatis ad. Neque non eum ex maiores est non fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106000100'), "author_name"=>"Trudie McLaughlin", "content"=>["Dolorem inventore rerum autem quod. Temporibus blanditiis aliquam. Blanditiis quasi voluptatem quia repellendus soluta. Praesentium earum quis et voluptatem. Aliquam qui fugiat soluta nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4eac7735332106010100", "comment_id"=>"548f4eac7735332106ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106040100'), "name"=>"Marilie Gaylord", "reference"=>"Melba Shanahan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106020100'), "author_name"=>"Sandy Upton IV", "content"=>["Eligendi molestiae numquam qui et. Fugit velit occaecati. Ipsa illum in qui id. Nulla ducimus aliquam quod nobis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106030100'), "author_name"=>"Mrs. Wilfrid Flatley", "content"=>["Earum quas quia. Optio suscipit et repellat. Dignissimos itaque cumque alias odit est quam. Aliquid id alias quia. Corrupti impedit ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4eac7735332106040100", "comment_id"=>"548f4eac7735332106020100", "id"=>"548f4eac7735332106030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4eac7735332106070100'), "name"=>"Lorena Zemlak", "reference"=>"Alford Hackett DVM", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106050100'), "author_name"=>"Filomena Steuber I", "content"=>["Velit explicabo ut labore quasi vero sed. Quisquam neque qui ipsa et dolorem numquam sit. Corporis voluptatem illum vero repellat. Quaerat saepe voluptatem. Qui eius quasi."], "comments"=>[{"_id"=>BSON::ObjectId('548f4eac7735332106060100'), "author_name"=>"Angela Hartmann", "content"=>["Ullam alias id. Dolorem at aut dolore. Impedit maiores eaque commodi voluptatum tenetur provident fugiat. Sed dolores fugiat unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4eac7735332106060100", "product_id"=>"548f4eac7735332106070100", "comment_id"=>"548f4eac7735332106050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4eac7735332106070100'), "comments._id"=>BSON::ObjectId('548f4eac7735332106050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4eac7735332106060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Redirected to http://test.host/products/548f4eac7735332106070100/comments/548f4eac7735332106050100/comments/548f4eac7735332106060100 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('548f4eac7735332106080100'), "firstname"=>"Gino", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms 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('548f4eac7735332106090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms Redirected to http://test.host/users/548f4eac7735332106090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2014ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eac77353321060a0100'), "firstname"=>"Liam", "lastname"=>"Mann"}] 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=>"admin_users", :query=>{}} runtime: 0.1866ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4eac77353321060a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eac77353321060a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eac77353321060a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms 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('548f4eac77353321060b0100'), "firstname"=>"Timmothy", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4eac77353321060b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eac77353321060b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eac77353321060c0100'), "firstname"=>"Rick", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3830ms 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.3814ms Completed 200 OK in 9ms (Views: 8.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4eac77353321060d0100'), "firstname"=>"Lempi", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('548f4eac77353321060e0100'), "firstname"=>"Frederik", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4eac77353321060e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eac77353321060e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms 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('548f4eac77353321060f0100'), "firstname"=>"Lazaro", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4eac77353321060f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4eac77353321060f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms Unpermitted parameters: name Redirected to http://test.host/users/548f4eac77353321060f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5003ms 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.4839ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms 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.4231ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6141ms 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.4175ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2000000'), "firstname"=>"Jay", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2112ms 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('548f4f1877353322a2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms 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.2564ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2020000'), "firstname"=>"Raphael", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f1877353322a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2030000'), "firstname"=>"Everett", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.9941ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2040000'), "firstname"=>"Elisa", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5420ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4f1877353322a2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2050000'), "firstname"=>"Leanne", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4837ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4f1877353322a2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms 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('548f4f1877353322a2060000'), "name"=>"Dr. Jasen Hudson", "reference"=>"Camila Connelly", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a2070000'), "author_name"=>"Rosalia Olson", "content"=>["Et pariatur sed dolores recusandae exercitationem et. Minima harum soluta deleniti a aut. Consequatur a ut quo fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f1877353322a2060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3725ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f1877353322a2080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms Redirected to http://test.host/admin/products/548f4f1877353322a2060000/comments/548f4f1877353322a2080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2090000'), "name"=>"Ms. Elta Boyle", "reference"=>"Fleta Cummerata V", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a20a0000'), "author_name"=>"Jessyca Sipes", "content"=>["Explicabo consequuntur dolor nostrum et eos sed. Fugit voluptatem vel. Vel id nisi repudiandae est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f1877353322a2090000", "id"=>"548f4f1877353322a20a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f1877353322a20a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms Redirected to http://test.host/admin/products/548f4f1877353322a2090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a20b0000'), "name"=>"Rowland Schiller", "reference"=>"Mireya Thompson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a20c0000'), "author_name"=>"Mr. Eladio Romaguera", "content"=>["Qui doloribus incidunt reiciendis labore beatae ipsam. Architecto et id culpa neque. Vel consequuntur expedita vero autem vitae. Accusamus dolor blanditiis. Ab dolores assumenda non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f1877353322a20b0000", "id"=>"548f4f1877353322a20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a20d0000'), "name"=>"Emmanuelle Dicki", "reference"=>"Emmie Jones", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a20e0000'), "author_name"=>"Muriel Conroy", "content"=>["At consequatur fugiat. Eligendi error eum velit nobis aut enim id. Accusantium omnis vel et est veniam qui nisi. Sunt saepe corporis velit. Consequatur ducimus quia omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.1414ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4f1877353322a20d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms Completed 200 OK in 6ms (Views: 3.5ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a20f0000'), "name"=>"Ms. Matilde Kling", "reference"=>"Candida Champlin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a2100000'), "author_name"=>"Jude Crooks", "content"=>["Corrupti repellat omnis mollitia laborum necessitatibus est quia. Voluptatem cumque culpa aut doloremque praesentium veritatis dicta. Molestias voluptatibus qui iste beatae quas ducimus nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5408ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4f1877353322a20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2110000'), "name"=>"Soledad McLaughlin Jr.", "reference"=>"Grover Bashirian", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a2120000'), "author_name"=>"Braxton Kemmer", "content"=>["Quibusdam accusamus illo dignissimos numquam autem aperiam fugit. Est et voluptas eos. Molestias voluptas odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5370ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4f1877353322a2110000", "id"=>"548f4f1877353322a2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4017ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2130000'), "name"=>"Leora Hagenes", "reference"=>"Mrs. Jaydon Lubowitz", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1877353322a2140000'), "author_name"=>"Lacey Bartell", "content"=>["Repellat dolores aut voluptatem cum eos aut. Qui possimus et aut corrupti ut. Unde veritatis expedita cumque voluptatum rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f1877353322a2140000", "product_id"=>"548f4f1877353322a2130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2130000'), "comments._id"=>BSON::ObjectId('548f4f1877353322a2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms Redirected to http://test.host/admin/products/548f4f1877353322a2130000/comments/548f4f1877353322a2140000 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('548f4f1877353322a2150000'), "name"=>"Serena Parker", "reference"=>"Kendall Haag", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a2160000'), "firstname"=>"Wyman", "lastname"=>"Gislason"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f1877353322a2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a2170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms Redirected to http://test.host/admin/products/548f4f1877353322a2150000/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('548f4f1877353322a2180000'), "name"=>"Terrence Kihn", "reference"=>"Rey Aufderhar II", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a2190000'), "firstname"=>"Ephraim", "lastname"=>"Abernathy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4f1877353322a2190000", "product_id"=>"548f4f1877353322a2180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a21a0000'), "name"=>"Kaia Walsh MD", "reference"=>"Dandre Vandervort", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a21b0000'), "firstname"=>"Augustine", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4f1877353322a21a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a21c0000'), "name"=>"Lizeth Rice", "reference"=>"Lauriane Brekke", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a21d0000'), "firstname"=>"Aylin", "lastname"=>"Hermann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4f1877353322a21d0000", "product_id"=>"548f4f1877353322a21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a21e0000'), "name"=>"Karine Marks", "reference"=>"Erik Armstrong III", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f1877353322a21f0000'), "firstname"=>"Wallace", "lastname"=>"Cremin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4f1877353322a21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f1877353322a21e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4f1877353322a21e0000/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('548f4f1877353322a2200000'), "name"=>"Mrs. Arthur Greenholt", "reference"=>"Kira Zboncak", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1341ms 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('548f4f1877353322a2210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms Redirected to http://test.host/admin/products/548f4f1877353322a2210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1508ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2220000'), "name"=>"Amparo Bahringer", "reference"=>"Mrs. Marley Rippin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1336ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4f1877353322a2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms 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.1492ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2230000'), "name"=>"Suzanne Terry", "reference"=>"Mr. Henriette Murazik", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4f1877353322a2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2240000'), "name"=>"Mireille Sauer", "reference"=>"Althea Walter", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms 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.4570ms 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('548f4f1877353322a2250000'), "name"=>"Branson Ferry", "reference"=>"Dr. Emmet Feeney", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 18ms (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('548f4f1877353322a2280000'), "name"=>"Adell Gleason", "reference"=>"Mrs. Norwood Sanford", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4f1877353322a2280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2290000'), "name"=>"Sophie Hermann I", "reference"=>"Nona Satterfield Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f1877353322a2290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1877353322a2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms Redirected to http://test.host/admin/products/548f4f1877353322a2290000 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('548f4f1877353322a22a0000'), "firstname"=>"Marilou", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6645ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1702ms 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('548f4f1877353322a22b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms Redirected to http://test.host/admin/users/548f4f1877353322a22b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1478ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a22c0000'), "firstname"=>"Jeremy", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1576ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4f1877353322a22c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1877353322a22c0000')} 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('548f4f1877353322a22c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms 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.1388ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a22d0000'), "firstname"=>"Consuelo", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4f1877353322a22d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1877353322a22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a22e0000'), "firstname"=>"Loy", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms 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.2769ms 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('548f4f1877353322a22f0000'), "firstname"=>"Filiberto", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('548f4f1877353322a2300000'), "firstname"=>"Eunice", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4f1877353322a2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1877353322a2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2310000'), "firstname"=>"Lexie", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4f1877353322a2310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1877353322a2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4f1877353322a2310000 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('548f4f1877353322a2320000'), "firstname"=>"Dillon", "lastname"=>"Ledner"}] 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=>"administrators", :query=>{}} runtime: 0.1614ms 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('548f4f1877353322a2330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms 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.1767ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2340000'), "firstname"=>"Eloise", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f1877353322a2340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2350000'), "firstname"=>"Halie", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2360000'), "firstname"=>"Krista", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4922ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4f1877353322a2360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4477ms Completed 200 OK in 6ms (Views: 3.9ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2370000'), "firstname"=>"Ford", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6042ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4f1877353322a2370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f1877353322a2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2380000'), "name"=>"Rosella Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2390000'), "name"=>"Dr. Brendon Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23a0000'), "name"=>"Maxie Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23b0000'), "name"=>"Elias Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23c0000'), "name"=>"Clarissa Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23d0000'), "name"=>"Miss Grace Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23e0000'), "name"=>"Candace Hyatt I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a23f0000'), "name"=>"Elza Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2400000'), "name"=>"Zoila McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2410000'), "name"=>"Janiya Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2420000'), "name"=>"Iliana Schneider DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2430000'), "name"=>"Charlie Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2440000'), "name"=>"Addison Kling MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2450000'), "name"=>"Isaiah Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2460000'), "name"=>"Clotilde Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2470000'), "name"=>"Dr. Corbin Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2480000'), "name"=>"Lew Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2490000'), "name"=>"Otis Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24a0000'), "name"=>"Robb Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24b0000'), "name"=>"Brionna Anderson III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24c0000'), "name"=>"Mrs. Madyson Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24d0000'), "name"=>"Elizabeth Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24e0000'), "name"=>"Euna Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a24f0000'), "name"=>"Holly Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a24f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2500000'), "name"=>"Marty Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2510000'), "name"=>"Mr. Kaitlyn Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2520000'), "name"=>"Judson Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2530000'), "name"=>"Dr. Janiya Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2540000'), "name"=>"Mr. Fabiola Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2550000'), "name"=>"Mr. Lyda Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2560000'), "name"=>"Kavon Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2570000'), "name"=>"Mervin Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2580000'), "name"=>"Mr. Winfield Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2590000'), "name"=>"Ralph Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25a0000'), "name"=>"Kyle Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25b0000'), "name"=>"Dr. Pete Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25c0000'), "name"=>"Sharon Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25d0000'), "name"=>"Tara Pollich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25e0000'), "name"=>"Grover Hermiston IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a25f0000'), "name"=>"Eugenia Ratke DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a25f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2600000'), "name"=>"Elyse Adams II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2610000'), "name"=>"Liam Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2620000'), "name"=>"Bernadette Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2630000'), "name"=>"Jovani Hilpert IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2640000'), "name"=>"Rick Hartmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2650000'), "name"=>"Lucinda Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2660000'), "name"=>"Earline Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2670000'), "name"=>"Minnie Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2680000'), "name"=>"Rey Gutkowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2690000'), "name"=>"Vesta Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26a0000'), "name"=>"Ted Christiansen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26b0000'), "name"=>"Dr. Jermaine Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26c0000'), "name"=>"Elissa Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26d0000'), "name"=>"Virgil Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26e0000'), "name"=>"Rozella Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a26f0000'), "name"=>"Danyka Christiansen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a26f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2700000'), "name"=>"Ms. Juston Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2710000'), "name"=>"Kattie Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2720000'), "name"=>"Marielle Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2730000'), "name"=>"Deron Moen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2740000'), "name"=>"Immanuel Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2750000'), "name"=>"Billy Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2760000'), "name"=>"Mr. Jabari Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2770000'), "name"=>"Baron King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2780000'), "name"=>"Mrs. Libbie Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a2790000'), "name"=>"Verda Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a27a0000'), "name"=>"Anika Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a27a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a27b0000'), "name"=>"Mr. Glen Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a27b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a27c0000'), "name"=>"Emilie Heathcote MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a27c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a27d0000'), "name"=>"Oma Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1877353322a27e0000'), "name"=>"Benedict Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1877353322a27e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a27f0000'), "name"=>"Mr. Kaela Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a27f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2800000'), "name"=>"Lincoln Konopelski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2810000'), "name"=>"Kiana West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2820000'), "name"=>"Omer Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2830000'), "name"=>"Ms. Raheem Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2840000'), "name"=>"Avery Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2850000'), "name"=>"Mrs. Kavon Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2860000'), "name"=>"Miss Nikolas MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2870000'), "name"=>"Alisa Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2880000'), "name"=>"Urban Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2890000'), "name"=>"Ladarius Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28a0000'), "name"=>"Mr. Zoila Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28b0000'), "name"=>"Delaney Kuhic DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28c0000'), "name"=>"Isaias Ward MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28d0000'), "name"=>"Verdie Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28e0000'), "name"=>"Cathy Luettgen DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a28f0000'), "name"=>"Orlando Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a28f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2900000'), "name"=>"Brandt Jacobs DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2910000'), "name"=>"Nickolas Hermann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2920000'), "name"=>"Nannie Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2930000'), "name"=>"Salvatore Kling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2940000'), "name"=>"Cassie Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2950000'), "name"=>"Flavie Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2960000'), "name"=>"Leann Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2970000'), "name"=>"Boyd Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1531ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Redirected to http://test.host/categories/548f4f1977353322a2980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2547ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2990000'), "name"=>"Alene Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2117ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4f1977353322a2990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a2990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2714ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a29a0000'), "name"=>"Perry Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4f1977353322a29a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (7.0ms) Completed 200 OK in 12ms (Views: 11.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a29b0000'), "name"=>"Nathanael Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305348247191] runtime: 0.0959ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2303ms Completed 200 OK in 16ms (Views: 15.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a29c0000'), "name"=>"Sylvia Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306130996731] runtime: 0.0743ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2123ms Completed 200 OK in 9ms (Views: 8.0ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a29d0000'), "name"=>"Miss Alvah Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a29f0000'), "name"=>"Alejandrin Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4f1977353322a29f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2a00000'), "name"=>"Ulices Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4f1977353322a2a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f1977353322a2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms Redirected to http://test.host/categories/548f4f1977353322a2a00000 Completed 302 Found in 29ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2a10000'), "name"=>"Jesse Kertzmann", "reference"=>"Ms. Frederik Mohr", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2a20000'), "author_name"=>"Irving Casper", "content"=>["Quia aut in et. Odit voluptas sit vero fugit et voluptatem molestiae. Aut et rerum. Beatae doloremque at dolorem a dolore. Rem id vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f1977353322a2a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms Redirected to http://test.host/products/548f4f1977353322a2a10000/comments/548f4f1977353322a2a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2a40000'), "name"=>"Ruthie Kemmer", "reference"=>"Isaac Grady", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2a50000'), "author_name"=>"Jacey Pacocha", "content"=>["Id placeat iste quis aut ullam. Aut libero id enim totam eaque. Quia modi in quos nesciunt. Cumque voluptatem hic tenetur quam voluptates doloribus corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f1977353322a2a40000", "id"=>"548f4f1977353322a2a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Redirected to http://test.host/products/548f4f1977353322a2a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2a60000'), "name"=>"Everett Leannon", "reference"=>"Mr. Candice Borer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2a70000'), "author_name"=>"Ruth Klein", "content"=>["Est deserunt odio magnam. Omnis sunt id. Vitae vel ipsa deleniti id pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3658ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f1977353322a2a60000", "id"=>"548f4f1977353322a2a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5172ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 10.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2a80000'), "name"=>"Elouise Christiansen", "reference"=>"Cora Waters", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2a90000'), "author_name"=>"Mrs. Fletcher Howe", "content"=>["Modi exercitationem rem beatae saepe consectetur dolorem velit. Similique reprehenderit omnis. Qui architecto consequatur explicabo vel cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6293ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4f1977353322a2a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4306ms Completed 200 OK in 8ms (Views: 5.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2aa0000'), "name"=>"Mrs. Fiona Herman", "reference"=>"Arden Fadel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2ab0000'), "author_name"=>"Ms. Toby Krajcik", "content"=>["Voluptate fugiat asperiores voluptatem. Ea quia sit id eligendi assumenda repudiandae. Perspiciatis ipsam eligendi. Fugiat maxime praesentium quasi. Eum qui sit dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5965ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4f1977353322a2aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2ac0000'), "name"=>"Kariane Johnston", "reference"=>"Amalia Kassulke", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2ad0000'), "author_name"=>"Leo Labadie", "content"=>["Harum sapiente molestiae et illum. Tenetur perferendis voluptatem magni. Commodi sequi mollitia. Maxime aut consequatur error. Reiciendis ut culpa voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4f1977353322a2ac0000", "id"=>"548f4f1977353322a2ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2ae0000'), "name"=>"Ima Buckridge", "reference"=>"Braeden Schoen", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2af0000'), "author_name"=>"Durward Kutch", "content"=>["Facilis similique temporibus amet. Et voluptas repellendus. Eligendi provident quis velit voluptas. Doloribus et quis qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4f1977353322a2ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4013ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.3ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2b00000'), "name"=>"Dovie Cruickshank Jr.", "reference"=>"Crawford Wehner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2b10000'), "author_name"=>"Ms. Ethelyn Cremin", "content"=>["Dolorum doloribus molestiae possimus cumque. Cum laborum deleniti. Culpa sunt rem et tempore et dignissimos quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5868ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4f1977353322a2b00000", "id"=>"548f4f1977353322a2b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4119ms Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2b20000'), "name"=>"Jorge Green", "reference"=>"Kaitlin Bergnaum", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1977353322a2b30000'), "author_name"=>"Joelle Klein", "content"=>["Iusto iure cum deserunt quis veritatis. Error fugiat id est non praesentium. Hic est molestias fugit et architecto. Doloribus possimus ut officiis est. Iste sed voluptatem consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5592ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f1977353322a2b30000", "product_id"=>"548f4f1977353322a2b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b20000'), "comments._id"=>BSON::ObjectId('548f4f1977353322a2b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5653ms Redirected to http://test.host/products/548f4f1977353322a2b20000/comments/548f4f1977353322a2b30000 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('548f4f1977353322a2b40000'), "firstname"=>"Iva", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6636ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3272ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5272ms Redirected to http://test.host/admin/clients/548f4f1977353322a2b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3506ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2b60000'), "firstname"=>"Raina", "lastname"=>"Stoltenberg"}] 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=>"clients", :query=>{}} runtime: 0.2877ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4f1977353322a2b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms 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.2052ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2b70000'), "firstname"=>"Gilda", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f1977353322a2b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms Rendered /home/geoffroy/projects/crealettres/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('548f4f1977353322a2b80000'), "firstname"=>"Keyshawn", "lastname"=>"Ward"}] 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.3907ms 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('548f4f1977353322a2b90000'), "firstname"=>"Adolph", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6040ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 7ms (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('548f4f1977353322a2ba0000'), "firstname"=>"Elenor", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5445ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f1977353322a2ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms 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('548f4f1977353322a2bb0000'), "firstname"=>"Doris", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f1977353322a2bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1926ms Redirected to http://test.host/admin/clients/548f4f1977353322a2bb0000 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('548f4f1977353322a2bc0000'), "firstname"=>"Jonatan", "lastname"=>"Jerde"}] 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=>"clients", :query=>{}} runtime: 0.2854ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Redirected to http://test.host/clients/548f4f1977353322a2bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2889ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2be0000'), "firstname"=>"Laurence", "lastname"=>"Wiza"}] 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=>"clients", :query=>{}} runtime: 0.2615ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4f1977353322a2be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms 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.2739ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2bf0000'), "firstname"=>"Dianna", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f1977353322a2bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms Rendered /home/geoffroy/projects/crealettres/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('548f4f1977353322a2c00000'), "firstname"=>"Rico", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4848ms 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('548f4f1977353322a2c10000'), "firstname"=>"Rahul", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5239ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4f1977353322a2c20000'), "firstname"=>"Rasheed", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5632ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f1977353322a2c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms 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('548f4f1977353322a2c30000'), "firstname"=>"Jovan", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f1977353322a2c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Redirected to http://test.host/clients/548f4f1977353322a2c30000 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('548f4f1977353322a2c40000'), "name"=>"Alfred Blick", "reference"=>"Clara Walsh DVM", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2c50000'), "firstname"=>"Shakira", "lastname"=>"Howe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f1977353322a2c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c40000')} 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('548f4f1977353322a2c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Redirected to http://test.host/products/548f4f1977353322a2c40000/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('548f4f1977353322a2c70000'), "name"=>"Gaylord Kiehn", "reference"=>"Mitchell Hills", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2c80000'), "firstname"=>"Tess", "lastname"=>"Carter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4f1977353322a2c80000", "product_id"=>"548f4f1977353322a2c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2c90000'), "name"=>"Ruben Hintz", "reference"=>"Annalise Gottlieb", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2ca0000'), "firstname"=>"Karolann", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5963ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4f1977353322a2c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2cb0000'), "name"=>"Ms. Myah Christiansen", "reference"=>"Shaniya Cormier", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2cc0000'), "firstname"=>"Markus", "lastname"=>"Buckridge"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4f1977353322a2cc0000", "product_id"=>"548f4f1977353322a2cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2cd0000'), "name"=>"Rudolph Klocko", "reference"=>"Carmel Beer", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4f1977353322a2ce0000'), "firstname"=>"Leopold", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4f1977353322a2ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f1977353322a2cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms Unpermitted parameters: name Redirected to http://test.host/products/548f4f1977353322a2cd0000/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('548f4f1977353322a2cf0000'), "name"=>"Etha Deckow", "reference"=>"Miss Lambert Funk", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d00000'), "name"=>"Miss Roberta Hermann", "reference"=>"Sherwood Runte Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d10000'), "name"=>"Ms. Emil McLaughlin", "reference"=>"Mariano Kihn", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d20000'), "name"=>"Zetta Johnston", "reference"=>"Travis Volkman", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d30000'), "name"=>"Dr. Sydnee Doyle", "reference"=>"Dr. Desiree Lubowitz", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d40000'), "name"=>"Anita Rempel", "reference"=>"Laurel Nicolas", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.8085ms Redirected to http://test.host/products/548f4f1977353322a2d50000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3123ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d60000'), "name"=>"Karen Keeling IV", "reference"=>"Judah Howell PhD", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1822ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4f1977353322a2d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms 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('548f4f1977353322a2d70000'), "name"=>"Miss Kathlyn Corkery", "reference"=>"Jorge Ward MD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4f1977353322a2d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1977353322a2d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('548f4f1977353322a2d80000'), "name"=>"London Koepp", "reference"=>"Keegan Robel", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8899ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132661113] runtime: 0.1053ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3540ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2d90000'), "name"=>"Dr. Germaine Bailey", "reference"=>"Connie Heaney", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2da0000'), "name"=>"HelloWorld", "reference"=>"Natalia Buckridge", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2db0000'), "name"=>"value", "reference"=>"Roy Raynor", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5028ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3653ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3234ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2377ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2476ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms Completed 200 OK in 10ms (Views: 9.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4535ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3475ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2978ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1977353322a2dc0000'), "name"=>"Cleta Hane", "reference"=>"Genevieve Bartell IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279733039544] runtime: 0.1744ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3278ms Completed 200 OK in 34ms (Views: 32.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281258526684] runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476951468] runtime: 0.0945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593414311] runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 34.0257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279772967564] runtime: 0.1141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782276943] runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280102752464] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280625636684] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280527760832] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690381392] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504774923] runtime: 0.0944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736530606] runtime: 0.0825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219259685] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279835794213] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072819639] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280511452622] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571639795] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022059726] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279549112283] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279458934717] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351793792] runtime: 0.0751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532949666] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280852002784] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476047320] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281104596472] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902093438] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627094151] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280899644144] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312258984] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280861692463] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557859549] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496637209] runtime: 0.1068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014263119] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311055090] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144281301] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431173123] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279916058889] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885188768] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717072365] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280981946341] runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279829080007] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280693239178] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279252583313] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997153275] runtime: 0.0932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279420568775] runtime: 0.0877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280726653480] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280687466209] runtime: 0.0793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794146037] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281091109274] runtime: 0.0728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280097896562] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712155561] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949808423] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379177045] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279953548934] runtime: 0.0745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154537511] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279720049640] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118458088] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645053958] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251171157] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280471764410] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241879807] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253782855] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280140581628] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279965476574] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280240597690] runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279528995178] runtime: 0.0858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725416155] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281276267842] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845367721] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280357269020] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603433252] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279952296931] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280043848437] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280406483482] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120483767] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277508424] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748099629] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280526331852] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477856905] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280396530009] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279764035135] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497822187] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663353141] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876317826] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279544079390] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279321776166] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353782714] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497597379] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680888023] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280540953837] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584428743] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253600679] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280495215399] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280359166532] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792043967] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279617138425] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742697210] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040845250] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280377118563] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136294980] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660592384] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978247007] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477363819] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279238659803] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281026808411] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280626407215] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648544806] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280273526880] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862863898] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280900249678] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280584497070] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280232891626] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279531768749] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279728105111] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922942413] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279769361386] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517050133] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362602380] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279647458987] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280562613299] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280715821153] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859138038] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191103119] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281194571153] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793175656] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120042929] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543706237] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279917672439] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279940039813] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279756379236] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279800517269] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923376832] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279958812158] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279988838645] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736489934] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280522229098] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296389916] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908781759] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557091086] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034875105] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280919633855] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280489291811] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279565482474] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668909327] runtime: 0.0973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806759682] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279773071472] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279194700811] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279258499322] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820030232] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114434277] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625706957] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052738864] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154997757] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192011963] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055969720] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090168484] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280721863783] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279566836502] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281166565440] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815420882] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583720432] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908102202] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312970320] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280474077794] runtime: 0.0596ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2dd0000'), "name"=>"Ned Boyer", "reference"=>"Aletha Kuhlman", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3154ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1793ms Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2de0000'), "name"=>"Alberta Towne", "reference"=>"Maudie Ziemann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282014368] runtime: 0.0688ms Completed 200 OK in 5ms (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('548f4f1a77353322a2df0000'), "name"=>"Dr. Douglas McLaughlin", "reference"=>"Nils Deckow", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4f1a77353322a2df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms 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('548f4f1a77353322a2e00000'), "name"=>"Dr. Lionel Abshire", "reference"=>"Kaleigh Rosenbaum", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2e20000'), "name"=>"Mrs. Israel Rogahn", "reference"=>"Alfonso Bradtke", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4f1a77353322a2e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2e30000'), "name"=>"Nikolas Harvey", "reference"=>"Mrs. Eleanore Lemke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3455ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2994ms Completed 500 Internal Server Error in 6ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2e40000'), "name"=>"Alanis Ankunding", "reference"=>"Abbigail Parisian IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms Completed 500 Internal Server Error in 5ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2e50000'), "name"=>"Audreanne Schultz Jr.", "reference"=>"Curt Greenfelder", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms 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('548f4f1a77353322a2e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2310ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2e70000'), "name"=>"Hermann Hoppe", "reference"=>"Shanny Emard", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4f1a77353322a2e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2e70000')} 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('548f4f1a77353322a2e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms 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('548f4f1a77353322a2e80000'), "name"=>"Adalberto Dickinson", "reference"=>"Sylvan Yundt", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms 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('548f4f1a77353322a2ea0000'), "name"=>"Mr. Dedrick Schmidt", "reference"=>"Corrine Hane", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f1a77353322a2ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms 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('548f4f1a77353322a2eb0000'), "name"=>"Mr. Erich Hills", "reference"=>"Maxine Altenwerth", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f1a77353322a2eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2eb0000')} 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('548f4f1a77353322a2eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Redirected to http://test.host/products/548f4f1a77353322a2eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2ee0000'), "name"=>"Rene Parker", "reference"=>"Guillermo Nolan", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2ec0000'), "author_name"=>"Mrs. Timmy Lemke", "content"=>["Dolore voluptatem voluptate asperiores totam qui rerum eveniet. Sunt quam sapiente officiis ipsa. Rerum ipsum vel magni tenetur sequi qui dolor. In qui et aut aut praesentium rerum id. Quia et dolorum."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2ed0000'), "author_name"=>"Mr. Katrina Rowe", "content"=>["Porro deserunt ab ut iste. Praesentium possimus aliquam. Sint iure non velit. Non qui voluptas est id corporis quam ducimus. Nemo ab rerum minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f1a77353322a2ee0000", "comment_id"=>"548f4f1a77353322a2ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ee0000'), "comments._id"=>BSON::ObjectId('548f4f1a77353322a2ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f1a77353322a2ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms Redirected to http://test.host/products/548f4f1a77353322a2ee0000/comments/548f4f1a77353322a2ec0000/comments/548f4f1a77353322a2ef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f20000'), "name"=>"Brianne McClure", "reference"=>"Ms. Dylan McCullough", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f00000'), "author_name"=>"Andrew Moore", "content"=>["Cumque necessitatibus sed commodi nobis exercitationem. Quam similique id. Enim quaerat sapiente omnis consequuntur. Pariatur odit omnis ut sint consequuntur quis amet. Explicabo voluptatem vero."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f10000'), "author_name"=>"Dr. Kayden Pfeffer", "content"=>["Rerum ex recusandae voluptatibus. Mollitia ut adipisci commodi minima amet. Aliquid et maiores aspernatur aut cum maxime asperiores. Assumenda enim perferendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f1a77353322a2f20000", "comment_id"=>"548f4f1a77353322a2f00000", "id"=>"548f4f1a77353322a2f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f20000'), "comments._id"=>BSON::ObjectId('548f4f1a77353322a2f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f1a77353322a2f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Redirected to http://test.host/products/548f4f1a77353322a2f20000/comments/548f4f1a77353322a2f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2082ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f50000'), "name"=>"Freddy Boyle", "reference"=>"Mrs. Rollin Schowalter", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f30000'), "author_name"=>"Mrs. Willie Raynor", "content"=>["Et consequatur corrupti voluptas aut. Facere et minus culpa qui qui aut aspernatur. Quibusdam tempore officia commodi odit delectus iste et. Molestiae earum voluptatum perferendis. Quasi saepe qui quam cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f40000'), "author_name"=>"Burley Emmerich", "content"=>["Cupiditate optio non omnis. Qui recusandae dolores fugit deserunt impedit aut dicta. Repudiandae eius est. Iusto quaerat autem vero id officiis ipsam animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4f1a77353322a2f50000", "comment_id"=>"548f4f1a77353322a2f30000", "id"=>"548f4f1a77353322a2f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f80000'), "name"=>"Ms. Sibyl Torphy", "reference"=>"Natalie Paucek", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f60000'), "author_name"=>"Marco Zboncak", "content"=>["Nostrum nemo architecto perferendis ut sit in magnam. Et quas similique voluptates enim. Et sit tenetur occaecati placeat earum. Quis iure et veniam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f70000'), "author_name"=>"Bud Ebert", "content"=>["Odit magnam non nemo exercitationem eum facere. Unde aut consequatur laudantium dolor similique totam. Magnam iure et excepturi voluptate sunt voluptatum esse. Qui ut debitis aut nihil. Praesentium sed et et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4f1a77353322a2f80000", "comment_id"=>"548f4f1a77353322a2f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2fb0000'), "name"=>"Miss Lexie Corwin", "reference"=>"Elva Legros", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2f90000'), "author_name"=>"Elvera Emmerich", "content"=>["Qui ab accusantium quibusdam ipsa quisquam praesentium. Iste nisi eos dicta est. Rerum facilis et repudiandae eius placeat. Consequuntur unde velit tenetur necessitatibus perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2fa0000'), "author_name"=>"Laura Effertz", "content"=>["Id et accusamus quis aut maxime qui quod. Adipisci repellat ex dolor aut aliquam est. Odio temporibus quidem aut voluptatem provident sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4f1a77353322a2fb0000", "comment_id"=>"548f4f1a77353322a2f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2fe0000'), "name"=>"Vella Yost", "reference"=>"April Koepp", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2fc0000'), "author_name"=>"Sonny Senger", "content"=>["Temporibus cupiditate ut molestias. Distinctio dicta esse mollitia. Rerum impedit et facere commodi ut dolorem. Deleniti accusantium est saepe quo deserunt repudiandae ex."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2fd0000'), "author_name"=>"Felipe Dickens", "content"=>["Alias sit fugit assumenda. Libero mollitia repudiandae qui. Sit quia consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4f1a77353322a2fe0000", "comment_id"=>"548f4f1a77353322a2fc0000", "id"=>"548f4f1a77353322a2fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2010100'), "name"=>"Adelbert Fay", "reference"=>"Eugenia Howe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2ff0000'), "author_name"=>"Alvah Jast", "content"=>["Harum officia molestias adipisci maxime aliquid aut. Harum sed aliquam nostrum. Eaque impedit doloremque eius quos."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2000100'), "author_name"=>"Jesus Jakubowski DDS", "content"=>["Illum recusandae doloremque rerum optio vel ex. Repellendus doloremque consequuntur natus maxime. Et soluta a error atque. Libero quis corrupti rem. Repellat veniam atque tempore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4f1a77353322a2010100", "comment_id"=>"548f4f1a77353322a2ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2040100'), "name"=>"Kenna Wuckert", "reference"=>"Shanon Cummings", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2020100'), "author_name"=>"Makenzie Bosco", "content"=>["Odio est quis dolor ea ut aut. Porro molestias pariatur atque. Praesentium enim doloribus autem sit. Natus omnis dolor."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2030100'), "author_name"=>"Trey Gleason", "content"=>["Ut id aspernatur et repellat. Dicta neque odit qui hic voluptatibus consequatur. Et illo facere rerum laboriosam est necessitatibus. Sapiente omnis autem quia aspernatur consectetur accusantium suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4f1a77353322a2040100", "comment_id"=>"548f4f1a77353322a2020100", "id"=>"548f4f1a77353322a2030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a2070100'), "name"=>"Claudia Lehner", "reference"=>"Irma Witting", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2050100'), "author_name"=>"Margarette Kshlerin", "content"=>["Repudiandae nulla tempore quisquam deleniti nihil sit. Hic fugit error eveniet sed. Repellat sed est culpa veniam porro. Est doloribus esse voluptate eveniet sit. Beatae esse molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f1a77353322a2060100'), "author_name"=>"Leonardo Lindgren", "content"=>["Cupiditate rerum praesentium voluptatibus. Laudantium quia corporis sit voluptas dolorem. Minus sed similique iure dignissimos. Nihil ea dolorem laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f1a77353322a2060100", "product_id"=>"548f4f1a77353322a2070100", "comment_id"=>"548f4f1a77353322a2050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f1a77353322a2070100'), "comments._id"=>BSON::ObjectId('548f4f1a77353322a2050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4f1a77353322a2060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Redirected to http://test.host/products/548f4f1a77353322a2070100/comments/548f4f1a77353322a2050100/comments/548f4f1a77353322a2060100 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('548f4f1a77353322a2080100'), "firstname"=>"Florida", "lastname"=>"Harber"}] 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=>"admin_users", :query=>{}} runtime: 0.1544ms 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('548f4f1a77353322a2090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms Redirected to http://test.host/users/548f4f1a77353322a2090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a20a0100'), "firstname"=>"Ian", "lastname"=>"Christiansen"}] 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=>"admin_users", :query=>{}} runtime: 0.1465ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4f1a77353322a20a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1a77353322a20a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1a77353322a20a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms 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.1671ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a20b0100'), "firstname"=>"Sabina", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4f1a77353322a20b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1a77353322a20b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a20c0100'), "firstname"=>"Harry", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9781ms 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 37ms (Views: 36.1ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f1a77353322a20d0100'), "firstname"=>"Annette", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4f1a77353322a20e0100'), "firstname"=>"Tamara", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4f1a77353322a20e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1a77353322a20e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms 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('548f4f1a77353322a20f0100'), "firstname"=>"Lisette", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4f1a77353322a20f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f1a77353322a20f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Unpermitted parameters: name Redirected to http://test.host/users/548f4f1a77353322a20f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms 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.3146ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms 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.3221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms 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.2291ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b000000'), "firstname"=>"Floy", "lastname"=>"Friesen"}] 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=>"administrators", :query=>{}} runtime: 0.1783ms 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('548f4f3e773533237b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7245ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3475ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b020000'), "firstname"=>"Carlo", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4802ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b030000'), "firstname"=>"Lenora", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b040000'), "firstname"=>"Derick", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4f3e773533237b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b050000'), "firstname"=>"Andrew", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4f3e773533237b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms 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('548f4f3e773533237b060000'), "name"=>"Verona Moore", "reference"=>"Ms. Bridgette Hand", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b070000'), "author_name"=>"Jaiden Wyman", "content"=>["Ipsum dignissimos quia. Neque et maiores excepturi et eum non molestiae. Ab voluptatem consequuntur sint incidunt non. Aut repellat id corporis unde voluptas et tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f3e773533237b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Redirected to http://test.host/admin/products/548f4f3e773533237b060000/comments/548f4f3e773533237b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b090000'), "name"=>"Mallie Fadel", "reference"=>"Ms. Brandy Howe", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b0a0000'), "author_name"=>"David Price", "content"=>["Sunt dignissimos est aut. Provident possimus sint suscipit perspiciatis dolor. Quidem ut consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f3e773533237b090000", "id"=>"548f4f3e773533237b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b090000')} 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('548f4f3e773533237b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Redirected to http://test.host/admin/products/548f4f3e773533237b090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b0b0000'), "name"=>"Kellie Lebsack", "reference"=>"Tiara Graham", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b0c0000'), "author_name"=>"Dr. Kattie Veum", "content"=>["Dignissimos doloremque sint officia. Facilis officia eos sint. Aut tempora dolorem necessitatibus magni hic atque ut. Laboriosam nihil doloribus temporibus dicta. Illo optio voluptas at necessitatibus sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f3e773533237b0b0000", "id"=>"548f4f3e773533237b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b0d0000'), "name"=>"Karson Jacobi I", "reference"=>"Miss Stanley Schmeler", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b0e0000'), "author_name"=>"Leopold West", "content"=>["Nostrum aut ex sunt. Sint nihil quia voluptas accusantium rerum optio. Ad non optio laborum eaque cumque. Est perspiciatis qui amet voluptatum deserunt. Ex consectetur quia omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4f3e773533237b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b0f0000'), "name"=>"Hazle Beahan", "reference"=>"Kristopher Harris", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b100000'), "author_name"=>"Heloise Howe", "content"=>["Necessitatibus similique quos odio expedita. Qui qui aut alias ad numquam. Aspernatur laudantium ut dolor cum laboriosam. Voluptatibus reprehenderit ipsam cumque corporis vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4f3e773533237b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b110000'), "name"=>"Kian Larkin", "reference"=>"Keeley Ledner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b120000'), "author_name"=>"Pearline Sporer", "content"=>["Dolore dolores quia. Rem dolores placeat quia earum blanditiis facilis dolor. Velit magnam nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4f3e773533237b110000", "id"=>"548f4f3e773533237b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b130000'), "name"=>"Jeremie Heidenreich", "reference"=>"Alivia Walsh II", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3e773533237b140000'), "author_name"=>"Emilia Bogan II", "content"=>["Numquam labore sunt inventore. Et excepturi reprehenderit sed. Quae saepe voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f3e773533237b140000", "product_id"=>"548f4f3e773533237b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b130000')} 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('548f4f3e773533237b130000'), "comments._id"=>BSON::ObjectId('548f4f3e773533237b140000')} 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/548f4f3e773533237b130000/comments/548f4f3e773533237b140000 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('548f4f3e773533237b150000'), "name"=>"Skyla Kozey IV", "reference"=>"Kennedi Gerlach", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b160000'), "firstname"=>"Wilford", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f3e773533237b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms Redirected to http://test.host/admin/products/548f4f3e773533237b150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b180000'), "name"=>"Peyton Mante", "reference"=>"Rosalinda Stokes", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b190000'), "firstname"=>"Claud", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b190000", "product_id"=>"548f4f3e773533237b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b1a0000'), "name"=>"Jaida Senger", "reference"=>"Rashad Fay", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b1b0000'), "firstname"=>"Trever", "lastname"=>"White"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5447ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4f3e773533237b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b1c0000'), "name"=>"Jeanne Swaniawski", "reference"=>"Francisco Bosco", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b1d0000'), "firstname"=>"Rebekah", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4f3e773533237b1d0000", "product_id"=>"548f4f3e773533237b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b1e0000'), "name"=>"Patrick Dicki", "reference"=>"Ronaldo Huel", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4f3e773533237b1f0000'), "firstname"=>"Glen", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4f3e773533237b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f3e773533237b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4f3e773533237b1e0000/manager 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('548f4f3e773533237b200000'), "name"=>"Evan Larkin", "reference"=>"Karen Paucek", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.1725ms 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('548f4f3e773533237b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Redirected to http://test.host/admin/products/548f4f3e773533237b210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2075ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b220000'), "name"=>"Rudy Gerlach DVM", "reference"=>"Dr. Jewel Upton", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1702ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4f3e773533237b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms 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.1679ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b230000'), "name"=>"Missouri Sanford", "reference"=>"Winona Zulauf I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b240000'), "name"=>"Korbin Walsh", "reference"=>"Imani Quitzon", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms 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.4715ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b250000'), "name"=>"Marlon Christiansen", "reference"=>"Cara Satterfield Sr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('548f4f3e773533237b280000'), "name"=>"Enos Rogahn", "reference"=>"Marcel Quigley", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4f3e773533237b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms 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('548f4f3e773533237b290000'), "name"=>"Mr. Jaquan Hegmann", "reference"=>"Dereck Dooley", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f3e773533237b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3e773533237b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms Redirected to http://test.host/admin/products/548f4f3e773533237b290000 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('548f4f3e773533237b2a0000'), "firstname"=>"Augusta", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1403ms 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('548f4f3e773533237b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms Redirected to http://test.host/admin/users/548f4f3e773533237b2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1632ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b2c0000'), "firstname"=>"Rashawn", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1228ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4f3e773533237b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f3e773533237b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f3e773533237b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms 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.1334ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b2d0000'), "firstname"=>"Michale", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f3e773533237b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b2e0000'), "firstname"=>"Maggie", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms 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.2778ms 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('548f4f3e773533237b2f0000'), "firstname"=>"Tara", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('548f4f3e773533237b300000'), "firstname"=>"Stefan", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4f3e773533237b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f3e773533237b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms 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('548f4f3e773533237b310000'), "firstname"=>"Birdie", "lastname"=>"Hudson"}] 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"=>"548f4f3e773533237b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f3e773533237b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4f3e773533237b310000 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('548f4f3e773533237b320000'), "firstname"=>"Sammie", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1335ms 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('548f4f3e773533237b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms 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.1524ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b340000'), "firstname"=>"Dillon", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b350000'), "firstname"=>"Boyd", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b360000'), "firstname"=>"Maud", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4f3e773533237b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b370000'), "firstname"=>"Cullen", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4f3e773533237b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f3e773533237b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b380000'), "name"=>"Edmond Auer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b390000'), "name"=>"Mylene Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3a0000'), "name"=>"Grover Hodkiewicz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3b0000'), "name"=>"Cyrus Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3c0000'), "name"=>"Frederick Larson DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3d0000'), "name"=>"Andy Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3e0000'), "name"=>"Elbert Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b3f0000'), "name"=>"Eugenia Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b400000'), "name"=>"Isabella Harvey PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b410000'), "name"=>"Camilla Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b420000'), "name"=>"Jalyn Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b430000'), "name"=>"Muriel Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b440000'), "name"=>"Orlando O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b450000'), "name"=>"Pierre Heathcote II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b460000'), "name"=>"Rico Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b470000'), "name"=>"Ms. Laurianne Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b480000'), "name"=>"Norene Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b490000'), "name"=>"Monica Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4a0000'), "name"=>"Ms. Nia Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4b0000'), "name"=>"Arnulfo Franecki I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4c0000'), "name"=>"Maryse Jacobi III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4d0000'), "name"=>"Bradford Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4e0000'), "name"=>"Eda Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b4f0000'), "name"=>"Raleigh Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b500000'), "name"=>"Miss Alfonso Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b510000'), "name"=>"Cyrus Brakus"}] 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={"category_id"=>BSON::ObjectId('548f4f3e773533237b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b520000'), "name"=>"Ellis Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b530000'), "name"=>"Miss Edd Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b540000'), "name"=>"Adrienne Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b550000'), "name"=>"Verlie Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b560000'), "name"=>"Maximus Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b570000'), "name"=>"Mrs. Ceasar Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b580000'), "name"=>"Mrs. Libbie Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b590000'), "name"=>"Lorena Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5a0000'), "name"=>"Alfonso Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5b0000'), "name"=>"Scarlett Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5c0000'), "name"=>"Ms. Kieran Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5d0000'), "name"=>"Ms. Billy Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5e0000'), "name"=>"Hope Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b5f0000'), "name"=>"Kasandra Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b600000'), "name"=>"Jane Dooley I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b610000'), "name"=>"Felicita Okuneva III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b620000'), "name"=>"Oran Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b630000'), "name"=>"Dr. Jayde Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b640000'), "name"=>"Caleb Jacobs III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b650000'), "name"=>"Oral Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b660000'), "name"=>"Bobby Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b670000'), "name"=>"Mr. Marielle Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b680000'), "name"=>"Nickolas Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b690000'), "name"=>"Icie Schultz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6a0000'), "name"=>"Bonnie Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6b0000'), "name"=>"Ms. Clara Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6c0000'), "name"=>"Bobbie Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6d0000'), "name"=>"Tate Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6e0000'), "name"=>"Ayden Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b6f0000'), "name"=>"Kendrick Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b700000'), "name"=>"Ewell Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b710000'), "name"=>"Leopold Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b720000'), "name"=>"Ms. Eula Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b730000'), "name"=>"Ms. Torey Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b740000'), "name"=>"Jeromy Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b750000'), "name"=>"Shaylee Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b760000'), "name"=>"Stefan Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b770000'), "name"=>"Vivien Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b780000'), "name"=>"Timmy Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b790000'), "name"=>"Adrian Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7a0000'), "name"=>"Norwood O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7b0000'), "name"=>"Miss Annette Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7c0000'), "name"=>"Virginie Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7d0000'), "name"=>"Chanelle Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7e0000'), "name"=>"Ceasar Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b7f0000'), "name"=>"Lela Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b800000'), "name"=>"Nichole Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b810000'), "name"=>"Ms. Cruz Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b820000'), "name"=>"Therese Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b830000'), "name"=>"Izabella Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b840000'), "name"=>"Alanis Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b850000'), "name"=>"Jude Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b860000'), "name"=>"Esta Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b870000'), "name"=>"Sean Waelchi Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b880000'), "name"=>"Raphael Mosciski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b890000'), "name"=>"Eldon Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8a0000'), "name"=>"Aurelio Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8b0000'), "name"=>"Olga Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8c0000'), "name"=>"Melody Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8d0000'), "name"=>"Rogelio Franecki PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8e0000'), "name"=>"Vita Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b8f0000'), "name"=>"Virgie Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b900000'), "name"=>"Ibrahim Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b910000'), "name"=>"Sandrine Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b920000'), "name"=>"Ali Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b930000'), "name"=>"Mrs. Britney Koelpin"}] 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={"category_id"=>BSON::ObjectId('548f4f3e773533237b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b940000'), "name"=>"Lula Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b950000'), "name"=>"Isobel Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b960000'), "name"=>"Sasha Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b970000'), "name"=>"Dr. Adolphus Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2773ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Redirected to http://test.host/categories/548f4f3e773533237b980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2844ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b990000'), "name"=>"Miss Helene McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2772ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4f3e773533237b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3e773533237b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3e773533237b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2868ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b9a0000'), "name"=>"Aisha Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4f3e773533237b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3e773533237b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4365ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3e773533237b9b0000'), "name"=>"Dr. Alek Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3e773533237b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305223509100] runtime: 0.0948ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3832ms Completed 200 OK in 17ms (Views: 16.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237b9c0000'), "name"=>"Shirley Hamill"}] 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={"category_id"=>BSON::ObjectId('548f4f3f773533237b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305150729516] runtime: 0.0766ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3524ms Completed 200 OK in 9ms (Views: 8.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237b9d0000'), "name"=>"Emerald Rutherford DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4543ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237b9f0000'), "name"=>"Rene Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4f3f773533237b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3f773533237b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237ba00000'), "name"=>"Abelardo Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4f3f773533237ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f3f773533237ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.5255ms Redirected to http://test.host/categories/548f4f3f773533237ba00000 Completed 302 Found in 30ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237ba10000'), "name"=>"Kendra Frami", "reference"=>"Mr. Cesar Mante", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237ba20000'), "author_name"=>"Ms. Haylie Gerlach", "content"=>["Labore ipsam quibusdam minima eum. Doloremque ut eaque repudiandae ab. Eos assumenda laboriosam maiores sit voluptate rem. Fuga odio eligendi nostrum reiciendis provident vel error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f3f773533237ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f3f773533237ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Redirected to http://test.host/products/548f4f3f773533237ba10000/comments/548f4f3f773533237ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237ba40000'), "name"=>"Miss Rusty Lebsack", "reference"=>"Tina Glover", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237ba50000'), "author_name"=>"Andreane Lynch", "content"=>["Vitae harum impedit quisquam quis magni dicta. Eligendi mollitia ea omnis. Et non ut impedit soluta ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f3f773533237ba40000", "id"=>"548f4f3f773533237ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f3f773533237ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms Redirected to http://test.host/products/548f4f3f773533237ba40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237ba60000'), "name"=>"Samantha Schuppe", "reference"=>"Rusty Botsford", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237ba70000'), "author_name"=>"Stefanie Lubowitz", "content"=>["Impedit cupiditate ea. Explicabo aliquam ducimus laudantium nesciunt ratione distinctio. Qui sint modi quia. Sint non vitae dolores autem. Consequuntur expedita non voluptatem minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9707ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f3f773533237ba60000", "id"=>"548f4f3f773533237ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4207ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237ba80000'), "name"=>"Scotty Wiza", "reference"=>"Tanya Balistreri", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237ba90000'), "author_name"=>"Alexys Upton", "content"=>["Non et similique aut vel aperiam voluptas enim. Dolore qui ut qui eveniet. Delectus officiis magni autem fuga aut necessitatibus. Voluptate ut assumenda. Provident est esse ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6190ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4f3f773533237ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4159ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237baa0000'), "name"=>"Roy Rolfson", "reference"=>"Anderson Ondricka", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237bab0000'), "author_name"=>"Freeda Reichert", "content"=>["Qui sint sunt quia dolorum. Quia architecto molestiae similique voluptas fugit. Praesentium facilis error est possimus aut. Rem et aut totam nisi sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5870ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4f3f773533237baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bac0000'), "name"=>"Louie Moore", "reference"=>"Corbin Lowe II", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237bad0000'), "author_name"=>"Haven Leuschke", "content"=>["Sed aut vel maiores architecto totam voluptates. Voluptas consequuntur et dolores ducimus rem aut at. Et dolor molestiae aut. Pariatur minus qui doloribus ad. Nihil iste fugiat est neque porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4f3f773533237bac0000", "id"=>"548f4f3f773533237bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bae0000'), "name"=>"Faustino Stroman", "reference"=>"Ellie Dooley", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237baf0000'), "author_name"=>"Luz Jacobi", "content"=>["Eligendi veniam earum reprehenderit id. At consectetur corrupti nisi delectus. Et vitae atque consequatur. Voluptatem ex sint ut deserunt facere delectus quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4f3f773533237bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) 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('548f4f3f773533237bb00000'), "name"=>"Ms. Sophia Cummings", "reference"=>"Meda Borer", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237bb10000'), "author_name"=>"Imogene Lind", "content"=>["Et et sit qui ullam aspernatur architecto culpa. Aut veritatis velit laudantium commodi quia vero aut. Odio voluptas blanditiis quo dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4f3f773533237bb00000", "id"=>"548f4f3f773533237bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bb20000'), "name"=>"Mr. Sophie Muller", "reference"=>"Stefan Casper", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f3f773533237bb30000'), "author_name"=>"Emerald Kunde", "content"=>["Dolorem nihil sit commodi ut culpa est nisi. Est officia eaque mollitia et impedit eius. Expedita omnis natus et et dicta. Rerum quia aut dignissimos dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f3f773533237bb30000", "product_id"=>"548f4f3f773533237bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3121ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb20000'), "comments._id"=>BSON::ObjectId('548f4f3f773533237bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms Redirected to http://test.host/products/548f4f3f773533237bb20000/comments/548f4f3f773533237bb30000 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('548f4f3f773533237bb40000'), "firstname"=>"Eldridge", "lastname"=>"Stanton"}] 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=>"clients", :query=>{}} runtime: 0.1615ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Redirected to http://test.host/admin/clients/548f4f3f773533237bb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1743ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bb60000'), "firstname"=>"Roy", "lastname"=>"Mueller"}] 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.1795ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4f3f773533237bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8266ms 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.1967ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bb70000'), "firstname"=>"Miracle", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f3f773533237bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Rendered /home/geoffroy/projects/crealettres/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('548f4f3f773533237bb80000'), "firstname"=>"Ella", "lastname"=>"Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms Completed 200 OK in 6ms (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('548f4f3f773533237bb90000'), "firstname"=>"Ellsworth", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 38ms (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('548f4f3f773533237bba0000'), "firstname"=>"Cynthia", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f3f773533237bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms 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('548f4f3f773533237bbb0000'), "firstname"=>"Leatha", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f3f773533237bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Redirected to http://test.host/admin/clients/548f4f3f773533237bbb0000 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('548f4f3f773533237bbc0000'), "firstname"=>"Marco", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1937ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Redirected to http://test.host/clients/548f4f3f773533237bbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2301ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bbe0000'), "firstname"=>"Rhianna", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms 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"=>"548f4f3f773533237bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bbe0000')} 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('548f4f3f773533237bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms 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.2000ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bbf0000'), "firstname"=>"Ethyl", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f3f773533237bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms Rendered /home/geoffroy/projects/crealettres/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('548f4f3f773533237bc00000'), "firstname"=>"Fermin", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.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.4624ms 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('548f4f3f773533237bc10000'), "firstname"=>"Maye", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4f3f773533237bc20000'), "firstname"=>"George", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f3f773533237bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms 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('548f4f3f773533237bc30000'), "firstname"=>"Deontae", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f3f773533237bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms Redirected to http://test.host/clients/548f4f3f773533237bc30000 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('548f4f3f773533237bc40000'), "name"=>"Ms. Vita Klocko", "reference"=>"Xander Larkin", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bc50000'), "firstname"=>"Darian", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f3f773533237bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms Redirected to http://test.host/products/548f4f3f773533237bc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bc70000'), "name"=>"Keshawn Treutel", "reference"=>"Aurelio Jerde I", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bc80000'), "firstname"=>"Frances", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4f3f773533237bc80000", "product_id"=>"548f4f3f773533237bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bc90000'), "name"=>"Iliana Hermann", "reference"=>"Jacynthe Boyer", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bca0000'), "firstname"=>"Catharine", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5363ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4f3f773533237bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bcb0000'), "name"=>"Miss Icie Rohan", "reference"=>"Dr. Merl Effertz", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bcc0000'), "firstname"=>"Pasquale", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4f3f773533237bcc0000", "product_id"=>"548f4f3f773533237bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bcd0000'), "name"=>"Jamison Terry", "reference"=>"Amy Stracke", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f3f773533237bce0000'), "firstname"=>"Daisy", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5254ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4f3f773533237bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f3f773533237bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms Unpermitted parameters: name Redirected to http://test.host/products/548f4f3f773533237bcd0000/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('548f4f3f773533237bcf0000'), "name"=>"Esther Shields", "reference"=>"Zachery Moen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd00000'), "name"=>"Jean Gibson", "reference"=>"Mr. Stephen Ernser", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd10000'), "name"=>"Marlin Tillman", "reference"=>"Vivian Gleason", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd20000'), "name"=>"Josie Schroeder", "reference"=>"Eldred Klocko", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd30000'), "name"=>"Carlotta Leffler", "reference"=>"Donald Gaylord", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd40000'), "name"=>"Mr. Alfredo Murphy", "reference"=>"Ariel Treutel PhD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2025ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Redirected to http://test.host/products/548f4f3f773533237bd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2767ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd60000'), "name"=>"Torrance Heathcote PhD", "reference"=>"Alanna DuBuque", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2085ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4f3f773533237bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms 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.2273ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd70000'), "name"=>"Lazaro Grant", "reference"=>"Lawson McKenzie", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4f3f773533237bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd80000'), "name"=>"Miles Rolfson", "reference"=>"Cielo Wilkinson MD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239006649] runtime: 0.0983ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2917ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bd90000'), "name"=>"Mac Haley", "reference"=>"Cody Dickens", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bda0000'), "name"=>"HelloWorld", "reference"=>"Waylon Hackett", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bdb0000'), "name"=>"value", "reference"=>"Camden Mante", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5903ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4098ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3851ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3508ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1708ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3678ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1710ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bdc0000'), "name"=>"Demetris Kuhic", "reference"=>"Mr. Westley Crist", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280145944741] runtime: 0.0990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2847ms Completed 200 OK in 17ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208124450] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280761715683] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877791069] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495318128] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.4153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742116037] runtime: 0.0940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688891336] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535969160] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280139403478] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181529336] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280904515148] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543897857] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281177463104] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280017988915] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697781226] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281054651171] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780230655] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488250559] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280353482541] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241920638] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195713686] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280454114829] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181954916] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660997599] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280854622480] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821817308] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281086218178] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541385871] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737768540] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281185971008] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280777215778] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281308487157] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211594042] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280807939416] runtime: 0.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195340043] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533404181] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813798529] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642505277] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581902346] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590457595] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392859626] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838299478] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281069163554] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176012529] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280787562002] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739200428] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920774066] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280055837880] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280691147392] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052530288] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028103814] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743817944] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279179940078] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280152976469] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428822304] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280368067170] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601706699] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234765867] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281287420450] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279962053027] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280470158247] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279577851526] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279932983258] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280471725857] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921875176] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280979275311] runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280045552647] runtime: 0.0733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949721161] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329482634] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281129133373] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794641301] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279765743167] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279641403390] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279863923] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281068500802] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702114540] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008660028] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279333859624] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805102014] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743701387] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469588937] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784498149] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279367860980] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584321653] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281140681573] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279367955874] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279271038656] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279927145366] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279361856542] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260958065] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005770439] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280394195094] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762441413] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280709069798] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477628055] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280684683497] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407547801] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279884583051] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280254081823] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279287419088] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481720206] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280900139200] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617143826] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009163088] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280901627400] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813268945] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280890136741] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281026676607] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719941206] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422175974] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481424872] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879849495] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163367403] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279884599126] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035636310] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676716175] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279962641073] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872505018] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280010652043] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294544783] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280142380442] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279959691143] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859826417] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280612059528] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279837653766] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279835984277] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279807221444] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009582476] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512804666] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204170958] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762239823] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943944787] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963350374] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281201751299] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299713250] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488964284] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317733071] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280472210278] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280007995986] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876797968] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101517118] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279570260936] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279474706189] runtime: 0.1103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279355968114] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279406783510] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903712643] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876992916] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279733609742] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280690764969] runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028564482] runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280828980268] runtime: 0.1422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279754977569] runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280485514682] runtime: 0.1405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279234013689] runtime: 0.1305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279971918573] runtime: 0.1303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836470017] runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126862403] runtime: 0.1312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643912576] runtime: 0.1096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978727413] runtime: 0.1049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279452363912] runtime: 0.1060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280012487794] runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280419884234] runtime: 0.1097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122269066] runtime: 0.0999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002621692] runtime: 0.1127ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bdd0000'), "name"=>"Mrs. Elyssa Wolf", "reference"=>"Tristin Gislason", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6925ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5074ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3448ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bde0000'), "name"=>"Jennings Hilll", "reference"=>"Golda Schinner", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5982ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279249335235] runtime: 0.1153ms Completed 200 OK in 9ms (Views: 2.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237bdf0000'), "name"=>"Amparo O'Kon", "reference"=>"Davin Hilpert", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6263ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4f3f773533237bdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237bdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4621ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237be00000'), "name"=>"Randy Gottlieb III", "reference"=>"Adell Mueller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.5467ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) 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('548f4f3f773533237be20000'), "name"=>"Brandy Fahey III", "reference"=>"Kayla Larkin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5776ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4f3f773533237be20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237be20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4203ms Completed 200 OK in 6ms (Views: 4.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237be30000'), "name"=>"Kyle Connelly", "reference"=>"Obie Marquardt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6126ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3278ms Completed 500 Internal Server Error in 10ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237be40000'), "name"=>"Mr. Jayson Heller", "reference"=>"Arthur McGlynn Jr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6747ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4379ms Completed 500 Internal Server Error in 7ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237be50000'), "name"=>"Mr. Dixie Graham", "reference"=>"Dixie Wintheiser", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3608ms 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('548f4f3f773533237be60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6273ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3472ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f3f773533237be70000'), "name"=>"Myrtis Schmidt", "reference"=>"Dr. Bianka Kihn", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4f3f773533237be70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f3f773533237be70000')} 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('548f4f3f773533237be70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms 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('548f4f3f773533237be80000'), "name"=>"Greta Kemmer", "reference"=>"Mrs. Garnett Gerlach", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 40ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bea0000'), "name"=>"Kiley Hagenes", "reference"=>"Josie Pagac", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5475ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f40773533237bea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms 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('548f4f40773533237beb0000'), "name"=>"Lue Hintz", "reference"=>"Betsy Kozey", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f40773533237beb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237beb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237beb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Redirected to http://test.host/products/548f4f40773533237beb0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bee0000'), "name"=>"Torey O'Keefe", "reference"=>"Jaycee Weimann IV", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bec0000'), "author_name"=>"Breana Block", "content"=>["Vel ipsam dicta quia. Nihil voluptatem voluptas recusandae quia quae rerum. Totam porro repellendus optio maxime in ad commodi. Rerum natus rerum perspiciatis hic."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bed0000'), "author_name"=>"Nils Hodkiewicz", "content"=>["Vel dolorum adipisci nobis iusto illo non. Ullam animi dolorem non. Enim quaerat officiis labore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f40773533237bee0000", "comment_id"=>"548f4f40773533237bec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bee0000'), "comments._id"=>BSON::ObjectId('548f4f40773533237bec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f40773533237bef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6617ms Redirected to http://test.host/products/548f4f40773533237bee0000/comments/548f4f40773533237bec0000/comments/548f4f40773533237bef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bf20000'), "name"=>"Shannon Rolfson", "reference"=>"Clarissa Hodkiewicz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf00000'), "author_name"=>"Al Lynch", "content"=>["Sed et quia. Aut dolores a ut maiores veritatis recusandae. Expedita fuga commodi ipsam culpa accusantium et. Fugiat similique earum qui vero quis adipisci odit."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf10000'), "author_name"=>"Ms. Glenda Bernier", "content"=>["Consequuntur reprehenderit accusantium et sapiente et. Nihil est ullam qui officiis laborum laboriosam. Voluptas vel ad autem consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f40773533237bf20000", "comment_id"=>"548f4f40773533237bf00000", "id"=>"548f4f40773533237bf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4239ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf20000'), "comments._id"=>BSON::ObjectId('548f4f40773533237bf00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f40773533237bf10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6036ms Redirected to http://test.host/products/548f4f40773533237bf20000/comments/548f4f40773533237bf00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bf50000'), "name"=>"Jarod Harris", "reference"=>"Gonzalo Feil", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf30000'), "author_name"=>"Jackeline Ryan", "content"=>["Voluptatibus et aut vitae consequatur. Illo fugiat neque quod maxime porro aut. Mollitia nisi sed."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf40000'), "author_name"=>"Kyla Littel", "content"=>["Eum corporis consequatur. Voluptatibus ut sunt est sint perspiciatis. Fuga laboriosam libero numquam et voluptas iusto. Rerum adipisci dolor praesentium quia. Qui ea minima ut commodi adipisci corporis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4f40773533237bf50000", "comment_id"=>"548f4f40773533237bf30000", "id"=>"548f4f40773533237bf40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bf80000'), "name"=>"Hazle Goyette", "reference"=>"Judge Cartwright I", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf60000'), "author_name"=>"Marlee Spinka V", "content"=>["Sequi aperiam doloremque laborum iure distinctio blanditiis autem. Ipsum ad eum officia error nisi minus magnam. Deleniti non eius nesciunt at illum."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf70000'), "author_name"=>"Jayson Ryan V", "content"=>["Est aspernatur minima. Est repudiandae molestiae eos delectus maiores. Voluptas vel facilis nesciunt. Quis perspiciatis velit. Mollitia maiores magni quidem totam qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5545ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4f40773533237bf80000", "comment_id"=>"548f4f40773533237bf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bfb0000'), "name"=>"Kamron Leffler", "reference"=>"Quinton Effertz II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bf90000'), "author_name"=>"Reymundo Emmerich", "content"=>["Voluptatem sed ex deleniti architecto alias adipisci dolorem. Autem perferendis neque occaecati aperiam. Nobis saepe amet magnam id optio et. Expedita itaque doloremque temporibus eos consequatur dolores. Dolor asperiores autem reprehenderit labore aut rem quam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bfa0000'), "author_name"=>"Dillan Kris", "content"=>["Eius et facere. Sunt ipsa possimus non optio eaque aperiam. Quos mollitia natus dignissimos assumenda ut. Quibusdam eos quo ab dolorem omnis. Molestiae soluta voluptate non nemo dolorum possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5540ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4f40773533237bfb0000", "comment_id"=>"548f4f40773533237bf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237bfe0000'), "name"=>"Haskell Reichel", "reference"=>"Aliyah Powlowski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bfc0000'), "author_name"=>"Albert Schamberger", "content"=>["Fugit ea omnis. Repellendus sunt modi omnis sint. Eum sit sit ut dolorem delectus cum eius. Quisquam omnis placeat asperiores."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bfd0000'), "author_name"=>"Emie Ziemann", "content"=>["Est incidunt quidem quia quo. Aliquid eum quia repudiandae natus sed. Esse nam dolores ut ipsum beatae. Et voluptas molestias debitis. Quo non molestiae ratione voluptatibus nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4f40773533237bfe0000", "comment_id"=>"548f4f40773533237bfc0000", "id"=>"548f4f40773533237bfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237bfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237b010100'), "name"=>"Buck Cole", "reference"=>"Roel Rohan", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237bff0000'), "author_name"=>"Janet Pouros MD", "content"=>["Nostrum voluptatum aut minus dolores. Aut asperiores non minima. Quis nobis temporibus quaerat et odit cumque aut. Eos a ea amet. Enim in ducimus a magni ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237b000100'), "author_name"=>"Danielle Crooks", "content"=>["Dolorem deleniti quo nesciunt consectetur. Modi quasi et vitae sit facilis ea. Reiciendis in deserunt iusto. Non soluta delectus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1369ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4f40773533237b010100", "comment_id"=>"548f4f40773533237bff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237b010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237b040100'), "name"=>"Francisco Kshlerin", "reference"=>"Mrs. Jeffrey Wilderman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237b020100'), "author_name"=>"Ladarius Prosacco", "content"=>["Impedit at facilis architecto veniam natus illum rerum. Nihil eligendi totam. Sequi ut repudiandae placeat ut. Fugit et est deserunt qui."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237b030100'), "author_name"=>"Nick O'Hara", "content"=>["Alias asperiores rerum architecto in ab sint. Eaque placeat mollitia sed rerum dolorem debitis. Delectus quae recusandae amet architecto. Et voluptatibus mollitia enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5510ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4f40773533237b040100", "comment_id"=>"548f4f40773533237b020100", "id"=>"548f4f40773533237b030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237b040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f40773533237b070100'), "name"=>"Ena Abshire", "reference"=>"Keaton Weber", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237b050100'), "author_name"=>"Maritza Kassulke", "content"=>["Perferendis sequi ullam optio aliquam eum. Pariatur aperiam harum ipsam tenetur dolor. Nam et illo aut. Dolorem rerum deserunt est voluptatem. Iste est qui sed cum vero."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f40773533237b060100'), "author_name"=>"Una Beier", "content"=>["Enim cupiditate aliquid quisquam. Soluta nulla et quia dolorem sequi excepturi. Quo quae voluptas. Vel aut voluptatem sit nobis cum et. Eum et enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f40773533237b060100", "product_id"=>"548f4f40773533237b070100", "comment_id"=>"548f4f40773533237b050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237b070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f40773533237b070100'), "comments._id"=>BSON::ObjectId('548f4f40773533237b050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4f40773533237b060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6385ms Redirected to http://test.host/products/548f4f40773533237b070100/comments/548f4f40773533237b050100/comments/548f4f40773533237b060100 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('548f4f40773533237b080100'), "firstname"=>"Gillian", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6071ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2451ms 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('548f4f40773533237b090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms Redirected to http://test.host/users/548f4f40773533237b090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2738ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f40773533237b0a0100'), "firstname"=>"Brenden", "lastname"=>"Willms"}] 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.1853ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4f40773533237b0a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f40773533237b0a0100')} 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('548f4f40773533237b0a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms 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.1990ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f40773533237b0b0100'), "firstname"=>"Rashad", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4f40773533237b0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f40773533237b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (37.6ms) 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('548f4f40773533237b0c0100'), "firstname"=>"Devon", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms 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.4934ms Completed 200 OK in 9ms (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('548f4f40773533237b0d0100'), "firstname"=>"Allan", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4f40773533237b0e0100'), "firstname"=>"Boris", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4f40773533237b0e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f40773533237b0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms 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('548f4f40773533237b0f0100'), "firstname"=>"Nova", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4f40773533237b0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f40773533237b0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Unpermitted parameters: name Redirected to http://test.host/users/548f4f40773533237b0f0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms 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.4380ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5627ms 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.4265ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6055ms 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.3841ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8877353324c8000000'), "firstname"=>"Brigitte", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 331.9204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.5496ms 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('548f4f8977353324c8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6586ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3655ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8020000'), "firstname"=>"Angela", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f8977353324c8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4619ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.7ms) Completed 200 OK in 29ms (Views: 27.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8030000'), "firstname"=>"Sonya", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5069ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('548f4f8977353324c8040000'), "firstname"=>"Aurelie", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5698ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4f8977353324c8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8050000'), "firstname"=>"Zelda", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5522ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4f8977353324c8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3926ms 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('548f4f8977353324c8060000'), "name"=>"Jaden Gottlieb", "reference"=>"Lydia McKenzie IV", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c8070000'), "author_name"=>"Arnold Beahan", "content"=>["Et voluptas quas est cumque voluptatem. Consequatur commodi unde fugit earum blanditiis rerum odit. Nihil itaque facilis commodi eum consequuntur impedit voluptatem. Ea in ut dignissimos tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f8977353324c8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f8977353324c8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms Redirected to http://test.host/admin/products/548f4f8977353324c8060000/comments/548f4f8977353324c8080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3715ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8090000'), "name"=>"Peter Hills", "reference"=>"Rodger Steuber", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c80a0000'), "author_name"=>"Luigi Rohan", "content"=>["Et autem magnam placeat earum quis fuga. Impedit omnis doloribus modi quos quaerat ab voluptas. Est est ea maiores fugit odit suscipit est. Sint placeat optio sapiente sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f8977353324c8090000", "id"=>"548f4f8977353324c80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f8977353324c80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Redirected to http://test.host/admin/products/548f4f8977353324c8090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3121ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c80b0000'), "name"=>"Kaylee Brekke", "reference"=>"Mrs. Fermin Ondricka", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c80c0000'), "author_name"=>"Erwin Runolfsdottir I", "content"=>["Repellat qui quasi non. Distinctio ut est est velit aut explicabo magnam. Quibusdam facilis veritatis incidunt similique est optio et. Et distinctio magni doloremque sint aut eos reiciendis. Voluptatem corrupti iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f8977353324c80b0000", "id"=>"548f4f8977353324c80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c80d0000'), "name"=>"Bert Koch III", "reference"=>"Clara Adams", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c80e0000'), "author_name"=>"Douglas Kohler", "content"=>["Ea itaque dolorem quia voluptas. Voluptatibus rerum doloremque. Quaerat ut rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5264ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4f8977353324c80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c80f0000'), "name"=>"Chase Langworth", "reference"=>"Sage Pagac", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c8100000'), "author_name"=>"Mrs. Dwight Hills", "content"=>["Quae adipisci et. Odio autem quidem amet architecto eligendi similique quae. Modi inventore perferendis vel accusantium. Praesentium est rem. Nihil non facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4f8977353324c80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8110000'), "name"=>"Mossie Schmidt DVM", "reference"=>"Mallie Skiles", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c8120000'), "author_name"=>"Violet Harber", "content"=>["Quos possimus in. Asperiores impedit et ut cumque natus error. Qui aut sed temporibus voluptatum dolor. Molestiae cum corrupti ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5617ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4f8977353324c8110000", "id"=>"548f4f8977353324c8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8130000'), "name"=>"Sister Hammes MD", "reference"=>"Chance Hauck", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8977353324c8140000'), "author_name"=>"Milton Walter", "content"=>["Totam iusto perspiciatis minus soluta error porro. Vel est eveniet laboriosam id sed sint. Autem magnam quis. Recusandae aliquam saepe at debitis. Sunt nemo dicta voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f8977353324c8140000", "product_id"=>"548f4f8977353324c8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8130000'), "comments._id"=>BSON::ObjectId('548f4f8977353324c8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6512ms Redirected to http://test.host/admin/products/548f4f8977353324c8130000/comments/548f4f8977353324c8140000 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('548f4f8977353324c8150000'), "name"=>"Vesta Hand", "reference"=>"Michale Mante", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c8160000'), "firstname"=>"Keegan", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f8977353324c8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6174ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Redirected to http://test.host/admin/products/548f4f8977353324c8150000/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('548f4f8977353324c8180000'), "name"=>"Arvid Aufderhar", "reference"=>"Shea Nikolaus", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c8190000'), "firstname"=>"Tina", "lastname"=>"Nolan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5388ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4f8977353324c8190000", "product_id"=>"548f4f8977353324c8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4147ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c81a0000'), "name"=>"Melyna Greenholt", "reference"=>"Elwyn Hayes", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c81b0000'), "firstname"=>"Wyatt", "lastname"=>"Schamberger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4f8977353324c81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c81c0000'), "name"=>"Elmore Russel", "reference"=>"Paris Smitham", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c81d0000'), "firstname"=>"Bria", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5596ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4f8977353324c81d0000", "product_id"=>"548f4f8977353324c81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3863ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c81e0000'), "name"=>"Prudence Murazik", "reference"=>"Nya Pacocha", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4f8977353324c81f0000'), "firstname"=>"Shanie", "lastname"=>"Casper"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5842ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4f8977353324c81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f8977353324c81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3812ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4f8977353324c81e0000/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('548f4f8977353324c8200000'), "name"=>"Esmeralda Walsh III", "reference"=>"Milan Metz IV", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6028ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3479ms 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('548f4f8977353324c8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms Redirected to http://test.host/admin/products/548f4f8977353324c8210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3286ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8220000'), "name"=>"Ms. Amparo Langosh", "reference"=>"Gregg Torp II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2855ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4f8977353324c8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms 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.3303ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8230000'), "name"=>"Pascale Koss", "reference"=>"Antonio Homenick", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4f8977353324c8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8240000'), "name"=>"Monique Dooley", "reference"=>"Rupert Fay", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms 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.6614ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8250000'), "name"=>"Andreane Sawayn", "reference"=>"Jazmin Jones", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('548f4f8977353324c8280000'), "name"=>"Jailyn Spencer", "reference"=>"Ms. Nicola Roob", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4f8977353324c8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms 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('548f4f8977353324c8290000'), "name"=>"Amelia Bechtelar IV", "reference"=>"Dr. Antwon Leuschke", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5481ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f8977353324c8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8977353324c8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Redirected to http://test.host/admin/products/548f4f8977353324c8290000 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('548f4f8977353324c82a0000'), "firstname"=>"Isac", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6077ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3043ms 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('548f4f8977353324c82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms Redirected to http://test.host/admin/users/548f4f8977353324c82b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3184ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c82c0000'), "firstname"=>"Ernesto", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2805ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4f8977353324c82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8977353324c82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4206ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8977353324c82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms 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.3523ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c82d0000'), "firstname"=>"Ruth", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4f8977353324c82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8977353324c82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c82e0000'), "firstname"=>"Lolita", "lastname"=>"Zboncak"}] 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.5004ms 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('548f4f8977353324c82f0000'), "firstname"=>"Constantin", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4f8977353324c8300000'), "firstname"=>"Matt", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4f8977353324c8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8977353324c8300000')} 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('548f4f8977353324c8310000'), "firstname"=>"Pete", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4f8977353324c8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8977353324c8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4f8977353324c8310000 Completed 302 Found in 32ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8320000'), "firstname"=>"Jerry", "lastname"=>"Carter"}] 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=>"administrators", :query=>{}} runtime: 0.1792ms 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('548f4f8977353324c8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms 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.2748ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8340000'), "firstname"=>"Brent", "lastname"=>"Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4f8977353324c8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8350000'), "firstname"=>"Kenton", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8360000'), "firstname"=>"Danyka", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4f8977353324c8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8370000'), "firstname"=>"Gregg", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4f8977353324c8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4f8977353324c8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8380000'), "name"=>"Erling Buckridge Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8390000'), "name"=>"Yasmine Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83a0000'), "name"=>"Eliane Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83b0000'), "name"=>"Carlotta Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83c0000'), "name"=>"Emilio Mayer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83d0000'), "name"=>"Mr. Cole Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83e0000'), "name"=>"Willow Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c83f0000'), "name"=>"Ila Lind MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8400000'), "name"=>"Kane Bins V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8410000'), "name"=>"Miss Gussie Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8420000'), "name"=>"Baylee O'Keefe DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8430000'), "name"=>"Mr. Marcus Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8440000'), "name"=>"Aracely Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8450000'), "name"=>"Winifred Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8460000'), "name"=>"Layla West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8470000'), "name"=>"Asa Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8480000'), "name"=>"Annette Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8490000'), "name"=>"Cecilia Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84a0000'), "name"=>"Damien Abshire I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84b0000'), "name"=>"Lauren Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84c0000'), "name"=>"Spencer Dicki II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84d0000'), "name"=>"Shaylee Dickens Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84e0000'), "name"=>"Berniece Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c84f0000'), "name"=>"Althea Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c84f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8500000'), "name"=>"Quentin Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8510000'), "name"=>"Harrison Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8520000'), "name"=>"Bria Doyle PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8530000'), "name"=>"Meggie Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8540000'), "name"=>"Donna Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8550000'), "name"=>"Trinity Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8560000'), "name"=>"Itzel Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8570000'), "name"=>"Mrs. Jovan Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8580000'), "name"=>"Russell Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8590000'), "name"=>"Marge Wiza Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85a0000'), "name"=>"Jake McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85b0000'), "name"=>"Merle Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85c0000'), "name"=>"Nicolette Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85d0000'), "name"=>"Abelardo Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85e0000'), "name"=>"Audra Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c85f0000'), "name"=>"Porter Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c85f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8600000'), "name"=>"Fannie Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8610000'), "name"=>"Cierra Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8620000'), "name"=>"Gardner Marks III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8630000'), "name"=>"Ms. Tatum Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8640000'), "name"=>"Dylan Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8650000'), "name"=>"Miss Michale Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8660000'), "name"=>"Tad O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8670000'), "name"=>"Minerva Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8680000'), "name"=>"Reanna Kuhlman V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8690000'), "name"=>"Dr. Gerson O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86a0000'), "name"=>"Fletcher Bartoletti MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86b0000'), "name"=>"Deon Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86c0000'), "name"=>"Dayton Keeling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86d0000'), "name"=>"Gillian Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86e0000'), "name"=>"Pink Wolff Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c86f0000'), "name"=>"Dr. Rosie Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8700000'), "name"=>"Isom Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8710000'), "name"=>"Jacky Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8720000'), "name"=>"Dorris Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8730000'), "name"=>"Miss Kenneth Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8740000'), "name"=>"Shaun Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8750000'), "name"=>"Delores Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8760000'), "name"=>"Eve Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8770000'), "name"=>"Carolyn Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8780000'), "name"=>"Alyce Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8790000'), "name"=>"Ramon West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87a0000'), "name"=>"Zachery Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87b0000'), "name"=>"Miss Clemens Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87c0000'), "name"=>"Royal Carter DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87d0000'), "name"=>"Abdiel Macejkovic MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87e0000'), "name"=>"Ms. Fiona Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c87f0000'), "name"=>"Mrs. Ray Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c87f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8800000'), "name"=>"Wellington Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8810000'), "name"=>"Dr. Walter Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8820000'), "name"=>"Willis Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8830000'), "name"=>"Gerhard Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8840000'), "name"=>"Alexzander Metz Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8850000'), "name"=>"Antwan Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8860000'), "name"=>"Rylee Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8870000'), "name"=>"Justina Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8880000'), "name"=>"Anibal Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8890000'), "name"=>"Valerie Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88a0000'), "name"=>"Mrs. Wilhelmine Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88b0000'), "name"=>"Abel Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88c0000'), "name"=>"Mertie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88d0000'), "name"=>"Vito Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88e0000'), "name"=>"Judson Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c88f0000'), "name"=>"Jazmyn Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8900000'), "name"=>"Sonia Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8910000'), "name"=>"Dr. Amy Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8920000'), "name"=>"Cathrine Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8930000'), "name"=>"Cindy Dicki Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8940000'), "name"=>"Jazmyn Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8950000'), "name"=>"Murphy Morissette II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8960000'), "name"=>"Nelson Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8970000'), "name"=>"Richard Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2763ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms Redirected to http://test.host/categories/548f4f8977353324c8980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2990ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8990000'), "name"=>"Prince Mertz PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2781ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4f8977353324c8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c8990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2977ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c89a0000'), "name"=>"Alfonzo Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4f8977353324c89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4287ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 9.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c89b0000'), "name"=>"Celine Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306952110833] runtime: 0.0940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3805ms Completed 200 OK in 17ms (Views: 16.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c89c0000'), "name"=>"Emanuel Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306764751463] runtime: 0.0734ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3624ms Completed 200 OK in 9ms (Views: 8.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c89d0000'), "name"=>"Penelope Stiedemann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4412ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c89f0000'), "name"=>"Easton Hickle MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4f8977353324c89f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4f8977353324c8a00000'), "name"=>"Joanie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4f8977353324c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4f8977353324c8a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4f8977353324c8a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('548f4f8977353324c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms Redirected to http://test.host/categories/548f4f8977353324c8a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a10000'), "name"=>"Eula Keeling", "reference"=>"Sarah Bechtelar", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a20000'), "author_name"=>"Itzel Hirthe", "content"=>["Quidem corrupti vel similique fugit. Et voluptas eos quas non rem. Blanditiis et quo. Incidunt beatae vel alias quia et itaque sint. Tenetur aut necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f8a77353324c8a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Redirected to http://test.host/products/548f4f8a77353324c8a10000/comments/548f4f8a77353324c8a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a40000'), "name"=>"Ross Lebsack", "reference"=>"Delpha Wolf", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a50000'), "author_name"=>"Simeon Brown", "content"=>["Sed minima ipsam ut et. Repellendus voluptatem quia aperiam aliquid. Ex in expedita aut unde et odit qui. Dignissimos eos esse repellat omnis fugiat nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f8a77353324c8a40000", "id"=>"548f4f8a77353324c8a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Redirected to http://test.host/products/548f4f8a77353324c8a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a60000'), "name"=>"Destiny Sporer", "reference"=>"Isaiah Weimann", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a70000'), "author_name"=>"Arvid Klein", "content"=>["Eum sapiente dolores sunt voluptate. Tempore occaecati vel eveniet cum quia aperiam voluptatem. Possimus occaecati eaque amet enim est. Ullam ut ducimus reprehenderit ut aut atque accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4f8a77353324c8a60000", "id"=>"548f4f8a77353324c8a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.8ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a80000'), "name"=>"Deshaun Leuschke DVM", "reference"=>"Cleve Morar", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8a90000'), "author_name"=>"Mrs. Leonardo Erdman", "content"=>["Nisi qui molestias praesentium consequatur et laboriosam eligendi. Cumque autem et in ducimus nisi eius maxime. Corporis culpa quam. Odio quae explicabo voluptatem voluptatibus iste qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4f8a77353324c8a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8aa0000'), "name"=>"Valentin Okuneva", "reference"=>"Gerda Toy", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8ab0000'), "author_name"=>"Mr. Agnes Price", "content"=>["Hic ad dolorum nisi aut provident excepturi. Tempore exercitationem aperiam. Exercitationem quia ut consectetur sunt ullam. Nobis itaque nesciunt quaerat asperiores repellat est quia. Eaque et sequi nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4f8a77353324c8aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8ac0000'), "name"=>"Steve Sawayn DDS", "reference"=>"Lottie Wilderman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8ad0000'), "author_name"=>"Henri Jacobson", "content"=>["Culpa rem ab atque quas debitis. Ut voluptate rerum earum distinctio accusantium. Ea rerum harum consectetur consequuntur iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4f8a77353324c8ac0000", "id"=>"548f4f8a77353324c8ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8ae0000'), "name"=>"Miss Trey Erdman", "reference"=>"Jerry Muller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8af0000'), "author_name"=>"Mrs. Misael Maggio", "content"=>["Eos laboriosam aut illo aliquam. Sint delectus quia veritatis labore. Reprehenderit natus autem et. Voluptas magni sit qui incidunt recusandae molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4f8a77353324c8ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b00000'), "name"=>"Ms. Rubye Mann", "reference"=>"Cecile Hirthe", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b10000'), "author_name"=>"Tyler Lebsack", "content"=>["Nemo laboriosam et praesentium quis culpa est sint. Iusto libero mollitia quae provident nihil excepturi sequi. Eum quam aliquam harum omnis. Autem mollitia sed voluptas. Ipsam molestias ducimus quia rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4f8a77353324c8b00000", "id"=>"548f4f8a77353324c8b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b20000'), "name"=>"Jaquelin Berge", "reference"=>"Ms. Dell Carter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b30000'), "author_name"=>"Karl Kulas", "content"=>["Nihil consequatur ut tempora aliquid. Nisi rerum sunt hic. Maxime saepe et nesciunt at maiores est. Et ut harum occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f8a77353324c8b30000", "product_id"=>"548f4f8a77353324c8b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b20000'), "comments._id"=>BSON::ObjectId('548f4f8a77353324c8b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms Redirected to http://test.host/products/548f4f8a77353324c8b20000/comments/548f4f8a77353324c8b30000 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('548f4f8a77353324c8b40000'), "firstname"=>"Robert", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2433ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Redirected to http://test.host/admin/clients/548f4f8a77353324c8b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2745ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8b60000'), "firstname"=>"Abbigail", "lastname"=>"O'Reilly"}] 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=>"clients", :query=>{}} runtime: 0.1840ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4f8a77353324c8b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms 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('548f4f8a77353324c8b70000'), "firstname"=>"Mertie", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f8a77353324c8b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (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('548f4f8a77353324c8b80000'), "firstname"=>"Ricardo", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('548f4f8a77353324c8b90000'), "firstname"=>"Tiffany", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4f8a77353324c8ba0000'), "firstname"=>"Ariel", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f8a77353324c8ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms 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('548f4f8a77353324c8bb0000'), "firstname"=>"Neil", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f8a77353324c8bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8bb0000')} 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('548f4f8a77353324c8bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Redirected to http://test.host/admin/clients/548f4f8a77353324c8bb0000 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('548f4f8a77353324c8bc0000'), "firstname"=>"Precious", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1876ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Redirected to http://test.host/clients/548f4f8a77353324c8bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2024ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8be0000'), "firstname"=>"Werner", "lastname"=>"Marquardt"}] 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.1437ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4f8a77353324c8be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8be0000')} 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('548f4f8a77353324c8be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms 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.1932ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8bf0000'), "firstname"=>"Keyshawn", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4f8a77353324c8bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms Rendered /home/geoffroy/projects/crealettres/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('548f4f8a77353324c8c00000'), "firstname"=>"Ariane", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms 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('548f4f8a77353324c8c10000'), "firstname"=>"Joannie", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4f8a77353324c8c20000'), "firstname"=>"Destiny", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4f8a77353324c8c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms 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('548f4f8a77353324c8c30000'), "firstname"=>"Michel", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4f8a77353324c8c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms Redirected to http://test.host/clients/548f4f8a77353324c8c30000 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('548f4f8a77353324c8c40000'), "name"=>"Alden Donnelly", "reference"=>"Riley Nicolas", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8c50000'), "firstname"=>"Jackeline", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.4414ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4f8a77353324c8c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms Redirected to http://test.host/products/548f4f8a77353324c8c40000/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('548f4f8a77353324c8c70000'), "name"=>"Elna Hirthe Jr.", "reference"=>"Pasquale Rolfson", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8c80000'), "firstname"=>"Lola", "lastname"=>"Hintz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4f8a77353324c8c80000", "product_id"=>"548f4f8a77353324c8c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8c90000'), "name"=>"Hazel Sauer", "reference"=>"Mara Mitchell", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8ca0000'), "firstname"=>"Nicholas", "lastname"=>"Crist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4f8a77353324c8c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8cb0000'), "name"=>"Anais Corkery", "reference"=>"Edwardo Windler", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8cc0000'), "firstname"=>"Scot", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4f8a77353324c8cc0000", "product_id"=>"548f4f8a77353324c8cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8cd0000'), "name"=>"Wava Jakubowski", "reference"=>"Miss Matilda Hackett", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4f8a77353324c8ce0000'), "firstname"=>"Axel", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4f8a77353324c8ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4f8a77353324c8cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms Unpermitted parameters: name Redirected to http://test.host/products/548f4f8a77353324c8cd0000/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('548f4f8a77353324c8cf0000'), "name"=>"Leann Powlowski Jr.", "reference"=>"Wendy Waters", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d00000'), "name"=>"Shirley Quitzon", "reference"=>"Breanna O'Conner I", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d10000'), "name"=>"Dr. Earnest West", "reference"=>"Jalon Padberg", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d20000'), "name"=>"Damion Gusikowski II", "reference"=>"Ms. Kevon Beer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d30000'), "name"=>"Lucienne Hamill", "reference"=>"Mr. Geovanni Bosco", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d40000'), "name"=>"Santino Stanton", "reference"=>"Mr. Aurelia Metz", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1889ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms Redirected to http://test.host/products/548f4f8a77353324c8d50000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2146ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d60000'), "name"=>"Alden Labadie", "reference"=>"Dr. Hailee O'Reilly", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1903ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4f8a77353324c8d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms 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('548f4f8a77353324c8d70000'), "name"=>"Adrien Bahringer", "reference"=>"Audreanne Herzog", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4f8a77353324c8d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('548f4f8a77353324c8d80000'), "name"=>"Ole Schowalter", "reference"=>"Alicia Huels", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279977101844] runtime: 0.1128ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2396ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8d90000'), "name"=>"Aurore Okuneva", "reference"=>"Ruben Sanford", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8da0000'), "name"=>"HelloWorld", "reference"=>"Susanna Heaney Jr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8db0000'), "name"=>"value", "reference"=>"Brett Wunsch Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3905ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2671ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2305ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1738ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2267ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1918ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1730ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8dc0000'), "name"=>"Buddy Kemmer", "reference"=>"Gabe Keeling", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280718031022] runtime: 0.0999ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2267ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280461685131] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207819641] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024434673] runtime: 0.0997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241361628] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154979388] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281196616671] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279403961892] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280753710248] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279863270159] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529861847] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281017057233] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196207648] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279651489760] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311584739] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281084968254] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5402ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280530521131] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281134770625] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014424307] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281278992965] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468194443] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280372351693] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280203256897] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279278486355] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655206477] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280530051053] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225837532] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863816780] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281218046782] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433672792] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826015332] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440054057] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256889537] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279516887858] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280298778818] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880086039] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103005528] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281023515296] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279396219467] runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279691642495] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280086365005] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918630057] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760184526] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676486492] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280276779898] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318397430] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280430867507] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281066537043] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568220321] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244834819] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534934304] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279818415310] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279962260706] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280085180362] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279650827333] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518363480] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280573383468] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789252214] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 31.9155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853921517] runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027897932] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491341389] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281032909729] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280798821697] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279585670608] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579835600] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884188306] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280400522982] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191814742] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016533680] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426805658] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279799114694] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279550061852] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712649953] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280271992444] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279277119505] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060507718] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643699758] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279437371505] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297390008] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081591192] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280140452615] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864734755] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778339779] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279822803078] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281317227389] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490100040] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872107574] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603040521] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280595482880] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176474580] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279788116074] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235220773] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125399601] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189871398] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356504151] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280703053410] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815192977] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511803755] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280054546880] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065523341] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701662259] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279938238660] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106665462] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643903941] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297801368] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280868191893] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380078909] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281143304716] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756261884] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280659670643] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280893535236] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304324315] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805090741] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6396ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281172434013] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280919730600] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480885232] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690256520] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694760763] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281317712601] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195986426] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279926734976] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557194917] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279909756363] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279665409185] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280412591242] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667620991] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943660974] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531093578] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210523674] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090581786] runtime: 0.0980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280234791709] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079612454] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280214487915] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048802424] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380541924] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914661572] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312271822] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279631126299] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279461614196] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265752870] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152081696] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279504842243] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579061884] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704274215] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642603197] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432629563] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279822911472] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737414077] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279828926216] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371828357] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785900873] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291882870] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281099903864] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661227074] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912312414] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280217689243] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549834696] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5402ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280363915182] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208960305] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316416426] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279989015948] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280906019985] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280520670816] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279887745239] runtime: 0.0465ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8dd0000'), "name"=>"Adrienne Littel", "reference"=>"Miss Jackeline Okuneva", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2026ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1216ms Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8de0000'), "name"=>"Donato Jakubowski", "reference"=>"Maia Ratke PhD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279987562813] runtime: 0.0633ms 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('548f4f8a77353324c8df0000'), "name"=>"Cristal Wolff", "reference"=>"Sonia Anderson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4f8a77353324c8df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms 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('548f4f8a77353324c8e00000'), "name"=>"Jeff Flatley", "reference"=>"Cathy Thiel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('548f4f8a77353324c8e20000'), "name"=>"Tamara Baumbach", "reference"=>"Miss Regan Brakus", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4f8a77353324c8e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8a77353324c8e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8e30000'), "name"=>"Tito Jenkins", "reference"=>"Clyde Harber PhD", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2211ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 500 Internal Server Error in 87ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8a77353324c8e40000'), "name"=>"Claudie Ledner PhD", "reference"=>"Allan Streich", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 633.7727ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 500 Internal Server Error in 14ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8e50000'), "name"=>"Omari Klocko", "reference"=>"Christina Carroll", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7308ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4400ms 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('548f4f8b77353324c8e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7763ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4520ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8e70000'), "name"=>"Dereck Torphy", "reference"=>"Gretchen Becker PhD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6465ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4f8b77353324c8e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4644ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Completed 200 OK in 4ms (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('548f4f8b77353324c8e80000'), "name"=>"Julius Hudson", "reference"=>"Travis Gusikowski I", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8ea0000'), "name"=>"Raina Bayer", "reference"=>"Mr. Justen Keebler", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f8b77353324c8ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1595ms Completed 202 Accepted in 11ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8eb0000'), "name"=>"Alysha Monahan Jr.", "reference"=>"Alfred Yost", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4f8b77353324c8eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms Redirected to http://test.host/products/548f4f8b77353324c8eb0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8ee0000'), "name"=>"Paolo Kemmer II", "reference"=>"Lukas Tillman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8ec0000'), "author_name"=>"Germaine Ledner", "content"=>["Et quasi sint. Iusto fugit eum deleniti quia et quo. Et sint adipisci qui molestiae. Aut corporis ipsam et consequuntur incidunt dolore laborum. Unde autem autem eos rerum."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8ed0000'), "author_name"=>"Kelton Breitenberg", "content"=>["Ut officia eveniet nulla optio. Est eius ullam. Molestias aut quos vel aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4036ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4f8b77353324c8ee0000", "comment_id"=>"548f4f8b77353324c8ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ee0000'), "comments._id"=>BSON::ObjectId('548f4f8b77353324c8ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f8b77353324c8ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7157ms Redirected to http://test.host/products/548f4f8b77353324c8ee0000/comments/548f4f8b77353324c8ec0000/comments/548f4f8b77353324c8ef0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f20000'), "name"=>"Kaitlyn Heller", "reference"=>"Alec Tillman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f00000'), "author_name"=>"Joan Harris", "content"=>["Quia dolor itaque excepturi. Nesciunt consequuntur assumenda officiis. Quis minima quia. Occaecati molestias sed blanditiis veniam illum. Minima et rerum autem et."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f10000'), "author_name"=>"Darrick Lind", "content"=>["Qui molestias ut ducimus provident facere ea. Et vitae dolore optio non asperiores. Quia minima impedit esse necessitatibus nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4f8b77353324c8f20000", "comment_id"=>"548f4f8b77353324c8f00000", "id"=>"548f4f8b77353324c8f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4372ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f20000'), "comments._id"=>BSON::ObjectId('548f4f8b77353324c8f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4f8b77353324c8f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5981ms Redirected to http://test.host/products/548f4f8b77353324c8f20000/comments/548f4f8b77353324c8f00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f50000'), "name"=>"Kaelyn Considine", "reference"=>"Matilda Zulauf", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f30000'), "author_name"=>"Carter Herzog V", "content"=>["Modi ipsa illum omnis sequi amet eum. Pariatur eos error reiciendis. Ipsa vero dolores quaerat non natus repudiandae molestiae. Nisi asperiores ut omnis qui optio exercitationem. Facilis harum optio dolores fuga rem."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f40000'), "author_name"=>"Emanuel Grimes", "content"=>["Debitis voluptatem quae doloremque. Optio voluptatem qui velit molestiae non. At nam et qui. Molestias dolores similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5922ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4f8b77353324c8f50000", "comment_id"=>"548f4f8b77353324c8f30000", "id"=>"548f4f8b77353324c8f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 7.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f80000'), "name"=>"Jessyca O'Reilly", "reference"=>"Bettye Muller", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f60000'), "author_name"=>"Freeman Bergnaum", "content"=>["Soluta eveniet et nihil facilis eligendi officiis. Et est consequatur dolorem sed. Et iste error reprehenderit. Consectetur quis est reprehenderit dicta modi et vero. Quia libero illum doloribus sit atque."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f70000'), "author_name"=>"Nigel Hayes", "content"=>["Temporibus distinctio nemo aut officia quisquam sapiente. Aperiam occaecati officia dolores nam fugiat. Accusamus veniam saepe qui nulla voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5598ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4f8b77353324c8f80000", "comment_id"=>"548f4f8b77353324c8f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8fb0000'), "name"=>"Shaylee Beahan", "reference"=>"Daniela Reinger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8f90000'), "author_name"=>"Jeffry Zulauf MD", "content"=>["In neque ullam. Blanditiis libero numquam aut necessitatibus. Iure odit doloribus nihil accusamus ut quod nisi. Non neque placeat dolor et. Voluptatem beatae perferendis sapiente non recusandae temporibus veniam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8fa0000'), "author_name"=>"Lourdes Koelpin", "content"=>["Commodi adipisci odio debitis fugiat nihil. Aut quis id qui. Id odio neque illum ducimus explicabo unde et. Doloribus amet nesciunt. Amet eligendi nisi nobis magnam expedita vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5626ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4f8b77353324c8fb0000", "comment_id"=>"548f4f8b77353324c8f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5043ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8fe0000'), "name"=>"Janae Halvorson", "reference"=>"Lola Nitzsche", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8fc0000'), "author_name"=>"Mittie Miller", "content"=>["Dolor dolorem officiis nihil iusto et. Distinctio dolore officia totam. Sed tempora odit esse corporis. Atque quasi autem repudiandae nam error ratione. Aut ducimus sunt dolorem nam consequatur qui saepe."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8fd0000'), "author_name"=>"Charlene Kerluke III", "content"=>["Rerum ut ut et asperiores et aut. Distinctio enim repellendus dignissimos vel sunt fugit praesentium. Voluptas ad esse tenetur voluptas voluptatem facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 39.1317ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4f8b77353324c8fe0000", "comment_id"=>"548f4f8b77353324c8fc0000", "id"=>"548f4f8b77353324c8fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7443ms Completed 200 OK in 7ms (Views: 0.4ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8010100'), "name"=>"Odessa Weimann", "reference"=>"Dr. Brooks Ankunding", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8ff0000'), "author_name"=>"Melyssa Pagac", "content"=>["Ipsam vel ex eveniet atque. Totam modi temporibus. Fugiat ex ipsum consequatur sit sed maxime. Consequuntur nemo dolorum blanditiis vitae sint. Nulla nostrum est est labore."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8000100'), "author_name"=>"Judd Feil", "content"=>["Suscipit facilis nam quis sit et assumenda quo. Explicabo recusandae nemo qui velit. Deleniti labore quod ab tempora. Quia reiciendis facere quo sapiente possimus quo. Ea impedit asperiores quisquam maiores sit voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7590ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4f8b77353324c8010100", "comment_id"=>"548f4f8b77353324c8ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6103ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 13ms (Views: 7.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8040100'), "name"=>"Dr. Kelvin Johns", "reference"=>"Rachelle Cronin Sr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8020100'), "author_name"=>"Angelo Hermiston", "content"=>["Atque autem dolor nostrum. Vitae et dignissimos ut veritatis eos est. Assumenda ut id et sunt debitis. Aut sint quaerat tempora ex. Eveniet aut et."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8030100'), "author_name"=>"Ericka Jacobs", "content"=>["Doloribus et id nesciunt est perspiciatis error officia. Voluptatem ducimus vel fuga dolores provident non. Accusantium vitae velit esse mollitia amet est impedit. Harum qui expedita. Sint unde at tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8191ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4f8b77353324c8040100", "comment_id"=>"548f4f8b77353324c8020100", "id"=>"548f4f8b77353324c8030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4818ms Completed 200 OK in 9ms (Views: 4.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8070100'), "name"=>"Emmalee Heathcote", "reference"=>"Mr. Eldon Connelly", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8050100'), "author_name"=>"Miss Ulises Nicolas", "content"=>["Ipsa sed praesentium. Excepturi nisi et nam ipsa itaque voluptatum ducimus. Sed odio optio ea nemo facilis adipisci blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4f8b77353324c8060100'), "author_name"=>"Alia Auer", "content"=>["Quia facilis sit quos harum reiciendis doloribus consectetur. Ut quo commodi vitae quasi consequatur tenetur rem. Tenetur ipsa sint fuga consequatur officiis aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8805ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4f8b77353324c8060100", "product_id"=>"548f4f8b77353324c8070100", "comment_id"=>"548f4f8b77353324c8050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4f8b77353324c8070100'), "comments._id"=>BSON::ObjectId('548f4f8b77353324c8050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4f8b77353324c8060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8221ms Redirected to http://test.host/products/548f4f8b77353324c8070100/comments/548f4f8b77353324c8050100/comments/548f4f8b77353324c8060100 Completed 302 Found in 51ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c8080100'), "firstname"=>"Bertha", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6275ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3108ms 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('548f4f8b77353324c8090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms Redirected to http://test.host/users/548f4f8b77353324c8090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2765ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c80a0100'), "firstname"=>"Andrew", "lastname"=>"Conn"}] 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=>"admin_users", :query=>{}} runtime: 0.2270ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4f8b77353324c80a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8b77353324c80a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8b77353324c80a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms 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.2556ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c80b0100'), "firstname"=>"Krystina", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5405ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4f8b77353324c80b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8b77353324c80b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 11ms (Views: 9.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8b77353324c80c0100'), "firstname"=>"Evelyn", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms 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.4808ms 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('548f4f8c77353324c80d0100'), "firstname"=>"Issac", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8c77353324c80e0100'), "firstname"=>"Emory", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7178ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4f8c77353324c80e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8c77353324c80e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4f8c77353324c80f0100'), "firstname"=>"Cristina", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4f8c77353324c80f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4f8c77353324c80f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms Unpermitted parameters: name Redirected to http://test.host/users/548f4f8c77353324c80f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4569ms 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.4572ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6408ms 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.4210ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7966ms 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.4025ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540000000'), "firstname"=>"Ethan", "lastname"=>"Emmerich"}] 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=>"administrators", :query=>{}} runtime: 0.2402ms 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('548f4fa77735332540010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms 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.2589ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540020000'), "firstname"=>"Gladyce", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4fa77735332540020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa77735332540020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4055ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 20ms (Views: 17.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540030000'), "firstname"=>"Shawn", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540040000'), "firstname"=>"Kevon", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4fa77735332540040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa77735332540040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540050000'), "firstname"=>"Vidal", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4fa77735332540050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa77735332540050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms 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('548f4fa77735332540060000'), "name"=>"Kacie Stehr", "reference"=>"Maci Mertz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa77735332540070000'), "author_name"=>"Carolyne Beier", "content"=>["Ipsum doloremque doloribus sit dolores. Ea nihil libero alias saepe facilis voluptates. Fugit saepe iste. Eos vitae magnam ut earum et officia. Maiores nisi quaerat."]}]}] 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('548f4fa77735332540060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4fa77735332540060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fa77735332540080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms Redirected to http://test.host/admin/products/548f4fa77735332540060000/comments/548f4fa77735332540080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540090000'), "name"=>"Heber Lubowitz", "reference"=>"Arvilla Parisian", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa777353325400a0000'), "author_name"=>"Colten Bauch", "content"=>["Natus repudiandae tempore atque sunt. Deleniti ipsam consequatur. Reprehenderit inventore rem rerum quod velit dolor."]}]}] 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('548f4fa77735332540090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4fa77735332540090000", "id"=>"548f4fa777353325400a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540090000')} 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('548f4fa77735332540090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fa777353325400a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Redirected to http://test.host/admin/products/548f4fa77735332540090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325400b0000'), "name"=>"Tavares Considine PhD", "reference"=>"Betsy Oberbrunner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa777353325400c0000'), "author_name"=>"Zackary Halvorson", "content"=>["Sed ab atque. Debitis commodi aliquam. Neque reiciendis enim vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4fa777353325400b0000", "id"=>"548f4fa777353325400c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325400b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325400d0000'), "name"=>"Ezra Huels", "reference"=>"Barrett Quitzon", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa777353325400e0000'), "author_name"=>"Graciela Pouros", "content"=>["Qui eos qui iusto. Natus adipisci laboriosam voluptatem architecto illo. Quisquam rem voluptate. Officia distinctio culpa molestiae occaecati rem. Iusto vel et atque doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4fa777353325400d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325400d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4072ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325400f0000'), "name"=>"Marilie Miller", "reference"=>"Dorthy Langosh", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa77735332540100000'), "author_name"=>"Dane Zulauf", "content"=>["Debitis et sequi neque et ut consequatur. Est laborum libero inventore et quas fuga aut. Sit esse veniam temporibus quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4fa777353325400f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325400f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3415ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540110000'), "name"=>"Estelle Renner DVM", "reference"=>"Vaughn Kreiger", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa77735332540120000'), "author_name"=>"Mozell Runolfsson", "content"=>["Fuga rerum nemo officiis voluptas excepturi maiores. Incidunt enim illum ea consectetur culpa qui. Et aliquam quia sed doloremque rerum sit consequuntur. Quae non et repellendus tempora ducimus incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4fa77735332540110000", "id"=>"548f4fa77735332540120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa77735332540130000'), "name"=>"Kelly Bartoletti", "reference"=>"Brando Greenholt PhD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa77735332540140000'), "author_name"=>"Green Thompson Jr.", "content"=>["Neque veritatis ut numquam. Beatae nobis et nostrum. Quibusdam qui libero omnis occaecati ut fugiat. Voluptas et sequi ipsum. Dicta aut est voluptatem tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5715ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4fa77735332540140000", "product_id"=>"548f4fa77735332540130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540130000')} 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('548f4fa77735332540130000'), "comments._id"=>BSON::ObjectId('548f4fa77735332540140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms Redirected to http://test.host/admin/products/548f4fa77735332540130000/comments/548f4fa77735332540140000 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('548f4fa77735332540150000'), "name"=>"Paul Donnelly PhD", "reference"=>"Braulio Balistreri Sr.", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4fa77735332540160000'), "firstname"=>"Jesus", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5881ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4fa77735332540150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4fa77735332540170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Redirected to http://test.host/admin/products/548f4fa77735332540150000/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('548f4fa77735332540180000'), "name"=>"Dr. Golden Bosco", "reference"=>"Daija Purdy", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4fa77735332540190000'), "firstname"=>"Eldridge", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5121ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4fa77735332540190000", "product_id"=>"548f4fa77735332540180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa77735332540180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4398ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325401a0000'), "name"=>"Annette Herzog", "reference"=>"Mrs. Chelsie West", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4fa777353325401b0000'), "firstname"=>"Jesse", "lastname"=>"Dooley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4fa777353325401a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325401a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325401c0000'), "name"=>"Cassie Bergnaum", "reference"=>"Kiley Schroeder", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4fa777353325401d0000'), "firstname"=>"Eugene", "lastname"=>"Emard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5420ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4fa777353325401d0000", "product_id"=>"548f4fa777353325401c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325401c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa777353325401e0000'), "name"=>"Casandra Senger", "reference"=>"Dr. Alberto Lebsack", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f4fa777353325401f0000'), "firstname"=>"Bell", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4fa777353325401f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4fa777353325401e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa777353325401e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4fa777353325401e0000/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('548f4fa77735332540200000'), "name"=>"Bessie Hackett", "reference"=>"Ethan Davis", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7922ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2088ms 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('548f4fa87735332540210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms Redirected to http://test.host/admin/products/548f4fa87735332540210000 Completed 302 Found in 3ms 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('548f4fa87735332540220000'), "name"=>"Sherwood Cormier", "reference"=>"Norris Erdman", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1933ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4fa87735332540220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms 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.2260ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540230000'), "name"=>"Edgardo Dietrich Sr.", "reference"=>"Obie Hettinger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4fa87735332540230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540240000'), "name"=>"Frederique Grant PhD", "reference"=>"Jamarcus Auer", "quantity"=>1}] 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.5122ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540250000'), "name"=>"Angelo Heathcote Sr.", "reference"=>"Estefania Trantow", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('548f4fa87735332540280000'), "name"=>"Miss Skylar Schiller", "reference"=>"Sabryna Strosin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4fa87735332540280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms 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('548f4fa87735332540290000'), "name"=>"Fritz Sporer III", "reference"=>"Jeffrey Franecki IV", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4fa87735332540290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Redirected to http://test.host/admin/products/548f4fa87735332540290000 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('548f4fa877353325402a0000'), "firstname"=>"Waino", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1999ms 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('548f4fa877353325402b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Redirected to http://test.host/admin/users/548f4fa877353325402b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2499ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fa877353325402c0000'), "firstname"=>"Eleonore", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms 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"=>"548f4fa877353325402c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fa877353325402c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fa877353325402c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms 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.2099ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fa877353325402d0000'), "firstname"=>"Ocie", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4fa877353325402d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fa877353325402d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fa877353325402e0000'), "firstname"=>"Richard", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms 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.4297ms 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('548f4fa877353325402f0000'), "firstname"=>"Brain", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f4fa87735332540300000'), "firstname"=>"Margarete", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4fa87735332540300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fa87735332540300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540310000'), "firstname"=>"Danny", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4fa87735332540310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fa87735332540310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4fa87735332540310000 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('548f4fa87735332540320000'), "firstname"=>"Weston", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5865ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2033ms 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('548f4fa87735332540330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms 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.1573ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540340000'), "firstname"=>"Olga", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4fa87735332540340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa87735332540340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540350000'), "firstname"=>"Marie", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5183ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540360000'), "firstname"=>"Curt", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4fa87735332540360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa87735332540360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540370000'), "firstname"=>"Graham", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4fa87735332540370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fa87735332540370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540380000'), "name"=>"Warren King Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540390000'), "name"=>"Evangeline Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403a0000'), "name"=>"Mr. Myah Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403b0000'), "name"=>"Margarette Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403c0000'), "name"=>"Jolie Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403d0000'), "name"=>"Mrs. Lenna Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403e0000'), "name"=>"Genoveva Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325403f0000'), "name"=>"Ms. Ernesto Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325403f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540400000'), "name"=>"Mr. Clifford MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540410000'), "name"=>"Janelle Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540420000'), "name"=>"Pansy Emmerich PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540430000'), "name"=>"Treva Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540440000'), "name"=>"Miss Luz Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540450000'), "name"=>"Mrs. Ruth Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540460000'), "name"=>"Ms. Aubree Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540470000'), "name"=>"Fern Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540480000'), "name"=>"Hope Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540490000'), "name"=>"Mack Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1954ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404a0000'), "name"=>"Emmett Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404b0000'), "name"=>"Norberto Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404c0000'), "name"=>"Marguerite Greenholt DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404d0000'), "name"=>"Mr. Marlene Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404e0000'), "name"=>"Vladimir Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325404f0000'), "name"=>"Nia Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325404f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540500000'), "name"=>"Mrs. Aletha Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540510000'), "name"=>"Maribel Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540520000'), "name"=>"Donnell Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540530000'), "name"=>"Breanne Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540540000'), "name"=>"Hayden Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540550000'), "name"=>"Graham Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540560000'), "name"=>"Leo Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540570000'), "name"=>"Bernadette Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540580000'), "name"=>"Kathryne Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540590000'), "name"=>"Elza Nolan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405a0000'), "name"=>"Carmine Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405b0000'), "name"=>"Magdalena D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405c0000'), "name"=>"Jaylen Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405d0000'), "name"=>"Mrs. Allan Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405e0000'), "name"=>"April Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325405f0000'), "name"=>"Sonia Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325405f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540600000'), "name"=>"Zetta Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540610000'), "name"=>"Trent Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540620000'), "name"=>"Ms. Jennifer O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540630000'), "name"=>"Dr. Dandre Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540640000'), "name"=>"Burley Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540650000'), "name"=>"Derrick D'Amore III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540660000'), "name"=>"Eleanora Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540670000'), "name"=>"Laurie Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540680000'), "name"=>"Sigmund Donnelly MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1877ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540690000'), "name"=>"Jamil Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406a0000'), "name"=>"Gilda Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406b0000'), "name"=>"Harrison Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406c0000'), "name"=>"Marcos Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406d0000'), "name"=>"Litzy Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406e0000'), "name"=>"Allene Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325406f0000'), "name"=>"Richie Cummerata V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325406f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540700000'), "name"=>"Miss Courtney King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540710000'), "name"=>"Hillary O'Keefe DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540720000'), "name"=>"Roselyn Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540730000'), "name"=>"Jarvis Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540740000'), "name"=>"Ted Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540750000'), "name"=>"Hosea Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540760000'), "name"=>"Jacklyn Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540770000'), "name"=>"Mr. Ebba Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540780000'), "name"=>"Dayana Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540790000'), "name"=>"Archibald Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407a0000'), "name"=>"Melvin Cronin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407b0000'), "name"=>"Miss Ethelyn Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407c0000'), "name"=>"Aubree Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407d0000'), "name"=>"Meagan Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407e0000'), "name"=>"Deja Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325407f0000'), "name"=>"Rico Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325407f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540800000'), "name"=>"Lea Wilkinson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540810000'), "name"=>"Morris Stracke PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540820000'), "name"=>"Kelvin Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540830000'), "name"=>"Chadd Auer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540840000'), "name"=>"Mohammed O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540850000'), "name"=>"Joesph Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540860000'), "name"=>"Lynn Wolff PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540870000'), "name"=>"Davonte Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540880000'), "name"=>"Roderick Stark Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540890000'), "name"=>"Maye Keebler I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408a0000'), "name"=>"Helene Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408b0000'), "name"=>"Janessa Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408c0000'), "name"=>"Leda Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408d0000'), "name"=>"Harry Mills DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408e0000'), "name"=>"Melisa Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325408f0000'), "name"=>"Sienna Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325408f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540900000'), "name"=>"Mrs. Eda Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540910000'), "name"=>"Eugene Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540920000'), "name"=>"Miss Chaz Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540930000'), "name"=>"Malika VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540940000'), "name"=>"Ardith Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540950000'), "name"=>"Elsie Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540960000'), "name"=>"Lenny Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540970000'), "name"=>"Sam Frami DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2136ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms Redirected to http://test.host/categories/548f4fa87735332540980000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2537ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540990000'), "name"=>"Opal Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2097ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4fa87735332540990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa87735332540990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa87735332540990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2455ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325409a0000'), "name"=>"Muriel Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4fa877353325409a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa877353325409a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3967ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 9.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325409b0000'), "name"=>"Willy Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306737673692] runtime: 0.1016ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2632ms Completed 200 OK in 17ms (Views: 16.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325409c0000'), "name"=>"Rae Emmerich"}] 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={"category_id"=>BSON::ObjectId('548f4fa877353325409c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306323262034] runtime: 0.0798ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2726ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325409d0000'), "name"=>"Myrtle Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa877353325409f0000'), "name"=>"Desiree Bednar"}] 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={"category_id"=>BSON::ObjectId('548f4fa877353325409f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4fa877353325409f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa877353325409f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa877353325409f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540a00000'), "name"=>"Miss Sadie Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4fa87735332540a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa87735332540a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.7048ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fa87735332540a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fa87735332540a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Redirected to http://test.host/categories/548f4fa87735332540a00000 Completed 302 Found in 30ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540a10000'), "name"=>"Camille Legros DDS", "reference"=>"Emie Jacobson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540a20000'), "author_name"=>"Chelsey Batz Jr.", "content"=>["Similique ipsam molestiae et id quis voluptate. Officiis delectus repudiandae. Ut molestiae facilis sed velit similique consectetur fugit. Neque consequuntur itaque minus sint. Quas aut voluptate excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4fa87735332540a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fa87735332540a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Redirected to http://test.host/products/548f4fa87735332540a10000/comments/548f4fa87735332540a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540a40000'), "name"=>"Rebecca Pouros", "reference"=>"Vivienne Wintheiser", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540a50000'), "author_name"=>"Evangeline Jacobson", "content"=>["Expedita sunt officia voluptatibus odit laudantium. Ipsum cumque ut cupiditate quasi vero iusto. Vel officia eligendi eius fuga accusamus corrupti. Distinctio sequi aliquam ipsa qui in. At nesciunt dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4fa87735332540a40000", "id"=>"548f4fa87735332540a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4513ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fa87735332540a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Redirected to http://test.host/products/548f4fa87735332540a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540a60000'), "name"=>"Victor Emmerich", "reference"=>"German Feest", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540a70000'), "author_name"=>"Matilde Rogahn", "content"=>["Nulla sunt tempore ut. Et aut dolore temporibus voluptatem voluptatibus quae. Voluptate ea minima ab corrupti odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4fa87735332540a60000", "id"=>"548f4fa87735332540a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3812ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540a80000'), "name"=>"Jarrod Robel", "reference"=>"Jaren Little DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540a90000'), "author_name"=>"Dayne Frami", "content"=>["Eos ipsum accusamus iusto repudiandae eum consequatur minus. Placeat esse est quod quia soluta. Eos voluptates quisquam vero. Eligendi et molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4fa87735332540a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540aa0000'), "name"=>"Khalil Batz", "reference"=>"Miss Taya Schmeler", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540ab0000'), "author_name"=>"Janae Larson DDS", "content"=>["Officia impedit iure. Ipsum soluta ducimus et nostrum quia. Porro repellendus accusantium pariatur. Nemo velit et ut qui vel officiis. Quaerat quam modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4fa87735332540aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3416ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540ac0000'), "name"=>"Kaelyn King", "reference"=>"Dr. Maryse Barton", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540ad0000'), "author_name"=>"Justus Wunsch V", "content"=>["Architecto porro pariatur. Nesciunt reiciendis saepe ex aut et ut dolores. Occaecati quisquam porro expedita voluptates asperiores ut est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4fa87735332540ac0000", "id"=>"548f4fa87735332540ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540ae0000'), "name"=>"Ms. Merlin Eichmann", "reference"=>"Pansy Larson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540af0000'), "author_name"=>"Rafael Kling", "content"=>["Eum cumque nemo illo. Ipsum facere dolorum. Dolores sint unde dolorum tempore deleniti delectus. Sapiente rerum earum esse dolores sint nihil ratione. Aspernatur quidem ratione quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8233ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4fa87735332540ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5025ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 6.4ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540b00000'), "name"=>"Deangelo Kunde", "reference"=>"Dr. Ole Kuhlman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540b10000'), "author_name"=>"Ethan Abshire", "content"=>["Id dolorem commodi architecto quaerat ut voluptatum. Doloribus consequatur est aspernatur odio. Blanditiis esse vel qui natus eum et qui. Similique eveniet voluptas. Quod quia et doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6493ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4fa87735332540b00000", "id"=>"548f4fa87735332540b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5123ms 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('548f4fa87735332540b20000'), "name"=>"Heather Volkman", "reference"=>"Louvenia Hyatt", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fa87735332540b30000'), "author_name"=>"Vidal Bartoletti", "content"=>["Rerum voluptas repellendus at quidem minus eveniet. Tenetur nam ducimus a quia voluptas ab sunt. Ut cupiditate nam quia. Recusandae deserunt natus occaecati iste alias. Voluptates veniam quasi eligendi dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6536ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4fa87735332540b30000", "product_id"=>"548f4fa87735332540b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540b20000'), "comments._id"=>BSON::ObjectId('548f4fa87735332540b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6278ms Redirected to http://test.host/products/548f4fa87735332540b20000/comments/548f4fa87735332540b30000 Completed 302 Found in 9ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540b40000'), "firstname"=>"Annalise", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6911ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3360ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4842ms Redirected to http://test.host/admin/clients/548f4fa87735332540b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2733ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540b60000'), "firstname"=>"Mariane", "lastname"=>"Botsford"}] 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=>"clients", :query=>{}} runtime: 0.2461ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4fa87735332540b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4544ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms 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.3154ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540b70000'), "firstname"=>"Clotilde", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4fa87735332540b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('548f4fa87735332540b80000'), "firstname"=>"Angie", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms 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('548f4fa87735332540b90000'), "firstname"=>"Angeline", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4fa87735332540ba0000'), "firstname"=>"Lonie", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4fa87735332540ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms 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('548f4fa87735332540bb0000'), "firstname"=>"Lucienne", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4fa87735332540bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540bb0000')} 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('548f4fa87735332540bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms Redirected to http://test.host/admin/clients/548f4fa87735332540bb0000 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('548f4fa87735332540bc0000'), "firstname"=>"Brandyn", "lastname"=>"Barrows"}] 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.2963ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Redirected to http://test.host/clients/548f4fa87735332540bd0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2777ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540be0000'), "firstname"=>"Lindsey", "lastname"=>"Mayer"}] 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=>"clients", :query=>{}} runtime: 0.1948ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4fa87735332540be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms 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.2008ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540bf0000'), "firstname"=>"Damien", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4fa87735332540bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Rendered /home/geoffroy/projects/crealettres/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('548f4fa87735332540c00000'), "firstname"=>"Rosalia", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('548f4fa87735332540c10000'), "firstname"=>"Amie", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5781ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('548f4fa87735332540c20000'), "firstname"=>"Buddy", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4fa87735332540c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms 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('548f4fa87735332540c30000'), "firstname"=>"Elza", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4fa87735332540c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fa87735332540c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms Redirected to http://test.host/clients/548f4fa87735332540c30000 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('548f4fa87735332540c40000'), "name"=>"Ransom Lang DDS", "reference"=>"Delfina D'Amore", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540c50000'), "firstname"=>"Danny", "lastname"=>"Aufderhar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4fa87735332540c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms Redirected to http://test.host/products/548f4fa87735332540c40000/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('548f4fa87735332540c70000'), "name"=>"Selena Bednar", "reference"=>"Mr. Anna Kling", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540c80000'), "firstname"=>"Tod", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4fa87735332540c80000", "product_id"=>"548f4fa87735332540c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540c90000'), "name"=>"Clemmie Funk DVM", "reference"=>"Ms. Garfield D'Amore", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540ca0000'), "firstname"=>"Diana", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4fa87735332540c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540cb0000'), "name"=>"Macy Rodriguez Jr.", "reference"=>"Devan Romaguera", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540cc0000'), "firstname"=>"Darlene", "lastname"=>"Beatty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4fa87735332540cc0000", "product_id"=>"548f4fa87735332540cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540cd0000'), "name"=>"Matteo Bashirian", "reference"=>"Mrs. Raymundo Stehr", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4fa87735332540ce0000'), "firstname"=>"Marietta", "lastname"=>"Wintheiser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4fa87735332540ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4fa87735332540cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa87735332540cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Unpermitted parameters: name Redirected to http://test.host/products/548f4fa87735332540cd0000/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('548f4fa87735332540cf0000'), "name"=>"Tracey Cremin", "reference"=>"Adriel Gottlieb", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540d00000'), "name"=>"Russ Lueilwitz I", "reference"=>"Jeanie Stanton", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540d10000'), "name"=>"Mr. Ephraim Jaskolski", "reference"=>"Caden Oberbrunner MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540d20000'), "name"=>"Deonte Hegmann", "reference"=>"Forrest Klocko", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540d30000'), "name"=>"Leslie Leuschke V", "reference"=>"Shea Pagac", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa87735332540d40000'), "name"=>"Serena Mills", "reference"=>"Miracle Dach Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2777ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2185ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5973ms Redirected to http://test.host/products/548f4fa97735332540d50000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3636ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540d60000'), "name"=>"Hazle Sipes", "reference"=>"Yadira Pacocha", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3208ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4fa97735332540d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa97735332540d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4236ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa97735332540d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms 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.3065ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540d70000'), "name"=>"Gaston Hilpert", "reference"=>"Idell Franecki", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4fa97735332540d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa97735332540d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4087ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540d80000'), "name"=>"Nestor Zieme", "reference"=>"Olin Huels", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5675ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153094785] runtime: 0.1089ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4068ms Completed 200 OK in 19ms (Views: 18.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540d90000'), "name"=>"Loy Hudson", "reference"=>"Waino Connelly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540da0000'), "name"=>"HelloWorld", "reference"=>"Beau Metz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540db0000'), "name"=>"value", "reference"=>"Wilhelm Klocko", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.5062ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4702ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4439ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2844ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4707ms Completed 200 OK in 4ms (Views: 3.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4105ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3614ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2755ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540dc0000'), "name"=>"Ulices Kub", "reference"=>"Helmer Schinner", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0971ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116061458] runtime: 0.1037ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3901ms Completed 200 OK in 18ms (Views: 16.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279406137451] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320562731] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601550549] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280801672579] runtime: 0.1147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620309954] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525127727] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739325781] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524197771] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089565402] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495330826] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846752973] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280337110750] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280176182298] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529654133] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943150058] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344167458] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708629226] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281031153985] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794916448] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281275323978] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932111768] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686987987] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280664846331] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280732418090] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279528712505] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279939338516] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279576097069] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659927446] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280695654766] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279402714323] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280522345873] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118481261] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099529924] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280745425788] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281178994335] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371472371] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557434461] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279867164586] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089602583] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292730767] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791332712] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280667206555] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497413692] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281036962504] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280465411252] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280889615333] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272327213] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390416174] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533661992] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561906742] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511174087] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716610161] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280261760694] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861847302] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281003730896] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279931058183] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600644017] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279249219265] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001252775] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280139721471] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280304434171] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725158322] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280868848615] runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280714242728] runtime: 0.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281163083723] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279429711890] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279736466343] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299197719] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279325227388] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293893588] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279671662909] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125914682] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279828922514] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280113912106] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279394053140] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998766419] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210380278] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280289183023] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124821286] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279819640295] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723784805] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563241529] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281216492539] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144685760] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481865140] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280339678554] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336541419] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279604510250] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280733792730] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195233780] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279764654960] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279521458780] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241119351] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279889752672] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279829901852] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241980095] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281139098789] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281150792145] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279595549923] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460044026] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279347877216] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696756181] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983888112] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983613452] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280396525619] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280405683396] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280214328205] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898220229] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280608062148] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146354621] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280803250763] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280476145203] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280111192] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431153683] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280369147597] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193314265] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280228371796] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281139134416] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769023101] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280462830591] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280222637066] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739033655] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280862853337] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000359266] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792814350] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408617080] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279355769941] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280637585168] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280335321300] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280030319669] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439424111] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065014196] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280182315245] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279919417697] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280151797443] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933077349] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279213621541] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279895286872] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841028300] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635223786] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281178171991] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809994011] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.2081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280856028208] runtime: 0.0912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279317050852] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280448463475] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707866525] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649139110] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700431976] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280994650527] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124940647] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280799983333] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428287542] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923652271] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279454424582] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552394340] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280928477417] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280321976796] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279509858171] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281182163315] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280182379594] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280929495322] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921976664] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272036214] runtime: 0.0417ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540dd0000'), "name"=>"Deborah Carroll", "reference"=>"Ms. Gus Davis", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1606ms Completed 500 Internal Server Error in 2ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540de0000'), "name"=>"Samanta Prohaska", "reference"=>"Cary Gislason", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279766951048] runtime: 0.0589ms Completed 200 OK in 5ms (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('548f4fa97735332540df0000'), "name"=>"Loren Moore", "reference"=>"Penelope Trantow", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4fa97735332540df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa97735332540df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms 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('548f4fa97735332540e00000'), "name"=>"Jeramy Bailey", "reference"=>"Ariel Moen I", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540e20000'), "name"=>"Jasper Reichel", "reference"=>"Joel Mohr", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4fa97735332540e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fa97735332540e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540e30000'), "name"=>"Celine Heller", "reference"=>"Jovani Parker", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5778ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3616ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fa97735332540e40000'), "name"=>"Royce Mayer DDS", "reference"=>"Luis Boyer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 778.0573ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6222ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4711ms Completed 500 Internal Server Error in 16ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540e50000'), "name"=>"Leslie Okuneva MD", "reference"=>"Miss Lila Willms", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7408ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3557ms 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('548f4faa7735332540e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6430ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3543ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540e70000'), "name"=>"Abigayle O'Reilly", "reference"=>"Shayne Upton Jr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4faa7735332540e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Completed 200 OK in 4ms (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('548f4faa7735332540e80000'), "name"=>"Giovanna Mitchell", "reference"=>"Aliyah Heller", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540ea0000'), "name"=>"Hugh Osinski", "reference"=>"Juanita Hettinger", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.4826ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4faa7735332540ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540ea0000')} 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('548f4faa7735332540ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540eb0000'), "name"=>"Nathan Hirthe", "reference"=>"Dovie Hammes Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4faa7735332540eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5304ms Redirected to http://test.host/products/548f4faa7735332540eb0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540ee0000'), "name"=>"Zachery Franecki", "reference"=>"Dr. Valerie Langosh", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540ec0000'), "author_name"=>"Mrs. Deron Kuphal", "content"=>["Accusamus nobis veritatis ut. Dolorem quisquam perferendis excepturi ipsum. Debitis nihil dolorem culpa et hic."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540ed0000'), "author_name"=>"Earnest Roberts PhD", "content"=>["Nesciunt rerum sunt libero. Minima labore dolorum provident natus. Nulla rerum aspernatur earum numquam et. Id porro in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4faa7735332540ee0000", "comment_id"=>"548f4faa7735332540ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4475ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540ee0000'), "comments._id"=>BSON::ObjectId('548f4faa7735332540ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4faa7735332540ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5904ms Redirected to http://test.host/products/548f4faa7735332540ee0000/comments/548f4faa7735332540ec0000/comments/548f4faa7735332540ef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3818ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540f20000'), "name"=>"Mr. Nicolette Cole", "reference"=>"Mr. Madaline Morissette", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f00000'), "author_name"=>"Hadley Dickens", "content"=>["Est consectetur provident quam quibusdam earum quisquam explicabo. Quibusdam molestias pariatur molestiae temporibus. Eos placeat architecto."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f10000'), "author_name"=>"Lionel Sanford", "content"=>["Sed veniam consectetur. Dolor ut iusto vero cupiditate. Ea alias laborum molestias culpa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4faa7735332540f20000", "comment_id"=>"548f4faa7735332540f00000", "id"=>"548f4faa7735332540f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f20000'), "comments._id"=>BSON::ObjectId('548f4faa7735332540f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4faa7735332540f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms Redirected to http://test.host/products/548f4faa7735332540f20000/comments/548f4faa7735332540f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540f50000'), "name"=>"Rory Schimmel", "reference"=>"Adell Hoeger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f30000'), "author_name"=>"Miss Delphia Ward", "content"=>["Sapiente velit et culpa. Atque excepturi voluptatum consectetur molestiae qui vero. Facilis omnis blanditiis ut. Porro dolore aut est voluptatem doloremque dolores."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f40000'), "author_name"=>"Ms. Elroy Upton", "content"=>["Asperiores exercitationem eveniet sed voluptas vitae velit aut. Esse qui beatae. Sed voluptatibus enim inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4faa7735332540f50000", "comment_id"=>"548f4faa7735332540f30000", "id"=>"548f4faa7735332540f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540f80000'), "name"=>"Lawson Bode", "reference"=>"Miss Johnnie Cronin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f60000'), "author_name"=>"Justus Lesch", "content"=>["In iste veniam adipisci. Dicta libero dolore voluptatem aut consequatur culpa. Facere dolores adipisci aut voluptatibus maiores. Qui illo dolorum quia vel."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f70000'), "author_name"=>"Grover Wehner MD", "content"=>["Modi at perferendis reprehenderit vel et. Est error mollitia voluptatum sunt aut praesentium rerum. Neque ea corporis sequi quaerat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5900ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4faa7735332540f80000", "comment_id"=>"548f4faa7735332540f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4161ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540fb0000'), "name"=>"Caroline Kuphal", "reference"=>"Velma Lubowitz", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540f90000'), "author_name"=>"Kailey Funk", "content"=>["Voluptas vel id id eum molestiae excepturi illum. Omnis consequatur rerum. Modi ab unde cumque."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540fa0000'), "author_name"=>"Adele Labadie DVM", "content"=>["Aut cupiditate voluptas perspiciatis blanditiis. Est omnis magnam quia mollitia amet. Pariatur nobis et voluptas temporibus et dolores eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4faa7735332540fb0000", "comment_id"=>"548f4faa7735332540f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540fe0000'), "name"=>"Mr. Murphy Monahan", "reference"=>"Alvah Johnston II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540fc0000'), "author_name"=>"Nikita Morar III", "content"=>["Aut qui saepe. At a aut laboriosam et neque ipsa. Maiores sed voluptatibus ea reprehenderit consequatur totam. Consequatur cum alias qui. Cupiditate eligendi pariatur deserunt atque."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540fd0000'), "author_name"=>"Kiara Schmidt", "content"=>["Tempore culpa recusandae distinctio illum eius. Sequi deserunt maxime numquam corrupti. Laudantium accusamus sit. Ut excepturi eos. Error unde saepe sint laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4faa7735332540fe0000", "comment_id"=>"548f4faa7735332540fc0000", "id"=>"548f4faa7735332540fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540010100'), "name"=>"Eloisa Blanda", "reference"=>"Alene Schimmel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540ff0000'), "author_name"=>"Marjorie Leannon DVM", "content"=>["Voluptatem consequatur commodi sed ut. Consectetur et pariatur maiores ut sunt dolores nisi. Odio totam ipsam eos rerum. Nam nobis sequi porro ea rem cumque. Quam fuga cupiditate sint non nihil."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540000100'), "author_name"=>"Magnus Trantow II", "content"=>["Aut est vero omnis aliquam blanditiis et ex. Dolore voluptatum expedita ex labore aliquid quod adipisci. Et possimus esse. Officiis asperiores voluptatem. Possimus fuga error corporis accusantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4249ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4faa7735332540010100", "comment_id"=>"548f4faa7735332540ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540040100'), "name"=>"Odell Blanda", "reference"=>"Jordy Parisian", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540020100'), "author_name"=>"Al Fritsch", "content"=>["Minus adipisci sint aut. Nobis sint nostrum iusto voluptatem eaque distinctio. Itaque neque omnis recusandae ea."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540030100'), "author_name"=>"Alejandrin Schroeder", "content"=>["Fuga optio quo et esse. Harum aut ab. Aut dolorem pariatur perspiciatis aut. Maiores mollitia porro nisi perferendis et. Sed deleniti aut quia voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4faa7735332540040100", "comment_id"=>"548f4faa7735332540020100", "id"=>"548f4faa7735332540030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4faa7735332540070100'), "name"=>"Dr. Isabell Gibson", "reference"=>"Eldridge Homenick", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540050100'), "author_name"=>"Zachariah Watsica", "content"=>["Omnis qui distinctio. Dolor eaque aut sit molestiae beatae dolores. Deserunt quia et quis. Soluta id iure itaque et eius. Quos voluptas quia qui eos sed."], "comments"=>[{"_id"=>BSON::ObjectId('548f4faa7735332540060100'), "author_name"=>"Terrence Wintheiser", "content"=>["Rem autem illo recusandae. Sit nemo corporis minus. Quia qui facere provident quibusdam eaque. Ut aut consectetur ut nisi iure. Nulla quis earum saepe reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5523ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4faa7735332540060100", "product_id"=>"548f4faa7735332540070100", "comment_id"=>"548f4faa7735332540050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4faa7735332540070100'), "comments._id"=>BSON::ObjectId('548f4faa7735332540050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4faa7735332540060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6528ms Redirected to http://test.host/products/548f4faa7735332540070100/comments/548f4faa7735332540050100/comments/548f4faa7735332540060100 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('548f4faa7735332540080100'), "firstname"=>"Xzavier", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2210ms 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('548f4faa7735332540090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Redirected to http://test.host/users/548f4faa7735332540090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2636ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4faa77353325400a0100'), "firstname"=>"Everardo", "lastname"=>"Witting"}] 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=>"admin_users", :query=>{}} runtime: 0.2253ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4faa77353325400a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4faa77353325400a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4faa77353325400a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms 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.2182ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4faa77353325400b0100'), "firstname"=>"Retha", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4faa77353325400b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4faa77353325400b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) 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('548f4faa77353325400c0100'), "firstname"=>"Alysha", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms 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.4688ms Completed 200 OK in 9ms (Views: 8.0ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4faa77353325400d0100'), "firstname"=>"Stephany", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4faa77353325400e0100'), "firstname"=>"Treva", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4faa77353325400e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4faa77353325400e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms 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('548f4faa77353325400f0100'), "firstname"=>"Jeffry", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4faa77353325400f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4faa77353325400f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms Unpermitted parameters: name Redirected to http://test.host/users/548f4faa77353325400f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4602ms 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.4637ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7071ms 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.4331ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7969ms 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.4238ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd17735332630000000'), "firstname"=>"Edwina", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 255.5758ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.5031ms 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('548f4fd27735332630010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6631ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3704ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630020000'), "firstname"=>"Anais", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5191ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f4fd27735332630020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4869ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.6ms) Completed 200 OK in 29ms (Views: 27.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630030000'), "firstname"=>"Dorcas", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8003ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f4fd27735332630040000'), "firstname"=>"Geo", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6308ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f4fd27735332630040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630050000'), "firstname"=>"Cleve", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5185ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f4fd27735332630050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3464ms 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('548f4fd27735332630060000'), "name"=>"Mrs. Kareem Stanton", "reference"=>"Gust Upton", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd27735332630070000'), "author_name"=>"Mason Hudson", "content"=>["Maxime sint enim voluptatem nulla. Dolorem sunt quia odio nesciunt. Assumenda eligendi dignissimos ab odio eius est. Est aut qui officiis sunt. Esse corrupti quod aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4fd27735332630060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630060000')} 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('548f4fd27735332630060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fd27735332630080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms Redirected to http://test.host/admin/products/548f4fd27735332630060000/comments/548f4fd27735332630080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630090000'), "name"=>"Dr. Teresa Cummerata", "reference"=>"Jada Treutel", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd277353326300a0000'), "author_name"=>"Elvie Sauer", "content"=>["Maxime voluptatibus quod et repellendus cupiditate. Temporibus nisi asperiores est possimus optio maiores. Delectus quae tempore. Necessitatibus non velit nihil. Ducimus voluptatem enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.7267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4fd27735332630090000", "id"=>"548f4fd277353326300a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fd277353326300a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Redirected to http://test.host/admin/products/548f4fd27735332630090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326300b0000'), "name"=>"Arlie Herman III", "reference"=>"Madge Larkin Jr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd277353326300c0000'), "author_name"=>"Savanna Conn", "content"=>["Et omnis ut perspiciatis ea. Modi veniam provident sed a quis. Officia iste quia non. Quo nam sed perferendis tempora. Ipsam quo excepturi accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f4fd277353326300b0000", "id"=>"548f4fd277353326300c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326300b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326300d0000'), "name"=>"Jacinto Windler", "reference"=>"Kade Von", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd277353326300e0000'), "author_name"=>"Howell Emard V", "content"=>["Dolor accusamus dolorem aliquam corrupti nobis omnis quis. Sapiente sequi inventore. Qui explicabo esse temporibus aut laborum rerum vel. Ut quibusdam ipsam aut dolorem impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f4fd277353326300d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326300d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326300f0000'), "name"=>"Sally Medhurst", "reference"=>"Adelle Greenfelder", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd27735332630100000'), "author_name"=>"Dr. Gerson D'Amore", "content"=>["Nam repudiandae architecto ut et doloremque. In et molestiae necessitatibus sed. Qui vero nesciunt accusantium dolor consequatur repellat. Et ex et. Quia officiis sapiente rerum nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f4fd277353326300f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326300f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630110000'), "name"=>"Dr. Elyssa Heaney", "reference"=>"Sigmund Fritsch DVM", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd27735332630120000'), "author_name"=>"Valentin Swaniawski", "content"=>["Et libero enim non officia inventore aliquam. Distinctio accusamus quia sint accusantium. Dicta nobis ad quas cum quam magni at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f4fd27735332630110000", "id"=>"548f4fd27735332630120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630130000'), "name"=>"Dorthy Gaylord", "reference"=>"Robbie Kozey", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd27735332630140000'), "author_name"=>"Dr. Rickey Wehner", "content"=>["Labore recusandae eos. Est molestiae in omnis. Ut quibusdam quae dolorum labore repudiandae vel. Neque ut qui amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4fd27735332630140000", "product_id"=>"548f4fd27735332630130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630130000')} 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('548f4fd27735332630130000'), "comments._id"=>BSON::ObjectId('548f4fd27735332630140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Redirected to http://test.host/admin/products/548f4fd27735332630130000/comments/548f4fd27735332630140000 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('548f4fd27735332630150000'), "name"=>"Mr. Amy West", "reference"=>"Breana Grant", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4fd27735332630160000'), "firstname"=>"Herta", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4fd27735332630150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4fd27735332630170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms Redirected to http://test.host/admin/products/548f4fd27735332630150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630180000'), "name"=>"Dr. Fernando Halvorson", "reference"=>"Anjali Rogahn", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4fd27735332630190000'), "firstname"=>"Araceli", "lastname"=>"Larson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f4fd27735332630190000", "product_id"=>"548f4fd27735332630180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326301a0000'), "name"=>"Eloy Reynolds", "reference"=>"Audreanne Ruecker", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f4fd277353326301b0000'), "firstname"=>"Idella", "lastname"=>"Bruen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f4fd277353326301a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326301a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326301c0000'), "name"=>"Wyatt Okuneva", "reference"=>"Isaias Durgan IV", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4fd277353326301d0000'), "firstname"=>"Amiya", "lastname"=>"Cassin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6075ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f4fd277353326301d0000", "product_id"=>"548f4fd277353326301c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326301c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd277353326301e0000'), "name"=>"Mr. Emmalee Hoeger", "reference"=>"Joe Gislason", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f4fd277353326301f0000'), "firstname"=>"Kianna", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f4fd277353326301f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4fd277353326301e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd277353326301e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f4fd277353326301e0000/manager 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('548f4fd27735332630200000'), "name"=>"Aurore Spencer", "reference"=>"Ms. Curtis Pollich", "quantity"=>7}] 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=>"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('548f4fd27735332630210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms Redirected to http://test.host/admin/products/548f4fd27735332630210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3280ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630220000'), "name"=>"Mara Casper", "reference"=>"Nash Jaskolski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1919ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f4fd27735332630220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630220000')} 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('548f4fd27735332630220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms 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.2071ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630230000'), "name"=>"Sarah Bailey MD", "reference"=>"Mariela Reichert", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f4fd27735332630230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630240000'), "name"=>"Dr. Ransom Stracke", "reference"=>"Jermain Abshire", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms 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.4974ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630250000'), "name"=>"Randi Wilderman", "reference"=>"Dr. Duane Fritsch", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630280000'), "name"=>"Emmitt Zieme", "reference"=>"Wilmer Reichel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f4fd27735332630280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms 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('548f4fd27735332630290000'), "name"=>"Gino Jacobs IV", "reference"=>"River Gottlieb", "quantity"=>3}] 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"=>"548f4fd27735332630290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd27735332630290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Redirected to http://test.host/admin/products/548f4fd27735332630290000 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('548f4fd277353326302a0000'), "firstname"=>"Estevan", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2092ms 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('548f4fd277353326302b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Redirected to http://test.host/admin/users/548f4fd277353326302b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2165ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fd277353326302c0000'), "firstname"=>"Arturo", "lastname"=>"Watsica"}] 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=>"admin_users", :query=>{}} runtime: 0.1660ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f4fd277353326302c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd277353326302c0000')} 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('548f4fd277353326302c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms 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('548f4fd277353326302d0000'), "firstname"=>"Thelma", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f4fd277353326302d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd277353326302d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fd277353326302e0000'), "firstname"=>"Danika", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms 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.3388ms 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('548f4fd277353326302f0000'), "firstname"=>"Bell", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('548f4fd27735332630300000'), "firstname"=>"Rico", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f4fd27735332630300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd27735332630300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630310000'), "firstname"=>"Yasmin", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4fd27735332630310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd27735332630310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f4fd27735332630310000 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('548f4fd27735332630320000'), "firstname"=>"Lina", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1416ms 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('548f4fd27735332630330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms 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.1461ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630340000'), "firstname"=>"Alvena", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f4fd27735332630340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630350000'), "firstname"=>"Lew", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630360000'), "firstname"=>"Ofelia", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f4fd27735332630360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630370000'), "firstname"=>"Ramiro", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f4fd27735332630370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f4fd27735332630370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630380000'), "name"=>"Hadley Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630390000'), "name"=>"Bernardo Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303a0000'), "name"=>"Dante Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303b0000'), "name"=>"Buster Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303c0000'), "name"=>"Verna Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303d0000'), "name"=>"Ms. Wayne Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303e0000'), "name"=>"Mrs. Kory Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326303f0000'), "name"=>"Polly Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326303f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630400000'), "name"=>"Icie Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630410000'), "name"=>"Lourdes Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630420000'), "name"=>"Milo Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630430000'), "name"=>"Mrs. Jules Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630440000'), "name"=>"Mr. Gilda Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630450000'), "name"=>"Maximillia Weissnat MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630460000'), "name"=>"Candelario Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630470000'), "name"=>"Marlee Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630480000'), "name"=>"Karlee Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630490000'), "name"=>"Ms. Jonathan Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304a0000'), "name"=>"Dr. Annie Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304b0000'), "name"=>"Mrs. Carlos Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304c0000'), "name"=>"Julie Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304d0000'), "name"=>"Katelynn Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304e0000'), "name"=>"Joshuah Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326304f0000'), "name"=>"Robb Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326304f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630500000'), "name"=>"Yadira Bashirian DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630510000'), "name"=>"Aylin Bailey V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630520000'), "name"=>"Julian Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630530000'), "name"=>"Korey Kub PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630540000'), "name"=>"Elbert Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630550000'), "name"=>"Jaylen Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630560000'), "name"=>"Junius Sauer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630570000'), "name"=>"Jordon Gutmann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630580000'), "name"=>"Gabe Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630590000'), "name"=>"Andy Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305a0000'), "name"=>"Alexandrine Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305b0000'), "name"=>"Helene Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305c0000'), "name"=>"Ellen Kuhic Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305d0000'), "name"=>"Alec Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305e0000'), "name"=>"Jefferey Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326305f0000'), "name"=>"Kelton Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326305f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630600000'), "name"=>"Lenna Langosh MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630610000'), "name"=>"Barney Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630620000'), "name"=>"Mrs. Russel Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630630000'), "name"=>"Audrey Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630640000'), "name"=>"Laurel Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630650000'), "name"=>"Mrs. Pamela Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630660000'), "name"=>"Colby Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630670000'), "name"=>"Mrs. Sydnie Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630680000'), "name"=>"Ms. Keon Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630690000'), "name"=>"Chadd Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306a0000'), "name"=>"Grayson Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306b0000'), "name"=>"Maymie Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306c0000'), "name"=>"Bart Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306d0000'), "name"=>"Bell Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306e0000'), "name"=>"Leatha Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326306f0000'), "name"=>"Dr. Consuelo Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326306f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630700000'), "name"=>"Kristofer Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630710000'), "name"=>"Eulah Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630720000'), "name"=>"Eli Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630730000'), "name"=>"Savannah Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630740000'), "name"=>"Jorge West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630750000'), "name"=>"Miss Vito Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630760000'), "name"=>"Miss Rafaela Bednar"}] 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={"category_id"=>BSON::ObjectId('548f4fd27735332630760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630770000'), "name"=>"Lilla Hauck"}] 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={"category_id"=>BSON::ObjectId('548f4fd27735332630770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630780000'), "name"=>"Elisa Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630790000'), "name"=>"Clark Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307a0000'), "name"=>"Isabella Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326307a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307b0000'), "name"=>"Jaime Buckridge"}] 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={"category_id"=>BSON::ObjectId('548f4fd277353326307b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307c0000'), "name"=>"Robyn Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326307c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307d0000'), "name"=>"Danyka Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326307d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307e0000'), "name"=>"Eliseo Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326307e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326307f0000'), "name"=>"Golda Lakin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326307f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630800000'), "name"=>"Theresa Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630810000'), "name"=>"Rocky Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630820000'), "name"=>"Sarina Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630830000'), "name"=>"Ezekiel Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630840000'), "name"=>"Elissa Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630850000'), "name"=>"Haven Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630860000'), "name"=>"Martine Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630870000'), "name"=>"Audrey Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630880000'), "name"=>"Kailee Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630890000'), "name"=>"Bobbie Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308a0000'), "name"=>"Perry Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308b0000'), "name"=>"Green Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308c0000'), "name"=>"Ibrahim Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308d0000'), "name"=>"Dr. Jacky White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308e0000'), "name"=>"Cathrine Borer I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326308f0000'), "name"=>"Greg Nikolaus DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326308f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630900000'), "name"=>"Buster Ratke Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630910000'), "name"=>"Murl Pagac MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630920000'), "name"=>"Jadyn Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630930000'), "name"=>"Izaiah McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630940000'), "name"=>"Hilton Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630950000'), "name"=>"Rowena Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630960000'), "name"=>"Angelina Hartmann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630970000'), "name"=>"Karen Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3303ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms Redirected to http://test.host/categories/548f4fd27735332630980000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3062ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd27735332630990000'), "name"=>"Mr. Rowan Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd27735332630990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2912ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f4fd27735332630990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd27735332630990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3845ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd27735332630990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Redirected to http://test.host/categories Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2903ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd277353326309a0000'), "name"=>"Jerel Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326309a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f4fd277353326309a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd277353326309a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd277353326309a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4266ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (9.1ms) Completed 200 OK in 17ms (Views: 14.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd377353326309b0000'), "name"=>"Aracely Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305106508000] runtime: 0.1375ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2898ms Completed 200 OK in 24ms (Views: 22.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd377353326309c0000'), "name"=>"Cameron Turner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.6267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306284055077] runtime: 0.1310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3334ms Completed 200 OK in 15ms (Views: 14.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd377353326309d0000'), "name"=>"Miss Jeanette Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 8ms (Views: 7.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd377353326309f0000'), "name"=>"Maymie Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f4fd377353326309f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd377353326309f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd377353326309f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3888ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630a00000'), "name"=>"Rubye Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd37735332630a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f4fd37735332630a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd37735332630a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f4fd37735332630a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.5288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f4fd37735332630a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms Redirected to http://test.host/categories/548f4fd37735332630a00000 Completed 302 Found in 32ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630a10000'), "name"=>"Alexandre Prohaska", "reference"=>"Lourdes Kuhlman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630a20000'), "author_name"=>"Rogelio Hagenes", "content"=>["Omnis aliquid atque eum voluptate quo. Qui qui laboriosam repellendus. Sed sequi vel. Voluptatem illo quibusdam impedit. Dolorum aut minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4fd37735332630a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a10000')} 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('548f4fd37735332630a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fd37735332630a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Redirected to http://test.host/products/548f4fd37735332630a10000/comments/548f4fd37735332630a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630a40000'), "name"=>"Mrs. Reanna Schmitt", "reference"=>"Anastasia Runolfsson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630a50000'), "author_name"=>"Dr. Joyce Corwin", "content"=>["Libero voluptas assumenda. Ullam quam est cumque cupiditate minus voluptatum. Possimus ipsum quasi aut. Suscipit corporis cumque deleniti id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f4fd37735332630a40000", "id"=>"548f4fd37735332630a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f4fd37735332630a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms Redirected to http://test.host/products/548f4fd37735332630a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630a60000'), "name"=>"Lukas Kunde", "reference"=>"Marisol Bergnaum", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630a70000'), "author_name"=>"America Reinger", "content"=>["Voluptas sit velit odit voluptatem consequatur. Sed quaerat vel non dicta in in accusamus. Ut nihil esse dolorem enim voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f4fd37735332630a60000", "id"=>"548f4fd37735332630a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4135ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630a80000'), "name"=>"Edythe Renner", "reference"=>"Obie Davis", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630a90000'), "author_name"=>"Rickey Cronin", "content"=>["Facilis nemo corporis et. Perferendis omnis nostrum aut. Ratione exercitationem inventore architecto aut et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4888ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f4fd37735332630a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630aa0000'), "name"=>"Georgiana Stiedemann", "reference"=>"Noelia Carroll", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630ab0000'), "author_name"=>"Judson Altenwerth", "content"=>["Aliquid maxime ipsam quam. Doloribus qui veritatis. Corrupti dolores animi aliquid ex nam atque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4970ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f4fd37735332630aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630ac0000'), "name"=>"Mrs. Hiram Harvey", "reference"=>"Vernice Grady", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630ad0000'), "author_name"=>"Juston Collier", "content"=>["Qui molestiae deleniti et quasi ut. Eos voluptatum repellendus. Est distinctio aut et optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f4fd37735332630ac0000", "id"=>"548f4fd37735332630ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630ae0000'), "name"=>"Emanuel Rosenbaum", "reference"=>"Bonnie Batz", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630af0000'), "author_name"=>"Madisyn Swaniawski", "content"=>["Tempore ea laudantium nemo sit maxime. Omnis et quia ut sunt nulla sed dolores. Est possimus porro. Iure qui eius doloribus placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f4fd37735332630ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b00000'), "name"=>"Josianne Metz", "reference"=>"Coralie Jacobson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630b10000'), "author_name"=>"Ms. Adonis Veum", "content"=>["Vero autem consequatur corporis cumque. Quos aut magnam. Nihil voluptas amet quia velit accusantium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f4fd37735332630b00000", "id"=>"548f4fd37735332630b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b20000'), "name"=>"Willow Strosin", "reference"=>"Domenic Graham", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd37735332630b30000'), "author_name"=>"Rashawn Keeling", "content"=>["Aut quo neque. Nam eaque aut dolorem quam. Distinctio placeat et. Neque sit tenetur omnis quae nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4fd37735332630b30000", "product_id"=>"548f4fd37735332630b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630b20000')} 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('548f4fd37735332630b20000'), "comments._id"=>BSON::ObjectId('548f4fd37735332630b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4325ms Redirected to http://test.host/products/548f4fd37735332630b20000/comments/548f4fd37735332630b30000 Completed 302 Found in 8ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b40000'), "firstname"=>"Maximus", "lastname"=>"Wiegand"}] 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.1785ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Redirected to http://test.host/admin/clients/548f4fd37735332630b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1931ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b60000'), "firstname"=>"Garett", "lastname"=>"Beatty"}] 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.1595ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4fd37735332630b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630b60000')} 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('548f4fd37735332630b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms 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.1773ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630b70000'), "firstname"=>"Rodger", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4fd37735332630b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f4fd37735332630b80000'), "firstname"=>"Maud", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms 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('548f4fd37735332630b90000'), "firstname"=>"Leonor", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630ba0000'), "firstname"=>"Martine", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4fd37735332630ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630ba0000')} 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('548f4fd37735332630bb0000'), "firstname"=>"Gianni", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8566ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4fd37735332630bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Redirected to http://test.host/admin/clients/548f4fd37735332630bb0000 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('548f4fd37735332630bc0000'), "firstname"=>"Jordane", "lastname"=>"Wisoky"}] 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=>"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('548f4fd37735332630bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Redirected to http://test.host/clients/548f4fd37735332630bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2441ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630be0000'), "firstname"=>"Alvera", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2102ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f4fd37735332630be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630be0000')} 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('548f4fd37735332630be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms 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.1938ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630bf0000'), "firstname"=>"Savion", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f4fd37735332630bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms Rendered /home/geoffroy/projects/crealettres/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('548f4fd37735332630c00000'), "firstname"=>"Demond", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7209ms 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('548f4fd37735332630c10000'), "firstname"=>"Buck", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4fd37735332630c20000'), "firstname"=>"Claire", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f4fd37735332630c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms 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('548f4fd37735332630c30000'), "firstname"=>"Delia", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f4fd37735332630c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f4fd37735332630c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms Redirected to http://test.host/clients/548f4fd37735332630c30000 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('548f4fd37735332630c40000'), "name"=>"Billy Kuphal", "reference"=>"Mr. Mallie Christiansen", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630c50000'), "firstname"=>"Jaquelin", "lastname"=>"Nolan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f4fd37735332630c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms Redirected to http://test.host/products/548f4fd37735332630c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630c70000'), "name"=>"Vernice Barton", "reference"=>"Jacklyn Corwin", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630c80000'), "firstname"=>"Ole", "lastname"=>"Wunsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f4fd37735332630c80000", "product_id"=>"548f4fd37735332630c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630c90000'), "name"=>"Mrs. Omer Effertz", "reference"=>"Filiberto Lang", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630ca0000'), "firstname"=>"Oran", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f4fd37735332630c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630cb0000'), "name"=>"Carmelo Walsh", "reference"=>"Gennaro Skiles", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630cc0000'), "firstname"=>"Kole", "lastname"=>"Nolan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f4fd37735332630cc0000", "product_id"=>"548f4fd37735332630cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630cd0000'), "name"=>"Miss Dudley Daugherty", "reference"=>"Ariel Reichert", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f4fd37735332630ce0000'), "firstname"=>"Priscilla", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f4fd37735332630ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f4fd37735332630cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms Unpermitted parameters: name Redirected to http://test.host/products/548f4fd37735332630cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630cf0000'), "name"=>"Rebeka Mraz", "reference"=>"Cordell Mayert", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d00000'), "name"=>"Quinton Leffler", "reference"=>"Paula Koepp", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d10000'), "name"=>"Betty Miller", "reference"=>"Clementine Glover", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d20000'), "name"=>"Lempi Schulist", "reference"=>"Jonathan O'Conner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d30000'), "name"=>"Virgil Goodwin", "reference"=>"Chelsea Hartmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d40000'), "name"=>"Dr. Letitia Reilly", "reference"=>"Ms. Art O'Hara", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms Redirected to http://test.host/products/548f4fd37735332630d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d60000'), "name"=>"Isidro Yundt Sr.", "reference"=>"Dayana Boyle", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1837ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f4fd37735332630d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630d60000')} 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={"_id"=>BSON::ObjectId('548f4fd37735332630d60000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2037ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d70000'), "name"=>"Mr. Jarret Abernathy", "reference"=>"Alverta Hills", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f4fd37735332630d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f4fd37735332630d80000'), "name"=>"Eladio Crona", "reference"=>"Jaquan Morar", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279900857030] runtime: 0.1135ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2569ms Completed 200 OK in 18ms (Views: 17.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630d90000'), "name"=>"Dr. Hector Marks", "reference"=>"Fiona Carroll PhD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630da0000'), "name"=>"HelloWorld", "reference"=>"Shayna Wunsch", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630db0000'), "name"=>"value", "reference"=>"Ms. Christine Runolfsdottir", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3845ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2680ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2441ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2237ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2264ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1932ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2233ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630dc0000'), "name"=>"Oral Gorczany", "reference"=>"Johnny Gorczany", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061480535] runtime: 0.1092ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2862ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280953475566] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279408358534] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247410579] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281177253628] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279503333212] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587979944] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794407037] runtime: 0.0878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034103718] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279474346403] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281258994360] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300023153] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279547684110] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124134246] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280909474] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772565174] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433541894] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515146674] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878664316] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248250720] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241945388] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781033214] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280809753] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294837061] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280951627575] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678501367] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043839765] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162650909] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281257711442] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193270740] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028126671] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279199129262] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736491337] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280299995990] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764152473] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780555266] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279474526563] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826783289] runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253752909] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655785000] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793290630] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176020921] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280516905366] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497764241] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721861595] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281240363562] runtime: 0.0797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280093115426] runtime: 0.0869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996012173] runtime: 0.1026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865040717] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165922941] runtime: 0.1037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082044498] runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244417688] runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613292505] runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279989882502] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648367090] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976197204] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280049807494] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281037671990] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101501633] runtime: 0.0888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533101922] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279284785547] runtime: 0.0689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280744151126] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280663096977] runtime: 0.0870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175729498] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921391044] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500104569] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281319486589] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279202694444] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132543365] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629555711] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280303777284] runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281232258336] runtime: 0.0867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830519481] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279569321833] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533290383] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016935093] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279770365607] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219035578] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279323196421] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280048879652] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434715587] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279560515965] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475890191] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279984465014] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627828935] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782065600] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153010508] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354842659] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279682204041] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280353711623] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279741472342] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279441552847] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279971129807] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195651108] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281211738062] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121585404] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297670566] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279325027692] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320308071] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279303324175] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281301291612] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279259097638] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829304494] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280538005004] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121280905] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725303333] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869028600] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280147508745] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280227263235] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281140995763] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809270880] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280742506786] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669540667] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603368976] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279271374204] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279943666500] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739001672] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922210929] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876017432] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280197315479] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279445074773] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280752057449] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279791664018] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858079130] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280247294874] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660737750] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280078999949] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195864104] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948676262] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004998451] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382469393] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280374567660] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189862978] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281135836177] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260934109] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280276769428] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176578609] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281155601091] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078598300] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280526497408] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974568362] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007719455] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280705343682] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302046606] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279317601538] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281158638965] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281050591948] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280607657048] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280779752359] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060250847] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279284802397] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.5040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281239734300] runtime: 0.1130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279651821286] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279343277338] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280578006537] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670555461] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785401245] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048357602] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280123830724] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380816753] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281053423760] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568230650] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579724042] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280748763974] runtime: 0.0712ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630dd0000'), "name"=>"Elvera Crona Jr.", "reference"=>"Gene Hagenes", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1909ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630de0000'), "name"=>"Consuelo DuBuque", "reference"=>"Ms. Rodrick Emmerich", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280875440643] runtime: 0.0848ms Completed 200 OK in 5ms (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('548f4fd37735332630df0000'), "name"=>"Javier Wintheiser IV", "reference"=>"Willard Moen", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f4fd37735332630df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms 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('548f4fd37735332630e00000'), "name"=>"Gina Kling", "reference"=>"Rahul Weissnat", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630e20000'), "name"=>"Emmett Ernser", "reference"=>"William Cartwright II", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f4fd37735332630e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630e30000'), "name"=>"Raphael Lebsack", "reference"=>"Vern Kozey", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630e40000'), "name"=>"Ms. Serenity Wehner", "reference"=>"Beau Konopelski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4990ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2473ms Completed 500 Internal Server Error in 8ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630e50000'), "name"=>"Christina Gottlieb", "reference"=>"Mrs. Kurt Fahey", "quantity"=>8}] 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.1963ms 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('548f4fd37735332630e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1985ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd37735332630e70000'), "name"=>"Nathanial Pfeffer", "reference"=>"Rosalinda Balistreri", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f4fd37735332630e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630e70000')} 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('548f4fd37735332630e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms 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('548f4fd37735332630e80000'), "name"=>"Ms. Monserrate Hickle", "reference"=>"Marcelina Schuppe", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms 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('548f4fd37735332630ea0000'), "name"=>"Retha McDermott Sr.", "reference"=>"Griffin Mills MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4fd37735332630ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd37735332630ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 658.9817ms Completed 202 Accepted in 696ms (Views: 0.6ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630eb0000'), "name"=>"Miss Sallie Schaefer", "reference"=>"Clark Gislason DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6851ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f4fd47735332630eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6600ms Redirected to http://test.host/products/548f4fd47735332630eb0000 Completed 302 Found in 7ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630ee0000'), "name"=>"Brenda Hirthe", "reference"=>"Miss Guiseppe Parisian", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630ec0000'), "author_name"=>"Delphine Stokes", "content"=>["Veniam ullam qui. Rerum aut voluptas. Molestiae facere nam nihil sit fuga veniam nobis."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630ed0000'), "author_name"=>"Dr. Margarete Auer", "content"=>["Fugiat illum possimus id. Laudantium et quos perferendis quisquam beatae. Maiores facilis cupiditate consequatur. Ex dolorem iste recusandae totam placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f4fd47735332630ee0000", "comment_id"=>"548f4fd47735332630ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630ee0000'), "comments._id"=>BSON::ObjectId('548f4fd47735332630ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4fd47735332630ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7206ms Redirected to http://test.host/products/548f4fd47735332630ee0000/comments/548f4fd47735332630ec0000/comments/548f4fd47735332630ef0000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630f20000'), "name"=>"Destini Abshire", "reference"=>"Vilma Bashirian", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f00000'), "author_name"=>"Cruz Will", "content"=>["Officiis eum magni perspiciatis. Est expedita repudiandae architecto iste. Voluptas distinctio voluptatem rem enim. Hic nulla possimus optio quam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f10000'), "author_name"=>"Liliane Lakin", "content"=>["Asperiores quae voluptatibus velit molestiae ipsa dolores sequi. Doloribus fugiat rem. Veritatis eaque error doloribus id. Voluptatum rem dolor sunt eius voluptatem maiores ducimus. Unde exercitationem id est ipsa voluptatum consequatur sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f4fd47735332630f20000", "comment_id"=>"548f4fd47735332630f00000", "id"=>"548f4fd47735332630f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4555ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f20000'), "comments._id"=>BSON::ObjectId('548f4fd47735332630f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f4fd47735332630f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6366ms Redirected to http://test.host/products/548f4fd47735332630f20000/comments/548f4fd47735332630f00000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630f50000'), "name"=>"Rogelio Maggio", "reference"=>"Rolando Brakus", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f30000'), "author_name"=>"Jasmin Wolf", "content"=>["Et cupiditate minima velit. Magni architecto quis est. Consequuntur quo non quibusdam dolor atque. Similique ipsam voluptas aut enim libero nihil. Dolorem recusandae natus voluptatem aut aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f40000'), "author_name"=>"Alvina Marvin Jr.", "content"=>["Aliquid nihil ipsa iure accusantium. Rem excepturi natus suscipit et aliquid. Numquam debitis maiores et aut amet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5198ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f4fd47735332630f50000", "comment_id"=>"548f4fd47735332630f30000", "id"=>"548f4fd47735332630f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4323ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 13ms (Views: 9.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630f80000'), "name"=>"Vaughn Waters", "reference"=>"Maryam Feest", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f60000'), "author_name"=>"Miss Jerod Simonis", "content"=>["Accusantium sunt ab. Non quaerat molestiae. Libero rerum officiis doloremque dignissimos aspernatur nobis cum."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f70000'), "author_name"=>"Miss Gene O'Conner", "content"=>["In et nihil. Quo neque delectus sed cum. Velit nihil aut quia enim omnis dolorem. Corrupti quisquam nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6507ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f4fd47735332630f80000", "comment_id"=>"548f4fd47735332630f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4247ms Completed 200 OK in 8ms (Views: 4.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630fb0000'), "name"=>"Chanelle Effertz", "reference"=>"Euna Mante", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630f90000'), "author_name"=>"Presley Parisian DVM", "content"=>["Quo enim assumenda id saepe ut. Esse omnis saepe. Dolorem non totam commodi magnam."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630fa0000'), "author_name"=>"Mara Predovic III", "content"=>["Nostrum facilis non eum laboriosam odit tempore cumque. Culpa consectetur nihil iste ipsa libero repudiandae aut. Expedita similique veniam quod autem vel ratione. Pariatur harum eos sint quis et distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5297ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f4fd47735332630fb0000", "comment_id"=>"548f4fd47735332630f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630fe0000'), "name"=>"Kirk Prohaska I", "reference"=>"Earlene Cummings", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630fc0000'), "author_name"=>"Derick Runolfsson", "content"=>["In quo dolorem corporis quia. Dicta voluptas reprehenderit et iure autem. Aspernatur ex aut autem non eos quia aliquam. Eum est vel porro."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630fd0000'), "author_name"=>"Laverne Reichert", "content"=>["Voluptas eaque rerum esse dolores libero id odit. Beatae facilis ipsa. Nemo voluptatibus et necessitatibus ducimus et. Quis explicabo modi esse autem assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f4fd47735332630fe0000", "comment_id"=>"548f4fd47735332630fc0000", "id"=>"548f4fd47735332630fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630010100'), "name"=>"Kenna Ward MD", "reference"=>"Nova Monahan", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630ff0000'), "author_name"=>"Mrs. Eldon Hane", "content"=>["Amet in ad aut harum quia maiores. Repudiandae ut et perspiciatis in est fugiat. Corporis nemo saepe sit aperiam est autem. Voluptatem libero est. Adipisci enim dolorum necessitatibus aut quis sed."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630000100'), "author_name"=>"Miss Stewart Reynolds", "content"=>["Ab ut reiciendis. Perferendis sint tempore mollitia et. Iusto accusantium soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f4fd47735332630010100", "comment_id"=>"548f4fd47735332630ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630040100'), "name"=>"Chauncey Simonis Sr.", "reference"=>"Mr. Travon Klocko", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630020100'), "author_name"=>"Ms. Nils Kulas", "content"=>["Tempora est et cum doloribus distinctio ducimus aut. Dignissimos voluptas nihil aut reprehenderit provident officiis. Nihil voluptates et qui et non."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630030100'), "author_name"=>"Lilliana Sipes", "content"=>["Voluptatem ea molestias ut et ea quod fugiat. Voluptatem assumenda beatae eveniet sint id. Harum et possimus quia quibusdam mollitia nihil atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4896ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f4fd47735332630040100", "comment_id"=>"548f4fd47735332630020100", "id"=>"548f4fd47735332630030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms Completed 200 OK in 6ms (Views: 3.4ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f4fd47735332630070100'), "name"=>"Dr. Payton Kovacek", "reference"=>"Mr. Daren Fadel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630050100'), "author_name"=>"Miss Brandon Goodwin", "content"=>["Commodi veniam soluta quo sunt. Excepturi suscipit blanditiis officiis quaerat est ut. Cum molestiae velit voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('548f4fd47735332630060100'), "author_name"=>"Muriel Brekke", "content"=>["Ipsum omnis dolor ab asperiores sed. Illum dignissimos tempore possimus enim doloribus ducimus voluptatem. Illo optio consectetur sunt quas praesentium et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5917ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f4fd47735332630060100", "product_id"=>"548f4fd47735332630070100", "comment_id"=>"548f4fd47735332630050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f4fd47735332630070100'), "comments._id"=>BSON::ObjectId('548f4fd47735332630050100'), "comments.0.comments._id"=>BSON::ObjectId('548f4fd47735332630060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms Redirected to http://test.host/products/548f4fd47735332630070100/comments/548f4fd47735332630050100/comments/548f4fd47735332630060100 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('548f4fd47735332630080100'), "firstname"=>"Christelle", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1958ms 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('548f4fd47735332630090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms Redirected to http://test.host/users/548f4fd47735332630090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1949ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fd477353326300a0100'), "firstname"=>"Orlando", "lastname"=>"Hermiston"}] 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.1875ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f4fd477353326300a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd477353326300a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd477353326300a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6608ms 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.2290ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f4fd477353326300b0100'), "firstname"=>"Brennan", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f4fd477353326300b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd477353326300b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('548f4fd477353326300c0100'), "firstname"=>"Easton", "lastname"=>"Kihn"}] 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.4226ms Completed 200 OK in 10ms (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('548f4fd477353326300d0100'), "firstname"=>"Arlene", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f4fd477353326300e0100'), "firstname"=>"Owen", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f4fd477353326300e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd477353326300e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms 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('548f4fd477353326300f0100'), "firstname"=>"Emmalee", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f4fd477353326300f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f4fd477353326300f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms Unpermitted parameters: name Redirected to http://test.host/users/548f4fd477353326300f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4358ms 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.4367ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6202ms 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.4065ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8407ms 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.4834ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50587735332804000000'), "firstname"=>"Geovany", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2712ms 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('548f50597735332804010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.8426ms Redirected to http://test.host/admin/administrator Completed 302 Found in 21ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3252ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804020000'), "firstname"=>"Oda", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f50597735332804020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3949ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 22ms (Views: 20.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804030000'), "firstname"=>"Everardo", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804040000'), "firstname"=>"Brandy", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f50597735332804040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804050000'), "firstname"=>"Francisco", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f50597735332804050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms 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('548f50597735332804060000'), "name"=>"Ashtyn Zieme", "reference"=>"Roma Haag", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804070000'), "author_name"=>"Marielle Ward DVM", "content"=>["Qui aut est. Dicta ipsam pariatur ex libero velit at dolorem. Qui eum dignissimos inventore ut aut. Eius aperiam consequuntur sed omnis dolorem deserunt occaecati. Rerum quisquam iusto pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f50597735332804060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f50597735332804080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms Redirected to http://test.host/admin/products/548f50597735332804060000/comments/548f50597735332804080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804090000'), "name"=>"Vernie Sporer", "reference"=>"Ms. Junior Stamm", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f505977353328040a0000'), "author_name"=>"Ronaldo Luettgen", "content"=>["Quibusdam dolore mollitia doloribus laborum id molestiae. Fugit at culpa dignissimos sint. Nemo quasi eos quia dolorem at quas. Quas consectetur aperiam placeat enim aut dignissimos possimus. Occaecati ab inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f50597735332804090000", "id"=>"548f505977353328040a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804090000')} 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('548f50597735332804090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f505977353328040a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms Redirected to http://test.host/admin/products/548f50597735332804090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804090000')} 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('548f505977353328040b0000'), "name"=>"Mrs. Rosamond Swaniawski", "reference"=>"Armani Bogisich", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f505977353328040c0000'), "author_name"=>"Carlee Kirlin", "content"=>["Dolor esse quasi vel. Et nostrum soluta et provident. Eius non animi ipsam illo voluptatum. Voluptas enim et. Cum aut qui consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f505977353328040b0000", "id"=>"548f505977353328040c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328040b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505977353328040d0000'), "name"=>"Angelica Collins III", "reference"=>"Mr. Kathleen Veum", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f505977353328040e0000'), "author_name"=>"Kathlyn Ankunding", "content"=>["Reiciendis ullam et necessitatibus voluptate officiis. Iure nihil consequatur vel sed beatae aut. Debitis et dolorem rerum molestiae sed et sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f505977353328040d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328040d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505977353328040f0000'), "name"=>"Janis Harber", "reference"=>"Cassidy Jakubowski", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804100000'), "author_name"=>"Monroe Towne", "content"=>["Alias earum ea. Voluptates ratione repudiandae voluptate qui harum. Tenetur iste rerum. Libero repellendus voluptatibus est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f505977353328040f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328040f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804110000'), "name"=>"Danyka Nader", "reference"=>"Alize O'Reilly", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804120000'), "author_name"=>"Miss Cristopher Collins", "content"=>["Earum deserunt impedit est quas atque dolorem porro. Pariatur animi quisquam. Incidunt est iste quasi itaque aut ipsa. Suscipit quia dolorum deleniti fugiat nihil rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5351ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f50597735332804110000", "id"=>"548f50597735332804120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804130000'), "name"=>"Marcia Huels", "reference"=>"Dr. Monique Hayes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804140000'), "author_name"=>"Darwin Jacobi", "content"=>["Alias corrupti architecto cupiditate impedit libero et voluptate. Non similique saepe unde et officiis et mollitia. Dignissimos repudiandae nulla est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5551ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f50597735332804140000", "product_id"=>"548f50597735332804130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804130000'), "comments._id"=>BSON::ObjectId('548f50597735332804140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms Redirected to http://test.host/admin/products/548f50597735332804130000/comments/548f50597735332804140000 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('548f50597735332804150000'), "name"=>"Orval Johns", "reference"=>"Kenya Medhurst II", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f50597735332804160000'), "firstname"=>"Anahi", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5021ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f50597735332804150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804150000')} 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('548f50597735332804150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f50597735332804170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms Redirected to http://test.host/admin/products/548f50597735332804150000/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('548f50597735332804180000'), "name"=>"Michel Kreiger", "reference"=>"Annabell Jacobi", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f50597735332804190000'), "firstname"=>"Nicolette", "lastname"=>"Becker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f50597735332804190000", "product_id"=>"548f50597735332804180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4637ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505977353328041a0000'), "name"=>"Davin Lebsack", "reference"=>"Tabitha Green", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f505977353328041b0000'), "firstname"=>"Zion", "lastname"=>"Ratke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3575ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f505977353328041a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328041a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4385ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505977353328041c0000'), "name"=>"Keyshawn Wehner", "reference"=>"Lois Gerhold", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f505977353328041d0000'), "firstname"=>"Miracle", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4950ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f505977353328041d0000", "product_id"=>"548f505977353328041c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328041c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505977353328041e0000'), "name"=>"Jace Kozey", "reference"=>"Veronica Crist Sr.", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f505977353328041f0000'), "firstname"=>"Vincent", "lastname"=>"Medhurst"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f505977353328041f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f505977353328041e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505977353328041e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f505977353328041e0000/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('548f50597735332804200000'), "name"=>"Elza Heathcote", "reference"=>"Rahul Haley", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.2484ms 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('548f50597735332804210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Redirected to http://test.host/admin/products/548f50597735332804210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2694ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804220000'), "name"=>"Geovanny Borer", "reference"=>"Sabryna Purdy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2459ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f50597735332804220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804220000')} 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={"_id"=>BSON::ObjectId('548f50597735332804220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms 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.3042ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804230000'), "name"=>"Damaris Dare", "reference"=>"Marietta Gislason Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f50597735332804230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804240000'), "name"=>"Dr. Bettye Buckridge", "reference"=>"Mr. Jayne Blick", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms 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.6066ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804250000'), "name"=>"Nona Green", "reference"=>"Isabelle Ortiz", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3563ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804280000'), "name"=>"Melvina Willms II", "reference"=>"Quentin Boehm", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f50597735332804280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804290000'), "name"=>"Kole Turcotte", "reference"=>"Garfield Lindgren", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6006ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f50597735332804290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3913ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms Redirected to http://test.host/admin/products/548f50597735332804290000 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('548f505977353328042a0000'), "firstname"=>"Alejandrin", "lastname"=>"Eichmann"}] 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=>"admin_users", :query=>{}} runtime: 0.1944ms 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('548f505977353328042b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms Redirected to http://test.host/admin/users/548f505977353328042b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2223ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505977353328042c0000'), "firstname"=>"Jonathon", "lastname"=>"Stiedemann"}] 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=>"admin_users", :query=>{}} runtime: 0.1801ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f505977353328042c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505977353328042c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505977353328042c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms 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.2013ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505977353328042d0000'), "firstname"=>"Elliott", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f505977353328042d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505977353328042d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505977353328042e0000'), "firstname"=>"Lavonne", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms 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.3721ms 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('548f505977353328042f0000'), "firstname"=>"Orville", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f50597735332804300000'), "firstname"=>"Troy", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f50597735332804300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f50597735332804300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 35ms (Views: 34.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f50597735332804310000'), "firstname"=>"Bertha", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f50597735332804310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f50597735332804310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f50597735332804310000 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('548f50597735332804320000'), "firstname"=>"Faustino", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5112ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2366ms 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('548f50597735332804330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms 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.2336ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804340000'), "firstname"=>"Pierce", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f50597735332804340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804350000'), "firstname"=>"Dovie", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804360000'), "firstname"=>"Krystina", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f50597735332804360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f50597735332804370000'), "firstname"=>"Ashly", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f50597735332804370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f50597735332804370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804380000'), "name"=>"Brandi Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804390000'), "name"=>"Marielle Quitzon DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043a0000'), "name"=>"Marcellus Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043b0000'), "name"=>"Christine Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043c0000'), "name"=>"Dell Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043d0000'), "name"=>"Markus Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043e0000'), "name"=>"Ike Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328043f0000'), "name"=>"Rowan Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328043f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804400000'), "name"=>"Audrey Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804410000'), "name"=>"Wilfred Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804420000'), "name"=>"Giovanni Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804430000'), "name"=>"Piper Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804440000'), "name"=>"Demetrius Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804450000'), "name"=>"Lilliana Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804460000'), "name"=>"Tamara Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804470000'), "name"=>"Desmond Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804480000'), "name"=>"Joaquin D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804490000'), "name"=>"Angelita Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044a0000'), "name"=>"Laurence Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044b0000'), "name"=>"Aiden Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044c0000'), "name"=>"Gilbert McDermott DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044d0000'), "name"=>"Addie Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044e0000'), "name"=>"Lauryn Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328044f0000'), "name"=>"Mrs. Dorian Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328044f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804500000'), "name"=>"Olaf Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804510000'), "name"=>"Floyd Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804520000'), "name"=>"Adell Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804530000'), "name"=>"Percy Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804540000'), "name"=>"Toni Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804550000'), "name"=>"Kelvin Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804560000'), "name"=>"Xavier Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804570000'), "name"=>"Natasha Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804580000'), "name"=>"Leanne Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804590000'), "name"=>"Dorcas Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045a0000'), "name"=>"Maxwell Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045b0000'), "name"=>"Denis Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045c0000'), "name"=>"Jaida Bechtelar V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045d0000'), "name"=>"Isaiah Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045e0000'), "name"=>"Clare Wiza Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328045f0000'), "name"=>"Brandt Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328045f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804600000'), "name"=>"Eliza Monahan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804610000'), "name"=>"Minnie DuBuque PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804620000'), "name"=>"Sidney Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804630000'), "name"=>"Pierce Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804640000'), "name"=>"Ike Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804650000'), "name"=>"Ceasar Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804660000'), "name"=>"Mr. Israel Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804670000'), "name"=>"Shad Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804680000'), "name"=>"Jeffrey Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804690000'), "name"=>"Lottie Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046a0000'), "name"=>"Vincenza Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046b0000'), "name"=>"Ofelia Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046c0000'), "name"=>"Ines Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046d0000'), "name"=>"Alaina Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046e0000'), "name"=>"Mr. Vincenzo Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328046f0000'), "name"=>"Harold Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328046f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804700000'), "name"=>"Reta Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 26.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804710000'), "name"=>"Kailee Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804720000'), "name"=>"Arnoldo Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804730000'), "name"=>"Leonie Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804740000'), "name"=>"Grace Conroy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804750000'), "name"=>"Fatima Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804760000'), "name"=>"Jada Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804770000'), "name"=>"Ellie Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804780000'), "name"=>"Nichole D'Amore DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804790000'), "name"=>"Dudley Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047a0000'), "name"=>"Aric Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047b0000'), "name"=>"Daphnee Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047c0000'), "name"=>"Mrs. Eliane Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047d0000'), "name"=>"Kim Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047e0000'), "name"=>"Harold Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328047f0000'), "name"=>"Tracey Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328047f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804800000'), "name"=>"Lorenza Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804810000'), "name"=>"Sophie Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804820000'), "name"=>"Keaton Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804830000'), "name"=>"Tabitha Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804840000'), "name"=>"Mrs. Matt Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804850000'), "name"=>"Cornelius Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804860000'), "name"=>"Billie Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804870000'), "name"=>"Miss Chet Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804880000'), "name"=>"Erick Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804890000'), "name"=>"Hannah Gottlieb III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048a0000'), "name"=>"Ahmed Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048b0000'), "name"=>"Tiana McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048c0000'), "name"=>"Linwood Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048d0000'), "name"=>"Bobby Bogisich III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048e0000'), "name"=>"Miss Bill Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328048f0000'), "name"=>"Fletcher Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328048f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804900000'), "name"=>"Angeline Bauch II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804910000'), "name"=>"Bryon Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804920000'), "name"=>"Fatima Kerluke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804930000'), "name"=>"Karl Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804940000'), "name"=>"Dr. Brenden Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804950000'), "name"=>"Sam Cole I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804960000'), "name"=>"Jeanne Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804970000'), "name"=>"Bradly Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2111ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms Redirected to http://test.host/categories/548f50597735332804980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2482ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804990000'), "name"=>"Ms. Fanny Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2164ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f50597735332804990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f50597735332804990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f50597735332804990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2521ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328049a0000'), "name"=>"Brant Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f505977353328049a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f505977353328049a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.1ms) Completed 200 OK in 11ms (Views: 9.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328049b0000'), "name"=>"Ms. Mervin Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305766925714] runtime: 0.1083ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2937ms Completed 200 OK in 18ms (Views: 17.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328049c0000'), "name"=>"Dr. Janae Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305802215806] runtime: 0.1184ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3974ms Completed 200 OK in 13ms (Views: 12.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328049d0000'), "name"=>"Eunice Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f505977353328049f0000'), "name"=>"Naomi Little Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f505977353328049f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f505977353328049f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f505977353328049f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f50597735332804a00000'), "name"=>"Rickie Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f50597735332804a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f50597735332804a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f50597735332804a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f50597735332804a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('548f50597735332804a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms Redirected to http://test.host/categories/548f50597735332804a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804a10000'), "name"=>"Kitty Schimmel", "reference"=>"Cleveland Nolan", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804a20000'), "author_name"=>"Dusty Stamm", "content"=>["Neque aliquid sunt voluptatem est. Ipsa at dolores eveniet ut dignissimos. Ut sit doloribus nostrum. Ipsa dolores eligendi sunt voluptatum quia. Quisquam earum dignissimos ex et dicta quia odio."]}]}] 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('548f50597735332804a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f50597735332804a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f50597735332804a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Redirected to http://test.host/products/548f50597735332804a10000/comments/548f50597735332804a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804a40000'), "name"=>"Miss Lemuel Beier", "reference"=>"Ali Davis", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804a50000'), "author_name"=>"Rigoberto Grant", "content"=>["Rem corporis placeat accusantium fugit. Recusandae debitis hic. Fuga aut natus dolores est voluptas ratione. Inventore rem explicabo quia sequi est veniam. Fugiat temporibus beatae neque eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f50597735332804a40000", "id"=>"548f50597735332804a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f50597735332804a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Redirected to http://test.host/products/548f50597735332804a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804a60000'), "name"=>"Mafalda Feil", "reference"=>"Elbert Casper", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804a70000'), "author_name"=>"Dr. Aletha Trantow", "content"=>["Iste at aliquid. Ipsa non saepe id at. Numquam corrupti voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f50597735332804a60000", "id"=>"548f50597735332804a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3797ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804a80000'), "name"=>"Lew O'Conner V", "reference"=>"Mr. Antwon Treutel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804a90000'), "author_name"=>"Elwyn Metz", "content"=>["Enim velit et eos. Aspernatur consequatur provident unde et quasi. Et praesentium voluptate quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f50597735332804a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804aa0000'), "name"=>"Itzel Feil", "reference"=>"Dewitt Bartell", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804ab0000'), "author_name"=>"Miss Mateo Thiel", "content"=>["Non magnam iste exercitationem. Deserunt debitis accusamus voluptate ad molestias illo. Eos beatae autem est voluptatem quas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5269ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f50597735332804aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4022ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804ac0000'), "name"=>"Abigale Rowe", "reference"=>"Karson Hoppe", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804ad0000'), "author_name"=>"Franz Mitchell", "content"=>["Ab sed dolores hic at magnam. Culpa rerum corrupti quia laborum natus facilis. Recusandae aut fuga enim sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f50597735332804ac0000", "id"=>"548f50597735332804ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804ae0000'), "name"=>"Daphnee Bailey", "reference"=>"Rolando Heller Jr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804af0000'), "author_name"=>"Grayce Powlowski III", "content"=>["Perferendis et enim omnis sit. Nihil ea eos. Dicta et dolor quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f50597735332804ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804b00000'), "name"=>"Emmanuelle Yundt V", "reference"=>"Edwina Pagac II", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804b10000'), "author_name"=>"Valerie Schimmel I", "content"=>["Magni dolores voluptatem. Commodi quaerat in et omnis. Eveniet odit placeat distinctio minima rerum. Inventore provident omnis et. Dolores et eaque perspiciatis officia rerum voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f50597735332804b00000", "id"=>"548f50597735332804b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3805ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f50597735332804b20000'), "name"=>"Rory Schiller", "reference"=>"Ed Macejkovic DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f50597735332804b30000'), "author_name"=>"Donnell Langosh", "content"=>["Eius et ipsam sunt et consequatur nemo ipsa. Nihil nemo voluptates. Voluptas nesciunt vel deserunt est. Magnam enim labore qui esse consequuntur aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f50597735332804b30000", "product_id"=>"548f50597735332804b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f50597735332804b20000'), "comments._id"=>BSON::ObjectId('548f50597735332804b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6128ms Redirected to http://test.host/products/548f50597735332804b20000/comments/548f50597735332804b30000 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('548f50597735332804b40000'), "firstname"=>"Jamir", "lastname"=>"Bradtke"}] 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.2491ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f505a7735332804b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2119ms Redirected to http://test.host/admin/clients/548f505a7735332804b50000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1749ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f505a7735332804b60000'), "firstname"=>"Erling", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1265ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f505a7735332804b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms 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.1382ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f505a7735332804b70000'), "firstname"=>"Junior", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f505a7735332804b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f505a7735332804b80000'), "firstname"=>"Everardo", "lastname"=>"Harber"}] 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.3684ms 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('548f505a7735332804b90000'), "firstname"=>"Rudolph", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5505ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f505a7735332804ba0000'), "firstname"=>"Vince", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5465ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f505a7735332804ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('548f505a7735332804bb0000'), "firstname"=>"Gwendolyn", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f505a7735332804bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Redirected to http://test.host/admin/clients/548f505a7735332804bb0000 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('548f505a7735332804bc0000'), "firstname"=>"Josue", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms 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('548f505a7735332804bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Redirected to http://test.host/clients/548f505a7735332804bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2306ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f505a7735332804be0000'), "firstname"=>"Ilene", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms 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"=>"548f505a7735332804be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804be0000')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2027ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f505a7735332804bf0000'), "firstname"=>"Billie", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f505a7735332804bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('548f505a7735332804c00000'), "firstname"=>"Jaycee", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.1236ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4861ms 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('548f505a7735332804c10000'), "firstname"=>"Fay", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f505a7735332804c20000'), "firstname"=>"Braxton", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f505a7735332804c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) 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('548f505a7735332804c30000'), "firstname"=>"Constance", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f505a7735332804c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f505a7735332804c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/clients/548f505a7735332804c30000 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('548f505a7735332804c40000'), "name"=>"Adrian Hoppe", "reference"=>"Coty Reynolds", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804c50000'), "firstname"=>"Juwan", "lastname"=>"Eichmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6365ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f505a7735332804c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804c40000')} 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('548f505a7735332804c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Redirected to http://test.host/products/548f505a7735332804c40000/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('548f505a7735332804c70000'), "name"=>"Newton Lynch", "reference"=>"Ms. Oleta Lang", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804c80000'), "firstname"=>"Jewel", "lastname"=>"Fahey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f505a7735332804c80000", "product_id"=>"548f505a7735332804c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3493ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804c90000'), "name"=>"Kellen Hane", "reference"=>"Laurie Breitenberg", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804ca0000'), "firstname"=>"Raheem", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f505a7735332804c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804cb0000'), "name"=>"Vivian Toy", "reference"=>"Dillan Jenkins", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804cc0000'), "firstname"=>"Mable", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5345ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f505a7735332804cc0000", "product_id"=>"548f505a7735332804cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804cd0000'), "name"=>"Amaya Sipes", "reference"=>"Salvatore Hodkiewicz", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f505a7735332804ce0000'), "firstname"=>"Monserrate", "lastname"=>"Beahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f505a7735332804ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f505a7735332804cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Unpermitted parameters: name Redirected to http://test.host/products/548f505a7735332804cd0000/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('548f505a7735332804cf0000'), "name"=>"Ms. Bradford Gibson", "reference"=>"Eve Douglas V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d00000'), "name"=>"Jennings Jacobson DDS", "reference"=>"Alanis Lebsack", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d10000'), "name"=>"Wilmer Cronin", "reference"=>"Mariana Rodriguez", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d20000'), "name"=>"Marquis Littel", "reference"=>"Ceasar Shields IV", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d30000'), "name"=>"Cheyanne Christiansen", "reference"=>"Colten Feil", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d40000'), "name"=>"Karson Wolff III", "reference"=>"Dorothy Abbott I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2609ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms Redirected to http://test.host/products/548f505a7735332804d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2055ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d60000'), "name"=>"Kaylee Crist", "reference"=>"Dr. Nelson Orn", "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.1831ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f505a7735332804d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms 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.1993ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d70000'), "name"=>"Johann Harvey", "reference"=>"Pierce Hermiston", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f505a7735332804d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('548f505a7735332804d80000'), "name"=>"Perry Swaniawski", "reference"=>"Pearline Leuschke", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015159028] runtime: 0.1163ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2372ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804d90000'), "name"=>"Mrs. Isabella Graham", "reference"=>"Kenneth Shanahan", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804da0000'), "name"=>"HelloWorld", "reference"=>"Ms. Aubree Kozey", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804db0000'), "name"=>"value", "reference"=>"Adrien Mann", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3551ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2914ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1978ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3043ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2937ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2526ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1199ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804dc0000'), "name"=>"Ms. Dortha Bashirian", "reference"=>"Antwan Anderson III", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281150444574] runtime: 0.1337ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2898ms Completed 200 OK in 42ms (Views: 41.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670762488] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279631189969] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279421154535] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281290780292] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587224718] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165975446] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639123684] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305260951] runtime: 0.0817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370331894] runtime: 0.0754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279699306727] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646451369] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279615509727] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280082850339] runtime: 0.0825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279919461251] runtime: 0.0826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922581234] runtime: 0.0812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279816811348] runtime: 0.0818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279283147137] runtime: 0.0839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879755467] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281222477171] runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548250225] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280212516710] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279287743085] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968788008] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609216685] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279887004135] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535396210] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249780231] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388530972] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782032537] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280927223843] runtime: 0.0891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601251142] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281109109943] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280831985989] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313463650] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279987680939] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279293090090] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343533227] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118178988] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169053143] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281032431256] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673464423] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279277075695] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224825661] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626625573] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280418585213] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279646524766] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280265721229] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307062550] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475630710] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281134842169] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279871466951] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279941415640] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.8220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280581410523] runtime: 0.1174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280564528405] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884913945] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280037404866] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280178614847] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196819977] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280152587858] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052275324] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836040532] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279327456275] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279620781257] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281227777691] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279542760903] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605685041] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785023384] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281237774850] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395693210] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281050497406] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280538868604] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280423600289] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193310280] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342116234] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280507417803] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811543555] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094920022] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280268731369] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280564271828] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576018574] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280757980939] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976306454] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280278937351] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279177787788] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181973529] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486141814] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280147105075] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014209892] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593649249] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974402960] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750614466] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280442543942] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326436830] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968611023] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076207585] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485823922] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757893093] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439031245] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247878938] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531816822] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281196228361] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280808435844] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280961856878] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280170835245] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105263852] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312435869] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281039094844] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165733427] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280961635978] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460133926] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280843224989] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280540525785] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280082420325] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279728645769] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280222285407] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280428734251] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112263599] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538552311] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497157975] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279920550430] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279361117866] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260742735] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215147341] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279971053622] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279602234976] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622637291] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384204810] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207746506] runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280650660206] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280045339913] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581839523] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331080238] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280433741224] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281206972744] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280846549892] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789283952] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279464591326] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281198897947] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279331019236] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280602416973] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743661562] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983926566] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541540593] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280580508401] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380918504] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300771551] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072272972] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523261401] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923382381] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251502335] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220280512] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134790759] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280059928976] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280484500424] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193494763] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280960177213] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692534045] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220153364] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280545390147] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281249919419] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281319977244] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280208841047] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279628338261] runtime: 0.0429ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804dd0000'), "name"=>"Malinda Stark", "reference"=>"Betty O'Kon", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3066ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804de0000'), "name"=>"Ralph Grant", "reference"=>"Ms. Letha Nolan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279331700323] runtime: 0.0613ms Completed 200 OK in 5ms (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('548f505a7735332804df0000'), "name"=>"Elizabeth Brekke PhD", "reference"=>"Janessa Witting", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f505a7735332804df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms 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('548f505a7735332804e00000'), "name"=>"Kira Gerlach", "reference"=>"Dennis Rolfson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804e20000'), "name"=>"Raheem Nicolas III", "reference"=>"Amelie Wehner", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f505a7735332804e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804e30000'), "name"=>"Jacinto Hegmann", "reference"=>"Milton Hirthe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.4431ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3132ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804e40000'), "name"=>"Emerald Hartmann", "reference"=>"Ms. Troy Johns", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3874ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3204ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 41ms (Views: 37.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804e50000'), "name"=>"Travon O'Hara", "reference"=>"Maria Turner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3255ms 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('548f505a7735332804e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3654ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804e70000'), "name"=>"Gerhard Mueller I", "reference"=>"Lowell Terry", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f505a7735332804e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms 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('548f505a7735332804e80000'), "name"=>"Ms. Eliseo Greenholt", "reference"=>"Dudley Abshire", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms 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('548f505a7735332804ea0000'), "name"=>"Vern Flatley", "reference"=>"Catharine Green", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f505a7735332804ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms 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('548f505a7735332804eb0000'), "name"=>"Jarrod Weber", "reference"=>"Isaiah Walter", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f505a7735332804eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms Redirected to http://test.host/products/548f505a7735332804eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804ee0000'), "name"=>"Dortha Heller", "reference"=>"Elvis Weissnat", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804ec0000'), "author_name"=>"Toni Volkman", "content"=>["Quis laudantium distinctio. Eius aut sint aut autem. Ullam corrupti necessitatibus similique saepe fuga voluptatibus. Tempore qui quos et."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804ed0000'), "author_name"=>"Jaiden Schimmel", "content"=>["Omnis excepturi magni hic maiores rerum impedit. Ipsum mollitia asperiores. Ipsam eveniet a neque velit ut vitae similique. Vel unde quisquam sequi corporis nam porro laboriosam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f505a7735332804ee0000", "comment_id"=>"548f505a7735332804ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ee0000'), "comments._id"=>BSON::ObjectId('548f505a7735332804ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f505a7735332804ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8241ms Redirected to http://test.host/products/548f505a7735332804ee0000/comments/548f505a7735332804ec0000/comments/548f505a7735332804ef0000 Completed 302 Found in 11ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4256ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804f20000'), "name"=>"Lenny Nicolas", "reference"=>"Morris Reichert", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f00000'), "author_name"=>"Tyler Boehm", "content"=>["A perspiciatis impedit quae occaecati eum. Sed aut iure ut non quis. Necessitatibus soluta voluptate distinctio. Aperiam quos veniam est quis omnis numquam."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f10000'), "author_name"=>"Gloria Flatley", "content"=>["Voluptas voluptas dolores quia natus voluptates reiciendis. Rerum laudantium ad quam. Vel quis sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f505a7735332804f20000", "comment_id"=>"548f505a7735332804f00000", "id"=>"548f505a7735332804f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804f20000')} 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('548f505a7735332804f20000'), "comments._id"=>BSON::ObjectId('548f505a7735332804f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f505a7735332804f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6556ms Redirected to http://test.host/products/548f505a7735332804f20000/comments/548f505a7735332804f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804f50000'), "name"=>"Branson Lynch", "reference"=>"Miss Dovie Huels", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f30000'), "author_name"=>"Faye Hane Jr.", "content"=>["Vero recusandae facilis fugiat. Inventore dicta ex amet quisquam possimus explicabo. Dolores recusandae dolorem dolorem ducimus id facilis. Eum est quisquam quia qui. Hic autem qui."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f40000'), "author_name"=>"Ricardo Keeling", "content"=>["Dolores asperiores ipsam aut incidunt. Eum unde tenetur quo in maxime est. Iure velit voluptatem debitis nam eos. Sit voluptatum exercitationem aperiam sed dolorum ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f505a7735332804f50000", "comment_id"=>"548f505a7735332804f30000", "id"=>"548f505a7735332804f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804f80000'), "name"=>"Evan Nader", "reference"=>"Claudie Heller DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f60000'), "author_name"=>"Deonte Treutel", "content"=>["Delectus aliquid mollitia. Qui libero illo alias dolor. Aut quis deleniti error. Facere optio esse placeat aut."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f70000'), "author_name"=>"Clovis Eichmann MD", "content"=>["Error impedit et sunt natus. Ipsum voluptates tenetur qui dolorum ut et. Dolorem nihil nesciunt suscipit omnis adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0811ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f505a7735332804f80000", "comment_id"=>"548f505a7735332804f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3996ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804fb0000'), "name"=>"Jazmyn Hamill", "reference"=>"Miss Lexi Waelchi", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804f90000'), "author_name"=>"Amir Jast", "content"=>["Voluptatem voluptatibus quae. Expedita sequi excepturi provident nostrum quia rerum omnis. Vel eaque omnis. Quos est vero voluptas sint et esse incidunt. Repudiandae magnam et officia pariatur qui architecto."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804fa0000'), "author_name"=>"Fern Crooks", "content"=>["Laboriosam error id odit. Placeat ipsa eius veniam velit. Ex eaque sequi reiciendis quia quia rerum in. Aliquam est unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4847ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f505a7735332804fb0000", "comment_id"=>"548f505a7735332804f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3759ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804fe0000'), "name"=>"Wellington Collins", "reference"=>"Leda Christiansen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804fc0000'), "author_name"=>"Marquis Stoltenberg", "content"=>["Aut cupiditate omnis a molestiae sequi et fugiat. Eos maiores pariatur atque. Nihil qui ex ipsa perferendis quidem rerum facere. Omnis facere harum corporis tempore. Et ut inventore."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804fd0000'), "author_name"=>"Dawn Mohr", "content"=>["Et magnam molestias rerum quia. Ut dolores sit. Ducimus laudantium aperiam consequatur ratione quisquam velit natus. Consectetur sit dicta ad. Ut excepturi in voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f505a7735332804fe0000", "comment_id"=>"548f505a7735332804fc0000", "id"=>"548f505a7735332804fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804010100'), "name"=>"Giovanny Gerhold", "reference"=>"Krystal Luettgen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804ff0000'), "author_name"=>"Mrs. Elbert Wolf", "content"=>["Id dolores non laborum. Quod aspernatur quia incidunt minus nostrum modi. Dignissimos dolorum a iure soluta perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804000100'), "author_name"=>"Wilbert Kreiger", "content"=>["Asperiores ut quam qui soluta corrupti rerum non. Aut sint et earum voluptatem est. Voluptate vel inventore fugit. Explicabo fuga qui. Veritatis corporis explicabo impedit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f505a7735332804010100", "comment_id"=>"548f505a7735332804ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804040100'), "name"=>"Dr. Rollin Stehr", "reference"=>"Dane Renner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804020100'), "author_name"=>"Nellie Schulist", "content"=>["Omnis et placeat ipsum et ut. Qui accusantium possimus alias sit. Et et hic."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804030100'), "author_name"=>"Anita Sporer", "content"=>["Minus voluptas alias voluptas adipisci ratione possimus rerum. Harum amet assumenda deserunt. Facilis eligendi molestiae et. Voluptatem incidunt et dolore quia sequi. Error ratione nihil consequuntur et doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f505a7735332804040100", "comment_id"=>"548f505a7735332804020100", "id"=>"548f505a7735332804030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f505a7735332804070100'), "name"=>"Lawrence Kassulke", "reference"=>"Miss Brenna Kuhic", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804050100'), "author_name"=>"Richie Heller", "content"=>["Aliquid quaerat consequatur et sed voluptate. Asperiores voluptatibus expedita nostrum est aliquam itaque. Nihil quasi voluptatum totam. Repudiandae laborum possimus itaque voluptate voluptas. Quod placeat aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f505a7735332804060100'), "author_name"=>"Mose Crona", "content"=>["Ea non amet. Sunt est quod expedita velit laudantium fugit est. Tenetur consequatur iusto ea commodi magni harum ut. Velit error est labore enim consequatur inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f505a7735332804060100", "product_id"=>"548f505a7735332804070100", "comment_id"=>"548f505a7735332804050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f505a7735332804070100'), "comments._id"=>BSON::ObjectId('548f505a7735332804050100'), "comments.0.comments._id"=>BSON::ObjectId('548f505a7735332804060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5108ms Redirected to http://test.host/products/548f505a7735332804070100/comments/548f505a7735332804050100/comments/548f505a7735332804060100 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('548f505a7735332804080100'), "firstname"=>"Virginia", "lastname"=>"Schneider"}] 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.1620ms 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('548f505a7735332804090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms Redirected to http://test.host/users/548f505a7735332804090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1486ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505a77353328040a0100'), "firstname"=>"Theron", "lastname"=>"Stracke"}] 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.1384ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f505a77353328040a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505a77353328040a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505a77353328040a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms 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.1455ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505a77353328040b0100'), "firstname"=>"Francisca", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f505a77353328040b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505a77353328040b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) 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('548f505a77353328040c0100'), "firstname"=>"Katelynn", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms 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.3083ms Completed 200 OK in 8ms (Views: 7.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505a77353328040d0100'), "firstname"=>"Sarina", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f505a77353328040e0100'), "firstname"=>"Aliya", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f505a77353328040e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505a77353328040e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f505a77353328040f0100'), "firstname"=>"Angus", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f505a77353328040f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f505a77353328040f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Unpermitted parameters: name Redirected to http://test.host/users/548f505a77353328040f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms 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.3724ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms 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=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms 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.3392ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0000000'), "firstname"=>"Jasen", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6433ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3562ms 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('548f509a77353329a0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6160ms 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.3667ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0020000'), "firstname"=>"Dannie", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f509a77353329a0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509a77353329a0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4331ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 61ms (Views: 59.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0030000'), "firstname"=>"Wava", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0040000'), "firstname"=>"Ellie", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f509a77353329a0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509a77353329a0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0050000'), "firstname"=>"Markus", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f509a77353329a0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509a77353329a0050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms 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('548f509a77353329a0060000'), "name"=>"Meda Welch", "reference"=>"Faustino Nitzsche", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a0070000'), "author_name"=>"Theodore Smitham", "content"=>["Assumenda labore iusto. Perspiciatis ducimus ab qui. Voluptatum et odit dignissimos ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.4602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f509a77353329a0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f509a77353329a0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms Redirected to http://test.host/admin/products/548f509a77353329a0060000/comments/548f509a77353329a0080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0090000'), "name"=>"Anita Torphy", "reference"=>"Estelle Runte", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a00a0000'), "author_name"=>"Dax Jaskolski", "content"=>["Voluptas quos quisquam. Ducimus et enim aliquam consequatur cum. Sed eveniet enim itaque at ad."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f509a77353329a0090000", "id"=>"548f509a77353329a00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f509a77353329a00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms Redirected to http://test.host/admin/products/548f509a77353329a0090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509a77353329a00b0000'), "name"=>"Name Bradtke", "reference"=>"Donnell Glover", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a00c0000'), "author_name"=>"Emelia Kreiger", "content"=>["Modi neque est placeat quibusdam aut velit. Sit ut quasi illo veritatis. Sit et modi itaque id. Reiciendis sed ducimus quis maiores nihil. Debitis doloribus ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f509a77353329a00b0000", "id"=>"548f509a77353329a00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a00b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('548f509a77353329a00d0000'), "name"=>"Keely Harvey", "reference"=>"Rogers Gleason", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a00e0000'), "author_name"=>"Donavon Champlin", "content"=>["Molestias repudiandae quasi. Eveniet sint commodi ea. Dolores rerum quia voluptatibus temporibus eligendi odit. Dolores maxime quisquam accusantium et voluptas ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6170ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f509a77353329a00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509a77353329a00f0000'), "name"=>"Mohamed Metz", "reference"=>"Eula Mertz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a0100000'), "author_name"=>"Mazie Larkin", "content"=>["Voluptas repudiandae ducimus est necessitatibus qui et. Omnis culpa ea. Illum et iste rerum qui recusandae nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5247ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f509a77353329a00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509a77353329a0110000'), "name"=>"Brianne Bednar IV", "reference"=>"Candelario Schowalter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a0120000'), "author_name"=>"Vella Kub", "content"=>["Omnis odio doloremque vel in est excepturi. Nesciunt similique nemo vel vero ad eligendi. Maxime unde modi est ea dolor nam. Aut rerum deleniti doloremque quia explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f509a77353329a0110000", "id"=>"548f509a77353329a0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3896ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) 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('548f509a77353329a0130000'), "name"=>"Sheldon Veum", "reference"=>"Dasia Yundt", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f509a77353329a0140000'), "author_name"=>"Emmitt Kshlerin", "content"=>["Molestiae eaque quae sunt architecto. Nihil consequuntur natus odit facere. Ab reiciendis unde et. Repellendus rerum corrupti non in facilis officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f509a77353329a0140000", "product_id"=>"548f509a77353329a0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509a77353329a0130000'), "comments._id"=>BSON::ObjectId('548f509a77353329a0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6135ms Redirected to http://test.host/admin/products/548f509a77353329a0130000/comments/548f509a77353329a0140000 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('548f509b77353329a0150000'), "name"=>"Emily Ruecker", "reference"=>"Wyman Flatley DVM", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0160000'), "firstname"=>"Ashtyn", "lastname"=>"Erdman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6665ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f509b77353329a0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms Redirected to http://test.host/admin/products/548f509b77353329a0150000/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('548f509b77353329a0180000'), "name"=>"Oceane Reynolds", "reference"=>"Bart Hand", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0190000'), "firstname"=>"Flossie", "lastname"=>"Torphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8146ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f509b77353329a0190000", "product_id"=>"548f509b77353329a0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a01a0000'), "name"=>"Natalia Fritsch", "reference"=>"Herta Wolf V", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a01b0000'), "firstname"=>"Colton", "lastname"=>"Lang"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f509b77353329a01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a01a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a01c0000'), "name"=>"Maxine Legros", "reference"=>"Norwood Okuneva", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a01d0000'), "firstname"=>"Merle", "lastname"=>"Doyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f509b77353329a01d0000", "product_id"=>"548f509b77353329a01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a01e0000'), "name"=>"Dr. Ulises Lang", "reference"=>"Miss Francis O'Connell", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a01f0000'), "firstname"=>"Tiana", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f509b77353329a01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f509b77353329a01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f509b77353329a01e0000/manager 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('548f509b77353329a0200000'), "name"=>"Rachael Nicolas", "reference"=>"Lenora Wilderman", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms 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('548f509b77353329a0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms Redirected to http://test.host/admin/products/548f509b77353329a0210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0220000'), "name"=>"Reba Kovacek", "reference"=>"Sigrid Schoen DVM", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1521ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f509b77353329a0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0220000')} 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('548f509b77353329a0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms 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.1615ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0230000'), "name"=>"Brody Homenick", "reference"=>"Hilario Satterfield", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f509b77353329a0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 7.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0240000'), "name"=>"Hettie McClure", "reference"=>"Abby Hand III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms 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.4885ms 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('548f509b77353329a0250000'), "name"=>"Rod Turcotte", "reference"=>"Abigale Hyatt", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 20ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0280000'), "name"=>"David Cassin", "reference"=>"Miss Don Lang", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f509b77353329a0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0290000'), "name"=>"Milford Thompson", "reference"=>"Pearlie Sauer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f509b77353329a0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0290000')} 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('548f509b77353329a0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms Redirected to http://test.host/admin/products/548f509b77353329a0290000 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('548f509b77353329a02a0000'), "firstname"=>"Dayana", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1575ms 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('548f509b77353329a02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Redirected to http://test.host/admin/users/548f509b77353329a02b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1716ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509b77353329a02c0000'), "firstname"=>"Jeromy", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1514ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f509b77353329a02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509b77353329a02c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509b77353329a02c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms 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.1793ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509b77353329a02d0000'), "firstname"=>"Dorothy", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f509b77353329a02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509b77353329a02d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Rendered /home/geoffroy/projects/crealettres/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('548f509b77353329a02e0000'), "firstname"=>"Michael", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.2443ms 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.5207ms Completed 200 OK in 10ms (Views: 9.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509b77353329a02f0000'), "firstname"=>"Jeromy", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('548f509b77353329a0300000'), "firstname"=>"Donna", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f509b77353329a0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509b77353329a0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 5.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0310000'), "firstname"=>"Makayla", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f509b77353329a0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509b77353329a0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f509b77353329a0310000 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('548f509b77353329a0320000'), "firstname"=>"Angel", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2476ms 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('548f509b77353329a0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms 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.2646ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0340000'), "firstname"=>"Clay", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f509b77353329a0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509b77353329a0340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('548f509b77353329a0350000'), "firstname"=>"Rolando", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4926ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0360000'), "firstname"=>"Joanie", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f509b77353329a0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509b77353329a0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.9ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0370000'), "firstname"=>"Melany", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f509b77353329a0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f509b77353329a0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0380000'), "name"=>"Thaddeus Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0390000'), "name"=>"Alberto Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03a0000'), "name"=>"Vita Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.5513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03b0000'), "name"=>"Owen Rogahn III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2011ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03c0000'), "name"=>"Joan Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03d0000'), "name"=>"Mr. Macy Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03e0000'), "name"=>"Nelda Murray Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a03f0000'), "name"=>"Xavier Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0400000'), "name"=>"Margot Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0410000'), "name"=>"Thurman Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0420000'), "name"=>"Tobin O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0430000'), "name"=>"Gail Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0440000'), "name"=>"Candelario Prohaska V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0450000'), "name"=>"Nikolas Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0460000'), "name"=>"Patsy Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0470000'), "name"=>"Brook Quitzon I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0480000'), "name"=>"Yvette Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0490000'), "name"=>"Jameson Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04a0000'), "name"=>"Elwin Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04b0000'), "name"=>"Mrs. Buster Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04c0000'), "name"=>"Mara Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04d0000'), "name"=>"Minnie Kohler I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04e0000'), "name"=>"Scarlett McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a04f0000'), "name"=>"Mrs. Leopoldo Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a04f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0500000'), "name"=>"Stephon Goodwin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0510000'), "name"=>"Arnaldo Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0520000'), "name"=>"Orlo Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0530000'), "name"=>"Angie Hirthe PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0540000'), "name"=>"Neil Pfannerstill III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0550000'), "name"=>"Willard Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0560000'), "name"=>"Coty Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0570000'), "name"=>"Rosario Doyle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0580000'), "name"=>"Irving Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0590000'), "name"=>"Alexys Runte PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05a0000'), "name"=>"Miss Coy Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05b0000'), "name"=>"Lucius Prohaska Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05c0000'), "name"=>"Miss Kacie Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.4313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05d0000'), "name"=>"Lenora O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05e0000'), "name"=>"London Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a05f0000'), "name"=>"Linnie Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a05f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0600000'), "name"=>"Jamel Kunde III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0610000'), "name"=>"Danny Nitzsche III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0620000'), "name"=>"Lupe Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0630000'), "name"=>"Heather Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0640000'), "name"=>"Bernhard Lueilwitz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0650000'), "name"=>"Lucienne Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0660000'), "name"=>"Mrs. Doyle Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0670000'), "name"=>"Cole Franecki Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0680000'), "name"=>"Earline Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0690000'), "name"=>"Eladio Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06a0000'), "name"=>"Billie Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06b0000'), "name"=>"Johnpaul Friesen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06c0000'), "name"=>"Sammie Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06d0000'), "name"=>"General Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06e0000'), "name"=>"Maribel Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a06f0000'), "name"=>"Leonora Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0700000'), "name"=>"Mr. Hallie Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0710000'), "name"=>"Lisa Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0720000'), "name"=>"Cole Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0730000'), "name"=>"Angus Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0740000'), "name"=>"Declan Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0750000'), "name"=>"Helmer Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0760000'), "name"=>"Ms. Muriel Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0770000'), "name"=>"Ms. Joe Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0780000'), "name"=>"Novella Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0790000'), "name"=>"Mrs. Melyssa Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07a0000'), "name"=>"Cade Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07b0000'), "name"=>"Katheryn Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07c0000'), "name"=>"Quinten Witting MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07d0000'), "name"=>"Judd Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07e0000'), "name"=>"Tess Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a07f0000'), "name"=>"Edwardo Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a07f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0800000'), "name"=>"Melissa White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0810000'), "name"=>"Kaylee D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0820000'), "name"=>"Mr. Ayana Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0830000'), "name"=>"Consuelo Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0840000'), "name"=>"Mr. Damien Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0850000'), "name"=>"Mara McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0860000'), "name"=>"Kendrick Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0870000'), "name"=>"Kelley Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0880000'), "name"=>"Hubert Marquardt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0890000'), "name"=>"Ms. Tony Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08a0000'), "name"=>"Larry Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08b0000'), "name"=>"Carrie Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08c0000'), "name"=>"Madelyn MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08d0000'), "name"=>"Carolina Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08e0000'), "name"=>"Arno Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a08f0000'), "name"=>"Stephen Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a08f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0900000'), "name"=>"Roma Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0910000'), "name"=>"Elaina Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0920000'), "name"=>"Emerald Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0930000'), "name"=>"Mr. Tiffany Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0940000'), "name"=>"Uriah Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0950000'), "name"=>"Felipa O'Hara DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0960000'), "name"=>"Marcella Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0970000'), "name"=>"Kari Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1645ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms Redirected to http://test.host/categories/548f509b77353329a0980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1887ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0990000'), "name"=>"Jacynthe Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1608ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f509b77353329a0990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a0990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1710ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a09a0000'), "name"=>"Christ Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f509b77353329a09a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 10ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a09b0000'), "name"=>"Dannie Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305549302561] runtime: 0.1431ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2534ms Completed 200 OK in 40ms (Views: 39.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a09c0000'), "name"=>"Ara Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305116421987] runtime: 0.1095ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2401ms Completed 200 OK in 10ms (Views: 9.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a09d0000'), "name"=>"Uriah Jast"}] 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={"category_id"=>BSON::ObjectId('548f509b77353329a09d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 8ms (Views: 7.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a09f0000'), "name"=>"Dominique Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f509b77353329a09f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (34.4ms) Completed 200 OK in 38ms (Views: 37.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0a00000'), "name"=>"Mrs. Nicholaus Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f509b77353329a0a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f509b77353329a0a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f509b77353329a0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Redirected to http://test.host/categories/548f509b77353329a0a00000 Completed 302 Found in 9ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0a10000'), "name"=>"Miss Luis Dach", "reference"=>"Nyah Skiles", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0a20000'), "author_name"=>"Ewald Crona", "content"=>["Similique cupiditate consequatur alias. Facere ut asperiores unde. Maxime facilis iure quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f509b77353329a0a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f509b77353329a0a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms Redirected to http://test.host/products/548f509b77353329a0a10000/comments/548f509b77353329a0a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0a40000'), "name"=>"Moses Jaskolski", "reference"=>"Aylin Farrell", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0a50000'), "author_name"=>"Mrs. Lora Oberbrunner", "content"=>["Magnam aut repellendus sed cupiditate quibusdam ad quaerat. Voluptatem et autem minima. Non culpa alias provident id perferendis excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f509b77353329a0a40000", "id"=>"548f509b77353329a0a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f509b77353329a0a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Redirected to http://test.host/products/548f509b77353329a0a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0a60000'), "name"=>"Rasheed Stehr", "reference"=>"Okey Fritsch", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0a70000'), "author_name"=>"Kaylin Ebert", "content"=>["Quisquam officiis vero. Tempora cupiditate cum sapiente provident culpa et. Expedita eum aut. Sequi ad sed libero. Blanditiis incidunt voluptatem nesciunt id provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f509b77353329a0a60000", "id"=>"548f509b77353329a0a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0a80000'), "name"=>"Mrs. Alek Oberbrunner", "reference"=>"Pink Hahn", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0a90000'), "author_name"=>"Reva Gutmann", "content"=>["Impedit sed voluptatem. Totam temporibus quis. Quaerat modi temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f509b77353329a0a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0aa0000'), "name"=>"Camden Wisozk DDS", "reference"=>"Karlie Hudson", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0ab0000'), "author_name"=>"Bobbie Herzog", "content"=>["Et est autem nulla ut modi necessitatibus. Et nemo beatae suscipit voluptatum ut illo fugit. Eveniet veritatis nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f509b77353329a0aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0ac0000'), "name"=>"Patsy Greenholt", "reference"=>"Ayla O'Connell", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0ad0000'), "author_name"=>"Aubree Cole", "content"=>["Molestias ut aperiam. Aut voluptatem cum. Sed omnis et aut corporis dolorem. Debitis aut voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f509b77353329a0ac0000", "id"=>"548f509b77353329a0ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0ae0000'), "name"=>"Harley Bode", "reference"=>"Erica Grady", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0af0000'), "author_name"=>"Cleora Hermann", "content"=>["Ut molestias cumque error ipsam voluptatem ea voluptatem. Reprehenderit provident sed qui dolorem et culpa. Suscipit veritatis non sit aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f509b77353329a0ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0b00000'), "name"=>"Syble Kihn", "reference"=>"Javonte Parisian", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0b10000'), "author_name"=>"Thomas Wolf", "content"=>["Error cupiditate unde. Et pariatur ab laboriosam soluta voluptas suscipit veniam. Est non consequatur aliquid animi id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f509b77353329a0b00000", "id"=>"548f509b77353329a0b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0b20000'), "name"=>"Blair Jacobson", "reference"=>"Jaylin Rutherford", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f509b77353329a0b30000'), "author_name"=>"Marquise Cormier DVM", "content"=>["Modi maiores aut. Est temporibus ipsa. Recusandae cum suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f509b77353329a0b30000", "product_id"=>"548f509b77353329a0b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0b20000'), "comments._id"=>BSON::ObjectId('548f509b77353329a0b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Redirected to http://test.host/products/548f509b77353329a0b20000/comments/548f509b77353329a0b30000 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('548f509b77353329a0b40000'), "firstname"=>"Whitney", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms 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('548f509b77353329a0b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Redirected to http://test.host/admin/clients/548f509b77353329a0b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0b60000'), "firstname"=>"Alexandrine", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1838ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f509b77353329a0b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms 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.1949ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0b70000'), "firstname"=>"Gerhard", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f509b77353329a0b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('548f509b77353329a0b80000'), "firstname"=>"Malachi", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms Completed 200 OK in 39ms (Views: 38.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0b90000'), "firstname"=>"Dusty", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f509b77353329a0ba0000'), "firstname"=>"Cornell", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f509b77353329a0ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('548f509b77353329a0bb0000'), "firstname"=>"Carli", "lastname"=>"Kozey"}] 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"=>"548f509b77353329a0bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Redirected to http://test.host/admin/clients/548f509b77353329a0bb0000 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('548f509b77353329a0bc0000'), "firstname"=>"Gunnar", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1866ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms Redirected to http://test.host/clients/548f509b77353329a0bd0000 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_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0be0000'), "firstname"=>"Orpha", "lastname"=>"Bergnaum"}] 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.1784ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f509b77353329a0be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms 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.1651ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0bf0000'), "firstname"=>"Monserrat", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6080ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f509b77353329a0bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms Rendered /home/geoffroy/projects/crealettres/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('548f509b77353329a0c00000'), "firstname"=>"Clemmie", "lastname"=>"Kshlerin"}] 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.4593ms 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('548f509b77353329a0c10000'), "firstname"=>"Kendall", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f509b77353329a0c20000'), "firstname"=>"Keon", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f509b77353329a0c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0c30000'), "firstname"=>"Harmon", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f509b77353329a0c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f509b77353329a0c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Redirected to http://test.host/clients/548f509b77353329a0c30000 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('548f509b77353329a0c40000'), "name"=>"Fernando Collins", "reference"=>"Mrs. Brant Runte", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0c50000'), "firstname"=>"Lacy", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f509b77353329a0c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0c40000')} 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('548f509b77353329a0c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms Redirected to http://test.host/products/548f509b77353329a0c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0c70000'), "name"=>"Rosalind Abshire DVM", "reference"=>"Iva Lang", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0c80000'), "firstname"=>"Gillian", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f509b77353329a0c80000", "product_id"=>"548f509b77353329a0c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509b77353329a0c90000'), "name"=>"Ms. Nelson Stiedemann", "reference"=>"Vicky Dickinson Jr.", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f509b77353329a0ca0000'), "firstname"=>"Bonita", "lastname"=>"Barrows"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f509b77353329a0c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509b77353329a0c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4153ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (27.9ms) Completed 200 OK in 32ms (Views: 29.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0cb0000'), "name"=>"Javonte Howe", "reference"=>"Cleo Fahey DDS", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f509c77353329a0cc0000'), "firstname"=>"Kayleigh", "lastname"=>"Satterfield"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5435ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f509c77353329a0cc0000", "product_id"=>"548f509c77353329a0cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5192ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 7ms (Views: 4.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0cd0000'), "name"=>"Dr. Kian Hane", "reference"=>"Miss Holly Berge", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f509c77353329a0ce0000'), "firstname"=>"Rollin", "lastname"=>"Goodwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5916ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f509c77353329a0ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f509c77353329a0cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4195ms Unpermitted parameters: name Redirected to http://test.host/products/548f509c77353329a0cd0000/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('548f509c77353329a0cf0000'), "name"=>"Eve Kutch", "reference"=>"Miss Josephine Breitenberg", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d00000'), "name"=>"Iva Berge", "reference"=>"Ms. Maddison Bruen", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d10000'), "name"=>"Mrs. Aniya Hoeger", "reference"=>"Maxime Murphy", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d20000'), "name"=>"Ms. Idella Connelly", "reference"=>"Julie Wolff", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d30000'), "name"=>"Crawford Graham", "reference"=>"Miss Arvel Murphy", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d40000'), "name"=>"Jude Kris", "reference"=>"Lucy Steuber", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1981ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms Redirected to http://test.host/products/548f509c77353329a0d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2219ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d60000'), "name"=>"Bret Daniel", "reference"=>"Sabryna Bradtke", "quantity"=>7}] 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.1994ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f509c77353329a0d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0d60000')} 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.2200ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d70000'), "name"=>"Mrs. Tressa Feeney", "reference"=>"Kelli Schimmel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f509c77353329a0d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('548f509c77353329a0d80000'), "name"=>"Cornelius Wilkinson", "reference"=>"Buddy Lang", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660532352] runtime: 0.1070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2747ms Completed 200 OK in 18ms (Views: 16.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0d90000'), "name"=>"Elaina Gerlach DDS", "reference"=>"Bradly Hahn", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0da0000'), "name"=>"HelloWorld", "reference"=>"Kaitlyn Homenick", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0db0000'), "name"=>"value", "reference"=>"Thad Lueilwitz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4574ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3740ms Completed 200 OK in 7ms (Views: 6.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2473ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2118ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1380ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2197ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1786ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1486ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0dc0000'), "name"=>"Kiana Kassulke", "reference"=>"Jesus Breitenberg PhD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886215651] runtime: 0.1497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3361ms Completed 200 OK in 43ms (Views: 42.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576750601] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686388857] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279589293302] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274782868] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338737672] runtime: 0.0689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281199218314] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440951512] runtime: 0.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081944967] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811442336] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279799787969] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193453050] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478731059] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281199738297] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478767256] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837141769] runtime: 0.1727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309701647] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281261440744] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281262783335] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152393985] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676481199] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221027897] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096576607] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446629904] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929768867] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279341697961] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280019334930] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280595496674] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280989820811] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601439976] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280446749612] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280328310877] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280441771890] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279329068746] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279925378276] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837385562] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279817305097] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280613865224] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280592653372] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281239418703] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279521658199] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772631361] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362661738] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571723715] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571783889] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279733629871] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280602930773] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008890588] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028936834] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080596038] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280184324195] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880039604] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279893557528] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318558134] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195849304] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805389858] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478978322] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281005949862] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435216048] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280713371347] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249779436] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130658559] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280850309411] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280633806601] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963921443] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598363356] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280650332781] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524167713] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280038493757] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089858048] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279453009898] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590260175] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558259016] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794413959] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279637388718] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260943777] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846053519] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281273178760] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279602154013] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676126803] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062308605] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280097327247] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280841644755] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281209156976] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280547813118] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402510399] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281030105143] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471150116] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723214068] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280238875112] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079709326] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663616031] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546962791] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279727620114] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281301887482] runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829279969] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245351428] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731495116] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491703123] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280715987044] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968794837] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280358401853] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552234194] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810787288] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062053293] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281244980444] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280996923058] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859768826] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280231424315] runtime: 0.0817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280419247408] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700174749] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783335853] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794523123] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220752327] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280495427723] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282103667] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047621940] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767515414] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280426371252] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279357092672] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748042524] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279695193272] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279654104208] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280214334646] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762737879] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280487255939] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801421989] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314414177] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146311326] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068232090] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661831260] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279394923884] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658135005] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825841945] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281261897942] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281051411839] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279450070984] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016994166] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279421192533] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769893950] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280833198591] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639020142] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280003522678] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279539372318] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191540011] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281177550911] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571281318] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251021938] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243171553] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974152528] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279313724754] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254518200] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279216257909] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281267138468] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737188553] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280316207691] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555012585] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349793882] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280319048704] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279962302843] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413357260] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280652027416] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280956932129] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857740401] runtime: 0.0427ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0dd0000'), "name"=>"Boris Bosco", "reference"=>"Marina Harris", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms Completed 200 OK in 6ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0de0000'), "name"=>"Ms. Trisha Fritsch", "reference"=>"Bruce Larson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281101510333] runtime: 0.1334ms Completed 200 OK in 31ms (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('548f509c77353329a0df0000'), "name"=>"Don Sporer", "reference"=>"Dagmar Harber", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f509c77353329a0df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms 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('548f509c77353329a0e00000'), "name"=>"Wyatt Grimes", "reference"=>"Mr. Aurelio Halvorson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0e20000'), "name"=>"Alivia Marvin Jr.", "reference"=>"Ms. Martina Raynor", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f509c77353329a0e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 4.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0e30000'), "name"=>"Mrs. Trevion Purdy", "reference"=>"Ila O'Keefe", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2311ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0e40000'), "name"=>"Guillermo Bernhard", "reference"=>"Vance Hartmann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3832ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3109ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0e50000'), "name"=>"Brando Balistreri", "reference"=>"Susie Witting", "quantity"=>7}] 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.2474ms 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('548f509c77353329a0e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2691ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0e70000'), "name"=>"Dr. Lauriane Morissette", "reference"=>"Zackery Schulist", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f509c77353329a0e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms 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('548f509c77353329a0e80000'), "name"=>"Mariam Beier", "reference"=>"Marcelina Hyatt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms 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('548f509c77353329a0ea0000'), "name"=>"Isabell Glover", "reference"=>"Julien Feil DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f509c77353329a0ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms 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('548f509c77353329a0eb0000'), "name"=>"Eden Schamberger PhD", "reference"=>"Audrey Koepp III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f509c77353329a0eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0eb0000')} 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('548f509c77353329a0eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0904ms Redirected to http://test.host/products/548f509c77353329a0eb0000 Completed 302 Found in 9ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0ee0000'), "name"=>"Carmel Boyer", "reference"=>"Marilou Hayes", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0ec0000'), "author_name"=>"Lois Stamm", "content"=>["Porro accusamus sed. Inventore adipisci sit excepturi. Dolores rerum aut ab impedit."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0ed0000'), "author_name"=>"Makenzie Little", "content"=>["Aut voluptas et aliquid explicabo sunt cupiditate ad. Esse ut vel accusantium. Voluptatum culpa quia ut ipsa debitis et. Deserunt iure aspernatur aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f509c77353329a0ee0000", "comment_id"=>"548f509c77353329a0ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0ee0000')} 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('548f509c77353329a0ee0000'), "comments._id"=>BSON::ObjectId('548f509c77353329a0ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f509c77353329a0ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Redirected to http://test.host/products/548f509c77353329a0ee0000/comments/548f509c77353329a0ec0000/comments/548f509c77353329a0ef0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0f20000'), "name"=>"Miss Ansel Collins", "reference"=>"Flossie Rodriguez", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f00000'), "author_name"=>"Roma Lehner", "content"=>["Veritatis porro autem eum necessitatibus est et laboriosam. Voluptas exercitationem est amet. Repellendus veritatis ut provident facilis totam excepturi. Quo voluptas vel aliquam temporibus et molestiae pariatur."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f10000'), "author_name"=>"Madisyn Pollich", "content"=>["Natus id architecto repellendus dolorem ab exercitationem delectus. Voluptatibus nostrum dolor voluptas. Est ipsa aspernatur eaque ratione ipsum autem nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f509c77353329a0f20000", "comment_id"=>"548f509c77353329a0f00000", "id"=>"548f509c77353329a0f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f20000'), "comments._id"=>BSON::ObjectId('548f509c77353329a0f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f509c77353329a0f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Redirected to http://test.host/products/548f509c77353329a0f20000/comments/548f509c77353329a0f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0f50000'), "name"=>"Vladimir Smith", "reference"=>"Cielo Crist", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f30000'), "author_name"=>"Mr. Freddie Rowe", "content"=>["Quasi nisi tempora adipisci laboriosam maxime. Aliquid commodi sequi nihil vel corrupti quasi. Accusamus tenetur fugit commodi doloribus qui. Sint ab harum vel sapiente magni eum et."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f40000'), "author_name"=>"Maymie Hane", "content"=>["Rerum ea autem sit temporibus totam. Architecto nostrum quia quaerat. Modi earum ipsa illum qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f509c77353329a0f50000", "comment_id"=>"548f509c77353329a0f30000", "id"=>"548f509c77353329a0f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0f80000'), "name"=>"Mellie Balistreri Sr.", "reference"=>"Marina Doyle", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f60000'), "author_name"=>"Judge Jacobs", "content"=>["Eaque iste sint. Et magni dolorum. Culpa inventore dignissimos ut sed. Impedit praesentium qui non cum distinctio mollitia. Dolor veniam repellendus velit quis voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f70000'), "author_name"=>"Miss Gianni Becker", "content"=>["Nemo exercitationem eaque dolor. Occaecati ea recusandae dolor autem dolor. Consequuntur et aperiam autem fugit. Iusto et et ex voluptatem autem nam. Non cupiditate placeat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f509c77353329a0f80000", "comment_id"=>"548f509c77353329a0f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0fb0000'), "name"=>"Dr. Hazel O'Reilly", "reference"=>"Berniece Howe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0f90000'), "author_name"=>"Paolo Hayes", "content"=>["Illum nihil ut itaque quas modi dolor. Est dolor consequatur aliquid. Sit id quod delectus doloremque amet. Provident dignissimos quae omnis harum ipsam. Qui doloremque quo non eius magni rerum et."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0fa0000'), "author_name"=>"Rex Heller", "content"=>["Repudiandae odit eum quod vero sit. Quia perferendis ea aut. Omnis similique quisquam. Aut iure et vel enim est accusantium. Nisi sit dolor voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f509c77353329a0fb0000", "comment_id"=>"548f509c77353329a0f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0fe0000'), "name"=>"Elta Beahan", "reference"=>"Mollie Macejkovic", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0fc0000'), "author_name"=>"Trent Keebler", "content"=>["Aut repellat voluptatibus enim vero. Numquam temporibus architecto. Repellendus nesciunt voluptatem voluptatem quia."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0fd0000'), "author_name"=>"Cornelius Cremin DVM", "content"=>["Sunt occaecati qui adipisci earum voluptas. Totam odio nam voluptas reprehenderit est. Possimus odio dolorum reprehenderit dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f509c77353329a0fe0000", "comment_id"=>"548f509c77353329a0fc0000", "id"=>"548f509c77353329a0fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Completed 200 OK in 29ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0010100'), "name"=>"Lonie King", "reference"=>"Ms. Tommie Weber", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0ff0000'), "author_name"=>"Verda Gusikowski DVM", "content"=>["Aliquid eos ipsa enim fuga dolor. A aut et quam voluptatem incidunt provident enim. Nam nostrum porro quibusdam. Similique rerum rerum laboriosam. Illo est ad est."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0000100'), "author_name"=>"Aliyah Kiehn", "content"=>["Ullam provident molestiae omnis minima. Qui repellat dolorem placeat quaerat veritatis veniam. Et quae quasi officia illo. Ut id saepe deserunt dolores. Aut labore pariatur quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f509c77353329a0010100", "comment_id"=>"548f509c77353329a0ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0040100'), "name"=>"Berta Cummings", "reference"=>"Lori Kling", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0020100'), "author_name"=>"Joy Cruickshank", "content"=>["In et quam. Aperiam sequi qui. Tempora qui et esse commodi non. Expedita sed dolores repellendus illum qui veniam. Delectus fugit quasi nam nisi."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0030100'), "author_name"=>"Brooke Johns", "content"=>["Laboriosam expedita omnis saepe numquam repudiandae. Quia voluptatum natus sunt. Eum tempore velit sequi reiciendis odio quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f509c77353329a0040100", "comment_id"=>"548f509c77353329a0020100", "id"=>"548f509c77353329a0030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f509c77353329a0070100'), "name"=>"Ms. Bryce Sauer", "reference"=>"Travis Mann", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0050100'), "author_name"=>"Keara Adams", "content"=>["Quaerat iste sint et illo aliquam. Eos id vitae voluptas at esse. Aliquid temporibus voluptates dolor ut in. Atque fuga voluptatem consequatur. Saepe minus exercitationem totam dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('548f509c77353329a0060100'), "author_name"=>"Jacquelyn Witting", "content"=>["Et enim veniam voluptatem tempora. Enim earum facere alias a sunt cum. Qui autem nemo blanditiis cupiditate. Quaerat voluptas dolor qui excepturi ab odit unde. Exercitationem dolor numquam neque esse ipsa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 34.2269ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f509c77353329a0060100", "product_id"=>"548f509c77353329a0070100", "comment_id"=>"548f509c77353329a0050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4311ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f509c77353329a0070100'), "comments._id"=>BSON::ObjectId('548f509c77353329a0050100'), "comments.0.comments._id"=>BSON::ObjectId('548f509c77353329a0060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6738ms Redirected to http://test.host/products/548f509c77353329a0070100/comments/548f509c77353329a0050100/comments/548f509c77353329a0060100 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('548f509c77353329a0080100'), "firstname"=>"Bradly", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5596ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1796ms 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('548f509c77353329a0090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Redirected to http://test.host/users/548f509c77353329a0090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1996ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509c77353329a00a0100'), "firstname"=>"Mallie", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1899ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f509c77353329a00a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509c77353329a00a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509c77353329a00a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms 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.1757ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509c77353329a00b0100'), "firstname"=>"Michel", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f509c77353329a00b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509c77353329a00b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509c77353329a00c0100'), "firstname"=>"Arvilla", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms 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.3868ms Completed 200 OK in 8ms (Views: 7.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509c77353329a00d0100'), "firstname"=>"Winnifred", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f509c77353329a00e0100'), "firstname"=>"Lori", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f509c77353329a00e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509c77353329a00e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f509c77353329a00f0100'), "firstname"=>"Sidney", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0818ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f509c77353329a00f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f509c77353329a00f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms Unpermitted parameters: name Redirected to http://test.host/users/548f509c77353329a00f0100 Completed 302 Found in 2ms 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.3548ms 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.3180ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms 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.2860ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms 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.3051ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef000000'), "firstname"=>"Leo", "lastname"=>"Morar"}] 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=>"administrators", :query=>{}} runtime: 0.1326ms 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('548f547b7735333eef010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms 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.2019ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef020000'), "firstname"=>"Cecil", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f547b7735333eef020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547b7735333eef020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 20ms (Views: 18.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef030000'), "firstname"=>"Dixie", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.4036ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 10ms (Views: 9.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef040000'), "firstname"=>"Yasmine", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f547b7735333eef040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547b7735333eef040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 7ms (Views: 4.8ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef050000'), "firstname"=>"Donald", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f547b7735333eef050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547b7735333eef050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms 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('548f547b7735333eef060000'), "name"=>"Shany Keebler II", "reference"=>"Brianne Jaskolski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef070000'), "author_name"=>"Mr. Deontae Bayer", "content"=>["Voluptatibus commodi nam qui. Assumenda placeat sed ipsum perspiciatis repudiandae. Fugit et rerum molestias praesentium eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f547b7735333eef060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f547b7735333eef080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.5865ms Redirected to http://test.host/admin/products/548f547b7735333eef060000/comments/548f547b7735333eef080000 Completed 302 Found in 23ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef090000'), "name"=>"Krista Eichmann II", "reference"=>"Amir Kilback DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef0a0000'), "author_name"=>"Otis Ledner", "content"=>["Perferendis voluptates aliquid quibusdam et libero ut. Temporibus quia facilis aliquid soluta. Porro illum enim voluptatem assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f547b7735333eef090000", "id"=>"548f547b7735333eef0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4178ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f547b7735333eef0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Redirected to http://test.host/admin/products/548f547b7735333eef090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3491ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef0b0000'), "name"=>"Vanessa Zulauf", "reference"=>"Hollis Greenfelder", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef0c0000'), "author_name"=>"Lavinia Konopelski", "content"=>["Tempore cumque et. Est sit culpa asperiores vel porro. Inventore ut recusandae ea deleniti sint neque culpa. Quam corporis nihil. Aperiam quia qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f547b7735333eef0b0000", "id"=>"548f547b7735333eef0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 11ms (Views: 8.3ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef0d0000'), "name"=>"Shemar Block DVM", "reference"=>"Annalise Carroll Jr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef0e0000'), "author_name"=>"Hollie Kulas", "content"=>["Corrupti hic veniam rerum. Facere quo esse ea et voluptas in. Et consequatur ut eveniet tempore sint omnis qui. Soluta ad error magni accusamus dicta aut et. Non quis aliquam corporis voluptas minus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f547b7735333eef0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef0f0000'), "name"=>"Dr. Dahlia Ziemann", "reference"=>"Katarina Kunze", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef100000'), "author_name"=>"Dejon Simonis", "content"=>["Delectus necessitatibus dolorem quasi alias voluptatem. Nam asperiores voluptas. Repudiandae minima consequatur qui nobis et. Modi illum est delectus quibusdam vel inventore quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f547b7735333eef0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef110000'), "name"=>"Kristina White V", "reference"=>"Tina O'Conner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef120000'), "author_name"=>"Jerry Brown", "content"=>["Et sed consequatur minus qui. Sint velit iusto hic architecto facilis. Enim minima unde voluptatibus odit. In voluptatem natus ea dolorem labore dolorem error. Iusto enim ducimus iste optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5764ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f547b7735333eef110000", "id"=>"548f547b7735333eef120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4338ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 9ms (Views: 5.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef130000'), "name"=>"Savannah Yost", "reference"=>"Josephine Ruecker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f547b7735333eef140000'), "author_name"=>"Sid Wiza", "content"=>["Ducimus vero voluptatem qui est. Voluptatem et consequatur laborum et natus amet. Accusantium ullam est consequatur. Consequuntur eligendi velit est dolores et ut at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f547b7735333eef140000", "product_id"=>"548f547b7735333eef130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4394ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef130000'), "comments._id"=>BSON::ObjectId('548f547b7735333eef140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6060ms Redirected to http://test.host/admin/products/548f547b7735333eef130000/comments/548f547b7735333eef140000 Completed 302 Found in 6ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef150000'), "name"=>"Rebeca Barrows", "reference"=>"Hillary Gutkowski IV", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f547b7735333eef160000'), "firstname"=>"Violette", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.8647ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f547b7735333eef150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f547b7735333eef170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms Redirected to http://test.host/admin/products/548f547b7735333eef150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef180000'), "name"=>"Sarai Kshlerin", "reference"=>"Noemy Halvorson", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('548f547b7735333eef190000'), "firstname"=>"Pansy", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f547b7735333eef190000", "product_id"=>"548f547b7735333eef180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 10ms (Views: 8.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef1a0000'), "name"=>"Iva Weimann", "reference"=>"Alfreda Lang", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f547b7735333eef1b0000'), "firstname"=>"Sebastian", "lastname"=>"Jerde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f547b7735333eef1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547b7735333eef1c0000'), "name"=>"Erica Baumbach", "reference"=>"Armando Fay", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f547b7735333eef1d0000'), "firstname"=>"Jevon", "lastname"=>"Cummings"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f547b7735333eef1d0000", "product_id"=>"548f547b7735333eef1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547b7735333eef1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4008ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 4.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef1e0000'), "name"=>"Kayleigh Schuster", "reference"=>"Fredy Daugherty", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('548f547c7735333eef1f0000'), "firstname"=>"Rocky", "lastname"=>"Bartell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f547c7735333eef1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f547c7735333eef1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f547c7735333eef1e0000/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('548f547c7735333eef200000'), "name"=>"August Ullrich Sr.", "reference"=>"Ari Roob", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2706ms 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('548f547c7735333eef210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Redirected to http://test.host/admin/products/548f547c7735333eef210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2856ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef220000'), "name"=>"Everardo Borer", "reference"=>"Alek Wintheiser", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2672ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f547c7735333eef220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3743ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms 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.2214ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef230000'), "name"=>"Dr. Russel Harvey", "reference"=>"Miss Sally Schulist", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 21.5131ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f547c7735333eef230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4876ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 10ms (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('548f547c7735333eef240000'), "name"=>"Jaylan Huel Sr.", "reference"=>"Kristin Pacocha", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6414ms 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.7629ms Completed 200 OK in 13ms (Views: 12.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef250000'), "name"=>"Dr. Rickie Schultz", "reference"=>"Briana Schoen DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 20ms (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('548f547c7735333eef280000'), "name"=>"Maurice Wolff", "reference"=>"Buddy Lakin IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f547c7735333eef280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('548f547c7735333eef290000'), "name"=>"Maynard Leuschke", "reference"=>"Shanelle Ankunding Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f547c7735333eef290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eef290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Redirected to http://test.host/admin/products/548f547c7735333eef290000 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('548f547c7735333eef2a0000'), "firstname"=>"Garth", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6222ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1616ms 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('548f547c7735333eef2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Redirected to http://test.host/admin/users/548f547c7735333eef2b0000 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('548f547c7735333eef2c0000'), "firstname"=>"Aisha", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1670ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f547c7735333eef2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547c7735333eef2c0000')} 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('548f547c7735333eef2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms 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.1823ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef2d0000'), "firstname"=>"Aliza", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f547c7735333eef2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547c7735333eef2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms Rendered /home/geoffroy/projects/crealettres/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('548f547c7735333eef2e0000'), "firstname"=>"Cordie", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms 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.2712ms 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('548f547c7735333eef2f0000'), "firstname"=>"Catalina", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.3104ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('548f547c7735333eef300000'), "firstname"=>"Dena", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f547c7735333eef300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547c7735333eef300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 36ms (Views: 35.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef310000'), "firstname"=>"Keely", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f547c7735333eef310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547c7735333eef310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f547c7735333eef310000 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('548f547c7735333eef320000'), "firstname"=>"Joyce", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2103ms 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('548f547c7735333eef330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms 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.2197ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef340000'), "firstname"=>"Valentina", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f547c7735333eef340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547c7735333eef340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4357ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef350000'), "firstname"=>"Golda", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('548f547c7735333eef360000'), "firstname"=>"Warren", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f547c7735333eef360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547c7735333eef360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef370000'), "firstname"=>"Diamond", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f547c7735333eef370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f547c7735333eef370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef380000'), "name"=>"Yvette Legros V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.7334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef390000'), "name"=>"Carolyn Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3a0000'), "name"=>"Karley Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3b0000'), "name"=>"Alexandrine Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3c0000'), "name"=>"Miss Sylvester Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3d0000'), "name"=>"Brandt Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3e0000'), "name"=>"Cheyenne Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef3f0000'), "name"=>"Bennie Gerhold III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef400000'), "name"=>"Ms. Carey Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef410000'), "name"=>"Lucinda Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef420000'), "name"=>"Alicia Hayes III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef430000'), "name"=>"Helen Bartell MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef440000'), "name"=>"Gaylord Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef450000'), "name"=>"Kacey Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef460000'), "name"=>"Jaquelin Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef470000'), "name"=>"Loy Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef480000'), "name"=>"Coby Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef490000'), "name"=>"Isac Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4a0000'), "name"=>"Wilson Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4b0000'), "name"=>"Mr. Reilly Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4c0000'), "name"=>"Greyson Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4d0000'), "name"=>"Miss Chet Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4e0000'), "name"=>"Jaylin Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef4f0000'), "name"=>"Anjali Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef500000'), "name"=>"Paige Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef510000'), "name"=>"Zena Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef520000'), "name"=>"Angelica Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef530000'), "name"=>"Juwan O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef540000'), "name"=>"Regan Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef550000'), "name"=>"Rhoda Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef560000'), "name"=>"Tania Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef570000'), "name"=>"Tyree McCullough II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef580000'), "name"=>"Oren Pfannerstill Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef590000'), "name"=>"Meagan Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5a0000'), "name"=>"Carolina McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5b0000'), "name"=>"Sheila Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5c0000'), "name"=>"Hettie Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5d0000'), "name"=>"Margarette Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5e0000'), "name"=>"Richard Gerhold V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef5f0000'), "name"=>"Hortense Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef600000'), "name"=>"Deron Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef610000'), "name"=>"Kaylah McGlynn DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef620000'), "name"=>"Dr. Alicia Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef630000'), "name"=>"Reagan Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef640000'), "name"=>"Mrs. Gretchen Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef650000'), "name"=>"Jammie Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef660000'), "name"=>"Miss Tanner Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef670000'), "name"=>"Josh Erdman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef680000'), "name"=>"Kaylee Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef690000'), "name"=>"Dr. Hallie Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6a0000'), "name"=>"Colten Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6b0000'), "name"=>"Dr. Tina King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6c0000'), "name"=>"Keanu Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6d0000'), "name"=>"Mr. Frances Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6e0000'), "name"=>"Miss Silas Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef6f0000'), "name"=>"Emil Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef700000'), "name"=>"Dr. Talia Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef710000'), "name"=>"Oceane Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef720000'), "name"=>"Mr. Cecile Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef730000'), "name"=>"Barton Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef740000'), "name"=>"Eladio Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef750000'), "name"=>"Kiera Koepp V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef760000'), "name"=>"Mrs. Ruth Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef770000'), "name"=>"Katlyn Kuhic DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef780000'), "name"=>"Bruce Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef790000'), "name"=>"Caitlyn Bruen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7a0000'), "name"=>"Weston Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7b0000'), "name"=>"Neoma Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7c0000'), "name"=>"Maximillian Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7d0000'), "name"=>"Giovani Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7e0000'), "name"=>"Elenor Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef7f0000'), "name"=>"Mary Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef800000'), "name"=>"Cora Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef810000'), "name"=>"Guido Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef820000'), "name"=>"Hudson O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef830000'), "name"=>"Anastasia Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef840000'), "name"=>"Tess Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef850000'), "name"=>"Hope Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef860000'), "name"=>"Gladyce Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef870000'), "name"=>"Santa Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef880000'), "name"=>"Alexie Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef890000'), "name"=>"Arvel Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8a0000'), "name"=>"Amalia Keeling DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8b0000'), "name"=>"Miss Cordia Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8c0000'), "name"=>"Oral Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8d0000'), "name"=>"Maritza Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8e0000'), "name"=>"Minnie Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef8f0000'), "name"=>"Mr. Carley Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef900000'), "name"=>"Brandon Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef910000'), "name"=>"Oceane Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef920000'), "name"=>"Maxwell Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef930000'), "name"=>"Marcelo Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef940000'), "name"=>"Oswald Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef950000'), "name"=>"Zola Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef960000'), "name"=>"Floyd Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef970000'), "name"=>"Araceli Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1670ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Redirected to http://test.host/categories/548f547c7735333eef980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1969ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef990000'), "name"=>"Aracely Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1816ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f547c7735333eef990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eef990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eef990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2636ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef9a0000'), "name"=>"Priscilla Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f547c7735333eef9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eef9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4737ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 11ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef9b0000'), "name"=>"Ara Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.5533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4351ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305805624879] runtime: 0.1217ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2732ms Completed 200 OK in 19ms (Views: 18.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef9c0000'), "name"=>"Jayme Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305541464397] runtime: 0.0870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2395ms Completed 200 OK in 10ms (Views: 9.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef9d0000'), "name"=>"Stefanie Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 32ms (Views: 31.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eef9f0000'), "name"=>"Brent Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f547c7735333eef9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eef9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eef9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefa00000'), "name"=>"Lexie Bogisich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eefa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f547c7735333eefa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eefa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f547c7735333eefa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f547c7735333eefa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms Redirected to http://test.host/categories/548f547c7735333eefa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefa10000'), "name"=>"Kieran Kihn", "reference"=>"Lisette Heathcote", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefa20000'), "author_name"=>"Janice Bogisich", "content"=>["Sed soluta quia dicta. Aliquid quia dignissimos. Facere dolorem temporibus ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f547c7735333eefa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f547c7735333eefa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.1689ms Redirected to http://test.host/products/548f547c7735333eefa10000/comments/548f547c7735333eefa30000 Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefa40000'), "name"=>"Otilia O'Conner", "reference"=>"Adrien Kuhlman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefa50000'), "author_name"=>"Zena Aufderhar", "content"=>["Totam quia vitae nisi cum. Inventore voluptates repellat rerum. Quia aut iste voluptatum praesentium perferendis et impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f547c7735333eefa40000", "id"=>"548f547c7735333eefa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4154ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f547c7735333eefa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Redirected to http://test.host/products/548f547c7735333eefa40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefa60000'), "name"=>"Tom Haley PhD", "reference"=>"Cesar Witting IV", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefa70000'), "author_name"=>"Clarissa Corkery", "content"=>["Alias et doloribus dolorum. Doloremque quasi mollitia quidem et consequatur qui. Illo eos dolores odio laboriosam autem nobis eum. Omnis illo aperiam et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f547c7735333eefa60000", "id"=>"548f547c7735333eefa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefa80000'), "name"=>"Walton Schinner Jr.", "reference"=>"Mrs. Sabryna Hane", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefa90000'), "author_name"=>"Phoebe Cummings", "content"=>["Omnis deserunt amet quasi nam molestias incidunt perferendis. Et voluptatem praesentium est et aspernatur doloremque eligendi. Quae autem nam. Recusandae ea ut consequatur. Enim sed non aut velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5005ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f547c7735333eefa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefaa0000'), "name"=>"Rhea Runte", "reference"=>"Mrs. Charity Feest", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefab0000'), "author_name"=>"Miss Lue Stark", "content"=>["Sed voluptas necessitatibus. Sit sed reiciendis deserunt natus id quisquam non. Officiis quisquam in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f547c7735333eefaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefac0000'), "name"=>"Miss Susana Metz", "reference"=>"Trisha Walter", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefad0000'), "author_name"=>"Dorothy Leannon III", "content"=>["Nulla voluptas nesciunt facere ex. Quod atque repellendus est soluta. Rerum eaque nihil. Nemo tempore impedit voluptate voluptas dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f547c7735333eefac0000", "id"=>"548f547c7735333eefad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefae0000'), "name"=>"Ms. Jonathon Gleichner", "reference"=>"Fernando Kemmer", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefaf0000'), "author_name"=>"Clare Runolfsson", "content"=>["Aut quasi explicabo et molestiae enim. In nulla sint placeat qui et enim aut. Blanditiis et officiis quod animi corporis accusamus rerum. Dolore eveniet minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f547c7735333eefae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefb00000'), "name"=>"Dr. Favian Rolfson", "reference"=>"Mr. Tyreek Turner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefb10000'), "author_name"=>"Nash Mayert", "content"=>["Enim molestiae assumenda libero temporibus. Corporis a nesciunt et provident qui expedita nam. Rerum laborum sit ipsum tempora cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f547c7735333eefb00000", "id"=>"548f547c7735333eefb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) 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('548f547c7735333eefb20000'), "name"=>"Nova Kreiger Sr.", "reference"=>"Hershel Fisher", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f547c7735333eefb30000'), "author_name"=>"Zander Hand", "content"=>["Dolores porro consequatur facilis. Fugiat ipsam voluptatem. Id fugit quod sapiente suscipit enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f547c7735333eefb30000", "product_id"=>"548f547c7735333eefb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547c7735333eefb20000'), "comments._id"=>BSON::ObjectId('548f547c7735333eefb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Redirected to http://test.host/products/548f547c7735333eefb20000/comments/548f547c7735333eefb30000 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('548f547c7735333eefb40000'), "firstname"=>"Maxime", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.2899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2893ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms Redirected to http://test.host/admin/clients/548f547c7735333eefb50000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2825ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefb60000'), "firstname"=>"Zola", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3839ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f547c7735333eefb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms 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.2346ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefb70000'), "firstname"=>"Robyn", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f547c7735333eefb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('548f547c7735333eefb80000'), "firstname"=>"Viola", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5431ms 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('548f547c7735333eefb90000'), "firstname"=>"Nathaniel", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('548f547c7735333eefba0000'), "firstname"=>"Theron", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.6908ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f547c7735333eefba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('548f547c7735333eefbb0000'), "firstname"=>"Ebony", "lastname"=>"Kozey"}] 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"=>"548f547c7735333eefbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms Redirected to http://test.host/admin/clients/548f547c7735333eefbb0000 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('548f547c7735333eefbc0000'), "firstname"=>"Alexanne", "lastname"=>"Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2386ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Redirected to http://test.host/clients/548f547c7735333eefbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2024ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefbe0000'), "firstname"=>"Dion", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1494ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f547c7735333eefbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefbe0000')} 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('548f547c7735333eefbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms 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.1795ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f547c7735333eefbf0000'), "firstname"=>"Trisha", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f547c7735333eefbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547c7735333eefbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3948ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('548f547d7735333eefc00000'), "firstname"=>"Tito", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms 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('548f547d7735333eefc10000'), "firstname"=>"Ryleigh", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('548f547d7735333eefc20000'), "firstname"=>"Johnnie", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f547d7735333eefc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547d7735333eefc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3913ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.9ms) 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('548f547d7735333eefc30000'), "firstname"=>"Lizzie", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f547d7735333eefc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547d7735333eefc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f547d7735333eefc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms Redirected to http://test.host/clients/548f547d7735333eefc30000 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('548f547d7735333eefc40000'), "name"=>"Ms. Ursula Mills", "reference"=>"Jerrell Hammes IV", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefc50000'), "firstname"=>"Stanton", "lastname"=>"Turner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5399ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f547d7735333eefc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms Redirected to http://test.host/products/548f547d7735333eefc40000/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('548f547d7735333eefc70000'), "name"=>"Valerie Leuschke", "reference"=>"Mr. Sally Greenfelder", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefc80000'), "firstname"=>"Kavon", "lastname"=>"Wuckert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f547d7735333eefc80000", "product_id"=>"548f547d7735333eefc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 10ms (Views: 6.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefc90000'), "name"=>"Ms. Betty Zulauf", "reference"=>"Stacy Murazik", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefca0000'), "firstname"=>"Helmer", "lastname"=>"Nicolas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.8365ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f547d7735333eefc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefcb0000'), "name"=>"Oceane Larson PhD", "reference"=>"Arianna Wehner", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefcc0000'), "firstname"=>"Kayleigh", "lastname"=>"Funk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f547d7735333eefcc0000", "product_id"=>"548f547d7735333eefcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefcd0000'), "name"=>"Miss Ansel Wintheiser", "reference"=>"Rozella Fritsch", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f547d7735333eefce0000'), "firstname"=>"Michelle", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.8946ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f547d7735333eefce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f547d7735333eefcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Unpermitted parameters: name Redirected to http://test.host/products/548f547d7735333eefcd0000/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('548f547d7735333eefcf0000'), "name"=>"Twila Grady", "reference"=>"Jewell Rohan MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd00000'), "name"=>"Marc Fay", "reference"=>"Jeramie Hettinger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd10000'), "name"=>"Jordy Ward", "reference"=>"Jesse Hoeger", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd20000'), "name"=>"Yasmine Ziemann III", "reference"=>"Kailyn Hamill", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd30000'), "name"=>"Elena Runolfsson I", "reference"=>"Mrs. Pauline Green", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd40000'), "name"=>"Dorris Rogahn", "reference"=>"Arnaldo Botsford", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.0876ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2135ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms Redirected to http://test.host/products/548f547d7735333eefd50000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2563ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd60000'), "name"=>"Clay Hackett", "reference"=>"Mrs. Carolina Parisian", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1664ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f547d7735333eefd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms 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.2279ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd70000'), "name"=>"Mrs. Ramona West", "reference"=>"Dallin Towne Jr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f547d7735333eefd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 9ms (Views: 7.4ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd80000'), "name"=>"Mrs. Lenora Walsh", "reference"=>"Jolie Hamill DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226437677] runtime: 0.1199ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2660ms Completed 200 OK in 20ms (Views: 19.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefd90000'), "name"=>"Kailey Runolfsdottir", "reference"=>"Nicolas Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefda0000'), "name"=>"HelloWorld", "reference"=>"Dr. Sven Ankunding", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefdb0000'), "name"=>"value", "reference"=>"Dr. Derrick Schulist", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2972ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3255ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3604ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1784ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Completed 200 OK in 4ms (Views: 3.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2469ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1602ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1280ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefdc0000'), "name"=>"Layla Flatley", "reference"=>"Agustina Mraz", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280706917592] runtime: 0.1206ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2984ms Completed 200 OK in 44ms (Views: 43.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673511030] runtime: 0.0809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280074752063] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281199467814] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760713091] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243517069] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201315420] runtime: 0.0737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697984702] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823967923] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088504823] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012479325] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557995819] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132828014] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972669294] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280105516438] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274139498] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279279233896] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280662238989] runtime: 0.0754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831370702] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574912976] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279662413153] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280962249798] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458425207] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978050269] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591062018] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280510826717] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223782934] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280537797774] runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279736400317] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016017970] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858720737] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280759873815] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280067878953] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280350031620] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280910777863] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243440363] runtime: 0.0703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281123453527] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281280215556] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643560902] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291796180] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469781640] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387084768] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280662457336] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280379557051] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150710524] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281163836980] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280912219618] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280318366960] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280157957116] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462738064] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279516832775] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885449523] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 34.3247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279617010886] runtime: 0.1184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280193926497] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901372065] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912725172] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413681469] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935293082] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676268899] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308655742] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280806299824] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280233547591] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280363938592] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281046281431] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469744138] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538356180] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734767486] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286216030] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279656793946] runtime: 0.0872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502328698] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279868567178] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492636419] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981398255] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6078ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281023006110] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279237359074] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947766700] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279953288730] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281164543073] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069597104] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326577511] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279287322790] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280179650913] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280815935030] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279745317639] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280407945354] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280854333921] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274136062] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280626991021] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392156690] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280763271760] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874524466] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279696500418] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821659738] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280798029640] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778776484] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280979481619] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154047892] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280415683124] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243618983] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280883999717] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281258282475] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642626100] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323262038] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036603834] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865116587] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587094965] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280835970140] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281119996197] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436299664] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336182191] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721350509] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734339535] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587874470] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279563451853] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280262727733] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279779452635] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715347887] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354672573] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626662050] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206702182] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281156227468] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036280602] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414836358] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938849468] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719778793] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785934636] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653783005] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783143213] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587091684] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921074481] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558220765] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280025010353] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620356952] runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280697460290] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388878791] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280967422453] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279348663782] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280610963373] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668527379] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281203122379] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750890856] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280509466899] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280114527926] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653792257] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095579070] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974432431] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524459707] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719898535] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281262590943] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279630954497] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280105807749] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280240016132] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100073307] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280288259194] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280539219191] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436827830] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838496688] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279269787934] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279932494381] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892021989] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281099107567] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280270882193] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280703766552] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280862501856] runtime: 0.0494ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefdd0000'), "name"=>"Larue Turcotte MD", "reference"=>"Ms. Kathlyn Gibson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3748ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2671ms Completed 200 OK in 7ms (Views: 3.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefde0000'), "name"=>"Joany Swaniawski", "reference"=>"Dr. Holden Maggio", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943921949] runtime: 0.0788ms Completed 200 OK in 5ms (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('548f547d7735333eefdf0000'), "name"=>"Anjali Steuber", "reference"=>"Alayna Larson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f547d7735333eefdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms 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('548f547d7735333eefe00000'), "name"=>"Brenna Purdy V", "reference"=>"Kip Bergnaum II", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefe20000'), "name"=>"Delilah Hintz", "reference"=>"Jacques McDermott", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6128ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f547d7735333eefe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4493ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefe30000'), "name"=>"Kelley Cartwright", "reference"=>"Gianni Reichel", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3118ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefe40000'), "name"=>"Favian Medhurst", "reference"=>"Jolie Wiegand PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1761ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) 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('548f547d7735333eefe50000'), "name"=>"Veronica Thiel", "reference"=>"Mrs. Queen Doyle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.6577ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3473ms 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('548f547d7735333eefe60000'), "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.3318ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefe70000'), "name"=>"Trisha Ullrich", "reference"=>"Uriel Fay", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f547d7735333eefe70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefe70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefe70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms 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('548f547d7735333eefe80000'), "name"=>"Danielle Kunde", "reference"=>"Howard Ferry", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms 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('548f547d7735333eefea0000'), "name"=>"Pansy Considine", "reference"=>"Jody Boehm", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f547d7735333eefea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms 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('548f547d7735333eefeb0000'), "name"=>"Ashlynn Mraz", "reference"=>"Gerard Strosin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f547d7735333eefeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Redirected to http://test.host/products/548f547d7735333eefeb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eefee0000'), "name"=>"Mario Stehr", "reference"=>"Michelle Kutch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eefec0000'), "author_name"=>"Lucile Renner", "content"=>["Quia sint sit autem unde sit quas qui. Et nemo tempora quos sint molestias. Consectetur aliquam voluptatem. Asperiores placeat qui reprehenderit est distinctio id. Tempora accusantium explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eefed0000'), "author_name"=>"Hailee Waelchi", "content"=>["Commodi aperiam maxime adipisci corrupti molestias omnis sunt. Ullam amet enim tenetur. Eligendi eum qui quo sint consectetur voluptas quasi. Similique vel sit. Non repellat molestias voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f547d7735333eefee0000", "comment_id"=>"548f547d7735333eefec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefee0000')} 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('548f547d7735333eefee0000'), "comments._id"=>BSON::ObjectId('548f547d7735333eefec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f547d7735333eefef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms Redirected to http://test.host/products/548f547d7735333eefee0000/comments/548f547d7735333eefec0000/comments/548f547d7735333eefef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eefee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4045ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eeff20000'), "name"=>"Kody Okuneva", "reference"=>"Kristy Lakin", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff00000'), "author_name"=>"Jerod Rempel I", "content"=>["Qui omnis reprehenderit nemo consequatur consectetur autem. Nam laborum enim ut. Consequatur expedita qui."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff10000'), "author_name"=>"Therese O'Conner", "content"=>["Iste consequuntur dolore impedit et dolor. Consequuntur hic veniam facilis quae officiis. Fugiat odit neque voluptas necessitatibus. Est doloribus ut ratione aut sint nostrum. Eveniet repellat veniam dolore tenetur voluptatem velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f547d7735333eeff20000", "comment_id"=>"548f547d7735333eeff00000", "id"=>"548f547d7735333eeff10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4384ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff20000'), "comments._id"=>BSON::ObjectId('548f547d7735333eeff00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f547d7735333eeff10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7430ms Redirected to http://test.host/products/548f547d7735333eeff20000/comments/548f547d7735333eeff00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eeff50000'), "name"=>"Devonte Lehner Jr.", "reference"=>"Heloise Cummerata", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff30000'), "author_name"=>"Leslie Altenwerth", "content"=>["Nostrum est sit asperiores. Provident repellendus eveniet rerum vitae et vero. Perspiciatis fugit sit. Maxime sunt eum sed. Ratione nam iusto suscipit."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff40000'), "author_name"=>"Mrs. Angeline Bins", "content"=>["Ipsa quas facilis hic. Pariatur voluptatem ut. Ut voluptatibus aut. Corporis blanditiis consectetur dolorem officia. Iure velit quasi ab laboriosam blanditiis vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6130ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f547d7735333eeff50000", "comment_id"=>"548f547d7735333eeff30000", "id"=>"548f547d7735333eeff40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eeff80000'), "name"=>"Lori Waelchi", "reference"=>"Mohammed Maggio", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff60000'), "author_name"=>"Godfrey Adams", "content"=>["Quos nostrum quia unde. Ratione itaque reprehenderit quam perspiciatis aut aspernatur. Aut sint vel sapiente veniam. Nostrum vel rerum facilis qui eaque autem. Laborum nobis odio dolores reiciendis porro."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff70000'), "author_name"=>"Joana Hickle II", "content"=>["Deleniti et aut quo deserunt iusto fugit. Nesciunt consequatur labore et libero eveniet. Fuga in laboriosam sed. Et aut doloremque ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f547d7735333eeff80000", "comment_id"=>"548f547d7735333eeff60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eeffb0000'), "name"=>"Beulah Stracke", "reference"=>"Gregory Reinger", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeff90000'), "author_name"=>"Gideon Cormier", "content"=>["Aut rem corporis molestiae eos voluptas molestiae fugit. Voluptas et rem aspernatur. Velit fuga perferendis ipsa exercitationem id ut facilis. Omnis saepe id aliquam vero aut. Quo aut facere dolorem deleniti suscipit nulla possimus."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeffa0000'), "author_name"=>"Zackery Rath", "content"=>["Asperiores est consequuntur repudiandae est. Id et enim in quisquam dignissimos ut. Quia aut dolor quo nemo voluptatem voluptates. Saepe aspernatur consequatur iusto veritatis. Dolorem illo voluptatem corporis aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f547d7735333eeffb0000", "comment_id"=>"548f547d7735333eeff90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eeffe0000'), "name"=>"Mr. Karlee Farrell", "reference"=>"Makenna Gleichner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeffc0000'), "author_name"=>"Genoveva Barton", "content"=>["Mollitia eius autem odit. Sapiente voluptates rerum et quo nihil ut sed. Sunt aut quae odit et consectetur expedita. Mollitia sed provident pariatur nemo deserunt et hic."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eeffd0000'), "author_name"=>"Francesca Brown II", "content"=>["Et sit ab eos et odit. Ut accusamus rerum. Cumque non officiis natus autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f547d7735333eeffe0000", "comment_id"=>"548f547d7735333eeffc0000", "id"=>"548f547d7735333eeffd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eeffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef010100'), "name"=>"Stefan Gerhold", "reference"=>"Janae Collins", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eefff0000'), "author_name"=>"Fleta Schamberger", "content"=>["Vero quia reiciendis ex voluptatibus. Aut aut nesciunt perspiciatis natus inventore expedita sequi. Autem quas rerum dolor. Cumque necessitatibus ab saepe. Cumque et maxime quam."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eef000100'), "author_name"=>"Irving Crist", "content"=>["Et harum expedita atque consequuntur ea deserunt laboriosam. Voluptas rerum architecto eius ad beatae. Ut vel qui exercitationem quisquam incidunt rem. Autem numquam voluptatem molestias rerum rerum laborum est. Voluptatem facere maiores temporibus dignissimos et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.2136ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f547d7735333eef010100", "comment_id"=>"548f547d7735333eefff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eef010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef040100'), "name"=>"Mr. Mauricio Hane", "reference"=>"Austen Kulas", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eef020100'), "author_name"=>"Dr. Stefanie Breitenberg", "content"=>["Est beatae accusamus earum voluptas numquam veritatis. Vel repudiandae et qui animi. Quibusdam consectetur provident soluta maiores ut sint. Ea qui et sed voluptates et."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eef030100'), "author_name"=>"Dexter Kreiger", "content"=>["Blanditiis dolorum pariatur adipisci soluta nisi aut. Dolore corrupti est similique ab voluptas ipsa nisi. Praesentium error libero tenetur nisi vitae ea quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f547d7735333eef040100", "comment_id"=>"548f547d7735333eef020100", "id"=>"548f547d7735333eef030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eef040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef070100'), "name"=>"Marley Ortiz", "reference"=>"Melany Medhurst", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eef050100'), "author_name"=>"Rodger Feeney", "content"=>["Dolore nisi quod excepturi. Est dolor saepe iure eligendi est similique. Doloribus voluptatum maxime porro. Enim nihil est pariatur. Ab occaecati ut molestiae beatae eum in."], "comments"=>[{"_id"=>BSON::ObjectId('548f547d7735333eef060100'), "author_name"=>"Marshall Mohr", "content"=>["Dolorem sit officiis. Qui omnis est nesciunt autem. Inventore qui neque molestiae. Tempora voluptatem nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f547d7735333eef060100", "product_id"=>"548f547d7735333eef070100", "comment_id"=>"548f547d7735333eef050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eef070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3688ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f547d7735333eef070100'), "comments._id"=>BSON::ObjectId('548f547d7735333eef050100'), "comments.0.comments._id"=>BSON::ObjectId('548f547d7735333eef060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6167ms Redirected to http://test.host/products/548f547d7735333eef070100/comments/548f547d7735333eef050100/comments/548f547d7735333eef060100 Completed 302 Found in 9ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef080100'), "firstname"=>"Justus", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1564ms 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('548f547d7735333eef090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms Redirected to http://test.host/users/548f547d7735333eef090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3001ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef0a0100'), "firstname"=>"Barney", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms 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"=>"548f547d7735333eef0a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547d7735333eef0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4271ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547d7735333eef0a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5373ms 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.2513ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef0b0100'), "firstname"=>"Margarette", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f547d7735333eef0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547d7735333eef0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) 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('548f547d7735333eef0c0100'), "firstname"=>"Therese", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5121ms 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.5146ms 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('548f547d7735333eef0d0100'), "firstname"=>"Gay", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef0e0100'), "firstname"=>"Rhett", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f547d7735333eef0e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547d7735333eef0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f547d7735333eef0f0100'), "firstname"=>"Lambert", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f547d7735333eef0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f547d7735333eef0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms Unpermitted parameters: name Redirected to http://test.host/users/548f547d7735333eef0f0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms 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.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.4456ms 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.2967ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms 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.2785ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2000000'), "firstname"=>"Shyann", "lastname"=>"Larson"}] 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=>"administrators", :query=>{}} runtime: 0.2438ms 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('548f54dc77353340f2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms 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.2410ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2020000'), "firstname"=>"Jamison", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"548f54dc77353340f2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 23ms (Views: 21.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2030000'), "firstname"=>"Hester", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2040000'), "firstname"=>"Julio", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"548f54dc77353340f2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2050000'), "firstname"=>"Earnest", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"548f54dc77353340f2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2060000'), "name"=>"Hector Morar", "reference"=>"Raheem Ritchie", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f2070000'), "author_name"=>"Sylvester McLaughlin", "content"=>["Debitis quo et quam neque sit dicta. Quasi similique quis. Vel hic earum maxime consequatur ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.8415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4398ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f54dc77353340f2060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f54dc77353340f2080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms Redirected to http://test.host/admin/products/548f54dc77353340f2060000/comments/548f54dc77353340f2080000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2090000'), "name"=>"Gonzalo Wehner", "reference"=>"Nona Kutch", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f20a0000'), "author_name"=>"Trevion Hilll", "content"=>["Error quis veritatis. Eius aspernatur blanditiis in et. Ab repellat eum aperiam impedit consequuntur aut. Odio sunt ut. Eveniet sed et error perspiciatis distinctio dolores praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"548f54dc77353340f2090000", "id"=>"548f54dc77353340f20a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f54dc77353340f20a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Redirected to http://test.host/admin/products/548f54dc77353340f2090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f20b0000'), "name"=>"Laurel Emard", "reference"=>"Miss Cordie Heathcote", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f20c0000'), "author_name"=>"Mrs. Lynn Williamson", "content"=>["Nihil sunt ratione. Aut aut quae. Eum voluptatem eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"548f54dc77353340f20b0000", "id"=>"548f54dc77353340f20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 10ms (Views: 6.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f20d0000'), "name"=>"Mr. Gardner Kovacek", "reference"=>"Dedric Ruecker", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f20e0000'), "author_name"=>"Linnie Turner PhD", "content"=>["Repellat similique commodi assumenda ipsa. Similique repudiandae et nam. Animi est ea quia necessitatibus in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5768ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"548f54dc77353340f20d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms 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('548f54dc77353340f20f0000'), "name"=>"Ms. Jensen Nicolas", "reference"=>"Ms. Marlon Denesik", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f2100000'), "author_name"=>"Lucio Feil", "content"=>["Blanditiis facilis totam illo enim ut recusandae. Doloribus enim ipsa totam rerum voluptate labore quaerat. Minima sed rerum. Maxime nihil rerum quibusdam. Qui eum quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"548f54dc77353340f20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4069ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2110000'), "name"=>"Kaylee Vandervort DVM", "reference"=>"Lonie Wiegand PhD", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f2120000'), "author_name"=>"Dr. Adela Volkman", "content"=>["Voluptatem accusamus sequi tempora. Dolorum beatae recusandae. Provident enim inventore aut similique velit sit. Adipisci perferendis natus ducimus. Inventore sequi similique sunt officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"548f54dc77353340f2110000", "id"=>"548f54dc77353340f2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4666ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2130000'), "name"=>"Edmond Ward", "reference"=>"Laurie Lowe", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('548f54dc77353340f2140000'), "author_name"=>"London Kulas", "content"=>["Voluptatem omnis veniam. Omnis est perspiciatis esse odit. Sunt et laboriosam rem natus officiis perferendis. Explicabo harum voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f54dc77353340f2140000", "product_id"=>"548f54dc77353340f2130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2130000')} 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('548f54dc77353340f2130000'), "comments._id"=>BSON::ObjectId('548f54dc77353340f2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5550ms Redirected to http://test.host/admin/products/548f54dc77353340f2130000/comments/548f54dc77353340f2140000 Completed 302 Found in 6ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2150000'), "name"=>"Hank Koelpin", "reference"=>"Austin Considine", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f2160000'), "firstname"=>"Nikki", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.6253ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f54dc77353340f2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f2170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms Redirected to http://test.host/admin/products/548f54dc77353340f2150000/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('548f54dc77353340f2180000'), "name"=>"Wiley Adams", "reference"=>"Sylvester Swaniawski", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f2190000'), "firstname"=>"Jayda", "lastname"=>"Jaskolski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"548f54dc77353340f2190000", "product_id"=>"548f54dc77353340f2180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('548f54dc77353340f21a0000'), "name"=>"Dr. Boyd Goldner", "reference"=>"Angie Schmeler", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f21b0000'), "firstname"=>"Marlee", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"548f54dc77353340f21a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f21c0000'), "name"=>"Chelsey Nolan", "reference"=>"Coleman Ruecker I", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f21d0000'), "firstname"=>"Spencer", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"548f54dc77353340f21d0000", "product_id"=>"548f54dc77353340f21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f21e0000'), "name"=>"Erwin Jones", "reference"=>"Delfina Welch", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('548f54dc77353340f21f0000'), "firstname"=>"Lukas", "lastname"=>"Jakubowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"548f54dc77353340f21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f54dc77353340f21e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms Unpermitted parameters: name Redirected to http://test.host/admin/products/548f54dc77353340f21e0000/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('548f54dc77353340f2200000'), "name"=>"Jerrell Becker IV", "reference"=>"Carli Greenfelder", "quantity"=>1}] 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.1750ms 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('548f54dc77353340f2210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms Redirected to http://test.host/admin/products/548f54dc77353340f2210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1861ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2220000'), "name"=>"Sid Kovacek", "reference"=>"Dr. Myron Pacocha", "quantity"=>4}] 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.1744ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"548f54dc77353340f2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.5584ms Redirected to http://test.host/admin/products Completed 302 Found in 32ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3034ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2230000'), "name"=>"Mrs. Emie Roberts", "reference"=>"Rhianna Cormier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"548f54dc77353340f2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2240000'), "name"=>"Blanche Kohler", "reference"=>"Miss Claudie Buckridge", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms 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.5493ms Completed 200 OK in 12ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2250000'), "name"=>"Merle Sauer", "reference"=>"Trent Donnelly", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('548f54dc77353340f2280000'), "name"=>"Kamron Kuhlman II", "reference"=>"Ms. Martine Hickle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"548f54dc77353340f2280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2290000'), "name"=>"Howell Rolfson", "reference"=>"Jerad Mayert V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f54dc77353340f2290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dc77353340f2290000')} 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('548f54dc77353340f2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms Redirected to http://test.host/admin/products/548f54dc77353340f2290000 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('548f54dc77353340f22a0000'), "firstname"=>"Marcelino", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2380ms 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('548f54dc77353340f22b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Redirected to http://test.host/admin/users/548f54dc77353340f22b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2052ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f22c0000'), "firstname"=>"Isabella", "lastname"=>"Cassin"}] 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.1628ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"548f54dc77353340f22c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54dc77353340f22c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54dc77353340f22c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms 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.2540ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f22d0000'), "firstname"=>"Amir", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"548f54dc77353340f22d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54dc77353340f22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) 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('548f54dc77353340f22e0000'), "firstname"=>"Gage", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms 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.3832ms 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('548f54dc77353340f22f0000'), "firstname"=>"Brain", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.2260ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f54dc77353340f2300000'), "firstname"=>"Isaias", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"548f54dc77353340f2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54dc77353340f2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 38ms (Views: 36.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2310000'), "firstname"=>"Derick", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f54dc77353340f2310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54dc77353340f2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms Unpermitted parameters: name Redirected to http://test.host/admin/users/548f54dc77353340f2310000 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('548f54dc77353340f2320000'), "firstname"=>"Myra", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2065ms 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('548f54dc77353340f2330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms 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.1911ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2340000'), "firstname"=>"Bruce", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"548f54dc77353340f2340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.8ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2350000'), "firstname"=>"Ole", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2360000'), "firstname"=>"Lisa", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"548f54dc77353340f2360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2370000'), "firstname"=>"Lyric", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"548f54dc77353340f2370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('548f54dc77353340f2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2380000'), "name"=>"Dell Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2390000'), "name"=>"Fred Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23a0000'), "name"=>"Mozell Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23b0000'), "name"=>"Mr. Marcellus Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23c0000'), "name"=>"Tom Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23d0000'), "name"=>"Pamela Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23e0000'), "name"=>"Chesley Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f23f0000'), "name"=>"Hannah Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2400000'), "name"=>"Horace Heaney I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2410000'), "name"=>"Lindsey Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2420000'), "name"=>"Miss Bryce Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2430000'), "name"=>"Joannie Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2440000'), "name"=>"Chadd Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2450000'), "name"=>"Mr. Joelle Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2460000'), "name"=>"Miss Alexandrea Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2470000'), "name"=>"Howell Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2480000'), "name"=>"Deonte Herzog MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2490000'), "name"=>"Maxine Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24a0000'), "name"=>"Wilford Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24b0000'), "name"=>"Kayden Dietrich III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24c0000'), "name"=>"Marielle Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24d0000'), "name"=>"Miss Esperanza Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24e0000'), "name"=>"Kirk Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f24f0000'), "name"=>"Jessie Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f24f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2500000'), "name"=>"Dovie Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2510000'), "name"=>"Miss Larry Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2520000'), "name"=>"Dr. Zita Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2530000'), "name"=>"Pamela Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2540000'), "name"=>"Elvis Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2550000'), "name"=>"Dakota Durgan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2560000'), "name"=>"Teagan Hickle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2570000'), "name"=>"Milan Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2580000'), "name"=>"Miss Kattie Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2590000'), "name"=>"Miss Eloisa Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25a0000'), "name"=>"Keshaun Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1978ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25b0000'), "name"=>"Ahmed Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25c0000'), "name"=>"Sydnee Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25d0000'), "name"=>"Delia Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25e0000'), "name"=>"Estell Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f25f0000'), "name"=>"Faye Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f25f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2600000'), "name"=>"Sheridan Strosin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2610000'), "name"=>"Clinton Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2620000'), "name"=>"Kaylin Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2630000'), "name"=>"Hayden Olson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2640000'), "name"=>"Merl Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2650000'), "name"=>"Amalia Lebsack DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2660000'), "name"=>"Susan Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2670000'), "name"=>"Jadyn Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2680000'), "name"=>"Ariane Stanton II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2690000'), "name"=>"Marietta Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26a0000'), "name"=>"Emmitt Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f26a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26b0000'), "name"=>"Zachariah Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f26b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26c0000'), "name"=>"Samanta Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f26c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26d0000'), "name"=>"Ms. Korbin Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f26d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26e0000'), "name"=>"Hoyt McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f26e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f26f0000'), "name"=>"Bethany Shields DDS"}] 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={"category_id"=>BSON::ObjectId('548f54dc77353340f26f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2700000'), "name"=>"Dr. Rosalia Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2710000'), "name"=>"Marjorie Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2720000'), "name"=>"Pearl Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2730000'), "name"=>"Darrel Sanford DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2740000'), "name"=>"Wilfrid Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2750000'), "name"=>"Gladyce Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2760000'), "name"=>"Rosemary Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2770000'), "name"=>"Jules Kiehn II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2780000'), "name"=>"Freda Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2790000'), "name"=>"Abdullah Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27a0000'), "name"=>"Barton Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27b0000'), "name"=>"Ambrose Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27c0000'), "name"=>"Mrs. Ocie Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27d0000'), "name"=>"Bernie Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27e0000'), "name"=>"Gustave Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f27f0000'), "name"=>"Edison Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f27f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2800000'), "name"=>"Ara Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2810000'), "name"=>"Margaret Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2820000'), "name"=>"Favian O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2830000'), "name"=>"Krystal Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2840000'), "name"=>"Sheila Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2850000'), "name"=>"Ms. Marcus Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2860000'), "name"=>"Linda Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2870000'), "name"=>"Neoma Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dc77353340f2880000'), "name"=>"Ms. Elvis Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dc77353340f2880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2890000'), "name"=>"Emma Pollich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28a0000'), "name"=>"Caterina Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28b0000'), "name"=>"Claud Ullrich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28c0000'), "name"=>"Rey Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28d0000'), "name"=>"Oma Beahan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28e0000'), "name"=>"Mrs. Thurman Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f28f0000'), "name"=>"Sasha Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f28f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2900000'), "name"=>"Raymundo Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2910000'), "name"=>"Brennon Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2920000'), "name"=>"Susanna Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2930000'), "name"=>"Albertha Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2940000'), "name"=>"Kelsie Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2950000'), "name"=>"Gussie Reinger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2960000'), "name"=>"Lawrence White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2970000'), "name"=>"Harmon Gutmann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2005ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms Redirected to http://test.host/categories/548f54dd77353340f2980000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2022ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2990000'), "name"=>"Willy Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1522ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"548f54dd77353340f2990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f2990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2619ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f29a0000'), "name"=>"Raquel Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"548f54dd77353340f29a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f29b0000'), "name"=>"Ms. Yasmeen Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306102888265] runtime: 0.1142ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2289ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f29c0000'), "name"=>"Mr. Eloise Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306693130377] runtime: 0.1107ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2629ms Completed 200 OK in 9ms (Views: 8.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f29d0000'), "name"=>"Patience Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 32ms (Views: 31.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f29f0000'), "name"=>"Joaquin Funk DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"548f54dd77353340f29f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2a00000'), "name"=>"Nettie Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"548f54dd77353340f2a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('548f54dd77353340f2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms Redirected to http://test.host/categories/548f54dd77353340f2a00000 Completed 302 Found in 7ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2a10000'), "name"=>"Miss Lindsay Walter", "reference"=>"Ines Kiehn", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2a20000'), "author_name"=>"Mr. Madeline Lesch", "content"=>["Consequatur et molestias et quisquam cumque iure facere. Inventore laudantium labore. Sint reiciendis est voluptas qui ipsam facilis voluptatem. Expedita illo laborum. Pariatur autem reprehenderit atque suscipit similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f54dd77353340f2a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 33.4978ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6128ms Redirected to http://test.host/products/548f54dd77353340f2a10000/comments/548f54dd77353340f2a30000 Completed 302 Found in 38ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2a40000'), "name"=>"Miss Hank Cormier", "reference"=>"Justus Jaskolski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2a50000'), "author_name"=>"Cynthia Kertzmann", "content"=>["Ea doloremque aspernatur aut dolor in ad. Dolor facere dignissimos eum ipsa et. Occaecati velit consequatur eum atque illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"548f54dd77353340f2a40000", "id"=>"548f54dd77353340f2a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms Redirected to http://test.host/products/548f54dd77353340f2a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2a60000'), "name"=>"Rico Renner", "reference"=>"Ms. Rosa Bradtke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2a70000'), "author_name"=>"Assunta McCullough II", "content"=>["Consequatur non harum rem. Dolor iste nemo quam molestias. Consequatur harum eius nostrum blanditiis culpa id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"548f54dd77353340f2a60000", "id"=>"548f54dd77353340f2a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2a80000'), "name"=>"Mrs. Cathrine Boyle", "reference"=>"Kenny Schuppe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2a90000'), "author_name"=>"Easton Bruen", "content"=>["Sed ad qui. Modi vitae eum quia. Consequatur consequatur autem beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"548f54dd77353340f2a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2aa0000'), "name"=>"Dr. Cayla Harvey", "reference"=>"Kendra Dickens", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2ab0000'), "author_name"=>"Patsy Lueilwitz Jr.", "content"=>["Explicabo eveniet qui eius omnis vel. Non officiis dolorem est odit. Provident ab dolor quaerat rerum et minima. Consequatur soluta pariatur necessitatibus suscipit vitae non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5702ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"548f54dd77353340f2aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2ac0000'), "name"=>"Karl Davis", "reference"=>"Cheyenne Heidenreich", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2ad0000'), "author_name"=>"Dovie Heaney", "content"=>["Et quo doloremque est voluptatem. Iusto vitae quo officiis adipisci. Ut ut velit omnis ea. Recusandae doloribus atque eaque autem dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"548f54dd77353340f2ac0000", "id"=>"548f54dd77353340f2ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2ae0000'), "name"=>"Keith Friesen", "reference"=>"Edwardo Kiehn Sr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2af0000'), "author_name"=>"Leonor Jacobi", "content"=>["Ut consequatur facilis quis aut nihil enim. Exercitationem consectetur dolorem et optio. Voluptate omnis officiis non. Cumque aliquam accusantium officia molestiae facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7486ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"548f54dd77353340f2ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2b00000'), "name"=>"Kaylie Mraz", "reference"=>"Arno Weimann", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2b10000'), "author_name"=>"Adan Reynolds", "content"=>["Ullam accusantium qui quia. Atque doloremque cupiditate omnis minima sint eius. Pariatur libero non consequatur. Quia atque mollitia rem soluta suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5554ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"548f54dd77353340f2b00000", "id"=>"548f54dd77353340f2b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) 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('548f54dd77353340f2b20000'), "name"=>"Mrs. Darion Hoeger", "reference"=>"Miss Sherwood Kuhlman", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54dd77353340f2b30000'), "author_name"=>"Mrs. Taya Barton", "content"=>["Perspiciatis sunt earum qui ut pariatur. Asperiores alias cumque est autem impedit est aperiam. Ea quos error possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5445ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f54dd77353340f2b30000", "product_id"=>"548f54dd77353340f2b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2b20000')} 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('548f54dd77353340f2b20000'), "comments._id"=>BSON::ObjectId('548f54dd77353340f2b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6442ms Redirected to http://test.host/products/548f54dd77353340f2b20000/comments/548f54dd77353340f2b30000 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('548f54dd77353340f2b40000'), "firstname"=>"Irving", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2286ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms Redirected to http://test.host/admin/clients/548f54dd77353340f2b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2456ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2b60000'), "firstname"=>"Casper", "lastname"=>"Casper"}] 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=>"clients", :query=>{}} runtime: 0.1958ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f54dd77353340f2b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms 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.1651ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2b70000'), "firstname"=>"Lambert", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f54dd77353340f2b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms Rendered /home/geoffroy/projects/crealettres/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('548f54dd77353340f2b80000'), "firstname"=>"Ronaldo", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5151ms Processing by Iord::GenericController#index as HTML MOPED: 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: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2b90000'), "firstname"=>"Silas", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5677ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) 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('548f54dd77353340f2ba0000'), "firstname"=>"Eleanore", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f54dd77353340f2ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) 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('548f54dd77353340f2bb0000'), "firstname"=>"Rosalia", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f54dd77353340f2bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2bb0000')} 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('548f54dd77353340f2bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Redirected to http://test.host/admin/clients/548f54dd77353340f2bb0000 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('548f54dd77353340f2bc0000'), "firstname"=>"Taurean", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1597ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Redirected to http://test.host/clients/548f54dd77353340f2bd0000 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('548f54dd77353340f2be0000'), "firstname"=>"Roger", "lastname"=>"Bahringer"}] 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.1564ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"548f54dd77353340f2be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2be0000')} 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('548f54dd77353340f2be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms 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.1721ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2bf0000'), "firstname"=>"Ceasar", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"548f54dd77353340f2bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms Rendered /home/geoffroy/projects/crealettres/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('548f54dd77353340f2c00000'), "firstname"=>"Twila", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms Processing by Iord::GenericController#index as HTML MOPED: 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.9ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2c10000'), "firstname"=>"Susan", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('548f54dd77353340f2c20000'), "firstname"=>"Janick", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"548f54dd77353340f2c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.9ms) 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('548f54dd77353340f2c30000'), "firstname"=>"Noemi", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"548f54dd77353340f2c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms Redirected to http://test.host/clients/548f54dd77353340f2c30000 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('548f54dd77353340f2c40000'), "name"=>"Orin Barrows", "reference"=>"Dallin Will", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2c50000'), "firstname"=>"Reina", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"548f54dd77353340f2c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c40000')} 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('548f54dd77353340f2c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5476ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Redirected to http://test.host/products/548f54dd77353340f2c40000/manager Completed 302 Found in 9ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2c70000'), "name"=>"Kelley Welch", "reference"=>"Lew Johnston", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2c80000'), "firstname"=>"Chance", "lastname"=>"Kunze"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"548f54dd77353340f2c80000", "product_id"=>"548f54dd77353340f2c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2c90000'), "name"=>"Wilfred Schimmel", "reference"=>"Hoyt Fay", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2ca0000'), "firstname"=>"Kianna", "lastname"=>"Boyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"548f54dd77353340f2c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2cb0000'), "name"=>"Kraig Cassin DVM", "reference"=>"Ms. Janis Stiedemann", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2cc0000'), "firstname"=>"Maxwell", "lastname"=>"Dietrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms Processing by ManagersController#show as HTML Parameters: {"id"=>"548f54dd77353340f2cc0000", "product_id"=>"548f54dd77353340f2cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('548f54dd77353340f2cd0000'), "name"=>"Hester Labadie DDS", "reference"=>"Fidel Rempel", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('548f54dd77353340f2ce0000'), "firstname"=>"Anabelle", "lastname"=>"Swift"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms Processing by ManagersController#update as HTML Parameters: {"id"=>"548f54dd77353340f2ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"548f54dd77353340f2cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms Unpermitted parameters: name Redirected to http://test.host/products/548f54dd77353340f2cd0000/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('548f54dd77353340f2cf0000'), "name"=>"Beth Goldner", "reference"=>"Pasquale Gusikowski I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d00000'), "name"=>"Asia Gerlach", "reference"=>"Darian Schumm", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d10000'), "name"=>"Elvera Bergnaum II", "reference"=>"Gretchen Abernathy I", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d20000'), "name"=>"Wendy Leffler", "reference"=>"Katrine Daugherty", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d30000'), "name"=>"Keon Nicolas IV", "reference"=>"Dr. Friedrich Ratke", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d40000'), "name"=>"Garth Jacobi", "reference"=>"Stone Wyman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1534ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Redirected to http://test.host/products/548f54dd77353340f2d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2290ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d60000'), "name"=>"Johanna Deckow", "reference"=>"Ms. Berniece Hills", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2501ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"548f54dd77353340f2d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2d60000')} 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={"_id"=>BSON::ObjectId('548f54dd77353340f2d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms 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.2075ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d70000'), "name"=>"Brennon Feil", "reference"=>"Addie Terry", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"548f54dd77353340f2d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d80000'), "name"=>"Lenora Lueilwitz", "reference"=>"Jayden Hane", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280332440947] runtime: 0.1140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2137ms Completed 200 OK in 19ms (Views: 18.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2d90000'), "name"=>"Regan Gibson", "reference"=>"Rosanna Leannon", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2da0000'), "name"=>"HelloWorld", "reference"=>"Ms. Arlene Beatty", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2db0000'), "name"=>"value", "reference"=>"Gabriella Hickle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3616ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2267ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2023ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1452ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2854ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2628ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1546ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1250ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2dc0000'), "name"=>"Kenna Walsh", "reference"=>"Cordell Kling", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659770520] runtime: 0.1052ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2130ms Completed 200 OK in 44ms (Views: 43.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279896797299] runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280196751081] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969650743] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280745708670] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280364091922] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296236109] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497031486] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467840342] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279411744507] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279609099325] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903623564] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630249234] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280039476] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280679122330] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281183844461] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279986652371] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300376919] runtime: 0.0867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279630163009] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132540116] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486958402] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280388230266] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280754475665] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708518157] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062778491] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279660313] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068174957] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949233074] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281111537279] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379253224] runtime: 0.0907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968724048] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280035357140] runtime: 0.0864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279940994968] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403785630] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279638558673] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280973800364] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211334921] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331614233] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531451941] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251418885] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279962594277] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279474916910] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043099427] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051455474] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147170207] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813411514] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280178284519] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187039469] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701799116] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280155300554] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280977315859] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280610678467] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254956057] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041974178] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280054145736] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279303856037] runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280583741825] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279386837721] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279195689195] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087354066] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279585855289] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279487568105] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399037218] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280881526379] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018859959] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087384078] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280640114310] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098751661] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719359354] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343416844] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501446220] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945571553] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279761473997] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280485519571] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281285979486] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280746607167] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908969330] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072971042] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921778121] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780688459] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281127794872] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388201783] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280956292363] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280784429853] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130705372] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908957650] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280973425315] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191885407] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248223038] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280389937268] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480924900] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281172974167] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280808324036] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298106071] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161747842] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280357864614] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279436325741] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486670466] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154021515] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281063795158] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693857846] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280569454947] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486994633] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925145420] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279637265488] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351015807] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280929101019] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281109740395] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279589516761] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942456647] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034429839] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114759769] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280237578826] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280864328052] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280738312460] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842360550] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645887514] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280259125182] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922996852] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281115619620] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280364299761] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423930752] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697941322] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280030966614] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280948368638] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945757333] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018410414] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281163584763] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314409157] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279777172046] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502609589] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279290979242] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534925980] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280581846109] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279404791577] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280709276282] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281060519990] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262051239] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280802450971] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280656060471] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279995754893] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.5236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481571208] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805919189] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280258676045] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279452322966] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280647328362] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280621611668] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865659263] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217038972] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280202753566] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707360380] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279881165466] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574556986] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280230602652] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854867335] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280252022643] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738379938] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311732815] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653493231] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122846323] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399172008] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280291242] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601023758] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308035555] runtime: 0.0491ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2dd0000'), "name"=>"Wayne Erdman", "reference"=>"Hannah Hessel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1713ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2de0000'), "name"=>"Miss Angie Rempel", "reference"=>"Miss Mireille Schneider", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666841209] runtime: 0.0755ms Completed 200 OK in 5ms (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('548f54dd77353340f2df0000'), "name"=>"Rosemarie Bahringer", "reference"=>"Miss Cristian Kessler", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by ProductsController#show as JSON Parameters: {"id"=>"548f54dd77353340f2df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms 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('548f54dd77353340f2e00000'), "name"=>"Ethelyn Stoltenberg", "reference"=>"Miss Cielo Goyette", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2e20000'), "name"=>"Doug Morar", "reference"=>"Mertie Walsh", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by ProductsController#show as HTML Parameters: {"id"=>"548f54dd77353340f2e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2e30000'), "name"=>"Daren Ankunding", "reference"=>"Estell Armstrong", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 8ms (Views: 5.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2e40000'), "name"=>"Coleman Stracke", "reference"=>"Katelyn Osinski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1856ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2e50000'), "name"=>"Ms. Helmer Zieme", "reference"=>"Hayden Skiles", "quantity"=>8}] 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.1623ms 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('548f54dd77353340f2e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1648ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54dd77353340f2e70000'), "name"=>"Rusty Hermann", "reference"=>"Dr. Mae Collier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"548f54dd77353340f2e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54dd77353340f2e70000')} 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('548f54dd77353340f2e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms 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('548f54dd77353340f2e80000'), "name"=>"Allison Kozey", "reference"=>"Vernice Hettinger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms 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('548f54de77353340f2ea0000'), "name"=>"Augustus Vandervort", "reference"=>"Vicky Price", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5519ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f54de77353340f2ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms 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('548f54de77353340f2eb0000'), "name"=>"Evelyn Heller MD", "reference"=>"Miss Ryleigh Lindgren", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"548f54de77353340f2eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2eb0000')} 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('548f54de77353340f2eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms Redirected to http://test.host/products/548f54de77353340f2eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2ee0000'), "name"=>"Reanna Bailey", "reference"=>"Otilia Batz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2ec0000'), "author_name"=>"Bernita Jacobi", "content"=>["Deleniti et ea dolorem illo totam quo. Omnis accusantium aut. Iusto autem iure dicta aut doloremque. Pariatur doloribus enim labore fugiat inventore eum. Expedita amet ut."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2ed0000'), "author_name"=>"Heaven Rohan", "content"=>["Totam velit accusamus voluptatum consequatur et. Sed nesciunt reprehenderit eaque. Placeat molestiae voluptate ratione debitis repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1947ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"548f54de77353340f2ee0000", "comment_id"=>"548f54de77353340f2ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ee0000'), "comments._id"=>BSON::ObjectId('548f54de77353340f2ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f54de77353340f2ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Redirected to http://test.host/products/548f54de77353340f2ee0000/comments/548f54de77353340f2ec0000/comments/548f54de77353340f2ef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2f20000'), "name"=>"Garland Hermann", "reference"=>"Ms. Leland Kunze", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f00000'), "author_name"=>"Alexandre Kris", "content"=>["Est est voluptatem voluptatem dolorum eos excepturi. Consequatur deleniti modi tenetur quia veritatis odit iusto. Dolor consequatur maiores animi est. Dolorem omnis et fuga quia. Qui temporibus sed occaecati officiis est similique earum."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f10000'), "author_name"=>"Jacinto Davis I", "content"=>["Laudantium blanditiis ut voluptatum sint. Odit accusamus et repellendus quia asperiores qui quia. Doloremque unde aspernatur consequuntur accusantium omnis enim. Sunt et exercitationem aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"548f54de77353340f2f20000", "comment_id"=>"548f54de77353340f2f00000", "id"=>"548f54de77353340f2f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f20000'), "comments._id"=>BSON::ObjectId('548f54de77353340f2f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('548f54de77353340f2f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms Redirected to http://test.host/products/548f54de77353340f2f20000/comments/548f54de77353340f2f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2f50000'), "name"=>"Harry Cremin", "reference"=>"Marcus Kutch", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f30000'), "author_name"=>"Amira Schuppe", "content"=>["Nisi autem nemo voluptates excepturi deserunt occaecati animi. Explicabo accusantium occaecati. Deserunt in dignissimos esse. Quasi ut voluptatibus est praesentium. Laborum voluptatem ut."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f40000'), "author_name"=>"Garrison Lang Jr.", "content"=>["Quibusdam natus aut. Maxime mollitia modi magnam dolorem totam quibusdam. Voluptas debitis eum quo aut suscipit quis. Eum et ab nam iste aut dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"548f54de77353340f2f50000", "comment_id"=>"548f54de77353340f2f30000", "id"=>"548f54de77353340f2f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2f80000'), "name"=>"Ethan Murphy", "reference"=>"Merritt Graham DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f60000'), "author_name"=>"Seth Barrows", "content"=>["Aut optio porro consequatur pariatur alias. Aliquam sed illo blanditiis suscipit. Quo officia nesciunt omnis. Corrupti vero dolores nam quidem voluptatum id. Ducimus aut quas."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f70000'), "author_name"=>"Torey Pfannerstill", "content"=>["Et quibusdam minima omnis voluptas error tempore veniam. Nulla facilis officia. Modi minima nulla molestiae neque fugiat animi in. Autem sunt sed consequuntur illo. Rerum quos distinctio minus sed repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"548f54de77353340f2f80000", "comment_id"=>"548f54de77353340f2f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2fb0000'), "name"=>"Dallas Schultz IV", "reference"=>"Miss Danielle Hackett", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2f90000'), "author_name"=>"Adelbert Volkman IV", "content"=>["Voluptate fuga quos commodi alias. Occaecati itaque quas eum porro ipsum et. Illo quia autem deserunt mollitia dolores tempora. Voluptatum minus occaecati neque nisi dolor molestiae. Numquam nobis nam corporis."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2fa0000'), "author_name"=>"Mrs. Emilio Spencer", "content"=>["Voluptatibus et nesciunt maiores pariatur officia sit voluptatum. Modi hic velit nobis maiores molestiae possimus quod. Nihil magni facilis vel ea maxime. Corporis aut consequuntur non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"548f54de77353340f2fb0000", "comment_id"=>"548f54de77353340f2f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3415ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2fe0000'), "name"=>"Macey Murphy", "reference"=>"Dr. Gerard Skiles", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2fc0000'), "author_name"=>"Neha Schumm", "content"=>["Blanditiis officiis illo. Inventore fuga adipisci iure deleniti sit. Tempore reprehenderit esse nihil eum."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2fd0000'), "author_name"=>"Candelario Glover", "content"=>["A vel omnis eaque voluptas eum sequi. Unde vero illum adipisci voluptatibus itaque quae. Eum incidunt adipisci nostrum maxime ut sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"548f54de77353340f2fe0000", "comment_id"=>"548f54de77353340f2fc0000", "id"=>"548f54de77353340f2fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2010100'), "name"=>"Tyler Schumm II", "reference"=>"Justina Zieme", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2ff0000'), "author_name"=>"Adolf Blanda", "content"=>["Dolores ducimus aut reiciendis exercitationem natus. Enim molestias culpa laudantium vitae et. Culpa nulla dignissimos alias similique quia harum magni."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2000100'), "author_name"=>"Jalon Walter", "content"=>["Aliquam quam modi quod possimus. Cum magnam dolorem blanditiis. Ipsum fugiat eligendi. Et iure magni recusandae ipsa possimus. Qui est rerum voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"548f54de77353340f2010100", "comment_id"=>"548f54de77353340f2ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2040100'), "name"=>"Josephine Jerde", "reference"=>"Miss Fernando Ward", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2020100'), "author_name"=>"Fredrick Macejkovic", "content"=>["Accusantium aspernatur illum. Quae nobis ut ipsa ut autem. Hic corporis neque. Voluptatem distinctio excepturi et ut soluta debitis."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2030100'), "author_name"=>"Ruthe Marquardt Sr.", "content"=>["Placeat culpa qui. Pariatur eveniet autem repellat iusto. Architecto vero neque repudiandae temporibus. Nostrum consequuntur et quasi rerum repellendus. Sit natus beatae amet incidunt vitae molestias ex."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"548f54de77353340f2040100", "comment_id"=>"548f54de77353340f2020100", "id"=>"548f54de77353340f2030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('548f54de77353340f2070100'), "name"=>"Bartholome Maggio MD", "reference"=>"Dr. Ceasar Stoltenberg", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2050100'), "author_name"=>"Mr. Cassie Weissnat", "content"=>["Ut tenetur ratione non qui. Sapiente voluptatem optio ut aliquid quos nisi. Fugiat quo delectus doloribus excepturi iste."], "comments"=>[{"_id"=>BSON::ObjectId('548f54de77353340f2060100'), "author_name"=>"Brent Daugherty", "content"=>["Adipisci ut aliquam nulla est quaerat quae. Minima porro aut. Aut consectetur sed aliquid aut dignissimos amet deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"548f54de77353340f2060100", "product_id"=>"548f54de77353340f2070100", "comment_id"=>"548f54de77353340f2050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('548f54de77353340f2070100'), "comments._id"=>BSON::ObjectId('548f54de77353340f2050100'), "comments.0.comments._id"=>BSON::ObjectId('548f54de77353340f2060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms Redirected to http://test.host/products/548f54de77353340f2070100/comments/548f54de77353340f2050100/comments/548f54de77353340f2060100 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('548f54de77353340f2080100'), "firstname"=>"Kendrick", "lastname"=>"Kirlin"}] 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.1342ms 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('548f54de77353340f2090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Redirected to http://test.host/users/548f54de77353340f2090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1683ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54de77353340f20a0100'), "firstname"=>"Jose", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2280ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"548f54de77353340f20a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54de77353340f20a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54de77353340f20a0100')} 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.2299ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54de77353340f20b0100'), "firstname"=>"Idella", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms Processing by UsersController#edit as HTML Parameters: {"id"=>"548f54de77353340f20b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54de77353340f20b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 44ms (Views: 42.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54de77353340f20c0100'), "firstname"=>"Sylvia", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8362ms 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.4200ms Completed 200 OK in 9ms (Views: 8.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('548f54de77353340f20d0100'), "firstname"=>"Taurean", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (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('548f54de77353340f20e0100'), "firstname"=>"Tressa", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by UsersController#show as HTML Parameters: {"id"=>"548f54de77353340f20e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54de77353340f20e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('548f54de77353340f20f0100'), "firstname"=>"Reta", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"548f54de77353340f20f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('548f54de77353340f20f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Unpermitted parameters: name Redirected to http://test.host/users/548f54de77353340f20f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7743ms 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.6265ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.9133ms 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.9189ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7622ms 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.5218ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10000000'), "firstname"=>"Veda", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2233ms 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('54901a5b7735330c10010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms 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.2580ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10020000'), "firstname"=>"Yvonne", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901a5b7735330c10020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5b7735330c10020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (31.7ms) Completed 200 OK in 111ms (Views: 109.5ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10030000'), "firstname"=>"Katlynn", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8509ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 9ms (Views: 7.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10040000'), "firstname"=>"Alysa", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7225ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901a5b7735330c10040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5b7735330c10040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5481ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.1ms) Completed 200 OK in 9ms (Views: 6.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10050000'), "firstname"=>"Valerie", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6304ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901a5b7735330c10050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5b7735330c10050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4937ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5b7735330c10060000'), "name"=>"Antonette Heaney II", "reference"=>"Marisa Howell", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a5b7735330c10070000'), "author_name"=>"Leonora Emmerich", "content"=>["Provident repellat voluptas aut neque earum a ipsa. Iusto impedit et non veniam quasi ab voluptatum. Ullam suscipit veniam nisi vitae. Est quas et fugit est. Ab consequatur est dolor vel rerum nulla neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5b7735330c10060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a5b7735330c10060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5b7735330c10060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5b7735330c10060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a5b7735330c10080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6323ms Redirected to http://test.host/admin/products/54901a5b7735330c10060000/comments/54901a5b7735330c10080000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5b7735330c10060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4528ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10090000'), "name"=>"Erling Roberts", "reference"=>"Dr. Johnny Fahey", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c100a0000'), "author_name"=>"Eula Leuschke Jr.", "content"=>["Accusamus iste et est debitis quam. Molestiae rerum nulla velit. Qui asperiores impedit. Qui et cupiditate deserunt consequatur beatae quisquam placeat. Ut asperiores ad in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901a5c7735330c10090000", "id"=>"54901a5c7735330c100a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a5c7735330c100a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms Redirected to http://test.host/admin/products/54901a5c7735330c10090000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c100b0000'), "name"=>"Dariana Bernhard Sr.", "reference"=>"Maggie Trantow", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c100c0000'), "author_name"=>"Mrs. Osbaldo Abbott", "content"=>["Ex placeat in delectus minima autem. Voluptatibus perspiciatis nisi dolorem ea. Error eum est officiis eos. Assumenda autem et iste accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901a5c7735330c100b0000", "id"=>"54901a5c7735330c100c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c100b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4336ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 14ms (Views: 10.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c100d0000'), "name"=>"Ms. Noah Jacobs", "reference"=>"Vincenza Gerlach", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c100e0000'), "author_name"=>"Zachery Green", "content"=>["Laborum quia nihil. Ipsum voluptas quis perferendis error. Ab non numquam facilis rerum ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6428ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901a5c7735330c100d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c100d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3961ms Completed 200 OK in 8ms (Views: 5.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c100f0000'), "name"=>"Gerhard Rohan", "reference"=>"Hildegard Rowe", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10100000'), "author_name"=>"Ms. Jayce Thompson", "content"=>["Quod et corporis quaerat omnis. Ea quas enim doloribus ut quibusdam omnis consequatur. Consequatur architecto quibusdam quod aliquid quasi. Facere dolorem voluptas. Fugiat dolor nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4870ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901a5c7735330c100f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c100f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 5.4ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10110000'), "name"=>"Tia Feil", "reference"=>"Glennie Bernhard PhD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10120000'), "author_name"=>"Simeon Schroeder", "content"=>["Voluptatem qui officiis rerum. Sed natus dolorem ab ullam ut doloremque repudiandae. Ut quas minima sed quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901a5c7735330c10110000", "id"=>"54901a5c7735330c10120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) Completed 200 OK in 7ms (Views: 4.3ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10130000'), "name"=>"Mozell Kris Sr.", "reference"=>"Liam Prohaska", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10140000'), "author_name"=>"Ms. Madaline Zemlak", "content"=>["Sint qui rerum ut. Architecto minus et voluptatem earum. Consequatur rerum autem. Dolor fuga tempora doloribus necessitatibus non facilis. Corporis impedit excepturi nesciunt architecto quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a5c7735330c10140000", "product_id"=>"54901a5c7735330c10130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10130000')} 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('54901a5c7735330c10130000'), "comments._id"=>BSON::ObjectId('54901a5c7735330c10140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms Redirected to http://test.host/admin/products/54901a5c7735330c10130000/comments/54901a5c7735330c10140000 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('54901a5c7735330c10150000'), "name"=>"Valerie Kozey DVM", "reference"=>"Miss Houston Bergnaum", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c10160000'), "firstname"=>"Sonia", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901a5c7735330c10150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c10170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Redirected to http://test.host/admin/products/54901a5c7735330c10150000/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('54901a5c7735330c10180000'), "name"=>"Kacie Koelpin", "reference"=>"Marilie Ryan", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c10190000'), "firstname"=>"Tristian", "lastname"=>"Keebler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901a5c7735330c10190000", "product_id"=>"54901a5c7735330c10180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c101a0000'), "name"=>"Renee Corkery", "reference"=>"Derek Beahan", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c101b0000'), "firstname"=>"Jeromy", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2886ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901a5c7735330c101a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c101a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c101c0000'), "name"=>"Phyllis Nicolas", "reference"=>"Daisy Renner", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c101d0000'), "firstname"=>"Cayla", "lastname"=>"Purdy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901a5c7735330c101d0000", "product_id"=>"54901a5c7735330c101c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c101c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54901a5c7735330c101e0000'), "name"=>"Adelia Jerde", "reference"=>"Beverly Kuhn", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901a5c7735330c101f0000'), "firstname"=>"Violet", "lastname"=>"O'Conner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901a5c7735330c101f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901a5c7735330c101e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c101e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901a5c7735330c101e0000/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('54901a5c7735330c10200000'), "name"=>"Ms. Benny Armstrong", "reference"=>"Damien Reinger IV", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2048ms 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('54901a5c7735330c10210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms Redirected to http://test.host/admin/products/54901a5c7735330c10210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2285ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10220000'), "name"=>"Chandler Cummings", "reference"=>"Katelin Donnelly", "quantity"=>7}] 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.1922ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901a5c7735330c10220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10220000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2170ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10230000'), "name"=>"Leonor Langosh", "reference"=>"Ayden Senger", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901a5c7735330c10230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10240000'), "name"=>"Anderson Hills", "reference"=>"Ms. Cordelia Anderson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms 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.5518ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10250000'), "name"=>"Eldora Runolfsson", "reference"=>"Joshuah Feeney", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 20ms (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('54901a5c7735330c10280000'), "name"=>"Bernice Kunde", "reference"=>"Mr. Pattie Gleichner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901a5c7735330c10280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10290000'), "name"=>"Fanny Gleason", "reference"=>"Aisha Larkin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a5c7735330c10290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10290000')} 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('54901a5c7735330c10290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Redirected to http://test.host/admin/products/54901a5c7735330c10290000 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('54901a5c7735330c102a0000'), "firstname"=>"Alyson", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms 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('54901a5c7735330c102b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms Redirected to http://test.host/admin/users/54901a5c7735330c102b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2008ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c102c0000'), "firstname"=>"Destiny", "lastname"=>"Hauck"}] 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.1648ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901a5c7735330c102c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5c7735330c102c0000')} 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('54901a5c7735330c102c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms 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.1618ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c102d0000'), "firstname"=>"Lafayette", "lastname"=>"Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901a5c7735330c102d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5c7735330c102d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c102e0000'), "firstname"=>"Kennith", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms 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.3057ms 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('54901a5c7735330c102f0000'), "firstname"=>"Ebba", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54901a5c7735330c10300000'), "firstname"=>"Bridgette", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901a5c7735330c10300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5c7735330c10300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901a5c7735330c10310000'), "firstname"=>"Logan", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901a5c7735330c10310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5c7735330c10310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901a5c7735330c10310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10320000'), "firstname"=>"Newton", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1420ms 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('54901a5c7735330c10330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms 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.1763ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10340000'), "firstname"=>"Guadalupe", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901a5c7735330c10340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5c7735330c10340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10350000'), "firstname"=>"Kendra", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10360000'), "firstname"=>"Santino", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901a5c7735330c10360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5c7735330c10360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10370000'), "firstname"=>"Marjolaine", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901a5c7735330c10370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a5c7735330c10370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10380000'), "name"=>"Lowell Davis"}] 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={"category_id"=>BSON::ObjectId('54901a5c7735330c10380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10390000'), "name"=>"Arielle Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103a0000'), "name"=>"Gregorio Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103b0000'), "name"=>"Ted Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103c0000'), "name"=>"Lyric Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103d0000'), "name"=>"Priscilla Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103e0000'), "name"=>"Ms. Jessy Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c103f0000'), "name"=>"Kayla Kuvalis Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c103f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10400000'), "name"=>"Zola Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10410000'), "name"=>"Alene Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10420000'), "name"=>"Dr. Osbaldo Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10430000'), "name"=>"Ernest Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10440000'), "name"=>"Bobby Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10450000'), "name"=>"Armand Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10460000'), "name"=>"Imani Weimann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10470000'), "name"=>"Maurice Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10480000'), "name"=>"Ms. Van Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10490000'), "name"=>"Emery Will DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104a0000'), "name"=>"Llewellyn Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104b0000'), "name"=>"Frederic McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104c0000'), "name"=>"Reginald Becker I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104d0000'), "name"=>"Mrs. Maeve Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104e0000'), "name"=>"Austen Rau PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c104f0000'), "name"=>"Harold Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c104f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10500000'), "name"=>"Kole Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10510000'), "name"=>"Eve Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10520000'), "name"=>"Hayley Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10530000'), "name"=>"Jettie Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10540000'), "name"=>"Dr. Roel Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10550000'), "name"=>"Joana Daugherty IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10560000'), "name"=>"Dandre Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10570000'), "name"=>"Irving Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10580000'), "name"=>"Miss Alda Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10590000'), "name"=>"Kayla Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105a0000'), "name"=>"Crystal Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105b0000'), "name"=>"Sierra Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105c0000'), "name"=>"Mandy Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105d0000'), "name"=>"Renee Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105e0000'), "name"=>"Johanna Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c105f0000'), "name"=>"Eryn Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c105f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10600000'), "name"=>"Gideon Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10610000'), "name"=>"Heidi Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10620000'), "name"=>"Eriberto Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10630000'), "name"=>"Bobbie Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10640000'), "name"=>"Dr. Aidan Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10650000'), "name"=>"Zaria Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10660000'), "name"=>"Ms. Sheldon Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10670000'), "name"=>"Tyree Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10680000'), "name"=>"Chad Schroeder I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10690000'), "name"=>"Erling Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106a0000'), "name"=>"Mrs. Sage Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106b0000'), "name"=>"Keely Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106c0000'), "name"=>"Montana Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106d0000'), "name"=>"Electa Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106e0000'), "name"=>"Jany Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c106f0000'), "name"=>"Fabiola Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c106f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10700000'), "name"=>"Brenden Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10710000'), "name"=>"Ken Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10720000'), "name"=>"Mr. Helga Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10730000'), "name"=>"Dangelo Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10740000'), "name"=>"Erik Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10750000'), "name"=>"Carli Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10760000'), "name"=>"Maegan Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10770000'), "name"=>"Eunice Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10780000'), "name"=>"Dr. Dayana Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10790000'), "name"=>"Ms. Yadira Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107a0000'), "name"=>"Maddison Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107b0000'), "name"=>"Ms. Guillermo Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107c0000'), "name"=>"Rex Pouros III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107d0000'), "name"=>"Reginald Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107e0000'), "name"=>"Anjali Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c107f0000'), "name"=>"Vladimir Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c107f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10800000'), "name"=>"Chaya Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10810000'), "name"=>"Miss Bridgette Hayes"}] 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={"category_id"=>BSON::ObjectId('54901a5c7735330c10810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10820000'), "name"=>"Alden Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10830000'), "name"=>"Dr. Wayne Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10840000'), "name"=>"Leland Spencer Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10850000'), "name"=>"Molly Keeling Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10860000'), "name"=>"Kevin Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10870000'), "name"=>"Rhiannon Hudson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10880000'), "name"=>"Lillie Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10890000'), "name"=>"Anissa Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108a0000'), "name"=>"Elyse Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108b0000'), "name"=>"Mrs. Keaton Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108c0000'), "name"=>"Dianna Balistreri Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108d0000'), "name"=>"Carissa Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108e0000'), "name"=>"Jakayla Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c108f0000'), "name"=>"Renee Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c108f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10900000'), "name"=>"Matteo Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10910000'), "name"=>"Henry Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10920000'), "name"=>"Travon White DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10930000'), "name"=>"Alisa Legros III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10940000'), "name"=>"Aryanna Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10950000'), "name"=>"Al Bergnaum Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10960000'), "name"=>"Burnice Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10970000'), "name"=>"Camden Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1564ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms Redirected to http://test.host/categories/54901a5c7735330c10980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2949ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10990000'), "name"=>"Candace Champlin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2344ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901a5c7735330c10990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c10990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c10990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2125ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c109a0000'), "name"=>"Mrs. Muhammad Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901a5c7735330c109a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c109a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c109b0000'), "name"=>"Mr. Kathryne Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305891412030] runtime: 0.1044ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2551ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c109c0000'), "name"=>"Winnifred Jerde IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[304950986679] runtime: 0.0765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2152ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c109d0000'), "name"=>"Osborne Harber DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c109f0000'), "name"=>"Adam Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901a5c7735330c109f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c109f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c109f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (26.1ms) Completed 200 OK in 29ms (Views: 28.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10a00000'), "name"=>"Veronica Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901a5c7735330c10a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a5c7735330c10a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms Redirected to http://test.host/categories/54901a5c7735330c10a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10a10000'), "name"=>"Clara Deckow PhD", "reference"=>"Bell Gusikowski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10a20000'), "author_name"=>"Jewel O'Kon", "content"=>["Repellendus ea ut fugit ab. Neque ipsam optio esse ut reprehenderit maiores. Ex qui doloremque laboriosam ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a5c7735330c10a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a5c7735330c10a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Redirected to http://test.host/products/54901a5c7735330c10a10000/comments/54901a5c7735330c10a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10a40000'), "name"=>"Mr. Abbie Bernier", "reference"=>"Miss Peggie Frami", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10a50000'), "author_name"=>"Madyson Homenick", "content"=>["A et perspiciatis eveniet. Quae aliquam at et. Natus et suscipit velit repellendus iusto. Voluptates illo consequatur temporibus vel. Et aliquam voluptates quo eius doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4561ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901a5c7735330c10a40000", "id"=>"54901a5c7735330c10a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a40000')} 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('54901a5c7735330c10a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a5c7735330c10a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms Redirected to http://test.host/products/54901a5c7735330c10a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10a60000'), "name"=>"Julius Bailey", "reference"=>"Camryn Strosin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10a70000'), "author_name"=>"Baby Upton", "content"=>["Laborum unde reiciendis perferendis commodi aut esse. Autem aspernatur autem dicta. Totam sit quibusdam fugiat dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6384ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901a5c7735330c10a60000", "id"=>"54901a5c7735330c10a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4567ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10a80000'), "name"=>"Helene Bogisich I", "reference"=>"Alexandro Dicki", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10a90000'), "author_name"=>"Miss Travis Brekke", "content"=>["Fugit rerum omnis rerum. Tenetur sunt dolor eveniet sed. Dignissimos ratione animi. Dolore dolor qui aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5968ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901a5c7735330c10a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4501ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10aa0000'), "name"=>"Karen Mueller", "reference"=>"Nathaniel Hyatt", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10ab0000'), "author_name"=>"Royce Braun V", "content"=>["Et temporibus inventore. Consectetur adipisci debitis iure officiis. Voluptatum quibusdam mollitia voluptas autem excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6229ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901a5c7735330c10aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10ac0000'), "name"=>"Verla Wintheiser", "reference"=>"Morton Kirlin I", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10ad0000'), "author_name"=>"Zoila Langworth", "content"=>["Id quaerat atque molestiae mollitia numquam occaecati. Eum non porro. Est iure vitae. Id ipsam aut odit. Qui quod consequatur dolorem itaque sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901a5c7735330c10ac0000", "id"=>"54901a5c7735330c10ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4263ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10ae0000'), "name"=>"Dr. Casimir Hodkiewicz", "reference"=>"Mrs. Abdullah Barton", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10af0000'), "author_name"=>"Allen Bartell", "content"=>["Cupiditate ratione maxime eius. Iure qui at numquam odit rerum. Tempora molestiae provident mollitia. Id nihil nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901a5c7735330c10ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4174ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b00000'), "name"=>"Reed Pfannerstill", "reference"=>"Maximus Anderson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10b10000'), "author_name"=>"Lavonne Emard", "content"=>["Eveniet qui et qui perferendis consequatur. Consequatur sunt porro consequuntur explicabo accusantium. Qui quia iure et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5781ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901a5c7735330c10b00000", "id"=>"54901a5c7735330c10b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3999ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b20000'), "name"=>"Fay Schroeder", "reference"=>"Ole Brown", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a5c7735330c10b30000'), "author_name"=>"Marc Roberts PhD", "content"=>["Ratione cum nam officiis soluta. Libero minima eum eligendi corporis nam esse qui. Porro magnam et et. Consequatur aliquam possimus aut et magnam temporibus quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5615ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a5c7735330c10b30000", "product_id"=>"54901a5c7735330c10b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4141ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b20000'), "comments._id"=>BSON::ObjectId('54901a5c7735330c10b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7130ms Redirected to http://test.host/products/54901a5c7735330c10b20000/comments/54901a5c7735330c10b30000 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('54901a5c7735330c10b40000'), "firstname"=>"Ansley", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6627ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3340ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms Redirected to http://test.host/admin/clients/54901a5c7735330c10b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3374ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b60000'), "firstname"=>"Judah", "lastname"=>"Cole"}] 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.2945ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901a5c7735330c10b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms 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.2918ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b70000'), "firstname"=>"Deron", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901a5c7735330c10b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 7.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b80000'), "firstname"=>"Jefferey", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5677ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4548ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10b90000'), "firstname"=>"Rossie", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5764ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901a5c7735330c10ba0000'), "firstname"=>"Judge", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901a5c7735330c10ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901a5c7735330c10bb0000'), "firstname"=>"Gilda", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5400ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901a5c7735330c10bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms Redirected to http://test.host/admin/clients/54901a5c7735330c10bb0000 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('54901a5c7735330c10bc0000'), "firstname"=>"Uriel", "lastname"=>"Farrell"}] 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=>"clients", :query=>{}} runtime: 0.2229ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms Redirected to http://test.host/clients/54901a5c7735330c10bd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10be0000'), "firstname"=>"Adan", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4617ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901a5c7735330c10be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms 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.2011ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a5c7735330c10bf0000'), "firstname"=>"Dashawn", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901a5c7735330c10bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5c7735330c10bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54901a5c7735330c10c00000'), "firstname"=>"Weston", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms 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('54901a5d7735330c10c10000'), "firstname"=>"Fern", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901a5d7735330c10c20000'), "firstname"=>"Nicola", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901a5d7735330c10c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.9ms) 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('54901a5d7735330c10c30000'), "firstname"=>"Cleve", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901a5d7735330c10c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c30000')} 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('54901a5d7735330c10c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Redirected to http://test.host/clients/54901a5d7735330c10c30000 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('54901a5d7735330c10c40000'), "name"=>"Larry Kshlerin", "reference"=>"Clarissa Pagac", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10c50000'), "firstname"=>"Orland", "lastname"=>"Batz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901a5d7735330c10c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c40000')} 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('54901a5d7735330c10c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms Redirected to http://test.host/products/54901a5d7735330c10c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10c70000'), "name"=>"Yolanda Hackett", "reference"=>"Pete Kihn", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10c80000'), "firstname"=>"Herbert", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901a5d7735330c10c80000", "product_id"=>"54901a5d7735330c10c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10c90000'), "name"=>"Raul Hodkiewicz", "reference"=>"Tyson Boyle V", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10ca0000'), "firstname"=>"Doris", "lastname"=>"Ondricka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901a5d7735330c10c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10cb0000'), "name"=>"Mrs. Estel Pacocha", "reference"=>"Kobe Gleichner", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10cc0000'), "firstname"=>"Brandyn", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901a5d7735330c10cc0000", "product_id"=>"54901a5d7735330c10cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10cd0000'), "name"=>"Myrtle McCullough DDS", "reference"=>"Corine Skiles", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10ce0000'), "firstname"=>"Alize", "lastname"=>"Armstrong"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5345ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901a5d7735330c10ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901a5d7735330c10cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms Unpermitted parameters: name Redirected to http://test.host/products/54901a5d7735330c10cd0000/manager Completed 302 Found in 28ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10cf0000'), "name"=>"Paxton Ryan PhD", "reference"=>"Zackery Grimes", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d00000'), "name"=>"Pierce Collier", "reference"=>"Mervin O'Conner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d10000'), "name"=>"Devante Rutherford Jr.", "reference"=>"Layla Kreiger III", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d20000'), "name"=>"Miss Isabella Labadie", "reference"=>"Mittie Tremblay", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d30000'), "name"=>"Gay Lowe", "reference"=>"Colin Schuppe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d40000'), "name"=>"Miss Meagan Ruecker", "reference"=>"Davonte Bosco", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1924ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Redirected to http://test.host/products/54901a5d7735330c10d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1991ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d60000'), "name"=>"Destiney VonRueden", "reference"=>"Mrs. Beatrice Aufderhar", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1775ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901a5d7735330c10d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms 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.2529ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d70000'), "name"=>"Pamela Boehm", "reference"=>"Ezra Mills", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901a5d7735330c10d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d80000'), "name"=>"Lilla Willms", "reference"=>"Mr. Stan Weimann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283278455] runtime: 0.0980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2772ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10d90000'), "name"=>"Maia Johns", "reference"=>"Marjory Crona", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10da0000'), "name"=>"HelloWorld", "reference"=>"Jayde Fadel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10db0000'), "name"=>"value", "reference"=>"Roscoe Yundt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4191ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3496ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2805ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1449ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2441ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1865ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1401ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10dc0000'), "name"=>"Dr. Andre Gottlieb", "reference"=>"Dr. Imogene Trantow", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280334201174] runtime: 0.1131ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2220ms Completed 200 OK in 18ms (Views: 17.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280053229015] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217890528] runtime: 0.0885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280610570277] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279919851780] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947720414] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124694147] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552767108] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280539291678] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286101288] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220063500] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280918246683] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408566036] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469619709] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809404911] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440922327] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281310228917] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853414031] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163013682] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635800363] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501125941] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105980711] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959955638] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280032462884] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711668061] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959215516] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279796218215] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366559887] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280228163868] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783664347] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302537725] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951951292] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279760879612] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630260522] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280640642033] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297537671] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280345123401] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279225496955] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280401052989] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280239822994] runtime: 0.0732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272647802] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280946387849] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241048815] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217879517] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329632075] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281318243263] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885441029] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079824946] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280770909613] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279755907001] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279979598628] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434121030] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280517205604] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055952462] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486201838] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281066171010] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279816456451] runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280730760] runtime: 0.0771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098658472] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103870389] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280393998980] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492133337] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358255549] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280295892072] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468714099] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279468344462] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281311141465] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280288704891] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279567660082] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672699576] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279301762766] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280593958561] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265458785] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060830772] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351941817] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468038622] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648216415] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280276266597] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280227342344] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279595290718] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280580534777] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998286502] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280235801888] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280422790645] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279718309285] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281190479081] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281036813628] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785097911] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469073432] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281188974521] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279764210965] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556475831] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153729552] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634349072] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243316168] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191160693] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449571545] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280715214406] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279330108182] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280327844145] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280004633952] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279636717850] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518050043] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511782305] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366632162] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072633981] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401074063] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265502662] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279198558959] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281042056514] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469109589] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279602614258] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834726076] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232949365] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671708929] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603611398] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279541887996] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459428402] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668883657] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088014731] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861451765] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701533236] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659204111] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281142267308] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353763206] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186580985] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267712858] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863833519] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968088229] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280667166301] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858038250] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280506540622] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515207212] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294157711] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280944372084] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848475226] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968354942] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280971662046] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280417848197] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325021331] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324302676] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834959624] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061153408] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279484074059] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279967521651] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280301145935] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279585120695] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021152318] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280589055051] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279559828478] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280834094962] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280765824160] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280299360345] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848145984] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280964024722] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280650886934] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210643540] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517877371] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924160290] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279351128871] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279448863130] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217006691] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279269411306] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279427859646] runtime: 0.0455ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10dd0000'), "name"=>"Betsy Erdman", "reference"=>"Kayleigh Hoppe", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3636ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1195ms Completed 200 OK in 6ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10de0000'), "name"=>"Eryn Barrows", "reference"=>"Marco Swift", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5009ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281232747347] runtime: 0.0608ms 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('54901a5d7735330c10df0000'), "name"=>"Demarcus West", "reference"=>"Miss Rex Torp", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901a5d7735330c10df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms 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('54901a5d7735330c10e00000'), "name"=>"Oran Stokes", "reference"=>"Holly Volkman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54901a5d7735330c10e20000'), "name"=>"Natasha Oberbrunner III", "reference"=>"Ms. Lance Waelchi", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5160ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901a5d7735330c10e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10e30000'), "name"=>"Mia McLaughlin", "reference"=>"Juliet Hyatt Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3991ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3146ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10e40000'), "name"=>"Orpha White", "reference"=>"Maxine Harris", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 21.0904ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3747ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 3.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10e50000'), "name"=>"Ronaldo Gislason I", "reference"=>"Durward Dach", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2568ms 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('54901a5d7735330c10e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2365ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10e70000'), "name"=>"Delphine Hagenes", "reference"=>"Ms. Silas Rippin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901a5d7735330c10e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10e70000')} 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('54901a5d7735330c10e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms 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('54901a5d7735330c10e80000'), "name"=>"Mathilde Balistreri", "reference"=>"Herman Paucek", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms 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('54901a5d7735330c10ea0000'), "name"=>"Hans Oberbrunner", "reference"=>"Margaretta Dickens MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a5d7735330c10ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10ea0000')} 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('54901a5d7735330c10ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms 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('54901a5d7735330c10eb0000'), "name"=>"Colby Dietrich", "reference"=>"Ora Stark", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a5d7735330c10eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Redirected to http://test.host/products/54901a5d7735330c10eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10ee0000'), "name"=>"Simeon Bechtelar", "reference"=>"Faye Pagac", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10ec0000'), "author_name"=>"Miss Ernestina Hoppe", "content"=>["Quia doloremque in dolor modi sint corrupti. Deleniti quis sunt. Minima eligendi molestias est aliquam sit vel ea."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10ed0000'), "author_name"=>"Marie Quitzon", "content"=>["Et consequatur iste saepe quos sit quidem eos. Minima ipsum itaque facere. Possimus et aut suscipit enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a5d7735330c10ee0000", "comment_id"=>"54901a5d7735330c10ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10ee0000'), "comments._id"=>BSON::ObjectId('54901a5d7735330c10ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms Redirected to http://test.host/products/54901a5d7735330c10ee0000/comments/54901a5d7735330c10ec0000/comments/54901a5d7735330c10ef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10f20000'), "name"=>"Adolf Torp", "reference"=>"Davin Maggio", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f00000'), "author_name"=>"Jeanne Howell", "content"=>["Sint et consectetur. Omnis amet temporibus ipsum iste esse. Quidem eum corporis beatae quisquam nihil autem inventore."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f10000'), "author_name"=>"Hazle Borer", "content"=>["Id magni et ut est. Sapiente consequatur autem laborum nihil. Quidem mollitia pariatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901a5d7735330c10f20000", "comment_id"=>"54901a5d7735330c10f00000", "id"=>"54901a5d7735330c10f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f20000'), "comments._id"=>BSON::ObjectId('54901a5d7735330c10f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901a5d7735330c10f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Redirected to http://test.host/products/54901a5d7735330c10f20000/comments/54901a5d7735330c10f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10f50000'), "name"=>"Raul Mann DVM", "reference"=>"Darron Rolfson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f30000'), "author_name"=>"Abdiel Bednar", "content"=>["Quis fugiat amet animi officia voluptas. Dolor et dolor ab placeat nobis eius. Vero tempora a eum beatae accusamus facilis sapiente. Quia soluta delectus sit aspernatur debitis qui."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f40000'), "author_name"=>"Drake Adams MD", "content"=>["Velit non similique reiciendis voluptates nostrum iusto. Voluptatem nisi qui qui laboriosam voluptatum. Nam est eligendi error voluptatem est temporibus. Beatae perspiciatis dolorem ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3039ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901a5d7735330c10f50000", "comment_id"=>"54901a5d7735330c10f30000", "id"=>"54901a5d7735330c10f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10f80000'), "name"=>"Marion Hirthe V", "reference"=>"Karlie Senger Sr.", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f60000'), "author_name"=>"Clemmie Swift", "content"=>["Eaque saepe blanditiis. Iste magnam voluptatem aperiam. Eligendi voluptate quam nemo itaque consequatur molestias."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f70000'), "author_name"=>"Miss Chelsea Sawayn", "content"=>["A eum explicabo accusamus ut. In illo nesciunt voluptatem autem eveniet. Et dolores voluptatem architecto cum qui dolorem perspiciatis. Et nam fuga quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901a5d7735330c10f80000", "comment_id"=>"54901a5d7735330c10f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4074ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10fb0000'), "name"=>"Mr. Benny Lakin", "reference"=>"Xander Wisozk DDS", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10f90000'), "author_name"=>"Kira Cronin", "content"=>["Quae iste sunt aliquam sunt omnis omnis. Quod corporis unde quae aut culpa dignissimos omnis. Porro fuga sequi voluptate ducimus excepturi. Officiis fuga suscipit nulla."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10fa0000'), "author_name"=>"Mrs. Prudence Towne", "content"=>["Voluptates dolorum fuga facilis inventore voluptas a laboriosam. Asperiores sed eum consectetur accusantium dicta. Velit ratione commodi. Et corporis necessitatibus quo nihil provident voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901a5d7735330c10fb0000", "comment_id"=>"54901a5d7735330c10f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10fe0000'), "name"=>"Celestino Vandervort", "reference"=>"Damian Feil", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10fc0000'), "author_name"=>"Solon Rempel", "content"=>["Laborum velit eos aliquid enim distinctio. Non rerum nulla amet recusandae. Commodi velit id ut voluptatum aliquid aut. Inventore explicabo eius dolor."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10fd0000'), "author_name"=>"Victor Powlowski", "content"=>["Quia sed consectetur qui. Perferendis saepe dolore. Esse dolor molestiae eius. Quia et nobis quisquam dolorem error."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901a5d7735330c10fe0000", "comment_id"=>"54901a5d7735330c10fc0000", "id"=>"54901a5d7735330c10fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10010100'), "name"=>"Stella Smith", "reference"=>"Kip Stroman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10ff0000'), "author_name"=>"Ms. Shemar Muller", "content"=>["Necessitatibus occaecati commodi et. Ut fuga numquam laboriosam. Ipsum ipsa et. Asperiores eum hic voluptatem sed non rerum."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10000100'), "author_name"=>"Nola Okuneva", "content"=>["Sunt est tempore aut laudantium ipsam. Doloribus et quia error occaecati. Voluptate quidem perferendis praesentium non est suscipit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901a5d7735330c10010100", "comment_id"=>"54901a5d7735330c10ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10040100'), "name"=>"Karen Stamm", "reference"=>"Sherwood Hilpert", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10020100'), "author_name"=>"Lindsay Kirlin", "content"=>["Et nam quisquam quam ut voluptas eum temporibus. Consectetur reprehenderit deleniti ut. Fugit fugiat dignissimos distinctio. Laborum tenetur omnis hic consequatur dolor vitae nulla. Atque quo voluptates totam dolor consequuntur illum."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10030100'), "author_name"=>"Laurie Kub", "content"=>["Asperiores consequuntur placeat voluptate non voluptatum quia. Quibusdam sint quam voluptas molestiae aut voluptatem. Doloribus deleniti perspiciatis quia officia explicabo harum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901a5d7735330c10040100", "comment_id"=>"54901a5d7735330c10020100", "id"=>"54901a5d7735330c10030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.3ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c10070100'), "name"=>"Madisen Corwin DDS", "reference"=>"Fabiola Shanahan", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10050100'), "author_name"=>"Winnifred Toy", "content"=>["Laboriosam et quod. Eius qui laboriosam officiis illum. Laboriosam sit veritatis quod. Fuga aliquam quis."], "comments"=>[{"_id"=>BSON::ObjectId('54901a5d7735330c10060100'), "author_name"=>"Koby Bauch", "content"=>["Et quaerat ducimus odit. Et voluptatum iure est. Esse at quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a5d7735330c10060100", "product_id"=>"54901a5d7735330c10070100", "comment_id"=>"54901a5d7735330c10050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a5d7735330c10070100'), "comments._id"=>BSON::ObjectId('54901a5d7735330c10050100'), "comments.0.comments._id"=>BSON::ObjectId('54901a5d7735330c10060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Redirected to http://test.host/products/54901a5d7735330c10070100/comments/54901a5d7735330c10050100/comments/54901a5d7735330c10060100 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('54901a5d7735330c10080100'), "firstname"=>"Bernita", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1587ms 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('54901a5d7735330c10090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5413ms Redirected to http://test.host/users/54901a5d7735330c10090100 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3049ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c100a0100'), "firstname"=>"Tanner", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2094ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901a5d7735330c100a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5d7735330c100a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5d7735330c100a0100')} 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.2621ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c100b0100'), "firstname"=>"D'angelo", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901a5d7735330c100b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5d7735330c100b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) 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('54901a5d7735330c100c0100'), "firstname"=>"Henderson", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms 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.4501ms Completed 200 OK in 8ms (Views: 7.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c100d0100'), "firstname"=>"Max", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901a5d7735330c100e0100'), "firstname"=>"Veda", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901a5d7735330c100e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5d7735330c100e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a5d7735330c100f0100'), "firstname"=>"Gust", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901a5d7735330c100f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a5d7735330c100f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Unpermitted parameters: name Redirected to http://test.host/users/54901a5d7735330c100f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms 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.3152ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms 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.2485ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms 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.2638ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a8f7735330c4d000000'), "firstname"=>"Kiarra", "lastname"=>"MacGyver"}] 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=>"administrators", :query=>{}} runtime: 0.2730ms 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('54901a8f7735330c4d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms 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.3100ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a8f7735330c4d020000'), "firstname"=>"Laurie", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901a8f7735330c4d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (10.7ms) Completed 500 Internal Server Error in 18ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a8f7735330c4d030000'), "firstname"=>"Vena", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.8ms) Completed 500 Internal Server Error in 35ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a8f7735330c4d050000'), "firstname"=>"Ali", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9915ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901a8f7735330c4d050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 11ms (Views: 9.8ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a8f7735330c4d060000'), "firstname"=>"Aaliyah", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901a8f7735330c4d060000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3825ms 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('54901a8f7735330c4d070000'), "name"=>"Tristian Heller", "reference"=>"Dr. Beverly Schuster", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a8f7735330c4d080000'), "author_name"=>"Imogene Muller", "content"=>["Eos molestiae non veritatis tenetur aut unde. Quo laboriosam odit ea optio nostrum eos. Unde magnam est quis architecto odio. Reiciendis occaecati accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a8f7735330c4d070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d070000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a907735330c4d090000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms Redirected to http://test.host/admin/products/54901a8f7735330c4d070000/comments/54901a907735330c4d090000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a8f7735330c4d070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4345ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d0a0000'), "name"=>"Garrett Murray", "reference"=>"Nick Klein I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d0b0000'), "author_name"=>"Sigrid Towne IV", "content"=>["Sint harum possimus omnis laborum. Et natus molestias. Perspiciatis necessitatibus sit voluptas. Qui ullam cumque doloremque tempore. Et cum autem voluptatibus reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901a907735330c4d0a0000", "id"=>"54901a907735330c4d0b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d0a0000')} 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('54901a907735330c4d0a0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a907735330c4d0b0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms Redirected to http://test.host/admin/products/54901a907735330c4d0a0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d0c0000'), "name"=>"Mrs. Kiarra Stracke", "reference"=>"Guillermo Orn I", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d0d0000'), "author_name"=>"Delpha Lynch", "content"=>["Est ullam voluptas et rerum dolor. Aperiam ut aut velit molestias. Dolor qui illo et sit nam voluptas. Consequuntur odit tenetur omnis sequi. Vitae maiores incidunt sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901a907735330c4d0c0000", "id"=>"54901a907735330c4d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (39.6ms) Completed 500 Internal Server Error in 44ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d0e0000'), "name"=>"Bell Welch", "reference"=>"Raymond Mayert Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d0f0000'), "author_name"=>"Michele Jast", "content"=>["Perferendis cum quas modi praesentium fugit nemo possimus. Maiores qui explicabo tempora nam. Dignissimos impedit id aut ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901a907735330c4d0e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d100000'), "name"=>"Ms. Ila Schamberger", "reference"=>"Ms. Rhoda Koelpin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d110000'), "author_name"=>"Alisa Ernser", "content"=>["Sit rerum numquam aut voluptates aut corporis. Quo voluptatibus similique quae praesentium recusandae aliquam. Expedita enim quia magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901a907735330c4d100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (35.6ms) Completed 500 Internal Server Error in 39ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d130000'), "name"=>"Doris Runolfsdottir", "reference"=>"Aubree Deckow", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d140000'), "author_name"=>"Gavin Gleason MD", "content"=>["Totam minima et consequatur perferendis voluptatem est quibusdam. Placeat officia in a quaerat in reiciendis reprehenderit. Dolorem itaque quisquam nihil. Veritatis praesentium aut odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901a907735330c4d130000", "id"=>"54901a907735330c4d140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d150000'), "name"=>"Sydnee Graham", "reference"=>"Mr. Beulah Denesik", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a907735330c4d160000'), "author_name"=>"Ephraim Greenfelder", "content"=>["Esse labore et. Enim ipsa quis fugit. Explicabo omnis impedit adipisci distinctio nihil. Beatae ea debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a907735330c4d160000", "product_id"=>"54901a907735330c4d150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3437ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d150000'), "comments._id"=>BSON::ObjectId('54901a907735330c4d160000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms Redirected to http://test.host/admin/products/54901a907735330c4d150000/comments/54901a907735330c4d160000 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('54901a907735330c4d170000'), "name"=>"Mr. Leonardo Robel", "reference"=>"Stephen Rempel", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d180000'), "firstname"=>"Gillian", "lastname"=>"Lakin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901a907735330c4d170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d170000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d170000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d190000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Redirected to http://test.host/admin/products/54901a907735330c4d170000/manager Completed 302 Found in 8ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d1a0000'), "name"=>"Aletha Kuhlman", "reference"=>"Gianni Kunze", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d1b0000'), "firstname"=>"Madalyn", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901a907735330c4d1b0000", "product_id"=>"54901a907735330c4d1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.7ms) Completed 500 Internal Server Error in 43ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d1c0000'), "name"=>"Adan Mann IV", "reference"=>"Dr. Georgiana Hermiston", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d1d0000'), "firstname"=>"Thea", "lastname"=>"Johnston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6450ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901a907735330c4d1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (9.7ms) Completed 500 Internal Server Error in 13ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d1f0000'), "name"=>"Raphaelle Bahringer II", "reference"=>"Doris Metz", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d200000'), "firstname"=>"Providenci", "lastname"=>"Quigley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5890ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901a907735330c4d200000", "product_id"=>"54901a907735330c4d1f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4096ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d210000'), "name"=>"Kasey Schowalter Sr.", "reference"=>"Albertha Ankunding", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901a907735330c4d220000'), "firstname"=>"Marielle", "lastname"=>"Keeling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5923ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901a907735330c4d220000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901a907735330c4d210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4013ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901a907735330c4d210000/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('54901a907735330c4d230000'), "name"=>"Dr. Brando Hoppe", "reference"=>"Mrs. Graham Hartmann", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6197ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3033ms 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('54901a907735330c4d240000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms Redirected to http://test.host/admin/products/54901a907735330c4d240000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3252ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d250000'), "name"=>"Emory Crona", "reference"=>"Otho Murphy", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.4142ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901a907735330c4d250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4906ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d250000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms 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.3188ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d260000'), "name"=>"Geovanny Weimann", "reference"=>"Winfield Schneider", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901a907735330c4d260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (11.1ms) Completed 500 Internal Server Error in 15ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d270000'), "name"=>"Marion Hartmann", "reference"=>"Yasmin Buckridge", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms 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.5221ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d280000'), "name"=>"Russel Collins III", "reference"=>"Mr. Olga Powlowski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (10.6ms) Completed 500 Internal Server Error in 56ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d2b0000'), "name"=>"Mr. Gus Schmidt", "reference"=>"Garnett Lehner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901a907735330c4d2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d2c0000'), "name"=>"Fay Bogan III", "reference"=>"Chanel Klein", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a907735330c4d2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a907735330c4d2c0000')} 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('54901a907735330c4d2c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Redirected to http://test.host/admin/products/54901a907735330c4d2c0000 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('54901a907735330c4d2d0000'), "firstname"=>"Angeline", "lastname"=>"Keebler"}] 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=>"admin_users", :query=>{}} runtime: 0.1738ms 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('54901a907735330c4d2e0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms Redirected to http://test.host/admin/users/54901a907735330c4d2e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2102ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d2f0000'), "firstname"=>"Glenda", "lastname"=>"Kub"}] 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.2002ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901a907735330c4d2f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a907735330c4d2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a907735330c4d2f0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms 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.2019ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d300000'), "firstname"=>"Helga", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901a907735330c4d300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a907735330c4d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (10.8ms) Completed 500 Internal Server Error in 15ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d310000'), "firstname"=>"Kellen", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms 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.3285ms 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('54901a907735330c4d320000'), "firstname"=>"Marianne", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.7ms) 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('54901a907735330c4d340000'), "firstname"=>"Alice", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901a907735330c4d340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a907735330c4d340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d350000'), "firstname"=>"Jameson", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901a907735330c4d350000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a907735330c4d350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901a907735330c4d350000 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('54901a907735330c4d360000'), "firstname"=>"Liliane", "lastname"=>"Weimann"}] 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=>"administrators", :query=>{}} runtime: 0.1942ms 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('54901a907735330c4d370000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms 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.2057ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d380000'), "firstname"=>"Annette", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901a907735330c4d380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a907735330c4d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.8ms) Completed 500 Internal Server Error in 43ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d390000'), "firstname"=>"Freda", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.2ms) Completed 500 Internal Server Error in 40ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d3b0000'), "firstname"=>"Scarlett", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901a907735330c4d3b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a907735330c4d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d3c0000'), "firstname"=>"Corine", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901a907735330c4d3c0000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901a907735330c4d3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d3d0000'), "name"=>"Mr. Zula Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d3e0000'), "name"=>"Curtis Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d3f0000'), "name"=>"Durward Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d400000'), "name"=>"Estell Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d410000'), "name"=>"Cortez O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d420000'), "name"=>"Ms. Morgan Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d430000'), "name"=>"Gustave Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d440000'), "name"=>"Courtney Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d450000'), "name"=>"Olin Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d460000'), "name"=>"Noe Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d470000'), "name"=>"Dion Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d480000'), "name"=>"Werner Kuphal I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d490000'), "name"=>"Rachelle Jones I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4a0000'), "name"=>"Mr. Darren Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4b0000'), "name"=>"Natasha Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4c0000'), "name"=>"Rigoberto Schmidt DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4d0000'), "name"=>"Jerel Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4e0000'), "name"=>"Treva Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d4f0000'), "name"=>"Forest Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d500000'), "name"=>"Jasper Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d510000'), "name"=>"Marcellus Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d520000'), "name"=>"Antonetta Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d530000'), "name"=>"Nathaniel Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d540000'), "name"=>"Mrs. Ozella Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d550000'), "name"=>"Jermain Hegmann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d560000'), "name"=>"Liliane Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d570000'), "name"=>"Mavis Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d580000'), "name"=>"Ima Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d590000'), "name"=>"Janae Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5a0000'), "name"=>"Estefania Hagenes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5b0000'), "name"=>"Brody Quitzon PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5c0000'), "name"=>"Rosalee Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5d0000'), "name"=>"Enrico Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5e0000'), "name"=>"Donnell Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d5f0000'), "name"=>"Mckayla Armstrong IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d600000'), "name"=>"Brenden Weimann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d610000'), "name"=>"Mason Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d620000'), "name"=>"Clarabelle Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d630000'), "name"=>"Margarette Batz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d640000'), "name"=>"Loyce Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d650000'), "name"=>"Melody McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d660000'), "name"=>"Kacie Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d670000'), "name"=>"Dr. Salvador DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d680000'), "name"=>"Aurelio McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d690000'), "name"=>"Vesta White IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6a0000'), "name"=>"Steve Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6b0000'), "name"=>"Beau Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6c0000'), "name"=>"Mr. Rickie Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6d0000'), "name"=>"Brown Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6e0000'), "name"=>"Franz Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d6f0000'), "name"=>"Jennie Romaguera I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d700000'), "name"=>"Austyn Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d710000'), "name"=>"Flavie Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d720000'), "name"=>"Edna Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d730000'), "name"=>"Mireya Rempel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d740000'), "name"=>"Miss Raul Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d750000'), "name"=>"Miss Elliott Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d760000'), "name"=>"Dr. Pierce Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d770000'), "name"=>"Ms. Addie Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d780000'), "name"=>"Lucile Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d790000'), "name"=>"Karelle Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7a0000'), "name"=>"Miss Mellie Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7b0000'), "name"=>"Horacio Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7c0000'), "name"=>"Mariane Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7d0000'), "name"=>"Pierce Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7e0000'), "name"=>"Tabitha Senger I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d7f0000'), "name"=>"Orie Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d800000'), "name"=>"Annamarie Wilderman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d810000'), "name"=>"Fredrick Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d820000'), "name"=>"Miss Clotilde Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d830000'), "name"=>"Breanna Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d840000'), "name"=>"Monica Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d850000'), "name"=>"Margarette Stanton PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d860000'), "name"=>"Francisca Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d870000'), "name"=>"Carroll Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.7181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d880000'), "name"=>"Joanne Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d890000'), "name"=>"Melvina Kub I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8a0000'), "name"=>"Helen Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8b0000'), "name"=>"Michale Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8c0000'), "name"=>"Mr. Yvonne Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8d0000'), "name"=>"Maybell McDermott V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8e0000'), "name"=>"Dr. Dorthy Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d8f0000'), "name"=>"Kaylin McClure Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d900000'), "name"=>"Lisette Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d910000'), "name"=>"Reece Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d920000'), "name"=>"Filomena Orn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d930000'), "name"=>"Ron Jakubowski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d940000'), "name"=>"Mrs. Erik Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d950000'), "name"=>"Hilda Littel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d960000'), "name"=>"Gail Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d970000'), "name"=>"Rosemary Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d980000'), "name"=>"Miller Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d990000'), "name"=>"Dr. Vincenzo Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9a0000'), "name"=>"Newell Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9b0000'), "name"=>"Amy Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9c0000'), "name"=>"Miss Rene Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1484ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms Redirected to http://test.host/categories/54901a907735330c4d9d0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1876ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9e0000'), "name"=>"Margaretta Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1668ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901a907735330c4d9e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a907735330c4d9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a907735330c4d9e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2612ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4d9f0000'), "name"=>"Bettye Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901a907735330c4d9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a907735330c4d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4288ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.0ms) Completed 500 Internal Server Error in 47ms ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4da00000'), "name"=>"Ettie Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306842672030] runtime: 0.0993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3010ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4da10000'), "name"=>"Brown Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305959980545] runtime: 0.0852ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2913ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a907735330c4da20000'), "name"=>"Ayla Greenholt Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4da20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a907735330c4da30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (42.5ms) Completed 500 Internal Server Error in 45ms ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a917735330c4da40000'), "name"=>"Maryjane Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a917735330c4da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901a917735330c4da40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a917735330c4da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a917735330c4da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 4.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901a917735330c4da50000'), "name"=>"Valerie Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a917735330c4da50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901a917735330c4da50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a917735330c4da50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901a917735330c4da50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901a917735330c4da50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Redirected to http://test.host/categories/54901a917735330c4da50000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4da60000'), "name"=>"Laisha Nolan", "reference"=>"Madelyn Mueller", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4da70000'), "author_name"=>"Dr. Prudence Bauch", "content"=>["Voluptatem officiis nihil. Eius praesentium iure eos alias et rerum qui. Qui dolores quaerat quas velit rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a917735330c4da60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da60000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a917735330c4da80000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms Redirected to http://test.host/products/54901a917735330c4da60000/comments/54901a917735330c4da80000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4da90000'), "name"=>"Miss Priscilla Rogahn", "reference"=>"Baby Reichel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4daa0000'), "author_name"=>"Miss Quinten Hahn", "content"=>["Repellendus illum fuga mollitia laboriosam. Quaerat ut sint. Odio molestias quo ut tempora. Dolores eum qui autem qui dicta recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901a917735330c4da90000", "id"=>"54901a917735330c4daa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da90000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901a917735330c4daa0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms Redirected to http://test.host/products/54901a917735330c4da90000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4da90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dab0000'), "name"=>"Miss Muriel Lesch", "reference"=>"Destinee Swift", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4dac0000'), "author_name"=>"Dominic Block", "content"=>["Fugiat temporibus voluptatem. Dignissimos ut et sit. Neque ipsum ad porro est doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901a917735330c4dab0000", "id"=>"54901a917735330c4dac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (41.9ms) Completed 500 Internal Server Error in 46ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dad0000'), "name"=>"Orlo Kub", "reference"=>"Phyllis Stiedemann", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4dae0000'), "author_name"=>"Mohamed Toy", "content"=>["Quidem facilis laudantium sed tempora amet cupiditate est. Omnis officia sequi. Sed et non inventore. Odio et itaque eius ducimus enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901a917735330c4dad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4daf0000'), "name"=>"Mozell Rowe", "reference"=>"Delia Lang", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4db00000'), "author_name"=>"Frederic Auer", "content"=>["Esse autem molestiae. Harum at cumque et et. Qui placeat ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0601ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901a917735330c4daf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4daf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4db10000'), "name"=>"Lavon Larson", "reference"=>"Columbus Greenfelder", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4db20000'), "author_name"=>"Alexys Funk", "content"=>["Quaerat dolore in culpa est vitae. Laborum velit maiores in dolorem. Rem odit praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901a917735330c4db10000", "id"=>"54901a917735330c4db20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4db10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4db30000'), "name"=>"Ms. Laney Howell", "reference"=>"Annamae Erdman", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4db40000'), "author_name"=>"Jaren Muller", "content"=>["Aut repellendus laborum vitae. Sed minus qui. Tempore nesciunt labore et odit. Laudantium rerum sit sit error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901a917735330c4db30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4db30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (42.2ms) Completed 500 Internal Server Error in 45ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4db60000'), "name"=>"Rodrigo Lind", "reference"=>"Alisa Wuckert", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4db70000'), "author_name"=>"Arne Langworth", "content"=>["Fugiat corporis quasi molestias et ut et. Autem reprehenderit nulla iste provident voluptatum quae. Enim vitae vel praesentium reiciendis deleniti sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901a917735330c4db60000", "id"=>"54901a917735330c4db70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4db60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4db80000'), "name"=>"Junior Hessel", "reference"=>"Napoleon Koss", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901a917735330c4db90000'), "author_name"=>"Johnny Reinger V", "content"=>["Esse voluptatem ut enim consequatur ipsum architecto. Fugit voluptas id. Officia esse in sed molestiae ut in iusto. Quas aut inventore sed facilis molestiae velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a917735330c4db90000", "product_id"=>"54901a917735330c4db80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4db80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4db80000'), "comments._id"=>BSON::ObjectId('54901a917735330c4db90000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms Redirected to http://test.host/products/54901a917735330c4db80000/comments/54901a917735330c4db90000 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('54901a917735330c4dba0000'), "firstname"=>"Leanne", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1923ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dbb0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Redirected to http://test.host/admin/clients/54901a917735330c4dbb0000 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('54901a917735330c4dbc0000'), "firstname"=>"Casimer", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1850ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901a917735330c4dbc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dbc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dbc0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms 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.1805ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dbd0000'), "firstname"=>"Adah", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901a917735330c4dbd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dbd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.3ms) Completed 500 Internal Server Error in 48ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dbe0000'), "firstname"=>"Augustine", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5407ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4378ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dbf0000'), "firstname"=>"Samanta", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (71.1ms) Completed 500 Internal Server Error in 74ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dc10000'), "firstname"=>"Shanie", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5232ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901a917735330c4dc10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dc10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901a917735330c4dc20000'), "firstname"=>"Kieran", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5153ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901a917735330c4dc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dc20000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms Redirected to http://test.host/admin/clients/54901a917735330c4dc20000 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('54901a917735330c4dc30000'), "firstname"=>"Sofia", "lastname"=>"Koch"}] 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=>"clients", :query=>{}} runtime: 0.1954ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dc40000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Redirected to http://test.host/clients/54901a917735330c4dc40000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2267ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dc50000'), "firstname"=>"Nelda", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901a917735330c4dc50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dc50000')} 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('54901a917735330c4dc50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms 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.1919ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dc60000'), "firstname"=>"Jaunita", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901a917735330c4dc60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dc60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (44.3ms) Completed 500 Internal Server Error in 47ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dc70000'), "firstname"=>"Loy", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms 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('54901a917735330c4dc80000'), "firstname"=>"Rosie", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.1ms) 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('54901a917735330c4dca0000'), "firstname"=>"Alana", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901a917735330c4dca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.9ms) 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('54901a917735330c4dcb0000'), "firstname"=>"Rosemary", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0540ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901a917735330c4dcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901a917735330c4dcb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Redirected to http://test.host/clients/54901a917735330c4dcb0000 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('54901a917735330c4dcc0000'), "name"=>"Rosamond Reichert", "reference"=>"Savanna Cummerata", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dcd0000'), "firstname"=>"Emily", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901a917735330c4dcc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dcc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4403ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dcc0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dcc0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dce0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms Redirected to http://test.host/products/54901a917735330c4dcc0000/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('54901a917735330c4dcf0000'), "name"=>"Logan Miller", "reference"=>"Reinhold Gislason", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dd00000'), "firstname"=>"Lincoln", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901a917735330c4dd00000", "product_id"=>"54901a917735330c4dcf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dcf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.3ms) Completed 500 Internal Server Error in 48ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dd10000'), "name"=>"Vernice Smitham", "reference"=>"Shaun Sanford", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dd20000'), "firstname"=>"Josiah", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8895ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901a917735330c4dd10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dd10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (42.6ms) Completed 500 Internal Server Error in 46ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dd40000'), "name"=>"Miss Geraldine Little", "reference"=>"Aileen Goyette DDS", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dd50000'), "firstname"=>"David", "lastname"=>"Klein"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901a917735330c4dd50000", "product_id"=>"54901a917735330c4dd40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dd40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3687ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dd60000'), "name"=>"Mathew Watsica", "reference"=>"Ms. Kade Quitzon", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901a917735330c4dd70000'), "firstname"=>"Maxime", "lastname"=>"Schmidt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901a917735330c4dd70000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901a917735330c4dd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4dd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms Unpermitted parameters: name Redirected to http://test.host/products/54901a917735330c4dd60000/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('54901a917735330c4dd80000'), "name"=>"Dean Gutkowski DVM", "reference"=>"Malcolm Towne", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dd90000'), "name"=>"Jeanne Purdy", "reference"=>"Kennedi Mohr", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dda0000'), "name"=>"Alda Schmidt", "reference"=>"Miss Iva Sipes", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4ddb0000'), "name"=>"Liza Macejkovic", "reference"=>"Ofelia Wilderman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4ddc0000'), "name"=>"Eryn Shields", "reference"=>"Trever Bergstrom", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4ddd0000'), "name"=>"Alia White", "reference"=>"Miss Blaise Price", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2030ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4dde0000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms Redirected to http://test.host/products/54901a917735330c4dde0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2359ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4ddf0000'), "name"=>"Roxane Okuneva", "reference"=>"Keyon Runte", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1924ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901a917735330c4ddf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4ddf0000')} 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={"_id"=>BSON::ObjectId('54901a917735330c4ddf0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms 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('54901a917735330c4de00000'), "name"=>"Ima Williamson", "reference"=>"Carolina Parisian", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901a917735330c4de00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a917735330c4de00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.7ms) 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('54901a917735330c4de10000'), "name"=>"Marielle Mraz", "reference"=>"Chase Nicolas", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5575ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435160460] runtime: 0.0950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3283ms Completed 200 OK in 19ms (Views: 18.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4de20000'), "name"=>"Aric Sporer", "reference"=>"Stephen Bode", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4de30000'), "name"=>"HelloWorld", "reference"=>"Chandler Runte", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4de40000'), "name"=>"value", "reference"=>"Princess McCullough", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4428ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4553ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4202ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3671ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3472ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3354ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3063ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a917735330c4de50000'), "name"=>"Rhiannon Kshlerin", "reference"=>"Tianna Abbott", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280359807832] runtime: 0.1341ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3668ms Completed 200 OK in 18ms (Views: 17.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279712956421] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849492707] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279992017799] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281060911918] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279828249618] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207995425] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280981954827] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552662788] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279364481533] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731068683] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984078245] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865722904] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281320272021] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279744046608] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 31.0669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442310171] runtime: 0.1054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670929610] runtime: 0.0749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923321710] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615203599] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242260535] runtime: 0.0835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027202520] runtime: 0.0827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094998384] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280733307626] runtime: 0.0819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072731983] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279770413171] runtime: 0.0807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280667442831] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555592773] runtime: 0.0831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124612140] runtime: 0.0813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343435509] runtime: 0.0827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403314676] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732988257] runtime: 0.0823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279234474281] runtime: 0.0808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280997790553] runtime: 0.0818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823316882] runtime: 0.0837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620057881] runtime: 0.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344632897] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280628085396] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069655168] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074805690] runtime: 0.0774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820147980] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279931494847] runtime: 0.0963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215191379] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678532901] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279293308650] runtime: 0.0732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926604777] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280059306107] runtime: 0.0745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280097503569] runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736045990] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279367023983] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049797214] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280294553797] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305131539] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591704987] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121715641] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486183081] runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279964139997] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299255202] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280465459441] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280152614407] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701939647] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077929366] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279754408217] runtime: 0.0989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077487829] runtime: 0.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118196096] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877016275] runtime: 0.0785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280367708092] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279856923753] runtime: 0.0723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226922416] runtime: 0.1034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878997115] runtime: 0.1030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968107730] runtime: 0.1182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869531099] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103169444] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279477354738] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428456120] runtime: 0.0804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571053695] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358986747] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862077947] runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279291083903] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021803173] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202163468] runtime: 0.0825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279393442392] runtime: 0.0865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642402247] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648493336] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281104560373] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280564700051] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280300273413] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280422310546] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721727920] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279728730430] runtime: 0.0952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311149192] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234175855] runtime: 0.0890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495943379] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242769860] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833188636] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341083415] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280713766476] runtime: 0.1093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280489294236] runtime: 0.0961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 35.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416361015] runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245871022] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280802982703] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280907928719] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279745377783] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562023613] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280211686263] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375537897] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279919188625] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435843513] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279958397725] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281292974848] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102506248] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279226954872] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280301942217] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041427083] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756438114] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280971387170] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413582320] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280559727373] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553355118] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279632520360] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279992727559] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279977333962] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587274887] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820753474] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296584642] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342246931] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947134437] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281162804951] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581741475] runtime: 0.0815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279960313423] runtime: 0.0741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028135194] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863081156] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144431673] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739802080] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199120940] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549869039] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280168509896] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280513565410] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858911515] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694024149] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613061518] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697655401] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279565264987] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281169502679] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170220656] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280588100150] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280657082710] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215004950] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738878003] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280774497568] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266205713] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016062005] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280647446701] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277168292] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280644952301] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279766896471] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280607273679] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235980244] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775248686] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256454834] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505505061] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280606036052] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424695078] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280330465143] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061693550] runtime: 0.0604ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4de60000'), "name"=>"Dr. Maureen Nader", "reference"=>"Cade Kertzmann", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3049ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1954ms Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4de70000'), "name"=>"Dr. Christop Volkman", "reference"=>"Shanna Zulauf", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279225521749] runtime: 0.0770ms Completed 200 OK in 5ms (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('54901a927735330c4de80000'), "name"=>"Samson Hartmann", "reference"=>"Elise Lind II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901a927735330c4de80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4de80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms 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('54901a927735330c4de90000'), "name"=>"Triston Hintz PhD", "reference"=>"Alda Erdman Jr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.7159ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54901a927735330c4deb0000'), "name"=>"Al Wiegand MD", "reference"=>"Blaise Hansen DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901a927735330c4deb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4deb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4dec0000'), "name"=>"Mrs. Harmon Rutherford", "reference"=>"Layne Reichert", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3212ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4ded0000'), "name"=>"Phoebe Rosenbaum", "reference"=>"Kenyatta Durgan", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2995ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1871ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4dee0000'), "name"=>"Marcos Turner", "reference"=>"Gerry Muller", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms 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('54901a927735330c4def0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2086ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4df00000'), "name"=>"Naomi Becker", "reference"=>"Holden Zboncak", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901a927735330c4df00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df00000')} 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={"_id"=>BSON::ObjectId('54901a927735330c4df00000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms 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('54901a927735330c4df10000'), "name"=>"Rudy Hagenes", "reference"=>"Mrs. Torrance Gislason", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms 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('54901a927735330c4df30000'), "name"=>"Martin Moore", "reference"=>"Roslyn Wisozk DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a927735330c4df30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df30000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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('54901a927735330c4df40000'), "name"=>"Noah Kerluke Jr.", "reference"=>"Nathaniel Reinger", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901a927735330c4df40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df40000')} 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('54901a927735330c4df40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Redirected to http://test.host/products/54901a927735330c4df40000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4df70000'), "name"=>"Amira Hayes I", "reference"=>"Hosea Rodriguez", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4df50000'), "author_name"=>"Therese Luettgen", "content"=>["Cum quas neque delectus sint mollitia. Placeat incidunt nesciunt nisi qui. Sequi assumenda porro ex. Est quos iure porro molestiae reiciendis qui cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4df60000'), "author_name"=>"Jennings Mitchell", "content"=>["Molestias enim ullam eaque minima. Eveniet eaque provident neque. Qui sunt beatae voluptatem blanditiis. Ipsam fuga autem."]}]}]}] 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('54901a927735330c4df70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901a927735330c4df70000", "comment_id"=>"54901a927735330c4df50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4779ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df70000'), "comments._id"=>BSON::ObjectId('54901a927735330c4df50000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901a927735330c4df80000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7378ms Redirected to http://test.host/products/54901a927735330c4df70000/comments/54901a927735330c4df50000/comments/54901a927735330c4df80000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4df70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4dfb0000'), "name"=>"Dr. Alvera Bergnaum", "reference"=>"Charles Kutch", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4df90000'), "author_name"=>"Mr. Annamae Jacobson", "content"=>["Ut cum aut. A nisi quisquam unde cupiditate voluptatem quis laboriosam. Consequatur quia mollitia quibusdam tempore quidem. Officia eius ea quam."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4dfa0000'), "author_name"=>"Declan Lang", "content"=>["Tenetur fugit placeat temporibus soluta. Cum deserunt eos. Quia consequatur ab dolorem repudiandae debitis repellat nam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4dfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901a927735330c4dfb0000", "comment_id"=>"54901a927735330c4df90000", "id"=>"54901a927735330c4dfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4dfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4dfb0000'), "comments._id"=>BSON::ObjectId('54901a927735330c4df90000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901a927735330c4dfa0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6089ms Redirected to http://test.host/products/54901a927735330c4dfb0000/comments/54901a927735330c4df90000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4dfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4dfe0000'), "name"=>"Berenice Spencer", "reference"=>"Dashawn Friesen", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4dfc0000'), "author_name"=>"Dr. Cesar Gulgowski", "content"=>["Aut vel eveniet quos dolorem. Voluptatem nihil harum beatae aliquid consequuntur explicabo. Aut ea vel excepturi dicta tenetur. Laboriosam perspiciatis cum consequatur nam nemo aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4dfd0000'), "author_name"=>"Ahmed Connelly", "content"=>["Impedit voluptatibus exercitationem eum cupiditate et earum aut. Et quia qui laborum ducimus voluptatem earum. Et temporibus explicabo reprehenderit non fuga. Laudantium non soluta aut officiis. Harum vitae voluptatem consequatur qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901a927735330c4dfe0000", "comment_id"=>"54901a927735330c4dfc0000", "id"=>"54901a927735330c4dfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4dfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (47.2ms) Completed 500 Internal Server Error in 52ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d010100'), "name"=>"Mr. German Fadel", "reference"=>"Vena Jaskolski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4dff0000'), "author_name"=>"Cecil Connelly", "content"=>["Sit est vel quas autem quo aut. Autem minus aut voluptatum. Ad quibusdam velit accusantium voluptas fugit laboriosam incidunt. Beatae vero et ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d000100'), "author_name"=>"Osborne Moore", "content"=>["Maxime id error. Vero quia assumenda et. Beatae praesentium iure."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901a927735330c4d010100", "comment_id"=>"54901a927735330c4dff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d040100'), "name"=>"Eugenia Schowalter", "reference"=>"Annette Cruickshank", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d020100'), "author_name"=>"Mrs. Simeon Lubowitz", "content"=>["Dolorum voluptatem et laboriosam qui dolor eius possimus. Perferendis error in in illo dicta amet aliquid. Voluptas in voluptate non ut ab."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d030100'), "author_name"=>"Mr. Muhammad Spencer", "content"=>["Nesciunt pariatur facere non delectus quo. Tempora repellat pariatur temporibus beatae atque. Magnam eaque omnis qui ut delectus alias nihil. Nesciunt in doloribus sit accusamus. Debitis voluptates est sit voluptatibus aut occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901a927735330c4d040100", "comment_id"=>"54901a927735330c4d020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d070100'), "name"=>"Terry Stroman", "reference"=>"Andreanne Morissette II", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d050100'), "author_name"=>"Lilla Hermiston", "content"=>["Ex deserunt officia magni aspernatur. Quis reiciendis iste et ipsum. Hic ullam suscipit sint. Eum fugit autem."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d060100'), "author_name"=>"Kaya Labadie", "content"=>["Sunt magnam architecto modi. Odio tenetur modi nihil consequatur sit. Nostrum et ipsum consequuntur exercitationem illo recusandae veritatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2539ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901a927735330c4d070100", "comment_id"=>"54901a927735330c4d050100", "id"=>"54901a927735330c4d060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d0a0100'), "name"=>"Rosella Fadel", "reference"=>"Wilhelmine Muller", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d080100'), "author_name"=>"Miss Charlotte Blick", "content"=>["Illum aliquid velit magni aperiam et numquam et. Fugiat accusamus aperiam autem est ut velit nisi. Aut consequatur quis voluptates unde quia reprehenderit. Necessitatibus sunt ea modi sit in."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d090100'), "author_name"=>"Daisy Jakubowski", "content"=>["Nemo vero laboriosam est. Quia hic et est recusandae. Libero expedita aliquid voluptas et quas. Atque accusamus voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901a927735330c4d0a0100", "comment_id"=>"54901a927735330c4d080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (76.8ms) Completed 500 Internal Server Error in 81ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d0e0100'), "name"=>"Miss Aida Tremblay", "reference"=>"Jayden Williamson I", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d0c0100'), "author_name"=>"Emie Aufderhar", "content"=>["Delectus ad voluptas ratione repellendus sunt. Iure recusandae similique doloremque error. Sunt nostrum eligendi illum sed vero. Est itaque omnis sit qui nostrum tempora dignissimos."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d0d0100'), "author_name"=>"Eudora Keeling", "content"=>["Qui nam excepturi corrupti amet voluptas facere. Sit sint quas accusamus quam perferendis rerum quaerat. Sit sed nihil optio atque mollitia et quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901a927735330c4d0e0100", "comment_id"=>"54901a927735330c4d0c0100", "id"=>"54901a927735330c4d0d0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 3.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d110100'), "name"=>"Darlene O'Connell", "reference"=>"Dr. Santiago Lang", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d0f0100'), "author_name"=>"Adam Parker", "content"=>["Voluptatem velit ullam facilis voluptatibus ea cupiditate magni. Dolorem placeat occaecati fugiat architecto quia. Perferendis adipisci voluptas ea ut."], "comments"=>[{"_id"=>BSON::ObjectId('54901a927735330c4d100100'), "author_name"=>"Eldon Zemlak", "content"=>["Nesciunt fugit et fuga. Est dicta iusto sint ducimus dolorem veritatis. Ipsam assumenda eos minima officia. Dolor quia et quibusdam ducimus deserunt in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3090ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901a927735330c4d100100", "product_id"=>"54901a927735330c4d110100", "comment_id"=>"54901a927735330c4d0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901a927735330c4d110100'), "comments._id"=>BSON::ObjectId('54901a927735330c4d0f0100'), "comments.0.comments._id"=>BSON::ObjectId('54901a927735330c4d100100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms Redirected to http://test.host/products/54901a927735330c4d110100/comments/54901a927735330c4d0f0100/comments/54901a927735330c4d100100 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('54901a927735330c4d120100'), "firstname"=>"Jonathon", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1928ms 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('54901a927735330c4d130100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Redirected to http://test.host/users/54901a927735330c4d130100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2086ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d140100'), "firstname"=>"Alexandra", "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.1796ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901a927735330c4d140100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a927735330c4d140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a927735330c4d140100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms 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.1364ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d150100'), "firstname"=>"Marianne", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901a927735330c4d150100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a927735330c4d150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (77.3ms) Completed 500 Internal Server Error in 81ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d160100'), "firstname"=>"Tate", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5315ms 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.4728ms Completed 200 OK in 9ms (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('54901a927735330c4d170100'), "firstname"=>"Audie", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (74.4ms) Completed 500 Internal Server Error in 76ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901a927735330c4d190100'), "firstname"=>"Jace", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5357ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901a927735330c4d190100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a927735330c4d190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54901a927735330c4d1a0100'), "firstname"=>"Geovanni", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901a927735330c4d1a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901a927735330c4d1a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms Unpermitted parameters: name Redirected to http://test.host/users/54901a927735330c4d1a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5054ms 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.4944ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5851ms 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.4127ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6913ms 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.4155ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90000000'), "firstname"=>"Allen", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2501ms 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('54901adb7735330c90010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.6360ms Redirected to http://test.host/admin/administrator Completed 302 Found in 15ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3740ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90020000'), "firstname"=>"Onie", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5601ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901adb7735330c90020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c90020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4561ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (15.1ms) Completed 500 Internal Server Error in 27ms -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90030000'), "firstname"=>"Sterling", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.8ms) Completed 500 Internal Server Error in 39ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90050000'), "firstname"=>"Ericka", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901adb7735330c90050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c90050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 12ms (Views: 11.0ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90060000'), "firstname"=>"Mikayla", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901adb7735330c90060000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c90060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms 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('54901adb7735330c90070000'), "name"=>"Aletha Purdy", "reference"=>"Mr. Cortez Weber", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c90080000'), "author_name"=>"Alfred Nikolaus", "content"=>["Sit voluptatem soluta odit nihil vero. Architecto dicta distinctio deleniti. Iusto aut qui ea quam. Debitis voluptas facilis nisi quam praesentium accusamus. Error eum quas voluptas dolorem natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901adb7735330c90070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90070000')} 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('54901adb7735330c90070000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901adb7735330c90090000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms Redirected to http://test.host/admin/products/54901adb7735330c90070000/comments/54901adb7735330c90090000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c900a0000'), "name"=>"Percy Kutch", "reference"=>"Elvera Beier", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c900b0000'), "author_name"=>"Ofelia Emmerich", "content"=>["Pariatur harum ducimus sint non et. Et voluptate explicabo. Autem doloremque quia illum quis sit quia. Quasi unde accusantium eveniet laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901adb7735330c900a0000", "id"=>"54901adb7735330c900b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900a0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901adb7735330c900b0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms Redirected to http://test.host/admin/products/54901adb7735330c900a0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c900c0000'), "name"=>"Ransom Rath", "reference"=>"Solon Kuhic", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c900d0000'), "author_name"=>"Marge Turcotte", "content"=>["Temporibus eius tempora neque cupiditate sit. Fuga autem aut esse. Sapiente autem maiores. Vel aliquid repellendus qui qui unde. Ut sit totam aliquid suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901adb7735330c900c0000", "id"=>"54901adb7735330c900d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (37.8ms) Completed 500 Internal Server Error in 42ms ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c900e0000'), "name"=>"Cornell Senger", "reference"=>"Dr. Belle Heidenreich", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c900f0000'), "author_name"=>"Leone Gerlach", "content"=>["Laboriosam illo possimus nihil. Quam architecto quibusdam aut delectus expedita. Rerum voluptatem fugit et. Eaque animi et possimus praesentium. Sint molestias perferendis fugiat distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901adb7735330c900e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c900e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90100000'), "name"=>"Danielle Runolfsdottir", "reference"=>"Camila Denesik", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c90110000'), "author_name"=>"Ms. Gabriel Parisian", "content"=>["Nesciunt quia qui tempora. Et deleniti pariatur architecto impedit recusandae dolor et. Est quis quisquam. Labore rerum neque consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7878ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901adb7735330c90100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.7ms) Completed 500 Internal Server Error in 40ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90130000'), "name"=>"Ms. Elena Heidenreich", "reference"=>"Lillie Bayer III", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c90140000'), "author_name"=>"Maxie Barrows", "content"=>["Sapiente nihil corrupti rerum. Quis aut nostrum expedita similique. Non asperiores et quisquam sit accusamus molestiae rerum. Ut sed saepe inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901adb7735330c90130000", "id"=>"54901adb7735330c90140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90150000'), "name"=>"Alvera Lind", "reference"=>"Chyna Crooks", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901adb7735330c90160000'), "author_name"=>"Ruthie Nader", "content"=>["Incidunt et maiores esse molestias ut. Sit recusandae officiis dicta. Repudiandae maiores magnam minus. Alias sed veniam ut ea occaecati. Consectetur sequi sed vitae pariatur laudantium aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901adb7735330c90160000", "product_id"=>"54901adb7735330c90150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90150000')} 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('54901adb7735330c90150000'), "comments._id"=>BSON::ObjectId('54901adb7735330c90160000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms Redirected to http://test.host/admin/products/54901adb7735330c90150000/comments/54901adb7735330c90160000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90170000'), "name"=>"Araceli Mertz", "reference"=>"Sarai Ondricka", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c90180000'), "firstname"=>"Deja", "lastname"=>"Zulauf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901adb7735330c90170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90170000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90170000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c90190000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms Redirected to http://test.host/admin/products/54901adb7735330c90170000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c901a0000'), "name"=>"Annamarie Wunsch", "reference"=>"Pauline Ledner", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c901b0000'), "firstname"=>"Sabina", "lastname"=>"Daugherty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901adb7735330c901b0000", "product_id"=>"54901adb7735330c901a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c901a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (37.6ms) Completed 500 Internal Server Error in 42ms -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c901c0000'), "name"=>"Miss Lorenza Kub", "reference"=>"Mr. Lemuel Mills", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c901d0000'), "firstname"=>"Ray", "lastname"=>"Vandervort"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901adb7735330c901c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c901c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (9.6ms) Completed 500 Internal Server Error in 13ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c901f0000'), "name"=>"Durward Gerhold", "reference"=>"Dexter Jaskolski DVM", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c90200000'), "firstname"=>"Ambrose", "lastname"=>"Ortiz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901adb7735330c90200000", "product_id"=>"54901adb7735330c901f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c901f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90210000'), "name"=>"Marcia Jenkins", "reference"=>"Serena Okuneva", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901adb7735330c90220000'), "firstname"=>"Ludwig", "lastname"=>"Macejkovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901adb7735330c90220000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901adb7735330c90210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901adb7735330c90210000/manager 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('54901adb7735330c90230000'), "name"=>"Lexie Monahan", "reference"=>"Maynard Cummerata", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1521ms 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('54901adb7735330c90240000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Redirected to http://test.host/admin/products/54901adb7735330c90240000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2032ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90250000'), "name"=>"Lelia Gibson", "reference"=>"Ms. Kiarra Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1768ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901adb7735330c90250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90250000')} 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={"_id"=>BSON::ObjectId('54901adb7735330c90250000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms 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.1977ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90260000'), "name"=>"Johanna Parisian", "reference"=>"Alessandro Swift", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3885ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901adb7735330c90260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c90260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (10.6ms) Completed 500 Internal Server Error in 15ms ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90270000'), "name"=>"Maxie Heller DDS", "reference"=>"Jordy Littel", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms 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.5618ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90280000'), "name"=>"Joesph Friesen DVM", "reference"=>"Ebony Lueilwitz", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (10.5ms) 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('54901adb7735330c902b0000'), "name"=>"Louisa Walter", "reference"=>"Sydni Von", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901adb7735330c902b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c902b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adb7735330c902c0000'), "name"=>"Gaetano Howell", "reference"=>"Maiya Orn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901adb7735330c902c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c902c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adb7735330c902c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3739ms Redirected to http://test.host/admin/products/54901adb7735330c902c0000 Completed 302 Found in 10ms ---------------------------------------------- Admin::UsersControllerTest: test_should_create ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901adb7735330c902d0000'), "firstname"=>"Angelita", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5970ms 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('54901adb7735330c902e0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Redirected to http://test.host/admin/users/54901adb7735330c902e0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3102ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901adb7735330c902f0000'), "firstname"=>"Bennett", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2596ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901adb7735330c902f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901adb7735330c902f0000')} 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('54901adb7735330c902f0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms 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.2309ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90300000'), "firstname"=>"Isabelle", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901adb7735330c90300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901adb7735330c90300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (11.0ms) Completed 500 Internal Server Error in 15ms ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90310000'), "firstname"=>"Rodrick", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms 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.4046ms 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('54901adb7735330c90320000'), "firstname"=>"Anabelle", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (11.1ms) 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('54901adb7735330c90340000'), "firstname"=>"Rocio", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901adb7735330c90340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901adb7735330c90340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90350000'), "firstname"=>"Danny", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901adb7735330c90350000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901adb7735330c90350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901adb7735330c90350000 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('54901adb7735330c90360000'), "firstname"=>"Vena", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2087ms 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('54901adb7735330c90370000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms 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.2482ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90380000'), "firstname"=>"Wilford", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901adb7735330c90380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c90380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.7ms) Completed 500 Internal Server Error in 42ms ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90390000'), "firstname"=>"Dimitri", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (38.3ms) Completed 500 Internal Server Error in 40ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c903b0000'), "firstname"=>"Isai", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901adb7735330c903b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c903b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901adb7735330c903c0000'), "firstname"=>"Sonia", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901adb7735330c903c0000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901adb7735330c903c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c903d0000'), "name"=>"Ms. Tyshawn Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c903d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c903e0000'), "name"=>"Randy Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c903e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c903f0000'), "name"=>"Hermina Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c903f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90400000'), "name"=>"Mrs. Bertrand Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90410000'), "name"=>"Katheryn Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90420000'), "name"=>"Arely Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90430000'), "name"=>"Miss Darwin Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90440000'), "name"=>"Luella Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90450000'), "name"=>"Autumn Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90460000'), "name"=>"Miss Jacklyn Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90470000'), "name"=>"Bridget Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90480000'), "name"=>"Dexter Blick Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90490000'), "name"=>"Jerrold Goldner II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904a0000'), "name"=>"Camren Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904b0000'), "name"=>"Miss Newell Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904c0000'), "name"=>"Corine Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904d0000'), "name"=>"Casper Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904e0000'), "name"=>"Alexys Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c904f0000'), "name"=>"General Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c904f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90500000'), "name"=>"Elaina Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90510000'), "name"=>"Janae Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90520000'), "name"=>"Nolan Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90530000'), "name"=>"Kathleen Connelly DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90540000'), "name"=>"Arnold Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90550000'), "name"=>"Mrs. Danyka Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90560000'), "name"=>"Isai Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90570000'), "name"=>"Kim Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adb7735330c90580000'), "name"=>"Mr. Pearl Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adb7735330c90580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90590000'), "name"=>"Michele Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905a0000'), "name"=>"Angel Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905b0000'), "name"=>"Miss Kellie DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905c0000'), "name"=>"Torey Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905d0000'), "name"=>"Eleanora Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905e0000'), "name"=>"Jedidiah Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c905f0000'), "name"=>"Miss Katharina Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c905f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90600000'), "name"=>"Angeline Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90610000'), "name"=>"Alice Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90620000'), "name"=>"Antonetta Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90630000'), "name"=>"Elliott Mitchell PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1905ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90640000'), "name"=>"Dedrick Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90650000'), "name"=>"Sigrid Thiel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90660000'), "name"=>"Marian Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90670000'), "name"=>"Ms. Jarrod Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90680000'), "name"=>"Ms. Jules Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90690000'), "name"=>"Ms. Colby Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906a0000'), "name"=>"Mary Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906b0000'), "name"=>"Cristal Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906c0000'), "name"=>"Davonte Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906d0000'), "name"=>"Ms. Chauncey Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906e0000'), "name"=>"Sim Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1891ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c906f0000'), "name"=>"Ellie Gibson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c906f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90700000'), "name"=>"Lindsey Kassulke III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90710000'), "name"=>"Mylene Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90720000'), "name"=>"Liliane Abshire IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90730000'), "name"=>"Ana Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90740000'), "name"=>"Eva Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90750000'), "name"=>"Reece Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90760000'), "name"=>"Dr. Garth Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90770000'), "name"=>"Maryse Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90780000'), "name"=>"Evan McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90790000'), "name"=>"Brody Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907a0000'), "name"=>"Murray Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907b0000'), "name"=>"Christophe Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907c0000'), "name"=>"Sean Graham II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907d0000'), "name"=>"Jakob Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907e0000'), "name"=>"Francesco Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c907f0000'), "name"=>"Halie Quigley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c907f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90800000'), "name"=>"Jade Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90810000'), "name"=>"Norberto Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90820000'), "name"=>"Miss Gail Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90830000'), "name"=>"Dr. Adolf Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90840000'), "name"=>"Norbert Wiza IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90850000'), "name"=>"Rene Lang DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 26.9241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90860000'), "name"=>"Miller Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90870000'), "name"=>"Jeromy Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90880000'), "name"=>"Cora Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90890000'), "name"=>"Genesis Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908a0000'), "name"=>"Whitney Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908b0000'), "name"=>"Lola Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908c0000'), "name"=>"Gianni Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908d0000'), "name"=>"Mrs. Clementina Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908e0000'), "name"=>"Flavie Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c908f0000'), "name"=>"Lilla Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c908f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90900000'), "name"=>"Dorian Champlin MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90910000'), "name"=>"Kristoffer Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90920000'), "name"=>"Lourdes Torp V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90930000'), "name"=>"Miss Nelson Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90940000'), "name"=>"Casper Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90950000'), "name"=>"Alfred Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90960000'), "name"=>"Mr. Missouri Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90970000'), "name"=>"Darion Mosciski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90980000'), "name"=>"Miss Maggie Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90990000'), "name"=>"Mrs. Willis Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909a0000'), "name"=>"Dylan Reynolds V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909b0000'), "name"=>"Andre DuBuque DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909c0000'), "name"=>"Josh Kertzmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2764ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909d0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms Redirected to http://test.host/categories/54901adc7735330c909d0000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2937ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909e0000'), "name"=>"Ismael Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2781ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901adc7735330c909e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c909e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c909e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2887ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c909f0000'), "name"=>"Myrtis O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901adc7735330c909f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c909f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c909f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5324ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (70.0ms) Completed 500 Internal Server Error in 79ms ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a00000'), "name"=>"Mrs. Susan Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306556665043] runtime: 0.1317ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3272ms Completed 200 OK in 23ms (Views: 21.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a10000'), "name"=>"Lila Orn III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306713087005] runtime: 0.1039ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2409ms Completed 200 OK in 11ms (Views: 10.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a20000'), "name"=>"Magnolia Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (50.7ms) Completed 500 Internal Server Error in 53ms ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a40000'), "name"=>"Calista Brown IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901adc7735330c90a40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c90a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a50000'), "name"=>"Alysson Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901adc7735330c90a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c90a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901adc7735330c90a50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901adc7735330c90a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms Redirected to http://test.host/categories/54901adc7735330c90a50000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a60000'), "name"=>"Nicholaus Gerlach", "reference"=>"Miss Karlee Kuphal", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90a70000'), "author_name"=>"Mrs. Benton Jacobs", "content"=>["Quia ipsam dignissimos ad voluptatum perspiciatis ducimus. Sit vitae et fugiat. Tempore officia officiis dignissimos velit quos saepe enim. Temporibus ipsa corrupti iste accusamus voluptatibus et. Voluptatem recusandae voluptate eos esse quo sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901adc7735330c90a60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90a60000')} 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('54901adc7735330c90a60000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901adc7735330c90a80000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Redirected to http://test.host/products/54901adc7735330c90a60000/comments/54901adc7735330c90a80000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90a90000'), "name"=>"Pete Roob", "reference"=>"Earlene Lindgren", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90aa0000'), "author_name"=>"Lauriane Rolfson Jr.", "content"=>["Ut ut cumque. Labore quis aperiam eligendi ullam a qui. Non vitae qui voluptate quae excepturi voluptates. Ut autem eum enim debitis. Quo ea qui."]}]}] 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('54901adc7735330c90a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901adc7735330c90a90000", "id"=>"54901adc7735330c90aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90a90000')} 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('54901adc7735330c90a90000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901adc7735330c90aa0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Redirected to http://test.host/products/54901adc7735330c90a90000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90ab0000'), "name"=>"Ismael Sawayn Jr.", "reference"=>"Cody Dietrich", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90ac0000'), "author_name"=>"Tyson Bradtke", "content"=>["Facilis et non. Unde ex pariatur aut modi. Eos rerum quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901adc7735330c90ab0000", "id"=>"54901adc7735330c90ac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (41.4ms) Completed 500 Internal Server Error in 46ms --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90ad0000'), "name"=>"Jacey Considine", "reference"=>"Charity Labadie", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90ae0000'), "author_name"=>"Audrey Reynolds", "content"=>["Eum officia tempore quam. Quod voluptas qui veniam dolorum asperiores autem dolores. Sint molestiae laborum qui dolore eum. Commodi quam voluptatem quia aliquam provident quis laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901adc7735330c90ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90af0000'), "name"=>"Berry Sipes I", "reference"=>"Kim Boyle", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90b00000'), "author_name"=>"Dr. Judd Parisian", "content"=>["Aut laudantium rerum reiciendis placeat rerum et. Laboriosam quos cumque nulla. Quos sed molestiae ad provident. Molestiae qui natus magnam occaecati nobis ut alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901adc7735330c90af0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90b10000'), "name"=>"Yazmin Satterfield", "reference"=>"Natalie Jones", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90b20000'), "author_name"=>"Zoe Rodriguez", "content"=>["Rerum velit quo laboriosam accusantium officia quia. Pariatur repudiandae doloribus dolores ut iusto iste. Neque accusamus ut id. Eaque ullam velit laborum deserunt officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901adc7735330c90b10000", "id"=>"54901adc7735330c90b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90b30000'), "name"=>"Haskell Larkin", "reference"=>"Ms. Kennedy Bashirian", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90b40000'), "author_name"=>"Gracie Maggio PhD", "content"=>["Sed quis id architecto. Nihil omnis accusamus minima voluptatum quia et adipisci. Et natus nulla qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901adc7735330c90b30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90b30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (41.7ms) Completed 500 Internal Server Error in 45ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90b60000'), "name"=>"Amber Stracke", "reference"=>"Jackeline Roob", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90b70000'), "author_name"=>"Mr. Abraham Brakus", "content"=>["Impedit deserunt omnis esse. Dicta odit minus. Debitis deleniti accusantium eligendi blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5958ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901adc7735330c90b60000", "id"=>"54901adc7735330c90b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4072ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90b80000'), "name"=>"Ezekiel O'Keefe I", "reference"=>"Mr. Nicolas Purdy", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901adc7735330c90b90000'), "author_name"=>"Yolanda Wintheiser", "content"=>["Quo nemo et saepe vel dolores. Sunt nobis rerum ut qui modi autem. Tempora eum id. Magnam commodi officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6007ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901adc7735330c90b90000", "product_id"=>"54901adc7735330c90b80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90b80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4141ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90b80000'), "comments._id"=>BSON::ObjectId('54901adc7735330c90b90000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6772ms Redirected to http://test.host/products/54901adc7735330c90b80000/comments/54901adc7735330c90b90000 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('54901adc7735330c90ba0000'), "firstname"=>"Lolita", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6776ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3051ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90bb0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms Redirected to http://test.host/admin/clients/54901adc7735330c90bb0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3303ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90bc0000'), "firstname"=>"Keshaun", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2956ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901adc7735330c90bc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90bc0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms 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.2991ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90bd0000'), "firstname"=>"Elmore", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901adc7735330c90bd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.3ms) Completed 500 Internal Server Error in 48ms -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90be0000'), "firstname"=>"Adrienne", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms 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('54901adc7735330c90bf0000'), "firstname"=>"Eleazar", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (69.9ms) Completed 500 Internal Server Error in 73ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90c10000'), "firstname"=>"Keaton", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901adc7735330c90c10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901adc7735330c90c20000'), "firstname"=>"Alexanne", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901adc7735330c90c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4139ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c20000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms Redirected to http://test.host/admin/clients/54901adc7735330c90c20000 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('54901adc7735330c90c30000'), "firstname"=>"Sigmund", "lastname"=>"Oberbrunner"}] 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.2980ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90c40000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Redirected to http://test.host/clients/54901adc7735330c90c40000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3110ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90c50000'), "firstname"=>"Zion", "lastname"=>"Mante"}] 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=>"clients", :query=>{}} runtime: 0.2755ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901adc7735330c90c50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms 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.2521ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90c60000'), "firstname"=>"Gloria", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901adc7735330c90c60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (45.7ms) Completed 500 Internal Server Error in 48ms -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90c70000'), "firstname"=>"Stan", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6218ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5179ms 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('54901adc7735330c90c80000'), "firstname"=>"Vanessa", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7607ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (42.8ms) 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('54901adc7735330c90ca0000'), "firstname"=>"Kelsie", "lastname"=>"Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901adc7735330c90ca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54901adc7735330c90cb0000'), "firstname"=>"Rene", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901adc7735330c90cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901adc7735330c90cb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms Redirected to http://test.host/clients/54901adc7735330c90cb0000 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('54901adc7735330c90cc0000'), "name"=>"Eula Barton", "reference"=>"Freddie Bauch", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901adc7735330c90cd0000'), "firstname"=>"Evans", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901adc7735330c90cc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90cc0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90cc0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901adc7735330c90ce0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Redirected to http://test.host/products/54901adc7735330c90cc0000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901adc7735330c90cf0000'), "name"=>"Curtis Murphy", "reference"=>"Felicia Gleason DDS", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901adc7735330c90d00000'), "firstname"=>"Jovan", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9244ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901adc7735330c90d00000", "product_id"=>"54901adc7735330c90cf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901adc7735330c90cf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3849ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.5ms) Completed 500 Internal Server Error in 48ms ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90d10000'), "name"=>"Mr. Dino Lindgren", "reference"=>"Danial Weissnat", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54901add7735330c90d20000'), "firstname"=>"Elody", "lastname"=>"Welch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901add7735330c90d10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90d10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (43.1ms) Completed 500 Internal Server Error in 47ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90d40000'), "name"=>"Annie Bayer", "reference"=>"Freeman Kautzer", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901add7735330c90d50000'), "firstname"=>"Modesta", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5970ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901add7735330c90d50000", "product_id"=>"54901add7735330c90d40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90d40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90d60000'), "name"=>"Mr. Shanny Parker", "reference"=>"Laurel Runte I", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901add7735330c90d70000'), "firstname"=>"Jamaal", "lastname"=>"Halvorson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901add7735330c90d70000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901add7735330c90d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Unpermitted parameters: name Redirected to http://test.host/products/54901add7735330c90d60000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90d80000'), "name"=>"Rebeka Greenholt", "reference"=>"Marge Streich PhD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90d90000'), "name"=>"Emilio McClure", "reference"=>"Mrs. Adelia Bergstrom", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90da0000'), "name"=>"Reggie Marks", "reference"=>"Vinnie Schmitt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90db0000'), "name"=>"Lela Cole", "reference"=>"Evan Smith", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90dc0000'), "name"=>"Elna Kunde", "reference"=>"Evangeline Dickens", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90dd0000'), "name"=>"Lyric Willms", "reference"=>"Ted Mann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2089ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90de0000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Redirected to http://test.host/products/54901add7735330c90de0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2876ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90df0000'), "name"=>"Magnolia Bernier", "reference"=>"Eula Batz II", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.2153ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901add7735330c90df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90df0000')} 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={"_id"=>BSON::ObjectId('54901add7735330c90df0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms 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.2222ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e00000'), "name"=>"Fidel Davis", "reference"=>"Miss Omari Morar", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901add7735330c90e00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90e00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.5ms) Completed 500 Internal Server Error in 37ms --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e10000'), "name"=>"Carson VonRueden", "reference"=>"Miss Julianne Stokes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5150ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280720021346] runtime: 0.1131ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2450ms Completed 200 OK in 19ms (Views: 18.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e20000'), "name"=>"Payton Gorczany", "reference"=>"Ms. Brooke Padberg", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e30000'), "name"=>"HelloWorld", "reference"=>"Ida Jakubowski DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e40000'), "name"=>"value", "reference"=>"Gail Harber", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4625ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3323ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3344ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2974ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2205ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2294ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1918ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1730ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e50000'), "name"=>"Francis Schmitt", "reference"=>"Lela Frami", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643475780] runtime: 0.0988ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2225ms Completed 200 OK in 16ms (Views: 15.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279263280021] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658042514] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232060650] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281212060977] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903738950] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762248117] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583525239] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280212907332] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279404964971] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841065197] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279444081873] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280232795157] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888187311] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710834981] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280819019058] runtime: 0.0771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070740176] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280263282478] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613462429] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281163472474] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816224902] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279924063913] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713217171] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886666241] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858752505] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281208306857] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193170290] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280588901177] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279914397681] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169904554] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926085524] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279351279793] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280462015267] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645141818] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281131747947] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993033098] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280960420485] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280369943301] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771355351] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280700257811] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049903125] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279603382039] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280691265109] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543453576] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280107586099] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891931245] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280160117392] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279705532770] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280835626924] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280505478256] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280437099439] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629108495] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555933325] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095319115] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622241480] runtime: 0.0737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823566124] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762968193] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996596115] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281245383342] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279271637021] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355196470] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280505238797] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365588164] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279550533214] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280935263174] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124571591] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857012541] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885459841] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280522422622] runtime: 0.1061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281315825702] runtime: 0.0982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524802285] runtime: 0.1328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488479232] runtime: 0.1149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224002446] runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925332884] runtime: 0.0967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458555617] runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279709939381] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862925754] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279671128527] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764030048] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280940248657] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424388168] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224569965] runtime: 0.0405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279835424196] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279408697868] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314762579] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280205991481] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316357082] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151423173] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280759704364] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186692369] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280758081737] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280674681257] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518852046] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191595507] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280281940745] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279270526058] runtime: 0.0795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877487763] runtime: 0.0810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.8877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154959842] runtime: 0.1023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279504060260] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281212981285] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279994990411] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280896519072] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800439884] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279905764081] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279599110888] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876090335] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466586605] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280287150502] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280883995545] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846833922] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280049032499] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748070819] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601117464] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279760389473] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279712404663] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320630980] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626896082] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678628639] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233101120] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147126173] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446578360] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841476710] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137745228] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279872454072] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336034194] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481110142] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280822098478] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737926818] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117699068] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698828640] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546736714] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176671168] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260882746] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320917878] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279409250971] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280223447926] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280452353534] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885154673] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730050849] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279504051642] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343596686] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671259036] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865774411] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976413525] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280585109913] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281069445609] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280221589514] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280131938606] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260415579] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279963102013] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279184678052] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280930232005] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911149719] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280039093801] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990064069] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211186052] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842429650] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279705595960] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279383783472] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416516753] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279868950285] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031032170] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280547073670] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581135576] runtime: 0.0478ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e60000'), "name"=>"Eugenia Beahan", "reference"=>"Doug Littel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3163ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2159ms Completed 200 OK in 6ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90e70000'), "name"=>"Karli Zemlak V", "reference"=>"Jordy Beatty Sr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279790746608] runtime: 0.0668ms Completed 200 OK in 5ms (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('54901add7735330c90e80000'), "name"=>"Imani Ledner", "reference"=>"Mr. Berniece Veum", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901add7735330c90e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms 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('54901add7735330c90e90000'), "name"=>"Leonor Reynolds", "reference"=>"Nolan Monahan PhD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54901add7735330c90eb0000'), "name"=>"Noelia Schaefer DDS", "reference"=>"Michele Beer III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.5883ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901add7735330c90eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90ec0000'), "name"=>"Miss Tristian Ziemann", "reference"=>"Annabell Emmerich", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2006ms Completed 200 OK in 7ms (Views: 4.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90ed0000'), "name"=>"Zoila Torp", "reference"=>"Kaitlin Fay", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3185ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2175ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90ee0000'), "name"=>"Antoinette Ernser", "reference"=>"Deontae Reichert I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms 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('54901add7735330c90ef0000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2144ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90f00000'), "name"=>"Brooklyn Schuppe", "reference"=>"Woodrow Goodwin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901add7735330c90f00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f00000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms 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('54901add7735330c90f10000'), "name"=>"William Beahan Jr.", "reference"=>"Wilhelm Cormier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms 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('54901add7735330c90f30000'), "name"=>"Joshua Ullrich", "reference"=>"Cali Gusikowski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901add7735330c90f30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f30000')} 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('54901add7735330c90f30000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms 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('54901add7735330c90f40000'), "name"=>"Mrs. Shakira Pfeffer", "reference"=>"Maurice Towne PhD", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901add7735330c90f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Redirected to http://test.host/products/54901add7735330c90f40000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90f70000'), "name"=>"Arianna Fahey", "reference"=>"Roma McLaughlin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90f50000'), "author_name"=>"Lourdes Larson", "content"=>["Esse suscipit dolores natus. Id consequatur voluptatem inventore ut soluta. Nemo excepturi atque quam in sint qui."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90f60000'), "author_name"=>"Josue Vandervort II", "content"=>["Consequuntur voluptates maiores dolor dolorem corporis atque. Eum aliquam sint vitae quod. Sit voluptatem iste consequatur ut neque blanditiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901add7735330c90f70000", "comment_id"=>"54901add7735330c90f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f70000'), "comments._id"=>BSON::ObjectId('54901add7735330c90f50000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901add7735330c90f80000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4799ms Redirected to http://test.host/products/54901add7735330c90f70000/comments/54901add7735330c90f50000/comments/54901add7735330c90f80000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90f70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90fb0000'), "name"=>"Laurel Bahringer", "reference"=>"Bernie Mayert I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90f90000'), "author_name"=>"Tyler Kautzer", "content"=>["Ab veniam quia itaque. Quaerat neque delectus ullam. Eligendi quo rerum dolore architecto molestiae unde quia."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90fa0000'), "author_name"=>"Golden Cartwright", "content"=>["Facere occaecati iste aut sunt autem voluptatum. Sit dignissimos est ut. Ut sit inventore dolorem quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901add7735330c90fb0000", "comment_id"=>"54901add7735330c90f90000", "id"=>"54901add7735330c90fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4346ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90fb0000'), "comments._id"=>BSON::ObjectId('54901add7735330c90f90000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901add7735330c90fa0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5839ms Redirected to http://test.host/products/54901add7735330c90fb0000/comments/54901add7735330c90f90000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90fe0000'), "name"=>"Jamie Bednar Jr.", "reference"=>"Miss Wyatt Harber", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90fc0000'), "author_name"=>"Orville Stokes", "content"=>["Quod hic nisi molestias et voluptatem tempora. Vitae expedita ea doloremque non in aut dolorum. Quae rerum vel molestiae vitae."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90fd0000'), "author_name"=>"Alfredo Olson", "content"=>["Facere qui sed perferendis magnam reiciendis. Eaque facere ratione quas velit qui sint nihil. Vel ut unde enim. Sint nihil repellendus explicabo quis sint ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901add7735330c90fe0000", "comment_id"=>"54901add7735330c90fc0000", "id"=>"54901add7735330c90fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4187ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (45.9ms) Completed 500 Internal Server Error in 51ms ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90010100'), "name"=>"Anastacio Renner", "reference"=>"Amber Johnson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90ff0000'), "author_name"=>"Kyler Wehner", "content"=>["Corrupti ut ut exercitationem. Voluptatem accusamus perspiciatis dolores possimus rerum. Nesciunt fugiat perspiciatis quod atque."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90000100'), "author_name"=>"Esta Durgan", "content"=>["Occaecati similique ea neque ullam. Et ipsa dolorem enim aspernatur. Magni iusto voluptate excepturi atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901add7735330c90010100", "comment_id"=>"54901add7735330c90ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90040100'), "name"=>"Dominique Walsh", "reference"=>"Kirsten Waelchi", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90020100'), "author_name"=>"Mr. Art Bernhard", "content"=>["Rerum distinctio soluta. Doloribus laborum ut facere aliquam est asperiores sit. Sunt aliquam aut est iusto officia quidem ut."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90030100'), "author_name"=>"Giovanna Cartwright", "content"=>["Dolorum dolor magnam illum sed eos ut. Vero eum officiis distinctio ad. Vel ratione quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901add7735330c90040100", "comment_id"=>"54901add7735330c90020100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90070100'), "name"=>"Brooke Gutmann", "reference"=>"Dedrick Becker", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90050100'), "author_name"=>"Shanon Jones", "content"=>["Non quos omnis labore totam et voluptatibus atque. Adipisci aut qui natus reprehenderit labore quidem. Autem odit unde qui cumque quae voluptates."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90060100'), "author_name"=>"Gregorio Cummings", "content"=>["Maiores vel aliquid omnis voluptas. Veritatis ut deleniti nesciunt. Provident ab vero optio dolor quia totam. Ut eligendi earum rerum. Quis debitis omnis voluptatibus natus nostrum ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901add7735330c90070100", "comment_id"=>"54901add7735330c90050100", "id"=>"54901add7735330c90060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c900a0100'), "name"=>"Mr. Burnice Witting", "reference"=>"Mark Beer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90080100'), "author_name"=>"Shana Emard V", "content"=>["Aut rerum sed molestiae dicta molestias qui exercitationem. Qui placeat at labore sit necessitatibus. Iste voluptas voluptates consequuntur mollitia veritatis."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90090100'), "author_name"=>"Michale Runte", "content"=>["Reiciendis nobis quae dolorum dolorem. Nihil voluptas sed iusto et dolor unde. Velit ullam aut iure cumque reprehenderit. Reprehenderit quis consequatur iusto id rerum occaecati. Vero dolor eius alias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901add7735330c900a0100", "comment_id"=>"54901add7735330c90080100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c900a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (74.0ms) Completed 500 Internal Server Error in 78ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c900e0100'), "name"=>"Mr. Samara Weber", "reference"=>"Wilson O'Kon", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c900c0100'), "author_name"=>"Isaias Crona Sr.", "content"=>["Nobis error provident et. Repudiandae repellat in. Molestias perferendis odit amet est reprehenderit omnis non. Sunt non voluptatibus aut. Occaecati in nihil."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c900d0100'), "author_name"=>"Laney Beier", "content"=>["Tenetur ipsum commodi aperiam quo. Sint et et labore sequi est ut vel. Sed eaque qui et consectetur dolorem officiis. Et officiis incidunt ex provident facilis expedita ab. Fugit impedit ut qui soluta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901add7735330c900e0100", "comment_id"=>"54901add7735330c900c0100", "id"=>"54901add7735330c900d0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c900e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 4.3ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901add7735330c90110100'), "name"=>"Christiana Orn PhD", "reference"=>"Wellington Lemke DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c900f0100'), "author_name"=>"Alba Boyle", "content"=>["Sunt unde consequatur voluptas ipsa ab accusantium. Consequatur eum minima nam. Maiores voluptatem id possimus tenetur."], "comments"=>[{"_id"=>BSON::ObjectId('54901add7735330c90100100'), "author_name"=>"Gilbert Monahan", "content"=>["Enim omnis vel blanditiis. Ut omnis facere. Accusamus enim fugiat occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901add7735330c90100100", "product_id"=>"54901add7735330c90110100", "comment_id"=>"54901add7735330c900f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90110100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3958ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901add7735330c90110100'), "comments._id"=>BSON::ObjectId('54901add7735330c900f0100'), "comments.0.comments._id"=>BSON::ObjectId('54901add7735330c90100100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5798ms Redirected to http://test.host/products/54901add7735330c90110100/comments/54901add7735330c900f0100/comments/54901add7735330c90100100 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('54901add7735330c90120100'), "firstname"=>"Sedrick", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2210ms 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('54901add7735330c90130100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3519ms Redirected to http://test.host/users/54901add7735330c90130100 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4999ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901add7735330c90140100'), "firstname"=>"Giovanni", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7372ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4634ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901add7735330c90140100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901add7735330c90140100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901add7735330c90140100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6101ms 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.5067ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901add7735330c90150100'), "firstname"=>"Trace", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5673ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901add7735330c90150100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901add7735330c90150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5866ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (106.4ms) Completed 500 Internal Server Error in 115ms ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901ade7735330c90160100'), "firstname"=>"Clement", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms 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.4906ms 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('54901ade7735330c90170100'), "firstname"=>"Gillian", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (79.0ms) Completed 500 Internal Server Error in 81ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901ade7735330c90190100'), "firstname"=>"Theresia", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901ade7735330c90190100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901ade7735330c90190100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54901ade7735330c901a0100'), "firstname"=>"Domingo", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901ade7735330c901a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901ade7735330c901a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms Unpermitted parameters: name Redirected to http://test.host/users/54901ade7735330c901a0100 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.3526ms 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.3357ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms 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.2823ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms 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.2806ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1000000'), "firstname"=>"Forest", "lastname"=>"Hegmann"}] 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=>"administrators", :query=>{}} runtime: 0.2255ms 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('54901b137735330cd1010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms 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.1931ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1020000'), "firstname"=>"Thaddeus", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901b137735330cd1020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b137735330cd1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1030000'), "firstname"=>"Eveline", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1040000'), "firstname"=>"Amira", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.1707ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901b137735330cd1040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b137735330cd1040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1050000'), "firstname"=>"Foster", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901b137735330cd1050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b137735330cd1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms 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('54901b137735330cd1060000'), "name"=>"Miss Viola Little", "reference"=>"Lillian Greenholt", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd1070000'), "author_name"=>"Henderson Schiller", "content"=>["Laudantium aliquid omnis consequatur. Deserunt labore aut nobis. Corporis sapiente ad id autem. Quasi iure sed velit facere occaecati quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b137735330cd1060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1060000')} 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('54901b137735330cd1060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b137735330cd1080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Redirected to http://test.host/admin/products/54901b137735330cd1060000/comments/54901b137735330cd1080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1090000'), "name"=>"Mrs. Grace Hilpert", "reference"=>"Jamir Rempel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd10a0000'), "author_name"=>"Kacie Kozey", "content"=>["Ut modi nam dignissimos nemo. Natus et magnam asperiores molestiae. Fuga aliquid ut nihil qui non vero autem. In voluptatum nesciunt. Voluptatum eum corrupti unde animi dolor in ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901b137735330cd1090000", "id"=>"54901b137735330cd10a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b137735330cd10a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Redirected to http://test.host/admin/products/54901b137735330cd1090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd10b0000'), "name"=>"Brendon Rau", "reference"=>"Ms. Elton Hahn", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd10c0000'), "author_name"=>"Barbara Collins", "content"=>["Dolore occaecati officiis sit. Qui consequatur molestiae qui tenetur sequi corrupti qui. Repudiandae adipisci temporibus veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901b137735330cd10b0000", "id"=>"54901b137735330cd10c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd10d0000'), "name"=>"Jailyn Gerlach", "reference"=>"Mr. Adeline Volkman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd10e0000'), "author_name"=>"Elvera Jast DVM", "content"=>["Vel laudantium aut magni officia. Consequatur molestias porro natus qui et distinctio. Quidem sint qui eos. Non enim et illum nihil. Iure molestiae dicta porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6378ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901b137735330cd10d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd10f0000'), "name"=>"Graciela Cormier", "reference"=>"Roel McCullough", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd1100000'), "author_name"=>"Webster Gutkowski", "content"=>["Dolorem non veritatis. Dolorem dolorem labore. Repellat illo esse voluptas. Maxime voluptas provident aut est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901b137735330cd10f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1110000'), "name"=>"Mrs. Vincenza Blanda", "reference"=>"Aurelia Hodkiewicz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd1120000'), "author_name"=>"Miss Henry Douglas", "content"=>["Aut minima iure. Libero omnis eos et. Omnis beatae itaque reiciendis ut suscipit recusandae quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901b137735330cd1110000", "id"=>"54901b137735330cd1120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1130000'), "name"=>"Mrs. Dana Ebert", "reference"=>"Richie Murazik", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b137735330cd1140000'), "author_name"=>"Sigrid Shanahan", "content"=>["Veniam alias explicabo atque. Odit quis necessitatibus corporis. Occaecati nihil iure sit dolorem sed. Consequatur temporibus enim maiores inventore in nemo. Dolore sunt error hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b137735330cd1140000", "product_id"=>"54901b137735330cd1130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1130000')} 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('54901b137735330cd1130000'), "comments._id"=>BSON::ObjectId('54901b137735330cd1140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Redirected to http://test.host/admin/products/54901b137735330cd1130000/comments/54901b137735330cd1140000 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('54901b137735330cd1150000'), "name"=>"Alvina Davis", "reference"=>"Mr. Hailee Wilkinson", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd1160000'), "firstname"=>"Christy", "lastname"=>"Zieme"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901b137735330cd1150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd1170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms Redirected to http://test.host/admin/products/54901b137735330cd1150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1180000'), "name"=>"Ian Kris DDS", "reference"=>"Elenora Kshlerin", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd1190000'), "firstname"=>"Karianne", "lastname"=>"O'Connell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901b137735330cd1190000", "product_id"=>"54901b137735330cd1180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd11a0000'), "name"=>"Ross Lind", "reference"=>"Amos Jaskolski", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd11b0000'), "firstname"=>"Muriel", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901b137735330cd11a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd11c0000'), "name"=>"Noble Ebert", "reference"=>"Harmony Gerhold", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd11d0000'), "firstname"=>"Ollie", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901b137735330cd11d0000", "product_id"=>"54901b137735330cd11c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd11e0000'), "name"=>"Mrs. Maia Sipes", "reference"=>"Mina Pfeffer Jr.", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901b137735330cd11f0000'), "firstname"=>"Oscar", "lastname"=>"Schmeler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901b137735330cd11f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901b137735330cd11e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901b137735330cd11e0000/manager 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('54901b137735330cd1200000'), "name"=>"Annabelle Cassin", "reference"=>"Shyann Wuckert", "quantity"=>3}] 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.1638ms 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('54901b137735330cd1210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Redirected to http://test.host/admin/products/54901b137735330cd1210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2100ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1220000'), "name"=>"Shaylee Beahan", "reference"=>"Donny Gorczany", "quantity"=>3}] 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.1601ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901b137735330cd1220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms 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.2763ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1230000'), "name"=>"Jewell Mueller", "reference"=>"Mrs. Alfred Aufderhar", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901b137735330cd1230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b137735330cd1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b137735330cd1240000'), "name"=>"Rogelio Cartwright", "reference"=>"Mr. Mavis Goldner", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms 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.5257ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1250000'), "name"=>"Melyna Pfeffer", "reference"=>"Trisha Parker", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1280000'), "name"=>"Opal Hand", "reference"=>"Toney Prosacco", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901b147735330cd1280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1290000'), "name"=>"Fae Swaniawski Sr.", "reference"=>"Abigail Ankunding IV", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b147735330cd1290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1290000')} 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('54901b147735330cd1290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Redirected to http://test.host/admin/products/54901b147735330cd1290000 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('54901b147735330cd12a0000'), "firstname"=>"Giovanni", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1839ms 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('54901b147735330cd12b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms Redirected to http://test.host/admin/users/54901b147735330cd12b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1958ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b147735330cd12c0000'), "firstname"=>"Abner", "lastname"=>"Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms 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"=>"54901b147735330cd12c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b147735330cd12c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b147735330cd12c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms 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('54901b147735330cd12d0000'), "firstname"=>"Adelle", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901b147735330cd12d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b147735330cd12d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b147735330cd12e0000'), "firstname"=>"Brannon", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms 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.2918ms 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('54901b147735330cd12f0000'), "firstname"=>"Ernie", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54901b147735330cd1300000'), "firstname"=>"Sienna", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901b147735330cd1300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b147735330cd1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1310000'), "firstname"=>"Retta", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901b147735330cd1310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b147735330cd1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901b147735330cd1310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1320000'), "firstname"=>"Stanton", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1884ms 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('54901b147735330cd1330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms 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('54901b147735330cd1340000'), "firstname"=>"Lia", "lastname"=>"Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901b147735330cd1340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b147735330cd1340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1350000'), "firstname"=>"Gustave", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7089ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1360000'), "firstname"=>"Laurence", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901b147735330cd1360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b147735330cd1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1370000'), "firstname"=>"Emiliano", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901b147735330cd1370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b147735330cd1370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1380000'), "name"=>"Tyler Mosciski"}] 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={"category_id"=>BSON::ObjectId('54901b147735330cd1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1390000'), "name"=>"Christian Friesen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13a0000'), "name"=>"Danika Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13b0000'), "name"=>"Ms. Karolann Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13c0000'), "name"=>"Rosie Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13d0000'), "name"=>"Theresa Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13e0000'), "name"=>"Ewell Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd13f0000'), "name"=>"Marisol Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd13f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1400000'), "name"=>"Micaela D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1410000'), "name"=>"Nona Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1420000'), "name"=>"Mrs. Myrtice Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1430000'), "name"=>"Jennyfer Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1440000'), "name"=>"Mrs. Malika Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1450000'), "name"=>"Miss Issac McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1460000'), "name"=>"Ms. Teresa Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1470000'), "name"=>"Janessa Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1480000'), "name"=>"Dr. Davin Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1490000'), "name"=>"Alek Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14a0000'), "name"=>"Pattie Swift PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14b0000'), "name"=>"Trystan Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14c0000'), "name"=>"Hailey Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14d0000'), "name"=>"Vincenza Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14e0000'), "name"=>"Georgette Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd14f0000'), "name"=>"Brad Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd14f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1500000'), "name"=>"Samara Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1510000'), "name"=>"Norwood Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1520000'), "name"=>"Ismael McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1530000'), "name"=>"Rosamond Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1540000'), "name"=>"William McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1550000'), "name"=>"Lisa Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1560000'), "name"=>"Harrison Vandervort DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1570000'), "name"=>"Elise Stracke III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1580000'), "name"=>"Elvie Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1590000'), "name"=>"Presley Senger IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15a0000'), "name"=>"Nikolas Purdy Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15b0000'), "name"=>"Lew Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15c0000'), "name"=>"Floyd Legros Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15d0000'), "name"=>"Finn Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15e0000'), "name"=>"Dr. Carolyn Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd15f0000'), "name"=>"Arlo Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd15f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1600000'), "name"=>"Alvina Rogahn DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1610000'), "name"=>"Dayne Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1620000'), "name"=>"Kiara Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1630000'), "name"=>"Libbie Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1640000'), "name"=>"Mateo Spencer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1650000'), "name"=>"Stanford Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1660000'), "name"=>"Hayley Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1670000'), "name"=>"Gregoria Stroman Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1680000'), "name"=>"Dr. Weston Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1690000'), "name"=>"Dr. Ally Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16a0000'), "name"=>"Jaida Rau DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16b0000'), "name"=>"Diego Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16c0000'), "name"=>"Delphine Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16d0000'), "name"=>"Alvera Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16e0000'), "name"=>"Haley Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd16f0000'), "name"=>"Mrs. Derrick Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd16f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1700000'), "name"=>"Lucius Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1710000'), "name"=>"Christian McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1720000'), "name"=>"Irma Runolfsson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1730000'), "name"=>"Aron Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1740000'), "name"=>"Lorenzo Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1750000'), "name"=>"Ms. Manuel Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1760000'), "name"=>"Miss Edd Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1770000'), "name"=>"Letitia Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1780000'), "name"=>"Kadin Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1790000'), "name"=>"Amelia Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17a0000'), "name"=>"Mason Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17b0000'), "name"=>"Dr. Ewell Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17c0000'), "name"=>"Miss Madilyn Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17d0000'), "name"=>"Gloria Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17e0000'), "name"=>"Miss Juvenal Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd17f0000'), "name"=>"May Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd17f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1800000'), "name"=>"Lacey Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1810000'), "name"=>"Kelvin Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1820000'), "name"=>"Tia Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1830000'), "name"=>"Telly Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1840000'), "name"=>"Frances Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1850000'), "name"=>"Mrs. Tristian McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1860000'), "name"=>"Melissa Satterfield IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1870000'), "name"=>"Destini Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1880000'), "name"=>"Dahlia Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1890000'), "name"=>"Dr. Jaquan Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18a0000'), "name"=>"Ms. Isabel O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18b0000'), "name"=>"Cole Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18c0000'), "name"=>"Bernardo Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18d0000'), "name"=>"Abigale Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18e0000'), "name"=>"Mrs. Gladys Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd18f0000'), "name"=>"Sydni Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd18f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1900000'), "name"=>"Elvis Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1910000'), "name"=>"Carlos Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1920000'), "name"=>"Alfonso Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1930000'), "name"=>"Rose Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1940000'), "name"=>"Leone Blanda I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1950000'), "name"=>"Eveline Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1960000'), "name"=>"Pinkie Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1970000'), "name"=>"Marietta Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2329ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms Redirected to http://test.host/categories/54901b147735330cd1980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2572ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1990000'), "name"=>"Mr. Ceasar Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2449ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901b147735330cd1990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd1990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7129ms Redirected to http://test.host/categories Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3265ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd19a0000'), "name"=>"Jett Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901b147735330cd19a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 10ms (Views: 9.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd19b0000'), "name"=>"Joanie Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305410918872] runtime: 0.1083ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3550ms Completed 200 OK in 16ms (Views: 15.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd19c0000'), "name"=>"Vincenza Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305765867106] runtime: 0.0836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2591ms Completed 200 OK in 9ms (Views: 8.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd19d0000'), "name"=>"Janelle Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd19f0000'), "name"=>"Dr. Vivien Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901b147735330cd19f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1a00000'), "name"=>"Arno Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.4754ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901b147735330cd1a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b147735330cd1a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b147735330cd1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms Redirected to http://test.host/categories/54901b147735330cd1a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1a10000'), "name"=>"Estella Kunde", "reference"=>"Alverta Eichmann I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1a20000'), "author_name"=>"Zula Russel", "content"=>["Non et qui adipisci iure. Maxime sit et eaque at hic atque quae. Dignissimos repudiandae ea consequatur hic. Consequatur aut doloribus et incidunt unde quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b147735330cd1a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a10000')} 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('54901b147735330cd1a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b147735330cd1a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Redirected to http://test.host/products/54901b147735330cd1a10000/comments/54901b147735330cd1a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1a40000'), "name"=>"Lexi Blick", "reference"=>"Helena Cummerata", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1a50000'), "author_name"=>"Adelbert Daniel", "content"=>["Mollitia quaerat consequatur eaque aliquam reprehenderit autem et. Repellendus est occaecati perspiciatis corrupti nostrum. Illo nesciunt nihil. Tenetur fugit enim architecto nam omnis qui velit. Et nam explicabo consequatur eveniet non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901b147735330cd1a40000", "id"=>"54901b147735330cd1a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b147735330cd1a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms Redirected to http://test.host/products/54901b147735330cd1a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1a60000'), "name"=>"Mrs. Caroline Schowalter", "reference"=>"Reece Bruen", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1a70000'), "author_name"=>"Bruce McLaughlin", "content"=>["Et ut dolor officia. Dolorum voluptas non saepe. Necessitatibus odio ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901b147735330cd1a60000", "id"=>"54901b147735330cd1a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1a80000'), "name"=>"Filomena Fay", "reference"=>"Ollie Barton II", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1a90000'), "author_name"=>"Dr. Lindsey Kautzer", "content"=>["Et sapiente qui. Assumenda soluta accusantium aliquam quia. Delectus ea quod est saepe. Officiis ipsam cumque. Excepturi consequatur fugit dolores voluptates tenetur quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901b147735330cd1a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1aa0000'), "name"=>"Devante Hahn", "reference"=>"Emmie Hyatt DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1ab0000'), "author_name"=>"Izabella Eichmann", "content"=>["Veritatis aliquid iusto error dolor provident quis tempore. Vitae vel harum consectetur quia. Quia ut fuga error at incidunt dicta et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901b147735330cd1aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1ac0000'), "name"=>"Isabel Hayes", "reference"=>"Ali Leannon", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1ad0000'), "author_name"=>"Dr. Corene Purdy", "content"=>["Aperiam incidunt et commodi. Blanditiis sed sapiente distinctio necessitatibus consectetur. Iste minima et ducimus eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901b147735330cd1ac0000", "id"=>"54901b147735330cd1ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1ae0000'), "name"=>"Mr. Kobe Waelchi", "reference"=>"Kara Veum", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1af0000'), "author_name"=>"Miss Andre Rowe", "content"=>["Et autem sit. Rerum tempora dolores. Illum consectetur velit nisi autem. Nemo quas error animi voluptates eligendi facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901b147735330cd1ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1b00000'), "name"=>"Maegan Jenkins V", "reference"=>"Estel Kozey III", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1b10000'), "author_name"=>"Timmothy Runolfsdottir", "content"=>["Neque totam non fuga repellat atque quia. Quibusdam omnis repellat dolorum dolor quis. Facilis repudiandae quod maxime unde voluptatem et alias. Totam neque eveniet quam delectus in iure. Quo voluptas iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901b147735330cd1b00000", "id"=>"54901b147735330cd1b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1b20000'), "name"=>"Delphine Windler", "reference"=>"Miss Martina Casper", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b147735330cd1b30000'), "author_name"=>"Florida Maggio", "content"=>["Nihil unde voluptatem quas. Dolor explicabo et veritatis sint expedita. Labore alias aut eveniet voluptate. Sed et et ducimus iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b147735330cd1b30000", "product_id"=>"54901b147735330cd1b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1b20000'), "comments._id"=>BSON::ObjectId('54901b147735330cd1b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms Redirected to http://test.host/products/54901b147735330cd1b20000/comments/54901b147735330cd1b30000 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('54901b147735330cd1b40000'), "firstname"=>"Joanie", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6389ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3362ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms Redirected to http://test.host/admin/clients/54901b147735330cd1b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3284ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1b60000'), "firstname"=>"Susie", "lastname"=>"Walter"}] 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=>"clients", :query=>{}} runtime: 0.2155ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901b147735330cd1b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms 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.3036ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1b70000'), "firstname"=>"Kristian", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901b147735330cd1b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('54901b147735330cd1b80000'), "firstname"=>"Vita", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.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.3711ms 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('54901b147735330cd1b90000'), "firstname"=>"Zella", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4271ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901b147735330cd1ba0000'), "firstname"=>"Kiera", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901b147735330cd1ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('54901b147735330cd1bb0000'), "firstname"=>"Lindsay", "lastname"=>"Tromp"}] 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"=>"54901b147735330cd1bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms Redirected to http://test.host/admin/clients/54901b147735330cd1bb0000 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('54901b147735330cd1bc0000'), "firstname"=>"Otilia", "lastname"=>"Stamm"}] 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.1773ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Redirected to http://test.host/clients/54901b147735330cd1bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2040ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1be0000'), "firstname"=>"Eli", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms 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"=>"54901b147735330cd1be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1be0000')} 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('54901b147735330cd1be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms 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.1576ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1bf0000'), "firstname"=>"Rosina", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901b147735330cd1bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms Rendered /home/geoffroy/projects/crealettres/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('54901b147735330cd1c00000'), "firstname"=>"Johnny", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms 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('54901b147735330cd1c10000'), "firstname"=>"Zula", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54901b147735330cd1c20000'), "firstname"=>"Rashad", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901b147735330cd1c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.3ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1c30000'), "firstname"=>"Corine", "lastname"=>"Johnston"}] 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"=>"54901b147735330cd1c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b147735330cd1c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms Redirected to http://test.host/clients/54901b147735330cd1c30000 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('54901b147735330cd1c40000'), "name"=>"Dan Simonis", "reference"=>"Wilson Barrows", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1c50000'), "firstname"=>"Gage", "lastname"=>"Koss"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901b147735330cd1c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Redirected to http://test.host/products/54901b147735330cd1c40000/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('54901b147735330cd1c70000'), "name"=>"Syble Cartwright", "reference"=>"Maxine Bernhard", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1c80000'), "firstname"=>"Giles", "lastname"=>"Kovacek"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901b147735330cd1c80000", "product_id"=>"54901b147735330cd1c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1c90000'), "name"=>"Deanna Okuneva", "reference"=>"Colin Abshire", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1ca0000'), "firstname"=>"Lavinia", "lastname"=>"Runolfsson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901b147735330cd1c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1cb0000'), "name"=>"Jewel Cremin PhD", "reference"=>"Virgil Hickle", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1cc0000'), "firstname"=>"Arne", "lastname"=>"Lehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2937ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901b147735330cd1cc0000", "product_id"=>"54901b147735330cd1cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1cd0000'), "name"=>"Otis Harber", "reference"=>"Lauriane Koch", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901b147735330cd1ce0000'), "firstname"=>"Araceli", "lastname"=>"Raynor"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5268ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901b147735330cd1ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901b147735330cd1cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms Unpermitted parameters: name Redirected to http://test.host/products/54901b147735330cd1cd0000/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('54901b147735330cd1cf0000'), "name"=>"Leonardo Murray MD", "reference"=>"Dr. Tyree Tromp", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d00000'), "name"=>"Dana Smith IV", "reference"=>"Joel Kuhn", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d10000'), "name"=>"Paul Auer Sr.", "reference"=>"Maybell Bogisich", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d20000'), "name"=>"Vivien Turner", "reference"=>"Francis Padberg", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d30000'), "name"=>"Kellen Towne", "reference"=>"Mr. Elenor Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d40000'), "name"=>"Hailee Rempel MD", "reference"=>"Miss Isidro Spinka", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2095ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5917ms Redirected to http://test.host/products/54901b147735330cd1d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2385ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d60000'), "name"=>"Clark Gottlieb", "reference"=>"Adriel Hagenes", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1921ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901b147735330cd1d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2746ms 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.2493ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d70000'), "name"=>"Julian Purdy PhD", "reference"=>"Ayla Ferry", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901b147735330cd1d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b147735330cd1d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54901b147735330cd1d80000'), "name"=>"Dr. Alicia Gutmann", "reference"=>"Antwon Lang", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784087843] runtime: 0.1102ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2927ms Completed 200 OK in 19ms (Views: 18.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1d90000'), "name"=>"Dayne Veum", "reference"=>"Aubree Cummings", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1da0000'), "name"=>"HelloWorld", "reference"=>"Syble Greenholt", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1db0000'), "name"=>"value", "reference"=>"Donato Quigley", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5412ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4922ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4239ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3941ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1945ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3299ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3323ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1796ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b147735330cd1dc0000'), "name"=>"Johathan Fisher Sr.", "reference"=>"Cesar Franecki", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280001763206] runtime: 0.0834ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2506ms Completed 200 OK in 17ms (Views: 16.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220759584] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224020713] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280944386407] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888545332] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811425180] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280897605936] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280406120599] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099660579] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253143285] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279315504013] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280506826602] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959445250] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279852432862] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757412208] runtime: 0.1141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302664559] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379167050] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928202448] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280430238423] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712607643] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338916414] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279437138998] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047589499] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719641547] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281205055001] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281119841511] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661881565] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144034717] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320726909] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679173604] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280332618854] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775311922] runtime: 0.1003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596521687] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820613899] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280810717890] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279203696427] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281112090716] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281173468356] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279527993715] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669588458] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877968488] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579409564] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280663603137] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280487431787] runtime: 0.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826180388] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591169722] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280951748313] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279436362788] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576832895] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218852046] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047224930] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280171539989] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279670235479] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690315271] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280453311741] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325248420] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055390719] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935302720] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466773271] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906647670] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223206893] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.3026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719731825] runtime: 0.1146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280948820179] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756044880] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737430301] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914871392] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279843374105] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280988793715] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128257082] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286630528] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280893576077] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456062220] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653866246] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800093510] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202311535] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797613062] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279337564943] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281279232038] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280460473153] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049051500] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279681611546] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279172985278] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280423935940] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281236514987] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279430900406] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279221167781] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280159094450] runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329663664] runtime: 0.0951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280292856322] runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280365203761] runtime: 0.0980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280138769015] runtime: 0.0993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627532097] runtime: 0.0977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280599353250] runtime: 0.1023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814242874] runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061942701] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643337212] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281250516632] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280509376836] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124155503] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204864075] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372743149] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425477277] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353683547] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713713658] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877844153] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279604433429] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780037455] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279703951726] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281246318125] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280606188272] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279347259897] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279863586098] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279651441004] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194122030] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279472311405] runtime: 0.0854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849133977] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473815473] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281162573663] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531548037] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298379130] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874461276] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279969470769] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280744805572] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280681842041] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280747567315] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609341640] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217251675] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646230484] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891035789] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281168665500] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279798424696] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279177920004] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280664877742] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281238287252] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279560663659] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281064919634] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671600062] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279180550675] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279190029852] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280298213548] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280252296253] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.0409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279552097182] runtime: 0.0963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137591415] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279706586075] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279526095707] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279970739439] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279531974843] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281128988895] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279377889909] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280520125969] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281295269387] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420366348] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281253165264] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280262896728] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280103936826] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707344001] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279890111751] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629943979] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942755961] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281267282425] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280638100337] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094045046] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548671579] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280784878091] runtime: 0.0481ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1dd0000'), "name"=>"Ernie Johns", "reference"=>"Dolly Kuhic", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3617ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2523ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1de0000'), "name"=>"Cecilia Romaguera", "reference"=>"Cole MacGyver", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280852751203] runtime: 0.0731ms Completed 200 OK in 5ms (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('54901b157735330cd1df0000'), "name"=>"Shirley Wolff", "reference"=>"Ansley Tillman MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901b157735330cd1df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms 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('54901b157735330cd1e00000'), "name"=>"Charlie Lakin", "reference"=>"Fannie Stoltenberg", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1e20000'), "name"=>"Trace Rath", "reference"=>"Prince Mraz III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5578ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901b157735330cd1e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3844ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.8ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1e30000'), "name"=>"Clark Wisozk III", "reference"=>"Erich Reichert I", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4001ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2977ms Completed 200 OK in 8ms (Views: 4.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1e40000'), "name"=>"Lisandro Leffler", "reference"=>"Casimer Greenholt V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4059ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Completed 200 OK in 7ms (Views: 3.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1e50000'), "name"=>"Candace Yundt", "reference"=>"Anastacio Bayer II", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.8049ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3279ms 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('54901b157735330cd1e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3327ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1e70000'), "name"=>"Juwan Sawayn", "reference"=>"Zetta Mayert", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901b157735330cd1e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1e70000')} 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={"_id"=>BSON::ObjectId('54901b157735330cd1e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms 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('54901b157735330cd1e80000'), "name"=>"Elenor Rice", "reference"=>"Irma Ward", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms 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('54901b157735330cd1ea0000'), "name"=>"Mr. Demond Witting", "reference"=>"Francesco Carter", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b157735330cd1ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms 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('54901b157735330cd1eb0000'), "name"=>"Velva Ullrich", "reference"=>"Baby Dickinson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b157735330cd1eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4577ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Redirected to http://test.host/products/54901b157735330cd1eb0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1ee0000'), "name"=>"Estella Towne", "reference"=>"Ms. Layla O'Hara", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1ec0000'), "author_name"=>"Clair Hodkiewicz", "content"=>["Facilis unde adipisci rerum dicta. Deserunt esse rem omnis provident. Est enim quae. Debitis consectetur quibusdam laudantium ut voluptatum aut repellat."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1ed0000'), "author_name"=>"Ernestine Predovic", "content"=>["Quis maiores at. Ea quia distinctio. Et et id occaecati aut. Praesentium aut facere velit commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b157735330cd1ee0000", "comment_id"=>"54901b157735330cd1ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4391ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ee0000'), "comments._id"=>BSON::ObjectId('54901b157735330cd1ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901b157735330cd1ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6896ms Redirected to http://test.host/products/54901b157735330cd1ee0000/comments/54901b157735330cd1ec0000/comments/54901b157735330cd1ef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3659ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1f20000'), "name"=>"Tamia Lowe", "reference"=>"Darian Rutherford", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f00000'), "author_name"=>"Gay Terry", "content"=>["Blanditiis expedita aliquid sunt suscipit id repudiandae praesentium. Quia facilis enim. Totam sed omnis deserunt. Vel similique mollitia. Quis et laborum ipsum harum voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f10000'), "author_name"=>"Mrs. Laurel Crona", "content"=>["Nostrum aut deserunt. Qui fugit cupiditate. Dolorem atque nisi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901b157735330cd1f20000", "comment_id"=>"54901b157735330cd1f00000", "id"=>"54901b157735330cd1f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4628ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f20000'), "comments._id"=>BSON::ObjectId('54901b157735330cd1f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901b157735330cd1f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6626ms Redirected to http://test.host/products/54901b157735330cd1f20000/comments/54901b157735330cd1f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1f50000'), "name"=>"Meggie VonRueden", "reference"=>"Leonor Kreiger", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f30000'), "author_name"=>"Breanne Hodkiewicz", "content"=>["Eaque culpa voluptatum qui repudiandae quasi. Quod dignissimos velit sint modi. Repellendus voluptate ipsam. Dolores reprehenderit sequi aut in est."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f40000'), "author_name"=>"Jacynthe Kuphal", "content"=>["Animi iure molestiae reiciendis consequuntur provident deserunt sit. Velit quia rem et vitae. Eos sequi quo repudiandae culpa exercitationem. Sed praesentium deleniti omnis similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6282ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901b157735330cd1f50000", "comment_id"=>"54901b157735330cd1f30000", "id"=>"54901b157735330cd1f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4724ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1f80000'), "name"=>"Mrs. Chasity Hermann", "reference"=>"Tate Dickinson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f60000'), "author_name"=>"Ashly Lehner MD", "content"=>["Facilis accusantium possimus autem. Deleniti sit illum et. Id dolorem voluptatem voluptatem nihil quis. Facere assumenda excepturi sed ut quis. Odit fugiat recusandae in autem est non."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f70000'), "author_name"=>"Mrs. Candace Trantow", "content"=>["Eos provident est necessitatibus perspiciatis maiores quia. Ipsam natus dolores laudantium optio velit qui. Nisi minima ut placeat dignissimos occaecati. In accusamus unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6272ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901b157735330cd1f80000", "comment_id"=>"54901b157735330cd1f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4931ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1fb0000'), "name"=>"Tressa Runte", "reference"=>"Dr. Louie Buckridge", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1f90000'), "author_name"=>"Lafayette Pacocha", "content"=>["At ab facilis. Unde corporis sapiente incidunt suscipit eius asperiores. A veritatis facilis magni. Est non voluptates sequi facere saepe delectus."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1fa0000'), "author_name"=>"June Schmeler", "content"=>["Ut et est id sit debitis. Quia minus culpa ut quidem dolore. Qui quis rerum laborum odio perspiciatis ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6217ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901b157735330cd1fb0000", "comment_id"=>"54901b157735330cd1f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4236ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1fe0000'), "name"=>"Liliane Kilback", "reference"=>"Murl Heathcote", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1fc0000'), "author_name"=>"Ms. Adella Wolff", "content"=>["Ad repudiandae ullam non quia. Sapiente a hic molestiae omnis vero nulla ut. Ullam consectetur aut aliquid pariatur nam. Similique explicabo distinctio omnis. Quod quos quis."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1fd0000'), "author_name"=>"Serenity Heathcote", "content"=>["Nisi corrupti vel voluptates qui maiores itaque. Odit incidunt reprehenderit. Voluptates dolorem accusamus nulla velit dolores tempore dolore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5466ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901b157735330cd1fe0000", "comment_id"=>"54901b157735330cd1fc0000", "id"=>"54901b157735330cd1fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1010100'), "name"=>"Jeanne Wunsch", "reference"=>"Katelynn Watsica II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1ff0000'), "author_name"=>"Rosario Greenfelder", "content"=>["Voluptatem consequatur sunt debitis ut et. Rem error esse. Molestiae eveniet rerum ipsa consequuntur ratione."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1000100'), "author_name"=>"Jerel Waters II", "content"=>["Sed molestiae a ut. Eius omnis sapiente iusto et. Eos voluptatem placeat explicabo quod. Id illum et modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901b157735330cd1010100", "comment_id"=>"54901b157735330cd1ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1040100'), "name"=>"Sheldon Streich", "reference"=>"Alexandrine Schowalter MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1020100'), "author_name"=>"Ms. Kailey Adams", "content"=>["Sint deleniti atque doloremque. Eos voluptatem eos est omnis quis atque. Perspiciatis aut labore perferendis tenetur et. Eius dolores quibusdam atque maxime fugit saepe. Illo fugit rerum quidem adipisci sint recusandae cum."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1030100'), "author_name"=>"Vanessa Von", "content"=>["Facilis quo est. Minima omnis necessitatibus repellendus neque velit. Provident alias illo. Et consequatur at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901b157735330cd1040100", "comment_id"=>"54901b157735330cd1020100", "id"=>"54901b157735330cd1030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4178ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 3.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b157735330cd1070100'), "name"=>"Virginia Schoen IV", "reference"=>"Miss Idell Corkery", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1050100'), "author_name"=>"Nils Flatley", "content"=>["Debitis aut et exercitationem labore a. Nostrum repellendus necessitatibus porro sit. Dignissimos est ut quia."], "comments"=>[{"_id"=>BSON::ObjectId('54901b157735330cd1060100'), "author_name"=>"Ramon Balistreri", "content"=>["A in aut. Possimus nesciunt quia exercitationem et et. Qui debitis aspernatur labore dolorum et aperiam sed. Odit eveniet veritatis omnis vel ut assumenda quibusdam. Placeat quia quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6118ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b157735330cd1060100", "product_id"=>"54901b157735330cd1070100", "comment_id"=>"54901b157735330cd1050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4391ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b157735330cd1070100'), "comments._id"=>BSON::ObjectId('54901b157735330cd1050100'), "comments.0.comments._id"=>BSON::ObjectId('54901b157735330cd1060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7076ms Redirected to http://test.host/products/54901b157735330cd1070100/comments/54901b157735330cd1050100/comments/54901b157735330cd1060100 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('54901b157735330cd1080100'), "firstname"=>"Fatima", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6205ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3397ms 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('54901b157735330cd1090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms Redirected to http://test.host/users/54901b157735330cd1090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3274ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b157735330cd10a0100'), "firstname"=>"Tara", "lastname"=>"Pfannerstill"}] 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=>"admin_users", :query=>{}} runtime: 0.2997ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901b157735330cd10a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b157735330cd10a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3807ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b157735330cd10a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms 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.3021ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b157735330cd10b0100'), "firstname"=>"Leo", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901b157735330cd10b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b157735330cd10b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 33ms (Views: 32.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b157735330cd10c0100'), "firstname"=>"Jalyn", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5947ms 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.5192ms Completed 200 OK in 43ms (Views: 42.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b157735330cd10d0100'), "firstname"=>"Pamela", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901b157735330cd10e0100'), "firstname"=>"Emilia", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901b157735330cd10e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b157735330cd10e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('54901b157735330cd10f0100'), "firstname"=>"Maiya", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901b157735330cd10f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b157735330cd10f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms Unpermitted parameters: name Redirected to http://test.host/users/54901b157735330cd10f0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6334ms 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.6443ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0550ms 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.6813ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3076ms 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.6776ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b827735330da7000000'), "firstname"=>"Okey", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2473ms 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('54901b827735330da7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4936ms Redirected to http://test.host/admin/administrator Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3528ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b827735330da7020000'), "firstname"=>"Monroe", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901b827735330da7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b827735330da7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4699ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.4ms) Completed 200 OK in 29ms (Views: 26.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b827735330da7030000'), "firstname"=>"Jamal", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5524ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 4.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b827735330da7040000'), "firstname"=>"Julien", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901b827735330da7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b827735330da7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 4.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b827735330da7050000'), "firstname"=>"Arnaldo", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901b827735330da7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b827735330da7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms 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('54901b827735330da7060000'), "name"=>"Dolly Rosenbaum", "reference"=>"Emmanuel Welch", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da7070000'), "author_name"=>"Hope Block", "content"=>["Saepe veritatis delectus eaque provident. Ex ipsam enim omnis dignissimos adipisci sit rerum. Dolores quia qui placeat consequuntur enim ad. Dolores iste corporis alias qui sit consectetur. Nihil non necessitatibus ut temporibus eaque dolorem quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b827735330da7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3749ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b827735330da7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5378ms Redirected to http://test.host/admin/products/54901b827735330da7060000/comments/54901b827735330da7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4299ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7090000'), "name"=>"Antonette Corkery", "reference"=>"Hal Mosciski", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da70a0000'), "author_name"=>"Lloyd Balistreri", "content"=>["Cumque aliquid ab nihil illo ipsa. Eum quis quis perspiciatis sint. Consequuntur qui in vel ut. Quo odio accusamus velit. Facilis occaecati vel nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901b827735330da7090000", "id"=>"54901b827735330da70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4296ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b827735330da70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5070ms Redirected to http://test.host/admin/products/54901b827735330da7090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da70b0000'), "name"=>"Clifford Durgan", "reference"=>"Imani Hilpert", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da70c0000'), "author_name"=>"Mrs. Myra Jacobson", "content"=>["Repudiandae eos alias ipsum. Facilis et dolore omnis. Atque quas quo dolor molestiae voluptatem. Quis ullam sit necessitatibus voluptatem sed. Facere doloremque voluptas quis sed enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901b827735330da70b0000", "id"=>"54901b827735330da70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da70d0000'), "name"=>"Allison Lang", "reference"=>"Casper Ratke", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da70e0000'), "author_name"=>"Nickolas Leuschke", "content"=>["Dolores aliquid itaque ut sed. Repudiandae voluptatem ut. Sed tenetur aliquid ut et culpa corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901b827735330da70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da70f0000'), "name"=>"Ashley Anderson", "reference"=>"Maryjane Heaney", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da7100000'), "author_name"=>"Bennett Luettgen", "content"=>["Molestias est non voluptas dolores velit error. Tempora reprehenderit dolorum nemo animi ipsum suscipit. In cupiditate alias nemo similique velit. Enim doloremque in sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901b827735330da70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7110000'), "name"=>"Blaise Runte", "reference"=>"Adam McKenzie", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da7120000'), "author_name"=>"Edwardo Rohan", "content"=>["Sit sapiente accusamus at explicabo expedita. Pariatur eos quam. Et assumenda magni est. Porro maiores ad libero necessitatibus dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901b827735330da7110000", "id"=>"54901b827735330da7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4461ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7130000'), "name"=>"Mrs. Meagan Tromp", "reference"=>"Mr. Dedric Quigley", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901b827735330da7140000'), "author_name"=>"Rebecca Hoppe DDS", "content"=>["Enim et dolor aliquid reiciendis architecto laborum. Dolores iusto quo magnam quas. Voluptatem enim magni assumenda. Nemo error deserunt cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b827735330da7140000", "product_id"=>"54901b827735330da7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4313ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7130000'), "comments._id"=>BSON::ObjectId('54901b827735330da7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6690ms Redirected to http://test.host/admin/products/54901b827735330da7130000/comments/54901b827735330da7140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7150000'), "name"=>"Kiana Larson", "reference"=>"Camden Streich", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901b827735330da7160000'), "firstname"=>"Reggie", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901b827735330da7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901b827735330da7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms Redirected to http://test.host/admin/products/54901b827735330da7150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7180000'), "name"=>"Miss Josie McKenzie", "reference"=>"Annie Conn IV", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901b827735330da7190000'), "firstname"=>"Vernice", "lastname"=>"Kuphal"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901b827735330da7190000", "product_id"=>"54901b827735330da7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da71a0000'), "name"=>"Murray Koelpin", "reference"=>"Ayla Jacobson", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901b827735330da71b0000'), "firstname"=>"Nicola", "lastname"=>"Keeling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901b827735330da71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da71c0000'), "name"=>"Melody Kuhn", "reference"=>"Johnathan Bahringer", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901b827735330da71d0000'), "firstname"=>"Cale", "lastname"=>"Robel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901b827735330da71d0000", "product_id"=>"54901b827735330da71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da71e0000'), "name"=>"Devan Ernser Sr.", "reference"=>"Mitchel Lehner", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901b827735330da71f0000'), "firstname"=>"Kellie", "lastname"=>"Borer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901b827735330da71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901b827735330da71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901b827735330da71e0000/manager 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('54901b827735330da7200000'), "name"=>"Russel Lindgren", "reference"=>"Roberto Keeling", "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.1945ms 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('54901b827735330da7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms Redirected to http://test.host/admin/products/54901b827735330da7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2086ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7220000'), "name"=>"Jillian Kunde", "reference"=>"Deondre Mueller MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901b827735330da7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7220000')} 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('54901b827735330da7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms 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.2049ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7230000'), "name"=>"Emelia Kertzmann II", "reference"=>"Libbie Wilkinson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901b827735330da7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7240000'), "name"=>"Devin Johns", "reference"=>"Mossie Abshire", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms 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.5573ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7250000'), "name"=>"Alek Olson", "reference"=>"Reed Dare", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('54901b827735330da7280000'), "name"=>"Connie Herzog", "reference"=>"Tobin Schmeler V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901b827735330da7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b827735330da7290000'), "name"=>"Mr. Don Maggio", "reference"=>"Myrl Willms", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b827735330da7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b827735330da7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Redirected to http://test.host/admin/products/54901b827735330da7290000 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('54901b827735330da72a0000'), "firstname"=>"Edward", "lastname"=>"Rath"}] 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.1890ms 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('54901b827735330da72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms Redirected to http://test.host/admin/users/54901b827735330da72b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b827735330da72c0000'), "firstname"=>"Edyth", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1814ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901b827735330da72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b827735330da72c0000')} 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('54901b827735330da72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms 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.1956ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b827735330da72d0000'), "firstname"=>"Genoveva", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901b827735330da72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b827735330da72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b827735330da72e0000'), "firstname"=>"Jettie", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms 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 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('54901b827735330da72f0000'), "firstname"=>"Maybelle", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54901b837735330da7300000'), "firstname"=>"Timmy", "lastname"=>"Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901b837735330da7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b837735330da7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b837735330da7310000'), "firstname"=>"Kari", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901b837735330da7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b837735330da7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901b837735330da7310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b837735330da7320000'), "firstname"=>"Isabelle", "lastname"=>"Wintheiser"}] 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=>"administrators", :query=>{}} runtime: 0.1936ms 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('54901b837735330da7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms 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.2052ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b837735330da7340000'), "firstname"=>"Vallie", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901b837735330da7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b837735330da7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b837735330da7350000'), "firstname"=>"Jaleel", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b837735330da7360000'), "firstname"=>"Nels", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901b837735330da7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b837735330da7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901b837735330da7370000'), "firstname"=>"Rose", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901b837735330da7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901b837735330da7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7380000'), "name"=>"Edyth Borer"}] 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={"category_id"=>BSON::ObjectId('54901b837735330da7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7390000'), "name"=>"Saul Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73a0000'), "name"=>"Adrienne Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73b0000'), "name"=>"Ursula Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73c0000'), "name"=>"Diamond Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1635ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73d0000'), "name"=>"Julian Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73e0000'), "name"=>"Emily Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da73f0000'), "name"=>"Terrell West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7400000'), "name"=>"Jonas Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7410000'), "name"=>"Omer Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7420000'), "name"=>"Nikki Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7430000'), "name"=>"Ms. Yasmin Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7440000'), "name"=>"Miss Otilia Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7450000'), "name"=>"Tad Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7460000'), "name"=>"Tate Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7470000'), "name"=>"Elvis Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7480000'), "name"=>"Lemuel Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7490000'), "name"=>"Madisyn Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74a0000'), "name"=>"Broderick Emard DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74b0000'), "name"=>"Garfield Hermann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74c0000'), "name"=>"Benjamin Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74d0000'), "name"=>"Miss Laurine Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74e0000'), "name"=>"Royal Runte PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da74f0000'), "name"=>"Liliana Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da74f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7500000'), "name"=>"Andrew Morar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7510000'), "name"=>"Joshua Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7520000'), "name"=>"Winfield Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7530000'), "name"=>"Preston Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7540000'), "name"=>"Deshaun Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7550000'), "name"=>"Kaylin Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7560000'), "name"=>"Ms. Forrest Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7570000'), "name"=>"Camron Stiedemann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7580000'), "name"=>"Reyes Fritsch V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7590000'), "name"=>"Odie Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75a0000'), "name"=>"Kyleigh Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75b0000'), "name"=>"Ara Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75c0000'), "name"=>"Donato Volkman I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75d0000'), "name"=>"Maynard MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75e0000'), "name"=>"Hobart Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da75f0000'), "name"=>"Clement Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da75f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7600000'), "name"=>"Miles Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7610000'), "name"=>"Bethel O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7620000'), "name"=>"Felipa Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7630000'), "name"=>"Jazmyn Runolfsson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7640000'), "name"=>"Sarah Oberbrunner DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7650000'), "name"=>"Odessa Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7660000'), "name"=>"Amy Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7670000'), "name"=>"Jaron Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7680000'), "name"=>"Guiseppe Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2046ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7690000'), "name"=>"Miss Ruben Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76a0000'), "name"=>"Bethel Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76b0000'), "name"=>"Bobbie Moore I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1939ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76c0000'), "name"=>"Dariana Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76d0000'), "name"=>"Verdie Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76e0000'), "name"=>"Amelia Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da76f0000'), "name"=>"Miss Emelia Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7700000'), "name"=>"Adrain Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7710000'), "name"=>"Daren Wolf DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7720000'), "name"=>"Ebba Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7730000'), "name"=>"Lorine Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7740000'), "name"=>"Mr. Kory Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7750000'), "name"=>"Wilber Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7760000'), "name"=>"Bessie Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7770000'), "name"=>"Leanne Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7780000'), "name"=>"Helga Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7790000'), "name"=>"Emmy Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77a0000'), "name"=>"Milton Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77b0000'), "name"=>"Hillard Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77c0000'), "name"=>"Oma Klocko V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77d0000'), "name"=>"Lindsey Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77e0000'), "name"=>"Mrs. Conrad Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da77f0000'), "name"=>"Leo Ryan IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da77f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7800000'), "name"=>"Neil Goldner III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7810000'), "name"=>"Georgianna Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7820000'), "name"=>"Salvador Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7830000'), "name"=>"Gina Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7840000'), "name"=>"Ms. Nash Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7850000'), "name"=>"Clinton Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7860000'), "name"=>"Hoyt Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7870000'), "name"=>"Dell Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7880000'), "name"=>"Alex Macejkovic Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7890000'), "name"=>"Josh Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78a0000'), "name"=>"Jade Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78b0000'), "name"=>"Ms. Sheldon Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78c0000'), "name"=>"Ms. Enola Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78d0000'), "name"=>"Taurean Upton Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78e0000'), "name"=>"Kevon Zboncak DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da78f0000'), "name"=>"Nikko Bailey DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7900000'), "name"=>"Eriberto Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7910000'), "name"=>"Genesis Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7920000'), "name"=>"Maddison Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7930000'), "name"=>"Fidel Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7940000'), "name"=>"Francesco Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7950000'), "name"=>"Jerrold O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7960000'), "name"=>"Mrs. Laron McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7970000'), "name"=>"Mrs. Elsa Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2041ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Redirected to http://test.host/categories/54901b837735330da7980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1757ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7990000'), "name"=>"Dario Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2191ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901b837735330da7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da7990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2910ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da79a0000'), "name"=>"Rita Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901b837735330da79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da79b0000'), "name"=>"Carleton Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305835993463] runtime: 0.0975ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2408ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da79c0000'), "name"=>"Chaya Kuhic IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306796801385] runtime: 0.0776ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2198ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da79d0000'), "name"=>"Novella DuBuque PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da79f0000'), "name"=>"Neil Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901b837735330da79f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901b837735330da7a00000'), "name"=>"Maximus Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901b837735330da7a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901b837735330da7a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901b837735330da7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms Redirected to http://test.host/categories/54901b837735330da7a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7a10000'), "name"=>"Dr. Estevan Russel", "reference"=>"Roel Moore", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7a20000'), "author_name"=>"Cornelius Feeney", "content"=>["Eaque sequi eum. Veritatis ea sed assumenda excepturi alias. Omnis commodi illum quam et. Vel soluta earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b837735330da7a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b837735330da7a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms Redirected to http://test.host/products/54901b837735330da7a10000/comments/54901b837735330da7a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7a40000'), "name"=>"Alexandrine West", "reference"=>"Vance Thiel IV", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7a50000'), "author_name"=>"Freddie Robel", "content"=>["Cumque quaerat aut ut sit iusto dolores. Quasi voluptatem saepe provident doloribus voluptas sit et. Nostrum neque vel odio omnis consequatur maxime eaque. Necessitatibus et enim accusamus perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901b837735330da7a40000", "id"=>"54901b837735330da7a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4497ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901b837735330da7a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms Redirected to http://test.host/products/54901b837735330da7a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1955ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7a60000'), "name"=>"Roy Abbott", "reference"=>"Elody Wyman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7a70000'), "author_name"=>"Mr. Travon Hahn", "content"=>["Dolorem voluptas deleniti fugiat consequatur expedita. Et ea officia dolor ab omnis aliquid. Aliquid mollitia quam suscipit et ipsum in. Eaque voluptates rerum ullam quo consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901b837735330da7a60000", "id"=>"54901b837735330da7a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7a80000'), "name"=>"Ms. Dave O'Reilly", "reference"=>"Ms. Glenda Windler", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7a90000'), "author_name"=>"Alexandro MacGyver", "content"=>["Rem sed consectetur. Quibusdam ullam nesciunt enim animi numquam quaerat harum. Sed culpa sed. Nostrum minus maxime fugit tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901b837735330da7a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7aa0000'), "name"=>"Ephraim Kiehn", "reference"=>"Miss Janae D'Amore", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7ab0000'), "author_name"=>"Justine Heller", "content"=>["Cum nisi ullam. Assumenda autem veritatis quod voluptas autem totam. Dolores consectetur autem natus soluta molestiae corrupti. Dolor officia impedit. Ut quis velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901b837735330da7aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7ac0000'), "name"=>"Ms. Hailee Beer", "reference"=>"Layla Bayer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7ad0000'), "author_name"=>"Marilyne Nolan I", "content"=>["Voluptatem repellendus est nemo. Nihil dignissimos perspiciatis accusamus rerum voluptates. Aut occaecati doloribus voluptatem. Eos laudantium animi doloremque consectetur culpa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901b837735330da7ac0000", "id"=>"54901b837735330da7ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7ae0000'), "name"=>"Aryanna Klein", "reference"=>"Bernadine Wilderman II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7af0000'), "author_name"=>"Barbara Price", "content"=>["Enim tenetur nam ducimus voluptas et. Ullam animi a dolorem enim. Cumque nam labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901b837735330da7ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b00000'), "name"=>"Kendra Grady", "reference"=>"Mr. Melyna Brown", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7b10000'), "author_name"=>"Jonathan Herman", "content"=>["Saepe at unde ea fuga. Animi reiciendis est atque porro provident odio voluptatem. Possimus nisi exercitationem maiores ipsam adipisci officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901b837735330da7b00000", "id"=>"54901b837735330da7b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b20000'), "name"=>"Coby Mraz", "reference"=>"Emanuel Kub", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b837735330da7b30000'), "author_name"=>"Mustafa Swift", "content"=>["Rerum cupiditate amet dolor doloribus. Ullam quaerat ad qui distinctio. Quia officia aperiam aliquid nam ex autem. Adipisci enim in odit nam deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b837735330da7b30000", "product_id"=>"54901b837735330da7b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7b20000'), "comments._id"=>BSON::ObjectId('54901b837735330da7b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms Redirected to http://test.host/products/54901b837735330da7b20000/comments/54901b837735330da7b30000 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('54901b837735330da7b40000'), "firstname"=>"Helga", "lastname"=>"Crona"}] 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=>"clients", :query=>{}} runtime: 0.1769ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms Redirected to http://test.host/admin/clients/54901b837735330da7b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2204ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b60000'), "firstname"=>"Magnolia", "lastname"=>"Will"}] 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=>"clients", :query=>{}} runtime: 0.1280ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901b837735330da7b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7b60000')} 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('54901b837735330da7b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms 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.1375ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b70000'), "firstname"=>"Mitchell", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901b837735330da7b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7b80000'), "firstname"=>"Jamal", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4264ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms 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('54901b837735330da7b90000'), "firstname"=>"Garrett", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901b837735330da7ba0000'), "firstname"=>"Kenneth", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901b837735330da7ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7bb0000'), "firstname"=>"Ophelia", "lastname"=>"Predovic"}] 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"=>"54901b837735330da7bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Redirected to http://test.host/admin/clients/54901b837735330da7bb0000 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('54901b837735330da7bc0000'), "firstname"=>"Karine", "lastname"=>"Hudson"}] 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=>"clients", :query=>{}} runtime: 0.2805ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Redirected to http://test.host/clients/54901b837735330da7bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2567ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7be0000'), "firstname"=>"Mya", "lastname"=>"Kerluke"}] 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=>"clients", :query=>{}} runtime: 0.2687ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901b837735330da7be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms 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.1724ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901b837735330da7bf0000'), "firstname"=>"Jonas", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901b837735330da7bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54901b837735330da7c00000'), "firstname"=>"Else", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5258ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5074ms 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('54901b837735330da7c10000'), "firstname"=>"Adrianna", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0668ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901b837735330da7c20000'), "firstname"=>"Dean", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901b837735330da7c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4529ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54901b837735330da7c30000'), "firstname"=>"Robbie", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901b837735330da7c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901b837735330da7c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Redirected to http://test.host/clients/54901b837735330da7c30000 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('54901b837735330da7c40000'), "name"=>"Glen Bins", "reference"=>"Matteo Hodkiewicz", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7c50000'), "firstname"=>"Fredy", "lastname"=>"Pollich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6497ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901b837735330da7c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4306ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms Redirected to http://test.host/products/54901b837735330da7c40000/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('54901b837735330da7c70000'), "name"=>"Ruthie Howell", "reference"=>"Monte Stokes", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7c80000'), "firstname"=>"Amaya", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5318ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901b837735330da7c80000", "product_id"=>"54901b837735330da7c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 10ms (Views: 7.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7c90000'), "name"=>"Vinnie Schiller", "reference"=>"Mr. Adonis Murray", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7ca0000'), "firstname"=>"Daphnee", "lastname"=>"Russel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5745ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901b837735330da7c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7cb0000'), "name"=>"Megane Toy", "reference"=>"Miss Gladys Emard", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7cc0000'), "firstname"=>"Cleveland", "lastname"=>"Stark"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5611ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901b837735330da7cc0000", "product_id"=>"54901b837735330da7cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 4.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7cd0000'), "name"=>"Peter Leffler", "reference"=>"Marielle King", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901b837735330da7ce0000'), "firstname"=>"Aric", "lastname"=>"Weimann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901b837735330da7ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901b837735330da7cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms Unpermitted parameters: name Redirected to http://test.host/products/54901b837735330da7cd0000/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('54901b837735330da7cf0000'), "name"=>"Kris Buckridge", "reference"=>"Miss Edmond Kuphal", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d00000'), "name"=>"Austin Von PhD", "reference"=>"Aniyah Reichert", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d10000'), "name"=>"Sofia Nolan PhD", "reference"=>"Aileen Koepp", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d20000'), "name"=>"Kathleen Mills", "reference"=>"Ashlynn Marvin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d30000'), "name"=>"Davonte Auer", "reference"=>"Eulalia DuBuque", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d40000'), "name"=>"Devonte Legros", "reference"=>"Margaretta Pfannerstill", "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.3781ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms Redirected to http://test.host/products/54901b837735330da7d50000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2636ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d60000'), "name"=>"Ms. Kyle Eichmann", "reference"=>"Ward Kuhlman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2404ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901b837735330da7d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms 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.2475ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d70000'), "name"=>"Theodora Jacobson", "reference"=>"Kenneth Schowalter", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901b837735330da7d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b837735330da7d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3602ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.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('54901b837735330da7d80000'), "name"=>"August Littel", "reference"=>"Marcella Luettgen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9576ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007214802] runtime: 0.1081ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2765ms Completed 200 OK in 23ms (Views: 22.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7d90000'), "name"=>"Wilburn Tromp V", "reference"=>"Jovanny Wolff", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7da0000'), "name"=>"HelloWorld", "reference"=>"German McClure DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7db0000'), "name"=>"value", "reference"=>"Lura Wiegand", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4366ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2919ms Completed 200 OK in 7ms (Views: 5.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3114ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2575ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1910ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3419ms Completed 200 OK in 4ms (Views: 4.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2710ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b837735330da7dc0000'), "name"=>"Mrs. Lilian Langosh", "reference"=>"Dashawn Romaguera", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096409339] runtime: 0.1015ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3125ms Completed 200 OK in 18ms (Views: 17.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279189694323] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280822835147] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280754714642] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326234366] runtime: 0.1163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392752534] runtime: 0.0689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579820481] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280419475904] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280850062737] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408487386] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300160876] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725662207] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209874725] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280856476572] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279937455910] runtime: 0.0876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853329996] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280197502033] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972119348] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279939173586] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247256307] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280556426803] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280057472676] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281307281085] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390102219] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279640320936] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704232625] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280726532711] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161150917] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280172727002] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243179378] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439513011] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344349765] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279341242242] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280312509048] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280927092411] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280673104709] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279636085485] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041801044] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753875312] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815926266] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279749893311] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280378809794] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281044816017] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279572359032] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462821978] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750473404] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280564090100] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280119926198] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975048818] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281177399299] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280372543996] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553539031] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809065443] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189500901] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280044676990] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666901524] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719213647] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204549591] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317231185] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281142708591] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869654927] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639832524] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279374859247] runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.3667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280030026032] runtime: 0.0774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696116386] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279560053600] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432920350] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280235051476] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031405403] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325048509] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279811708161] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872745278] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095952434] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538745679] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280562083114] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280376589892] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280663219231] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280170310387] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251041346] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336527245] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323290909] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660718414] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717954050] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280140031883] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395669693] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062168514] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279499521487] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306394068] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280082437609] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708429482] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165327952] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782400677] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280704688731] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280063147134] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280527971426] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945012565] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279582655924] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534563147] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279855915320] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279870703158] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643446740] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436944778] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279969544312] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280133116439] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645811043] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279749945967] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492962723] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060009804] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162642064] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041196466] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289614680] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482553132] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293456982] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280276373043] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933376886] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680245818] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371956321] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221521599] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984717337] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322523174] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488520594] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387872111] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848849979] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281240898386] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279526156633] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279279695498] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281236105008] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279668091430] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281280531630] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978525238] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209532309] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279225412944] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263428774] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5656ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561971391] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281248747329] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152464459] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279917785654] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481279451] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501873762] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280931635748] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281173338826] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710155651] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935974099] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279692052714] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102949124] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800449725] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990914348] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666161429] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280155626758] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469111253] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081177382] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279656733864] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331209113] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442498884] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158697163] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805777255] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085564117] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279386286036] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808654502] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635013722] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280839383042] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280567326075] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767865778] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598514538] runtime: 0.0503ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b847735330da7dd0000'), "name"=>"Don Mann", "reference"=>"Dr. Melvina Haley", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2637ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2507ms Completed 200 OK in 15099ms (Views: 8.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b937735330da7de0000'), "name"=>"Eldridge Bahringer", "reference"=>"Yasmine Kuhn V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8948ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752617659] runtime: 0.1402ms Completed 200 OK in 10ms (Views: 3.2ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b937735330da7df0000'), "name"=>"Filomena Kautzer", "reference"=>"Miss Mabel Conroy", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8030ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901b937735330da7df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b937735330da7df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7029ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b937735330da7e00000'), "name"=>"Aidan Schneider", "reference"=>"Sammie Wiegand DDS", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6158ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 10ms (Views: 8.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b937735330da7e20000'), "name"=>"Esther Romaguera", "reference"=>"Lindsay Pouros", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7134ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901b937735330da7e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b937735330da7e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b937735330da7e30000'), "name"=>"Selena Monahan", "reference"=>"Emily Jerde", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6797ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4566ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3961ms Completed 200 OK in 2126ms (Views: 10.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b957735330da7e40000'), "name"=>"Gennaro Jacobi", "reference"=>"Christ Homenick", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9522ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5461ms Completed 200 OK in 1485ms (Views: 7.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b967735330da7e50000'), "name"=>"Janae Tromp V", "reference"=>"Keyon Walker", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4340ms 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('54901b967735330da7e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.7320ms Completed 201 Created in 17ms (Views: 0.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6052ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7e70000'), "name"=>"Rodrigo Mueller", "reference"=>"Kaitlin Skiles", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6297ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901b977735330da7e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7e80000'), "name"=>"Liza Kessler", "reference"=>"Ms. Sabrina Mitchell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6120ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7ea0000'), "name"=>"Beulah Champlin", "reference"=>"Rhoda Turcotte", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8225ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b977735330da7ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6151ms Completed 202 Accepted in 6ms (Views: 0.4ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7eb0000'), "name"=>"Yvette Jacobi", "reference"=>"Lyric D'Amore", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6706ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901b977735330da7eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6003ms Redirected to http://test.host/products/54901b977735330da7eb0000 Completed 302 Found in 6ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7ee0000'), "name"=>"Miss Hertha Hettinger", "reference"=>"Ozella Glover", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7ec0000'), "author_name"=>"Trey Jacobi", "content"=>["Id nesciunt nihil earum quis. Ut alias nihil. Laudantium nostrum in dolores non."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7ed0000'), "author_name"=>"Pink Schroeder", "content"=>["Tenetur deserunt aut enim ullam sunt sit in. Culpa ea quo eius quae animi. Excepturi quia molestiae autem dolores maiores ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901b977735330da7ee0000", "comment_id"=>"54901b977735330da7ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4422ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ee0000'), "comments._id"=>BSON::ObjectId('54901b977735330da7ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901b977735330da7ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Redirected to http://test.host/products/54901b977735330da7ee0000/comments/54901b977735330da7ec0000/comments/54901b977735330da7ef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7f20000'), "name"=>"Miss Shemar Zemlak", "reference"=>"Darrick Schoen", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f00000'), "author_name"=>"Brandt Koelpin", "content"=>["Eos et officia. Cupiditate quia commodi ullam omnis omnis recusandae libero. Aut esse laudantium doloremque consequatur alias amet debitis. Totam facere reiciendis fugiat doloremque. In aut veritatis eveniet iste illo sint repellat."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f10000'), "author_name"=>"Mr. Tod Gislason", "content"=>["Consectetur aut hic quia voluptas similique quia. Temporibus maiores ipsa expedita nisi. Voluptas quisquam architecto. Aut reiciendis possimus. Est eaque magni porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901b977735330da7f20000", "comment_id"=>"54901b977735330da7f00000", "id"=>"54901b977735330da7f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f20000'), "comments._id"=>BSON::ObjectId('54901b977735330da7f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901b977735330da7f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms Redirected to http://test.host/products/54901b977735330da7f20000/comments/54901b977735330da7f00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7f50000'), "name"=>"Dr. Gina Grant", "reference"=>"Nick Hayes IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f30000'), "author_name"=>"Joy Stark Jr.", "content"=>["Nihil aut assumenda. Corporis necessitatibus a autem unde non. Commodi aspernatur quos laudantium quo."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f40000'), "author_name"=>"Coralie Hayes", "content"=>["Nam rerum nisi aliquam voluptas voluptatem. Aliquam qui velit et sapiente soluta dolores veniam. Voluptatem est voluptas praesentium dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901b977735330da7f50000", "comment_id"=>"54901b977735330da7f30000", "id"=>"54901b977735330da7f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3905ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7f80000'), "name"=>"Mrs. Marlin Carroll", "reference"=>"Miss Misty Murazik", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f60000'), "author_name"=>"Jean Thompson", "content"=>["Minima tempora ut possimus ipsam deleniti voluptatum. Deserunt aperiam rerum atque suscipit id qui. Id esse quis nobis. Tenetur voluptates voluptatibus est assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f70000'), "author_name"=>"Velma Block Sr.", "content"=>["Libero modi optio. Maxime nobis quibusdam et. Voluptate architecto consectetur aut quod quos. Perspiciatis enim consequuntur distinctio eius doloremque ratione quo. Et at minima fuga ipsum quia ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6723ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901b977735330da7f80000", "comment_id"=>"54901b977735330da7f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4663ms Completed 200 OK in 7ms (Views: 3.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7fb0000'), "name"=>"Chloe Ortiz IV", "reference"=>"Santos Goldner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7f90000'), "author_name"=>"Pietro Jakubowski", "content"=>["Provident vitae itaque ut voluptas. Ipsum autem et aut voluptatem eum et. Suscipit recusandae maxime delectus molestiae autem id voluptatem. Voluptas quos dignissimos fugit nostrum quibusdam esse."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7fa0000'), "author_name"=>"Adrain Bins", "content"=>["Sit quos blanditiis temporibus quia exercitationem qui. Corrupti maiores iure. Esse eum dolores similique libero cupiditate error. Ut inventore atque. Minima fugit blanditiis deserunt sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6752ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901b977735330da7fb0000", "comment_id"=>"54901b977735330da7f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3955ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7fe0000'), "name"=>"Arianna Hackett DVM", "reference"=>"Gino Maggio PhD", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7fc0000'), "author_name"=>"Justina Weimann Jr.", "content"=>["Nihil molestiae eligendi non atque saepe. Ut labore id amet in molestiae. Hic explicabo dolorem ex voluptates placeat eligendi."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7fd0000'), "author_name"=>"Monserrate Douglas", "content"=>["Placeat sit quia beatae quia. Ipsam dolorem minima atque ullam vitae. Quia ad sequi. Quibusdam voluptas omnis rerum ullam. Illo voluptate vel fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901b977735330da7fe0000", "comment_id"=>"54901b977735330da7fc0000", "id"=>"54901b977735330da7fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7010100'), "name"=>"Carlie Rice", "reference"=>"Grady Schuster", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7ff0000'), "author_name"=>"Julius Jaskolski", "content"=>["Labore repudiandae pariatur aliquam. Consequatur vel et. Vitae fugit dolores. Sit minus delectus similique odit voluptate dolores nam."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7000100'), "author_name"=>"Norma Kuvalis", "content"=>["In id quos fugit cumque quia inventore tempora. Recusandae voluptatem maxime rerum fugit aut. Autem facere laboriosam non natus minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4802ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901b977735330da7010100", "comment_id"=>"54901b977735330da7ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7040100'), "name"=>"Pearline Nikolaus", "reference"=>"Adalberto Gottlieb", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7020100'), "author_name"=>"Alessandro Hirthe Jr.", "content"=>["Neque impedit eius voluptatem provident aspernatur distinctio eum. Facilis dolorum rerum. Id iusto culpa labore aut voluptatem. Nihil libero labore officiis. Inventore sit velit qui reiciendis laboriosam."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7030100'), "author_name"=>"Ettie Feest", "content"=>["Ad commodi laborum suscipit maiores molestiae mollitia. Cum nostrum ratione velit aspernatur rerum. Eaque voluptatem dolorum maiores veniam laudantium officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901b977735330da7040100", "comment_id"=>"54901b977735330da7020100", "id"=>"54901b977735330da7030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3121ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) Completed 200 OK in 7ms (Views: 4.1ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901b977735330da7070100'), "name"=>"Emie Larkin", "reference"=>"Mr. Bernadine Will", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7050100'), "author_name"=>"Raphael Lemke", "content"=>["Natus qui eaque qui quam sunt. Sint praesentium recusandae perferendis explicabo. Cupiditate sed error aut quibusdam. Dignissimos expedita maxime enim soluta eius inventore."], "comments"=>[{"_id"=>BSON::ObjectId('54901b977735330da7060100'), "author_name"=>"Adriel Kiehn", "content"=>["Repellendus hic eveniet. Sapiente facere quasi. Excepturi sed minus laborum voluptatem. Non minima et consequatur neque doloremque amet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9478ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901b977735330da7060100", "product_id"=>"54901b977735330da7070100", "comment_id"=>"54901b977735330da7050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4385ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901b977735330da7070100'), "comments._id"=>BSON::ObjectId('54901b977735330da7050100'), "comments.0.comments._id"=>BSON::ObjectId('54901b977735330da7060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms Redirected to http://test.host/products/54901b977735330da7070100/comments/54901b977735330da7050100/comments/54901b977735330da7060100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b977735330da7080100'), "firstname"=>"Gilberto", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5365ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3168ms 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('54901b977735330da7090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms Redirected to http://test.host/users/54901b977735330da7090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2920ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b977735330da70a0100'), "firstname"=>"Kiana", "lastname"=>"West"}] 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=>"admin_users", :query=>{}} runtime: 0.2539ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901b977735330da70a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b977735330da70a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b977735330da70a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Redirected to http://test.host/users Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2962ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b977735330da70b0100'), "firstname"=>"Rodolfo", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901b977735330da70b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b977735330da70b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4408ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54901b977735330da70c0100'), "firstname"=>"Harold", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5796ms 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.4006ms Completed 200 OK in 44ms (Views: 43.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b977735330da70d0100'), "firstname"=>"Christian", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901b977735330da70e0100'), "firstname"=>"Ashley", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901b977735330da70e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b977735330da70e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901b977735330da70f0100'), "firstname"=>"Marilou", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901b977735330da70f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901b977735330da70f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms Unpermitted parameters: name Redirected to http://test.host/users/54901b977735330da70f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3999ms 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.3882ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5973ms 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.3352ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7372ms 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.3358ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3000000'), "firstname"=>"Edna", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5912ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1872ms 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('54901bbb7735330de3010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.3329ms Redirected to http://test.host/admin/administrator Completed 302 Found in 17ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3736ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3020000'), "firstname"=>"Jamey", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901bbb7735330de3020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3030000'), "firstname"=>"Darren", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3040000'), "firstname"=>"Catherine", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901bbb7735330de3040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.0ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3050000'), "firstname"=>"Edna", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901bbb7735330de3050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms 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('54901bbb7735330de3060000'), "name"=>"Catherine D'Amore", "reference"=>"Lonzo Bergnaum DDS", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3070000'), "author_name"=>"Orrin Marks", "content"=>["Quidem et veritatis. Ea deleniti vero quia omnis hic sed non. Aut suscipit architecto enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901bbb7735330de3060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Redirected to http://test.host/admin/products/54901bbb7735330de3060000/comments/54901bbb7735330de3080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3090000'), "name"=>"Dortha Hickle", "reference"=>"Eliza Graham", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de30a0000'), "author_name"=>"Kraig Frami", "content"=>["Ut voluptatem omnis culpa quia facilis et. Eos mollitia et. Sed tenetur asperiores qui et amet consequatur eaque. Dignissimos recusandae quis ab voluptas minima iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901bbb7735330de3090000", "id"=>"54901bbb7735330de30a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3090000')} 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('54901bbb7735330de3090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901bbb7735330de30a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Redirected to http://test.host/admin/products/54901bbb7735330de3090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de30b0000'), "name"=>"Johanna Shields", "reference"=>"Gerald O'Kon", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de30c0000'), "author_name"=>"Garrison Gorczany", "content"=>["Qui accusamus sint qui aperiam nesciunt possimus. Maiores et modi omnis illo. Doloremque et consequatur debitis laboriosam. Nisi nihil ad sit qui dolores eius et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901bbb7735330de30b0000", "id"=>"54901bbb7735330de30c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de30d0000'), "name"=>"Krystel Cruickshank", "reference"=>"Andrew Treutel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de30e0000'), "author_name"=>"Noemy Morar", "content"=>["Sunt beatae minus quidem nobis natus. Fugiat vel ad vero. Ducimus soluta cum exercitationem maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901bbb7735330de30d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de30f0000'), "name"=>"Melany Kunde", "reference"=>"Madilyn Corwin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3100000'), "author_name"=>"Heidi Johnson", "content"=>["Soluta dolores officia culpa. Soluta ipsum similique et voluptas. Odio architecto ipsum quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901bbb7735330de30f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3110000'), "name"=>"Bo Schaefer", "reference"=>"Janessa Brown", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3120000'), "author_name"=>"Darien DuBuque", "content"=>["Autem enim incidunt. Qui illo quae vel. Modi ad eos similique qui reiciendis eveniet facere. Quam occaecati rerum voluptatem sit harum quos quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901bbb7735330de3110000", "id"=>"54901bbb7735330de3120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3130000'), "name"=>"Dasia Lemke", "reference"=>"Nico Reichert", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3140000'), "author_name"=>"Corbin Hansen", "content"=>["Et sint quia et quae nam dolorem. Ex minima ea. Laboriosam magnam omnis vitae sunt et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901bbb7735330de3140000", "product_id"=>"54901bbb7735330de3130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3130000'), "comments._id"=>BSON::ObjectId('54901bbb7735330de3140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Redirected to http://test.host/admin/products/54901bbb7735330de3130000/comments/54901bbb7735330de3140000 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('54901bbb7735330de3150000'), "name"=>"Mr. Cortney Cole", "reference"=>"Madilyn Lang", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3160000'), "firstname"=>"Casper", "lastname"=>"Witting"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4901ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901bbb7735330de3150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms Redirected to http://test.host/admin/products/54901bbb7735330de3150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3180000'), "name"=>"Mackenzie Zemlak PhD", "reference"=>"Chad Crist", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3190000'), "firstname"=>"Jermain", "lastname"=>"Hammes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901bbb7735330de3190000", "product_id"=>"54901bbb7735330de3180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de31a0000'), "name"=>"Grayson Jacobs", "reference"=>"Bessie Bernier", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de31b0000'), "firstname"=>"Judah", "lastname"=>"Hickle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1451ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901bbb7735330de31a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de31a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de31c0000'), "name"=>"Harmony Berge", "reference"=>"Casimir Weimann DVM", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de31d0000'), "firstname"=>"Alexys", "lastname"=>"Bergstrom"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901bbb7735330de31d0000", "product_id"=>"54901bbb7735330de31c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de31e0000'), "name"=>"Rocio Jaskolski", "reference"=>"Geoffrey Parker", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901bbb7735330de31f0000'), "firstname"=>"Maverick", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901bbb7735330de31f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901bbb7735330de31e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de31e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901bbb7735330de31e0000/manager 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('54901bbb7735330de3200000'), "name"=>"Ms. Nelle Carter", "reference"=>"Larue Bins", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3209ms 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('54901bbb7735330de3210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Redirected to http://test.host/admin/products/54901bbb7735330de3210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3278ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3220000'), "name"=>"Nyasia Kilback", "reference"=>"Davin Ankunding MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2346ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901bbb7735330de3220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms 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.2172ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3230000'), "name"=>"German Stamm", "reference"=>"Giovanni Gusikowski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901bbb7735330de3230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3240000'), "name"=>"Kathryne Ferry", "reference"=>"Koby Stokes", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms 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.5476ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3250000'), "name"=>"Juvenal Reinger", "reference"=>"Devonte Rosenbaum", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('54901bbb7735330de3280000'), "name"=>"Alvis Emmerich", "reference"=>"Nikolas Brown IV", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901bbb7735330de3280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3290000'), "name"=>"Horace Stokes Sr.", "reference"=>"Ms. Haylee Barrows", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901bbb7735330de3290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Redirected to http://test.host/admin/products/54901bbb7735330de3290000 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('54901bbb7735330de32a0000'), "firstname"=>"Nicola", "lastname"=>"Hagenes"}] 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.1885ms 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('54901bbb7735330de32b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Redirected to http://test.host/admin/users/54901bbb7735330de32b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1892ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de32c0000'), "firstname"=>"Lavern", "lastname"=>"Eichmann"}] 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=>"admin_users", :query=>{}} runtime: 0.1985ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901bbb7735330de32c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bbb7735330de32c0000')} 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('54901bbb7735330de32c0000')} 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.1842ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de32d0000'), "firstname"=>"Rosemarie", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901bbb7735330de32d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bbb7735330de32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de32e0000'), "firstname"=>"Amber", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms 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 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('54901bbb7735330de32f0000'), "firstname"=>"Katharina", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54901bbb7735330de3300000'), "firstname"=>"Donna", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901bbb7735330de3300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bbb7735330de3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3310000'), "firstname"=>"Archibald", "lastname"=>"Swift"}] 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"=>"54901bbb7735330de3310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bbb7735330de3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901bbb7735330de3310000 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('54901bbb7735330de3320000'), "firstname"=>"Dillon", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1488ms 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('54901bbb7735330de3330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms 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.2039ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3340000'), "firstname"=>"Norberto", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901bbb7735330de3340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3350000'), "firstname"=>"Enrique", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3360000'), "firstname"=>"Teresa", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5704ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901bbb7735330de3360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4055ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3370000'), "firstname"=>"Jovany", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901bbb7735330de3370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901bbb7735330de3370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3380000'), "name"=>"Zena Hammes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3390000'), "name"=>"Dario Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33a0000'), "name"=>"Kaci Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33b0000'), "name"=>"Malcolm Walsh DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33c0000'), "name"=>"Zita Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33d0000'), "name"=>"Mrs. Keshaun Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33e0000'), "name"=>"David Kozey V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de33f0000'), "name"=>"Kallie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de33f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3400000'), "name"=>"Maynard Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3410000'), "name"=>"Wanda Brown Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3420000'), "name"=>"Brad Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3430000'), "name"=>"Emmitt Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3440000'), "name"=>"Arielle Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3450000'), "name"=>"Glenna Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3460000'), "name"=>"Trace Ankunding MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3470000'), "name"=>"Quinten Trantow IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3480000'), "name"=>"Lea Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3490000'), "name"=>"Wilma Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34a0000'), "name"=>"Samir Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34b0000'), "name"=>"Meda Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34c0000'), "name"=>"Ms. Tyra Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34d0000'), "name"=>"Ericka Keebler DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34e0000'), "name"=>"Mr. Sherwood Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de34f0000'), "name"=>"Ruthe Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de34f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3500000'), "name"=>"Wava Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3510000'), "name"=>"Mr. Wanda Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3520000'), "name"=>"Maryse Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3530000'), "name"=>"Miss Emilie Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3540000'), "name"=>"Filiberto Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3550000'), "name"=>"Rowland Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3560000'), "name"=>"Alba Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3570000'), "name"=>"Brandi Lynch V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3580000'), "name"=>"Miss Kellie Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3590000'), "name"=>"Maegan Renner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35a0000'), "name"=>"Kraig Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35b0000'), "name"=>"Susanna Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35c0000'), "name"=>"Norris Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35d0000'), "name"=>"Shakira Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35e0000'), "name"=>"Patience Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de35f0000'), "name"=>"April Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de35f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3600000'), "name"=>"Angel Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3610000'), "name"=>"Lincoln Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3620000'), "name"=>"Dr. Luisa Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3630000'), "name"=>"Caterina Schultz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3640000'), "name"=>"Ludie Bashirian DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3650000'), "name"=>"Anthony Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3660000'), "name"=>"Kay Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3670000'), "name"=>"Ansel Johnston DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3680000'), "name"=>"Jayde Murazik PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3690000'), "name"=>"Kyla Spinka Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36a0000'), "name"=>"Lesly Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36b0000'), "name"=>"Dario Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36c0000'), "name"=>"Zoie Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36d0000'), "name"=>"Mr. Delphine Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36e0000'), "name"=>"Mr. Dante Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de36f0000'), "name"=>"Vernon Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de36f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3700000'), "name"=>"Zoie Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3710000'), "name"=>"Houston Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3720000'), "name"=>"Layla Sanford MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3730000'), "name"=>"Lonny Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3740000'), "name"=>"Calista Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3750000'), "name"=>"Jacinthe Hessel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3760000'), "name"=>"Mr. Delmer Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3770000'), "name"=>"Tyreek Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3780000'), "name"=>"Donnie Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3790000'), "name"=>"Dandre Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37a0000'), "name"=>"Jerrold Kuphal DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de37a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37b0000'), "name"=>"Corrine Rosenbaum Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de37b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37c0000'), "name"=>"Jocelyn Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de37c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37d0000'), "name"=>"Barton Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de37d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37e0000'), "name"=>"Jody D'Amore"}] 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={"category_id"=>BSON::ObjectId('54901bbb7735330de37e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 42.0269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de37f0000'), "name"=>"Alexys Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de37f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3800000'), "name"=>"Camren Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3810000'), "name"=>"Larissa O'Kon IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3820000'), "name"=>"Sonia Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3830000'), "name"=>"Carmel Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3840000'), "name"=>"Kelsi Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3850000'), "name"=>"Ceasar Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3860000'), "name"=>"Dr. Grayce Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3870000'), "name"=>"Omer Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3880000'), "name"=>"Marielle Beier II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3890000'), "name"=>"Margarete Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38a0000'), "name"=>"Odie Lakin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38b0000'), "name"=>"April Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38c0000'), "name"=>"Ellie Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38d0000'), "name"=>"Anthony Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38e0000'), "name"=>"Dr. Shanelle Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de38f0000'), "name"=>"Joany Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de38f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3900000'), "name"=>"Ocie Mills V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3910000'), "name"=>"Mrs. Lizzie Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3920000'), "name"=>"Mrs. Miles Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3930000'), "name"=>"Cloyd Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3940000'), "name"=>"Mireya Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3950000'), "name"=>"Jovani Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3960000'), "name"=>"Elsie Kessler PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3970000'), "name"=>"Hudson Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2400ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Redirected to http://test.host/categories/54901bbb7735330de3980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2634ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3990000'), "name"=>"Ms. Jayda Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2408ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901bbb7735330de3990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de3990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3919ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de3990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2484ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de39a0000'), "name"=>"Miss Davon Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901bbb7735330de39a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4198ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (7.3ms) Completed 200 OK in 13ms (Views: 11.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de39b0000'), "name"=>"Malcolm Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305806184296] runtime: 0.1218ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3135ms Completed 200 OK in 20ms (Views: 19.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de39c0000'), "name"=>"Bradford Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307009168555] runtime: 0.0755ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2865ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de39d0000'), "name"=>"Jayde Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de39f0000'), "name"=>"Mrs. Ahmad Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901bbb7735330de39f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de39f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3243ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3a00000'), "name"=>"Okey Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901bbb7735330de3a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901bbb7735330de3a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Redirected to http://test.host/categories/54901bbb7735330de3a00000 Completed 302 Found in 29ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3a10000'), "name"=>"Erich Hegmann", "reference"=>"Dahlia Schaefer", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3a20000'), "author_name"=>"Miss Estel Ryan", "content"=>["Veniam minus et omnis quam. Maiores voluptatem animi vero sunt unde. Fuga quo aut laborum sit eaque. Dignissimos porro officia debitis ipsa ut sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901bbb7735330de3a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a10000')} 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('54901bbb7735330de3a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms Redirected to http://test.host/products/54901bbb7735330de3a10000/comments/54901bbb7735330de3a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3863ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3a40000'), "name"=>"Arne Walker", "reference"=>"Lyla Boyle", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3a50000'), "author_name"=>"Dr. Jennyfer Dietrich", "content"=>["Optio occaecati quos cumque perspiciatis autem. Omnis assumenda tempora mollitia molestiae non. Laudantium tenetur quod quia voluptatem ea. Sint aut sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901bbb7735330de3a40000", "id"=>"54901bbb7735330de3a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901bbb7735330de3a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5647ms Redirected to http://test.host/products/54901bbb7735330de3a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3a60000'), "name"=>"Ms. Kurt White", "reference"=>"Davonte Kutch Jr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3a70000'), "author_name"=>"Annette Zboncak", "content"=>["Provident iste in voluptas libero quaerat ut. Molestias omnis voluptas recusandae odio vero. Sunt eum fugiat consectetur. Qui autem adipisci. Distinctio accusamus ullam omnis excepturi omnis est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901bbb7735330de3a60000", "id"=>"54901bbb7735330de3a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3a80000'), "name"=>"Norval Hettinger", "reference"=>"Lina Orn", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3a90000'), "author_name"=>"Nash Prohaska", "content"=>["Et aliquam necessitatibus sequi dolor. Nostrum officiis iste quo quis quia. Iste doloribus possimus earum ut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901bbb7735330de3a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3aa0000'), "name"=>"Minnie Balistreri", "reference"=>"Miss Sadye Renner", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3ab0000'), "author_name"=>"Maggie Kuvalis", "content"=>["Nemo praesentium asperiores ut. Molestiae autem molestiae est nam aliquid. Necessitatibus quisquam magni dolore. Qui officiis quae voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901bbb7735330de3aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbb7735330de3ac0000'), "name"=>"Kayden Schneider", "reference"=>"Trycia Mitchell", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901bbb7735330de3ad0000'), "author_name"=>"Sven Schiller", "content"=>["Sapiente est et architecto. Molestiae accusamus nisi sed vitae asperiores ut. Eligendi laboriosam accusamus aliquid. Nulla dolorem id ut enim ab. Sunt veniam alias quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901bbb7735330de3ac0000", "id"=>"54901bbb7735330de3ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbb7735330de3ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3ae0000'), "name"=>"Katlynn Wolff V", "reference"=>"Devonte Thompson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901bbc7735330de3af0000'), "author_name"=>"Samson Cummerata", "content"=>["Est laborum voluptatum ut. Neque ea ratione. Facilis eum aut et et praesentium natus. Et voluptate beatae culpa. Unde ut aliquid pariatur sed eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901bbc7735330de3ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b00000'), "name"=>"Leif VonRueden", "reference"=>"Jaren Lubowitz I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901bbc7735330de3b10000'), "author_name"=>"Adella McGlynn", "content"=>["Et ullam veritatis. Autem dolor fugit explicabo aperiam nobis. In rerum ullam minima. Doloremque et sit quae excepturi ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901bbc7735330de3b00000", "id"=>"54901bbc7735330de3b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b20000'), "name"=>"Dr. Zelda Price", "reference"=>"Alysson Murray", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901bbc7735330de3b30000'), "author_name"=>"Erick Harris", "content"=>["Vero rem iusto. Error esse sit rerum. Dolores sint ullam modi quos quae illum. In quis alias cupiditate magni laudantium ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901bbc7735330de3b30000", "product_id"=>"54901bbc7735330de3b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b20000'), "comments._id"=>BSON::ObjectId('54901bbc7735330de3b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms Redirected to http://test.host/products/54901bbc7735330de3b20000/comments/54901bbc7735330de3b30000 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('54901bbc7735330de3b40000'), "firstname"=>"Ila", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1773ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7434ms Redirected to http://test.host/admin/clients/54901bbc7735330de3b50000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2789ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b60000'), "firstname"=>"Brennan", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2675ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901bbc7735330de3b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms 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.2332ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b70000'), "firstname"=>"Tiffany", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901bbc7735330de3b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3b80000'), "firstname"=>"Chandler", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms 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('54901bbc7735330de3b90000'), "firstname"=>"Khalil", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5982ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901bbc7735330de3ba0000'), "firstname"=>"Myah", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901bbc7735330de3ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901bbc7735330de3bb0000'), "firstname"=>"Fidel", "lastname"=>"Effertz"}] 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"=>"54901bbc7735330de3bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms Redirected to http://test.host/admin/clients/54901bbc7735330de3bb0000 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('54901bbc7735330de3bc0000'), "firstname"=>"Dayne", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1707ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms Redirected to http://test.host/clients/54901bbc7735330de3bd0000 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_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3be0000'), "firstname"=>"Leta", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1662ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901bbc7735330de3be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms 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('54901bbc7735330de3bf0000'), "firstname"=>"Carlos", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901bbc7735330de3bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms Rendered /home/geoffroy/projects/crealettres/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('54901bbc7735330de3c00000'), "firstname"=>"Meta", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54901bbc7735330de3c10000'), "firstname"=>"Mittie", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901bbc7735330de3c20000'), "firstname"=>"Viva", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901bbc7735330de3c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3c30000'), "firstname"=>"Hal", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901bbc7735330de3c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c30000')} 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('54901bbc7735330de3c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms Redirected to http://test.host/clients/54901bbc7735330de3c30000 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('54901bbc7735330de3c40000'), "name"=>"Jerad Labadie", "reference"=>"Thelma O'Hara", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3c50000'), "firstname"=>"Rita", "lastname"=>"Crooks"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901bbc7735330de3c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c40000')} 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('54901bbc7735330de3c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms Redirected to http://test.host/products/54901bbc7735330de3c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3c70000'), "name"=>"Hulda Corkery", "reference"=>"Miss Ashlee Anderson", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3c80000'), "firstname"=>"Kathryne", "lastname"=>"Jerde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901bbc7735330de3c80000", "product_id"=>"54901bbc7735330de3c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3c90000'), "name"=>"Zakary Stamm", "reference"=>"Mr. Edna Dietrich", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3ca0000'), "firstname"=>"Roosevelt", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901bbc7735330de3c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3cb0000'), "name"=>"Dexter Sauer", "reference"=>"Petra Runte", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3cc0000'), "firstname"=>"Damaris", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901bbc7735330de3cc0000", "product_id"=>"54901bbc7735330de3cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3cd0000'), "name"=>"Cyrus Goldner", "reference"=>"Lennie Dare", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901bbc7735330de3ce0000'), "firstname"=>"Rosalia", "lastname"=>"Pfeffer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901bbc7735330de3ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901bbc7735330de3cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms Unpermitted parameters: name Redirected to http://test.host/products/54901bbc7735330de3cd0000/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('54901bbc7735330de3cf0000'), "name"=>"Dominic Streich", "reference"=>"Westley Hermiston", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d00000'), "name"=>"Dakota Doyle", "reference"=>"Augustine Lehner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d10000'), "name"=>"Monty Rutherford MD", "reference"=>"Henry VonRueden", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d20000'), "name"=>"Liliana Stanton", "reference"=>"Madelynn Lemke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d30000'), "name"=>"Kellie Cartwright DDS", "reference"=>"Annetta Metz", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d40000'), "name"=>"Paula Nitzsche", "reference"=>"Al Smitham", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms Redirected to http://test.host/products/54901bbc7735330de3d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2955ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d60000'), "name"=>"Hettie Bergstrom", "reference"=>"Charley Nikolaus", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2403ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901bbc7735330de3d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3d60000')} 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={"_id"=>BSON::ObjectId('54901bbc7735330de3d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms 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.2509ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d70000'), "name"=>"Mr. Amparo Smitham", "reference"=>"Hillard Smith", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901bbc7735330de3d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbc7735330de3d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54901bbc7735330de3d80000'), "name"=>"Bernardo Boyer", "reference"=>"Triston Boyer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5003ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280834236908] runtime: 0.1058ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3263ms Completed 200 OK in 18ms (Views: 17.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3d90000'), "name"=>"Nia Gaylord", "reference"=>"Amely Mosciski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3da0000'), "name"=>"HelloWorld", "reference"=>"Jerrod Weimann", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3db0000'), "name"=>"value", "reference"=>"Evangeline Mills", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3920ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3286ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2190ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3424ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3258ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2855ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2241ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3dc0000'), "name"=>"Mac Herzog", "reference"=>"Nakia Johnston", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280495673869] runtime: 0.1231ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3348ms Completed 200 OK in 17ms (Views: 16.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756395821] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279404255660] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280742826232] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.8017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950387581] runtime: 0.1000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859410541] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210469544] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279224070587] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281009990822] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201874579] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194593955] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616524397] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154712342] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7396ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280550918913] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773865162] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976869496] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281259282695] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052573902] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279210771959] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781031631] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189107738] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281077511696] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816773162] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279540697130] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280332682787] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295921761] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280352623641] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280104923425] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281199950253] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279917303376] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279603078790] runtime: 0.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279685226] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280566062633] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189494670] runtime: 0.1418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9654ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280290256472] runtime: 0.1024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280114961833] runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280143722386] runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834779768] runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280604535272] runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609422526] runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281255932152] runtime: 0.1323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177454885] runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146254744] runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049098858] runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280586385496] runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280966425714] runtime: 0.1156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121252077] runtime: 0.1163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280304210361] runtime: 0.1265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520731956] runtime: 0.1153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280337750317] runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215367143] runtime: 0.1143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373533315] runtime: 0.1101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280240074890] runtime: 0.1094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279408435621] runtime: 0.1115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279867111830] runtime: 0.1086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114150385] runtime: 0.1102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280556204909] runtime: 0.1092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279427266511] runtime: 0.1046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972188725] runtime: 0.1050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439278141] runtime: 0.1360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 43.3541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209158711] runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304706447] runtime: 0.1054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122123106] runtime: 0.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281115372338] runtime: 0.0803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281010223798] runtime: 0.0767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280851161052] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938801666] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280714464675] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279907179107] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358609080] runtime: 0.0764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008274466] runtime: 0.0757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279720733688] runtime: 0.0728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279973935629] runtime: 0.0741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280439770772] runtime: 0.0741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279328403242] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518952849] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280197956186] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280997371011] runtime: 0.0733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458678849] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280749843057] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280565706950] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280193082785] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281029691811] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144446253] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466769430] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319183417] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178228060] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082341904] runtime: 0.0821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280133959114] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344647058] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193185496] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281171174767] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336689899] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512636378] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978800330] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877047673] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073135576] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914277537] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644681142] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618391835] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167224573] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457085499] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280631216799] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186888590] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280512182347] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772932048] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015496918] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279895445555] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161280890] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011111302] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750955106] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279277210008] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114822678] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983047826] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399402246] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281063055732] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279220807695] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280264009560] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279930583322] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486685066] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061466307] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226645154] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280755096328] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279470049092] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280992418687] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858296839] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187824799] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696261472] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280937553077] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280981228311] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414944809] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197472259] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908815063] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280360400092] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502006554] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529466380] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.9922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354323490] runtime: 0.1064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279403104624] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229233150] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279347292980] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281230936568] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256904532] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408375490] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280929877513] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280489565871] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553129577] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281276566574] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279836589181] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491429957] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279333938314] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280967519019] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280092012189] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280165828025] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178513314] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280613448128] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279777958368] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872833622] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892741701] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980992433] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090950384] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087666579] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280757560672] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583530790] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523510755] runtime: 0.0538ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbc7735330de3dd0000'), "name"=>"Jeremie Borer", "reference"=>"Kelsie Reichert", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2064ms Completed 200 OK in 1869ms (Views: 8.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbe7735330de3de0000'), "name"=>"Ryan Mueller", "reference"=>"Claudie West", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8566ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279552341739] runtime: 0.1634ms Completed 200 OK in 11ms (Views: 3.6ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbe7735330de3df0000'), "name"=>"Ulices Larkin", "reference"=>"Miss Ian Metz", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6933ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901bbe7735330de3df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbe7735330de3df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5918ms Completed 200 OK in 4ms (Views: 0.4ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbe7735330de3e00000'), "name"=>"Cornelius Konopelski Sr.", "reference"=>"Giovanny Gutkowski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5265ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.8ms) 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('54901bbe7735330de3e20000'), "name"=>"Margarette Hartmann", "reference"=>"Ezra Hagenes", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6379ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901bbe7735330de3e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bbe7735330de3e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4641ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.1ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbe7735330de3e30000'), "name"=>"Israel Jacobi", "reference"=>"Murphy Trantow", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5883ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Completed 200 OK in 1058ms (Views: 11.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bbf7735330de3e40000'), "name"=>"Taurean Jaskolski", "reference"=>"Otha Auer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9371ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7052ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5544ms Completed 200 OK in 1387ms (Views: 6.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3e50000'), "name"=>"Manley Greenholt", "reference"=>"Eudora Pollich DVM", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9534ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4403ms 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('54901bc17735330de3e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7637ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4333ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3e70000'), "name"=>"David Christiansen", "reference"=>"Brennan Pacocha", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901bc17735330de3e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6375ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3e80000'), "name"=>"Emelia Hand", "reference"=>"Ally Mills II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6830ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3ea0000'), "name"=>"Lyric Glover", "reference"=>"Jeremie Hoppe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901bc17735330de3ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5035ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6036ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3eb0000'), "name"=>"Natasha Frami Sr.", "reference"=>"Hanna McDermott", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.5704ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901bc17735330de3eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5463ms Redirected to http://test.host/products/54901bc17735330de3eb0000 Completed 302 Found in 7ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3ee0000'), "name"=>"Seamus O'Keefe", "reference"=>"Una Kassulke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3ec0000'), "author_name"=>"Elisabeth Denesik I", "content"=>["Voluptas corporis quod reprehenderit cumque quasi. Ab doloribus quae sed. Sit repellat quo."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3ed0000'), "author_name"=>"Paxton Feest Sr.", "content"=>["Id reiciendis similique et molestiae soluta. Est recusandae non. Suscipit aperiam maiores numquam harum a. Vel facere sint est doloremque commodi quis nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901bc17735330de3ee0000", "comment_id"=>"54901bc17735330de3ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4365ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ee0000'), "comments._id"=>BSON::ObjectId('54901bc17735330de3ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901bc17735330de3ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5918ms Redirected to http://test.host/products/54901bc17735330de3ee0000/comments/54901bc17735330de3ec0000/comments/54901bc17735330de3ef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3f20000'), "name"=>"Shakira Gulgowski", "reference"=>"Logan Herman Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f00000'), "author_name"=>"Vella Barrows", "content"=>["Accusamus quia saepe dolorum quia consequatur. Et quis vel qui facilis. Suscipit rem et. Eius quis doloribus earum non asperiores."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f10000'), "author_name"=>"Mauricio Hansen MD", "content"=>["Sed ut quia enim autem dolore id natus. Rerum qui vitae. Quo id aliquam veniam cupiditate. Fugiat eos rerum. Hic commodi veniam iste consequuntur ducimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901bc17735330de3f20000", "comment_id"=>"54901bc17735330de3f00000", "id"=>"54901bc17735330de3f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f20000'), "comments._id"=>BSON::ObjectId('54901bc17735330de3f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901bc17735330de3f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms Redirected to http://test.host/products/54901bc17735330de3f20000/comments/54901bc17735330de3f00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3f50000'), "name"=>"Lysanne Tillman", "reference"=>"Clovis Heathcote", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f30000'), "author_name"=>"Jamil Strosin", "content"=>["Adipisci qui asperiores. Tempore eligendi qui. Ut corporis et dolorem ut sapiente ea. Quisquam at corrupti perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f40000'), "author_name"=>"Carlotta Nicolas", "content"=>["Similique et magni. Architecto rem porro itaque occaecati. Omnis iure id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6740ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901bc17735330de3f50000", "comment_id"=>"54901bc17735330de3f30000", "id"=>"54901bc17735330de3f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 11ms (Views: 7.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3f80000'), "name"=>"Wyman McGlynn", "reference"=>"Mr. Merle Runte", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f60000'), "author_name"=>"Juwan McKenzie PhD", "content"=>["Voluptas eligendi aliquid corporis. Est ea nesciunt. Architecto suscipit reiciendis molestiae nulla asperiores. Vel et earum natus impedit. Dolore qui autem totam."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f70000'), "author_name"=>"Joseph Kerluke", "content"=>["Modi nesciunt architecto. Et quo qui et. Minus similique quidem. Voluptatem tempore cupiditate dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901bc17735330de3f80000", "comment_id"=>"54901bc17735330de3f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms Completed 200 OK in 7ms (Views: 4.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3fb0000'), "name"=>"Jacky Barton", "reference"=>"Larissa Gleason MD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3f90000'), "author_name"=>"Sister Kautzer II", "content"=>["Rem dignissimos quae modi. Maxime porro quam ut. Non qui natus aut."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3fa0000'), "author_name"=>"Melyna Schamberger II", "content"=>["Quibusdam nemo eaque quis. Magni delectus saepe sint ipsam explicabo corporis. Itaque minima eius iure amet. Libero fuga qui. Animi vel voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901bc17735330de3fb0000", "comment_id"=>"54901bc17735330de3f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3fe0000'), "name"=>"Jessika Roberts", "reference"=>"Jonathan Gusikowski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3fc0000'), "author_name"=>"Verla Aufderhar IV", "content"=>["Quidem aut esse vel qui saepe inventore omnis. Error voluptatem repudiandae velit. Rerum pariatur sed sapiente corporis dicta non."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3fd0000'), "author_name"=>"Ivory Rutherford PhD", "content"=>["Maxime qui mollitia blanditiis. Illum nisi ad quis. Natus debitis voluptates sit aspernatur cum qui et. Eum ea necessitatibus optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901bc17735330de3fe0000", "comment_id"=>"54901bc17735330de3fc0000", "id"=>"54901bc17735330de3fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3010100'), "name"=>"Joannie Shanahan", "reference"=>"Blake Kirlin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3ff0000'), "author_name"=>"Alvis Borer", "content"=>["Nesciunt vel quia consequuntur. Accusantium quis totam ratione consequatur libero. Quam fuga mollitia alias. Quaerat sed sed ipsa animi at sequi laborum."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3000100'), "author_name"=>"Bobbie Tillman", "content"=>["Unde voluptas tempora similique ut consectetur optio facilis. Laboriosam dolorem rerum incidunt dignissimos repudiandae. Nam quas rerum et et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901bc17735330de3010100", "comment_id"=>"54901bc17735330de3ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3040100'), "name"=>"Dr. Moses Adams", "reference"=>"Kenny Lockman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3020100'), "author_name"=>"Dejah Turner", "content"=>["Pariatur porro asperiores accusantium. Voluptas neque est. Ut molestias sit. Sit corrupti recusandae est optio dignissimos atque. Consequatur voluptatem rem dicta qui consequatur qui occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3030100'), "author_name"=>"Elenora Stroman", "content"=>["Repellendus ab veniam consequuntur repellat sint cupiditate. Quia fugit quisquam debitis. Eum consequatur distinctio et accusamus ipsa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5298ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901bc17735330de3040100", "comment_id"=>"54901bc17735330de3020100", "id"=>"54901bc17735330de3030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901bc17735330de3070100'), "name"=>"Jorge Ward", "reference"=>"Thea Walsh", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3050100'), "author_name"=>"Francesco Metz", "content"=>["Laborum voluptatem dolores. Reiciendis velit harum. Aspernatur tenetur voluptatem et officia aut. Quam minima fugit aut cumque facilis dolores voluptatibus. Eos quis ea cumque consequatur dignissimos est."], "comments"=>[{"_id"=>BSON::ObjectId('54901bc17735330de3060100'), "author_name"=>"Linda Ledner", "content"=>["Veniam amet fugiat deserunt libero. Odit fuga nulla rerum. Aut et id reprehenderit dolores quod quam. Cupiditate tenetur ex ut aut voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901bc17735330de3060100", "product_id"=>"54901bc17735330de3070100", "comment_id"=>"54901bc17735330de3050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901bc17735330de3070100'), "comments._id"=>BSON::ObjectId('54901bc17735330de3050100'), "comments.0.comments._id"=>BSON::ObjectId('54901bc17735330de3060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6076ms Redirected to http://test.host/products/54901bc17735330de3070100/comments/54901bc17735330de3050100/comments/54901bc17735330de3060100 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('54901bc17735330de3080100'), "firstname"=>"Damian", "lastname"=>"Runte"}] 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=>"admin_users", :query=>{}} runtime: 0.1949ms 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('54901bc17735330de3090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Redirected to http://test.host/users/54901bc17735330de3090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2047ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bc17735330de30a0100'), "firstname"=>"Tod", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms 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"=>"54901bc17735330de30a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bc17735330de30a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bc17735330de30a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms 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.1942ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bc17735330de30b0100'), "firstname"=>"Perry", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4446ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901bc17735330de30b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bc17735330de30b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54901bc17735330de30c0100'), "firstname"=>"Ervin", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms 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.3874ms Completed 200 OK in 9ms (Views: 8.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bc17735330de30d0100'), "firstname"=>"Skylar", "lastname"=>"Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.3ms) Completed 200 OK in 39ms (Views: 38.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901bc17735330de30e0100'), "firstname"=>"Norwood", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901bc17735330de30e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bc17735330de30e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54901bc17735330de30f0100'), "firstname"=>"Dawson", "lastname"=>"McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901bc17735330de30f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901bc17735330de30f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Unpermitted parameters: name Redirected to http://test.host/users/54901bc17735330de30f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5163ms 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.4847ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5600ms 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.4176ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6361ms 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.4134ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c567735330e3a000000'), "firstname"=>"Maggie", "lastname"=>"Kunze"}] 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=>"administrators", :query=>{}} runtime: 0.1624ms 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('54901c567735330e3a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms 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.3679ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c567735330e3a020000'), "firstname"=>"Jaylon", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54901c567735330e3a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c567735330e3a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.4ms) Completed 200 OK in 24ms (Views: 22.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c567735330e3a030000'), "firstname"=>"Easter", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5456ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c567735330e3a040000'), "firstname"=>"Anna", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.5103ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54901c567735330e3a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c567735330e3a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4708ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (4.5ms) Completed 200 OK in 12ms (Views: 9.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c567735330e3a050000'), "firstname"=>"Micheal", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7160ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54901c567735330e3a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c567735330e3a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms 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('54901c577735330e3a060000'), "name"=>"Fatima Considine III", "reference"=>"Cathryn Glover", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a070000'), "author_name"=>"Miss Felicity Schmitt", "content"=>["Illum dolore sed consequatur repellendus consequatur voluptatibus id. Quaerat rerum qui voluptates molestiae adipisci. Dignissimos ea fuga modi esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901c577735330e3a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4222ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901c577735330e3a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Redirected to http://test.host/admin/products/54901c577735330e3a060000/comments/54901c577735330e3a080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a090000'), "name"=>"Ms. Jaeden Rippin", "reference"=>"Claude Balistreri", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a0a0000'), "author_name"=>"Grace Brekke", "content"=>["Nesciunt fugit non et est quibusdam. Culpa nam doloremque est impedit est. Dolor aut qui reiciendis illo voluptatibus. Dolor voluptas ratione vel. In et blanditiis tempora rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54901c577735330e3a090000", "id"=>"54901c577735330e3a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901c577735330e3a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4832ms Redirected to http://test.host/admin/products/54901c577735330e3a090000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a0b0000'), "name"=>"Dandre Farrell Sr.", "reference"=>"Mozell Oberbrunner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a0c0000'), "author_name"=>"Cleveland Emard", "content"=>["Et repellendus reiciendis possimus et. Quo sit sint. Quia sequi consequuntur. Cumque minus enim neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54901c577735330e3a0b0000", "id"=>"54901c577735330e3a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a0d0000'), "name"=>"Imani Orn", "reference"=>"Kade Bechtelar", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a0e0000'), "author_name"=>"Macy Hauck", "content"=>["Nesciunt maiores illum sit ut velit voluptatem enim. Aut minus et atque eius. Voluptate consequatur unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54901c577735330e3a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a0f0000'), "name"=>"Amie Howell III", "reference"=>"Estefania Mills II", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a100000'), "author_name"=>"Clovis Kozey", "content"=>["Velit qui dolor dicta perspiciatis aut qui. Ut rem commodi at inventore molestias. Sed consequatur eos et sint vero reprehenderit asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4872ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54901c577735330e3a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a110000'), "name"=>"Garth Leffler", "reference"=>"Eve Torphy", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a120000'), "author_name"=>"Natalie Heller DDS", "content"=>["Aut dolorem corrupti. Reiciendis illo asperiores esse. Dolore ullam eum nihil quas at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54901c577735330e3a110000", "id"=>"54901c577735330e3a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a130000'), "name"=>"Lazaro Murphy DVM", "reference"=>"Rebeca Yost V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3a140000'), "author_name"=>"Miss Lavinia Jacobson", "content"=>["Totam rerum et. Ratione et sequi rem voluptatem odit magni. Placeat autem unde molestiae sint et quia ut. At voluptatem qui ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901c577735330e3a140000", "product_id"=>"54901c577735330e3a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a130000'), "comments._id"=>BSON::ObjectId('54901c577735330e3a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5622ms Redirected to http://test.host/admin/products/54901c577735330e3a130000/comments/54901c577735330e3a140000 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('54901c577735330e3a150000'), "name"=>"Mossie Kulas", "reference"=>"Trenton Moore", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a160000'), "firstname"=>"Roderick", "lastname"=>"Kuhlman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901c577735330e3a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms Redirected to http://test.host/admin/products/54901c577735330e3a150000/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('54901c577735330e3a180000'), "name"=>"Eugene Hilll", "reference"=>"Anderson Boehm", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a190000'), "firstname"=>"Clementine", "lastname"=>"Zulauf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5977ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54901c577735330e3a190000", "product_id"=>"54901c577735330e3a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4614ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a1a0000'), "name"=>"Mr. Marina Hilll", "reference"=>"Karelle Larson", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a1b0000'), "firstname"=>"Elmore", "lastname"=>"Hettinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5807ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54901c577735330e3a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a1c0000'), "name"=>"Gabriella McLaughlin", "reference"=>"Houston Bosco IV", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a1d0000'), "firstname"=>"Ana", "lastname"=>"Nader"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5800ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54901c577735330e3a1d0000", "product_id"=>"54901c577735330e3a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a1e0000'), "name"=>"Crystel Kris", "reference"=>"Beaulah Lowe I", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54901c577735330e3a1f0000'), "firstname"=>"Karianne", "lastname"=>"McDermott"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54901c577735330e3a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901c577735330e3a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4497ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54901c577735330e3a1e0000/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('54901c577735330e3a200000'), "name"=>"Toby Kling", "reference"=>"Johnathon Berge", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3225ms 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('54901c577735330e3a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms Redirected to http://test.host/admin/products/54901c577735330e3a210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3458ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a220000'), "name"=>"Mr. Adelia Stoltenberg", "reference"=>"Keyon Schowalter", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2944ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54901c577735330e3a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a220000')} 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('54901c577735330e3a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms 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.2615ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a230000'), "name"=>"Miss Eliezer Donnelly", "reference"=>"Taryn Medhurst", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54901c577735330e3a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a240000'), "name"=>"Mckenzie Fritsch", "reference"=>"Mr. Chasity Schmidt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms 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.5352ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a250000'), "name"=>"Mrs. Maia Schimmel", "reference"=>"Vaughn Rice DDS", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 18ms (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('54901c577735330e3a280000'), "name"=>"Kaylin Turner", "reference"=>"Ms. Agustina Cole", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54901c577735330e3a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a290000'), "name"=>"Franco Moen", "reference"=>"Alan Stark", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901c577735330e3a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms Redirected to http://test.host/admin/products/54901c577735330e3a290000 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('54901c577735330e3a2a0000'), "firstname"=>"Josefa", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2016ms 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('54901c577735330e3a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Redirected to http://test.host/admin/users/54901c577735330e3a2b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a2c0000'), "firstname"=>"Cara", "lastname"=>"MacGyver"}] 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=>"admin_users", :query=>{}} runtime: 0.1888ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54901c577735330e3a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c577735330e3a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c577735330e3a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms 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.2070ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a2d0000'), "firstname"=>"Omer", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54901c577735330e3a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c577735330e3a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a2e0000'), "firstname"=>"Royce", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5459ms 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.4731ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a2f0000'), "firstname"=>"Jeffrey", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54901c577735330e3a300000'), "firstname"=>"Juliana", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54901c577735330e3a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c577735330e3a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a310000'), "firstname"=>"Roderick", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5739ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901c577735330e3a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c577735330e3a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54901c577735330e3a310000 Completed 302 Found in 35ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a320000'), "firstname"=>"Bell", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5942ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3166ms 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('54901c577735330e3a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1067ms Redirected to http://test.host/administrator Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3678ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a340000'), "firstname"=>"Keith", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54901c577735330e3a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c577735330e3a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4225ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a350000'), "firstname"=>"Verlie", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a360000'), "firstname"=>"Gregorio", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5771ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54901c577735330e3a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c577735330e3a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a370000'), "firstname"=>"Edmond", "lastname"=>"Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5976ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54901c577735330e3a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54901c577735330e3a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3982ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a380000'), "name"=>"Clifford Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a390000'), "name"=>"Keegan Koch Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3a0000'), "name"=>"Micaela Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3b0000'), "name"=>"Daniella Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3c0000'), "name"=>"Maye Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3d0000'), "name"=>"Silas Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3e0000'), "name"=>"Jaydon Shields PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a3f0000'), "name"=>"Quincy Quigley"}] 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={"category_id"=>BSON::ObjectId('54901c577735330e3a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a400000'), "name"=>"Marlen Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a410000'), "name"=>"Ron Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a420000'), "name"=>"Bethel Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a430000'), "name"=>"Darryl Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a440000'), "name"=>"Ms. Alia Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a450000'), "name"=>"Greta Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a460000'), "name"=>"Maya Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a470000'), "name"=>"Jacky Johnson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a480000'), "name"=>"Aron Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a490000'), "name"=>"Bret Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4a0000'), "name"=>"Sonya McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4b0000'), "name"=>"Hermann Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4c0000'), "name"=>"Bria Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4d0000'), "name"=>"Mollie Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4e0000'), "name"=>"Emerald Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a4f0000'), "name"=>"Katrina Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a500000'), "name"=>"Sydnie Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a510000'), "name"=>"Gabrielle D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a520000'), "name"=>"Giuseppe Padberg DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a530000'), "name"=>"Kaela Rodriguez I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a540000'), "name"=>"Donavon Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a550000'), "name"=>"Ms. Thomas Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a560000'), "name"=>"Crawford Mann I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a570000'), "name"=>"Darlene Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a580000'), "name"=>"Enid Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a590000'), "name"=>"Kiel Murray MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5a0000'), "name"=>"Ashleigh Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5b0000'), "name"=>"Erica Wilkinson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5c0000'), "name"=>"Shad Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5d0000'), "name"=>"Daren Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5e0000'), "name"=>"Seth Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a5f0000'), "name"=>"Hester Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a600000'), "name"=>"Elfrieda Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a610000'), "name"=>"Dr. Verner Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a620000'), "name"=>"Miss Albert Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a630000'), "name"=>"Wilson Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a640000'), "name"=>"Horacio Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a650000'), "name"=>"Cruz Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a660000'), "name"=>"Nikko Padberg MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a670000'), "name"=>"Irma Ernser PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a680000'), "name"=>"Rhea Pfannerstill IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a690000'), "name"=>"Flavio Mann PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.8661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6a0000'), "name"=>"Ariane Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6b0000'), "name"=>"Manuel Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6c0000'), "name"=>"Sydnie Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6d0000'), "name"=>"Ida Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6e0000'), "name"=>"Rebecca Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a6f0000'), "name"=>"Bailey Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a700000'), "name"=>"Keith Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a710000'), "name"=>"Kaya Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a720000'), "name"=>"Leann Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a730000'), "name"=>"Noelia Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a740000'), "name"=>"Maximillian Beahan"}] 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={"category_id"=>BSON::ObjectId('54901c577735330e3a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a750000'), "name"=>"Janet Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a760000'), "name"=>"Miss Stanford Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a770000'), "name"=>"Arianna Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a780000'), "name"=>"Jaquelin McLaughlin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a790000'), "name"=>"Adrain Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7a0000'), "name"=>"Cordia Ankunding MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7b0000'), "name"=>"Dr. Dino Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7c0000'), "name"=>"Donald White"}] 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={"category_id"=>BSON::ObjectId('54901c577735330e3a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7d0000'), "name"=>"Libbie Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7e0000'), "name"=>"Mrs. Justine Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a7f0000'), "name"=>"Litzy Lockman II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a800000'), "name"=>"Jamel Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a810000'), "name"=>"Natalie Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a820000'), "name"=>"Eunice Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a830000'), "name"=>"Dolly Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a840000'), "name"=>"Tristin Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a850000'), "name"=>"Clifton Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a860000'), "name"=>"Ned Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a870000'), "name"=>"Dr. Clemens Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a880000'), "name"=>"Dale Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a890000'), "name"=>"Lesley Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8a0000'), "name"=>"Dr. Nannie Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8b0000'), "name"=>"Kyle Muller MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8c0000'), "name"=>"Carey Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8d0000'), "name"=>"Chesley Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8e0000'), "name"=>"Waylon Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a8f0000'), "name"=>"Rita Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a900000'), "name"=>"Stanley Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a910000'), "name"=>"Kim Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a920000'), "name"=>"Lonzo Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a930000'), "name"=>"Sienna Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a940000'), "name"=>"Tiffany Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a950000'), "name"=>"Bell Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a960000'), "name"=>"Annette Rosenbaum"}] 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={"category_id"=>BSON::ObjectId('54901c577735330e3a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a970000'), "name"=>"Manley Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2549ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Redirected to http://test.host/categories/54901c577735330e3a980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2769ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a990000'), "name"=>"Maximo O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2443ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54901c577735330e3a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3178ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a9a0000'), "name"=>"Zetta Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54901c577735330e3a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a9b0000'), "name"=>"Amber Turner I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306127245288] runtime: 0.0882ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2699ms Completed 200 OK in 16ms (Views: 15.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a9c0000'), "name"=>"Jaylon Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305831873207] runtime: 0.0679ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2432ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a9d0000'), "name"=>"Faye Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4614ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3a9f0000'), "name"=>"Rusty Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54901c577735330e3a9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aa00000'), "name"=>"Jameson Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54901c577735330e3aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54901c577735330e3aa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54901c577735330e3aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Redirected to http://test.host/categories/54901c577735330e3aa00000 Completed 302 Found in 30ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aa10000'), "name"=>"Lawson Anderson", "reference"=>"Cassidy Roob", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aa20000'), "author_name"=>"Ramiro Wuckert", "content"=>["Voluptate incidunt accusantium non veniam dolore. At iure dolor nostrum reprehenderit molestiae. Velit nemo veritatis. Ut corrupti delectus saepe nobis iste laudantium maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901c577735330e3aa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54901c577735330e3aa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5154ms Redirected to http://test.host/products/54901c577735330e3aa10000/comments/54901c577735330e3aa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3912ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aa40000'), "name"=>"Flossie Simonis", "reference"=>"Jaclyn Ebert", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aa50000'), "author_name"=>"Clement Koepp", "content"=>["Iusto aliquid ratione odio odit ut voluptas quia. Et consequatur qui a atque delectus ullam molestiae. Quibusdam sequi aut sit vero eius aut voluptatem. Voluptatibus perferendis consectetur quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54901c577735330e3aa40000", "id"=>"54901c577735330e3aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54901c577735330e3aa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms Redirected to http://test.host/products/54901c577735330e3aa40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aa60000'), "name"=>"Ron Heller", "reference"=>"Hilda Little", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aa70000'), "author_name"=>"Arielle Mitchell Jr.", "content"=>["Qui voluptatem omnis doloribus veniam. Fugit doloremque et suscipit natus. Aut quia quod perferendis. Ut occaecati quis fugit in quibusdam. Omnis id dolore laudantium consequuntur nam omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54901c577735330e3aa60000", "id"=>"54901c577735330e3aa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aa80000'), "name"=>"Florence Koepp", "reference"=>"Mrs. Fausto Windler", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aa90000'), "author_name"=>"Jedediah Ebert", "content"=>["Ea ea vitae nostrum dolor hic rem. Id aut dicta error velit dolor qui eius. Adipisci ut in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54901c577735330e3aa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aaa0000'), "name"=>"Idell Spencer", "reference"=>"Dejuan Bins", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aab0000'), "author_name"=>"Dr. Dameon Turcotte", "content"=>["Aperiam ipsam fuga totam nostrum similique itaque vel. Vitae velit magni sed voluptas dolores. Officia sit qui eaque inventore expedita veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54901c577735330e3aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aac0000'), "name"=>"Sarina Borer", "reference"=>"Mrs. Marcella Crona", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aad0000'), "author_name"=>"Demond Rolfson", "content"=>["Aliquam accusantium facere laudantium quia enim. Expedita possimus consequuntur. Aliquam eum fugit odit sit reprehenderit voluptatem praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54901c577735330e3aac0000", "id"=>"54901c577735330e3aad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3aae0000'), "name"=>"Dr. Mattie O'Conner", "reference"=>"Rocky Hoppe", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3aaf0000'), "author_name"=>"Etha Tremblay Sr.", "content"=>["Tempore nulla sint velit corporis. Corrupti consectetur et qui. Ea quis quod. Ut libero dolorem. Praesentium odio saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54901c577735330e3aae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3ab00000'), "name"=>"Rosemarie Fay", "reference"=>"Kyle Skiles", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3ab10000'), "author_name"=>"Hazle Dare III", "content"=>["Perspiciatis quam quidem. Animi molestiae minima omnis doloribus voluptate. Sapiente quia ea nulla dolor eveniet illo vel. Ipsum laborum quia officiis atque ab. Molestias quisquam modi quos quaerat magnam dolores autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54901c577735330e3ab00000", "id"=>"54901c577735330e3ab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c577735330e3ab20000'), "name"=>"Paige Denesik", "reference"=>"Mrs. Kiley Ruecker", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901c577735330e3ab30000'), "author_name"=>"Ms. Austen VonRueden", "content"=>["Sunt blanditiis velit. Quas delectus qui libero. In dolores est rerum sunt. Beatae nam sit qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901c577735330e3ab30000", "product_id"=>"54901c577735330e3ab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c577735330e3ab20000'), "comments._id"=>BSON::ObjectId('54901c577735330e3ab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms Redirected to http://test.host/products/54901c577735330e3ab20000/comments/54901c577735330e3ab30000 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('54901c577735330e3ab40000'), "firstname"=>"Jordy", "lastname"=>"Torp"}] 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=>"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('54901c577735330e3ab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Redirected to http://test.host/admin/clients/54901c577735330e3ab50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2125ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c577735330e3ab60000'), "firstname"=>"Kelsi", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1818ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54901c577735330e3ab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c577735330e3ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c577735330e3ab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms 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.1960ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c577735330e3ab70000'), "firstname"=>"Adolphus", "lastname"=>"Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901c577735330e3ab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c577735330e3ab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c577735330e3ab80000'), "firstname"=>"Piper", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms 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('54901c577735330e3ab90000'), "firstname"=>"Leonor", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54901c587735330e3aba0000'), "firstname"=>"Helga", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901c587735330e3aba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('54901c587735330e3abb0000'), "firstname"=>"Edwardo", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901c587735330e3abb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3abb0000')} 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('54901c587735330e3abb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Redirected to http://test.host/admin/clients/54901c587735330e3abb0000 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('54901c587735330e3abc0000'), "firstname"=>"Berta", "lastname"=>"Carroll"}] 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.1840ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c587735330e3abd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Redirected to http://test.host/clients/54901c587735330e3abd0000 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('54901c587735330e3abe0000'), "firstname"=>"Florian", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms 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"=>"54901c587735330e3abe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3abe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3abe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms 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.1887ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c587735330e3abf0000'), "firstname"=>"Joany", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54901c587735330e3abf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Rendered /home/geoffroy/projects/crealettres/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('54901c587735330e3ac00000'), "firstname"=>"Angelo", "lastname"=>"Tillman"}] 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.3636ms 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('54901c587735330e3ac10000'), "firstname"=>"Pietro", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54901c587735330e3ac20000'), "firstname"=>"Laverne", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54901c587735330e3ac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ac30000'), "firstname"=>"Brian", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54901c587735330e3ac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3ac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54901c587735330e3ac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms Redirected to http://test.host/clients/54901c587735330e3ac30000 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('54901c587735330e3ac40000'), "name"=>"Mrs. Watson Hackett", "reference"=>"Jarrod Leuschke", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3ac50000'), "firstname"=>"Madisen", "lastname"=>"Rosenbaum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4026ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54901c587735330e3ac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ac40000')} 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('54901c587735330e3ac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3ac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms Redirected to http://test.host/products/54901c587735330e3ac40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ac70000'), "name"=>"Jaida Conroy Jr.", "reference"=>"Dagmar Pollich", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3ac80000'), "firstname"=>"Rowan", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54901c587735330e3ac80000", "product_id"=>"54901c587735330e3ac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ac90000'), "name"=>"Miss Gracie Gutkowski", "reference"=>"Jedidiah Auer", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3aca0000'), "firstname"=>"Evalyn", "lastname"=>"Jones"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54901c587735330e3ac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3acb0000'), "name"=>"Micah Murazik", "reference"=>"Ms. Lonny Renner", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3acc0000'), "firstname"=>"Angela", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54901c587735330e3acc0000", "product_id"=>"54901c587735330e3acb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3acd0000'), "name"=>"Bradford Bernier", "reference"=>"Gordon Schowalter", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54901c587735330e3ace0000'), "firstname"=>"Annamae", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54901c587735330e3ace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54901c587735330e3acd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Unpermitted parameters: name Redirected to http://test.host/products/54901c587735330e3acd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3acf0000'), "name"=>"Jovan Gleason", "reference"=>"Milo Miller", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad00000'), "name"=>"Ms. Suzanne Mraz", "reference"=>"Ebba Hoeger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad10000'), "name"=>"Vidal Ullrich", "reference"=>"Itzel Dickinson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad20000'), "name"=>"Miss Lora Hills", "reference"=>"Ismael Satterfield", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad30000'), "name"=>"Taryn Pfeffer", "reference"=>"Sabrina Morissette", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad40000'), "name"=>"Breanna Hansen", "reference"=>"Mr. Jamar Rosenbaum", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1863ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms Redirected to http://test.host/products/54901c587735330e3ad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2502ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad60000'), "name"=>"Fredrick Casper", "reference"=>"Mr. Minnie Muller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2167ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54901c587735330e3ad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ad60000')} 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={"_id"=>BSON::ObjectId('54901c587735330e3ad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms 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.2225ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad70000'), "name"=>"Gardner Kerluke", "reference"=>"Jayde Labadie", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54901c587735330e3ad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c587735330e3ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54901c587735330e3ad80000'), "name"=>"Nya Halvorson", "reference"=>"Elroy Conn", "quantity"=>1}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.6898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512354365] runtime: 0.1153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2473ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ad90000'), "name"=>"Burnice Denesik", "reference"=>"Leone Johnston", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3ada0000'), "name"=>"HelloWorld", "reference"=>"Mr. Major Stokes", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3adb0000'), "name"=>"value", "reference"=>"Ernie Bailey", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2934ms Completed 200 OK in 6ms (Views: 5.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2548ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2312ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1656ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2337ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1971ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1640ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3adc0000'), "name"=>"Ettie Reilly", "reference"=>"Arnaldo Stokes", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279767916723] runtime: 0.0921ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2340ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279273036911] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279662959445] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279551390504] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175915378] runtime: 0.1020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280510843605] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676099780] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161202336] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279681673065] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515784468] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280363696493] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906985320] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280635254678] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280755229160] runtime: 0.0852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031904422] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279541959501] runtime: 0.0749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279507323123] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060495095] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280890693182] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088482332] runtime: 0.0752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279641369210] runtime: 0.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281040902732] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279575339966] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279360360545] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151345668] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711734607] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280693775701] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280102265272] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880998500] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280367519024] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279795410230] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136509580] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280316549115] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280688580379] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676105202] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279709012933] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279231367951] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583353716] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281146541411] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280035875561] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906061179] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281173322162] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279657263851] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280561812619] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618926074] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281076285155] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982622796] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138802272] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739071706] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280025848488] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548926028] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280418719938] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047852284] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279580504502] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004238449] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280111802142] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639832856] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279457140225] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225937792] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272480081] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280937956539] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279343271450] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562780326] runtime: 31.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279233291071] runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201015083] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175305798] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126250053] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280366330860] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280170069332] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280899177697] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280846144118] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000426046] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145421341] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280135230986] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280346291445] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279450269429] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433580735] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279881468786] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279565671812] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280415874] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279664873877] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279894093462] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070982128] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279953704184] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629520197] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280860523351] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279228291430] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213038771] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342108234] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869707368] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353933059] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280775052033] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014270956] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279515265250] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432606665] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279468019945] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281185064748] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711276635] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163259429] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280946400117] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280832276376] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300216856] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281257807347] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329232253] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877429967] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801100220] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136581876] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280602911327] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251360571] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280545148933] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228888740] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280063259120] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734072874] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629258470] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482484721] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279528748145] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280113736109] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279638343633] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928399310] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281156340130] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491321801] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262243504] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969845185] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857838425] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279661309661] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228263908] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280026450660] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191179408] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281284478786] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462143228] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279839570837] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280125764502] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280761763162] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771989620] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280799258712] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279302942867] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279217208164] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821719668] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195974801] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225459637] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279707848285] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280746679021] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280328884235] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280999497127] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975800192] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.8894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317940017] runtime: 0.0967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280151799482] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280627808611] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079856707] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098054302] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166542374] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280621697459] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154895133] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280919589527] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281398958] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279411376249] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280809922423] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442694568] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279205131260] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280421502768] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280498211309] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279313283579] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922806495] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355065833] runtime: 0.0422ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c587735330e3add0000'), "name"=>"Arnold Grimes", "reference"=>"Miss Lacy Langworth", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2060ms Completed 200 OK in 5330ms (Views: 8.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5d7735330e3ade0000'), "name"=>"Brielle Abshire", "reference"=>"Jesus Kreiger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9752ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279431878315] runtime: 0.2061ms Completed 200 OK in 10ms (Views: 3.3ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5d7735330e3adf0000'), "name"=>"Vickie Doyle", "reference"=>"Craig Anderson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6796ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54901c5d7735330e3adf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c5d7735330e3adf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4947ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5d7735330e3ae00000'), "name"=>"Polly Zieme", "reference"=>"Brenna Friesen", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6390ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 10ms (Views: 8.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5d7735330e3ae20000'), "name"=>"Ashlee Mohr V", "reference"=>"Bernice Kreiger", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6752ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54901c5d7735330e3ae20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c5d7735330e3ae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5035ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5d7735330e3ae30000'), "name"=>"Sylvan Bashirian", "reference"=>"Devante Weber", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6444ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4004ms Completed 200 OK in 830ms (Views: 11.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c5e7735330e3ae40000'), "name"=>"Gunner Runolfsdottir", "reference"=>"Madelyn Corkery", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9200ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7126ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5646ms Completed 200 OK in 1808ms (Views: 8.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3ae50000'), "name"=>"Gudrun Okuneva", "reference"=>"Jesus Huel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9333ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5194ms 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('54901c607735330e3ae60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8983ms Completed 201 Created in 7ms (Views: 0.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5321ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3ae70000'), "name"=>"Ena Hackett", "reference"=>"Jewell Schulist Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7290ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54901c607735330e3ae70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3ae70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3ae70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Completed 200 OK in 4ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3ae80000'), "name"=>"Theron Johns", "reference"=>"Ashley Witting", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6514ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3aea0000'), "name"=>"Lance Pouros", "reference"=>"Ryan Lynch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6964ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901c607735330e3aea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4848ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5409ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3aeb0000'), "name"=>"Mac Steuber", "reference"=>"Mrs. Marquise Bins", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54901c607735330e3aeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5727ms Redirected to http://test.host/products/54901c607735330e3aeb0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3aee0000'), "name"=>"Dr. Merle Keebler", "reference"=>"Rosalia Kirlin", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3aec0000'), "author_name"=>"Rodolfo Goldner", "content"=>["Nihil in delectus quia voluptatum et. Explicabo vero itaque doloribus asperiores nisi voluptatum. Sunt accusamus et repudiandae in aut maxime soluta. Quam aut eos sint corrupti. Dolore libero est quia."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3aed0000'), "author_name"=>"Camille Stokes", "content"=>["Voluptatem rerum quasi dolor quas consectetur deleniti. Saepe voluptates aspernatur vero voluptatibus pariatur laborum. Animi magni accusamus ex nemo necessitatibus similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54901c607735330e3aee0000", "comment_id"=>"54901c607735330e3aec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4381ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aee0000'), "comments._id"=>BSON::ObjectId('54901c607735330e3aec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901c607735330e3aef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms Redirected to http://test.host/products/54901c607735330e3aee0000/comments/54901c607735330e3aec0000/comments/54901c607735330e3aef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3aee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3af20000'), "name"=>"Dell Muller", "reference"=>"Abagail Fahey", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af00000'), "author_name"=>"Lula Swift", "content"=>["Nulla recusandae error molestiae quia nisi sed. Tempora doloribus culpa ut iure voluptas magni optio. Non doloremque doloribus. Quas officia ipsa aut minima. Fugiat velit dolores commodi."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af10000'), "author_name"=>"Jordon Johnson", "content"=>["Est possimus maxime fuga necessitatibus vel labore assumenda. Excepturi aut quibusdam eos. Ut totam fugit libero eos et culpa. Aspernatur tempora iure nisi. Esse qui voluptas qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54901c607735330e3af20000", "comment_id"=>"54901c607735330e3af00000", "id"=>"54901c607735330e3af10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af20000'), "comments._id"=>BSON::ObjectId('54901c607735330e3af00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54901c607735330e3af10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms Redirected to http://test.host/products/54901c607735330e3af20000/comments/54901c607735330e3af00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3af50000'), "name"=>"Ms. Nico Reilly", "reference"=>"Matteo Schimmel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af30000'), "author_name"=>"Benjamin Schaden", "content"=>["Ut laboriosam repellat culpa et accusamus. Labore provident rerum voluptates maiores consequatur. Cum consequuntur eaque atque eos."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af40000'), "author_name"=>"Isaiah Rice", "content"=>["Ea ipsam autem ullam. Nulla ut mollitia. Culpa tempore odio. Minus fugiat dolores nihil voluptas consequatur sit non. Culpa saepe dolorum ipsa provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54901c607735330e3af50000", "comment_id"=>"54901c607735330e3af30000", "id"=>"54901c607735330e3af40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3978ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3af80000'), "name"=>"Jarvis Johnston II", "reference"=>"Lia Beer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af60000'), "author_name"=>"Samir Lockman", "content"=>["Magnam a recusandae est. Tenetur totam iusto vero eius est sint praesentium. Accusamus et voluptas molestiae eum voluptas ducimus. Nulla quia sit est vel vitae."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af70000'), "author_name"=>"Santino Rempel", "content"=>["Nemo sequi quia est beatae consequatur. Dolorem aliquid alias autem et quia dolore. Similique ipsa voluptatum nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54901c607735330e3af80000", "comment_id"=>"54901c607735330e3af60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3af80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3afb0000'), "name"=>"Mervin Price", "reference"=>"Herbert Stehr", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3af90000'), "author_name"=>"Dell Harvey", "content"=>["Et nihil odio illum. Voluptas voluptas et laboriosam labore. Voluptatum nemo sunt laborum."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3afa0000'), "author_name"=>"Mr. Margaret Lebsack", "content"=>["Soluta voluptas nihil harum. Dignissimos alias rerum. Corrupti assumenda hic et est accusantium non cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54901c607735330e3afb0000", "comment_id"=>"54901c607735330e3af90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3afb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3493ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3afe0000'), "name"=>"Regan Smitham", "reference"=>"Mrs. Edgardo Ritchie", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3afc0000'), "author_name"=>"Vincenzo Feest DDS", "content"=>["Error laboriosam itaque aut alias unde cum minima. Dolor et accusantium id laboriosam. Velit qui est. Tempora ut inventore."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3afd0000'), "author_name"=>"Aylin Bahringer", "content"=>["Nobis voluptate excepturi rerum nihil quibusdam voluptatem in. Et qui velit culpa qui atque qui in. Aut minus fuga fugiat fugit facilis. Nostrum veniam cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54901c607735330e3afe0000", "comment_id"=>"54901c607735330e3afc0000", "id"=>"54901c607735330e3afd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3afe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a010100'), "name"=>"Sylvia Goldner", "reference"=>"Junius Cole", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3aff0000'), "author_name"=>"Mr. Velda Dicki", "content"=>["Qui molestiae unde dicta quidem qui aut voluptas. Consequuntur provident ut vel. Doloribus officiis labore odio."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3a000100'), "author_name"=>"Jillian Langosh Sr.", "content"=>["Et id odit odio nostrum illum doloremque. Autem repellat magnam pariatur voluptates quo. Molestiae reiciendis qui repellendus. Atque provident sunt praesentium cupiditate assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54901c607735330e3a010100", "comment_id"=>"54901c607735330e3aff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3a010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a040100'), "name"=>"Lenora Sanford", "reference"=>"Patsy Jenkins", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3a020100'), "author_name"=>"Mr. Brandy Wuckert", "content"=>["Excepturi voluptatem saepe explicabo numquam molestiae nostrum quidem. Quia perspiciatis qui sit. Voluptas dolores quidem dolorem sit dolorem nemo recusandae. Doloremque qui officia error autem qui eum."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3a030100'), "author_name"=>"Dave Schneider", "content"=>["Architecto sit quas consequuntur. Officiis voluptatibus minima dolores inventore dolorem. In ut nihil ea est laboriosam. Qui id optio ipsa quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54901c607735330e3a040100", "comment_id"=>"54901c607735330e3a020100", "id"=>"54901c607735330e3a030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3a040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a070100'), "name"=>"Ms. Remington Kub", "reference"=>"Dr. Ryann Hilll", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3a050100'), "author_name"=>"Meta Price", "content"=>["Quam ut quis provident reprehenderit sapiente. Laborum unde non. Possimus et eos aut aut."], "comments"=>[{"_id"=>BSON::ObjectId('54901c607735330e3a060100'), "author_name"=>"Oma Murazik", "content"=>["A voluptatem id. Dolor voluptatem quidem. Voluptas officiis omnis est quisquam perferendis quasi. Commodi laborum delectus. Ullam adipisci facere eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8143ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54901c607735330e3a060100", "product_id"=>"54901c607735330e3a070100", "comment_id"=>"54901c607735330e3a050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3a070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54901c607735330e3a070100'), "comments._id"=>BSON::ObjectId('54901c607735330e3a050100'), "comments.0.comments._id"=>BSON::ObjectId('54901c607735330e3a060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms Redirected to http://test.host/products/54901c607735330e3a070100/comments/54901c607735330e3a050100/comments/54901c607735330e3a060100 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('54901c607735330e3a080100'), "firstname"=>"Emmitt", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms 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('54901c607735330e3a090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Redirected to http://test.host/users/54901c607735330e3a090100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1928ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0a0100'), "firstname"=>"Aniyah", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1722ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54901c607735330e3a0a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c607735330e3a0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c607735330e3a0a0100')} 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.1967ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0b0100'), "firstname"=>"Edison", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54901c607735330e3a0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c607735330e3a0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 34ms (Views: 32.6ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0c0100'), "firstname"=>"Rosendo", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms 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.3939ms Completed 200 OK in 9ms (Views: 8.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0d0100'), "firstname"=>"Maida", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0e0100'), "firstname"=>"Phoebe", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Processing by UsersController#show as HTML Parameters: {"id"=>"54901c607735330e3a0e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c607735330e3a0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 44ms (Views: 42.5ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54901c607735330e3a0f0100'), "firstname"=>"Granville", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54901c607735330e3a0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54901c607735330e3a0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms Unpermitted parameters: name Redirected to http://test.host/users/54901c607735330e3a0f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms 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.3418ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms 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.2784ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms 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.2540ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291577353310ed000000'), "firstname"=>"Tiara", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2674ms 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('5490291677353310ed010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms 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.2821ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed020000'), "firstname"=>"Alec", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490291677353310ed020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed030000'), "firstname"=>"Marcus", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed040000'), "firstname"=>"Mallory", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490291677353310ed040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed050000'), "firstname"=>"Alfonso", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490291677353310ed050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3491ms 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('5490291677353310ed060000'), "name"=>"Melvin Wilkinson I", "reference"=>"Aubree Gislason", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed070000'), "author_name"=>"Queen Blanda", "content"=>["Saepe id nisi doloremque. Voluptatem et magni impedit. Est eaque omnis nihil quia esse. Ut alias molestiae aut est debitis. Adipisci et et quia cum dolores voluptate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490291677353310ed060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490291677353310ed080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Redirected to http://test.host/admin/products/5490291677353310ed060000/comments/5490291677353310ed080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed090000'), "name"=>"Murray Bailey", "reference"=>"Orlo Pacocha", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed0a0000'), "author_name"=>"Mr. Eleanora Weissnat", "content"=>["Est magni ut. Magnam aut magni nulla autem. Cupiditate doloremque voluptatibus et. Magni quae adipisci quas libero eum. Qui officia libero expedita ut sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490291677353310ed090000", "id"=>"5490291677353310ed0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490291677353310ed0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Redirected to http://test.host/admin/products/5490291677353310ed090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed0b0000'), "name"=>"Dr. Nora D'Amore", "reference"=>"Ernestine Raynor DDS", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed0c0000'), "author_name"=>"Mr. Saige Erdman", "content"=>["Amet qui provident. Est optio laborum quam quasi delectus voluptate placeat. Est commodi omnis cumque magni facilis. Ratione non eius esse quod officia sed aut. Quia quia sint sequi accusamus deleniti consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490291677353310ed0b0000", "id"=>"5490291677353310ed0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed0d0000'), "name"=>"Delilah Hahn Jr.", "reference"=>"Constance Greenholt", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed0e0000'), "author_name"=>"Stephany Ledner II", "content"=>["Id non dolor. Est exercitationem quis sunt culpa quidem maxime et. Qui omnis rerum fugiat sint est vitae. Laborum iste aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490291677353310ed0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed0f0000'), "name"=>"Torrey Sauer", "reference"=>"Willard Feeney", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed100000'), "author_name"=>"Sterling Ernser", "content"=>["A aperiam blanditiis praesentium qui laborum eum sint. Quia similique assumenda quas laborum exercitationem officia. Odio et placeat molestiae et deleniti inventore. Ut quis est. Ducimus qui qui nemo perspiciatis dolor fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490291677353310ed0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed110000'), "name"=>"Dina Auer", "reference"=>"Francesca Mraz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed120000'), "author_name"=>"Elian Berge", "content"=>["Beatae voluptatem libero voluptate incidunt qui fuga. Excepturi et soluta voluptas quaerat iste et ullam. Nobis a consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490291677353310ed110000", "id"=>"5490291677353310ed120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed130000'), "name"=>"Wiley Strosin", "reference"=>"Ned Zieme", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310ed140000'), "author_name"=>"Van Sauer", "content"=>["Quaerat sequi maiores assumenda perferendis voluptatem nam consectetur. Quae quia quas maxime. Placeat consequuntur sapiente consequatur perspiciatis nihil enim sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490291677353310ed140000", "product_id"=>"5490291677353310ed130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed130000')} 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('5490291677353310ed130000'), "comments._id"=>BSON::ObjectId('5490291677353310ed140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Redirected to http://test.host/admin/products/5490291677353310ed130000/comments/5490291677353310ed140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed150000'), "name"=>"Rosalind Halvorson", "reference"=>"Miss Reymundo Padberg", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed160000'), "firstname"=>"Melba", "lastname"=>"Hackett"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490291677353310ed150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms Redirected to http://test.host/admin/products/5490291677353310ed150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed180000'), "name"=>"Bruce Braun", "reference"=>"Will Jacobs", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed190000'), "firstname"=>"Blaise", "lastname"=>"Nienow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490291677353310ed190000", "product_id"=>"5490291677353310ed180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed1a0000'), "name"=>"Mrs. Bart O'Conner", "reference"=>"Trevion Hamill", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed1b0000'), "firstname"=>"Adaline", "lastname"=>"Stroman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9605ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490291677353310ed1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed1c0000'), "name"=>"Maxwell Runolfsson", "reference"=>"Gregory Ankunding", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed1d0000'), "firstname"=>"Elisabeth", "lastname"=>"Ledner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490291677353310ed1d0000", "product_id"=>"5490291677353310ed1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed1e0000'), "name"=>"Savion Blanda II", "reference"=>"Mrs. Coby Schulist", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490291677353310ed1f0000'), "firstname"=>"Anibal", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490291677353310ed1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490291677353310ed1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490291677353310ed1e0000/manager 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('5490291677353310ed200000'), "name"=>"Carolina Wisozk", "reference"=>"Horace Bruen", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1600ms 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('5490291677353310ed210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Redirected to http://test.host/admin/products/5490291677353310ed210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1823ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed220000'), "name"=>"Dr. Moses Predovic", "reference"=>"Jacey Jacobi I", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1589ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490291677353310ed220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed220000')} 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={"_id"=>BSON::ObjectId('5490291677353310ed220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms 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.1674ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed230000'), "name"=>"Amber Sporer MD", "reference"=>"Tracy Kreiger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490291677353310ed230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed240000'), "name"=>"Mrs. Jaime Mraz", "reference"=>"Santiago Hahn I", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms 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.4489ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed250000'), "name"=>"Miss Hassie Daniel", "reference"=>"Ms. Turner Renner", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('5490291677353310ed280000'), "name"=>"Matilda Hand", "reference"=>"Mrs. Lillian Torp", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.4040ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490291677353310ed280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310ed290000'), "name"=>"Mrs. Guy Turcotte", "reference"=>"Dr. Shana Brekke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490291677353310ed290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310ed290000')} 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('5490291677353310ed290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms Redirected to http://test.host/admin/products/5490291677353310ed290000 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('5490291677353310ed2a0000'), "firstname"=>"Lonie", "lastname"=>"Dibbert"}] 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=>"admin_users", :query=>{}} runtime: 0.1909ms 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('5490291677353310ed2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Redirected to http://test.host/admin/users/5490291677353310ed2b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490291677353310ed2c0000'), "firstname"=>"Theron", "lastname"=>"Roob"}] 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=>"admin_users", :query=>{}} runtime: 0.1684ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490291677353310ed2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490291677353310ed2c0000')} 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('5490291677353310ed2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms 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.1687ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490291677353310ed2d0000'), "firstname"=>"Melvina", "lastname"=>"Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490291677353310ed2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490291677353310ed2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490291677353310ed2e0000'), "firstname"=>"Beryl", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms 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.3083ms 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('5490291677353310ed2f0000'), "firstname"=>"Kayli", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490291677353310ed300000'), "firstname"=>"Earl", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490291677353310ed300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490291677353310ed300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490291677353310ed310000'), "firstname"=>"Jerald", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.0859ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490291677353310ed310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490291677353310ed310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490291677353310ed310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed320000'), "firstname"=>"Torrey", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9049ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1976ms 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('5490291677353310ed330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms 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.1713ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed340000'), "firstname"=>"Alexandria", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490291677353310ed340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed350000'), "firstname"=>"Felicia", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed360000'), "firstname"=>"Vida", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490291677353310ed360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.0ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490291677353310ed370000'), "firstname"=>"Beryl", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490291677353310ed370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490291677353310ed370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed380000'), "name"=>"Meda Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed390000'), "name"=>"Janice Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3a0000'), "name"=>"Claud Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3b0000'), "name"=>"Phyllis Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3c0000'), "name"=>"Miss Charles Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3d0000'), "name"=>"Katlyn Legros PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3e0000'), "name"=>"Margarett Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed3f0000'), "name"=>"Pete Moore II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed400000'), "name"=>"Veda Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed410000'), "name"=>"Mrs. Polly Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed420000'), "name"=>"Adeline Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed430000'), "name"=>"Sophie Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed440000'), "name"=>"Mr. Frederick Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed450000'), "name"=>"Franco Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed460000'), "name"=>"Mr. Trent Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed470000'), "name"=>"Mrs. Mervin Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed480000'), "name"=>"Julio Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed490000'), "name"=>"Kira Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4a0000'), "name"=>"Benedict Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4b0000'), "name"=>"Sidney Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4c0000'), "name"=>"Fausto Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4d0000'), "name"=>"Jonathan Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4e0000'), "name"=>"Margarette Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed4f0000'), "name"=>"Dr. Christ Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed500000'), "name"=>"Domingo Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed510000'), "name"=>"Ludie Zboncak DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed520000'), "name"=>"Ross Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed530000'), "name"=>"Ms. Fern Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed540000'), "name"=>"Itzel Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed550000'), "name"=>"Mrs. Nathanael Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed560000'), "name"=>"Tristian Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed570000'), "name"=>"Amalia Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed580000'), "name"=>"Estell Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed590000'), "name"=>"Kailyn Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5a0000'), "name"=>"Minnie Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5b0000'), "name"=>"Fabian Anderson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5c0000'), "name"=>"Milo Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5d0000'), "name"=>"Brenden Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5e0000'), "name"=>"Rogelio Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed5f0000'), "name"=>"Cicero Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed600000'), "name"=>"Jessie Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed610000'), "name"=>"Gerard Lockman I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed620000'), "name"=>"Emmy Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed630000'), "name"=>"Mossie Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed640000'), "name"=>"Bette Wolff V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed650000'), "name"=>"Duane Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed660000'), "name"=>"Alberto Deckow MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed670000'), "name"=>"Ms. Abdiel Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed680000'), "name"=>"Mafalda Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed690000'), "name"=>"Audrey Frami V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6a0000'), "name"=>"Sandra Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6b0000'), "name"=>"Hiram Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6c0000'), "name"=>"Logan Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6d0000'), "name"=>"Hildegard Hane I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6e0000'), "name"=>"Alexys Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed6f0000'), "name"=>"Ignatius Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed700000'), "name"=>"Damaris Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed710000'), "name"=>"Andreane Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed720000'), "name"=>"Hipolito Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed730000'), "name"=>"Elnora Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed740000'), "name"=>"Arnold McCullough DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed750000'), "name"=>"Abel Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed760000'), "name"=>"Maddison Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed770000'), "name"=>"Juwan Rempel V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed780000'), "name"=>"Maverick Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed790000'), "name"=>"Westley Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7a0000'), "name"=>"Zackary Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7b0000'), "name"=>"Guadalupe Kulas DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7c0000'), "name"=>"Ms. Holly Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7d0000'), "name"=>"Dell Okuneva V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1936ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7e0000'), "name"=>"Ms. Tina Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed7f0000'), "name"=>"Jayden Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed800000'), "name"=>"Miss Griffin Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed810000'), "name"=>"Miss Hettie Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed820000'), "name"=>"Darian Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed830000'), "name"=>"Bettye Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed840000'), "name"=>"Maxie Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed850000'), "name"=>"Mr. Gust Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed860000'), "name"=>"Mrs. Fabian Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed870000'), "name"=>"Joanny Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed880000'), "name"=>"Georgiana Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed890000'), "name"=>"Ms. Morris Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8a0000'), "name"=>"Lucious Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8b0000'), "name"=>"Willis Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8c0000'), "name"=>"Mr. Constantin Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8d0000'), "name"=>"Angela Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8e0000'), "name"=>"Pinkie Borer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed8f0000'), "name"=>"Mrs. Jayne Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed900000'), "name"=>"Mabelle Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed910000'), "name"=>"Lawrence Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed920000'), "name"=>"Myah Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed930000'), "name"=>"Miss Christophe Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed940000'), "name"=>"Laney Nolan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed950000'), "name"=>"Erna Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed960000'), "name"=>"Miss Earlene Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed970000'), "name"=>"Murphy Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1542ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms Redirected to http://test.host/categories/5490291677353310ed980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1758ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed990000'), "name"=>"Dorcas Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1661ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490291677353310ed990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310ed990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310ed990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1699ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed9a0000'), "name"=>"Marlene Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490291677353310ed9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310ed9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed9b0000'), "name"=>"Juliana Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305914724400] runtime: 0.1085ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2281ms Completed 200 OK in 16ms (Views: 14.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed9c0000'), "name"=>"Soledad Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305544770265] runtime: 0.0852ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2212ms Completed 200 OK in 8ms (Views: 7.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed9d0000'), "name"=>"Hunter Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310ed9f0000'), "name"=>"Agustina Crooks IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1810ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490291677353310ed9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310ed9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310ed9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490291677353310eda00000'), "name"=>"Maude Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310eda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1746ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490291677353310eda00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310eda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490291677353310eda00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490291677353310eda00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms Redirected to http://test.host/categories/5490291677353310eda00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310eda10000'), "name"=>"Miss Cristal Medhurst", "reference"=>"Chaya Glover", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310eda20000'), "author_name"=>"Zelma Labadie PhD", "content"=>["Mollitia suscipit qui dolores enim ipsam labore. Voluptatem rerum libero aspernatur fugiat velit quam. In repellendus doloremque minima est recusandae aut quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490291677353310eda10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda10000')} 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('5490291677353310eda10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490291677353310eda30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms Redirected to http://test.host/products/5490291677353310eda10000/comments/5490291677353310eda30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310eda40000'), "name"=>"Miss Kiera Hyatt", "reference"=>"Lenny Conn", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310eda50000'), "author_name"=>"Mr. Jordy Stamm", "content"=>["Voluptate nihil consectetur. Tenetur mollitia ut qui est eius a. Iste voluptas dolorem suscipit veritatis asperiores. Magni et animi eaque repellendus modi molestias molestiae. Quae sunt consequatur provident fugiat omnis hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3905ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490291677353310eda40000", "id"=>"5490291677353310eda50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490291677353310eda50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Redirected to http://test.host/products/5490291677353310eda40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310eda60000'), "name"=>"Ashton Bernhard I", "reference"=>"Bettye Hills PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310eda70000'), "author_name"=>"Kasey Balistreri", "content"=>["Ratione voluptates aut est quisquam doloribus et quae. Est reprehenderit similique minus et culpa voluptatum omnis. Ipsam ut expedita molestiae repellendus magnam sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490291677353310eda60000", "id"=>"5490291677353310eda70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310eda80000'), "name"=>"Gerry Dare", "reference"=>"Mac Kozey", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310eda90000'), "author_name"=>"Sid Beer", "content"=>["Quis pariatur sit in dolorum voluptatem. Dolorem velit non est magni enim. Qui et molestiae. Sunt vel aperiam nihil odio debitis. Sed fugiat corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490291677353310eda80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310eda80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310edaa0000'), "name"=>"Luna Torp", "reference"=>"Jan Dare", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310edab0000'), "author_name"=>"Jeanne Casper", "content"=>["Soluta quo unde et explicabo nihil perspiciatis suscipit. Quia distinctio soluta et. Beatae qui corrupti aut. Vel non sed illo quia esse."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490291677353310edaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310edaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310edac0000'), "name"=>"Dr. Malvina Hessel", "reference"=>"Una Haag MD", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310edad0000'), "author_name"=>"Dana Wuckert", "content"=>["Quae rerum aut. Rerum commodi officia mollitia repellat reprehenderit ea. Cumque error rerum autem consectetur nostrum. Expedita qui rerum cupiditate reprehenderit vitae velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490291677353310edac0000", "id"=>"5490291677353310edad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310edac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310edae0000'), "name"=>"Maryjane Orn", "reference"=>"Guiseppe Erdman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310edaf0000'), "author_name"=>"Julius Anderson", "content"=>["Illum nesciunt est dolorem dolores. Laboriosam illo labore sit est sapiente alias amet. Quae ea consequatur. Voluptatem incidunt ratione molestiae. Amet voluptate consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4743ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490291677353310edae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310edae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310edb00000'), "name"=>"Amaya Batz", "reference"=>"Alana Schinner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310edb10000'), "author_name"=>"Maxie Hermiston", "content"=>["Dolores est et. Quisquam et suscipit veniam. Velit dolorem sint in. Doloribus repellendus laborum blanditiis incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5013ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490291677353310edb00000", "id"=>"5490291677353310edb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310edb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291677353310edb20000'), "name"=>"Efrain Funk", "reference"=>"Joy Yost", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490291677353310edb30000'), "author_name"=>"Barney Hermann", "content"=>["Eos ut ea animi adipisci qui. Aut illum nemo cumque molestias qui molestiae. Eligendi fuga architecto in sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490291677353310edb30000", "product_id"=>"5490291677353310edb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291677353310edb20000')} 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('5490291677353310edb20000'), "comments._id"=>BSON::ObjectId('5490291677353310edb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms Redirected to http://test.host/products/5490291677353310edb20000/comments/5490291677353310edb30000 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('5490291677353310edb40000'), "firstname"=>"Ayana", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5926ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2567ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291677353310edb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Redirected to http://test.host/admin/clients/5490291677353310edb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2370ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291677353310edb60000'), "firstname"=>"Myles", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2057ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490291677353310edb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291677353310edb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291677353310edb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms 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.2056ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291677353310edb70000'), "firstname"=>"Russel", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490291677353310edb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291677353310edb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('5490291677353310edb80000'), "firstname"=>"Julius", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms Processing by Iord::GenericController#index as HTML MOPED: 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: 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('5490291777353310edb90000'), "firstname"=>"Noe", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490291777353310edba0000'), "firstname"=>"Ferne", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490291777353310edba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291777353310edbb0000'), "firstname"=>"Emmanuelle", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490291777353310edbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms Redirected to http://test.host/admin/clients/5490291777353310edbb0000 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('5490291777353310edbc0000'), "firstname"=>"Nicola", "lastname"=>"Kovacek"}] 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=>"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('5490291777353310edbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Redirected to http://test.host/clients/5490291777353310edbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2419ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291777353310edbe0000'), "firstname"=>"Joy", "lastname"=>"Kassulke"}] 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.1864ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490291777353310edbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms 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('5490291777353310edbf0000'), "firstname"=>"Derrick", "lastname"=>"Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490291777353310edbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490291777353310edc00000'), "firstname"=>"Gladys", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('5490291777353310edc10000'), "firstname"=>"Kaylah", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490291777353310edc20000'), "firstname"=>"Zetta", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490291777353310edc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490291777353310edc30000'), "firstname"=>"Jameson", "lastname"=>"Reynolds"}] 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"=>"5490291777353310edc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490291777353310edc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Redirected to http://test.host/clients/5490291777353310edc30000 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('5490291777353310edc40000'), "name"=>"Kitty Brakus", "reference"=>"Berneice Macejkovic", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490291777353310edc50000'), "firstname"=>"Dominique", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4924ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490291777353310edc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490291777353310edc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms Redirected to http://test.host/products/5490291777353310edc40000/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('5490291777353310edc70000'), "name"=>"Marge D'Amore", "reference"=>"Leda Ziemann", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490291777353310edc80000'), "firstname"=>"Eino", "lastname"=>"Runolfsdottir"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490291777353310edc80000", "product_id"=>"5490291777353310edc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edc90000'), "name"=>"Leonel O'Hara DVM", "reference"=>"Edwin Nolan", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490291777353310edca0000'), "firstname"=>"Fannie", "lastname"=>"Quitzon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5657ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490291777353310edc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edcb0000'), "name"=>"Xander Reilly", "reference"=>"Cora Ritchie", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490291777353310edcc0000'), "firstname"=>"Roma", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490291777353310edcc0000", "product_id"=>"5490291777353310edcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edcd0000'), "name"=>"Omer Denesik", "reference"=>"Malvina Simonis", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490291777353310edce0000'), "firstname"=>"Sunny", "lastname"=>"Christiansen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490291777353310edce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490291777353310edcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms Unpermitted parameters: name Redirected to http://test.host/products/5490291777353310edcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edcf0000'), "name"=>"Dr. Isaias Huel", "reference"=>"Liam Maggio", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd00000'), "name"=>"Gloria Runolfsson", "reference"=>"Minerva Sanford", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd10000'), "name"=>"Rico Reilly", "reference"=>"Harmon Wolf", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd20000'), "name"=>"Ansley Hickle", "reference"=>"Ariel Feeney", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd30000'), "name"=>"Megane Mann", "reference"=>"Moriah Breitenberg I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd40000'), "name"=>"Lessie Renner", "reference"=>"Katheryn Aufderhar", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1640ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms Redirected to http://test.host/products/5490291777353310edd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3412ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd60000'), "name"=>"Caden Nikolaus", "reference"=>"Shanna Becker", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9862ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3132ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490291777353310edd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms 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.2297ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd70000'), "name"=>"Anika Sipes", "reference"=>"Reyna Bogisich", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490291777353310edd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490291777353310edd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('5490291777353310edd80000'), "name"=>"Mrs. Erica Welch", "reference"=>"Jovany Prohaska", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279359137567] runtime: 0.1066ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3334ms Completed 200 OK in 19ms (Views: 18.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edd90000'), "name"=>"Kenneth Mosciski", "reference"=>"Armani Greenholt", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310edda0000'), "name"=>"HelloWorld", "reference"=>"Maci Labadie", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310eddb0000'), "name"=>"value", "reference"=>"Lukas Larkin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4474ms Completed 200 OK in 6ms (Views: 5.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2685ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2669ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1788ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2234ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1682ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310eddc0000'), "name"=>"Mrs. Dayana Schaden", "reference"=>"Rene Leuschke", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400910211] runtime: 0.0831ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2188ms Completed 200 OK in 17ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279213638239] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087871479] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646941299] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279602142878] runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978037513] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207150268] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154561689] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723746346] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055736810] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849142141] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279630322039] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938486465] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099410287] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279616851148] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739277652] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280777743551] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680942732] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279313234832] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190088142] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742356801] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820527839] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191482418] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504154101] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675089098] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869610594] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743511412] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773510878] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169727128] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846968797] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505181495] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102188198] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279707499109] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671833974] runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215711817] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280324649700] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403519111] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279942722341] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518550760] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734242712] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355911983] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265967361] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281188968533] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319491525] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576702780] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280238940241] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688908405] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279172887923] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280084285718] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280761724901] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515900384] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542773055] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174141860] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215051396] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336074068] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043755611] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279352686200] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137642454] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679978793] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280965735695] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750613594] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279480111168] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.3606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209967014] runtime: 0.1224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280509393294] runtime: 0.0874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462958955] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281253943058] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118461122] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158255518] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281203523757] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541526681] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085815035] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280961030252] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280677200315] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920018725] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280032374826] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279419213913] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279281997790] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281130117708] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281051283283] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279573581540] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606170657] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778240029] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279269837163] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178605145] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281230220526] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307647081] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280007353554] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281148611846] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373871292] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280254612122] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280904672755] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279315312511] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279904668116] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320078063] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279539372845] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279327916158] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279964874852] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280994288357] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280314176865] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731050927] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279904831368] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280184717219] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280499435686] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279499040880] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225771793] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281206334221] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315981829] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279970128793] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279692776961] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280129794712] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034919908] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924254281] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814464602] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495281995] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888255334] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469160016] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280425275457] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614628235] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167402036] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721178830] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707071666] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635711150] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281798236] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279960924450] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267794465] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568678686] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280454476388] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280665615211] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279708135171] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732596568] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281068554629] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279656027842] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120245551] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279233032982] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829272832] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655125971] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895015854] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062363951] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281271176748] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280965524054] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750239256] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280032009355] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207086639] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876303063] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318373210] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033373632] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152213919] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.5794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280553011469] runtime: 0.1015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280172984044] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094905000] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279882637261] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280809619672] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355533075] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416161768] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279457153297] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297543127] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535160640] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280192415425] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743854337] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859071377] runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279452439322] runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370030384] runtime: 0.1345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450874880] runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525151253] runtime: 0.1239ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490291777353310eddd0000'), "name"=>"Miss Jayce Tromp", "reference"=>"Lia Pouros", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5509ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4689ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3381ms Completed 200 OK in 9179ms (Views: 8.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292077353310edde0000'), "name"=>"Piper Wilkinson", "reference"=>"Ayla Bogan", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9364ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423820831] runtime: 0.1640ms Completed 200 OK in 11ms (Views: 3.4ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292077353310eddf0000'), "name"=>"Adell Collier", "reference"=>"Keith Hayes Sr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7703ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490292077353310eddf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292077353310eddf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5127ms Completed 200 OK in 4ms (Views: 0.7ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292077353310ede00000'), "name"=>"Justyn Swift", "reference"=>"Khalid O'Connell", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.9783ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 12ms (Views: 8.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292077353310ede20000'), "name"=>"Cole Osinski", "reference"=>"Reed Hansen", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7299ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490292077353310ede20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292077353310ede20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5118ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292077353310ede30000'), "name"=>"Clara Veum", "reference"=>"Doyle Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6701ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4653ms Completed 200 OK in 1000ms (Views: 9.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292177353310ede40000'), "name"=>"Kaitlyn Schulist", "reference"=>"Dr. Eunice Beer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8243ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5334ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 1955ms (Views: 7.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310ede50000'), "name"=>"Dr. Nia Powlowski", "reference"=>"Matt Simonis", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9483ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4491ms 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('5490292377353310ede60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7518ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4292ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310ede70000'), "name"=>"Mr. Amelie Schowalter", "reference"=>"Haley Huel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490292377353310ede70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310ede70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310ede70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310ede80000'), "name"=>"Mallory Schumm", "reference"=>"Juwan Pfannerstill", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6960ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edea0000'), "name"=>"Nikita Wisoky DVM", "reference"=>"Elza Purdy MD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6695ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490292377353310edea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4214ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edeb0000'), "name"=>"Mrs. Ashton Kunze", "reference"=>"Asha Lebsack", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490292377353310edeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms Redirected to http://test.host/products/5490292377353310edeb0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edee0000'), "name"=>"Cordelia Runte", "reference"=>"Stuart Block", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edec0000'), "author_name"=>"Yasmin Blanda", "content"=>["Laboriosam cum magni aut est autem. Vel reprehenderit odio numquam libero. Cumque ut deleniti vel tempora beatae."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310eded0000'), "author_name"=>"Hosea Schimmel V", "content"=>["Aspernatur id quo incidunt non itaque explicabo. Et ad id numquam. Aut ducimus voluptatem dolor modi velit excepturi occaecati. Eaque quaerat maiores et. Ut aspernatur adipisci dolores molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.8541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490292377353310edee0000", "comment_id"=>"5490292377353310edec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edee0000'), "comments._id"=>BSON::ObjectId('5490292377353310edec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490292377353310edef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms Redirected to http://test.host/products/5490292377353310edee0000/comments/5490292377353310edec0000/comments/5490292377353310edef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edf20000'), "name"=>"Ed Monahan", "reference"=>"Mrs. Jerald Ortiz", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf00000'), "author_name"=>"Miss D'angelo Veum", "content"=>["Qui esse quo et voluptas ut pariatur iure. Nam quis aut accusamus. Id deleniti ipsum tenetur aliquid sit quae consequatur. Odio necessitatibus nihil magni enim."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf10000'), "author_name"=>"Immanuel DuBuque", "content"=>["Voluptatibus ad expedita et qui aliquid ipsum. Qui est non. Ex error enim ipsam consequatur voluptatem. Repudiandae sit corporis occaecati iusto. Saepe natus aspernatur rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3315ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490292377353310edf20000", "comment_id"=>"5490292377353310edf00000", "id"=>"5490292377353310edf10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf20000'), "comments._id"=>BSON::ObjectId('5490292377353310edf00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490292377353310edf10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms Redirected to http://test.host/products/5490292377353310edf20000/comments/5490292377353310edf00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edf50000'), "name"=>"Elvis Hegmann", "reference"=>"Tiffany Pagac II", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf30000'), "author_name"=>"Mauricio Schmitt", "content"=>["Fugiat animi eveniet consequatur omnis repellat vel quia. Sed voluptates suscipit consequatur pariatur. Numquam voluptatem non assumenda ipsum sed rerum rem. Labore at sunt non provident officia et mollitia. Assumenda doloremque ut optio aut nobis tempore."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf40000'), "author_name"=>"Sophie McDermott", "content"=>["Non voluptatem consequuntur error quisquam. Eveniet accusantium similique. Unde ut impedit ea consequatur consectetur porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490292377353310edf50000", "comment_id"=>"5490292377353310edf30000", "id"=>"5490292377353310edf40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edf80000'), "name"=>"Billy Blick", "reference"=>"Alden McClure", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf60000'), "author_name"=>"Joannie Kovacek", "content"=>["Et doloremque assumenda dolore eos in. Facilis vero corporis ea qui voluptate. Vero debitis neque ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf70000'), "author_name"=>"Wilber Wisozk", "content"=>["Et sunt cum et. Autem nihil quo voluptates occaecati. Facilis commodi labore deleniti iusto nostrum pariatur quas. Vitae qui eos molestiae ipsa autem. Nostrum ea recusandae modi vel nulla aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5687ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490292377353310edf80000", "comment_id"=>"5490292377353310edf60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edf80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edfb0000'), "name"=>"Dr. Frederic Howe", "reference"=>"Ms. Ashleigh Zboncak", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edf90000'), "author_name"=>"Wiley Feil", "content"=>["Quisquam nam doloribus dolores numquam. Quasi inventore architecto optio quis aut. Maiores sed voluptas id vero. Nihil ullam aut illum libero veritatis id. Ratione voluptates reiciendis fuga deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edfa0000'), "author_name"=>"Tia Connelly", "content"=>["Nam hic temporibus aliquid expedita non. Est quo saepe itaque consequatur harum voluptas qui. Hic qui dolore. Assumenda dolorem occaecati et quia adipisci quos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5857ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490292377353310edfb0000", "comment_id"=>"5490292377353310edf90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edfb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292377353310edfe0000'), "name"=>"Anastasia Padberg", "reference"=>"Weston Heidenreich Jr.", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edfc0000'), "author_name"=>"Georgette Connelly", "content"=>["Et veritatis commodi unde. Aliquam voluptatem eum ipsa aut. Minima incidunt distinctio suscipit at quibusdam reprehenderit totam. Rerum voluptatum ut. Iste adipisci dicta quis debitis quis."], "comments"=>[{"_id"=>BSON::ObjectId('5490292377353310edfd0000'), "author_name"=>"Josianne Friesen PhD", "content"=>["Ratione perspiciatis laudantium id deserunt molestiae nobis esse. Sit unde tempora dolore dignissimos. Culpa repellat molestias quia. Similique impedit qui et. Velit consequatur eum dolores et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490292377353310edfe0000", "comment_id"=>"5490292377353310edfc0000", "id"=>"5490292377353310edfd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292377353310edfe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4809ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292477353310ed010100'), "name"=>"Cynthia Durgan", "reference"=>"Alphonso Casper", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310edff0000'), "author_name"=>"Dr. Ozella McKenzie", "content"=>["Libero id molestias quia cumque repellendus. Dolore sunt consequatur. Rerum qui corrupti est vel. Inventore delectus aut ut dolore quaerat. Rerum quia velit mollitia nulla quia sapiente."], "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310ed000100'), "author_name"=>"Missouri VonRueden", "content"=>["Et officiis quis error. Maxime atque explicabo autem eligendi sint. Quia explicabo officia tempora odio distinctio molestiae laboriosam. Expedita quam soluta. Mollitia eaque vero ullam error itaque aut officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5955ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490292477353310ed010100", "comment_id"=>"5490292477353310edff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292477353310ed010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4642ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292477353310ed040100'), "name"=>"King Schumm", "reference"=>"Harvey Volkman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310ed020100'), "author_name"=>"Davon Rath", "content"=>["Ab ducimus ipsam incidunt voluptates ut molestiae. Sit cum dolor maiores dolorem. Eum ex dolores aut. Sit nostrum numquam possimus."], "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310ed030100'), "author_name"=>"Brooke Batz Sr.", "content"=>["Voluptatum quod et nam itaque corrupti rerum accusantium. Dolores provident ratione distinctio necessitatibus earum. Impedit asperiores velit fuga. Sint iure minus odit est ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6138ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490292477353310ed040100", "comment_id"=>"5490292477353310ed020100", "id"=>"5490292477353310ed030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292477353310ed040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) Completed 200 OK in 7ms (Views: 4.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490292477353310ed070100'), "name"=>"Noemy Lubowitz", "reference"=>"Misty Hintz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310ed050100'), "author_name"=>"Seth Lehner", "content"=>["Aspernatur quasi vel aut. Voluptatem ex est ullam. Ratione commodi nesciunt."], "comments"=>[{"_id"=>BSON::ObjectId('5490292477353310ed060100'), "author_name"=>"Soledad Hahn", "content"=>["Asperiores eligendi atque consequatur aut ipsum molestiae aut. Sint eos est fugit veniam. Odio in nemo rem nihil est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4252ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490292477353310ed060100", "product_id"=>"5490292477353310ed070100", "comment_id"=>"5490292477353310ed050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292477353310ed070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490292477353310ed070100'), "comments._id"=>BSON::ObjectId('5490292477353310ed050100'), "comments.0.comments._id"=>BSON::ObjectId('5490292477353310ed060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7743ms Redirected to http://test.host/products/5490292477353310ed070100/comments/5490292477353310ed050100/comments/5490292477353310ed060100 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('5490292477353310ed080100'), "firstname"=>"Leonardo", "lastname"=>"Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6578ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3660ms 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('5490292477353310ed090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms Redirected to http://test.host/users/5490292477353310ed090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3541ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490292477353310ed0a0100'), "firstname"=>"Kaleigh", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3499ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490292477353310ed0a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490292477353310ed0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490292477353310ed0a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms 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.3363ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490292477353310ed0b0100'), "firstname"=>"Benjamin", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490292477353310ed0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490292477353310ed0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 36ms (Views: 34.5ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490292477353310ed0c0100'), "firstname"=>"Bernie", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms 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.5047ms Completed 200 OK in 10ms (Views: 9.1ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490292477353310ed0d0100'), "firstname"=>"Esperanza", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (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('5490292477353310ed0e0100'), "firstname"=>"Brenden", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490292477353310ed0e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490292477353310ed0e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 40ms (Views: 39.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490292477353310ed0f0100'), "firstname"=>"Leonard", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5698ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490292477353310ed0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490292477353310ed0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms Unpermitted parameters: name Redirected to http://test.host/users/5490292477353310ed0f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4218ms 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.4049ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms 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.4193ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6207ms 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.4203ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d000000'), "firstname"=>"Sterling", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1903ms 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('5490298e773533119d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5683ms 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.2447ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d020000'), "firstname"=>"Assunta", "lastname"=>"Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490298e773533119d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298e773533119d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3801ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d030000'), "firstname"=>"Cortney", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5157ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d040000'), "firstname"=>"Eudora", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5319ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490298e773533119d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298e773533119d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d050000'), "firstname"=>"Ada", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490298e773533119d050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298e773533119d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms 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('5490298e773533119d060000'), "name"=>"Phyllis Kemmer", "reference"=>"Ms. Lisette Ryan", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d070000'), "author_name"=>"Leif Wehner", "content"=>["Aut nemo repudiandae fugit ea eum sed aut. Sit quam laborum blanditiis. Cum quo consequatur perferendis omnis praesentium eveniet molestiae. Reiciendis ut incidunt laborum est recusandae iure in. Neque eos ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490298e773533119d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d060000')} 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('5490298e773533119d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490298e773533119d080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Redirected to http://test.host/admin/products/5490298e773533119d060000/comments/5490298e773533119d080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d090000'), "name"=>"Berneice Schaden DVM", "reference"=>"Lyric Heidenreich", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d0a0000'), "author_name"=>"Miss Hollie Muller", "content"=>["Dolor adipisci aspernatur consequatur eligendi velit tempora id. Aut officia aut quos. Eos incidunt rerum est quaerat distinctio. Omnis qui est hic cum sapiente autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490298e773533119d090000", "id"=>"5490298e773533119d0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490298e773533119d0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Redirected to http://test.host/admin/products/5490298e773533119d090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d0b0000'), "name"=>"Hannah Hirthe", "reference"=>"Jensen Grady", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d0c0000'), "author_name"=>"Alexzander Krajcik", "content"=>["Doloribus dolorum rerum. Fugit sapiente dolor dolores doloribus dolorem et dolorum. In cupiditate eligendi repellat voluptatem blanditiis nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490298e773533119d0b0000", "id"=>"5490298e773533119d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3919ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d0d0000'), "name"=>"Markus Reichert", "reference"=>"Mireille Zemlak", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d0e0000'), "author_name"=>"Rosetta Murazik", "content"=>["Aut ullam aut dolorum. Exercitationem sequi iusto. Vel magni corporis architecto et occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490298e773533119d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d0f0000'), "name"=>"Pierce Koss", "reference"=>"Pink Ziemann II", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d100000'), "author_name"=>"Deshaun Hintz", "content"=>["Nihil voluptatem quae earum asperiores dolores. Quam dolore ut impedit quia porro officiis consequuntur. Commodi officia mollitia cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5478ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490298e773533119d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d110000'), "name"=>"Ms. Kolby Durgan", "reference"=>"Kacie DuBuque Sr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d120000'), "author_name"=>"Destin Fisher", "content"=>["Dolorum ipsum recusandae ab dolorem unde enim. Sunt excepturi velit dolorem voluptatem illum quibusdam et. Vel consequuntur omnis delectus esse doloremque et. Corrupti voluptas reprehenderit et illo. Est autem ipsum dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5346ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490298e773533119d110000", "id"=>"5490298e773533119d120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d130000'), "name"=>"Ms. Eve Wuckert", "reference"=>"Laverna Olson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490298e773533119d140000'), "author_name"=>"Junius Bechtelar", "content"=>["Provident impedit earum soluta sit ea adipisci alias. Suscipit asperiores officiis. Expedita magnam maxime. Accusantium nobis rerum. Debitis vero magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2141ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490298e773533119d140000", "product_id"=>"5490298e773533119d130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d130000'), "comments._id"=>BSON::ObjectId('5490298e773533119d140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6186ms Redirected to http://test.host/admin/products/5490298e773533119d130000/comments/5490298e773533119d140000 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('5490298e773533119d150000'), "name"=>"Sammie Grady", "reference"=>"Miss Colby Borer", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d160000'), "firstname"=>"Uriel", "lastname"=>"Abernathy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490298e773533119d150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4148ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Redirected to http://test.host/admin/products/5490298e773533119d150000/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('5490298e773533119d180000'), "name"=>"Bernardo Kuhic", "reference"=>"Mrs. Perry Shields", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d190000'), "firstname"=>"Leland", "lastname"=>"Walsh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490298e773533119d190000", "product_id"=>"5490298e773533119d180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d1a0000'), "name"=>"Dr. Jody Senger", "reference"=>"Florida Lindgren", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d1b0000'), "firstname"=>"Annamae", "lastname"=>"Abernathy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490298e773533119d1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d1c0000'), "name"=>"Ross Dach DDS", "reference"=>"Dr. Eliza Stoltenberg", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d1d0000'), "firstname"=>"Angelita", "lastname"=>"Haley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490298e773533119d1d0000", "product_id"=>"5490298e773533119d1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d1e0000'), "name"=>"Shanelle Wunsch", "reference"=>"Hailee Block MD", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490298e773533119d1f0000'), "firstname"=>"Gay", "lastname"=>"Schneider"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490298e773533119d1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490298e773533119d1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490298e773533119d1e0000/manager 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('5490298e773533119d200000'), "name"=>"Brenna Pfannerstill", "reference"=>"Columbus Lindgren", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2683ms 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('5490298e773533119d210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Redirected to http://test.host/admin/products/5490298e773533119d210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2829ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d220000'), "name"=>"Miss Ralph Pouros", "reference"=>"Miss Ariel Rutherford", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2465ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490298e773533119d220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d220000')} 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={"_id"=>BSON::ObjectId('5490298e773533119d220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms 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.2069ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d230000'), "name"=>"Lindsay Monahan", "reference"=>"Hermann Jacobs", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490298e773533119d230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d240000'), "name"=>"Ali Schumm", "reference"=>"Woodrow Macejkovic", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms 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.4706ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d250000'), "name"=>"Erick Krajcik DVM", "reference"=>"Ms. Mariela Terry", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 20ms (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('5490298e773533119d280000'), "name"=>"Mrs. Ambrose Gottlieb", "reference"=>"Brody Larkin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490298e773533119d280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298e773533119d290000'), "name"=>"Graham Kuhn", "reference"=>"Dion Bernhard", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490298e773533119d290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298e773533119d290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms Redirected to http://test.host/admin/products/5490298e773533119d290000 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('5490298e773533119d2a0000'), "firstname"=>"Aditya", "lastname"=>"Wuckert"}] 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=>"admin_users", :query=>{}} runtime: 0.1531ms 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('5490298e773533119d2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms Redirected to http://test.host/admin/users/5490298e773533119d2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1648ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490298e773533119d2c0000'), "firstname"=>"Retha", "lastname"=>"Lowe"}] 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=>"admin_users", :query=>{}} runtime: 0.1476ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490298e773533119d2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490298e773533119d2c0000')} 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('5490298e773533119d2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms 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.1617ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490298e773533119d2d0000'), "firstname"=>"Helen", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490298e773533119d2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490298e773533119d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490298e773533119d2e0000'), "firstname"=>"Carolanne", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2673ms 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.3949ms 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('5490298e773533119d2f0000'), "firstname"=>"Gunner", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('5490298e773533119d300000'), "firstname"=>"Precious", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490298e773533119d300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490298e773533119d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490298e773533119d310000'), "firstname"=>"Name", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490298e773533119d310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490298e773533119d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490298e773533119d310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d320000'), "firstname"=>"Vena", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms 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"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms 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.2068ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d340000'), "firstname"=>"Ezequiel", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490298e773533119d340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298e773533119d340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d350000'), "firstname"=>"Jettie", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298e773533119d360000'), "firstname"=>"Erik", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490298e773533119d360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298e773533119d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490298f773533119d370000'), "firstname"=>"Anderson", "lastname"=>"Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490298f773533119d370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490298f773533119d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d380000'), "name"=>"Malika Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d390000'), "name"=>"Martina Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3a0000'), "name"=>"Alfonso Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3b0000'), "name"=>"Carson Lynch Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3c0000'), "name"=>"Camren Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3d0000'), "name"=>"Dr. Aubree Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3e0000'), "name"=>"Mr. Darlene Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d3f0000'), "name"=>"Alden Koelpin"}] 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={"category_id"=>BSON::ObjectId('5490298f773533119d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d400000'), "name"=>"Holden Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d410000'), "name"=>"Eveline Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d420000'), "name"=>"Issac Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d430000'), "name"=>"Lola Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d440000'), "name"=>"Dr. Rachelle Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d450000'), "name"=>"Baron D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d460000'), "name"=>"Emely Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d470000'), "name"=>"Irwin Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d480000'), "name"=>"Vaughn Dickens II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d490000'), "name"=>"Sallie Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4a0000'), "name"=>"Elaina Harber I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4b0000'), "name"=>"Eldora Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4c0000'), "name"=>"Kyleigh Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4d0000'), "name"=>"Corrine Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4e0000'), "name"=>"Brisa Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d4f0000'), "name"=>"Mariam Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d500000'), "name"=>"Kristina Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d510000'), "name"=>"Calista Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d520000'), "name"=>"Erna Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d530000'), "name"=>"Angelo Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d540000'), "name"=>"Dejah Reilly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d550000'), "name"=>"Jada Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d560000'), "name"=>"Ewell Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d570000'), "name"=>"Abdullah Runolfsdottir III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d580000'), "name"=>"Adelle Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d590000'), "name"=>"Tania Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5a0000'), "name"=>"Miss Alexandrea McDermott"}] 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={"category_id"=>BSON::ObjectId('5490298f773533119d5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5b0000'), "name"=>"Clement Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5c0000'), "name"=>"Addie Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5d0000'), "name"=>"Abdul Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5e0000'), "name"=>"Vern Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d5f0000'), "name"=>"Aubree Veum III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d600000'), "name"=>"Rosa Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d610000'), "name"=>"Mrs. Marian Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d620000'), "name"=>"Miss Baby Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d630000'), "name"=>"Rosalinda Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d640000'), "name"=>"Adolphus Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d650000'), "name"=>"Miss Ethan Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d660000'), "name"=>"Christ Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d670000'), "name"=>"Brisa Streich III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d680000'), "name"=>"Dr. Maximillia Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d690000'), "name"=>"Brando Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6a0000'), "name"=>"Dedrick Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6b0000'), "name"=>"Orland Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6c0000'), "name"=>"Deon Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6d0000'), "name"=>"Grayson Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6e0000'), "name"=>"Davonte Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d6f0000'), "name"=>"Keagan Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d700000'), "name"=>"Lupe Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d710000'), "name"=>"Larissa Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d720000'), "name"=>"August Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d730000'), "name"=>"Sven Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d740000'), "name"=>"Arlo O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d750000'), "name"=>"Joana Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d760000'), "name"=>"Cortney Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d770000'), "name"=>"Jennings O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d780000'), "name"=>"Dr. Alva Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d790000'), "name"=>"Mr. Daphnee Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7a0000'), "name"=>"Chanel Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7b0000'), "name"=>"Lulu Bartell"}] 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={"category_id"=>BSON::ObjectId('5490298f773533119d7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7c0000'), "name"=>"Anjali Howe I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7d0000'), "name"=>"Jovany Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7e0000'), "name"=>"Bridgette Ziemann MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d7f0000'), "name"=>"Danial Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d800000'), "name"=>"Deangelo Durgan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d810000'), "name"=>"Dr. Lia Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d820000'), "name"=>"Aliya Halvorson"}] 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={"category_id"=>BSON::ObjectId('5490298f773533119d820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d830000'), "name"=>"Mr. Gerhard Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d840000'), "name"=>"Bailey Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d850000'), "name"=>"Sedrick Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d860000'), "name"=>"Gregg West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d870000'), "name"=>"Talon Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d880000'), "name"=>"Roscoe Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d890000'), "name"=>"Alene Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8a0000'), "name"=>"Miss Oceane Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8b0000'), "name"=>"Antonia O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8c0000'), "name"=>"Ms. Sammy Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8d0000'), "name"=>"Linnea Kautzer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8e0000'), "name"=>"Carmella Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d8f0000'), "name"=>"Dr. Hollis Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d900000'), "name"=>"Ryder Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d910000'), "name"=>"Miss Blanca Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d920000'), "name"=>"Arnulfo Homenick IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d930000'), "name"=>"Everardo Schimmel"}] 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={"category_id"=>BSON::ObjectId('5490298f773533119d930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d940000'), "name"=>"Miss Marjorie Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d950000'), "name"=>"Yvette Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d960000'), "name"=>"Tremaine McCullough DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d970000'), "name"=>"Roma Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2837ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms Redirected to http://test.host/categories/5490298f773533119d980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3070ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d990000'), "name"=>"Gianni Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3022ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490298f773533119d990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4447ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119d990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3016ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d9a0000'), "name"=>"Arvilla Pfannerstill II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490298f773533119d9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4378ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.6ms) Completed 200 OK in 12ms (Views: 10.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d9b0000'), "name"=>"Delphine Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306060041474] runtime: 0.1063ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2951ms Completed 200 OK in 19ms (Views: 18.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d9c0000'), "name"=>"Mr. Ena Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306955514452] runtime: 0.0783ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2561ms Completed 200 OK in 10ms (Views: 9.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d9d0000'), "name"=>"Maryse Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119d9f0000'), "name"=>"Cole Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490298f773533119d9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490298f773533119da00000'), "name"=>"Joey Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490298f773533119da00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490298f773533119da00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490298f773533119da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Redirected to http://test.host/categories/5490298f773533119da00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119da10000'), "name"=>"Julian Gutmann Sr.", "reference"=>"Beulah Stanton PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119da20000'), "author_name"=>"Georgiana Ledner DDS", "content"=>["Id et quibusdam neque ducimus. Dolores perspiciatis blanditiis totam sint ut qui. Fugit blanditiis qui at consequuntur laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490298f773533119da10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490298f773533119da30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms Redirected to http://test.host/products/5490298f773533119da10000/comments/5490298f773533119da30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119da40000'), "name"=>"Harold Yost", "reference"=>"Melba Kub DVM", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119da50000'), "author_name"=>"Cooper Thompson", "content"=>["Id labore dolorum hic cumque sed. Suscipit laudantium adipisci ea. Et aliquid aliquam minima minus accusantium. Sunt porro incidunt sit. Eaque minima voluptates ut ab qui modi totam."]}]}] 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('5490298f773533119da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490298f773533119da40000", "id"=>"5490298f773533119da50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490298f773533119da50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms Redirected to http://test.host/products/5490298f773533119da40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119da60000'), "name"=>"Daron Mayer", "reference"=>"Tyreek Klocko PhD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119da70000'), "author_name"=>"Avery Russel", "content"=>["Atque aliquid ipsa debitis. Est repudiandae nostrum omnis dolore. Quia fugiat quo id consequatur dolorem et. Dignissimos qui quasi. Ipsum non possimus earum adipisci in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490298f773533119da60000", "id"=>"5490298f773533119da70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119da80000'), "name"=>"Colten Boyer", "reference"=>"Gabriella Shanahan", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119da90000'), "author_name"=>"Amelia Dibbert", "content"=>["Voluptatum dolorum qui sit dicta culpa numquam. Eum fugit nobis consectetur alias. Et quos eum totam voluptatem. Esse voluptas incidunt et sunt eum provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490298f773533119da80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119da80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119daa0000'), "name"=>"Lafayette Macejkovic PhD", "reference"=>"Kamryn Abbott", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119dab0000'), "author_name"=>"Vernie Konopelski", "content"=>["Nesciunt doloribus et repellendus eius est sapiente. Magni quos quam cum est reprehenderit repellat. Animi error illo in tenetur. Quasi excepturi nesciunt consequatur. Ipsam tenetur aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490298f773533119daa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119daa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dac0000'), "name"=>"Dorothy Ryan", "reference"=>"Merle Beatty", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119dad0000'), "author_name"=>"Jaquelin Rowe", "content"=>["Repellendus vero cumque nihil. Odit facilis rerum et veritatis et doloremque voluptas. In fugiat reiciendis est quam atque fuga. Fuga non voluptatum ad vitae sit recusandae illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490298f773533119dac0000", "id"=>"5490298f773533119dad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dae0000'), "name"=>"Boyd Schiller", "reference"=>"Lora Adams", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119daf0000'), "author_name"=>"Christy Little", "content"=>["Voluptate accusantium perferendis eius. Voluptatum sit quo velit id quia eligendi. Molestiae rerum cumque. Voluptatibus nostrum velit magnam perspiciatis mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490298f773533119dae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119db00000'), "name"=>"Margarete Parisian", "reference"=>"Morris Bednar", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119db10000'), "author_name"=>"Lenny Gibson", "content"=>["Consequatur et aut earum ab. Sit distinctio et quasi sunt. Dolor debitis aut praesentium et qui. Omnis delectus aspernatur ipsa maxime. Optio velit doloribus nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490298f773533119db00000", "id"=>"5490298f773533119db10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119db00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119db20000'), "name"=>"Mya Koelpin V", "reference"=>"Cortez Adams DVM", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490298f773533119db30000'), "author_name"=>"Mr. Don Pacocha", "content"=>["Porro quas minus distinctio dolor repellendus sint aut. Deserunt minus dolores deleniti. Velit ut sunt in. Rem sint qui vel maiores provident. Minus nihil autem odio et suscipit optio omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490298f773533119db30000", "product_id"=>"5490298f773533119db20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119db20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119db20000'), "comments._id"=>BSON::ObjectId('5490298f773533119db30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Redirected to http://test.host/products/5490298f773533119db20000/comments/5490298f773533119db30000 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('5490298f773533119db40000'), "firstname"=>"Herman", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1638ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119db50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6692ms Redirected to http://test.host/admin/clients/5490298f773533119db50000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2791ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119db60000'), "firstname"=>"Frederik", "lastname"=>"Prosacco"}] 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=>"clients", :query=>{}} runtime: 0.2195ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490298f773533119db60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119db60000')} 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('5490298f773533119db60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms 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.2299ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119db70000'), "firstname"=>"Turner", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490298f773533119db70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119db70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('5490298f773533119db80000'), "firstname"=>"Katelyn", "lastname"=>"Frami"}] 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.4043ms 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('5490298f773533119db90000'), "firstname"=>"Grover", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5674ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490298f773533119dba0000'), "firstname"=>"Ova", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490298f773533119dba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119dbb0000'), "firstname"=>"Garfield", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490298f773533119dbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Redirected to http://test.host/admin/clients/5490298f773533119dbb0000 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('5490298f773533119dbc0000'), "firstname"=>"Elinor", "lastname"=>"McCullough"}] 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.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('5490298f773533119dbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Redirected to http://test.host/clients/5490298f773533119dbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119dbe0000'), "firstname"=>"Rickey", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1324ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490298f773533119dbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms 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.1849ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119dbf0000'), "firstname"=>"Stevie", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490298f773533119dbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/crealettres/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('5490298f773533119dc00000'), "firstname"=>"Hubert", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5404ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms 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('5490298f773533119dc10000'), "firstname"=>"Dennis", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490298f773533119dc20000'), "firstname"=>"Aurelio", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490298f773533119dc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.7ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490298f773533119dc30000'), "firstname"=>"Amaya", "lastname"=>"Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490298f773533119dc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490298f773533119dc30000')} 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('5490298f773533119dc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Redirected to http://test.host/clients/5490298f773533119dc30000 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('5490298f773533119dc40000'), "name"=>"Devin Torphy", "reference"=>"Randal Cartwright", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dc50000'), "firstname"=>"Mona", "lastname"=>"Lesch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490298f773533119dc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms Redirected to http://test.host/products/5490298f773533119dc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dc70000'), "name"=>"Daisy Howell", "reference"=>"Derrick Aufderhar", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dc80000'), "firstname"=>"Morris", "lastname"=>"Lehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490298f773533119dc80000", "product_id"=>"5490298f773533119dc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dc90000'), "name"=>"Maya Roob", "reference"=>"Mr. Alvah Emmerich", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dca0000'), "firstname"=>"Martine", "lastname"=>"Wisozk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490298f773533119dc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dcb0000'), "name"=>"Ms. Daniella Kihn", "reference"=>"Mariane Nitzsche", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dcc0000'), "firstname"=>"Amelie", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490298f773533119dcc0000", "product_id"=>"5490298f773533119dcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dcd0000'), "name"=>"Ryan Boehm", "reference"=>"Cleora Rogahn", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490298f773533119dce0000'), "firstname"=>"Kris", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490298f773533119dce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490298f773533119dcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms Unpermitted parameters: name Redirected to http://test.host/products/5490298f773533119dcd0000/manager Completed 302 Found in 28ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dcf0000'), "name"=>"Ubaldo Koss", "reference"=>"Dr. Megane Adams", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd00000'), "name"=>"Maud Emmerich", "reference"=>"Mr. Ryley Leannon", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd10000'), "name"=>"Lynn Stracke", "reference"=>"Miss Xavier Hammes", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd20000'), "name"=>"Esteban Lowe", "reference"=>"Sabryna Wuckert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd30000'), "name"=>"Myra Carter", "reference"=>"Naomi Marquardt", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd40000'), "name"=>"Faye Farrell PhD", "reference"=>"Laurence Bartoletti III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2358ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Redirected to http://test.host/products/5490298f773533119dd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2452ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd60000'), "name"=>"Eliseo Wuckert DDS", "reference"=>"Gay Frami", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3028ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490298f773533119dd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dd60000')} 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('5490298f773533119dd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms 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.3156ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd70000'), "name"=>"Eli Gislason", "reference"=>"Ophelia Dietrich II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490298f773533119dd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490298f773533119dd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd80000'), "name"=>"Mrs. Rocky Christiansen", "reference"=>"Jayden Crooks", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304327468] runtime: 0.1134ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2807ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dd90000'), "name"=>"Edward Padberg V", "reference"=>"Madelynn Crooks", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119dda0000'), "name"=>"HelloWorld", "reference"=>"Lessie Kirlin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119ddb0000'), "name"=>"value", "reference"=>"Tate Cronin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4959ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3050ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2767ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2544ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2336ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1787ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1426ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490298f773533119ddc0000'), "name"=>"Dr. Darby Emmerich", "reference"=>"Mr. Cecilia Mueller", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279946769256] runtime: 0.1065ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2273ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546146317] runtime: 0.1234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279334910965] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772843357] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132520493] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279329493161] runtime: 0.0398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280303793573] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428523498] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530058908] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468749828] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481034075] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683036859] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279687295411] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280376828220] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280024997032] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094702290] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279843768281] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176099099] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561499715] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279233103904] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280038671428] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281101483325] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880094924] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281023254432] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221275401] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629794978] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351958912] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281258153831] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130252720] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825331192] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280714652611] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072811575] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060572239] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435950937] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281209418460] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209112769] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281306645889] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279192030670] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811891428] runtime: 0.0902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784854767] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935311660] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279409372529] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627169820] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279445353213] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449419113] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197598911] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280179581782] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218752113] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137773341] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280110726578] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219598219] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147693823] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609326733] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.7465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541358689] runtime: 0.1223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279516847987] runtime: 0.0902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280049311166] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280954806106] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501334559] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771282830] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291764085] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280705744169] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814502423] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279455039509] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031812451] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281222847705] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950008434] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466807941] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497375494] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279550066529] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280625519724] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279623604687] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479038173] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313510512] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221464338] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118964863] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481969743] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279946452598] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281113418038] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310454328] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281207919973] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281158147156] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280633956417] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158969365] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730324309] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413837146] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279515580544] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614671406] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517119130] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279229164365] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270913774] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023907163] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174659972] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279907908681] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154609956] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280147533388] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645184404] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420498349] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515725051] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600697032] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281288620478] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746995587] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710253729] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280722178801] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175829133] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690379126] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186810054] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280901181735] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440394804] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928694643] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175360640] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279427242389] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281036542446] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279800452096] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081080745] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047186426] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279412165814] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983671146] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279216512541] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279958875285] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161399556] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803138290] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545400171] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279381291260] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975954406] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280141974267] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087062459] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279703323860] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.3124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477569312] runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025912561] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748898669] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280011896663] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768949542] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620971173] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725938437] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196886147] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280505299605] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905765569] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183273490] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096395006] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280855835557] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280476908087] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280374682540] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279198376654] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614073728] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280911807164] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000197287] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279608309010] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280827465095] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7358ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070148234] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281252152904] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180273282] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280672498097] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280405116183] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392259447] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864963392] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280848851488] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280269818230] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241582530] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543186842] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593473005] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387731456] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731988260] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280901219516] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426452746] runtime: 0.0451ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902990773533119ddd0000'), "name"=>"Myrl Aufderhar", "reference"=>"Mr. Mekhi Casper", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1698ms Completed 200 OK in 1191ms (Views: 8.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902991773533119dde0000'), "name"=>"Ludwig Lueilwitz", "reference"=>"Antonina Wiegand", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8205ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279398737321] runtime: 0.1567ms Completed 200 OK in 11ms (Views: 3.9ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902991773533119ddf0000'), "name"=>"Maverick Emard", "reference"=>"Mr. Rusty Pacocha", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6917ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902991773533119ddf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902991773533119ddf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5948ms Completed 200 OK in 4ms (Views: 0.4ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902991773533119de00000'), "name"=>"Zack Sauer", "reference"=>"Manuel Spinka DVM", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 10ms (Views: 8.4ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902991773533119de20000'), "name"=>"Granville Cruickshank IV", "reference"=>"Emilio Quigley", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6820ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902991773533119de20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902991773533119de20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4631ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902991773533119de30000'), "name"=>"Edwin Hahn", "reference"=>"Dewayne Nikolaus", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6003ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Completed 200 OK in 2149ms (Views: 9.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902993773533119de40000'), "name"=>"Nicklaus Romaguera", "reference"=>"Mylene Treutel", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7384ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 1152ms (Views: 9.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902994773533119de50000'), "name"=>"Clarissa Koepp", "reference"=>"Lane Daniel", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8742ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4672ms Completed 200 OK in 1208ms (Views: 8.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119de60000'), "name"=>"Gussie Strosin", "reference"=>"Marisa Haag", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9144ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5014ms 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('54902996773533119de70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7764ms Completed 201 Created in 5ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4895ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119de80000'), "name"=>"Mr. Muriel Block", "reference"=>"Heaven Feil", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6237ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902996773533119de80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119de80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119de80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119de90000'), "name"=>"Blake Cormier", "reference"=>"Kenya Hane", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119deb0000'), "name"=>"Jeff Nicolas Sr.", "reference"=>"Destini Homenick", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6216ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902996773533119deb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119deb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119deb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4852ms Completed 202 Accepted in 6ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119dec0000'), "name"=>"Rosella Huels", "reference"=>"Nya Pagac", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902996773533119dec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119dec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4106ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119dec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms Redirected to http://test.host/products/54902996773533119dec0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119def0000'), "name"=>"Bradley Conroy", "reference"=>"Cordelia Beier", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119ded0000'), "author_name"=>"Alivia Casper", "content"=>["Accusamus repudiandae similique et distinctio necessitatibus debitis inventore. Voluptatum incidunt doloremque. Hic voluptate officia. Nobis quia unde aut quos occaecati."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119dee0000'), "author_name"=>"Marc Ruecker PhD", "content"=>["Perspiciatis provident quos dolorem quia rerum. Quo recusandae totam nihil exercitationem sit. Repudiandae fuga sit laudantium facilis voluptatem aut qui. Facilis reiciendis impedit cumque explicabo deleniti ut tenetur. Libero modi qui aut aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902996773533119def0000", "comment_id"=>"54902996773533119ded0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4611ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119def0000'), "comments._id"=>BSON::ObjectId('54902996773533119ded0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902996773533119df00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6240ms Redirected to http://test.host/products/54902996773533119def0000/comments/54902996773533119ded0000/comments/54902996773533119df00000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119df30000'), "name"=>"Roscoe Fritsch", "reference"=>"Eladio Upton", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df10000'), "author_name"=>"Ms. Lorenza Pfannerstill", "content"=>["Aut culpa dolores optio ad quisquam cupiditate non. Ut sunt optio quod praesentium non in. Ea necessitatibus accusantium eos sed. Qui et delectus dolores alias ea. Molestiae et et."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df20000'), "author_name"=>"Reilly Lang", "content"=>["Nemo ipsam dolore eius id maxime incidunt corrupti. Officia commodi consequatur voluptatem vel doloribus error est. Cupiditate provident et dignissimos nemo. Libero praesentium cupiditate aut id est labore corporis. Ut enim accusantium quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902996773533119df30000", "comment_id"=>"54902996773533119df10000", "id"=>"54902996773533119df20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4202ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df30000'), "comments._id"=>BSON::ObjectId('54902996773533119df10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902996773533119df20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6763ms Redirected to http://test.host/products/54902996773533119df30000/comments/54902996773533119df10000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119df60000'), "name"=>"Brycen Torp", "reference"=>"Audie Wintheiser", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df40000'), "author_name"=>"Cydney Cormier PhD", "content"=>["Labore similique aliquam. Reprehenderit enim assumenda quaerat itaque. Illum non aut alias. Quia sit quisquam iste."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df50000'), "author_name"=>"Alicia Koelpin Jr.", "content"=>["Dignissimos fugit ratione aut delectus. Sapiente doloribus nihil a vel esse explicabo. Rerum consequatur non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902996773533119df60000", "comment_id"=>"54902996773533119df40000", "id"=>"54902996773533119df50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 8.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119df90000'), "name"=>"Lesly Berge", "reference"=>"Mrs. Mylene Mohr", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df70000'), "author_name"=>"Carmelo Lockman", "content"=>["Numquam rerum aut corporis. Eos debitis minima id sequi porro. Ea nulla saepe quia quia eos."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119df80000'), "author_name"=>"Billie Pouros", "content"=>["Rerum ut et autem dolor. Itaque aut ad qui ut. Laudantium iste corporis voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5801ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902996773533119df90000", "comment_id"=>"54902996773533119df70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119df90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms Completed 200 OK in 7ms (Views: 4.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119dfc0000'), "name"=>"Miss Demarco Kemmer", "reference"=>"Hermann Halvorson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119dfa0000'), "author_name"=>"Katlynn Koelpin", "content"=>["Recusandae ullam qui. Neque quo necessitatibus temporibus tempora quis amet corrupti. Autem quod et. Neque sed consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119dfb0000'), "author_name"=>"Devyn Braun", "content"=>["Aut harum reiciendis consequatur. Sapiente quod aspernatur similique amet debitis. Nostrum ea distinctio ratione ipsam quae quaerat. Ut maxime praesentium et eum. Eligendi nobis eveniet dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5769ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902996773533119dfc0000", "comment_id"=>"54902996773533119dfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119dfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3801ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119dff0000'), "name"=>"Dr. Houston Muller", "reference"=>"Alejandra Bahringer", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119dfd0000'), "author_name"=>"Mrs. Abigale Thompson", "content"=>["Delectus a nesciunt et saepe sed ratione beatae. Libero sunt et. Aut dolores distinctio. Earum ea illo. Quod suscipit quae molestias aut eum eius eos."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119dfe0000'), "author_name"=>"Myles Hane", "content"=>["Explicabo rerum commodi dolor quod necessitatibus sequi in. Et est est esse vel quia nemo facilis. A nihil exercitationem totam enim necessitatibus. Eos dignissimos reiciendis a sint cupiditate aut possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902996773533119dff0000", "comment_id"=>"54902996773533119dfd0000", "id"=>"54902996773533119dfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119dff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119d020100'), "name"=>"Kaylah O'Conner", "reference"=>"Mrs. Melba Nitzsche", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d000100'), "author_name"=>"Sam Emard II", "content"=>["Cumque sed vel cum quod quos quaerat modi. Nemo tenetur laudantium libero. Accusantium ipsum dolorem vitae esse error."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d010100'), "author_name"=>"Athena Thiel", "content"=>["Facere illo praesentium sint harum autem. Ab aut id sed neque. Aliquam possimus rerum totam. Dolores assumenda nesciunt ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902996773533119d020100", "comment_id"=>"54902996773533119d000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119d020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 38ms (Views: 35.5ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119d050100'), "name"=>"Leopold Towne", "reference"=>"Mario Vandervort", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d030100'), "author_name"=>"Hailee Marquardt", "content"=>["Quia natus et fugit est. Nihil illo consequatur voluptatem repudiandae blanditiis voluptatum. Autem dolores id esse quo quasi sit temporibus. Beatae harum dolorum. A dolor qui et sit."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d040100'), "author_name"=>"Arvid Hammes", "content"=>["Illo qui et nesciunt in molestiae labore. Optio unde velit aliquid temporibus. Vel suscipit quam. Voluptatem repudiandae laborum esse. Iste enim quasi amet autem fugiat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5862ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902996773533119d050100", "comment_id"=>"54902996773533119d030100", "id"=>"54902996773533119d040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119d050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902996773533119d080100'), "name"=>"Brain Waelchi", "reference"=>"Golda Stamm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d060100'), "author_name"=>"Ms. Reyes Cormier", "content"=>["Architecto sint eveniet ut. Est ipsum dolor iure ad architecto blanditiis. Eos sint aliquid optio quia similique. Reprehenderit voluptas incidunt explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('54902996773533119d070100'), "author_name"=>"Ella Stark", "content"=>["Ex facilis quia adipisci id vero quos eos. Non eos tempora et esse eveniet. Totam autem repudiandae sapiente vel vitae est dolor. Necessitatibus qui explicabo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5981ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902996773533119d070100", "product_id"=>"54902996773533119d080100", "comment_id"=>"54902996773533119d060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119d080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902996773533119d080100'), "comments._id"=>BSON::ObjectId('54902996773533119d060100'), "comments.0.comments._id"=>BSON::ObjectId('54902996773533119d070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7028ms Redirected to http://test.host/products/54902996773533119d080100/comments/54902996773533119d060100/comments/54902996773533119d070100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d090100'), "firstname"=>"Winston", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5696ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2338ms 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('54902996773533119d0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms Redirected to http://test.host/users/54902996773533119d0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2473ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d0b0100'), "firstname"=>"Freeman", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1977ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902996773533119d0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902996773533119d0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902996773533119d0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0573ms 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.4548ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d0c0100'), "firstname"=>"Jamaal", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5676ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902996773533119d0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902996773533119d0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 16ms (Views: 12.5ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d0d0100'), "firstname"=>"Judah", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7181ms 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.7267ms Completed 200 OK in 17ms (Views: 16.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d0e0100'), "firstname"=>"Marcelina", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5849ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d0f0100'), "firstname"=>"Leonie", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6186ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902996773533119d0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902996773533119d0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4151ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 8ms (Views: 5.4ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902996773533119d100100'), "firstname"=>"Savanah", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902996773533119d100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902996773533119d100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms Unpermitted parameters: name Redirected to http://test.host/users/54902996773533119d100100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms 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.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.4174ms 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.2797ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms 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.2531ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1000000'), "firstname"=>"Eusebio", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5671ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3217ms 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('54902a3577353311f1010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.9304ms Redirected to http://test.host/admin/administrator Completed 302 Found in 11ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3635ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1020000'), "firstname"=>"Misty", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902a3577353311f1020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1030000'), "firstname"=>"Lloyd", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5905ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1040000'), "firstname"=>"Jovan", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5778ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902a3577353311f1040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1050000'), "firstname"=>"Mandy", "lastname"=>"Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5543ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902a3577353311f1050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4153ms 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('54902a3577353311f1060000'), "name"=>"Berta Ritchie", "reference"=>"Jevon Kunze", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f1070000'), "author_name"=>"Derek Leffler", "content"=>["Vero quia et adipisci vel rerum assumenda distinctio. Culpa tenetur porro est nihil. Non et consequatur minus. Aspernatur voluptatem dignissimos. Porro ea est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a3577353311f1060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a3577353311f1080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6078ms Redirected to http://test.host/admin/products/54902a3577353311f1060000/comments/54902a3577353311f1080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1090000'), "name"=>"Abigail Yundt", "reference"=>"Miss Donato Jenkins", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f10a0000'), "author_name"=>"Adolph Gleichner", "content"=>["Perferendis consequatur quia ducimus beatae totam. Illo quia animi. Molestiae qui corrupti nulla rerum perspiciatis ea ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4167ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a3577353311f1090000", "id"=>"54902a3577353311f10a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4359ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a3577353311f10a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms Redirected to http://test.host/admin/products/54902a3577353311f1090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f10b0000'), "name"=>"Dr. Madeline Boehm", "reference"=>"Jovan Fahey", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f10c0000'), "author_name"=>"Clotilde Trantow V", "content"=>["Qui aut eaque quia delectus sed rem. Deserunt suscipit voluptas. Sunt ad hic eligendi cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902a3577353311f10b0000", "id"=>"54902a3577353311f10c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f10d0000'), "name"=>"Cathryn Block Jr.", "reference"=>"Adonis Ward", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f10e0000'), "author_name"=>"Alexys Walsh", "content"=>["Ut tempore quaerat magni. Commodi sit quia mollitia neque velit possimus. Corporis sequi sit quasi vero magni est excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6100ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902a3577353311f10d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 8ms (Views: 5.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f10f0000'), "name"=>"Cristina Wilderman V", "reference"=>"Noel Cronin", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f1100000'), "author_name"=>"Millie Turcotte", "content"=>["Perspiciatis exercitationem repellendus voluptatem. Occaecati blanditiis corrupti qui quia qui totam. Sed ab minus eveniet quis quibusdam nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5989ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902a3577353311f10f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3464ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1110000'), "name"=>"Chaz Lebsack", "reference"=>"Pasquale Turcotte", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f1120000'), "author_name"=>"Maeve Bailey", "content"=>["Quos ipsum dolor animi veniam dolorem adipisci tenetur. Ut quidem omnis iusto voluptas harum. Praesentium qui labore. Et rerum delectus itaque omnis iure eum. Necessitatibus qui doloribus ratione est et illo ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902a3577353311f1110000", "id"=>"54902a3577353311f1120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1130000'), "name"=>"Earnestine Johnston", "reference"=>"Zelda Murazik", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a3577353311f1140000'), "author_name"=>"Mrs. Winona Lindgren", "content"=>["Similique quo assumenda veniam est voluptas dolorem corporis. Laboriosam reiciendis modi sed rerum. Voluptatem qui ut reprehenderit quidem consectetur ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a3577353311f1140000", "product_id"=>"54902a3577353311f1130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1130000'), "comments._id"=>BSON::ObjectId('54902a3577353311f1140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Redirected to http://test.host/admin/products/54902a3577353311f1130000/comments/54902a3577353311f1140000 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('54902a3577353311f1150000'), "name"=>"Austyn Fisher", "reference"=>"Lydia Windler", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f1160000'), "firstname"=>"Margarette", "lastname"=>"Zulauf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a3577353311f1150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1150000')} 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('54902a3577353311f1150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f1170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Redirected to http://test.host/admin/products/54902a3577353311f1150000/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('54902a3577353311f1180000'), "name"=>"Carson Mosciski", "reference"=>"Guido Dickinson", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f1190000'), "firstname"=>"Bo", "lastname"=>"Funk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7351ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902a3577353311f1190000", "product_id"=>"54902a3577353311f1180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f11a0000'), "name"=>"Wilford Ernser", "reference"=>"Assunta Ortiz", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f11b0000'), "firstname"=>"Lizeth", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902a3577353311f11a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f11c0000'), "name"=>"Aiyana Bergstrom", "reference"=>"Mallie Connelly V", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f11d0000'), "firstname"=>"Vada", "lastname"=>"Zemlak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902a3577353311f11d0000", "product_id"=>"54902a3577353311f11c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f11e0000'), "name"=>"Victor Bergstrom", "reference"=>"Verner Simonis", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902a3577353311f11f0000'), "firstname"=>"Randi", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902a3577353311f11f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a3577353311f11e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902a3577353311f11e0000/manager 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('54902a3577353311f1200000'), "name"=>"Maeve Wilkinson", "reference"=>"Allison Veum", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3315ms 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('54902a3577353311f1210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms Redirected to http://test.host/admin/products/54902a3577353311f1210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3091ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1220000'), "name"=>"Glen Rice", "reference"=>"Clinton Torp", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2578ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902a3577353311f1220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1220000')} 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={"_id"=>BSON::ObjectId('54902a3577353311f1220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms 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.2536ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1230000'), "name"=>"Chadd Bauch", "reference"=>"Lurline Padberg", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902a3577353311f1230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1240000'), "name"=>"Flossie Yundt", "reference"=>"Mustafa Breitenberg", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms 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.5799ms Completed 200 OK in 11ms (Views: 10.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1250000'), "name"=>"Aida Stroman Jr.", "reference"=>"Odessa Gutmann", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('54902a3577353311f1280000'), "name"=>"Terrill Dare MD", "reference"=>"Elliot Hettinger", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902a3577353311f1280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4373ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902a3577353311f1290000'), "name"=>"Elliott Tromp Jr.", "reference"=>"Claire Moore", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a3577353311f1290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms Redirected to http://test.host/admin/products/54902a3577353311f1290000 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('54902a3577353311f12a0000'), "firstname"=>"Lucius", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2202ms 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('54902a3577353311f12b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms Redirected to http://test.host/admin/users/54902a3577353311f12b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2131ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3577353311f12c0000'), "firstname"=>"Leopold", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2057ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902a3577353311f12c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3577353311f12c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3577353311f12c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms 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.2091ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3577353311f12d0000'), "firstname"=>"Clint", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902a3577353311f12d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3577353311f12d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms Rendered /home/geoffroy/projects/crealettres/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('54902a3577353311f12e0000'), "firstname"=>"Richie", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms 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.3016ms 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('54902a3577353311f12f0000'), "firstname"=>"Brad", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902a3577353311f1300000'), "firstname"=>"Donnell", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902a3577353311f1300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3577353311f1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902a3577353311f1310000'), "firstname"=>"Arnoldo", "lastname"=>"Treutel"}] 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"=>"54902a3577353311f1310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3577353311f1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902a3577353311f1310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1320000'), "firstname"=>"Giovanny", "lastname"=>"Borer"}] 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=>"administrators", :query=>{}} runtime: 0.2211ms 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('54902a3577353311f1330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms 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.2216ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1340000'), "firstname"=>"Alfredo", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902a3577353311f1340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1350000'), "firstname"=>"Kiana", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1360000'), "firstname"=>"Franz", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902a3577353311f1360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1370000'), "firstname"=>"Myles", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902a3577353311f1370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a3577353311f1370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1380000'), "name"=>"Casey Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1390000'), "name"=>"Matilde Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13a0000'), "name"=>"Sofia Franecki DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13b0000'), "name"=>"Minerva Stark DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13c0000'), "name"=>"Imelda Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13d0000'), "name"=>"Citlalli Legros II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13e0000'), "name"=>"Ms. Travon Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f13f0000'), "name"=>"Kellen Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f13f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1400000'), "name"=>"Tiana D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1410000'), "name"=>"Jody Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1420000'), "name"=>"Cortez Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1430000'), "name"=>"Jada Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1440000'), "name"=>"Constantin Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1450000'), "name"=>"Lou Murazik DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1460000'), "name"=>"Mr. Donavon Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1470000'), "name"=>"Ms. Hyman Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1480000'), "name"=>"Mrs. Anne Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1490000'), "name"=>"Pete Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14a0000'), "name"=>"Dr. Ambrose Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14b0000'), "name"=>"Corbin Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14c0000'), "name"=>"Baylee Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14d0000'), "name"=>"Natalia Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14e0000'), "name"=>"Mr. Kip Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f14f0000'), "name"=>"Salma O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f14f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1500000'), "name"=>"Pierre Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1510000'), "name"=>"Hector Wiza V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1520000'), "name"=>"Mr. Darion Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1530000'), "name"=>"Micah Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1540000'), "name"=>"Lizzie Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1550000'), "name"=>"Winston Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1560000'), "name"=>"Avery Lind Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1570000'), "name"=>"Yvette Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1580000'), "name"=>"Karolann Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1590000'), "name"=>"Alysa Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15a0000'), "name"=>"Orpha Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15b0000'), "name"=>"Jazlyn Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15c0000'), "name"=>"Penelope Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15d0000'), "name"=>"Ophelia Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15e0000'), "name"=>"Hudson Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f15f0000'), "name"=>"Patsy McGlynn DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f15f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1600000'), "name"=>"Laurence Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1610000'), "name"=>"Dr. Treva Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1620000'), "name"=>"Mrs. Amie Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1630000'), "name"=>"Maximus Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1640000'), "name"=>"Ruthe Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1650000'), "name"=>"Shaylee Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1660000'), "name"=>"Linnie Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1670000'), "name"=>"Katelyn Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1680000'), "name"=>"Lyda Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1690000'), "name"=>"Arnold Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16a0000'), "name"=>"Jakob Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16b0000'), "name"=>"Obie Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16c0000'), "name"=>"Marcelina Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16d0000'), "name"=>"Esteban Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16e0000'), "name"=>"Gerda McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f16f0000'), "name"=>"Myrtie Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f16f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1700000'), "name"=>"Kellie Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1710000'), "name"=>"Ernestina Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1720000'), "name"=>"Mya Flatley III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1730000'), "name"=>"Archibald Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1740000'), "name"=>"Mr. Franco Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1750000'), "name"=>"Jany Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1760000'), "name"=>"Okey Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1770000'), "name"=>"Ms. Abner Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1780000'), "name"=>"Shyann Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f1790000'), "name"=>"Buster Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f17a0000'), "name"=>"Dylan Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f17a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f17b0000'), "name"=>"Alessandro Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f17b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f17c0000'), "name"=>"Curtis Aufderhar III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f17c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3577353311f17d0000'), "name"=>"Kenneth Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3577353311f17d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f17e0000'), "name"=>"Rene Green II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f17e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f17f0000'), "name"=>"Keven Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f17f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1800000'), "name"=>"Mr. Bradly Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1810000'), "name"=>"Halle Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1820000'), "name"=>"Russel Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1830000'), "name"=>"Citlalli Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1840000'), "name"=>"Ollie Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1850000'), "name"=>"Lempi Schmeler II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1860000'), "name"=>"Magali O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1870000'), "name"=>"Dahlia Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1880000'), "name"=>"Tobin Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1890000'), "name"=>"Velva Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18a0000'), "name"=>"Ashlynn Predovic Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18b0000'), "name"=>"Dr. Lia Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18c0000'), "name"=>"Hipolito Spinka Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18d0000'), "name"=>"Dario Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18e0000'), "name"=>"Laurence Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f18f0000'), "name"=>"Emmitt MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f18f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1900000'), "name"=>"Jacklyn Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1910000'), "name"=>"Myles McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1920000'), "name"=>"Holden Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1930000'), "name"=>"Reva Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1940000'), "name"=>"Trinity Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1950000'), "name"=>"Mrs. Peggie Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1960000'), "name"=>"Tomas Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1970000'), "name"=>"Monserrat Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1342ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms Redirected to http://test.host/categories/54902a3677353311f1980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1817ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1990000'), "name"=>"Gavin Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1675ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902a3677353311f1990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f1990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f1990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1960ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f19a0000'), "name"=>"Carmen Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902a3677353311f19a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f19b0000'), "name"=>"Aurelio Lemke DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305810066779] runtime: 0.0967ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3774ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f19c0000'), "name"=>"Jerad Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305110238222] runtime: 0.0817ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3846ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f19d0000'), "name"=>"Mrs. Jewel Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4513ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f19f0000'), "name"=>"Albert Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902a3677353311f19f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f19f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1a00000'), "name"=>"Emilia King DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902a3677353311f1a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3634ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a3677353311f1a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a3677353311f1a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms Redirected to http://test.host/categories/54902a3677353311f1a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1a10000'), "name"=>"Cristal Sanford", "reference"=>"Mrs. Jonas Vandervort", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1a20000'), "author_name"=>"Brigitte Kunze", "content"=>["Doloremque accusantium minima minus ut. Qui odio exercitationem. Enim eum rerum exercitationem vitae aliquid voluptas aliquam. Corrupti accusamus et dignissimos. Culpa id modi sed in voluptatem suscipit."]}]}] 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('54902a3677353311f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a3677353311f1a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3911ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a3677353311f1a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms Redirected to http://test.host/products/54902a3677353311f1a10000/comments/54902a3677353311f1a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1a40000'), "name"=>"Ariane Weissnat", "reference"=>"Vinnie Durgan", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1a50000'), "author_name"=>"Martina Hermann", "content"=>["Laboriosam repudiandae aut omnis id quia et. Nostrum est et blanditiis. Sequi iste cum ratione nobis exercitationem cupiditate. Consequatur unde quia provident quisquam voluptatem. Nihil et molestiae ullam at ipsam optio fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a3677353311f1a40000", "id"=>"54902a3677353311f1a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5217ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a3677353311f1a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5455ms Redirected to http://test.host/products/54902a3677353311f1a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1a60000'), "name"=>"Brycen Adams", "reference"=>"Cassandre DuBuque III", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1a70000'), "author_name"=>"Shayne Larson", "content"=>["Esse iure illo et est voluptate voluptas qui. Eligendi tempore fugit veniam. Beatae ullam qui ut sit est dolorem doloremque. Inventore tempora dolore velit voluptate asperiores sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8013ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902a3677353311f1a60000", "id"=>"54902a3677353311f1a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3466ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1a80000'), "name"=>"Jayson Hackett", "reference"=>"Ellis Treutel", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1a90000'), "author_name"=>"Mr. Arlie Koch", "content"=>["Et qui harum cupiditate. Et nesciunt quis. Aperiam architecto sit aut qui. Temporibus molestiae tenetur animi quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5500ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902a3677353311f1a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1aa0000'), "name"=>"Ms. Mohammed Jaskolski", "reference"=>"Nelda Zemlak", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1ab0000'), "author_name"=>"Orval Pouros MD", "content"=>["Sit voluptatem praesentium ut. Quis minus id maxime sequi a velit. Voluptatem est explicabo. Quibusdam animi repudiandae error asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902a3677353311f1aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1ac0000'), "name"=>"Ms. Mireya Kshlerin", "reference"=>"Duncan Bernier", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1ad0000'), "author_name"=>"Rubye Goldner", "content"=>["Natus sequi voluptatum mollitia voluptates provident eum et. Nostrum minus mollitia cumque officiis voluptatem. Quos quas dolorum odio eligendi itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902a3677353311f1ac0000", "id"=>"54902a3677353311f1ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1ae0000'), "name"=>"Mrs. Lucy Bergstrom", "reference"=>"Peggie Boyle", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1af0000'), "author_name"=>"Yadira Wisoky", "content"=>["Sequi dicta quia quaerat ipsam. Sunt consequatur velit labore. Accusantium quia eum blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902a3677353311f1ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4304ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1b00000'), "name"=>"Kory Schmitt", "reference"=>"Ray Ryan", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1b10000'), "author_name"=>"Blair Goldner", "content"=>["Harum pariatur quo quae itaque nobis natus debitis. Nihil earum omnis eum sint. Perferendis sequi eos ut temporibus. Nobis sit et amet quasi vel ut dolorem. Commodi pariatur numquam iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902a3677353311f1b00000", "id"=>"54902a3677353311f1b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3746ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1b20000'), "name"=>"Marlon Koch MD", "reference"=>"Iliana Roob", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a3677353311f1b30000'), "author_name"=>"Jerad Hettinger IV", "content"=>["Quia quo eveniet. Quibusdam aut excepturi eveniet quia perspiciatis. Inventore deserunt ut consequatur cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a3677353311f1b30000", "product_id"=>"54902a3677353311f1b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1b20000'), "comments._id"=>BSON::ObjectId('54902a3677353311f1b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6365ms Redirected to http://test.host/products/54902a3677353311f1b20000/comments/54902a3677353311f1b30000 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('54902a3677353311f1b40000'), "firstname"=>"Greyson", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5981ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2782ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms Redirected to http://test.host/admin/clients/54902a3677353311f1b50000 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('54902a3677353311f1b60000'), "firstname"=>"Dereck", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2238ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a3677353311f1b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1b60000')} 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('54902a3677353311f1b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms 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.2320ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1b70000'), "firstname"=>"Sabina", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a3677353311f1b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54902a3677353311f1b80000'), "firstname"=>"Billy", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7698ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6059ms Completed 200 OK in 15ms (Views: 12.5ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1b90000'), "firstname"=>"Edison", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7033ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1ba0000'), "firstname"=>"Eleonore", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5910ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a3677353311f1ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4772ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 8ms (Views: 5.9ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1bb0000'), "firstname"=>"Haleigh", "lastname"=>"Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5969ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902a3677353311f1bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4483ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6263ms Redirected to http://test.host/admin/clients/54902a3677353311f1bb0000 Completed 302 Found in 5ms ----------------------------------------------- Iord::GenericControllerTest: test_should_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1bc0000'), "firstname"=>"Noble", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4919ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3294ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Redirected to http://test.host/clients/54902a3677353311f1bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3267ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1be0000'), "firstname"=>"Winona", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3013ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a3677353311f1be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1be0000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2518ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1bf0000'), "firstname"=>"Yessenia", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a3677353311f1bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (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('54902a3677353311f1c00000'), "firstname"=>"Hermina", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5417ms 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('54902a3677353311f1c10000'), "firstname"=>"Jailyn", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5592ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1c20000'), "firstname"=>"Ollie", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a3677353311f1c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4789ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902a3677353311f1c30000'), "firstname"=>"Alisha", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902a3677353311f1c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a3677353311f1c30000')} 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('54902a3677353311f1c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms Redirected to http://test.host/clients/54902a3677353311f1c30000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1c40000'), "name"=>"Mr. Laila MacGyver", "reference"=>"Ms. River Blanda", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1c50000'), "firstname"=>"Vella", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5955ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a3677353311f1c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms Redirected to http://test.host/products/54902a3677353311f1c40000/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('54902a3677353311f1c70000'), "name"=>"Elyse D'Amore", "reference"=>"Miss Terence Jaskolski", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1c80000'), "firstname"=>"Eunice", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902a3677353311f1c80000", "product_id"=>"54902a3677353311f1c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1c90000'), "name"=>"Colleen Kilback", "reference"=>"Eladio Rau", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1ca0000'), "firstname"=>"Denis", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902a3677353311f1c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1cb0000'), "name"=>"Nasir Bode", "reference"=>"Dante Lockman", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1cc0000'), "firstname"=>"Gerald", "lastname"=>"Stehr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902a3677353311f1cc0000", "product_id"=>"54902a3677353311f1cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) 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('54902a3677353311f1cd0000'), "name"=>"Ms. Linnea Schuppe", "reference"=>"Mr. Hassie Ritchie", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902a3677353311f1ce0000'), "firstname"=>"Abdullah", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902a3677353311f1ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a3677353311f1cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms Unpermitted parameters: name Redirected to http://test.host/products/54902a3677353311f1cd0000/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('54902a3677353311f1cf0000'), "name"=>"Alfredo Hamill", "reference"=>"Leora Bosco Jr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d00000'), "name"=>"Donavon Corwin PhD", "reference"=>"Gwendolyn O'Conner", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d10000'), "name"=>"Colin Marquardt", "reference"=>"Lexus Breitenberg DDS", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d20000'), "name"=>"Sarina Lakin", "reference"=>"Estel Simonis", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d30000'), "name"=>"Ambrose Ernser", "reference"=>"Phyllis Spencer II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d40000'), "name"=>"Scotty Leffler MD", "reference"=>"Miss Makenzie Thiel", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6238ms Redirected to http://test.host/products/54902a3677353311f1d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3337ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d60000'), "name"=>"Zander Schamberger", "reference"=>"Ward Mraz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3025ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902a3677353311f1d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4032ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms 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.3162ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d70000'), "name"=>"Neil Emard", "reference"=>"Olin Yundt IV", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902a3677353311f1d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3677353311f1d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d80000'), "name"=>"Fabian Moen II", "reference"=>"Agustina Goldner", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713681970] runtime: 0.0873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2391ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1d90000'), "name"=>"Pierre Leffler", "reference"=>"Lucas Pagac", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1da0000'), "name"=>"HelloWorld", "reference"=>"Levi Lemke", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1db0000'), "name"=>"value", "reference"=>"Nicolette Sipes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2768ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2445ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2108ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1449ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2212ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1466ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3677353311f1dc0000'), "name"=>"Amelia Breitenberg Jr.", "reference"=>"Thelma Ullrich", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280864826141] runtime: 0.0768ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2066ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291605905] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280241127132] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.0270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279185528473] runtime: 0.1027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280559950935] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280899660892] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280127612035] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279987980505] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279355352376] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279331055220] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281066100710] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501589092] runtime: 0.0778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614825611] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294012339] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040632575] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814016518] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280129526603] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279852657599] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279765293400] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040137951] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717986017] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279938936834] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281093073334] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068156603] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292139079] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280839511942] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281077462019] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723634108] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221725080] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280521454002] runtime: 0.0893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375786513] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808489337] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643848806] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342517504] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118279912] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310278629] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077998847] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783794124] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947948375] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280740613315] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440785776] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280864539334] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723867906] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375493135] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280182639484] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279192796365] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877579397] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371686905] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413339093] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101431729] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062360139] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408090570] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314638457] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281090687260] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279298190850] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280488786064] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122060374] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226449070] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.3728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308034014] runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122517635] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281083140315] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036693038] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280138738758] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279641415901] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175980539] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280740269725] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511149226] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280862313338] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050093366] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279397807428] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587252409] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671701585] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279827750064] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976838400] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280555413683] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356203628] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794078993] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263825150] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469520289] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279546351796] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279273480496] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088497633] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446513528] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279450276533] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500195637] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279459204027] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220667974] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279915639496] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279910622042] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467650893] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279942724] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249675585] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736282605] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281150589908] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279970508170] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624489885] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280151939058] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280307287110] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162965250] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281210672140] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891652119] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051597163] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279508157794] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841989925] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279938765582] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279576079030] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511346112] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280192920749] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279809062617] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302398216] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440139198] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617701162] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848003214] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136078132] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280379028596] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645193405] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825864801] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605810555] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279999891062] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532383758] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281005610002] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299242441] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279536618654] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014930939] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538948500] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229299042] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663604754] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922214427] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280383743843] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669915801] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280318376648] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122930821] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501920653] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281009092261] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279685714297] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.5347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279772190896] runtime: 0.1011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862656507] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846363427] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308099015] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669325914] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884156002] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280970169912] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213798532] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280499305776] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875027381] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362228728] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279429765512] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280206443372] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280174623427] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280748400022] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912811578] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087194294] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675249624] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256139090] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280365260838] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151903912] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501279075] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220539403] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280545175612] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281171610229] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630747955] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280445122904] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280369443414] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279747930411] runtime: 0.0652ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1dd0000'), "name"=>"Richie Crooks Sr.", "reference"=>"Garry Ebert", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1819ms Completed 200 OK in 7ms (Views: 4.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1de0000'), "name"=>"Lucio Gorczany", "reference"=>"Zetta Schaefer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280779795115] runtime: 0.0619ms Completed 200 OK in 5ms (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('54902a3777353311f1df0000'), "name"=>"Cooper Price", "reference"=>"Chance Reichert", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902a3777353311f1df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms 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('54902a3777353311f1e00000'), "name"=>"Johnnie Schowalter", "reference"=>"Horace Kshlerin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e20000'), "name"=>"Lew Emmerich", "reference"=>"Piper Schaden", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902a3777353311f1e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e30000'), "name"=>"Lafayette Ondricka", "reference"=>"Hugh Hirthe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3254ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2602ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3577353311f1060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=-1 Completed 302 Found in 5ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e40000'), "name"=>"Marcelo Satterfield", "reference"=>"Johnathon McDermott II", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3169ms Completed 200 OK in 7ms (Views: 4.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e50000'), "name"=>"Mariela Conn", "reference"=>"Salvatore Kreiger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3107ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Completed 200 OK in 6ms (Views: 3.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e60000'), "name"=>"Taya Steuber", "reference"=>"Sophia Beer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.7432ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2435ms 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('54902a3777353311f1e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2817ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1e80000'), "name"=>"Dante Rau", "reference"=>"Mr. Karson Emard", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6058ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902a3777353311f1e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms 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('54902a3777353311f1e90000'), "name"=>"Ms. Wilfred Block", "reference"=>"Victor Von", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms 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('54902a3777353311f1eb0000'), "name"=>"Braulio Lakin", "reference"=>"Faustino Reynolds", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a3777353311f1eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms 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('54902a3777353311f1ec0000'), "name"=>"Taya Kuhic", "reference"=>"Fiona Schuster", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a3777353311f1ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Redirected to http://test.host/products/54902a3777353311f1ec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1ef0000'), "name"=>"Adolphus Bosco", "reference"=>"Earlene Fisher", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1ed0000'), "author_name"=>"Nona Doyle", "content"=>["Sed facilis necessitatibus officiis id sapiente architecto nisi. Qui provident eius autem quas quasi voluptatem. Beatae quia corporis quos cumque."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1ee0000'), "author_name"=>"Zella Hermiston", "content"=>["Rerum quo minima nihil facilis. Fugiat nihil ab. Ducimus nisi similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a3777353311f1ef0000", "comment_id"=>"54902a3777353311f1ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ef0000'), "comments._id"=>BSON::ObjectId('54902a3777353311f1ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a3777353311f1f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms Redirected to http://test.host/products/54902a3777353311f1ef0000/comments/54902a3777353311f1ed0000/comments/54902a3777353311f1f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1f30000'), "name"=>"Savanah Murray", "reference"=>"Dr. Jaycee Hahn", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f10000'), "author_name"=>"Tyrese Schaden PhD", "content"=>["Qui nisi iusto omnis veritatis aut quo voluptatem. Voluptas at minus quia ullam commodi. Vitae illum soluta. Aut eligendi quae quo aut et. Qui ullam ut rerum quia impedit reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f20000'), "author_name"=>"Cyril Gerlach", "content"=>["Iusto rerum perspiciatis. Ut ut expedita porro harum non iure nemo. Minima suscipit tenetur minus ex eum quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902a3777353311f1f30000", "comment_id"=>"54902a3777353311f1f10000", "id"=>"54902a3777353311f1f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f30000'), "comments._id"=>BSON::ObjectId('54902a3777353311f1f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a3777353311f1f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms Redirected to http://test.host/products/54902a3777353311f1f30000/comments/54902a3777353311f1f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1f60000'), "name"=>"Ellie Herzog III", "reference"=>"Kacie Stiedemann", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f40000'), "author_name"=>"Keagan Hessel", "content"=>["Dolor magni qui. Aut atque qui. Accusamus optio natus cupiditate porro qui."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f50000'), "author_name"=>"Clinton Cole", "content"=>["Sunt necessitatibus sit. Et labore rem qui et. Omnis quia facilis ut doloribus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6420ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902a3777353311f1f60000", "comment_id"=>"54902a3777353311f1f40000", "id"=>"54902a3777353311f1f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1f90000'), "name"=>"Ms. Kieran Graham", "reference"=>"Dr. Felipe Parisian", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f70000'), "author_name"=>"Dr. Karson Stiedemann", "content"=>["Et et ut temporibus dolor modi soluta. Rerum autem vero architecto et omnis doloribus saepe. Nesciunt iusto quis non rerum est vel eos. Perspiciatis repellat sint dolores quo laboriosam omnis."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1f80000'), "author_name"=>"Darian Farrell", "content"=>["Est omnis aut et qui molestiae quaerat. Et mollitia sunt iure et sapiente animi autem. Est soluta aspernatur consequatur necessitatibus. Cupiditate ut inventore sunt nisi est eos vitae. Consequatur cum ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902a3777353311f1f90000", "comment_id"=>"54902a3777353311f1f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1fc0000'), "name"=>"Sim Erdman", "reference"=>"Fidel Heller PhD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1fa0000'), "author_name"=>"Eliane Kuvalis II", "content"=>["Vitae voluptatibus omnis. Animi deserunt quia. Explicabo vero voluptas quam veniam soluta."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1fb0000'), "author_name"=>"Mallie Romaguera DDS", "content"=>["Modi temporibus sint veniam. Quasi voluptates non ut veritatis porro quo. Odit quas aut corporis qui et cum. Reprehenderit sapiente impedit sint ducimus nesciunt nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902a3777353311f1fc0000", "comment_id"=>"54902a3777353311f1fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1ff0000'), "name"=>"Justyn Streich", "reference"=>"Shawna Vandervort", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1fd0000'), "author_name"=>"Kirstin O'Hara", "content"=>["Non est neque laboriosam doloremque ipsa voluptate. Quas culpa dolorem. Quis non et sunt accusamus sed."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1fe0000'), "author_name"=>"Mallie Ferry", "content"=>["Minima temporibus voluptatem est iusto facere. Iste quo iure. Ut commodi eaque id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902a3777353311f1ff0000", "comment_id"=>"54902a3777353311f1fd0000", "id"=>"54902a3777353311f1fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1020100'), "name"=>"Mr. Merritt Rowe", "reference"=>"Keyon Weimann IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1000100'), "author_name"=>"Kallie Streich", "content"=>["Sed vero ipsam consequuntur. Veniam ut asperiores harum necessitatibus eos accusantium. Assumenda eum quo quasi fugit laudantium. Exercitationem adipisci dolor nobis."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1010100'), "author_name"=>"Ressie White Sr.", "content"=>["Quasi et totam aut. Eos soluta ut voluptatem voluptate. Accusamus et deleniti optio et hic aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902a3777353311f1020100", "comment_id"=>"54902a3777353311f1000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1050100'), "name"=>"Felicity Thiel", "reference"=>"Kiarra Johnson III", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1030100'), "author_name"=>"Hulda Armstrong", "content"=>["Inventore quis eveniet distinctio vel. Ipsam et error nemo molestias sequi est in. Debitis dignissimos quaerat."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1040100'), "author_name"=>"Ms. Nicola Funk", "content"=>["Sed nostrum similique. Cupiditate est tempore quas quos ex est. Optio aliquid expedita dolor ut blanditiis porro. Aut hic praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902a3777353311f1050100", "comment_id"=>"54902a3777353311f1030100", "id"=>"54902a3777353311f1040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1080100'), "name"=>"Romaine Kirlin", "reference"=>"Hermann Breitenberg V", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1060100'), "author_name"=>"Evert Runolfsdottir", "content"=>["Qui aspernatur incidunt nobis qui asperiores. Et vero accusamus sit. Quaerat rerum dolor non et earum. Doloribus harum vel expedita itaque praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('54902a3777353311f1070100'), "author_name"=>"Hailie Wisoky", "content"=>["Fugit quisquam eius quibusdam qui sit enim tempora. Assumenda sequi tempora fuga blanditiis suscipit. Sit voluptatem officia aliquam est molestiae et dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a3777353311f1070100", "product_id"=>"54902a3777353311f1080100", "comment_id"=>"54902a3777353311f1060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a3777353311f1080100'), "comments._id"=>BSON::ObjectId('54902a3777353311f1060100'), "comments.0.comments._id"=>BSON::ObjectId('54902a3777353311f1070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Redirected to http://test.host/products/54902a3777353311f1080100/comments/54902a3777353311f1060100/comments/54902a3777353311f1070100 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('54902a3777353311f1090100'), "firstname"=>"April", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2309ms 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('54902a3777353311f10a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6370ms Redirected to http://test.host/users/54902a3777353311f10a0100 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2554ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3777353311f10b0100'), "firstname"=>"Darrick", "lastname"=>"Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms 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"=>"54902a3777353311f10b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3777353311f10b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3777353311f10b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms 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.1860ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3777353311f10c0100'), "firstname"=>"Cali", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902a3777353311f10c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3777353311f10c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) 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('54902a3777353311f10d0100'), "firstname"=>"Muriel", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms 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.4323ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3777353311f10e0100'), "firstname"=>"Alexander", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902a3777353311f10f0100'), "firstname"=>"Cierra", "lastname"=>"Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902a3777353311f10f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3777353311f10f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a3777353311f1100100'), "firstname"=>"Meaghan", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902a3777353311f1100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a3777353311f1100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Unpermitted parameters: name Redirected to http://test.host/users/54902a3777353311f1100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6014ms 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.5939ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7173ms 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.3053ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6293ms 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.2855ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b000000'), "firstname"=>"Justice", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1625ms 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('54902a71773533122b010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms 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.1549ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b020000'), "firstname"=>"Delia", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902a71773533122b020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b030000'), "firstname"=>"Burley", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b040000'), "firstname"=>"Alyson", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902a71773533122b040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b050000'), "firstname"=>"Cyril", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902a71773533122b050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms 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('54902a71773533122b060000'), "name"=>"Mr. Kay Dietrich", "reference"=>"Mr. Alaina Schulist", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b070000'), "author_name"=>"Demetrius Hane", "content"=>["Fugiat ut rerum voluptatem aut nobis quis. Sit nobis et ut magnam sunt. Dignissimos voluptatem voluptas dolor nam. Quia dolorem dolor et repellat unde eaque laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a71773533122b060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a71773533122b080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms Redirected to http://test.host/admin/products/54902a71773533122b060000/comments/54902a71773533122b080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b090000'), "name"=>"Shanie Mayert", "reference"=>"Ms. Axel Zieme", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b0a0000'), "author_name"=>"Immanuel Bradtke", "content"=>["Fuga minima minus sed praesentium veniam. Temporibus ipsam dolorem. Voluptatum natus consequuntur soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2238ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a71773533122b090000", "id"=>"54902a71773533122b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b090000')} 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('54902a71773533122b090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a71773533122b0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Redirected to http://test.host/admin/products/54902a71773533122b090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b0b0000'), "name"=>"Lavina Vandervort", "reference"=>"Jordon Schowalter DVM", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b0c0000'), "author_name"=>"Jeromy Von", "content"=>["Sint vero esse possimus est. Voluptatem suscipit ab. Doloribus placeat architecto et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902a71773533122b0b0000", "id"=>"54902a71773533122b0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b0d0000'), "name"=>"Weston Dach", "reference"=>"Mr. Uriel Swift", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b0e0000'), "author_name"=>"Leonardo Marks", "content"=>["Beatae ullam est dignissimos at velit. Dolorem est voluptatibus cupiditate tempore. Enim tenetur accusantium non id ullam odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902a71773533122b0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b0f0000'), "name"=>"Emmitt Prohaska DVM", "reference"=>"Keenan Daugherty", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b100000'), "author_name"=>"Ms. Mauricio Herzog", "content"=>["Enim consequatur suscipit vitae explicabo est officia. Non aut beatae dolore corrupti. Veniam corporis ipsa optio error fugiat nostrum. Ad a nisi eveniet deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902a71773533122b0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b110000'), "name"=>"Orland O'Keefe V", "reference"=>"Dennis Jaskolski Jr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b120000'), "author_name"=>"Cordell Wilderman", "content"=>["Deleniti facere ab accusantium quia cupiditate porro. Non neque aut et molestias eveniet ullam tempora. Saepe sint voluptatem aut autem beatae ipsam sed. Sapiente at sit enim qui magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902a71773533122b110000", "id"=>"54902a71773533122b120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b130000'), "name"=>"Glennie Hermann", "reference"=>"Dawson Walsh", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a71773533122b140000'), "author_name"=>"Jettie Fritsch", "content"=>["Qui ut id itaque reiciendis. Voluptates optio dolore. Assumenda nihil veritatis sit ut voluptates voluptatibus labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a71773533122b140000", "product_id"=>"54902a71773533122b130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b130000'), "comments._id"=>BSON::ObjectId('54902a71773533122b140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms Redirected to http://test.host/admin/products/54902a71773533122b130000/comments/54902a71773533122b140000 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('54902a71773533122b150000'), "name"=>"Ulices Jaskolski", "reference"=>"Kip Leuschke", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b160000'), "firstname"=>"Elvie", "lastname"=>"Simonis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5145ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a71773533122b150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms Redirected to http://test.host/admin/products/54902a71773533122b150000/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('54902a71773533122b180000'), "name"=>"Randal Treutel", "reference"=>"Roman Dibbert", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b190000'), "firstname"=>"Etha", "lastname"=>"Jast"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902a71773533122b190000", "product_id"=>"54902a71773533122b180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b1a0000'), "name"=>"Bernita Schumm", "reference"=>"Trace Goodwin", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b1b0000'), "firstname"=>"Cheyanne", "lastname"=>"Steuber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902a71773533122b1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b1c0000'), "name"=>"Miss Arjun Miller", "reference"=>"Jany Ebert", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b1d0000'), "firstname"=>"Jamir", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902a71773533122b1d0000", "product_id"=>"54902a71773533122b1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b1e0000'), "name"=>"Devin Mitchell", "reference"=>"Florencio Waelchi MD", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902a71773533122b1f0000'), "firstname"=>"Nicholas", "lastname"=>"Von"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902a71773533122b1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a71773533122b1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902a71773533122b1e0000/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('54902a71773533122b200000'), "name"=>"Ewell Romaguera", "reference"=>"Frank O'Hara", "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.1965ms 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('54902a71773533122b210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms Redirected to http://test.host/admin/products/54902a71773533122b210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2424ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b220000'), "name"=>"Katarina Borer MD", "reference"=>"Dahlia Vandervort", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1877ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902a71773533122b220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b220000')} 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('54902a71773533122b220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5585ms 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.2499ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b230000'), "name"=>"Alek Champlin", "reference"=>"Jacky Tremblay", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902a71773533122b230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b240000'), "name"=>"Percival Greenholt III", "reference"=>"Colten Ryan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms 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.5862ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b250000'), "name"=>"Kristian Macejkovic", "reference"=>"Keaton Hamill", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 20ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b280000'), "name"=>"Reginald Parisian", "reference"=>"Orville Welch DVM", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5417ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902a71773533122b280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a71773533122b290000'), "name"=>"Wyatt Leannon", "reference"=>"Guadalupe Hickle", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a71773533122b290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a71773533122b290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms Redirected to http://test.host/admin/products/54902a71773533122b290000 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('54902a71773533122b2a0000'), "firstname"=>"Verona", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2546ms 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('54902a71773533122b2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms Redirected to http://test.host/admin/users/54902a71773533122b2b0000 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('54902a71773533122b2c0000'), "firstname"=>"Bradly", "lastname"=>"Paucek"}] 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=>"admin_users", :query=>{}} runtime: 0.1823ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902a71773533122b2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a71773533122b2c0000')} 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('54902a71773533122b2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms 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('54902a71773533122b2d0000'), "firstname"=>"Gerald", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902a71773533122b2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a71773533122b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a71773533122b2e0000'), "firstname"=>"Laura", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms 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.3381ms 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('54902a71773533122b2f0000'), "firstname"=>"Jarrell", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4213ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902a71773533122b300000'), "firstname"=>"Elna", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902a71773533122b300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a71773533122b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.0ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a71773533122b310000'), "firstname"=>"Aisha", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902a71773533122b310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a71773533122b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4931ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902a71773533122b310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b320000'), "firstname"=>"Lempi", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2080ms 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('54902a71773533122b330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms 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.1879ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b340000'), "firstname"=>"Jaqueline", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902a71773533122b340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b350000'), "firstname"=>"Presley", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b360000'), "firstname"=>"Annalise", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902a71773533122b360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4123ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a71773533122b370000'), "firstname"=>"Gordon", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902a71773533122b370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a71773533122b370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b380000'), "name"=>"Liliana Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b390000'), "name"=>"Winona Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3a0000'), "name"=>"Cecelia Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3b0000'), "name"=>"Vincenzo Towne MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3c0000'), "name"=>"Nathan Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3d0000'), "name"=>"Tevin Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3e0000'), "name"=>"Raven Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b3f0000'), "name"=>"Gayle Gottlieb III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b400000'), "name"=>"Nolan Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b410000'), "name"=>"Miss Mustafa Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b420000'), "name"=>"Rogers Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b430000'), "name"=>"Dr. Sidney Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b440000'), "name"=>"Rickie Sanford V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b450000'), "name"=>"Mrs. Camille Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b460000'), "name"=>"Theresia Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b470000'), "name"=>"Daphnee Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b480000'), "name"=>"Delphia Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b490000'), "name"=>"Mrs. Schuyler Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4a0000'), "name"=>"Elisabeth Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4b0000'), "name"=>"Brett Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4c0000'), "name"=>"Laney O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4d0000'), "name"=>"Ms. Terence Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4e0000'), "name"=>"Mallory Bosco DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b4f0000'), "name"=>"Assunta Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b500000'), "name"=>"Mrs. Walter Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b510000'), "name"=>"Myra Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b520000'), "name"=>"Nicholaus O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b530000'), "name"=>"Miss Lela Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b540000'), "name"=>"Libby Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b550000'), "name"=>"Leonie Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b560000'), "name"=>"Brain Fay PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b570000'), "name"=>"Brisa Goyette III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b580000'), "name"=>"Kirstin Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b590000'), "name"=>"Elmira Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5a0000'), "name"=>"Benjamin Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5b0000'), "name"=>"Billy Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5c0000'), "name"=>"Mrs. Heaven Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5d0000'), "name"=>"Mr. Candido Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5e0000'), "name"=>"Shayne Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b5f0000'), "name"=>"Katrine Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b600000'), "name"=>"Danial Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b610000'), "name"=>"Sherwood Goyette PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b620000'), "name"=>"Mrs. Scotty Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b630000'), "name"=>"Mr. Bryce Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b640000'), "name"=>"Delpha Becker Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b650000'), "name"=>"Annabel Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b660000'), "name"=>"Kasey Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b670000'), "name"=>"Kenton Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b680000'), "name"=>"Mrs. Darby Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b690000'), "name"=>"Tania Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6a0000'), "name"=>"Cyril Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6b0000'), "name"=>"Alvah Smitham MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6c0000'), "name"=>"Soledad Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6d0000'), "name"=>"Patience Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6e0000'), "name"=>"Brittany Boehm V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b6f0000'), "name"=>"Cole Johns Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b700000'), "name"=>"Karli Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b710000'), "name"=>"Sandrine Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a71773533122b720000'), "name"=>"Arely Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a71773533122b720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b730000'), "name"=>"Alyce Harvey I"}] 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={"category_id"=>BSON::ObjectId('54902a72773533122b730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b740000'), "name"=>"Mr. Ally Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b750000'), "name"=>"Levi Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b760000'), "name"=>"Robb Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b770000'), "name"=>"Braden Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b780000'), "name"=>"Julio Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b790000'), "name"=>"Zelma Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7a0000'), "name"=>"Mack Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7b0000'), "name"=>"Adela Turner"}] 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={"category_id"=>BSON::ObjectId('54902a72773533122b7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7c0000'), "name"=>"Rey Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7d0000'), "name"=>"Burdette White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.5079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7e0000'), "name"=>"Audreanne Waters Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b7f0000'), "name"=>"Germaine Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b800000'), "name"=>"Aliza Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b810000'), "name"=>"Cielo Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b820000'), "name"=>"Joey MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b830000'), "name"=>"Jennifer Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b840000'), "name"=>"Rodrick O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b850000'), "name"=>"Napoleon Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b860000'), "name"=>"Mortimer Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b870000'), "name"=>"Brent Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b880000'), "name"=>"Ruby Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b890000'), "name"=>"Johathan Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8a0000'), "name"=>"Amos Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8b0000'), "name"=>"Amaya Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8c0000'), "name"=>"Brandt Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8d0000'), "name"=>"Mrs. John Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8e0000'), "name"=>"Ransom O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b8f0000'), "name"=>"Corine Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b900000'), "name"=>"Ms. Mathilde Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b910000'), "name"=>"Nina Beier DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b920000'), "name"=>"Mr. Della Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b930000'), "name"=>"Clemmie Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b940000'), "name"=>"Verda Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b950000'), "name"=>"Bert Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b960000'), "name"=>"Kenton Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b970000'), "name"=>"Bernie Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1795ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms Redirected to http://test.host/categories/54902a72773533122b980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2066ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b990000'), "name"=>"Tyree Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1853ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902a72773533122b990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122b990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122b990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1917ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b9a0000'), "name"=>"Fred Gutmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902a72773533122b9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 10ms (Views: 9.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b9b0000'), "name"=>"Lucinda Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306956155326] runtime: 0.0861ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3027ms Completed 200 OK in 16ms (Views: 15.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b9c0000'), "name"=>"Alia Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305946464056] runtime: 0.0743ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2712ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b9d0000'), "name"=>"Calista Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122b9f0000'), "name"=>"Dana Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902a72773533122b9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122b9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a72773533122ba00000'), "name"=>"Jermain Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902a72773533122ba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a72773533122ba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a72773533122ba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms Redirected to http://test.host/categories/54902a72773533122ba00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122ba10000'), "name"=>"Keshawn Kirlin", "reference"=>"Garret Vandervort", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122ba20000'), "author_name"=>"Dashawn Padberg", "content"=>["Aut saepe rerum amet beatae qui numquam. Atque ut dolores ratione. Perferendis deleniti aut fugiat necessitatibus. Voluptas nihil ducimus sit sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a72773533122ba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a72773533122ba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5104ms Redirected to http://test.host/products/54902a72773533122ba10000/comments/54902a72773533122ba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122ba40000'), "name"=>"Ms. Matilda Ankunding", "reference"=>"Steve Breitenberg", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122ba50000'), "author_name"=>"Desmond Dibbert Sr.", "content"=>["Hic molestiae ab eos. Illo laborum dolorum. Quo optio ratione est soluta quidem quo. Quia rerum nobis eius quibusdam. Aut qui expedita cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a72773533122ba40000", "id"=>"54902a72773533122ba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a72773533122ba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Redirected to http://test.host/products/54902a72773533122ba40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122ba60000'), "name"=>"Ms. Nat Strosin", "reference"=>"Brando Herzog", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122ba70000'), "author_name"=>"Elisha Rohan", "content"=>["Sit id ea natus reiciendis voluptatem consequatur. Ea accusamus recusandae aut perferendis. Tempora aut harum. Modi beatae porro id qui voluptatem. Et hic debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902a72773533122ba60000", "id"=>"54902a72773533122ba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3725ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122ba80000'), "name"=>"Donald Krajcik DVM", "reference"=>"Roslyn Greenfelder", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122ba90000'), "author_name"=>"Dr. Carlee Nolan", "content"=>["Et rerum quia blanditiis nobis necessitatibus. Modi sed ab ut adipisci non. Expedita veritatis ullam atque laborum consequatur in. Inventore iure ullam quia molestiae incidunt consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902a72773533122ba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122ba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122baa0000'), "name"=>"Keith Altenwerth", "reference"=>"Tremaine Homenick I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122bab0000'), "author_name"=>"Mrs. Neva Hirthe", "content"=>["Illo incidunt libero repellat sit est sint. Ad ipsa error quasi facere quod minus ratione. Vel libero magnam ea at repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902a72773533122baa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122baa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bac0000'), "name"=>"Nicolette Runte", "reference"=>"Erwin Schmeler", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122bad0000'), "author_name"=>"Ariane Koss", "content"=>["Cum illo qui quibusdam sed minus. Distinctio maxime officiis. Explicabo facilis molestiae sunt ullam itaque et. Assumenda voluptas minima. Velit delectus quo voluptatem facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902a72773533122bac0000", "id"=>"54902a72773533122bad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bae0000'), "name"=>"Eliane Schmeler", "reference"=>"Gerda McKenzie", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122baf0000'), "author_name"=>"Simeon Larson IV", "content"=>["Harum distinctio esse ex nihil. Nihil asperiores optio perspiciatis accusamus suscipit. Quia reiciendis eum a id atque. Vero est excepturi soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902a72773533122bae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bb00000'), "name"=>"Hugh Hills", "reference"=>"Giovanna Parker", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122bb10000'), "author_name"=>"Leanna Balistreri", "content"=>["Velit at quae et eos fuga nobis est. Quibusdam qui non vel a quis. Fugiat nulla recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902a72773533122bb00000", "id"=>"54902a72773533122bb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bb20000'), "name"=>"Lucas Jast", "reference"=>"Blair Bednar", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a72773533122bb30000'), "author_name"=>"Myles Gulgowski", "content"=>["Quod quos est porro adipisci. Deleniti minima inventore. Reprehenderit in et vel quod. Iusto inventore consequatur et error. Pariatur eum vel suscipit dolores natus in voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a72773533122bb30000", "product_id"=>"54902a72773533122bb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bb20000')} 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('54902a72773533122bb20000'), "comments._id"=>BSON::ObjectId('54902a72773533122bb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6163ms Redirected to http://test.host/products/54902a72773533122bb20000/comments/54902a72773533122bb30000 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('54902a72773533122bb40000'), "firstname"=>"Marlin", "lastname"=>"Lesch"}] 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=>"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('54902a72773533122bb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms Redirected to http://test.host/admin/clients/54902a72773533122bb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1644ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a72773533122bb60000'), "firstname"=>"Chesley", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1495ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a72773533122bb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms 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.1552ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a72773533122bb70000'), "firstname"=>"Dion", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a72773533122bb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54902a72773533122bb80000'), "firstname"=>"Dorcas", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms 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('54902a72773533122bb90000'), "firstname"=>"Braeden", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902a72773533122bba0000'), "firstname"=>"Hector", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7187ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a72773533122bba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902a72773533122bbb0000'), "firstname"=>"Domenick", "lastname"=>"Schinner"}] 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"=>"54902a72773533122bbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Redirected to http://test.host/admin/clients/54902a72773533122bbb0000 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('54902a72773533122bbc0000'), "firstname"=>"Crystel", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms 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('54902a72773533122bbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms Redirected to http://test.host/clients/54902a72773533122bbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1789ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a72773533122bbe0000'), "firstname"=>"Elijah", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1608ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a72773533122bbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms 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.1676ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a72773533122bbf0000'), "firstname"=>"Neha", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a72773533122bbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms Rendered /home/geoffroy/projects/crealettres/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('54902a72773533122bc00000'), "firstname"=>"Aileen", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902a72773533122bc10000'), "firstname"=>"Dorcas", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902a72773533122bc20000'), "firstname"=>"Lenore", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a72773533122bc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a72773533122bc30000'), "firstname"=>"Lucie", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902a72773533122bc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a72773533122bc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms Redirected to http://test.host/clients/54902a72773533122bc30000 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('54902a72773533122bc40000'), "name"=>"Peyton Marks", "reference"=>"Brandi Morar", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bc50000'), "firstname"=>"Florian", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a72773533122bc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms Redirected to http://test.host/products/54902a72773533122bc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bc70000'), "name"=>"Marina Huels", "reference"=>"Ian Prohaska II", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bc80000'), "firstname"=>"Lilly", "lastname"=>"Reinger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902a72773533122bc80000", "product_id"=>"54902a72773533122bc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bc90000'), "name"=>"Miss Theron Crooks", "reference"=>"Rosalia Gerlach", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bca0000'), "firstname"=>"Pinkie", "lastname"=>"Spencer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902a72773533122bc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bcb0000'), "name"=>"Nikita Dare", "reference"=>"Jesse Larkin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bcc0000'), "firstname"=>"Lamont", "lastname"=>"Flatley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902a72773533122bcc0000", "product_id"=>"54902a72773533122bcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bcd0000'), "name"=>"Marcia Hagenes", "reference"=>"Geovanni Jast", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902a72773533122bce0000'), "firstname"=>"Daniela", "lastname"=>"Wunsch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2050ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902a72773533122bce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a72773533122bcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms Unpermitted parameters: name Redirected to http://test.host/products/54902a72773533122bcd0000/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('54902a72773533122bcf0000'), "name"=>"Miss Ernesto Huels", "reference"=>"Marc Schumm", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd00000'), "name"=>"Rudolph Marks", "reference"=>"Camron Wilderman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd10000'), "name"=>"Kaylie Hilll", "reference"=>"Harmon VonRueden", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd20000'), "name"=>"Sanford Okuneva", "reference"=>"Lambert Kulas", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd30000'), "name"=>"Hillary Jaskolski", "reference"=>"Mr. Vergie Schulist", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd40000'), "name"=>"Miss Maye Collins", "reference"=>"Frank Okuneva", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms Redirected to http://test.host/products/54902a72773533122bd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2719ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd60000'), "name"=>"Russ Champlin", "reference"=>"Mrs. Erling Connelly", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2408ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902a72773533122bd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3602ms 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.2327ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd70000'), "name"=>"Edgar Turner Sr.", "reference"=>"Savanah Nikolaus", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902a72773533122bd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a72773533122bd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd80000'), "name"=>"Donavon Gislason V", "reference"=>"Morris Nader", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5099ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451450418] runtime: 0.0923ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3296ms Completed 200 OK in 18ms (Views: 17.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bd90000'), "name"=>"Esperanza Murray III", "reference"=>"Esperanza Davis", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bda0000'), "name"=>"HelloWorld", "reference"=>"Yazmin Powlowski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bdb0000'), "name"=>"value", "reference"=>"Karolann Fadel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5476ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4545ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4161ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1942ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2093ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3862ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3202ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1964ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bdc0000'), "name"=>"Krystal Fay", "reference"=>"Mr. Marvin Christiansen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869719392] runtime: 0.0864ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms Completed 200 OK in 17ms (Views: 16.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089359646] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279454634240] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.9787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279427629373] runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120916853] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717398311] runtime: 0.0897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959504760] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279696004003] runtime: 0.0681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094589022] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279361664727] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055219926] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279674922552] runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280097687073] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144345115] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279788464913] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717726937] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933515252] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280965199185] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121897657] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244132654] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730032062] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466789620] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535955271] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277194021] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280029018332] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279254861602] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280745823286] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176670486] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213408895] runtime: 0.0764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874112126] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021271576] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280145810541] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256523971] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491757963] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549535927] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228597287] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263669378] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280812825861] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280281719309] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279274917000] runtime: 0.0898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270716376] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680506617] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688320246] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504969957] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892231830] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281169221810] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280770210879] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734539326] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820797287] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279266800602] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279411553218] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207579039] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615434445] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887318091] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654913196] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279871561036] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751043941] runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.7697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338264802] runtime: 0.0771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552646558] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280572960744] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136984894] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281253674524] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191575893] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390680053] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279332911447] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280350462180] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280318940664] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001337439] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279893847510] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279567937501] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966947457] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736803310] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280267827203] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280108700977] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311403480] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280720849556] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174677167] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365742976] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280575598948] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279952417049] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401730178] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279418901063] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281970743] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279631174321] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280084887897] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921517567] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654675253] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280049836060] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279642898748] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698061462] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028388651] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081425764] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480697729] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280566499995] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279258406509] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280879999141] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280406851161] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002795041] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280770245016] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243535707] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466520782] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279448504759] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279695344403] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661216651] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458723475] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028174529] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440996694] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622448951] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085693157] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280948879028] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250555216] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279257493039] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002061327] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279812342549] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281208945181] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801878863] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074924729] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323284140] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279671754033] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873345640] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531686109] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280871768274] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874257550] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280485763923] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434249084] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088362460] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767527019] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606029146] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280447108287] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682019066] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280867396751] runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279308755150] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279812377550] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675032479] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226875017] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280358916122] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281037742969] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176705961] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279554901759] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279764153725] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073968648] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280733470900] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813541205] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457237452] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280265464947] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280160986516] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435029922] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279937387561] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048805868] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281287356487] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281065262873] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279954765293] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199036611] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183244137] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911190308] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857537684] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280689254056] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596194302] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161809583] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279827638632] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015952510] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281185563624] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280860918399] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281131641389] runtime: 0.0526ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a72773533122bdd0000'), "name"=>"Eulalia Emmerich II", "reference"=>"Pierre Hahn", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3215ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1964ms Completed 200 OK in 6ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bde0000'), "name"=>"Dr. Opal Haley", "reference"=>"Mrs. Krystal Abshire", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280239032351] runtime: 0.0790ms Completed 200 OK in 5ms (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('54902a73773533122bdf0000'), "name"=>"Dr. Gonzalo Gibson", "reference"=>"Stephania Cartwright", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902a73773533122bdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms 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('54902a73773533122be00000'), "name"=>"Brandy Greenfelder", "reference"=>"Quinton Murray", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be20000'), "name"=>"Johan Rau", "reference"=>"Savanna Haley", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902a73773533122be20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122be20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be30000'), "name"=>"Agustina Dicki", "reference"=>"Desiree Smitham V", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3588ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54902a71773533122b060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=-1 Completed 302 Found in 5ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be40000'), "name"=>"Destiny Ortiz", "reference"=>"Miss Ewell Thiel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2560ms Completed 200 OK in 7ms (Views: 4.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be50000'), "name"=>"Vella Mueller", "reference"=>"Clark Mitchell", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4811ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4108ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3463ms Completed 200 OK in 6ms (Views: 3.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be60000'), "name"=>"Miss Burnice Fay", "reference"=>"Miss Ansel Parker", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.1143ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2703ms 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('54902a73773533122be70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2084ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122be80000'), "name"=>"Violette Huels", "reference"=>"Norma Franecki", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902a73773533122be80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122be80000')} 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('54902a73773533122be80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms 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('54902a73773533122be90000'), "name"=>"Devon Graham", "reference"=>"Clint Hammes", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms 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('54902a73773533122beb0000'), "name"=>"Alfreda Ondricka", "reference"=>"Dannie Kreiger", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a73773533122beb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122beb0000')} 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('54902a73773533122beb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms 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('54902a73773533122bec0000'), "name"=>"Robert Ankunding", "reference"=>"Cyrus Bashirian Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a73773533122bec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Redirected to http://test.host/products/54902a73773533122bec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bef0000'), "name"=>"Elna Sauer", "reference"=>"Felicity Grady", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bed0000'), "author_name"=>"Bryce Schroeder", "content"=>["Consequatur sit occaecati ex est quis. Cumque delectus quaerat omnis nesciunt neque autem aut. Enim quos ut harum vel ea cum. Et repellat sint hic maiores. Rerum numquam dicta."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bee0000'), "author_name"=>"Ms. Maudie Walker", "content"=>["Nemo dolores ut culpa quia rerum voluptatem libero. Assumenda ducimus ab asperiores ipsa quibusdam. Tempore et omnis. Et dolorem cum. Placeat et et sunt voluptatum et libero veritatis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a73773533122bef0000", "comment_id"=>"54902a73773533122bed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bef0000'), "comments._id"=>BSON::ObjectId('54902a73773533122bed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a73773533122bf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6548ms Redirected to http://test.host/products/54902a73773533122bef0000/comments/54902a73773533122bed0000/comments/54902a73773533122bf00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bf30000'), "name"=>"Gust Cormier III", "reference"=>"Meta Breitenberg", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf10000'), "author_name"=>"Kaya McCullough", "content"=>["Explicabo odit tempora voluptatem quos at possimus fugiat. Et accusantium necessitatibus ipsum voluptas perspiciatis sit nihil. Exercitationem inventore qui quo unde."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf20000'), "author_name"=>"Kariane Sawayn", "content"=>["Ea earum tempore ipsa veniam aut ex alias. Est dolores enim voluptatibus vel blanditiis. Dolor quia enim facere qui omnis minima. Sunt reiciendis accusantium nisi et occaecati est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902a73773533122bf30000", "comment_id"=>"54902a73773533122bf10000", "id"=>"54902a73773533122bf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf30000'), "comments._id"=>BSON::ObjectId('54902a73773533122bf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a73773533122bf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6137ms Redirected to http://test.host/products/54902a73773533122bf30000/comments/54902a73773533122bf10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bf60000'), "name"=>"Daphnee Gutkowski", "reference"=>"Christa Reilly", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf40000'), "author_name"=>"Fredrick Legros", "content"=>["Doloribus repudiandae laboriosam et nesciunt dolorum. Incidunt ipsum rerum nobis fugit quasi non consequatur. Cumque maxime occaecati ut doloribus sed molestias."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf50000'), "author_name"=>"Chyna Casper", "content"=>["Ratione fugiat pariatur. Quis iste consectetur modi natus maiores voluptas veritatis. Eaque vel excepturi sint culpa similique inventore beatae. Maxime corrupti quia qui in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902a73773533122bf60000", "comment_id"=>"54902a73773533122bf40000", "id"=>"54902a73773533122bf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bf90000'), "name"=>"Robyn Bernhard", "reference"=>"Millie Sporer", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf70000'), "author_name"=>"Henriette Kshlerin Jr.", "content"=>["Quo voluptas iusto labore autem ea ipsam assumenda. Impedit ut ad quo quidem itaque. Fugiat a non qui velit enim. Vitae sunt praesentium ex reiciendis error. Tempore possimus et maxime esse commodi aut saepe."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bf80000'), "author_name"=>"Osbaldo Hansen I", "content"=>["Earum nesciunt sapiente voluptatibus odit et laudantium. Consequuntur molestiae ipsam similique quasi officiis veritatis. Consequuntur aliquid distinctio temporibus nisi ad qui eaque. Molestiae quibusdam voluptas voluptas est quia corporis. Qui dolore natus et sit ea harum asperiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902a73773533122bf90000", "comment_id"=>"54902a73773533122bf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bfc0000'), "name"=>"Wallace Hane", "reference"=>"Miss Ozella King", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bfa0000'), "author_name"=>"Miss Aurelie Thompson", "content"=>["Voluptas sit ut. Repellendus expedita rerum in odio fuga qui et. Earum corrupti beatae a totam rem dolor. Voluptatem incidunt et. Nihil at commodi corporis asperiores natus."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bfb0000'), "author_name"=>"Diego Wintheiser", "content"=>["Dicta rem aut. Ut repudiandae consequatur eos. Eveniet qui adipisci corporis et veniam officia quisquam. Aut sint quam laboriosam consequatur. Tempore eaque voluptate rerum libero veritatis exercitationem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902a73773533122bfc0000", "comment_id"=>"54902a73773533122bfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122bff0000'), "name"=>"Susan Will", "reference"=>"Leland Smitham", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bfd0000'), "author_name"=>"Ashleigh Homenick", "content"=>["Iure officia voluptas aut omnis. Aut praesentium alias. Vel quos ex adipisci consequatur laboriosam molestias cum."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122bfe0000'), "author_name"=>"Carlo Rempel", "content"=>["Est labore qui dolores eum cupiditate quo. A earum incidunt quod nihil qui. Fugit culpa rerum eum hic minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902a73773533122bff0000", "comment_id"=>"54902a73773533122bfd0000", "id"=>"54902a73773533122bfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122bff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3585ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122b020100'), "name"=>"Miss Norris Cummings", "reference"=>"Grant DuBuque", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b000100'), "author_name"=>"Rosalinda Sipes", "content"=>["Repellat et asperiores sequi mollitia. Ea quam quae excepturi. Nisi qui qui suscipit dolor fugiat ut."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b010100'), "author_name"=>"Jasen Balistreri", "content"=>["Minima maxime asperiores et. Eveniet aut perferendis quas rerum et sit. Ipsa quia culpa minima eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2316ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902a73773533122b020100", "comment_id"=>"54902a73773533122b000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122b020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122b050100'), "name"=>"Miss Austin Treutel", "reference"=>"Miss Ottis Raynor", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b030100'), "author_name"=>"Natalie Wisozk", "content"=>["Ea minima cumque et ut beatae officiis. Quas nihil atque in amet hic est labore. Numquam debitis sed neque excepturi fuga perferendis. Officia asperiores quia. Dolorem ut quis et aliquam deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b040100'), "author_name"=>"Hortense Flatley", "content"=>["Explicabo odit libero nostrum aut voluptates tempore. Velit vero fugit commodi ex. Eligendi delectus quam consequuntur aut rerum excepturi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6042ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902a73773533122b050100", "comment_id"=>"54902a73773533122b030100", "id"=>"54902a73773533122b040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122b050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3517ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) Completed 200 OK in 6ms (Views: 3.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a73773533122b080100'), "name"=>"Lula Schiller", "reference"=>"Elvis O'Hara", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b060100'), "author_name"=>"Jerod Moore", "content"=>["Nemo voluptatibus qui non reprehenderit quia. Ut sed explicabo. Occaecati cupiditate dolore corporis."], "comments"=>[{"_id"=>BSON::ObjectId('54902a73773533122b070100'), "author_name"=>"Claire Spencer", "content"=>["Quaerat magnam voluptatibus deserunt ab qui illum veritatis. Cum facilis sunt. Velit inventore est ut est praesentium cumque. Necessitatibus vitae reiciendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a73773533122b070100", "product_id"=>"54902a73773533122b080100", "comment_id"=>"54902a73773533122b060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122b080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a73773533122b080100'), "comments._id"=>BSON::ObjectId('54902a73773533122b060100'), "comments.0.comments._id"=>BSON::ObjectId('54902a73773533122b070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7808ms Redirected to http://test.host/products/54902a73773533122b080100/comments/54902a73773533122b060100/comments/54902a73773533122b070100 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('54902a73773533122b090100'), "firstname"=>"Trystan", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5693ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2868ms 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('54902a73773533122b0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms Redirected to http://test.host/users/54902a73773533122b0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2586ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a73773533122b0b0100'), "firstname"=>"Nathan", "lastname"=>"Wunsch"}] 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.2239ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902a73773533122b0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a73773533122b0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a73773533122b0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms 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.1757ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a73773533122b0c0100'), "firstname"=>"Shea", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902a73773533122b0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a73773533122b0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms Rendered /home/geoffroy/projects/crealettres/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('54902a73773533122b0d0100'), "firstname"=>"Lorna", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms 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.2907ms Completed 200 OK in 8ms (Views: 7.5ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a73773533122b0e0100'), "firstname"=>"Mattie", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902a73773533122b0f0100'), "firstname"=>"Forest", "lastname"=>"Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902a73773533122b0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a73773533122b0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a73773533122b100100'), "firstname"=>"Gerson", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902a73773533122b100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a73773533122b100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms Unpermitted parameters: name Redirected to http://test.host/users/54902a73773533122b100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5442ms 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.5532ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8886ms 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.5174ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0828ms 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.5068ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264000000'), "firstname"=>"Boyd", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2277ms 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('54902a8e7735331264010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms 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.2838ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264020000'), "firstname"=>"Clair", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902a8e7735331264020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8e7735331264020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264030000'), "firstname"=>"Grace", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.4509ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264040000'), "firstname"=>"Madie", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5505ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902a8e7735331264040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8e7735331264040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264050000'), "firstname"=>"Yoshiko", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902a8e7735331264050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8e7735331264050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms 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('54902a8e7735331264060000'), "name"=>"Audra Jenkins", "reference"=>"Thelma Medhurst", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e7735331264070000'), "author_name"=>"Dillon Funk", "content"=>["Nesciunt eligendi quia ipsum unde ratione. Ut est nemo rerum reiciendis explicabo officia voluptates. Quia ut aut excepturi facilis ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3919ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a8e7735331264060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4641ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a8e7735331264080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5763ms Redirected to http://test.host/admin/products/54902a8e7735331264060000/comments/54902a8e7735331264080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264090000'), "name"=>"Alanis Sawayn", "reference"=>"Dianna Crooks", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e77353312640a0000'), "author_name"=>"Jarrett Sanford", "content"=>["Non eum sed modi cupiditate ea. Consequatur dignissimos voluptatem. Cum voluptatem inventore officia error est voluptas. Inventore culpa minima in. Quia vero doloremque sit ea velit veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a8e7735331264090000", "id"=>"54902a8e77353312640a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264090000')} 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('54902a8e7735331264090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a8e77353312640a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Redirected to http://test.host/admin/products/54902a8e7735331264090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312640b0000'), "name"=>"Sigurd Jaskolski I", "reference"=>"Mr. Sierra Purdy", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e77353312640c0000'), "author_name"=>"Skyla Mohr", "content"=>["Omnis enim qui qui voluptas. Ea suscipit dicta est quo. Sint voluptatem voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7463ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902a8e77353312640b0000", "id"=>"54902a8e77353312640c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312640b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4535ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312640d0000'), "name"=>"Santina Pacocha", "reference"=>"Luciano Bartoletti", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e77353312640e0000'), "author_name"=>"Allene Treutel IV", "content"=>["Ut quae harum non. Reprehenderit eligendi debitis sit sit. Ut voluptatem inventore dolore. Voluptatem nam explicabo ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6322ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902a8e77353312640d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312640d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3974ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312640f0000'), "name"=>"Mrs. Cara Purdy", "reference"=>"Dr. Camille Kshlerin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e7735331264100000'), "author_name"=>"Makayla Hyatt", "content"=>["Nihil aut ipsam nostrum. Incidunt sapiente expedita nisi et. Reiciendis fuga dolor optio qui nisi aut ratione. Doloribus iure saepe omnis. Quia in illo libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5991ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902a8e77353312640f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312640f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264110000'), "name"=>"Sonny Marks", "reference"=>"Camille Russel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e7735331264120000'), "author_name"=>"Alysson Jacobs DDS", "content"=>["Eos eaque et quas facilis numquam. Culpa iure similique libero. Animi non aut iste unde. Occaecati similique quod. Aliquid labore enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6038ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902a8e7735331264110000", "id"=>"54902a8e7735331264120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4033ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264130000'), "name"=>"Dr. Jerome Boyer", "reference"=>"Reva Steuber", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a8e7735331264140000'), "author_name"=>"Orland Osinski MD", "content"=>["Aut ab ut. Numquam aut ut nam. Ut id harum ipsam esse. Et quisquam aperiam commodi odio consequuntur enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5877ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a8e7735331264140000", "product_id"=>"54902a8e7735331264130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264130000'), "comments._id"=>BSON::ObjectId('54902a8e7735331264140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6828ms Redirected to http://test.host/admin/products/54902a8e7735331264130000/comments/54902a8e7735331264140000 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('54902a8e7735331264150000'), "name"=>"Carmel Kautzer", "reference"=>"Brenden Marks", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902a8e7735331264160000'), "firstname"=>"Madison", "lastname"=>"Thiel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5853ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a8e7735331264150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a8e7735331264170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms Redirected to http://test.host/admin/products/54902a8e7735331264150000/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('54902a8e7735331264180000'), "name"=>"Pamela Skiles", "reference"=>"Holden O'Reilly", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902a8e7735331264190000'), "firstname"=>"Candelario", "lastname"=>"Keeling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902a8e7735331264190000", "product_id"=>"54902a8e7735331264180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312641a0000'), "name"=>"Wendell Jacobi", "reference"=>"Amaya Schroeder", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902a8e77353312641b0000'), "firstname"=>"Zane", "lastname"=>"Stiedemann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902a8e77353312641a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312641a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312641c0000'), "name"=>"Mr. Kane Dickens", "reference"=>"Lacy Wolf", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902a8e77353312641d0000'), "firstname"=>"Kara", "lastname"=>"Stokes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902a8e77353312641d0000", "product_id"=>"54902a8e77353312641c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312641c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e77353312641e0000'), "name"=>"Winnifred Heathcote", "reference"=>"Brenden Pollich MD", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902a8e77353312641f0000'), "firstname"=>"Thelma", "lastname"=>"Pacocha"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5608ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902a8e77353312641f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a8e77353312641e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e77353312641e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902a8e77353312641e0000/manager 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('54902a8e7735331264200000'), "name"=>"Myrtice Kiehn", "reference"=>"Mr. Anika O'Hara", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1905ms 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('54902a8e7735331264210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Redirected to http://test.host/admin/products/54902a8e7735331264210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2659ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264220000'), "name"=>"Margarita Thiel", "reference"=>"Miss Werner Dietrich", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.2334ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902a8e7735331264220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264220000')} 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={"_id"=>BSON::ObjectId('54902a8e7735331264220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms 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.2050ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264230000'), "name"=>"Danial Hilpert", "reference"=>"Mr. Citlalli Graham", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902a8e7735331264230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264240000'), "name"=>"Juwan Swaniawski IV", "reference"=>"Deon Schuppe DVM", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5682ms 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.5396ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264250000'), "name"=>"Morris Johnson", "reference"=>"Novella Ziemann DDS", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264280000'), "name"=>"Milan Cronin PhD", "reference"=>"Abdiel Kuhic", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902a8e7735331264280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8e7735331264290000'), "name"=>"Isai Stanton II", "reference"=>"Jordy Borer PhD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a8e7735331264290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Redirected to http://test.host/admin/products/54902a8e7735331264290000 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('54902a8e77353312642a0000'), "firstname"=>"Roxane", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms 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('54902a8e77353312642b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Redirected to http://test.host/admin/users/54902a8e77353312642b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a8e77353312642c0000'), "firstname"=>"Nettie", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1782ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902a8e77353312642c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a8e77353312642c0000')} 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('54902a8e77353312642c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms 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.1997ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a8e77353312642d0000'), "firstname"=>"Dasia", "lastname"=>"Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902a8e77353312642d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a8e77353312642d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a8e77353312642e0000'), "firstname"=>"Cleora", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms 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.3231ms Completed 200 OK in 6ms (Views: 5.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a8e77353312642f0000'), "firstname"=>"Kaycee", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (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('54902a8e7735331264300000'), "firstname"=>"Elva", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902a8e7735331264300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a8e7735331264300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 7ms (Views: 4.5ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264310000'), "firstname"=>"Amaya", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902a8f7735331264310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a8f7735331264310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902a8f7735331264310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264320000'), "firstname"=>"Arvel", "lastname"=>"Krajcik"}] 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=>"administrators", :query=>{}} runtime: 0.1535ms 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('54902a8f7735331264330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9266ms Redirected to http://test.host/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2831ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264340000'), "firstname"=>"Heloise", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902a8f7735331264340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8f7735331264340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264350000'), "firstname"=>"Robb", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264360000'), "firstname"=>"Hassan", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902a8f7735331264360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8f7735331264360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264370000'), "firstname"=>"Ludie", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902a8f7735331264370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902a8f7735331264370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264380000'), "name"=>"Jeanette Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264390000'), "name"=>"Francisca Windler DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643a0000'), "name"=>"Webster Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643b0000'), "name"=>"Mrs. Carlie Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643c0000'), "name"=>"Alva Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643d0000'), "name"=>"Holly McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643e0000'), "name"=>"Ms. William Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312643f0000'), "name"=>"Hailey Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312643f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264400000'), "name"=>"Carmine Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264410000'), "name"=>"Ms. Janelle Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264420000'), "name"=>"Mrs. Oma Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264430000'), "name"=>"Delia Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264440000'), "name"=>"Liliane Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264450000'), "name"=>"Micaela Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264460000'), "name"=>"Ms. Louie Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264470000'), "name"=>"Shane Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264480000'), "name"=>"Darius Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264490000'), "name"=>"Everette Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644a0000'), "name"=>"Jadyn Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644b0000'), "name"=>"Randy Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644c0000'), "name"=>"Missouri Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644d0000'), "name"=>"Einar Keebler DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644e0000'), "name"=>"Vivianne Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312644f0000'), "name"=>"Deangelo Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312644f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264500000'), "name"=>"Juliet Hammes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264510000'), "name"=>"Thelma Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264520000'), "name"=>"Carissa Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264530000'), "name"=>"Colton Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264540000'), "name"=>"Gabrielle Feest V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264550000'), "name"=>"Anne Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264560000'), "name"=>"Ms. Marcus Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264570000'), "name"=>"Brendan Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264580000'), "name"=>"Markus Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264590000'), "name"=>"Miss Destiny Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645a0000'), "name"=>"George Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645b0000'), "name"=>"Tracy Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645c0000'), "name"=>"Jacques Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645d0000'), "name"=>"Mr. Alysa Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645e0000'), "name"=>"Arne Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312645f0000'), "name"=>"Abigayle Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312645f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264600000'), "name"=>"Lucie Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264610000'), "name"=>"Corrine Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264620000'), "name"=>"Dannie Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264630000'), "name"=>"Verdie Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264640000'), "name"=>"Jeffrey Larkin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264650000'), "name"=>"Hugh Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264660000'), "name"=>"Paul Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264670000'), "name"=>"Lewis Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264680000'), "name"=>"Mr. Wilhelmine Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264690000'), "name"=>"Edgar Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646a0000'), "name"=>"Fritz Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646b0000'), "name"=>"Earnestine Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646c0000'), "name"=>"Aliyah Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646d0000'), "name"=>"Collin Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646e0000'), "name"=>"Torey Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312646f0000'), "name"=>"Rossie Trantow I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312646f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264700000'), "name"=>"Raven Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264710000'), "name"=>"Howell Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264720000'), "name"=>"Malika Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264730000'), "name"=>"Kiarra Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264740000'), "name"=>"Ofelia Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264750000'), "name"=>"Malvina Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264760000'), "name"=>"Darien Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264770000'), "name"=>"Chase Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264780000'), "name"=>"Albin O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264790000'), "name"=>"Abel Rowe II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647a0000'), "name"=>"Rory Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312647a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647b0000'), "name"=>"Laisha Zulauf V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312647b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647c0000'), "name"=>"Anastacio Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312647c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647d0000'), "name"=>"Jackson Bradtke I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312647d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647e0000'), "name"=>"Jaren Kessler"}] 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={"category_id"=>BSON::ObjectId('54902a8f77353312647e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312647f0000'), "name"=>"Delphine Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312647f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264800000'), "name"=>"Broderick McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264810000'), "name"=>"Jerome Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264820000'), "name"=>"Dr. Casper Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264830000'), "name"=>"Allan Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264840000'), "name"=>"Dalton Parker IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264850000'), "name"=>"Melvin Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264860000'), "name"=>"Aracely Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264870000'), "name"=>"Mitchel Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264880000'), "name"=>"Oren Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264890000'), "name"=>"Cleveland Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648a0000'), "name"=>"Obie Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648b0000'), "name"=>"Ova Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648c0000'), "name"=>"Haskell Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648d0000'), "name"=>"Camren Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648e0000'), "name"=>"Ms. Percival Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1939ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312648f0000'), "name"=>"Mrs. Elinor Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312648f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264900000'), "name"=>"Delphine Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264910000'), "name"=>"Veda Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264920000'), "name"=>"Dr. Dejon Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264930000'), "name"=>"Ms. Tomasa Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264940000'), "name"=>"Raquel Rolfson Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264950000'), "name"=>"Brendan Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264960000'), "name"=>"Chanelle Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264970000'), "name"=>"Janae Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2474ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Redirected to http://test.host/categories/54902a8f7735331264980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2470ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264990000'), "name"=>"Mrs. Gerald Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2324ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902a8f7735331264990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f7735331264990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f7735331264990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2405ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312649a0000'), "name"=>"Susana Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902a8f77353312649a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f77353312649a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4133ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 10ms (Views: 9.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312649b0000'), "name"=>"Aubree Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306782192780] runtime: 0.0959ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2574ms Completed 200 OK in 16ms (Views: 15.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312649c0000'), "name"=>"Daija Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307049767298] runtime: 0.0702ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2298ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312649d0000'), "name"=>"Ms. Jerrold Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f77353312649f0000'), "name"=>"Jermain Carter"}] 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={"category_id"=>BSON::ObjectId('54902a8f77353312649f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902a8f77353312649f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f77353312649f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f77353312649f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264a00000'), "name"=>"Madalyn Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902a8f7735331264a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902a8f7735331264a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f7735331264a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902a8f7735331264a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('54902a8f7735331264a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms Redirected to http://test.host/categories/54902a8f7735331264a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264a10000'), "name"=>"Brennon Witting", "reference"=>"Dr. Gabriel Champlin", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264a20000'), "author_name"=>"Glennie Gibson", "content"=>["Explicabo nisi recusandae a vel provident quia quibusdam. Nesciunt porro voluptatem sequi. Est aut maxime ad ratione. Officia nemo ab recusandae delectus id. Laboriosam dolores adipisci vel aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a8f7735331264a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a8f7735331264a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Redirected to http://test.host/products/54902a8f7735331264a10000/comments/54902a8f7735331264a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264a40000'), "name"=>"Rene Blanda", "reference"=>"Idella Stracke", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264a50000'), "author_name"=>"Birdie Borer", "content"=>["Laborum minus placeat eum consequatur omnis. Dolores id et hic et optio eos. Cumque quam sapiente odio et. Dolor optio ut rem nobis qui voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902a8f7735331264a40000", "id"=>"54902a8f7735331264a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902a8f7735331264a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Redirected to http://test.host/products/54902a8f7735331264a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264a60000'), "name"=>"Tiffany Brown", "reference"=>"Gino Parisian", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264a70000'), "author_name"=>"Fritz Effertz", "content"=>["Non adipisci id aut vel non doloribus iure. Fugiat similique sunt facilis. Quo quaerat est rerum possimus rerum enim autem. Laboriosam nobis rerum nisi quos. At eligendi et culpa officia est ut incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902a8f7735331264a60000", "id"=>"54902a8f7735331264a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264a80000'), "name"=>"Mr. Toni Grady", "reference"=>"Quincy Hayes", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264a90000'), "author_name"=>"Miss Thea Nitzsche", "content"=>["Et perferendis aliquam mollitia. Nemo culpa tenetur quae modi veritatis sed magnam. Voluptate modi deserunt. Dolorum quidem at et explicabo quia. Est velit labore iste a aspernatur molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6080ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902a8f7735331264a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4062ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264aa0000'), "name"=>"Kamille Heidenreich", "reference"=>"Alvah Hammes I", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264ab0000'), "author_name"=>"Gussie Gottlieb", "content"=>["Corporis cum enim dolorem et illo. Cumque alias id et. Veritatis possimus dolor qui exercitationem. Iure accusantium amet exercitationem explicabo impedit quae. Cumque architecto et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6233ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902a8f7735331264aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4183ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264ac0000'), "name"=>"Joanne Moore", "reference"=>"Melyssa Effertz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264ad0000'), "author_name"=>"Ilene Jaskolski", "content"=>["Quis magni ut voluptatem voluptatem eaque voluptatibus perspiciatis. Qui omnis facere voluptas enim vitae. Nam eligendi sint tenetur exercitationem dolor natus mollitia. Provident in sit eum ut libero et. Deleniti reiciendis inventore qui dolorum dolores quod eveniet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5606ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902a8f7735331264ac0000", "id"=>"54902a8f7735331264ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264ae0000'), "name"=>"Ilene Rolfson", "reference"=>"Ernie Lakin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264af0000'), "author_name"=>"Electa Skiles", "content"=>["Sed iste non. Molestiae totam rem. Velit et a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902a8f7735331264ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264b00000'), "name"=>"Mrs. Ayana Johns", "reference"=>"Kendra Kuhlman", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264b10000'), "author_name"=>"Dashawn Roob II", "content"=>["Blanditiis et consectetur voluptatem praesentium nostrum. Hic veritatis incidunt nostrum aperiam sint. Commodi vitae veniam magni qui perferendis molestias. Et tempora adipisci suscipit perspiciatis porro odio provident. Non aut a quia rerum rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902a8f7735331264b00000", "id"=>"54902a8f7735331264b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264b20000'), "name"=>"Allan Schamberger", "reference"=>"Rae Maggio", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a8f7735331264b30000'), "author_name"=>"Jose Christiansen", "content"=>["Eligendi dolore nisi fuga quaerat deserunt accusantium. Facere quia cum. Delectus suscipit ea officiis aperiam. Doloribus sed alias optio aspernatur dolorum pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a8f7735331264b30000", "product_id"=>"54902a8f7735331264b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264b20000'), "comments._id"=>BSON::ObjectId('54902a8f7735331264b30000')} 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/54902a8f7735331264b20000/comments/54902a8f7735331264b30000 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('54902a8f7735331264b40000'), "firstname"=>"Hosea", "lastname"=>"Weissnat"}] 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=>"clients", :query=>{}} runtime: 0.1631ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms Redirected to http://test.host/admin/clients/54902a8f7735331264b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1817ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264b60000'), "firstname"=>"Kellen", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1583ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a8f7735331264b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264b60000')} 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('54902a8f7735331264b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms 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.1681ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264b70000'), "firstname"=>"Judd", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a8f7735331264b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('54902a8f7735331264b80000'), "firstname"=>"Allie", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms 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('54902a8f7735331264b90000'), "firstname"=>"Gayle", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902a8f7735331264ba0000'), "firstname"=>"Ulices", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a8f7735331264ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902a8f7735331264bb0000'), "firstname"=>"Grady", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902a8f7735331264bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264bb0000')} 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('54902a8f7735331264bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms Redirected to http://test.host/admin/clients/54902a8f7735331264bb0000 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('54902a8f7735331264bc0000'), "firstname"=>"Cara", "lastname"=>"Greenfelder"}] 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=>"clients", :query=>{}} runtime: 0.2024ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Redirected to http://test.host/clients/54902a8f7735331264bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2470ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264be0000'), "firstname"=>"Anya", "lastname"=>"Wilderman"}] 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=>"clients", :query=>{}} runtime: 0.1579ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902a8f7735331264be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms 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.2509ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264bf0000'), "firstname"=>"Alena", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902a8f7735331264bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms Rendered /home/geoffroy/projects/crealettres/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('54902a8f7735331264c00000'), "firstname"=>"Gertrude", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms 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('54902a8f7735331264c10000'), "firstname"=>"Adolf", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902a8f7735331264c20000'), "firstname"=>"Gail", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902a8f7735331264c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264c30000'), "firstname"=>"Keith", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902a8f7735331264c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902a8f7735331264c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms Redirected to http://test.host/clients/54902a8f7735331264c30000 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('54902a8f7735331264c40000'), "name"=>"Araceli O'Kon", "reference"=>"Ms. Daphnee Pfannerstill", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264c50000'), "firstname"=>"Jonathan", "lastname"=>"Roob"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902a8f7735331264c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3689ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms Redirected to http://test.host/products/54902a8f7735331264c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264c70000'), "name"=>"Yadira Fritsch", "reference"=>"Jovan Cassin", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264c80000'), "firstname"=>"Craig", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902a8f7735331264c80000", "product_id"=>"54902a8f7735331264c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264c90000'), "name"=>"Zachery Russel", "reference"=>"Dora D'Amore", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264ca0000'), "firstname"=>"Sarah", "lastname"=>"Wintheiser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902a8f7735331264c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264cb0000'), "name"=>"Kenyon Corkery", "reference"=>"Lincoln Willms", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264cc0000'), "firstname"=>"Gayle", "lastname"=>"Brakus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902a8f7735331264cc0000", "product_id"=>"54902a8f7735331264cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264cd0000'), "name"=>"Leann Bode", "reference"=>"Harley Vandervort", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902a8f7735331264ce0000'), "firstname"=>"Damian", "lastname"=>"Witting"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902a8f7735331264ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902a8f7735331264cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms Unpermitted parameters: name Redirected to http://test.host/products/54902a8f7735331264cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264cf0000'), "name"=>"Theo Erdman", "reference"=>"Ewald Erdman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d00000'), "name"=>"Bridie Becker", "reference"=>"Carolina Simonis", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d10000'), "name"=>"Mrs. Kattie Stroman", "reference"=>"Tania Stehr", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d20000'), "name"=>"Tyreek Bartell PhD", "reference"=>"Maybelle Rutherford", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d30000'), "name"=>"Yesenia Stehr", "reference"=>"Roscoe VonRueden", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d40000'), "name"=>"Dallin Fadel", "reference"=>"Larue O'Kon", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3851ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0399ms Redirected to http://test.host/products/54902a8f7735331264d50000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2814ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d60000'), "name"=>"Mrs. Myrl Moore", "reference"=>"Don Miller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2405ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902a8f7735331264d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms 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.2477ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d70000'), "name"=>"Kaden Strosin V", "reference"=>"Henriette Nicolas", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902a8f7735331264d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8f7735331264d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54902a8f7735331264d80000'), "name"=>"Dr. Randall Dibbert", "reference"=>"Violette Hodkiewicz V", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410529397] runtime: 0.1179ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2601ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264d90000'), "name"=>"Tyrique Denesik", "reference"=>"Selena Brakus", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264da0000'), "name"=>"HelloWorld", "reference"=>"Miss Xander Moore", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264db0000'), "name"=>"value", "reference"=>"Lenora Collier", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2923ms Completed 200 OK in 6ms (Views: 5.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2679ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2749ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a8f7735331264dc0000'), "name"=>"Wellington Reinger", "reference"=>"Dr. Mac Lockman", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281205842357] runtime: 0.1054ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2650ms Completed 200 OK in 16ms (Views: 15.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279421009343] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571363529] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433854763] runtime: 0.0989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279503378022] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280461309546] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280148027954] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315215165] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279988507647] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776217888] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634197334] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532638801] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090376555] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280658779093] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280344542746] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771402219] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959716948] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280332533602] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280494882613] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279363351184] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947797505] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279787088309] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366242180] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279920554646] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644416547] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279811422612] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279605553278] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280505036243] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151036462] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279851714782] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280795487350] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555124230] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742680029] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280319756165] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280847513556] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981051700] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280684266127] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279203432039] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614881758] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125601742] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280809453495] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407666335] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902784625] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282466558] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281279226737] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281231157763] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280740168483] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280008720466] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279967398642] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279754339304] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841808005] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281214343868] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281099514769] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500044560] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036124371] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112718267] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279249229713] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556122281] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281236936734] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 37.2946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280851720188] runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312106864] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750442622] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279668059208] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428728515] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838759774] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279230485873] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279198849272] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423823892] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090166529] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466004536] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948509434] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167896761] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279814465448] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310138125] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279238334050] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280115630799] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279424070342] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281143481863] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248027917] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390981866] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280173716302] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279604842259] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342670538] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279296920125] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204308044] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675909299] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693888884] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280214772106] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280198064065] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279215166205] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011001972] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265244166] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908664190] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280503298519] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750048880] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870650510] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481033899] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914621650] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280107322398] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280202698260] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387576485] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648284447] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365901699] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280114738073] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280367140338] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280930761737] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945695191] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451207168] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281107367145] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746992637] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279498758604] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279946721905] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935572503] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018196981] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342545548] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280979206713] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279567972409] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279995426316] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069347076] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279398092842] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309064398] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176494702] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162090160] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280572859908] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492373368] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771666272] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908124037] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279572575437] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165024634] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281135751788] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124194395] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280368714012] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710388883] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280555452604] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349958028] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281139882544] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639356238] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279348102419] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281054647204] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370160187] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281318362510] runtime: 25.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243949628] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124228012] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737926913] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280553877831] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477110359] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279954604461] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281308811122] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280536306581] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372025410] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279586501565] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601879940] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280955010008] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924537859] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438630440] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280208250105] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816160620] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280440641293] runtime: 0.0397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281058477823] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279290070358] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279382598410] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186320232] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280991391717] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175028170] runtime: 0.0420ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264dd0000'), "name"=>"Aurore Hoppe", "reference"=>"Rahul Hermann", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1342ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264de0000'), "name"=>"Katharina Abshire II", "reference"=>"Jacynthe Wintheiser", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281232512089] runtime: 0.0934ms Completed 200 OK in 5ms (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('54902a907735331264df0000'), "name"=>"Marcella Lockman", "reference"=>"Coby Renner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902a907735331264df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms 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('54902a907735331264e00000'), "name"=>"Everett Hermiston", "reference"=>"Mrs. Marta Wuckert", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54902a907735331264e20000'), "name"=>"Mr. Elenor Jacobson", "reference"=>"Magnolia Crooks", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902a907735331264e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264e30000'), "name"=>"Kenneth Kunze", "reference"=>"Cathrine Gerlach", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>""}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2029ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a8e7735331264060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=-1 Completed 302 Found in 5ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264e40000'), "name"=>"Mr. Johanna Parisian", "reference"=>"Vella Treutel Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2548ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Completed 200 OK in 6ms (Views: 4.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264e50000'), "name"=>"Alanis Kiehn", "reference"=>"Dr. Parker Hahn", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2041ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264e60000'), "name"=>"Gregoria Nader", "reference"=>"Henderson Kutch", "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.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('54902a907735331264e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1991ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264e80000'), "name"=>"Kayli Cartwright", "reference"=>"Beverly Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902a907735331264e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms 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('54902a907735331264e90000'), "name"=>"Jennie Crist", "reference"=>"Jameson Gislason II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.1170ms 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('54902a907735331264eb0000'), "name"=>"Torrey Schmidt", "reference"=>"Elliot Lakin Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4954ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a907735331264eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4950ms 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('54902a907735331264ec0000'), "name"=>"Megane Hagenes", "reference"=>"Green Zboncak", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902a907735331264ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms Redirected to http://test.host/products/54902a907735331264ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264ef0000'), "name"=>"Bertha Koelpin PhD", "reference"=>"Mr. Sheldon Erdman", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264ed0000'), "author_name"=>"Blake McLaughlin", "content"=>["Recusandae illum accusamus accusantium dicta architecto et nulla. Dolore qui reprehenderit id tenetur. Saepe reiciendis aut aliquid labore odio minus. Amet ex enim aliquam vel autem. Rerum distinctio nobis ipsum et."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264ee0000'), "author_name"=>"Nicola Reilly", "content"=>["Tenetur quia occaecati laboriosam tempore ab. Vitae enim in. Excepturi a tempora dolores maxime. Quo ab pariatur et earum totam. Vel harum unde ut odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902a907735331264ef0000", "comment_id"=>"54902a907735331264ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4207ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ef0000'), "comments._id"=>BSON::ObjectId('54902a907735331264ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a907735331264f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5594ms Redirected to http://test.host/products/54902a907735331264ef0000/comments/54902a907735331264ed0000/comments/54902a907735331264f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264f30000'), "name"=>"King Mohr", "reference"=>"Mrs. Elissa Bauch", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f10000'), "author_name"=>"Napoleon Harris IV", "content"=>["Quia ipsum illo. Asperiores temporibus quia autem aut culpa quia. Vel repudiandae consequatur quia ab sequi cumque. Dicta quos quo suscipit voluptas enim aliquid. Harum quas et sapiente exercitationem."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f20000'), "author_name"=>"Cyrus Haag Sr.", "content"=>["Sunt eius nesciunt quia vitae. Cumque perspiciatis sint et neque odit quo. Modi recusandae enim accusantium magni. Ut voluptatibus aliquid labore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902a907735331264f30000", "comment_id"=>"54902a907735331264f10000", "id"=>"54902a907735331264f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f30000'), "comments._id"=>BSON::ObjectId('54902a907735331264f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902a907735331264f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Redirected to http://test.host/products/54902a907735331264f30000/comments/54902a907735331264f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264f60000'), "name"=>"Rosamond Torphy", "reference"=>"Dennis Mueller Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f40000'), "author_name"=>"Annabell Parker", "content"=>["Eum quis voluptate. Et tempora hic eos assumenda in rerum. Delectus laudantium deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f50000'), "author_name"=>"Urban Walter", "content"=>["Maiores inventore et. Voluptate quidem omnis consequatur occaecati omnis labore. Illo architecto assumenda optio. Expedita quidem neque sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902a907735331264f60000", "comment_id"=>"54902a907735331264f40000", "id"=>"54902a907735331264f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264f90000'), "name"=>"Lina Blick", "reference"=>"Favian Schamberger", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f70000'), "author_name"=>"Ms. Conrad Windler", "content"=>["Animi neque vero ipsum et modi in quidem. Quam vel voluptatem voluptatem est. Qui et deserunt modi exercitationem voluptatibus. Illo qui tenetur labore atque impedit voluptates. Dicta fuga quis fugiat illum nemo."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264f80000'), "author_name"=>"Audie Schoen", "content"=>["Quia ut rem dignissimos voluptas praesentium. Voluptas voluptatibus dolor illum voluptates et aut. Error assumenda reprehenderit tempora sed culpa soluta repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902a907735331264f90000", "comment_id"=>"54902a907735331264f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264fc0000'), "name"=>"Adan Bergstrom", "reference"=>"Rusty Schoen", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264fa0000'), "author_name"=>"Penelope Zboncak I", "content"=>["Illo occaecati aut quibusdam iste dolorem quis. Voluptatem saepe quasi sit nulla aliquam excepturi. Rerum vel veniam quia delectus in."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264fb0000'), "author_name"=>"Jon Reynolds", "content"=>["Praesentium voluptas ut molestiae neque illo aut. Iure at asperiores dolor dicta id qui eum. Nostrum odit quaerat sit beatae ut. Rerum officia neque repudiandae qui. Dolorem illum quos ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902a907735331264fc0000", "comment_id"=>"54902a907735331264fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3783ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264ff0000'), "name"=>"Branson Bruen", "reference"=>"Justen Blanda", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264fd0000'), "author_name"=>"Brenda Friesen", "content"=>["Minima repudiandae vero est minus. Repudiandae aspernatur et. Dicta tempora qui voluptatem. Totam quo accusantium. Officiis molestiae maiores deserunt illo ipsa beatae."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264fe0000'), "author_name"=>"Buck Weimann", "content"=>["Facilis nobis natus sapiente quis magnam recusandae. Et aut harum. Quidem laboriosam quia perferendis a excepturi. Dolor dicta voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902a907735331264ff0000", "comment_id"=>"54902a907735331264fd0000", "id"=>"54902a907735331264fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264020100'), "name"=>"Anne Keeling", "reference"=>"Alexanne Macejkovic MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264000100'), "author_name"=>"Julius Kautzer", "content"=>["Iusto et ipsa. Corporis totam sed error eligendi architecto voluptatem doloribus. Quod incidunt velit ipsam odio. Est blanditiis est."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264010100'), "author_name"=>"Murl Wilkinson", "content"=>["Quod velit iusto vitae itaque exercitationem et. Impedit reiciendis mollitia laborum. Nisi quaerat consequatur eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902a907735331264020100", "comment_id"=>"54902a907735331264000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264050100'), "name"=>"Agustina Weissnat", "reference"=>"Mr. Ivory Farrell", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264030100'), "author_name"=>"Tommie Torphy MD", "content"=>["Cum maxime voluptas ut qui. Ut dolor nulla. Occaecati corporis accusantium. Quibusdam qui quia aliquam alias fuga blanditiis iusto. Officiis recusandae eveniet explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264040100'), "author_name"=>"Ethan Haag", "content"=>["Non tempore sed qui. Eum reiciendis ut accusantium itaque molestiae autem nemo. Eos necessitatibus temporibus officiis. Magni aliquid qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902a907735331264050100", "comment_id"=>"54902a907735331264030100", "id"=>"54902a907735331264040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.4ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902a907735331264080100'), "name"=>"Savannah Morar", "reference"=>"Keon Stehr", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264060100'), "author_name"=>"Jerel Schulist", "content"=>["Voluptas doloribus ullam molestias. Quae repellendus tenetur incidunt neque quis alias sed. Numquam ut neque."], "comments"=>[{"_id"=>BSON::ObjectId('54902a907735331264070100'), "author_name"=>"Reyna Ziemann", "content"=>["Et exercitationem repellendus assumenda cum nam. Architecto dolorum suscipit. Suscipit vel porro eum cumque. Recusandae corrupti qui laborum doloremque. Ut mollitia explicabo beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902a907735331264070100", "product_id"=>"54902a907735331264080100", "comment_id"=>"54902a907735331264060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902a907735331264080100')} 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('54902a907735331264080100'), "comments._id"=>BSON::ObjectId('54902a907735331264060100'), "comments.0.comments._id"=>BSON::ObjectId('54902a907735331264070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms Redirected to http://test.host/products/54902a907735331264080100/comments/54902a907735331264060100/comments/54902a907735331264070100 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('54902a907735331264090100'), "firstname"=>"Prudence", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1799ms 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('54902a9077353312640a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Redirected to http://test.host/users/54902a9077353312640a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1990ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a9077353312640b0100'), "firstname"=>"Cleta", "lastname"=>"Lindgren"}] 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.1879ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902a9077353312640b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a9077353312640b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a9077353312640b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms 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.2033ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a9077353312640c0100'), "firstname"=>"Coby", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902a9077353312640c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a9077353312640c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3772ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 42ms (Views: 40.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a9077353312640d0100'), "firstname"=>"Raheem", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5716ms 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.5190ms Completed 200 OK in 9ms (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('54902a9077353312640e0100'), "firstname"=>"Anjali", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (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('54902a9077353312640f0100'), "firstname"=>"Eloise", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5715ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902a9077353312640f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a9077353312640f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902a907735331264100100'), "firstname"=>"Fiona", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902a907735331264100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902a907735331264100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3988ms Unpermitted parameters: name Redirected to http://test.host/users/54902a907735331264100100 Completed 302 Found in 2ms 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.3275ms 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.3476ms MOPED: 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=admin_users selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms 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.2665ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297000000'), "firstname"=>"Ryan", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2451ms 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('54902aa77735331297010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms 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.2752ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297020000'), "firstname"=>"Kellen", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902aa77735331297020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297030000'), "firstname"=>"Ashtyn", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8848ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) 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('54902aa77735331297040000'), "firstname"=>"Fabian", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5944ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902aa77735331297040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.9ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297050000'), "firstname"=>"Sophie", "lastname"=>"Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6315ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902aa77735331297050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms 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('54902aa77735331297060000'), "name"=>"Jo Hilpert Jr.", "reference"=>"Jeromy Pfeffer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa77735331297070000'), "author_name"=>"Brandi Leuschke", "content"=>["Id consequuntur quia fugiat. Aut sit quod. Iste voluptatibus maiores aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 22.9822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902aa77735331297060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4098ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902aa77735331297080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms Redirected to http://test.host/admin/products/54902aa77735331297060000/comments/54902aa77735331297080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297090000'), "name"=>"Lenna O'Connell Sr.", "reference"=>"Raina Dickens IV", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902aa777353312970a0000'), "author_name"=>"Charlene Mitchell III", "content"=>["Quibusdam incidunt voluptatem fuga velit a cupiditate. Ducimus blanditiis fuga reiciendis consequatur dignissimos consequuntur nisi. Voluptas hic placeat inventore repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902aa77735331297090000", "id"=>"54902aa777353312970a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902aa777353312970a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Redirected to http://test.host/admin/products/54902aa77735331297090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312970b0000'), "name"=>"Erick Tremblay", "reference"=>"Florian Toy", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa777353312970c0000'), "author_name"=>"Mr. Bobby Kozey", "content"=>["Eum qui natus vitae occaecati deleniti. Sapiente optio alias ipsam aliquam. Id maiores voluptatem ex. Dolores fugiat ex deserunt doloremque nobis perferendis aspernatur. Voluptatem tempore debitis earum nihil optio amet iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902aa777353312970b0000", "id"=>"54902aa777353312970c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312970b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4301ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312970d0000'), "name"=>"Major Goodwin", "reference"=>"Darby Kerluke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902aa777353312970e0000'), "author_name"=>"Jalen Balistreri V", "content"=>["Minima impedit aut magnam. Asperiores ducimus similique expedita fuga ea. Vero laboriosam expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6481ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902aa777353312970d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312970d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312970f0000'), "name"=>"Claude Reilly", "reference"=>"Paula Lockman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902aa77735331297100000'), "author_name"=>"Monte Torp", "content"=>["A nulla aut accusamus beatae. Non voluptatem ut quod corporis quae qui debitis. Accusantium nostrum quae. Rerum rem et est dolores. Quas sint harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6241ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902aa777353312970f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312970f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4387ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297110000'), "name"=>"Oran Grady", "reference"=>"Jasen Medhurst", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902aa77735331297120000'), "author_name"=>"Kaitlyn Klocko", "content"=>["Natus commodi minus. Exercitationem non repellat. Est quos tempore nihil eligendi illum eveniet itaque. Veritatis facere fugiat. Quis et voluptas tempora fugiat ea quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6169ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902aa77735331297110000", "id"=>"54902aa77735331297120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) 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('54902aa77735331297130000'), "name"=>"Nikita Hahn", "reference"=>"Clinton Pfeffer DVM", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902aa77735331297140000'), "author_name"=>"Emilie Kohler", "content"=>["Delectus ea magnam est reiciendis repellat et voluptas. Et accusantium culpa corrupti. Rerum repellendus ut odit consequatur qui non. Et architecto nisi. Molestias quia maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6321ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902aa77735331297140000", "product_id"=>"54902aa77735331297130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4369ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297130000'), "comments._id"=>BSON::ObjectId('54902aa77735331297140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7224ms Redirected to http://test.host/admin/products/54902aa77735331297130000/comments/54902aa77735331297140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297150000'), "name"=>"Raheem Hirthe", "reference"=>"Shanie Dare", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902aa77735331297160000'), "firstname"=>"Eudora", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6340ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902aa77735331297150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5453ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902aa77735331297170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://test.host/admin/products/54902aa77735331297150000/manager Completed 302 Found in 7ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297180000'), "name"=>"Anais Leannon", "reference"=>"Hudson Thompson DDS", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902aa77735331297190000'), "firstname"=>"Ray", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5932ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902aa77735331297190000", "product_id"=>"54902aa77735331297180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4538ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312971a0000'), "name"=>"Ms. Olga Hackett", "reference"=>"Melody McGlynn", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902aa777353312971b0000'), "firstname"=>"Jimmy", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6150ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902aa777353312971a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312971a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312971c0000'), "name"=>"Karianne Ondricka", "reference"=>"Addison Champlin", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902aa777353312971d0000'), "firstname"=>"Ressie", "lastname"=>"Olson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6140ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902aa777353312971d0000", "product_id"=>"54902aa777353312971c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312971c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4088ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa777353312971e0000'), "name"=>"Deshawn Wintheiser", "reference"=>"Bethel Nitzsche", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902aa777353312971f0000'), "firstname"=>"Eleazar", "lastname"=>"Hahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6046ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902aa777353312971f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902aa777353312971e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa777353312971e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4705ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902aa777353312971e0000/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('54902aa77735331297200000'), "name"=>"Dusty Jast I", "reference"=>"Elna Beahan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5405ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2974ms 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('54902aa77735331297210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5756ms Redirected to http://test.host/admin/products/54902aa77735331297210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3589ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297220000'), "name"=>"Electa Rolfson", "reference"=>"Marcus Swaniawski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3434ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902aa77735331297220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4422ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms 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.3588ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297230000'), "name"=>"Karine Wisozk", "reference"=>"Eloisa Howell PhD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902aa77735331297230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3477ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297240000'), "name"=>"Germaine Reinger", "reference"=>"Marcel Schimmel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6657ms 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.5846ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297250000'), "name"=>"Mrs. Jasmin Ullrich", "reference"=>"Kiel Schroeder", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 19ms (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('54902aa77735331297280000'), "name"=>"Shana Durgan", "reference"=>"Mrs. Nicola Skiles", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902aa77735331297280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa77735331297290000'), "name"=>"Melany Hegmann", "reference"=>"Jarred Bahringer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902aa77735331297290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297290000')} 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('54902aa77735331297290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms Redirected to http://test.host/admin/products/54902aa77735331297290000 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('54902aa777353312972a0000'), "firstname"=>"Melvina", "lastname"=>"Littel"}] 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.1740ms 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('54902aa777353312972b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms Redirected to http://test.host/admin/users/54902aa777353312972b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa777353312972c0000'), "firstname"=>"Darren", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1666ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902aa777353312972c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa777353312972c0000')} 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('54902aa777353312972c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms 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.1887ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa777353312972d0000'), "firstname"=>"Kareem", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902aa777353312972d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa777353312972d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa777353312972e0000'), "firstname"=>"Terrill", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms 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.3211ms 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('54902aa777353312972f0000'), "firstname"=>"Mariana", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54902aa77735331297300000'), "firstname"=>"Arvid", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902aa77735331297300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa77735331297300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902aa77735331297310000'), "firstname"=>"Pascale", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902aa77735331297310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa77735331297310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902aa77735331297310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297320000'), "firstname"=>"Braden", "lastname"=>"Mraz"}] 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=>"administrators", :query=>{}} runtime: 0.1991ms 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('54902aa77735331297330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms 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.2035ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297340000'), "firstname"=>"Caitlyn", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902aa77735331297340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297350000'), "firstname"=>"Vida", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902aa77735331297360000'), "firstname"=>"Reyna", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902aa77735331297360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902aa77735331297370000'), "firstname"=>"Hope", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902aa77735331297370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902aa77735331297370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297380000'), "name"=>"Bobby Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297390000'), "name"=>"Myrtie Bednar IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973a0000'), "name"=>"Dr. Connor Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973b0000'), "name"=>"Dr. Luciano Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973c0000'), "name"=>"Mr. Titus Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973d0000'), "name"=>"Ms. Breana Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973e0000'), "name"=>"Timothy Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312973f0000'), "name"=>"Newell Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312973f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297400000'), "name"=>"Ryleigh Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297410000'), "name"=>"Timmothy Lowe DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297420000'), "name"=>"Cecelia Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297430000'), "name"=>"Mrs. Sallie Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297440000'), "name"=>"Darren Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297450000'), "name"=>"Amir Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297460000'), "name"=>"Francisco Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297470000'), "name"=>"Mrs. Cornelius Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297480000'), "name"=>"Armando Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297490000'), "name"=>"Brayan Shields III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974a0000'), "name"=>"Mrs. Dana Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974b0000'), "name"=>"Kennith Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974c0000'), "name"=>"Toney West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974d0000'), "name"=>"Rebeca Krajcik V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974e0000'), "name"=>"Cleo Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312974f0000'), "name"=>"Timothy Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312974f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297500000'), "name"=>"Ms. Mariano Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297510000'), "name"=>"Diana Macejkovic DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297520000'), "name"=>"Mrs. Jose Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297530000'), "name"=>"Martine Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297540000'), "name"=>"Mr. Josue Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297550000'), "name"=>"Arely Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297560000'), "name"=>"Ms. Valentin Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297570000'), "name"=>"Kathleen Doyle III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297580000'), "name"=>"Sister Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297590000'), "name"=>"Aaron Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975a0000'), "name"=>"Paul Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975b0000'), "name"=>"Lorenzo Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975c0000'), "name"=>"Sonia Marks I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975d0000'), "name"=>"Mazie Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975e0000'), "name"=>"Antoinette Kris DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312975f0000'), "name"=>"Jared Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312975f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297600000'), "name"=>"Rusty Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297610000'), "name"=>"Lucious Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297620000'), "name"=>"Thomas McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297630000'), "name"=>"Patience Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297640000'), "name"=>"Hudson Heidenreich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297650000'), "name"=>"Jazlyn Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297660000'), "name"=>"Christ Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297670000'), "name"=>"Miss Gregorio Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297680000'), "name"=>"Royal Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297690000'), "name"=>"Kaitlyn Schimmel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976a0000'), "name"=>"Mr. Cicero Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976b0000'), "name"=>"Leland Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976c0000'), "name"=>"Ludie Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976d0000'), "name"=>"Mr. Jailyn Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976e0000'), "name"=>"Rolando Medhurst V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312976f0000'), "name"=>"Hallie Romaguera V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312976f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297700000'), "name"=>"Kailee Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297710000'), "name"=>"Selmer Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297720000'), "name"=>"Mrs. Vallie Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297730000'), "name"=>"Jean Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297740000'), "name"=>"Austin Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297750000'), "name"=>"Ethelyn West Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297760000'), "name"=>"Jacinthe Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297770000'), "name"=>"Dominic Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297780000'), "name"=>"Ms. Nola Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297790000'), "name"=>"Ms. Jacky Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977a0000'), "name"=>"Leanne Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977b0000'), "name"=>"Ruthe Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977c0000'), "name"=>"Craig Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977d0000'), "name"=>"Katelin Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977e0000'), "name"=>"Consuelo Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312977f0000'), "name"=>"Emiliano Lang Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312977f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297800000'), "name"=>"Milford Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297810000'), "name"=>"Titus Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297820000'), "name"=>"Alysha Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297830000'), "name"=>"Emie Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297840000'), "name"=>"Ms. Avery Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297850000'), "name"=>"Kayley Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297860000'), "name"=>"Ayden Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297870000'), "name"=>"Dr. Katrine Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297880000'), "name"=>"Burnice Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa77735331297890000'), "name"=>"Ara Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa77735331297890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312978a0000'), "name"=>"Mrs. Janelle Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312978a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa777353312978b0000'), "name"=>"Mrs. General Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa777353312978b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312978c0000'), "name"=>"Rod Yost MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312978c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312978d0000'), "name"=>"Charley Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312978d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312978e0000'), "name"=>"Nico Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312978e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312978f0000'), "name"=>"Whitney Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312978f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297900000'), "name"=>"Tiffany Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297910000'), "name"=>"Dr. Dewitt Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297920000'), "name"=>"Sonny Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297930000'), "name"=>"Evert Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297940000'), "name"=>"Kaleigh Schuppe IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297950000'), "name"=>"Ricardo Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297960000'), "name"=>"Lenna Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297970000'), "name"=>"Mariane Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1462ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms Redirected to http://test.host/categories/54902aa87735331297980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1780ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297990000'), "name"=>"Cicero Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1561ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902aa87735331297990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa87735331297990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa87735331297990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1529ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312979a0000'), "name"=>"Darion Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902aa877353312979a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa877353312979a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 9ms (Views: 8.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312979b0000'), "name"=>"Macy Bernier"}] 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={"category_id"=>BSON::ObjectId('54902aa877353312979b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305416153415] runtime: 0.1044ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2435ms Completed 200 OK in 15ms (Views: 14.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312979c0000'), "name"=>"Walter Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307023726775] runtime: 0.0699ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1691ms Completed 200 OK in 8ms (Views: 7.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312979d0000'), "name"=>"Otha Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa877353312979f0000'), "name"=>"Heath Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902aa877353312979f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa877353312979f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa877353312979f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 30ms (Views: 28.5ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902aa87735331297a00000'), "name"=>"Marina Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902aa87735331297a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa87735331297a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902aa87735331297a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902aa87735331297a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms Redirected to http://test.host/categories/54902aa87735331297a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297a10000'), "name"=>"Ignacio Wolf III", "reference"=>"Milan Friesen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297a20000'), "author_name"=>"Herminia Shanahan", "content"=>["Voluptatem earum ut temporibus sit voluptate. Architecto id rem. Rerum id similique sint impedit ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902aa87735331297a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902aa87735331297a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms Redirected to http://test.host/products/54902aa87735331297a10000/comments/54902aa87735331297a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297a40000'), "name"=>"Lura Jakubowski", "reference"=>"Anissa Bins", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297a50000'), "author_name"=>"Irma Aufderhar III", "content"=>["Sed veniam ab officia consectetur in quia ea. Qui minima vel rerum exercitationem velit corrupti. Aperiam accusantium sed. Aut et architecto sapiente. Doloremque ratione illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.9157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902aa87735331297a40000", "id"=>"54902aa87735331297a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a40000')} 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('54902aa87735331297a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902aa87735331297a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms Redirected to http://test.host/products/54902aa87735331297a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297a60000'), "name"=>"Heloise Smith", "reference"=>"Sabryna Bergnaum", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297a70000'), "author_name"=>"Mrs. Aida Keebler", "content"=>["Facilis aspernatur atque. Nobis iusto sequi non. Labore officiis saepe sint ad perferendis corrupti. Pariatur at iusto quaerat iste sint eaque a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902aa87735331297a60000", "id"=>"54902aa87735331297a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297a80000'), "name"=>"Crystal Sporer", "reference"=>"Edna Doyle", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297a90000'), "author_name"=>"Dr. Mckayla Hyatt", "content"=>["Placeat cum et sapiente id. Similique eligendi sit ex odit et consequatur numquam. Iste suscipit vero. Facilis consectetur sint assumenda aliquam libero sed. Repellendus sit consequatur aut ut voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902aa87735331297a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms Completed 200 OK in 5ms (Views: 2.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297aa0000'), "name"=>"Sherwood Watsica", "reference"=>"Ryley Casper", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297ab0000'), "author_name"=>"Gardner Klein", "content"=>["Voluptatem iure dolores eum veniam. Aut qui omnis deserunt eum. Sed autem quibusdam nihil beatae reprehenderit voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902aa87735331297aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297ac0000'), "name"=>"Arnulfo Trantow", "reference"=>"Brittany Kub", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297ad0000'), "author_name"=>"Ms. Carissa Terry", "content"=>["Iste fuga sed. Quas esse tenetur dignissimos saepe eum. Dolorem labore vero dignissimos quod maxime. Ullam impedit ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902aa87735331297ac0000", "id"=>"54902aa87735331297ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297ae0000'), "name"=>"Sasha Thompson", "reference"=>"Kali Conn", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297af0000'), "author_name"=>"Violette Hintz", "content"=>["Quaerat delectus nihil a consequatur. Quibusdam commodi et labore omnis sapiente repellendus distinctio. Eos nemo occaecati odit explicabo consequatur libero. Excepturi quibusdam doloremque eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902aa87735331297ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297b00000'), "name"=>"Rogelio Kulas", "reference"=>"Elva Cassin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297b10000'), "author_name"=>"Muriel Crist", "content"=>["Aliquam eos asperiores sunt adipisci omnis quia repellendus. Voluptas eveniet necessitatibus ut perspiciatis deserunt nam. Nisi quaerat deleniti mollitia cupiditate illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902aa87735331297b00000", "id"=>"54902aa87735331297b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297b20000'), "name"=>"Kory Strosin PhD", "reference"=>"Gregory Shields", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902aa87735331297b30000'), "author_name"=>"Ashlynn Barrows", "content"=>["Excepturi fugit et et. Quod et necessitatibus molestiae saepe distinctio. Sunt ut vitae eius. Atque quibusdam sint autem quam. Suscipit sequi praesentium optio sed voluptate est saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902aa87735331297b30000", "product_id"=>"54902aa87735331297b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297b20000'), "comments._id"=>BSON::ObjectId('54902aa87735331297b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Redirected to http://test.host/products/54902aa87735331297b20000/comments/54902aa87735331297b30000 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('54902aa87735331297b40000'), "firstname"=>"Raymundo", "lastname"=>"Fadel"}] 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.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('54902aa87735331297b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Redirected to http://test.host/admin/clients/54902aa87735331297b50000 Completed 302 Found in 2ms 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('54902aa87735331297b60000'), "firstname"=>"Madonna", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1821ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902aa87735331297b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297b60000')} 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('54902aa87735331297b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms 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.1919ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902aa87735331297b70000'), "firstname"=>"Percy", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902aa87735331297b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902aa87735331297b80000'), "firstname"=>"Catharine", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902aa87735331297b90000'), "firstname"=>"Hilbert", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5560ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902aa87735331297ba0000'), "firstname"=>"Frieda", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902aa87735331297ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902aa87735331297bb0000'), "firstname"=>"Roxane", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902aa87735331297bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Redirected to http://test.host/admin/clients/54902aa87735331297bb0000 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('54902aa87735331297bc0000'), "firstname"=>"Lester", "lastname"=>"Bernier"}] 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.1918ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902aa87735331297bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Redirected to http://test.host/clients/54902aa87735331297bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2226ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902aa87735331297be0000'), "firstname"=>"Lonnie", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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"=>"54902aa87735331297be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms 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.2395ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902aa87735331297bf0000'), "firstname"=>"Electa", "lastname"=>"Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902aa87735331297bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms Rendered /home/geoffroy/projects/crealettres/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('54902aa87735331297c00000'), "firstname"=>"Nicholas", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4424ms 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('54902aa87735331297c10000'), "firstname"=>"Matilda", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902aa87735331297c20000'), "firstname"=>"Amelia", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902aa87735331297c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902aa87735331297c30000'), "firstname"=>"Pansy", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8972ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902aa87735331297c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902aa87735331297c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Redirected to http://test.host/clients/54902aa87735331297c30000 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('54902aa87735331297c40000'), "name"=>"Nicholas Daniel III", "reference"=>"Idell Roberts", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297c50000'), "firstname"=>"Lorna", "lastname"=>"Kessler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902aa87735331297c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms Redirected to http://test.host/products/54902aa87735331297c40000/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('54902aa87735331297c70000'), "name"=>"Ms. Dock O'Connell", "reference"=>"Elsie Ward", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297c80000'), "firstname"=>"Alvera", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902aa87735331297c80000", "product_id"=>"54902aa87735331297c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297c90000'), "name"=>"Chasity Stracke", "reference"=>"Randal Wisoky", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297ca0000'), "firstname"=>"Boris", "lastname"=>"Doyle"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902aa87735331297c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297cb0000'), "name"=>"Jacklyn Kling", "reference"=>"Jean Franecki", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297cc0000'), "firstname"=>"Marion", "lastname"=>"Kuhic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902aa87735331297cc0000", "product_id"=>"54902aa87735331297cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297cd0000'), "name"=>"Elian Hahn II", "reference"=>"Ericka Upton", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902aa87735331297ce0000'), "firstname"=>"Wilford", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902aa87735331297ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902aa87735331297cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Unpermitted parameters: name Redirected to http://test.host/products/54902aa87735331297cd0000/manager Completed 302 Found in 28ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297cf0000'), "name"=>"Fredrick Strosin MD", "reference"=>"Dr. Yolanda Heller", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d00000'), "name"=>"Olaf Boyle", "reference"=>"Cassidy Leannon", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d10000'), "name"=>"Lenora Lang", "reference"=>"Amie Zemlak", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d20000'), "name"=>"Aryanna Gorczany", "reference"=>"Ara McKenzie", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d30000'), "name"=>"Ms. Wilton Barton", "reference"=>"Mittie Schulist", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d40000'), "name"=>"Jackson Miller", "reference"=>"Everardo Gulgowski Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4852ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1982ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms Redirected to http://test.host/products/54902aa87735331297d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1996ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d60000'), "name"=>"Lon Reinger", "reference"=>"Elise Leuschke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1983ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902aa87735331297d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms 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.2104ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d70000'), "name"=>"Timmothy Raynor", "reference"=>"Zion Morar", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902aa87735331297d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3762ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d80000'), "name"=>"Darien Wyman", "reference"=>"Pamela Predovic Sr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281203761884] runtime: 0.1035ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2416ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297d90000'), "name"=>"Eleanora Pouros", "reference"=>"Itzel Maggio V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297da0000'), "name"=>"HelloWorld", "reference"=>"Mrs. Carey Fahey", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297db0000'), "name"=>"value", "reference"=>"Dr. Orval Bergstrom", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4583ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2397ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2181ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1508ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2203ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1417ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297dc0000'), "name"=>"Rosalee Pagac", "reference"=>"Elenora Halvorson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280109842799] runtime: 0.0997ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2477ms Completed 200 OK in 16ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387176575] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280964023010] runtime: 0.1014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132062564] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281134461674] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649157646] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279900012993] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280941350456] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351186397] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279642650408] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098593312] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280749817167] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124036696] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279795031825] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555577527] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338351460] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279420377284] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281297462234] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520147607] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442703232] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279610785790] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082213140] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279394847738] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280389763230] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829337726] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280832600494] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280386919122] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280294518775] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279220916098] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365072494] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280688097176] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279984508530] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279796463331] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281123369966] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280556430921] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280889418091] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279620673388] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304122007] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945239569] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103976823] runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279454790599] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279943337907] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870545585] runtime: 0.0706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280175363217] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362884005] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279339633924] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279447804267] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279940084666] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279638423195] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945655877] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800945242] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898120866] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281307268493] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280291527303] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281063972412] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280259746996] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279212813581] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279889110708] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279629568992] runtime: 0.1004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593830863] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442835173] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280284333845] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280817562409] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229681047] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975892163] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891082135] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170271068] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280693226245] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281065224019] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936608414] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050221385] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280861250134] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313037310] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280300359750] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929639008] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280739137463] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469882771] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280533620828] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280673688143] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279736289321] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279623508439] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027691368] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280998775316] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618032615] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686798328] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209070151] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136081852] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903080669] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174520794] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101163266] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280334856917] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279790861970] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810869681] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280419127538] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655897012] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280957705105] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122610669] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281269083225] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280024847236] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280415336607] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281137339846] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235690601] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320886400] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997134725] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191201034] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279786991133] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250278002] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195735790] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163888899] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062723130] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280074733209] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742226389] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920868188] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399282612] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023584012] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281051459000] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220243390] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281273402460] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279550098011] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280267997185] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281212031544] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280909015089] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280533659559] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746374605] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279224592226] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256314833] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280003036339] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280856801746] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009286668] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279465994899] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279270206163] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280977267609] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281061550112] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280706611347] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280105966239] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158576614] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759332214] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950289371] runtime: 0.0983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320070060] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091924221] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492993600] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279913876735] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523710385] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279685847471] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901371217] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280537892855] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279429125296] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281129282262] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178749543] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280423824036] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281141282001] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660370551] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972506927] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622117540] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380136481] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882998527] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5143ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279194547576] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279926079037] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373654554] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666275855] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280412103087] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280292961215] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371251335] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280570816828] runtime: 0.0585ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297dd0000'), "name"=>"Retha Leuschke", "reference"=>"Mr. Caroline Hilll", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2517ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1548ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297de0000'), "name"=>"Mrs. Madisyn Bauch", "reference"=>"Citlalli Marquardt", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279376456352] runtime: 0.0617ms 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('54902aa87735331297df0000'), "name"=>"Yasmine Raynor", "reference"=>"Ulices Goyette MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902aa87735331297df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms 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('54902aa87735331297e00000'), "name"=>"Ezekiel Hickle", "reference"=>"Patrick Wisozk", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e20000'), "name"=>"Alexandria Bailey", "reference"=>"Caroline Cremin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902aa87735331297e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e30000'), "name"=>"Hermann Pollich DVM", "reference"=>"Rudolph Lang", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3266ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2330ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa77735331297060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e40000'), "name"=>"Mrs. Ezequiel Leuschke", "reference"=>"Nadia Brekke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2654ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1985ms Completed 200 OK in 6ms (Views: 4.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e50000'), "name"=>"Consuelo Corkery", "reference"=>"Lucienne Leannon DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2050ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e60000'), "name"=>"Herman Mueller", "reference"=>"Giovani Morissette", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.3424ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2413ms 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('54902aa87735331297e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa87735331297e80000'), "name"=>"Patricia Adams", "reference"=>"Retta Kessler II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902aa87735331297e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa87735331297e80000')} 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={"_id"=>BSON::ObjectId('54902aa87735331297e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms 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('54902aa87735331297e90000'), "name"=>"Marie Koepp", "reference"=>"Anita Hickle III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms 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('54902aa97735331297eb0000'), "name"=>"Shayne Streich", "reference"=>"Miss Christy Corwin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902aa97735331297eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297eb0000')} 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('54902aa97735331297eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms 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('54902aa97735331297ec0000'), "name"=>"Lemuel Towne", "reference"=>"Ella Kihn", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902aa97735331297ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ec0000')} 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('54902aa97735331297ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms Redirected to http://test.host/products/54902aa97735331297ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297ef0000'), "name"=>"Gayle Beier II", "reference"=>"Rod Weissnat", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297ed0000'), "author_name"=>"Sandrine Luettgen", "content"=>["Dolor nobis voluptatem quas et. Facere eveniet ex ad eligendi saepe. Et minus ducimus possimus impedit natus. Nesciunt sequi reiciendis possimus consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297ee0000'), "author_name"=>"Alisa Davis", "content"=>["Totam nihil repellendus voluptatibus saepe delectus cupiditate. Explicabo aut et et quo quisquam. In ipsa nihil ex aperiam dolores eius. Est fuga vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902aa97735331297ef0000", "comment_id"=>"54902aa97735331297ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ef0000'), "comments._id"=>BSON::ObjectId('54902aa97735331297ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902aa97735331297f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5852ms Redirected to http://test.host/products/54902aa97735331297ef0000/comments/54902aa97735331297ed0000/comments/54902aa97735331297f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297f30000'), "name"=>"Bertrand Haag", "reference"=>"Arlie Bergstrom", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f10000'), "author_name"=>"Aubree Wuckert DVM", "content"=>["Impedit voluptas eligendi vero nostrum ea dolor molestiae. Animi reiciendis suscipit. Laborum sed culpa ut voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f20000'), "author_name"=>"Jaydon Boyle MD", "content"=>["Sunt et consequuntur assumenda. Aliquid molestiae consequatur ut. Repellendus non voluptates cupiditate. A exercitationem vitae reprehenderit delectus. Est impedit et minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902aa97735331297f30000", "comment_id"=>"54902aa97735331297f10000", "id"=>"54902aa97735331297f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4213ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f30000'), "comments._id"=>BSON::ObjectId('54902aa97735331297f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902aa97735331297f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6510ms Redirected to http://test.host/products/54902aa97735331297f30000/comments/54902aa97735331297f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3477ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297f60000'), "name"=>"Cary Torp", "reference"=>"Ellen Pacocha", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f40000'), "author_name"=>"Roberta Bogisich", "content"=>["Sequi enim hic deserunt. Voluptatem nemo dolorem earum ut at dolorem asperiores. Accusamus quis nihil voluptatem quia voluptates beatae."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f50000'), "author_name"=>"Loyce Schuster", "content"=>["At est maxime. Totam ut hic iusto deserunt. Dolorum ut aliquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5150ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902aa97735331297f60000", "comment_id"=>"54902aa97735331297f40000", "id"=>"54902aa97735331297f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4255ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297f90000'), "name"=>"Hank Paucek", "reference"=>"Forest Ryan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f70000'), "author_name"=>"Sandra Ankunding", "content"=>["Debitis laudantium neque et. Aut nemo aliquam doloribus aut illo id. Vel beatae qui aperiam facilis."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297f80000'), "author_name"=>"Asha Quigley MD", "content"=>["Ut minus reprehenderit nisi quo nostrum soluta. Sapiente ea quia officia molestiae tenetur repudiandae et. Aspernatur possimus ab. Architecto natus est eligendi odio sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5418ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902aa97735331297f90000", "comment_id"=>"54902aa97735331297f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297fc0000'), "name"=>"Melvina Turcotte", "reference"=>"Flo Robel IV", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297fa0000'), "author_name"=>"Greyson Beatty", "content"=>["Non quos delectus amet natus aut odit. At qui vitae quo velit. Corrupti omnis ad sit doloremque et."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297fb0000'), "author_name"=>"Ms. Deangelo Parisian", "content"=>["Labore aut eligendi. Possimus ut ullam vel non ipsa eaque. Quaerat eius dolores fugiat aperiam molestiae perspiciatis. Ipsa molestias vel ut. Voluptas officiis sapiente voluptatum et est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902aa97735331297fc0000", "comment_id"=>"54902aa97735331297fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297ff0000'), "name"=>"Ismael Hyatt", "reference"=>"Lempi Hyatt DVM", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297fd0000'), "author_name"=>"Miss Gregorio Kerluke", "content"=>["Optio in rem reiciendis ut soluta repudiandae vero. Eum totam id quos. Iure unde saepe odio voluptates voluptatem et non. Blanditiis non soluta officia est."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297fe0000'), "author_name"=>"Deontae Hyatt", "content"=>["Voluptas odit et magni. Cupiditate eaque occaecati dolor quibusdam provident distinctio. Optio quo voluptatem autem ut. Architecto asperiores voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902aa97735331297ff0000", "comment_id"=>"54902aa97735331297fd0000", "id"=>"54902aa97735331297fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297020100'), "name"=>"Dallin Howell Jr.", "reference"=>"Maybelle Wisoky", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297000100'), "author_name"=>"Adonis Stoltenberg PhD", "content"=>["Voluptas explicabo in non unde. Quas quo repudiandae dolores ducimus libero porro voluptatem. Ab possimus ea nihil tenetur ipsam est voluptatem. Voluptatem optio aliquid labore."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297010100'), "author_name"=>"Ellie Hudson", "content"=>["Dolores quis et accusamus assumenda omnis error. Ut officia possimus sunt et ad. Voluptatibus iusto et. Et maxime facere quaerat tenetur consequatur non. Quis deleniti molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902aa97735331297020100", "comment_id"=>"54902aa97735331297000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297050100'), "name"=>"Hailie Haley", "reference"=>"Dorian Grant", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297030100'), "author_name"=>"Roy Ryan PhD", "content"=>["Aut magnam voluptate maxime hic vero exercitationem velit. Possimus cupiditate et est vel id dolor magni. Quaerat tenetur ipsam earum facere. Qui consequuntur fugiat repellat soluta maxime deserunt. Nesciunt aliquam ea neque magnam."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297040100'), "author_name"=>"Otis Collins", "content"=>["Ut a libero nemo. Provident quod nisi at officia. Dolor perspiciatis voluptatibus. Ipsam eaque explicabo aut ipsum omnis dolorem dolorum. Corrupti omnis quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902aa97735331297050100", "comment_id"=>"54902aa97735331297030100", "id"=>"54902aa97735331297040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902aa97735331297080100'), "name"=>"Christelle Feil", "reference"=>"Yessenia Pagac", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297060100'), "author_name"=>"Lea Wiza", "content"=>["Officia nobis facilis praesentium omnis veritatis. Eveniet sed qui a. Ut velit similique facere suscipit. Rem sed ratione amet non nihil."], "comments"=>[{"_id"=>BSON::ObjectId('54902aa97735331297070100'), "author_name"=>"Ms. Tanner Jacobs", "content"=>["Est occaecati doloremque. Voluptate vel cumque. Sed eum inventore quasi rerum deserunt esse vel. Quia tempora necessitatibus quas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902aa97735331297070100", "product_id"=>"54902aa97735331297080100", "comment_id"=>"54902aa97735331297060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902aa97735331297080100')} 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('54902aa97735331297080100'), "comments._id"=>BSON::ObjectId('54902aa97735331297060100'), "comments.0.comments._id"=>BSON::ObjectId('54902aa97735331297070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms Redirected to http://test.host/products/54902aa97735331297080100/comments/54902aa97735331297060100/comments/54902aa97735331297070100 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('54902aa97735331297090100'), "firstname"=>"Fritz", "lastname"=>"Moen"}] 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=>"admin_users", :query=>{}} runtime: 0.1908ms 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('54902aa977353312970a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Redirected to http://test.host/users/54902aa977353312970a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2425ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa977353312970b0100'), "firstname"=>"Gertrude", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms 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"=>"54902aa977353312970b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa977353312970b0100')} 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('54902aa977353312970b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms 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.1817ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa977353312970c0100'), "firstname"=>"Clemens", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902aa977353312970c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa977353312970c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) 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('54902aa977353312970d0100'), "firstname"=>"Darian", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms 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.4543ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa977353312970e0100'), "firstname"=>"Alba", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902aa977353312970f0100'), "firstname"=>"Hildegard", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902aa977353312970f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa977353312970f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902aa97735331297100100'), "firstname"=>"Sallie", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902aa97735331297100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902aa97735331297100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Unpermitted parameters: name Redirected to http://test.host/users/54902aa97735331297100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms 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.3504ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms 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.3976ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7338ms 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.3906ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0000000'), "firstname"=>"Mark", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2177ms 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('54902ad777353312d0010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms 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.2746ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0020000'), "firstname"=>"Dale", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902ad777353312d0020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0030000'), "firstname"=>"Brenda", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0040000'), "firstname"=>"Adolfo", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.0840ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902ad777353312d0040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0050000'), "firstname"=>"Daren", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902ad777353312d0050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms 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('54902ad777353312d0060000'), "name"=>"Jan Harvey", "reference"=>"Victor Adams", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d0070000'), "author_name"=>"Jadyn Adams III", "content"=>["Quidem sed libero. Cupiditate soluta magni autem temporibus odio unde. Quasi sed impedit mollitia quos. Et et laudantium. Impedit eius cumque odio soluta totam nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ad777353312d0060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0060000')} 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('54902ad777353312d0060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ad777353312d0080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms Redirected to http://test.host/admin/products/54902ad777353312d0060000/comments/54902ad777353312d0080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0090000'), "name"=>"Kristoffer Heidenreich", "reference"=>"Abraham Hoppe", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d00a0000'), "author_name"=>"Dallin Veum", "content"=>["Sit officia optio saepe reprehenderit nemo. In architecto veritatis totam quod eum autem nobis. Doloribus cupiditate culpa aut qui deserunt eius tempora. Similique exercitationem inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ad777353312d0090000", "id"=>"54902ad777353312d00a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ad777353312d00a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms Redirected to http://test.host/admin/products/54902ad777353312d0090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d00b0000'), "name"=>"Roger Conn I", "reference"=>"Fanny Grimes", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d00c0000'), "author_name"=>"Hazle Mitchell III", "content"=>["Eum inventore quia. Perferendis tempora deserunt iste reiciendis. Eligendi laborum ut tempora natus pariatur velit repellat. Aut dolores a quia laborum alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902ad777353312d00b0000", "id"=>"54902ad777353312d00c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d00b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d00d0000'), "name"=>"Gerhard Hoeger", "reference"=>"Rahsaan Dibbert", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d00e0000'), "author_name"=>"Jane Runte", "content"=>["Rem perspiciatis aspernatur quia praesentium rerum laboriosam fugit. Quo enim neque. Quod omnis libero consequatur cum ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8126ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902ad777353312d00d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d00f0000'), "name"=>"Cassie Langworth IV", "reference"=>"Augusta Cassin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d0100000'), "author_name"=>"Olaf White", "content"=>["Ullam est quis et optio. Sequi sunt delectus a occaecati hic facilis quas. Ipsa nulla est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902ad777353312d00f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d00f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0110000'), "name"=>"Antwon Cummings", "reference"=>"Edna Emard", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d0120000'), "author_name"=>"Talia Barrows", "content"=>["Corrupti vel mollitia. Qui et sed nesciunt dicta. Soluta cum beatae atque sint asperiores quia. Quod voluptas ipsum in ducimus et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902ad777353312d0110000", "id"=>"54902ad777353312d0120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0130000'), "name"=>"Mr. Darrion Ferry", "reference"=>"Antonio Krajcik", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ad777353312d0140000'), "author_name"=>"Wilhelm Doyle", "content"=>["Dolorum quia tempora. Rerum sit veniam. Eos dolores similique rerum. Hic cum voluptatem maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ad777353312d0140000", "product_id"=>"54902ad777353312d0130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0130000')} 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('54902ad777353312d0130000'), "comments._id"=>BSON::ObjectId('54902ad777353312d0140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Redirected to http://test.host/admin/products/54902ad777353312d0130000/comments/54902ad777353312d0140000 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('54902ad777353312d0150000'), "name"=>"Titus Dickinson", "reference"=>"Richard Mante Sr.", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d0160000'), "firstname"=>"Percy", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902ad777353312d0150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d0170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms Redirected to http://test.host/admin/products/54902ad777353312d0150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0180000'), "name"=>"Rogelio Walker", "reference"=>"Dr. Demond Hackett", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d0190000'), "firstname"=>"Reva", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902ad777353312d0190000", "product_id"=>"54902ad777353312d0180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d01a0000'), "name"=>"Eileen Veum", "reference"=>"Dawn Beahan", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d01b0000'), "firstname"=>"Rudy", "lastname"=>"Herman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902ad777353312d01a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d01a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d01c0000'), "name"=>"Ariane Toy", "reference"=>"Mrs. Jairo Brown", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d01d0000'), "firstname"=>"Wellington", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902ad777353312d01d0000", "product_id"=>"54902ad777353312d01c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d01e0000'), "name"=>"Stefan Raynor III", "reference"=>"Sonya Wisoky", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902ad777353312d01f0000'), "firstname"=>"Joana", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902ad777353312d01f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902ad777353312d01e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d01e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902ad777353312d01e0000/manager 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('54902ad777353312d0200000'), "name"=>"Beth Leffler", "reference"=>"Mr. Norval Crona", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1920ms 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('54902ad777353312d0210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Redirected to http://test.host/admin/products/54902ad777353312d0210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2091ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0220000'), "name"=>"Tito Wunsch MD", "reference"=>"Elijah Boyer", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1876ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902ad777353312d0220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0220000')} 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('54902ad777353312d0220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms 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('54902ad777353312d0230000'), "name"=>"Carli Fadel", "reference"=>"Alysa Dickinson", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902ad777353312d0230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0240000'), "name"=>"Deondre Ritchie", "reference"=>"Stephon Weimann", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms 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.5635ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0250000'), "name"=>"Kali Zulauf", "reference"=>"Freddy Mraz PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('54902ad777353312d0280000'), "name"=>"Max Skiles DVM", "reference"=>"Germaine Gleichner", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902ad777353312d0280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0290000'), "name"=>"Wilhelm Considine", "reference"=>"Miss Samantha Harris", "quantity"=>8}] 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"=>"54902ad777353312d0290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0290000')} 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('54902ad777353312d0290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Redirected to http://test.host/admin/products/54902ad777353312d0290000 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('54902ad777353312d02a0000'), "firstname"=>"Chanel", "lastname"=>"Turcotte"}] 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.2033ms 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('54902ad777353312d02b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9787ms Redirected to http://test.host/admin/users/54902ad777353312d02b0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2847ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad777353312d02c0000'), "firstname"=>"Urban", "lastname"=>"Deckow"}] 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.1773ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902ad777353312d02c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad777353312d02c0000')} 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('54902ad777353312d02c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms 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.1798ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad777353312d02d0000'), "firstname"=>"Arthur", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902ad777353312d02d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad777353312d02d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad777353312d02e0000'), "firstname"=>"Florence", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms 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.3195ms 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('54902ad777353312d02f0000'), "firstname"=>"Henry", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54902ad777353312d0300000'), "firstname"=>"Alize", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902ad777353312d0300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad777353312d0300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0310000'), "firstname"=>"Lorena", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902ad777353312d0310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad777353312d0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902ad777353312d0310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0320000'), "firstname"=>"Hoyt", "lastname"=>"Bahringer"}] 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=>"administrators", :query=>{}} runtime: 0.1883ms 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('54902ad777353312d0330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms 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.2119ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0340000'), "firstname"=>"Ian", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902ad777353312d0340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0350000'), "firstname"=>"Isaias", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0360000'), "firstname"=>"Magnus", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5718ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902ad777353312d0360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.0ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0370000'), "firstname"=>"Humberto", "lastname"=>"Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902ad777353312d0370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ad777353312d0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0380000'), "name"=>"Giuseppe Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0390000'), "name"=>"Ruth Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03a0000'), "name"=>"Lucile Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03b0000'), "name"=>"Mrs. Arch Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03c0000'), "name"=>"King Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03d0000'), "name"=>"Uriah Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03e0000'), "name"=>"Janae Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d03f0000'), "name"=>"Colleen Okuneva IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d03f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0400000'), "name"=>"Cindy Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0410000'), "name"=>"Lynn Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0420000'), "name"=>"Abel Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0430000'), "name"=>"Miss Delmer Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0440000'), "name"=>"Annette Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0450000'), "name"=>"Nova Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0460000'), "name"=>"Henry Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0470000'), "name"=>"Richie Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0480000'), "name"=>"Ms. Marjolaine Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0490000'), "name"=>"Ms. Diamond Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04a0000'), "name"=>"Gwen Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04b0000'), "name"=>"Gerald Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04c0000'), "name"=>"Miss Mikel Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04d0000'), "name"=>"Mrs. Katlynn O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04e0000'), "name"=>"Domingo Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d04f0000'), "name"=>"Mrs. Elliot Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d04f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0500000'), "name"=>"Loyce Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0510000'), "name"=>"Casimir Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0520000'), "name"=>"Berry Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0530000'), "name"=>"Marlen Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0540000'), "name"=>"Guillermo Labadie Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0550000'), "name"=>"Mariana Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0560000'), "name"=>"Jedidiah Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0570000'), "name"=>"Tre Parisian MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0580000'), "name"=>"Axel Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0590000'), "name"=>"Tanya Wisozk I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05a0000'), "name"=>"Abigail Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05b0000'), "name"=>"Friedrich Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05c0000'), "name"=>"Llewellyn Dicki V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05d0000'), "name"=>"Lucas Hammes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05e0000'), "name"=>"Mathilde Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d05f0000'), "name"=>"Doug Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d05f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0600000'), "name"=>"Mrs. Francis Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0610000'), "name"=>"Neil Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0620000'), "name"=>"Rahsaan Parker Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0630000'), "name"=>"Mrs. Camryn Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0640000'), "name"=>"Marina Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0650000'), "name"=>"Mrs. Abelardo Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0660000'), "name"=>"Gregorio Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0670000'), "name"=>"Magnolia Nikolaus MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0680000'), "name"=>"Delilah Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0690000'), "name"=>"Gaylord Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06a0000'), "name"=>"Bryana Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06b0000'), "name"=>"Garret Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06c0000'), "name"=>"Vivian Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06d0000'), "name"=>"Wilfredo Hodkiewicz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06e0000'), "name"=>"Assunta O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d06f0000'), "name"=>"Genesis Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d06f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0700000'), "name"=>"Mrs. Myrl Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0710000'), "name"=>"Dr. Favian Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad777353312d0720000'), "name"=>"Burdette Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad777353312d0720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0730000'), "name"=>"Henry Baumbach MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0740000'), "name"=>"Stephon Lind Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0750000'), "name"=>"Josephine Heller III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0760000'), "name"=>"Dr. Osvaldo Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0770000'), "name"=>"Megane Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0780000'), "name"=>"Dr. Arjun Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0790000'), "name"=>"Lori McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07a0000'), "name"=>"Arielle Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07b0000'), "name"=>"Ernestine Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07c0000'), "name"=>"Chandler McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07d0000'), "name"=>"Miss Ardith Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07e0000'), "name"=>"Roberta Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d07f0000'), "name"=>"Ms. Patricia Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d07f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0800000'), "name"=>"Lee Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0810000'), "name"=>"Braden Gleichner I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0820000'), "name"=>"Seamus Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0830000'), "name"=>"Pauline Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0840000'), "name"=>"Aracely Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0850000'), "name"=>"Cleta Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0860000'), "name"=>"Jessyca Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0870000'), "name"=>"Maxie Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0880000'), "name"=>"Ms. Shawna Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0890000'), "name"=>"Ivah Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08a0000'), "name"=>"Laurine Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08b0000'), "name"=>"Zella Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08c0000'), "name"=>"Hanna Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08d0000'), "name"=>"Alyce Hyatt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08e0000'), "name"=>"Lucie Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d08f0000'), "name"=>"Alexie Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d08f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0900000'), "name"=>"Jovanny Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0910000'), "name"=>"Miss Zella Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0920000'), "name"=>"Dan Eichmann PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0930000'), "name"=>"Janessa Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0940000'), "name"=>"Mrs. Tyra Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0950000'), "name"=>"Leta Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0960000'), "name"=>"Mr. Alysha Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0970000'), "name"=>"Felicity Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1553ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms Redirected to http://test.host/categories/54902ad877353312d0980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1831ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0990000'), "name"=>"Kianna Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1724ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902ad877353312d0990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d0990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d0990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1676ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d09a0000'), "name"=>"Filiberto Marquardt DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902ad877353312d09a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d09b0000'), "name"=>"Dee Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305878098718] runtime: 0.0900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2855ms Completed 200 OK in 15ms (Views: 14.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d09c0000'), "name"=>"Alphonso Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305087008725] runtime: 0.0791ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2679ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d09d0000'), "name"=>"Mrs. Libby Stokes"}] 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={"category_id"=>BSON::ObjectId('54902ad877353312d09d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d09f0000'), "name"=>"Santino Olson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902ad877353312d09f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d09f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0a00000'), "name"=>"Beryl Heathcote"}] 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={"category_id"=>BSON::ObjectId('54902ad877353312d0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902ad877353312d0a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ad877353312d0a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ad877353312d0a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms Redirected to http://test.host/categories/54902ad877353312d0a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0a10000'), "name"=>"Shanna Hamill", "reference"=>"Webster Cummerata", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0a20000'), "author_name"=>"Brooklyn Lind", "content"=>["Corporis aliquid rerum sapiente saepe quia qui. Quo optio maiores quibusdam consequuntur iure. Numquam et sint. Nam tempora eius delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ad877353312d0a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ad877353312d0a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Redirected to http://test.host/products/54902ad877353312d0a10000/comments/54902ad877353312d0a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0a40000'), "name"=>"Alia Harvey I", "reference"=>"Jake Torp", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0a50000'), "author_name"=>"Edmond Botsford", "content"=>["Dolorem sint consequuntur esse sit impedit vel. Maiores dolores veritatis alias recusandae. Repudiandae tempora eligendi vitae velit qui ipsam. Voluptas tenetur ea fuga quae provident rerum architecto. Quo fuga eaque dolor aut maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ad877353312d0a40000", "id"=>"54902ad877353312d0a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ad877353312d0a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Redirected to http://test.host/products/54902ad877353312d0a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0a60000'), "name"=>"Delphine O'Kon", "reference"=>"Verdie Weimann", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0a70000'), "author_name"=>"Bud Cummerata Sr.", "content"=>["Quia doloribus unde voluptates. Soluta et voluptatem. Sint delectus et aperiam atque sit ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902ad877353312d0a60000", "id"=>"54902ad877353312d0a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0a80000'), "name"=>"Verna Lowe IV", "reference"=>"Millie Bogisich", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0a90000'), "author_name"=>"Alexandre Mitchell", "content"=>["Repellendus velit veritatis accusamus. Tenetur voluptas quam quasi. Sequi voluptatem animi atque quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902ad877353312d0a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0aa0000'), "name"=>"Kathleen Kovacek", "reference"=>"Mr. Javier Kuphal", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0ab0000'), "author_name"=>"Domingo Franecki", "content"=>["Voluptatem possimus quisquam ex laudantium. Hic dignissimos error ea et culpa commodi. Nihil consequuntur inventore aut blanditiis quisquam qui eveniet. Quae facilis aut sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902ad877353312d0aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0ac0000'), "name"=>"Russ Hickle III", "reference"=>"Jesse Bartell", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0ad0000'), "author_name"=>"Thelma Crist", "content"=>["Et nobis odit ratione sint consequatur perspiciatis ex. Quae culpa est nihil temporibus eligendi. In sed ut et sunt inventore. Inventore soluta hic sed occaecati deserunt odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902ad877353312d0ac0000", "id"=>"54902ad877353312d0ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0ae0000'), "name"=>"Nikko Crooks", "reference"=>"Miss Leilani Willms", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0af0000'), "author_name"=>"Ethyl Streich", "content"=>["Non consequatur dolor repellat cumque. Consequatur totam sunt aut odit nihil. Voluptatem repellat voluptates. Esse et veritatis nihil nesciunt iure. Eligendi fugiat labore totam nisi nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902ad877353312d0ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b00000'), "name"=>"Selmer Lakin", "reference"=>"Jamey Lebsack", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0b10000'), "author_name"=>"Mireille Yost III", "content"=>["Omnis et dicta sed nihil voluptas. Porro provident alias totam. Hic doloribus facilis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902ad877353312d0b00000", "id"=>"54902ad877353312d0b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b20000'), "name"=>"Wilbert Macejkovic", "reference"=>"Dr. Oren Raynor", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad877353312d0b30000'), "author_name"=>"Kellen Breitenberg", "content"=>["Voluptatibus exercitationem non. Labore et velit veniam quasi vero corrupti enim. Et praesentium a error modi et placeat recusandae. Ex maxime dicta est. Rerum aut dolor beatae ipsam voluptates aperiam ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ad877353312d0b30000", "product_id"=>"54902ad877353312d0b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0b20000')} 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('54902ad877353312d0b20000'), "comments._id"=>BSON::ObjectId('54902ad877353312d0b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5938ms Redirected to http://test.host/products/54902ad877353312d0b20000/comments/54902ad877353312d0b30000 Completed 302 Found in 12ms ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_create ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b40000'), "firstname"=>"Tia", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2384ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Redirected to http://test.host/admin/clients/54902ad877353312d0b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2420ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b60000'), "firstname"=>"Hertha", "lastname"=>"Boehm"}] 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.1820ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902ad877353312d0b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0b60000')} 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.1973ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0b70000'), "firstname"=>"Itzel", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902ad877353312d0b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (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('54902ad877353312d0b80000'), "firstname"=>"Dante", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms 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('54902ad877353312d0b90000'), "firstname"=>"Haylee", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902ad877353312d0ba0000'), "firstname"=>"Forest", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902ad877353312d0ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3604ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0bb0000'), "firstname"=>"Theron", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1761ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902ad877353312d0bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms Redirected to http://test.host/admin/clients/54902ad877353312d0bb0000 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('54902ad877353312d0bc0000'), "firstname"=>"Ansel", "lastname"=>"Walter"}] 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=>"clients", :query=>{}} runtime: 0.2399ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms Redirected to http://test.host/clients/54902ad877353312d0bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3100ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0be0000'), "firstname"=>"Raymond", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1574ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902ad877353312d0be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms 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.2563ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0bf0000'), "firstname"=>"Therese", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902ad877353312d0bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902ad877353312d0c00000'), "firstname"=>"Heath", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4474ms 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('54902ad877353312d0c10000'), "firstname"=>"Ignatius", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902ad877353312d0c20000'), "firstname"=>"Stella", "lastname"=>"Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902ad877353312d0c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902ad877353312d0c30000'), "firstname"=>"Treva", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902ad877353312d0c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ad877353312d0c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Redirected to http://test.host/clients/54902ad877353312d0c30000 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('54902ad877353312d0c40000'), "name"=>"Pearline Wiza", "reference"=>"Mrs. Shanie Goyette", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0c50000'), "firstname"=>"Kadin", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902ad877353312d0c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms Redirected to http://test.host/products/54902ad877353312d0c40000/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('54902ad877353312d0c70000'), "name"=>"Katelin McDermott", "reference"=>"Dr. Dessie Christiansen", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0c80000'), "firstname"=>"Kelsi", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902ad877353312d0c80000", "product_id"=>"54902ad877353312d0c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0c90000'), "name"=>"Fermin Koelpin", "reference"=>"Louisa Lowe", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0ca0000'), "firstname"=>"Virgie", "lastname"=>"Emard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902ad877353312d0c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0cb0000'), "name"=>"Elfrieda Bayer", "reference"=>"Loyce Gislason", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0cc0000'), "firstname"=>"Nichole", "lastname"=>"Bartoletti"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5515ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902ad877353312d0cc0000", "product_id"=>"54902ad877353312d0cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4849ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0cd0000'), "name"=>"Mr. Gino Rice", "reference"=>"Citlalli Little", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902ad877353312d0ce0000'), "firstname"=>"Carlee", "lastname"=>"Hahn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902ad877353312d0ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902ad877353312d0cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms Unpermitted parameters: name Redirected to http://test.host/products/54902ad877353312d0cd0000/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('54902ad877353312d0cf0000'), "name"=>"Louvenia Stanton PhD", "reference"=>"Barrett Lind", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d00000'), "name"=>"Lilian Lubowitz", "reference"=>"Jayce Smith", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d10000'), "name"=>"Ora Dare", "reference"=>"Ole Quigley", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d20000'), "name"=>"Elsie Bradtke", "reference"=>"Quincy Huels", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d30000'), "name"=>"Julianne Fisher", "reference"=>"Nicholaus Prohaska", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d40000'), "name"=>"Daisy Borer", "reference"=>"Verla Mertz", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1614ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms Redirected to http://test.host/products/54902ad877353312d0d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2543ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d60000'), "name"=>"Asa Stehr", "reference"=>"Andreane Grant", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2342ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902ad877353312d0d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms 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.2630ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d70000'), "name"=>"Julian Gibson", "reference"=>"Miss Jaime Powlowski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902ad877353312d0d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54902ad877353312d0d80000'), "name"=>"Merritt Cremin", "reference"=>"Ms. Buford Feil", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9174ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280647640648] runtime: 0.1076ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2468ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0d90000'), "name"=>"Ryleigh Douglas", "reference"=>"Nella Bernier", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0da0000'), "name"=>"HelloWorld", "reference"=>"Rex Zemlak Sr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0db0000'), "name"=>"value", "reference"=>"Victor Abernathy", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2611ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2384ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1599ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2461ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2513ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1925ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1728ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0dc0000'), "name"=>"David Bradtke", "reference"=>"Miss Shad Dickinson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051436789] runtime: 0.1005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2274ms Completed 200 OK in 17ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433107531] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456695409] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281292141890] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711210009] runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280295436196] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279246758596] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279414701167] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762862167] runtime: 0.0401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279822655065] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279608355080] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653456605] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279967760309] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723942934] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814597548] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280135773254] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471808904] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370829744] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280247610544] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717803115] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134568256] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280624951509] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049775128] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280813384046] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070155358] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279244191868] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016924944] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473826434] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280724601073] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682506458] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251703182] runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814726293] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874497199] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280631225015] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025715709] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530220706] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280455198774] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281318529566] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028165610] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279689619238] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833101249] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189390814] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280290579229] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163973567] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005701975] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280156987860] runtime: 0.0826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070427047] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750216506] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279381471081] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147443697] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874708355] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280373186008] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194578407] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280160767883] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341772911] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6159ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654748303] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432870573] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811717650] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281249854154] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256010462] runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279779672846] runtime: 0.1069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040234445] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876657939] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500097371] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048663382] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065712599] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125533209] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047948305] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089294410] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265898179] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921195413] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279665949014] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280296657568] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648407882] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738306751] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279728256214] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280261987527] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280848766929] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279767221562] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279946950981] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158225650] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213568747] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023078960] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297762929] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279576440505] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151907469] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279974206619] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683558204] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928135906] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342574081] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280230873181] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190957653] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280022469714] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912113509] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001823641] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279779409020] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320421878] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711957831] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279888178412] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136806616] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280964056789] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279888668799] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530447882] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055618248] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279185289716] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281239570508] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279454630743] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723094434] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280393388811] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280411496312] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279227989230] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280995048526] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279828221213] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440326299] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432991239] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136021878] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789135971] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279573044436] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281823180] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292222155] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861392737] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279473975336] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280038320571] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771686464] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338202026] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121062940] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280678799558] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279389615768] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279669736066] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251543035] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413982467] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658590034] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279484004316] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280961966541] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485692493] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280962485940] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279774224810] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.3678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549343508] runtime: 0.0909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280939163210] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280677143352] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161628950] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280026732222] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792128406] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281112769581] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279987916492] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279790616390] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698605345] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886027086] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279633980] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533010059] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081100995] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279479948512] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279487762597] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279852306] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858648966] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624717181] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279954794877] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280411261449] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279258195044] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969013952] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836568605] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280638945395] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223107647] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688393290] runtime: 0.0447ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0dd0000'), "name"=>"Ms. Marty Gleichner", "reference"=>"Hallie Bins PhD", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad877353312d0de0000'), "name"=>"Hattie O'Hara", "reference"=>"Kiana Kovacek", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280012764830] runtime: 0.0624ms Completed 200 OK in 5ms (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('54902ad877353312d0df0000'), "name"=>"Dr. Alexandria Nolan", "reference"=>"Alexzander Brekke", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902ad877353312d0df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad877353312d0df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms 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('54902ad877353312d0e00000'), "name"=>"Raegan Rath PhD", "reference"=>"Ms. Tamia Nienow", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e20000'), "name"=>"Mrs. Josefina Ankunding", "reference"=>"Jerad Glover", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902ad977353312d0e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e30000'), "name"=>"Ms. Felipe Hilll", "reference"=>"Jeff Walsh V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3488ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad777353312d0060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 6ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e40000'), "name"=>"Ahmad Durgan", "reference"=>"Sarai Gulgowski MD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4044ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 200 OK in 8ms (Views: 4.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e50000'), "name"=>"Shyanne Mann", "reference"=>"Dave Miller", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Completed 200 OK in 8ms (Views: 5.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e60000'), "name"=>"Celestino Effertz", "reference"=>"Leif Kilback", "quantity"=>3}] 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.3102ms 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('54902ad977353312d0e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3010ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0e80000'), "name"=>"Ms. Wade Boehm", "reference"=>"Mr. Virginie Walsh", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902ad977353312d0e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Completed 200 OK in 36ms (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('54902ad977353312d0e90000'), "name"=>"Brock Hilpert", "reference"=>"Stephany Kling", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms 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('54902ad977353312d0eb0000'), "name"=>"Miss Zander McClure", "reference"=>"Stefan Beier", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ad977353312d0eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0eb0000')} 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('54902ad977353312d0eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms 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('54902ad977353312d0ec0000'), "name"=>"Norwood Johnston", "reference"=>"Lillian Hegmann", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ad977353312d0ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Redirected to http://test.host/products/54902ad977353312d0ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0ef0000'), "name"=>"Alice Raynor", "reference"=>"Jevon Kulas", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0ed0000'), "author_name"=>"Marty Dach", "content"=>["Temporibus sed necessitatibus illo nobis perspiciatis quis. Dolorum provident deleniti doloremque occaecati et. Ex omnis aut voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0ee0000'), "author_name"=>"Tiana Renner", "content"=>["Aut animi dignissimos ipsum qui et. Dolores veniam iusto. Voluptatem voluptatem quasi deleniti et esse dolore. Nulla repellat cum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ad977353312d0ef0000", "comment_id"=>"54902ad977353312d0ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ef0000'), "comments._id"=>BSON::ObjectId('54902ad977353312d0ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902ad977353312d0f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6826ms Redirected to http://test.host/products/54902ad977353312d0ef0000/comments/54902ad977353312d0ed0000/comments/54902ad977353312d0f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0f30000'), "name"=>"Ottilie Langosh", "reference"=>"Paxton Greenholt", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f10000'), "author_name"=>"Mr. Abelardo Conroy", "content"=>["Sed quia quos officia laboriosam doloribus et dicta. Voluptates perspiciatis nemo aperiam neque hic quia est. Dolorem et labore soluta cumque occaecati esse. Dolores ut sunt corrupti dicta fugiat. Ut nostrum dignissimos corporis at quia voluptatem ut."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f20000'), "author_name"=>"Pearlie Dibbert", "content"=>["Quo ipsam officia tempora voluptatem ipsa quod. Quae id in delectus. Dolores consequatur eius qui a qui iste quia. Soluta porro non possimus ipsum exercitationem repellat. Debitis maiores sit natus deleniti et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902ad977353312d0f30000", "comment_id"=>"54902ad977353312d0f10000", "id"=>"54902ad977353312d0f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f30000'), "comments._id"=>BSON::ObjectId('54902ad977353312d0f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902ad977353312d0f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5851ms Redirected to http://test.host/products/54902ad977353312d0f30000/comments/54902ad977353312d0f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0f60000'), "name"=>"Raul Ward", "reference"=>"Erich Weimann", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f40000'), "author_name"=>"Ms. Fidel Jacobson", "content"=>["Perferendis blanditiis eveniet nihil illum porro nulla et. Impedit vitae quas ipsam natus molestiae a. Rerum eaque error et sit."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f50000'), "author_name"=>"Miss Dennis Bartell", "content"=>["Quis iste aut ea dolorum. Sunt eaque doloremque voluptas aut est illum. Ratione a dolorem esse voluptatibus similique dolore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902ad977353312d0f60000", "comment_id"=>"54902ad977353312d0f40000", "id"=>"54902ad977353312d0f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4045ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 9ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0f90000'), "name"=>"Matteo Kerluke V", "reference"=>"Heidi Schowalter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f70000'), "author_name"=>"Herminio Walker", "content"=>["Dolor beatae incidunt. Aspernatur nisi assumenda rerum ipsam cupiditate. Est facere autem maiores at consequatur eos asperiores. Nesciunt amet nulla minima quo sit quo id. Accusantium quos ipsam iusto nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0f80000'), "author_name"=>"Devin Carter", "content"=>["Ea ut iste fugiat veritatis necessitatibus non. A et voluptas ipsum omnis libero molestias. Dolores alias nemo impedit sint soluta. Nihil veniam in est nemo sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5513ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902ad977353312d0f90000", "comment_id"=>"54902ad977353312d0f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0fc0000'), "name"=>"Mrs. Cyril Roberts", "reference"=>"Brent Koch", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0fa0000'), "author_name"=>"Catalina Funk II", "content"=>["Cupiditate soluta labore molestiae deserunt modi. Est et culpa aut nam autem nihil. Quo et nihil iusto pariatur. Et fugiat reprehenderit ut tempore."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0fb0000'), "author_name"=>"Pattie Heidenreich", "content"=>["Beatae reprehenderit est repellendus aperiam. Et sit soluta animi illum. Eius quis nihil et dolores. In beatae illo est iste et dolores dolorum. Officiis possimus sit est maxime."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902ad977353312d0fc0000", "comment_id"=>"54902ad977353312d0fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0ff0000'), "name"=>"Shad Lesch", "reference"=>"Loyce Weber MD", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0fd0000'), "author_name"=>"Thora Anderson", "content"=>["Itaque rerum libero. Non labore cumque harum magnam molestiae officia sunt. Sapiente numquam sit."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0fe0000'), "author_name"=>"Mr. Phoebe Leannon", "content"=>["Labore eum provident qui. Tenetur dolor nesciunt. Ratione cumque eos accusantium at consequatur sunt molestiae. Et sint voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902ad977353312d0ff0000", "comment_id"=>"54902ad977353312d0fd0000", "id"=>"54902ad977353312d0fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0020100'), "name"=>"Montana Kling", "reference"=>"Miss Joseph Dach", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0000100'), "author_name"=>"Brody Franecki", "content"=>["Dignissimos rerum rem unde. Commodi quo ab aut. Porro at enim molestias."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0010100'), "author_name"=>"Mike Streich", "content"=>["Dolores labore omnis debitis. Sit pariatur et delectus. Et ut perferendis vel quae nihil accusantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8502ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902ad977353312d0020100", "comment_id"=>"54902ad977353312d0000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0050100'), "name"=>"Mr. Jordon Fadel", "reference"=>"Dena Reichel IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0030100'), "author_name"=>"Melvina Lehner", "content"=>["Eligendi eveniet commodi laudantium nulla dolores. Et saepe ipsam distinctio consectetur fuga. Eveniet voluptas deserunt."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0040100'), "author_name"=>"Miss Constance Sporer", "content"=>["Expedita sint voluptatum voluptas eaque sed recusandae autem. Velit maiores itaque perspiciatis at ut. Quod enim qui amet praesentium accusantium eligendi ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5407ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902ad977353312d0050100", "comment_id"=>"54902ad977353312d0030100", "id"=>"54902ad977353312d0040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0080100'), "name"=>"Raquel Nicolas", "reference"=>"Marie Little", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0060100'), "author_name"=>"Dr. Lesly Ondricka", "content"=>["Veniam numquam eos. Debitis ratione natus non. Ullam velit eum aut officia voluptate. Delectus id animi et dolores nam et ad. Facere saepe dolorem quisquam veniam."], "comments"=>[{"_id"=>BSON::ObjectId('54902ad977353312d0070100'), "author_name"=>"Karl Sipes", "content"=>["Iste et animi laboriosam. Omnis sunt labore fugiat modi et qui. Et et est ipsum adipisci et fugiat nostrum. Harum minima accusantium non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ad977353312d0070100", "product_id"=>"54902ad977353312d0080100", "comment_id"=>"54902ad977353312d0060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ad977353312d0080100'), "comments._id"=>BSON::ObjectId('54902ad977353312d0060100'), "comments.0.comments._id"=>BSON::ObjectId('54902ad977353312d0070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6793ms Redirected to http://test.host/products/54902ad977353312d0080100/comments/54902ad977353312d0060100/comments/54902ad977353312d0070100 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('54902ad977353312d0090100'), "firstname"=>"Trever", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5858ms 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('54902ad977353312d00a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Redirected to http://test.host/users/54902ad977353312d00a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2689ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad977353312d00b0100'), "firstname"=>"Josefina", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1808ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902ad977353312d00b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad977353312d00b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad977353312d00b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms 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.2102ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad977353312d00c0100'), "firstname"=>"Nikolas", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902ad977353312d00c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad977353312d00c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 42ms (Views: 40.3ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad977353312d00d0100'), "firstname"=>"Joannie", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5139ms 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.4718ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad977353312d00e0100'), "firstname"=>"Friedrich", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902ad977353312d00f0100'), "firstname"=>"Lauren", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5182ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902ad977353312d00f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad977353312d00f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ad977353312d0100100'), "firstname"=>"Lucile", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902ad977353312d0100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ad977353312d0100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms Unpermitted parameters: name Redirected to http://test.host/users/54902ad977353312d0100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5144ms 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.4904ms MOPED: 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 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.4267ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6138ms 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.4248ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afb773533130a000000'), "firstname"=>"Morgan", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5712ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1964ms 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('54902afb773533130a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms 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.2623ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afb773533130a020000'), "firstname"=>"Jermaine", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902afb773533130a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afb773533130a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afb773533130a030000'), "firstname"=>"Joaquin", "lastname"=>"Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5320ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afb773533130a040000'), "firstname"=>"Raoul", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902afb773533130a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afb773533130a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afb773533130a050000'), "firstname"=>"Jasen", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902afb773533130a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afb773533130a050000')} 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 2ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a060000'), "name"=>"Frederic Turcotte III", "reference"=>"Elfrieda Considine Sr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a070000'), "author_name"=>"Mrs. Violette Hammes", "content"=>["Quidem rerum quia at. Omnis cum reprehenderit ut itaque dolor similique. Eum et et rerum est. Voluptatem praesentium voluptatem quod voluptatem possimus incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902afb773533130a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902afb773533130a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms Redirected to http://test.host/admin/products/54902afb773533130a060000/comments/54902afb773533130a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a090000'), "name"=>"Matilde Hauck", "reference"=>"Ms. Katrine Trantow", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a0a0000'), "author_name"=>"Jeremy Halvorson", "content"=>["Vero numquam dolor voluptas qui harum ut recusandae. Temporibus minus cupiditate. Aliquid ipsam culpa minus sed quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902afb773533130a090000", "id"=>"54902afb773533130a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902afb773533130a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms Redirected to http://test.host/admin/products/54902afb773533130a090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a0b0000'), "name"=>"Linnie Towne", "reference"=>"Mr. Gail Pagac", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a0c0000'), "author_name"=>"Brielle Dooley", "content"=>["Laborum nostrum sed sit consequatur repudiandae voluptas. Vitae harum omnis cupiditate. Id porro placeat hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902afb773533130a0b0000", "id"=>"54902afb773533130a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a0d0000'), "name"=>"Camilla Jakubowski", "reference"=>"Leonel Wisozk", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a0e0000'), "author_name"=>"Earline Prohaska Jr.", "content"=>["Modi quam deleniti facilis. Reiciendis maiores corrupti. Officiis dolores provident est nemo laudantium et suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902afb773533130a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a0f0000'), "name"=>"Marge Kemmer", "reference"=>"Donato Gerhold", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a100000'), "author_name"=>"Brayan Streich", "content"=>["Adipisci consequatur qui aut eum vel. Voluptates recusandae velit qui animi aut. Earum id labore sed rerum et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5355ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902afb773533130a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a110000'), "name"=>"Nellie Hane", "reference"=>"Jamar Wiza", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a120000'), "author_name"=>"Haven Kirlin III", "content"=>["Voluptatem non optio qui maxime culpa blanditiis. Non molestiae aut aliquam nemo aut beatae provident. Dicta nostrum numquam. Placeat enim repudiandae ullam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902afb773533130a110000", "id"=>"54902afb773533130a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a130000'), "name"=>"Brooks Beer", "reference"=>"Jo Dicki", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902afb773533130a140000'), "author_name"=>"Camden Murray", "content"=>["Aut aut aliquid dolores tempora fugiat et neque. Earum alias amet libero blanditiis deleniti doloremque. Sed mollitia qui sapiente repellendus perferendis facere et. Quo dolorum molestiae consequatur odio sit id. Reprehenderit tempora nostrum dolor repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902afb773533130a140000", "product_id"=>"54902afb773533130a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a130000'), "comments._id"=>BSON::ObjectId('54902afb773533130a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4005ms Redirected to http://test.host/admin/products/54902afb773533130a130000/comments/54902afb773533130a140000 Completed 302 Found in 7ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a150000'), "name"=>"Maryam Toy", "reference"=>"Esther Lubowitz", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a160000'), "firstname"=>"Gabriel", "lastname"=>"Lang"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7398ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902afb773533130a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4591ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Redirected to http://test.host/admin/products/54902afb773533130a150000/manager Completed 302 Found in 8ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a180000'), "name"=>"Reina Grady", "reference"=>"Tiana Stoltenberg IV", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a190000'), "firstname"=>"Tre", "lastname"=>"Willms"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5308ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902afb773533130a190000", "product_id"=>"54902afb773533130a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3977ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 12ms (Views: 9.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a1a0000'), "name"=>"Harold Carter", "reference"=>"Mr. Stanton Parker", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a1b0000'), "firstname"=>"Icie", "lastname"=>"Raynor"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5531ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902afb773533130a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3906ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (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('54902afb773533130a1c0000'), "name"=>"Craig Grady", "reference"=>"Ms. Jaquelin Sipes", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a1d0000'), "firstname"=>"Alexa", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902afb773533130a1d0000", "product_id"=>"54902afb773533130a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 8ms (Views: 5.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a1e0000'), "name"=>"Lucio Gutmann", "reference"=>"Madisyn Wehner", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902afb773533130a1f0000'), "firstname"=>"Judy", "lastname"=>"Skiles"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902afb773533130a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902afb773533130a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902afb773533130a1e0000/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('54902afb773533130a200000'), "name"=>"Dr. Aurelia Cronin", "reference"=>"Jace Luettgen", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5551ms 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('54902afb773533130a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Redirected to http://test.host/admin/products/54902afb773533130a210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2577ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afb773533130a220000'), "name"=>"Mrs. Thomas Crist", "reference"=>"Loyce Veum", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2308ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902afb773533130a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms 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.2510ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130a230000'), "name"=>"Renee Ullrich", "reference"=>"Blanche Hauck", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902afc773533130a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 9ms (Views: 7.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130a240000'), "name"=>"Buster Beatty", "reference"=>"Watson Sanford", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms 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.5944ms Completed 200 OK in 13ms (Views: 12.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130a250000'), "name"=>"Mackenzie Wehner", "reference"=>"Adaline Hoppe", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 22ms (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('54902afc773533130a280000'), "name"=>"Leland Donnelly", "reference"=>"Emanuel Bruen", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902afc773533130a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) 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('54902afc773533130a290000'), "name"=>"Ms. Jaylan Stokes", "reference"=>"Tristin Bernhard V", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902afc773533130a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms Redirected to http://test.host/admin/products/54902afc773533130a290000 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('54902afc773533130a2a0000'), "firstname"=>"Jacklyn", "lastname"=>"Cummings"}] 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=>"admin_users", :query=>{}} runtime: 0.1606ms 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('54902afc773533130a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Redirected to http://test.host/admin/users/54902afc773533130a2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1751ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afc773533130a2c0000'), "firstname"=>"Amber", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1659ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902afc773533130a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afc773533130a2c0000')} 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('54902afc773533130a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms 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('54902afc773533130a2d0000'), "firstname"=>"Michale", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902afc773533130a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afc773533130a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afc773533130a2e0000'), "firstname"=>"Pauline", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms 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.3214ms 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('54902afc773533130a2f0000'), "firstname"=>"Brielle", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902afc773533130a300000'), "firstname"=>"Hadley", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902afc773533130a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afc773533130a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afc773533130a310000'), "firstname"=>"Napoleon", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902afc773533130a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afc773533130a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5142ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902afc773533130a310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afc773533130a320000'), "firstname"=>"Keely", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6257ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2979ms 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('54902afc773533130a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4923ms 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.3098ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afc773533130a340000'), "firstname"=>"Halie", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902afc773533130a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afc773533130a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4004ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afc773533130a350000'), "firstname"=>"Gretchen", "lastname"=>"Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5724ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afc773533130a360000'), "firstname"=>"Hope", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5483ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902afc773533130a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afc773533130a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3824ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902afc773533130a370000'), "firstname"=>"Clifton", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902afc773533130a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902afc773533130a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a380000'), "name"=>"Mustafa Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a390000'), "name"=>"Agustina Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3a0000'), "name"=>"Ms. Ines Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3b0000'), "name"=>"Kyra Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3c0000'), "name"=>"Anahi Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3d0000'), "name"=>"Millie Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3e0000'), "name"=>"Enrique Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a3f0000'), "name"=>"Shaina Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a400000'), "name"=>"Philip Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a410000'), "name"=>"Jade Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a420000'), "name"=>"Lucy Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a430000'), "name"=>"Brody Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a440000'), "name"=>"Shawn Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a450000'), "name"=>"Sydni Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a460000'), "name"=>"Mr. Savannah Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a470000'), "name"=>"Columbus Krajcik IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a480000'), "name"=>"Eusebio Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a490000'), "name"=>"Karina Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4a0000'), "name"=>"Margie Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4b0000'), "name"=>"Waldo Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4c0000'), "name"=>"Mr. Viva Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4d0000'), "name"=>"Alexzander Marvin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4e0000'), "name"=>"Genoveva Ward V"}] 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={"category_id"=>BSON::ObjectId('54902afc773533130a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a4f0000'), "name"=>"Dr. David Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a500000'), "name"=>"Naomie Koepp Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a510000'), "name"=>"Torrance Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a520000'), "name"=>"Miss Ephraim Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a530000'), "name"=>"Ricardo Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a540000'), "name"=>"Einar Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a550000'), "name"=>"Sammy Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a560000'), "name"=>"Anthony Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a570000'), "name"=>"Miss Haven Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a580000'), "name"=>"Myah Kuhic DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a590000'), "name"=>"Jacky Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5a0000'), "name"=>"Florine Olson DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5b0000'), "name"=>"Dariana Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5c0000'), "name"=>"Eden Kuhlman I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5d0000'), "name"=>"Stan Deckow PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5e0000'), "name"=>"Steve Leannon Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a5f0000'), "name"=>"Mable Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a600000'), "name"=>"Maria Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a610000'), "name"=>"Mrs. Roel Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a620000'), "name"=>"Tracy Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a630000'), "name"=>"Lauretta O'Hara III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a640000'), "name"=>"Garnett Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a650000'), "name"=>"Jocelyn Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a660000'), "name"=>"Ephraim West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a670000'), "name"=>"Ceasar Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a680000'), "name"=>"Athena Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a690000'), "name"=>"Nyah Marvin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1948ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6a0000'), "name"=>"Amanda Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6b0000'), "name"=>"Ethelyn Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6c0000'), "name"=>"Jack Marks V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6d0000'), "name"=>"Arnold Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6e0000'), "name"=>"Caesar Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a6f0000'), "name"=>"Lauryn Kiehn Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a700000'), "name"=>"Quincy Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a710000'), "name"=>"Reese Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a720000'), "name"=>"Guillermo Pfeffer II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a730000'), "name"=>"Arlene Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a740000'), "name"=>"Mr. Lyric Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a750000'), "name"=>"Miss Dusty Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a760000'), "name"=>"Delia Spinka II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a770000'), "name"=>"Halle Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a780000'), "name"=>"Miss Zachariah Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a790000'), "name"=>"Khalil Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7a0000'), "name"=>"Chris Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7b0000'), "name"=>"Kylee Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7c0000'), "name"=>"Mina Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7d0000'), "name"=>"Floy D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7e0000'), "name"=>"Gabrielle Goyette IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a7f0000'), "name"=>"Diamond Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a800000'), "name"=>"Jerome Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a810000'), "name"=>"Mr. Casper McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a820000'), "name"=>"Mr. Johnson Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a830000'), "name"=>"Darren Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a840000'), "name"=>"Miss Vanessa Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a850000'), "name"=>"Arden Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a860000'), "name"=>"Everette Bins II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a870000'), "name"=>"Josiah Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a880000'), "name"=>"Carter Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a890000'), "name"=>"Evert Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8a0000'), "name"=>"Virginia Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8b0000'), "name"=>"Virginie Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8c0000'), "name"=>"Mina Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8d0000'), "name"=>"Dr. Shannon Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8e0000'), "name"=>"Charity Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a8f0000'), "name"=>"Arnold Skiles DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a900000'), "name"=>"Brannon Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a910000'), "name"=>"Bernadette Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a920000'), "name"=>"Rudolph Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a930000'), "name"=>"Jeffrey Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a940000'), "name"=>"Miss Derek Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a950000'), "name"=>"Brenda Lemke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a960000'), "name"=>"Shad Waelchi DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a970000'), "name"=>"Bonita Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1539ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms Redirected to http://test.host/categories/54902afc773533130a980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2017ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a990000'), "name"=>"Ms. Linda Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2010ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902afc773533130a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1959ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a9a0000'), "name"=>"Dejuan Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902afc773533130a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a9b0000'), "name"=>"Bernadine Farrell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305717685520] runtime: 0.1085ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3264ms Completed 200 OK in 15ms (Views: 14.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a9c0000'), "name"=>"Carmine Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[304947926929] runtime: 0.0779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2871ms Completed 200 OK in 8ms (Views: 7.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a9d0000'), "name"=>"Violet Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130a9f0000'), "name"=>"London Hand"}] 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={"category_id"=>BSON::ObjectId('54902afc773533130a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902afc773533130a9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902afc773533130aa00000'), "name"=>"Agustina Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902afc773533130aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902afc773533130aa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902afc773533130aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms Redirected to http://test.host/categories/54902afc773533130aa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aa10000'), "name"=>"Idella Effertz IV", "reference"=>"Sedrick Dicki", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aa20000'), "author_name"=>"Burley Hahn", "content"=>["Magni alias aliquam est commodi impedit repellat. Magnam consequatur accusamus et nihil sint possimus expedita. Optio molestias pariatur doloribus. Necessitatibus consequatur accusantium assumenda omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa10000')} 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"=>"54902afc773533130aa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa10000')} 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('54902afc773533130aa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902afc773533130aa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms Redirected to http://test.host/products/54902afc773533130aa10000/comments/54902afc773533130aa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aa40000'), "name"=>"Hilda Bergnaum", "reference"=>"Ms. Verna Murazik", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aa50000'), "author_name"=>"Jovani Wintheiser", "content"=>["Repellendus repudiandae autem nobis. Cumque beatae consequuntur et. Quis non enim. Aperiam neque perspiciatis incidunt sint facilis. Autem rerum quisquam."]}]}] 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('54902afc773533130aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902afc773533130aa40000", "id"=>"54902afc773533130aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902afc773533130aa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms Redirected to http://test.host/products/54902afc773533130aa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aa60000'), "name"=>"Verna Mitchell", "reference"=>"Allen Wehner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aa70000'), "author_name"=>"Rudy Cummerata", "content"=>["Officiis est veniam nobis dolorem explicabo hic id. Consequatur tenetur voluptatum et eum nam quidem. Qui quibusdam quae delectus dicta nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902afc773533130aa60000", "id"=>"54902afc773533130aa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aa80000'), "name"=>"Miss Simone Strosin", "reference"=>"Dewayne Emmerich", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aa90000'), "author_name"=>"Marilyne Hintz", "content"=>["In est explicabo. Distinctio magni cupiditate laboriosam. Labore officia eos at voluptatem cum. Fuga ea placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0752ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902afc773533130aa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aaa0000'), "name"=>"Tyshawn Davis I", "reference"=>"Bianka Bergstrom", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aab0000'), "author_name"=>"Mrs. Blaise Weissnat", "content"=>["Porro neque laborum quam inventore eos ut. Iusto incidunt aliquam mollitia occaecati cupiditate. Similique enim autem quod aspernatur ut soluta doloribus. Temporibus est aut. Quasi facere ducimus modi sint earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902afc773533130aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aac0000'), "name"=>"Mrs. Juston Price", "reference"=>"Mrs. Dewayne Hettinger", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aad0000'), "author_name"=>"Keara Reichel", "content"=>["Veritatis omnis in corporis aut. Ad quis distinctio. Expedita eligendi impedit neque modi minus iure blanditiis. Repellendus numquam qui asperiores. Officia inventore eligendi neque delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902afc773533130aac0000", "id"=>"54902afc773533130aad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130aae0000'), "name"=>"Korey Gutkowski", "reference"=>"Marques Lindgren IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130aaf0000'), "author_name"=>"Oscar Reichert", "content"=>["Neque ut officiis explicabo. Libero repellat dolor hic tempora mollitia et. Magni deleniti vero ut dolorum mollitia iure. Quae facilis molestias praesentium consequuntur sit voluptas. Non voluptatem provident sint rerum iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902afc773533130aae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ab00000'), "name"=>"Joaquin Gottlieb", "reference"=>"Caesar Kuhlman III", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130ab10000'), "author_name"=>"Gerda Funk", "content"=>["Officia quod soluta sed ut est at. Ut voluptatum reiciendis. Rerum tempore velit eos sint voluptatem non neque. Ratione repellat aut nihil ipsa labore eveniet. Culpa dolore omnis dolorem ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5373ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902afc773533130ab00000", "id"=>"54902afc773533130ab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ab20000'), "name"=>"Brady Gibson DVM", "reference"=>"Annetta Ortiz V", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902afc773533130ab30000'), "author_name"=>"Mrs. Terrill Shanahan", "content"=>["Incidunt maxime quasi aut explicabo sapiente ullam neque. Neque explicabo possimus saepe. Aut molestiae ex commodi voluptas autem harum. Totam sequi voluptatem qui voluptatem et autem. Ipsa accusamus expedita nisi nihil rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5276ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902afc773533130ab30000", "product_id"=>"54902afc773533130ab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ab20000'), "comments._id"=>BSON::ObjectId('54902afc773533130ab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5874ms Redirected to http://test.host/products/54902afc773533130ab20000/comments/54902afc773533130ab30000 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('54902afc773533130ab40000'), "firstname"=>"Nia", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2044ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130ab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms Redirected to http://test.host/admin/clients/54902afc773533130ab50000 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('54902afc773533130ab60000'), "firstname"=>"Janelle", "lastname"=>"Feeney"}] 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=>"clients", :query=>{}} runtime: 0.1853ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902afc773533130ab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130ab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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.2234ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130ab70000'), "firstname"=>"Yasmin", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902afc773533130ab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130ab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) 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('54902afc773533130ab80000'), "firstname"=>"Elton", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902afc773533130ab90000'), "firstname"=>"Joseph", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5385ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54902afc773533130aba0000'), "firstname"=>"Clementine", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902afc773533130aba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.1ms) Completed 200 OK in 8ms (Views: 6.2ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130abb0000'), "firstname"=>"Leon", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9557ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902afc773533130abb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130abb0000')} 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('54902afc773533130abb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms Redirected to http://test.host/admin/clients/54902afc773533130abb0000 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('54902afc773533130abc0000'), "firstname"=>"Dianna", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1331ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130abd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms Redirected to http://test.host/clients/54902afc773533130abd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1490ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130abe0000'), "firstname"=>"Jared", "lastname"=>"Friesen"}] 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=>"clients", :query=>{}} runtime: 0.1698ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902afc773533130abe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130abe0000')} 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('54902afc773533130abe0000')} 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.1764ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130abf0000'), "firstname"=>"Ronaldo", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902afc773533130abf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130ac00000'), "firstname"=>"Irving", "lastname"=>"Gislason"}] 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.3612ms 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('54902afc773533130ac10000'), "firstname"=>"Isabelle", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902afc773533130ac20000'), "firstname"=>"Alyson", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902afc773533130ac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902afc773533130ac30000'), "firstname"=>"Carolyn", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902afc773533130ac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902afc773533130ac30000')} 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('54902afc773533130ac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0805ms Redirected to http://test.host/clients/54902afc773533130ac30000 Completed 302 Found in 8ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ac40000'), "name"=>"Ashlee Considine DDS", "reference"=>"Faye Bruen", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902afc773533130ac50000'), "firstname"=>"Ashtyn", "lastname"=>"Greenholt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902afc773533130ac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902afc773533130ac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms Redirected to http://test.host/products/54902afc773533130ac40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ac70000'), "name"=>"Rahsaan Gleason", "reference"=>"Minerva Metz", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902afc773533130ac80000'), "firstname"=>"Garland", "lastname"=>"Ward"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902afc773533130ac80000", "product_id"=>"54902afc773533130ac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ac90000'), "name"=>"Arnoldo Reinger", "reference"=>"Daron Reinger", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902afc773533130aca0000'), "firstname"=>"Ransom", "lastname"=>"Rohan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902afc773533130ac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130acb0000'), "name"=>"Ciara Jakubowski", "reference"=>"Mrs. Bart Russel", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902afc773533130acc0000'), "firstname"=>"Vicenta", "lastname"=>"Romaguera"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902afc773533130acc0000", "product_id"=>"54902afc773533130acb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130acd0000'), "name"=>"Zola Lang", "reference"=>"Wilson Bins II", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902afc773533130ace0000'), "firstname"=>"Zella", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902afc773533130ace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902afc773533130acd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms Unpermitted parameters: name Redirected to http://test.host/products/54902afc773533130acd0000/manager Completed 302 Found in 28ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130acf0000'), "name"=>"Miss Johnathan Murphy", "reference"=>"Miss Marlee Roob", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad00000'), "name"=>"Brycen Conroy", "reference"=>"Francesca Mueller III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad10000'), "name"=>"Kevon Gaylord", "reference"=>"Mr. Helena Vandervort", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad20000'), "name"=>"Marie Wisoky", "reference"=>"Ashlynn Monahan", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad30000'), "name"=>"Isabella Strosin", "reference"=>"Emmitt Stokes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad40000'), "name"=>"Astrid Roob", "reference"=>"Ms. Alysha Macejkovic", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1622ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Redirected to http://test.host/products/54902afc773533130ad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1547ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad60000'), "name"=>"Ms. Virginie Davis", "reference"=>"Kariane Koepp", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1317ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902afc773533130ad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms 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.1457ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad70000'), "name"=>"Janelle Hickle", "reference"=>"Brenda Russel", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902afc773533130ad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afc773533130ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54902afc773533130ad80000'), "name"=>"Robbie Hintz", "reference"=>"Franco Pollich", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167982924] runtime: 0.1030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2473ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ad90000'), "name"=>"Nelda Flatley", "reference"=>"Maureen Corwin MD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130ada0000'), "name"=>"HelloWorld", "reference"=>"Ole Cormier", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130adb0000'), "name"=>"value", "reference"=>"Mr. Dallin Johnston", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5114ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3935ms Completed 200 OK in 9ms (Views: 8.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3069ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2263ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2656ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2477ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1603ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afc773533130adc0000'), "name"=>"Mercedes Olson", "reference"=>"Tate Weimann", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281318488278] runtime: 0.0971ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2647ms Completed 200 OK in 16ms (Views: 15.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280498552066] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279188654394] runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738136825] runtime: 0.0811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280346284497] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901771840] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280553700621] runtime: 0.0403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279266406733] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132195959] runtime: 0.0702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272498442] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280292738678] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730359861] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933349835] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117882933] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281242979647] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281083195200] runtime: 0.0401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280999551057] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088750048] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649047736] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279990967336] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280704487433] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901443239] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280915035692] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280512771234] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248201096] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232889600] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737533304] runtime: 0.0809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193896907] runtime: 0.0796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279283195682] runtime: 0.0782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859318067] runtime: 0.0884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262489368] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981703290] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280578220817] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704722133] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750128528] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280241033274] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106278325] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338417909] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280254639139] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864430358] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492016971] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639631420] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177710470] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966592275] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876777324] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280604348145] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414742904] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279650300574] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208434275] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195938775] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280747137433] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601655999] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279453236335] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280405423] runtime: 0.0390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279416554346] runtime: 0.0392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280831787341] runtime: 0.0393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743881210] runtime: 0.0389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280825257383] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764407697] runtime: 31.4255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051406446] runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528594960] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841232843] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280788608247] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280271708342] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280864575137] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410386431] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279698264401] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280626067805] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916858217] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279856268213] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497767850] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279308536377] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318695439] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204446919] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097536068] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066755048] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414795833] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280347163716] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322213533] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204822176] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225677653] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280010900550] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387575473] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094862324] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280940089244] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199374724] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534635788] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280164089622] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279205969543] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342030907] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282977591] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279765859947] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618711617] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715397402] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280057992522] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869660895] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701039447] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280064866752] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432614314] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891279484] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281003098285] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400632438] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838762607] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279837648333] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279396801531] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280881998534] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280129076172] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279669178579] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874996121] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280427762046] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289368560] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280045365119] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279944727337] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247071350] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280298238888] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281288138346] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723638850] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280131565089] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583132766] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280167966260] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279463921605] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371509425] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280455808361] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311430804] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279961173366] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016515966] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680167654] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279303151393] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280063706466] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336877298] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277130022] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280665161450] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280686842499] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279527610848] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841962185] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279494744049] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719963741] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281050779618] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311993830] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879406260] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186916340] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279843636231] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280395444155] runtime: 0.1018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281246637414] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981433164] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279979573361] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052566271] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279925391797] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024429731] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371099601] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069412990] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018018380] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280254687682] runtime: 0.0803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279999920697] runtime: 0.0744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241577350] runtime: 0.0989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280412108067] runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968821475] runtime: 0.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280305851718] runtime: 0.0878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280647332711] runtime: 0.1293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310639253] runtime: 0.1167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280538578776] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918835167] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922636925] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279957271913] runtime: 0.0425ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130add0000'), "name"=>"Dorris Schultz", "reference"=>"Ms. Kyra Runte", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1482ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ade0000'), "name"=>"Cristina Schimmel", "reference"=>"Miss Ruby Dach", "quantity"=>6}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.5683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384656342] runtime: 0.0599ms 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('54902afd773533130adf0000'), "name"=>"Marilou Schuppe", "reference"=>"Elwin Ortiz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902afd773533130adf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130adf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms 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('54902afd773533130ae00000'), "name"=>"Reinhold Spencer", "reference"=>"Meghan Luettgen", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54902afd773533130ae20000'), "name"=>"Harrison Carter", "reference"=>"Ari Gleason", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902afd773533130ae20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130ae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ae30000'), "name"=>"Lance Altenwerth", "reference"=>"Giuseppe Jones", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2537ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2030ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.2027ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afb773533130a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 3ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ae40000'), "name"=>"Marquis Graham", "reference"=>"Raquel Harris II", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2094ms Completed 200 OK in 6ms (Views: 3.9ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ae50000'), "name"=>"Nathaniel Schmeler", "reference"=>"Ulises Padberg", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2079ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ae60000'), "name"=>"Vickie Ernser", "reference"=>"Jensen Schroeder", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms 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('54902afd773533130ae70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130ae80000'), "name"=>"Newell Lowe V", "reference"=>"Sebastian Klocko III", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902afd773533130ae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130ae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130ae80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms 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('54902afd773533130ae90000'), "name"=>"Mariana Cassin", "reference"=>"Julianne Boehm V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms 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('54902afd773533130aeb0000'), "name"=>"Brennan McKenzie", "reference"=>"Miles Block", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902afd773533130aeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3912ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms 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('54902afd773533130aec0000'), "name"=>"Mya VonRueden PhD", "reference"=>"Titus Huels", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902afd773533130aec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms Redirected to http://test.host/products/54902afd773533130aec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130aef0000'), "name"=>"Delfina Armstrong Jr.", "reference"=>"Kayden Becker", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130aed0000'), "author_name"=>"Ms. Omer Farrell", "content"=>["Autem corrupti at commodi est. Praesentium temporibus repellendus. Sit et cumque."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130aee0000'), "author_name"=>"Marshall Blanda", "content"=>["Est voluptas veritatis magnam. Fugiat velit unde delectus omnis aut quibusdam voluptatem. Incidunt voluptatem asperiores repellat inventore sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902afd773533130aef0000", "comment_id"=>"54902afd773533130aed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aef0000'), "comments._id"=>BSON::ObjectId('54902afd773533130aed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902afd773533130af00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Redirected to http://test.host/products/54902afd773533130aef0000/comments/54902afd773533130aed0000/comments/54902afd773533130af00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130af30000'), "name"=>"Marcus Mueller", "reference"=>"Andy Sanford", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af10000'), "author_name"=>"Mrs. Valentina Barrows", "content"=>["Aut quae excepturi labore numquam nam. Beatae est corporis impedit quo molestias velit. Neque vel distinctio quibusdam velit. Voluptas totam consequatur consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af20000'), "author_name"=>"Dr. Zander Dare", "content"=>["Voluptas culpa corporis maiores sit. Aut illo officiis voluptatem quia consectetur et eum. Beatae et ducimus. Sint illo est deserunt eius ut dolores. Blanditiis veritatis ea debitis dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902afd773533130af30000", "comment_id"=>"54902afd773533130af10000", "id"=>"54902afd773533130af20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af30000'), "comments._id"=>BSON::ObjectId('54902afd773533130af10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902afd773533130af20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5496ms Redirected to http://test.host/products/54902afd773533130af30000/comments/54902afd773533130af10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130af60000'), "name"=>"Geraldine Aufderhar", "reference"=>"Jasper Boehm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af40000'), "author_name"=>"Joelle Rippin", "content"=>["Voluptas et odit tempore nesciunt recusandae fuga. Similique et ut quas aut omnis. Porro culpa dolor eaque rerum ut error et. Aut qui incidunt. Et repellendus nesciunt ratione."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af50000'), "author_name"=>"Stefan Weber", "content"=>["Velit doloribus soluta quis eum voluptatem beatae vel. Veritatis ut eos et expedita. Ut incidunt repellendus. Modi rerum porro necessitatibus in fugiat repudiandae. Quod corrupti est eius in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902afd773533130af60000", "comment_id"=>"54902afd773533130af40000", "id"=>"54902afd773533130af50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130af90000'), "name"=>"Minnie Emmerich III", "reference"=>"Ms. Kellie Gutmann", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af70000'), "author_name"=>"Maude Dietrich", "content"=>["Eum nulla ipsum vitae. Ut sunt enim accusantium distinctio minima consequatur quibusdam. Et est debitis non et commodi accusamus nobis. Magni ex aliquam. Dolor sit omnis dicta aut."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130af80000'), "author_name"=>"Van Yost", "content"=>["Sequi et laboriosam dolorem incidunt. Nostrum velit vel. Aliquam et optio aut provident. Earum rerum est ab assumenda vitae quo. Expedita officiis eligendi facere nulla."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902afd773533130af90000", "comment_id"=>"54902afd773533130af70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130afc0000'), "name"=>"Alexie Aufderhar", "reference"=>"Amie Luettgen", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130afa0000'), "author_name"=>"Abdullah Yundt", "content"=>["Et nesciunt deserunt atque omnis nobis. Soluta architecto sapiente inventore quia itaque ut. Officiis excepturi sint quibusdam."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130afb0000'), "author_name"=>"Liam Hagenes V", "content"=>["Est odit odio. Consequatur non minima quidem aut reiciendis non. Optio cum et molestiae sapiente quam architecto unde. Quod facilis non alias magni soluta voluptas quis. Veniam est dolorem asperiores unde et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902afd773533130afc0000", "comment_id"=>"54902afd773533130afa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130afc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130aff0000'), "name"=>"Jonathan Johns", "reference"=>"Edd Jaskolski", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130afd0000'), "author_name"=>"Miss Micaela Parker", "content"=>["Unde facere dolores asperiores quibusdam hic aliquid. Numquam minus maxime in esse occaecati laboriosam expedita. Eum unde sequi quaerat molestias dolor. Qui culpa exercitationem."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130afe0000'), "author_name"=>"Joaquin Renner", "content"=>["Laboriosam dolores ipsum et odit sed. Aperiam quia animi ad eum minima repellat cupiditate. Rem soluta unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902afd773533130aff0000", "comment_id"=>"54902afd773533130afd0000", "id"=>"54902afd773533130afe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130aff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms Completed 200 OK in 3ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130a020100'), "name"=>"Elsa Paucek", "reference"=>"Toby Barrows IV", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a000100'), "author_name"=>"Leif Kris", "content"=>["Soluta perspiciatis porro nemo assumenda. Iste impedit non dolores excepturi ducimus et incidunt. Qui atque enim occaecati ut impedit sequi. Sed explicabo rerum saepe nihil aliquam eveniet nostrum."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a010100'), "author_name"=>"Rashawn Howell", "content"=>["Omnis aut nesciunt maxime voluptas veritatis sed. Voluptatem qui accusantium corporis. Dolorem modi fuga voluptatem sit iure. Quam tenetur non eius laborum porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6002ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902afd773533130a020100", "comment_id"=>"54902afd773533130a000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130a020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130a050100'), "name"=>"Caroline Lind", "reference"=>"Miss Hyman Okuneva", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a030100'), "author_name"=>"Amaya Kutch DDS", "content"=>["Eveniet officiis nihil est magni suscipit porro. Dolor eum ad placeat. Iste nisi repudiandae nobis. Aperiam veritatis doloribus. Id velit quam nemo ad qui perferendis iusto."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a040100'), "author_name"=>"Gail Legros I", "content"=>["Laborum dignissimos et. Fugit alias est eum ipsa aspernatur asperiores. Adipisci quasi est est aliquam id. Quia tempora qui. Eos et quod qui iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902afd773533130a050100", "comment_id"=>"54902afd773533130a030100", "id"=>"54902afd773533130a040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130a050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4685ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.4ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902afd773533130a080100'), "name"=>"Celia Swaniawski", "reference"=>"Ellsworth Gerlach", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a060100'), "author_name"=>"Russel Gerhold", "content"=>["Et itaque et impedit repellat rerum molestiae non. Ullam quos fuga odit recusandae sed ea. Sint eligendi quam iusto."], "comments"=>[{"_id"=>BSON::ObjectId('54902afd773533130a070100'), "author_name"=>"Jermey Welch", "content"=>["Cum et consequatur. Dolorum quis beatae veritatis laborum quasi. Sit voluptas consequuntur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902afd773533130a070100", "product_id"=>"54902afd773533130a080100", "comment_id"=>"54902afd773533130a060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902afd773533130a080100')} 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('54902afd773533130a080100'), "comments._id"=>BSON::ObjectId('54902afd773533130a060100'), "comments.0.comments._id"=>BSON::ObjectId('54902afd773533130a070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Redirected to http://test.host/products/54902afd773533130a080100/comments/54902afd773533130a060100/comments/54902afd773533130a070100 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('54902afd773533130a090100'), "firstname"=>"Orville", "lastname"=>"Kautzer"}] 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=>"admin_users", :query=>{}} runtime: 0.2402ms 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('54902afd773533130a0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Redirected to http://test.host/users/54902afd773533130a0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2273ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afd773533130a0b0100'), "firstname"=>"Wallace", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2005ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902afd773533130a0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afd773533130a0b0100')} 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('54902afd773533130a0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms 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.2550ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afd773533130a0c0100'), "firstname"=>"Gay", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902afd773533130a0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afd773533130a0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 42ms (Views: 40.6ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afd773533130a0d0100'), "firstname"=>"Kacey", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5634ms 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.3915ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afd773533130a0e0100'), "firstname"=>"Abdul", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902afd773533130a0f0100'), "firstname"=>"Boyd", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902afd773533130a0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afd773533130a0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902afd773533130a100100'), "firstname"=>"Brando", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902afd773533130a100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902afd773533130a100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms Unpermitted parameters: name Redirected to http://test.host/users/54902afd773533130a100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms 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.2566ms MOPED: 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=admin_users selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms 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.2137ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca87735331447000000'), "firstname"=>"Leone", "lastname"=>"Adams"}] 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=>"administrators", :query=>{}} runtime: 0.1914ms 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('54902ca97735331447010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms 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.2665ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447020000'), "firstname"=>"Mervin", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902ca97735331447020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 20ms (Views: 18.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447030000'), "firstname"=>"Leopold", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5948ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447040000'), "firstname"=>"Marion", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902ca97735331447040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902ca97735331447050000'), "firstname"=>"Paige", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902ca97735331447050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms 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('54902ca97735331447060000'), "name"=>"Alex Renner PhD", "reference"=>"Patience Leuschke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447070000'), "author_name"=>"Barry Bradtke", "content"=>["Nam impedit distinctio voluptatem. Voluptas nulla unde distinctio cupiditate aliquam. Quod laudantium repellendus eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ca97735331447060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ca97735331447080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Redirected to http://test.host/admin/products/54902ca97735331447060000/comments/54902ca97735331447080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447090000'), "name"=>"April Goyette", "reference"=>"Pascale Reichert II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ca977353314470a0000'), "author_name"=>"Marilyne Runolfsson DDS", "content"=>["Sit harum voluptas rerum nesciunt nobis placeat voluptatum. Quo nisi rem dolores sit quisquam voluptatum fuga. Architecto at mollitia. Iste tempore ut reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ca97735331447090000", "id"=>"54902ca977353314470a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ca977353314470a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Redirected to http://test.host/admin/products/54902ca97735331447090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314470b0000'), "name"=>"Ocie Oberbrunner", "reference"=>"Taylor Balistreri", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ca977353314470c0000'), "author_name"=>"Lillian Emard", "content"=>["Ratione unde fuga pariatur earum laudantium qui perspiciatis. Eligendi voluptatum doloremque. Vitae consectetur et dicta rem dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902ca977353314470b0000", "id"=>"54902ca977353314470c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314470b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314470d0000'), "name"=>"Trevor Leuschke", "reference"=>"Mr. Hope Kilback", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ca977353314470e0000'), "author_name"=>"Myrl Reynolds I", "content"=>["Eaque consequatur maxime consequuntur similique. Amet error et ducimus. Quo eum rerum aut consectetur doloribus tempore quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902ca977353314470d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314470d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314470f0000'), "name"=>"Tyrell Kulas I", "reference"=>"Napoleon Effertz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447100000'), "author_name"=>"Braden Raynor", "content"=>["Aspernatur rerum mollitia sed tempora minima doloribus et. Non odio qui perferendis. Perferendis dolores minima rerum. Id sed ut dicta facere temporibus. Repellendus quis aut sed molestiae pariatur laboriosam eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902ca977353314470f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314470f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447110000'), "name"=>"Eldon Kirlin", "reference"=>"Blake Hessel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447120000'), "author_name"=>"Dr. Rasheed Sipes", "content"=>["Asperiores quasi maxime culpa quia. Consequatur sit voluptatem expedita. Ab qui quasi iure reprehenderit. Quidem enim recusandae ea unde dolores sed. Eaque sed fugiat quae fugit ut illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902ca97735331447110000", "id"=>"54902ca97735331447120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447130000'), "name"=>"Coy Mohr", "reference"=>"Kraig Tremblay", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447140000'), "author_name"=>"Dr. Zane Hane", "content"=>["Qui iure sit. Mollitia sequi molestiae repellendus quos sit ullam. Repudiandae sunt aut ut omnis quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3668ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ca97735331447140000", "product_id"=>"54902ca97735331447130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447130000'), "comments._id"=>BSON::ObjectId('54902ca97735331447140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Redirected to http://test.host/admin/products/54902ca97735331447130000/comments/54902ca97735331447140000 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('54902ca97735331447150000'), "name"=>"Robin Okuneva I", "reference"=>"Logan McCullough II", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902ca97735331447160000'), "firstname"=>"Tristin", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902ca97735331447150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447150000')} 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('54902ca97735331447150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902ca97735331447170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms Redirected to http://test.host/admin/products/54902ca97735331447150000/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('54902ca97735331447180000'), "name"=>"Briana Lehner", "reference"=>"Mrs. Vernice Mann", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902ca97735331447190000'), "firstname"=>"Blake", "lastname"=>"Cormier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902ca97735331447190000", "product_id"=>"54902ca97735331447180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314471a0000'), "name"=>"Shirley Douglas", "reference"=>"Oswald Becker", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902ca977353314471b0000'), "firstname"=>"Susie", "lastname"=>"Conroy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902ca977353314471a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314471a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314471c0000'), "name"=>"Lance Mills", "reference"=>"Jocelyn Goyette", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902ca977353314471d0000'), "firstname"=>"Reta", "lastname"=>"Cartwright"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902ca977353314471d0000", "product_id"=>"54902ca977353314471c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314471c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca977353314471e0000'), "name"=>"Norbert Wyman", "reference"=>"Ms. Nyasia Dibbert", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902ca977353314471f0000'), "firstname"=>"Dewayne", "lastname"=>"Ferry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902ca977353314471f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902ca977353314471e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca977353314471e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902ca977353314471e0000/manager 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('54902ca97735331447200000'), "name"=>"Houston Kunde", "reference"=>"Hilario Hansen", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6221ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2700ms 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('54902ca97735331447210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Redirected to http://test.host/admin/products/54902ca97735331447210000 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('54902ca97735331447220000'), "name"=>"Lamont Cummerata", "reference"=>"Blake Bradtke", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1948ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902ca97735331447220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms 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.2102ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447230000'), "name"=>"Marietta D'Amore", "reference"=>"Mrs. Vivienne Ziemann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902ca97735331447230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447240000'), "name"=>"Melvin Haley III", "reference"=>"Candido Kutch", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms 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.4820ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447250000'), "name"=>"Miss Geovanny Bins", "reference"=>"Pat Farrell", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447280000'), "name"=>"Marquis White", "reference"=>"Lyda Feil", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902ca97735331447280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447290000'), "name"=>"Florian Howe IV", "reference"=>"Mrs. Ross Fadel", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ca97735331447290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Redirected to http://test.host/admin/products/54902ca97735331447290000 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('54902ca977353314472a0000'), "firstname"=>"Gerson", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2529ms 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('54902ca977353314472b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Redirected to http://test.host/admin/users/54902ca977353314472b0000 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('54902ca977353314472c0000'), "firstname"=>"Teresa", "lastname"=>"Torp"}] 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=>"admin_users", :query=>{}} runtime: 0.2093ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902ca977353314472c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ca977353314472c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ca977353314472c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms 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.2016ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ca977353314472d0000'), "firstname"=>"Arnaldo", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902ca977353314472d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ca977353314472d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (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('54902ca977353314472e0000'), "firstname"=>"Bernita", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4857ms 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.4391ms 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('54902ca977353314472f0000'), "firstname"=>"Jasmin", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (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('54902ca97735331447300000'), "firstname"=>"Wilfredo", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902ca97735331447300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ca97735331447300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ca97735331447310000'), "firstname"=>"Jaron", "lastname"=>"Eichmann"}] 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"=>"54902ca97735331447310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ca97735331447310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4101ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902ca97735331447310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447320000'), "firstname"=>"Scotty", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms 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('54902ca97735331447330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms 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.1960ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447340000'), "firstname"=>"Antonette", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902ca97735331447340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447350000'), "firstname"=>"Kaylin", "lastname"=>"Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447360000'), "firstname"=>"Leola", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902ca97735331447360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ca97735331447370000'), "firstname"=>"Georgiana", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902ca97735331447370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ca97735331447370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447380000'), "name"=>"Roger Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447390000'), "name"=>"Viva Windler MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473a0000'), "name"=>"Joy Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473b0000'), "name"=>"Landen Hickle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473c0000'), "name"=>"Kelly Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473d0000'), "name"=>"Matt Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473e0000'), "name"=>"Ronny Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314473f0000'), "name"=>"Vaughn Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314473f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447400000'), "name"=>"Savannah Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447410000'), "name"=>"Ms. Alysha Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447420000'), "name"=>"Braeden Haag I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447430000'), "name"=>"Friedrich Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447440000'), "name"=>"Terry Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447450000'), "name"=>"Seth Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447460000'), "name"=>"Hester Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447470000'), "name"=>"Dr. Winfield Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447480000'), "name"=>"Simeon Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447490000'), "name"=>"Miss Thelma Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474a0000'), "name"=>"Rod Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474b0000'), "name"=>"Alessandro Leuschke MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474c0000'), "name"=>"Kaya Kuphal II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474d0000'), "name"=>"Ms. Jeffry Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474e0000'), "name"=>"Margarita Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314474f0000'), "name"=>"Ms. Winifred Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314474f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447500000'), "name"=>"Casimir Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447510000'), "name"=>"Dr. Emerson McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447520000'), "name"=>"Esperanza Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447530000'), "name"=>"Calista D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447540000'), "name"=>"Mrs. Sim Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447550000'), "name"=>"Junior Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447560000'), "name"=>"Janie Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447570000'), "name"=>"River Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447580000'), "name"=>"Ottilie Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447590000'), "name"=>"Michale Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475a0000'), "name"=>"Carley Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475b0000'), "name"=>"Syble Jaskolski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475c0000'), "name"=>"Laverna Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475d0000'), "name"=>"Bertrand Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475e0000'), "name"=>"Christophe Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314475f0000'), "name"=>"Caitlyn Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314475f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447600000'), "name"=>"Jack Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447610000'), "name"=>"Makayla Hamill DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447620000'), "name"=>"Candice DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447630000'), "name"=>"Dr. Mollie Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447640000'), "name"=>"Ruth Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447650000'), "name"=>"Angelo Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447660000'), "name"=>"Eduardo Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447670000'), "name"=>"Zachary Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447680000'), "name"=>"Cassandre Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447690000'), "name"=>"Laverna Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476a0000'), "name"=>"Gilbert Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476b0000'), "name"=>"Gianni Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476c0000'), "name"=>"Hulda Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476d0000'), "name"=>"Aurelie Oberbrunner PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476e0000'), "name"=>"Mavis Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314476f0000'), "name"=>"Ines Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314476f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447700000'), "name"=>"Flo Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447710000'), "name"=>"Florian Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447720000'), "name"=>"Kamryn Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447730000'), "name"=>"Pedro Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.6161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447740000'), "name"=>"Dominic Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447750000'), "name"=>"Russ Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447760000'), "name"=>"Pascale Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447770000'), "name"=>"Josue Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447780000'), "name"=>"Kali Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447790000'), "name"=>"London Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477a0000'), "name"=>"Alexandre Nader II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1856ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477b0000'), "name"=>"Hubert Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477c0000'), "name"=>"Christiana Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477d0000'), "name"=>"Dr. Garland Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477e0000'), "name"=>"Santa Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314477f0000'), "name"=>"Aubrey Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314477f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447800000'), "name"=>"Mrs. Maximus Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447810000'), "name"=>"Laury Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447820000'), "name"=>"Emery Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447830000'), "name"=>"Pearlie Rath III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447840000'), "name"=>"Bret Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447850000'), "name"=>"Deon Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447860000'), "name"=>"Cali Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447870000'), "name"=>"Felipe Kulas"}] 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={"category_id"=>BSON::ObjectId('54902ca97735331447870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447880000'), "name"=>"Erna Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447890000'), "name"=>"Ms. Ludwig Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478a0000'), "name"=>"Henry Grady PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478b0000'), "name"=>"Reuben Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478c0000'), "name"=>"Trudie Gleason II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478d0000'), "name"=>"Rae Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478e0000'), "name"=>"Emmanuel MacGyver V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314478f0000'), "name"=>"Alexandrea Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314478f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447900000'), "name"=>"Bailey Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447910000'), "name"=>"Candelario Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447920000'), "name"=>"Elouise Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447930000'), "name"=>"Jerel Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447940000'), "name"=>"Dr. Christopher Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447950000'), "name"=>"Henry Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447960000'), "name"=>"Tyler Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447970000'), "name"=>"Abigayle Lang V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1912ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms Redirected to http://test.host/categories/54902ca97735331447980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2187ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447990000'), "name"=>"Cora Ankunding IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1884ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902ca97735331447990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca97735331447990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca97735331447990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2064ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314479a0000'), "name"=>"Guadalupe Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902ca977353314479a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca977353314479a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314479b0000'), "name"=>"Evelyn Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305961196822] runtime: 0.1011ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2608ms Completed 200 OK in 16ms (Views: 15.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314479c0000'), "name"=>"Mr. Connor Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305371240882] runtime: 0.0873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2232ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314479d0000'), "name"=>"Mckenzie Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca977353314479f0000'), "name"=>"Victor MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902ca977353314479f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca977353314479f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca977353314479f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ca97735331447a00000'), "name"=>"Raegan Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902ca97735331447a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca97735331447a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ca97735331447a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ca97735331447a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2072ms Redirected to http://test.host/categories/54902ca97735331447a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447a10000'), "name"=>"Nestor Dach", "reference"=>"Unique Spinka", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447a20000'), "author_name"=>"Maggie Klocko", "content"=>["Eum vitae reprehenderit. Sit maiores veniam earum. Esse amet totam voluptatem. Qui quaerat qui. Qui dolore ab animi est sunt."]}]}] 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('54902ca97735331447a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ca97735331447a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ca97735331447a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Redirected to http://test.host/products/54902ca97735331447a10000/comments/54902ca97735331447a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447a40000'), "name"=>"Mrs. Bo McDermott", "reference"=>"Meta Connelly DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447a50000'), "author_name"=>"Arch Grimes", "content"=>["Quis repellat praesentium quidem. Tempore magni blanditiis magnam. Dolor ullam error explicabo sint voluptatem. Quia sed dolore doloribus qui accusantium eius dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ca97735331447a40000", "id"=>"54902ca97735331447a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4529ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ca97735331447a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms Redirected to http://test.host/products/54902ca97735331447a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447a60000'), "name"=>"Marjorie Berge", "reference"=>"Hayden Fadel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447a70000'), "author_name"=>"Abigale Gibson", "content"=>["Veritatis animi fugit et est qui accusantium. Ut sit rerum dicta. Eos sequi doloribus sapiente omnis porro tempora mollitia. Numquam nam velit. Adipisci fugiat ut iure magnam ipsum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902ca97735331447a60000", "id"=>"54902ca97735331447a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447a80000'), "name"=>"Mr. Shana Yost", "reference"=>"Rebeca Howe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447a90000'), "author_name"=>"Lance Zieme", "content"=>["Similique velit praesentium quidem dolorem. Tenetur eligendi a consequatur. Voluptatum velit repudiandae quidem nihil vel et. Veritatis eum pariatur dolorem vitae. Odit doloribus culpa commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902ca97735331447a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447aa0000'), "name"=>"Norma Thompson", "reference"=>"Marquise Littel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447ab0000'), "author_name"=>"Yessenia Wintheiser", "content"=>["Aut optio repellendus dolorem ut voluptates eum. Consequuntur officiis dolor sapiente quia rerum blanditiis. Ipsum non asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5745ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902ca97735331447aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447ac0000'), "name"=>"Sibyl Feil", "reference"=>"Demetrius Hayes", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447ad0000'), "author_name"=>"Therese Cronin", "content"=>["Quis aperiam sint. Dignissimos voluptas sapiente eum porro. In ad ipsam et vitae at ab non. Dolorem voluptate qui amet omnis natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902ca97735331447ac0000", "id"=>"54902ca97735331447ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447ae0000'), "name"=>"Oda Robel", "reference"=>"Miss Claudie Metz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447af0000'), "author_name"=>"Lysanne Kerluke", "content"=>["Vel id laudantium nam. Suscipit quas hic dicta occaecati consequatur provident esse. Aut rerum voluptate nihil error. Quis aut sint aut sint recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902ca97735331447ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.1ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447b00000'), "name"=>"Nina Carroll", "reference"=>"Francesco Volkman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447b10000'), "author_name"=>"Leatha Kerluke", "content"=>["Harum tempora debitis magnam quod. Quaerat sed nihil non debitis ut esse. Vel aliquid est dicta quam. Voluptas sint commodi culpa qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5614ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902ca97735331447b00000", "id"=>"54902ca97735331447b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4145ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ca97735331447b20000'), "name"=>"Bridget Lindgren", "reference"=>"Mrs. Asia Dooley", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ca97735331447b30000'), "author_name"=>"Rosella Skiles", "content"=>["Saepe sit deleniti non dolor nihil. Dolorum necessitatibus harum voluptatem. Odit quia voluptates. Vero non quia sint. Numquam consequatur facere officia sunt et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ca97735331447b30000", "product_id"=>"54902ca97735331447b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ca97735331447b20000')} 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('54902ca97735331447b20000'), "comments._id"=>BSON::ObjectId('54902ca97735331447b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5507ms Redirected to http://test.host/products/54902ca97735331447b20000/comments/54902ca97735331447b30000 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('54902ca97735331447b40000'), "firstname"=>"Jolie", "lastname"=>"O'Kon"}] 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=>"clients", :query=>{}} runtime: 0.2338ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ca97735331447b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Redirected to http://test.host/admin/clients/54902ca97735331447b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2535ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ca97735331447b60000'), "firstname"=>"Kelton", "lastname"=>"Lockman"}] 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=>"clients", :query=>{}} runtime: 0.2299ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902ca97735331447b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ca97735331447b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ca97735331447b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms 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.2342ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ca97735331447b70000'), "firstname"=>"Katelin", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902ca97735331447b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ca97735331447b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('54902caa7735331447b80000'), "firstname"=>"Elisabeth", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms 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('54902caa7735331447b90000'), "firstname"=>"Marcelina", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5925ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902caa7735331447ba0000'), "firstname"=>"Maudie", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902caa7735331447ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902caa7735331447bb0000'), "firstname"=>"Cyrus", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5901ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902caa7735331447bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447bb0000')} 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('54902caa7735331447bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Redirected to http://test.host/admin/clients/54902caa7735331447bb0000 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('54902caa7735331447bc0000'), "firstname"=>"Katarina", "lastname"=>"Walker"}] 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.2448ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902caa7735331447bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms Redirected to http://test.host/clients/54902caa7735331447bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2780ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902caa7735331447be0000'), "firstname"=>"Jaylon", "lastname"=>"Gleason"}] 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=>"clients", :query=>{}} runtime: 0.2313ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902caa7735331447be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms 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.1806ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902caa7735331447bf0000'), "firstname"=>"Candace", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902caa7735331447bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902caa7735331447c00000'), "firstname"=>"Kayley", "lastname"=>"Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902caa7735331447c10000'), "firstname"=>"Brendon", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54902caa7735331447c20000'), "firstname"=>"Jalen", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902caa7735331447c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902caa7735331447c30000'), "firstname"=>"Madisyn", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902caa7735331447c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902caa7735331447c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Redirected to http://test.host/clients/54902caa7735331447c30000 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('54902caa7735331447c40000'), "name"=>"Charity Waters", "reference"=>"Roxane Bechtelar", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447c50000'), "firstname"=>"Adolf", "lastname"=>"Abshire"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902caa7735331447c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447c40000')} 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('54902caa7735331447c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Redirected to http://test.host/products/54902caa7735331447c40000/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('54902caa7735331447c70000'), "name"=>"Toney Kuhic", "reference"=>"Nickolas Kuhlman", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447c80000'), "firstname"=>"Earl", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902caa7735331447c80000", "product_id"=>"54902caa7735331447c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3459ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447c90000'), "name"=>"Estrella Cole", "reference"=>"Mckayla Luettgen", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447ca0000'), "firstname"=>"Destinee", "lastname"=>"VonRueden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902caa7735331447c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447cb0000'), "name"=>"Mayra Abshire", "reference"=>"Johanna Graham", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447cc0000'), "firstname"=>"Orval", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902caa7735331447cc0000", "product_id"=>"54902caa7735331447cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447cd0000'), "name"=>"Gene Raynor", "reference"=>"Ralph Raynor", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902caa7735331447ce0000'), "firstname"=>"Betty", "lastname"=>"Altenwerth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902caa7735331447ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902caa7735331447cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3634ms Unpermitted parameters: name Redirected to http://test.host/products/54902caa7735331447cd0000/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('54902caa7735331447cf0000'), "name"=>"Reymundo Quigley", "reference"=>"Dusty Huels", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d00000'), "name"=>"Triston Stehr IV", "reference"=>"Zechariah Stracke", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d10000'), "name"=>"Alberta Bradtke", "reference"=>"Camila Fay Jr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d20000'), "name"=>"Karli Stark Sr.", "reference"=>"Idell Dooley", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d30000'), "name"=>"Ada Hammes", "reference"=>"Tillman Schmeler", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d40000'), "name"=>"Seamus Wilkinson", "reference"=>"Albert Predovic", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1910ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms Redirected to http://test.host/products/54902caa7735331447d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2144ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d60000'), "name"=>"Sheldon Gibson", "reference"=>"Mrs. Ottis McClure", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902caa7735331447d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447d60000')} 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('54902caa7735331447d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms 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.1971ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d70000'), "name"=>"Eloise Bruen", "reference"=>"Dedrick Rowe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902caa7735331447d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54902caa7735331447d80000'), "name"=>"Nola Lockman", "reference"=>"Sage Glover", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279852158851] runtime: 0.1153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2579ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447d90000'), "name"=>"Reggie Lindgren V", "reference"=>"Marta Daugherty", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447da0000'), "name"=>"HelloWorld", "reference"=>"Rosalind Dooley", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447db0000'), "name"=>"value", "reference"=>"Dr. Sidney Spencer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2627ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1977ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1717ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2304ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2201ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1825ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447dc0000'), "name"=>"Miss Kyla Baumbach", "reference"=>"Samir Koch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279610652763] runtime: 0.0965ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2306ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280034094541] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622754962] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945651915] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042834053] runtime: 0.1013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623837302] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707533271] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280807540315] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281204372563] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279431316295] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280846599373] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228577584] runtime: 0.0401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481209503] runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298686940] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279259633067] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308678709] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279931876280] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286312560] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735245710] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281210713264] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280247724181] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543379337] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279376401316] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280200230372] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279268238998] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880867293] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886894988] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336490028] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138403348] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117165720] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280954010986] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905475575] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279960073779] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568164616] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281166025898] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161398105] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280410381849] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403919896] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280633958874] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993945860] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281045478677] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279786710138] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280236837251] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124727237] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326037855] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800466869] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279312133319] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280055198922] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062936808] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280461197635] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279769495241] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535230230] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413445086] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279450241294] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497196072] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281306388916] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117260206] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280965468560] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655863343] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079843822] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591546154] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431979509] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280110633309] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.1172ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545223476] runtime: 0.1321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280550128613] runtime: 0.0849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226813841] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869222520] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181194710] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279514525231] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279359677724] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281059869688] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192355940] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229110550] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280827342302] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831495926] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280621131138] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543515971] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806898550] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279382943565] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981895146] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279389142755] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233620936] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280738185424] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648114542] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280329034134] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280818779388] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280673092143] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281199485] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144688247] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180304223] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136756747] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279560617421] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668589471] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279244001589] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280776844367] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280592402532] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280174869853] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892424678] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780412457] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279554075359] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627509376] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885133378] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219211643] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279961317806] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279227529183] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170155475] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014068380] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399108932] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280345518774] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552806230] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280032969478] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036324049] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782132891] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395369111] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677005322] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280974800544] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022425817] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243752497] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280768360] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280597803315] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877841493] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279871867316] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734735612] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281259432261] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081649857] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279546566948] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121396972] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260885852] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280656638632] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281301077947] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279884749812] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830915574] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223614091] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449157447] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524920010] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279364560634] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280138372990] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677024697] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901343016] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280370144649] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645814203] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280910024437] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279458024929] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501408474] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968588577] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686757727] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338134383] runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117711244] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226496268] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281005476058] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623912129] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593399027] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280741230452] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279536851353] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596061426] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280109235121] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457112235] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279851143090] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771231681] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950345782] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281223852305] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220103163] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449863626] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424322527] runtime: 0.0423ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447dd0000'), "name"=>"Dejuan Morissette", "reference"=>"Adriel Collier", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2559ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1469ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447de0000'), "name"=>"Mrs. Karlee Doyle", "reference"=>"Chanel Schuppe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280055894629] runtime: 0.0558ms 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('54902caa7735331447df0000'), "name"=>"Stacy Tromp", "reference"=>"Creola Purdy", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902caa7735331447df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447df0000')} 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('54902caa7735331447e00000'), "name"=>"Wade Farrell", "reference"=>"Aracely Dietrich", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e20000'), "name"=>"Gisselle Gleason", "reference"=>"Ona Parker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.6107ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902caa7735331447e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 5.0ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e30000'), "name"=>"Alexandria Steuber", "reference"=>"Weldon Erdman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true, "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3785ms Completed 200 OK in 8ms (Views: 4.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e40000'), "name"=>"Deontae Corkery", "reference"=>"Stephan Kuhic", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3119ms Completed 200 OK in 7ms (Views: 3.8ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e50000'), "name"=>"Ramiro Wiegand DDS", "reference"=>"Brianne Mosciski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3805ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3529ms Completed 200 OK in 7ms (Views: 3.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e60000'), "name"=>"Vicente Maggio V", "reference"=>"Lamont Bernier DDS", "quantity"=>2}] 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.2966ms 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('54902caa7735331447e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2814ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447e80000'), "name"=>"Lydia Beatty", "reference"=>"Jaylen Beahan", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902caa7735331447e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447e80000')} 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={"_id"=>BSON::ObjectId('54902caa7735331447e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms 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('54902caa7735331447e90000'), "name"=>"Miss Eden Purdy", "reference"=>"Kelton Effertz II", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms 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('54902caa7735331447eb0000'), "name"=>"Mr. Marques Walker", "reference"=>"Mckenna O'Hara", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902caa7735331447eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms 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('54902caa7735331447ec0000'), "name"=>"Miss Rhianna Nitzsche", "reference"=>"Melba Walker", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902caa7735331447ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms Redirected to http://test.host/products/54902caa7735331447ec0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447ef0000'), "name"=>"Orion Koepp", "reference"=>"Kadin Nader", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447ed0000'), "author_name"=>"Princess Wisoky", "content"=>["Autem inventore enim in et voluptatem. Tempora illo eos. Debitis minus eum et repudiandae. Ut necessitatibus sint ipsum voluptas dolore quia. Dignissimos impedit aliquid perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447ee0000'), "author_name"=>"Lon Fritsch", "content"=>["Voluptatibus reiciendis et recusandae autem. Culpa suscipit tempora est. Molestiae consequatur voluptas facilis aliquam dolores sunt. Ipsa dolores qui maiores omnis est ipsum omnis. Non aut et quidem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4691ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902caa7735331447ef0000", "comment_id"=>"54902caa7735331447ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5203ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ef0000'), "comments._id"=>BSON::ObjectId('54902caa7735331447ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902caa7735331447f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7394ms Redirected to http://test.host/products/54902caa7735331447ef0000/comments/54902caa7735331447ed0000/comments/54902caa7735331447f00000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3954ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447f30000'), "name"=>"Angelita Effertz", "reference"=>"Vallie Trantow III", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f10000'), "author_name"=>"Vernice Osinski DDS", "content"=>["Rem deserunt sed ducimus quod maiores. Ut animi molestiae harum minima eveniet quo dolor. Quas fugiat vel autem. Corporis enim fugiat earum. Illum velit voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f20000'), "author_name"=>"Aisha Orn", "content"=>["Perferendis recusandae in totam fugiat eveniet nostrum. Voluptatem dolorem voluptatem pariatur. Est non dolores accusantium animi blanditiis quis qui. Voluptas voluptate ducimus tempore alias. Aliquid aut voluptatem commodi molestias tenetur placeat officiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902caa7735331447f30000", "comment_id"=>"54902caa7735331447f10000", "id"=>"54902caa7735331447f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4638ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f30000'), "comments._id"=>BSON::ObjectId('54902caa7735331447f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902caa7735331447f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6828ms Redirected to http://test.host/products/54902caa7735331447f30000/comments/54902caa7735331447f10000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447f60000'), "name"=>"Milford Nolan V", "reference"=>"Raymundo Ebert", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f40000'), "author_name"=>"Rasheed Nicolas Jr.", "content"=>["Assumenda ipsam cumque. Id quaerat nesciunt officia optio. Est qui perferendis explicabo perspiciatis adipisci reiciendis atque."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f50000'), "author_name"=>"Branson Prohaska", "content"=>["Qui sit ad cumque voluptatem earum voluptates ut. Est ut earum quia. Beatae qui blanditiis doloribus. Libero et aliquam. Recusandae necessitatibus nam magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902caa7735331447f60000", "comment_id"=>"54902caa7735331447f40000", "id"=>"54902caa7735331447f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4674ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 13ms (Views: 9.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447f90000'), "name"=>"Margaretta Blick", "reference"=>"Ms. Whitney Smitham", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f70000'), "author_name"=>"Owen Wyman", "content"=>["Possimus aut nihil nesciunt libero. Iure et ut at eius quis voluptate quam. Occaecati a soluta laudantium unde at delectus."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447f80000'), "author_name"=>"Vicente Ondricka", "content"=>["Voluptatum atque harum reiciendis. Eaque eveniet porro sit. Libero aliquid blanditiis enim vel dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6418ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902caa7735331447f90000", "comment_id"=>"54902caa7735331447f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms Completed 200 OK in 8ms (Views: 4.8ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447fc0000'), "name"=>"Keagan Brown MD", "reference"=>"Aliya Gerhold", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447fa0000'), "author_name"=>"Elza Armstrong", "content"=>["Reprehenderit minus ipsa aut sit ut. Voluptates saepe tempora. Id sapiente consequatur quibusdam cum quasi."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447fb0000'), "author_name"=>"Haven O'Reilly DVM", "content"=>["Ipsam qui et rem est ad ea. Fuga aut est quae. Omnis praesentium dolor hic quia sapiente."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6120ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902caa7735331447fc0000", "comment_id"=>"54902caa7735331447fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447ff0000'), "name"=>"Alvis Roob Sr.", "reference"=>"Brooke Willms", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447fd0000'), "author_name"=>"Gaetano Bode MD", "content"=>["Labore quibusdam illum omnis sit animi enim ipsam. Quas ut reprehenderit doloremque sed voluptatem cupiditate. Dicta eaque doloremque natus nihil. Nostrum eaque possimus. Omnis consequatur commodi dolor odit sed et architecto."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447fe0000'), "author_name"=>"Ariane Gibson", "content"=>["Doloribus alias qui. Aut est officia optio iste et maiores fugiat. Qui doloribus iste quis est officia ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902caa7735331447ff0000", "comment_id"=>"54902caa7735331447fd0000", "id"=>"54902caa7735331447fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4091ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447020100'), "name"=>"Alize Stroman", "reference"=>"Dr. Dax Herzog", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447000100'), "author_name"=>"Laron Strosin", "content"=>["Blanditiis possimus velit doloribus. Laboriosam sunt molestiae ut nihil placeat voluptatum. Et rerum nihil."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447010100'), "author_name"=>"Bennie Mayer", "content"=>["Quaerat error necessitatibus omnis amet. Nihil doloremque qui. Nostrum pariatur ut dolorem delectus possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902caa7735331447020100", "comment_id"=>"54902caa7735331447000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447050100'), "name"=>"Libby Lueilwitz", "reference"=>"Khalil Boehm", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447030100'), "author_name"=>"Mrs. Cole Feeney", "content"=>["Porro in officiis quas nesciunt sit. Sit voluptatem recusandae. Asperiores voluptate velit rerum. Aut consequatur vero est eum facilis."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447040100'), "author_name"=>"Domingo Mills", "content"=>["Voluptatum nulla non rem cumque ut. Totam omnis quis voluptas officiis illo sed illum. Aut voluptatem qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5466ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902caa7735331447050100", "comment_id"=>"54902caa7735331447030100", "id"=>"54902caa7735331447040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4174ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 8ms (Views: 4.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902caa7735331447080100'), "name"=>"Dario Bogan", "reference"=>"Justice Feeney", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447060100'), "author_name"=>"Nyah Gislason", "content"=>["Officia quia non aspernatur sit vitae sit. Voluptatibus fugiat id deleniti dolores. Placeat distinctio inventore autem sunt quia dolorum. Ducimus aliquam repudiandae nobis consequatur. Enim quibusdam reiciendis et blanditiis quo ut."], "comments"=>[{"_id"=>BSON::ObjectId('54902caa7735331447070100'), "author_name"=>"Nash Jakubowski DVM", "content"=>["Repellat inventore aut quia illo. Labore rerum eum sit. Nesciunt ut accusamus. Libero delectus aspernatur nihil et. Sint aut voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5789ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902caa7735331447070100", "product_id"=>"54902caa7735331447080100", "comment_id"=>"54902caa7735331447060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902caa7735331447080100'), "comments._id"=>BSON::ObjectId('54902caa7735331447060100'), "comments.0.comments._id"=>BSON::ObjectId('54902caa7735331447070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6640ms Redirected to http://test.host/products/54902caa7735331447080100/comments/54902caa7735331447060100/comments/54902caa7735331447070100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902caa7735331447090100'), "firstname"=>"Hallie", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2901ms 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('54902caa77353314470a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Redirected to http://test.host/users/54902caa77353314470a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2666ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902caa77353314470b0100'), "firstname"=>"Odie", "lastname"=>"Mosciski"}] 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=>"admin_users", :query=>{}} runtime: 0.2313ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902caa77353314470b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902caa77353314470b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902caa77353314470b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms 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.2400ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902caa77353314470c0100'), "firstname"=>"Leland", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902caa77353314470c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902caa77353314470c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 43ms (Views: 41.7ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902cab77353314470d0100'), "firstname"=>"Novella", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms 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.4793ms Completed 200 OK in 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902cab77353314470e0100'), "firstname"=>"Kali", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902cab77353314470f0100'), "firstname"=>"Milan", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902cab77353314470f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902cab77353314470f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902cab7735331447100100'), "firstname"=>"Cleora", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902cab7735331447100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902cab7735331447100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms Unpermitted parameters: name Redirected to http://test.host/users/54902cab7735331447100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms 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.3469ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms 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.3041ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms 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.2528ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2000000'), "firstname"=>"Duane", "lastname"=>"Hirthe"}] 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=>"administrators", :query=>{}} runtime: 0.2664ms 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('54902ce377353314d2010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms 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.2988ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2020000'), "firstname"=>"Jace", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902ce377353314d2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce377353314d2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2030000'), "firstname"=>"Marcelina", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2040000'), "firstname"=>"Jaeden", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902ce377353314d2040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce377353314d2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2050000'), "firstname"=>"Yesenia", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902ce377353314d2050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce377353314d2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms 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('54902ce377353314d2060000'), "name"=>"Weston Farrell", "reference"=>"Mckayla Gulgowski DVM", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d2070000'), "author_name"=>"Pearlie McGlynn PhD", "content"=>["Quis voluptates in suscipit fugiat. Aut aperiam quasi soluta cumque ad aliquam ex. Sint architecto consequatur cupiditate doloremque qui quia rerum. Sed sit voluptatem reprehenderit et deserunt qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ce377353314d2060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ce377353314d2080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Redirected to http://test.host/admin/products/54902ce377353314d2060000/comments/54902ce377353314d2080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2090000'), "name"=>"Sarah Pouros", "reference"=>"Mr. Casimer Cronin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d20a0000'), "author_name"=>"Miss Malinda Stamm", "content"=>["Et consequatur sit odio dignissimos ducimus. Ut nostrum esse pariatur autem minus. Rerum qui amet ullam et alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ce377353314d2090000", "id"=>"54902ce377353314d20a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ce377353314d20a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Redirected to http://test.host/admin/products/54902ce377353314d2090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d20b0000'), "name"=>"Jaclyn Wintheiser Sr.", "reference"=>"Isabell Cummerata III", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d20c0000'), "author_name"=>"Amara Braun", "content"=>["Voluptate consequuntur aspernatur et. Quia eum facilis doloribus quia accusantium. Beatae voluptas et hic aut non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4045ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902ce377353314d20b0000", "id"=>"54902ce377353314d20c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3602ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d20d0000'), "name"=>"Mr. Dayton Rice", "reference"=>"Clarissa Ritchie", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d20e0000'), "author_name"=>"Ms. Korbin Baumbach", "content"=>["Praesentium saepe ducimus. Odit doloremque ipsa qui temporibus nobis est. Illum ipsum eligendi tenetur. Explicabo quia sapiente placeat voluptatem suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902ce377353314d20d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3477ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d20f0000'), "name"=>"Pablo Walsh", "reference"=>"Braxton Rempel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d2100000'), "author_name"=>"Bonita Kerluke", "content"=>["Expedita magni earum eos ducimus corrupti voluptates. Enim nostrum quos doloribus et. Quos dignissimos veniam at autem est aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902ce377353314d20f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4022ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2110000'), "name"=>"Kira Borer Sr.", "reference"=>"Favian Wolff V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d2120000'), "author_name"=>"Modesta Bartell", "content"=>["Corporis id temporibus qui quae nobis et. Voluptatem illo in. Assumenda sunt qui quaerat velit ducimus molestiae. Est quia assumenda dolore alias perferendis ipsam aut. Reiciendis voluptas perspiciatis quas quia harum porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5631ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902ce377353314d2110000", "id"=>"54902ce377353314d2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce377353314d2130000'), "name"=>"Chad Romaguera", "reference"=>"Javier Borer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ce377353314d2140000'), "author_name"=>"Zoila Waters", "content"=>["Mollitia nisi laboriosam atque eos et. Dolorem corporis voluptas eaque veniam molestiae. Quasi magnam corrupti tempore. Et ipsa odio vel qui adipisci in mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ce377353314d2140000", "product_id"=>"54902ce377353314d2130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2130000'), "comments._id"=>BSON::ObjectId('54902ce377353314d2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms Redirected to http://test.host/admin/products/54902ce377353314d2130000/comments/54902ce377353314d2140000 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('54902ce477353314d2150000'), "name"=>"Mr. Laurel Schinner", "reference"=>"Lilian Cremin MD", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2160000'), "firstname"=>"Jayne", "lastname"=>"Volkman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5124ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902ce477353314d2150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Redirected to http://test.host/admin/products/54902ce477353314d2150000/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('54902ce477353314d2180000'), "name"=>"Elda Daugherty", "reference"=>"Jimmy Jacobs", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2190000'), "firstname"=>"Monserrat", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902ce477353314d2190000", "product_id"=>"54902ce477353314d2180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d21a0000'), "name"=>"Pearlie Rolfson", "reference"=>"Violette Sanford", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d21b0000'), "firstname"=>"Veronica", "lastname"=>"Mraz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902ce477353314d21a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d21c0000'), "name"=>"Sister Moen", "reference"=>"Edwina Heller", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d21d0000'), "firstname"=>"Rubye", "lastname"=>"Armstrong"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902ce477353314d21d0000", "product_id"=>"54902ce477353314d21c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d21e0000'), "name"=>"Mr. Ola Marvin", "reference"=>"Kathryne Crooks", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d21f0000'), "firstname"=>"Adaline", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0900ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902ce477353314d21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902ce477353314d21e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902ce477353314d21e0000/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('54902ce477353314d2200000'), "name"=>"Kurtis Maggio", "reference"=>"Ms. Trey VonRueden", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3003ms 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('54902ce477353314d2210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Redirected to http://test.host/admin/products/54902ce477353314d2210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2678ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2220000'), "name"=>"Mrs. Jerrold Hoppe", "reference"=>"Leann Dooley", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1955ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902ce477353314d2220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms 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.2645ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2230000'), "name"=>"Madie Johns", "reference"=>"Brycen Muller", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902ce477353314d2230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2240000'), "name"=>"Sigrid Weimann", "reference"=>"Lisandro Witting", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4753ms 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 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2250000'), "name"=>"Ms. Hosea Legros", "reference"=>"Bennie Stokes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 20ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2280000'), "name"=>"Kylee Hegmann", "reference"=>"Jarvis Kutch I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4549ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902ce477353314d2280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) 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('54902ce477353314d2290000'), "name"=>"Justen Gleason", "reference"=>"Mr. Christ Wunsch", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ce477353314d2290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms Redirected to http://test.host/admin/products/54902ce477353314d2290000 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('54902ce477353314d22a0000'), "firstname"=>"Talia", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2523ms 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('54902ce477353314d22b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms Redirected to http://test.host/admin/users/54902ce477353314d22b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2439ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce477353314d22c0000'), "firstname"=>"Deonte", "lastname"=>"Nikolaus"}] 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=>"admin_users", :query=>{}} runtime: 0.2233ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902ce477353314d22c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce477353314d22c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce477353314d22c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms 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.2206ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce477353314d22d0000'), "firstname"=>"Alessandro", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902ce477353314d22d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce477353314d22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Rendered /home/geoffroy/projects/crealettres/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('54902ce477353314d22e0000'), "firstname"=>"Watson", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5367ms 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.4223ms 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('54902ce477353314d22f0000'), "firstname"=>"Samir", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902ce477353314d2300000'), "firstname"=>"Johnathon", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902ce477353314d2300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce477353314d2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2310000'), "firstname"=>"Carlos", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.6077ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902ce477353314d2310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce477353314d2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902ce477353314d2310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2320000'), "firstname"=>"Rahsaan", "lastname"=>"Doyle"}] 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=>"administrators", :query=>{}} runtime: 0.2180ms 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('54902ce477353314d2330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms 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.2164ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2340000'), "firstname"=>"Adonis", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902ce477353314d2340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce477353314d2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 10ms (Views: 8.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2350000'), "firstname"=>"Victor", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 4.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2360000'), "firstname"=>"Erich", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902ce477353314d2360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce477353314d2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) 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('54902ce477353314d2370000'), "firstname"=>"Saul", "lastname"=>"Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902ce477353314d2370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902ce477353314d2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2380000'), "name"=>"Ms. Charles Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2390000'), "name"=>"Mrs. Libby Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23a0000'), "name"=>"Fernando Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23b0000'), "name"=>"Jeramy Braun DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23c0000'), "name"=>"Mrs. Yoshiko Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23d0000'), "name"=>"Kaylee Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23e0000'), "name"=>"Carmella Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d23f0000'), "name"=>"Mr. Alyce Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2400000'), "name"=>"Mrs. Mable Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2410000'), "name"=>"Ezequiel Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2420000'), "name"=>"Jacquelyn Pouros IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2430000'), "name"=>"Maximillian Smitham Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2440000'), "name"=>"Cicero Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2450000'), "name"=>"Bud Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2460000'), "name"=>"Gabriella Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2470000'), "name"=>"Mrs. Laney Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2480000'), "name"=>"Oren Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2490000'), "name"=>"General Kerluke DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24a0000'), "name"=>"Junius Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24b0000'), "name"=>"Mrs. Chasity Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24c0000'), "name"=>"Unique O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24d0000'), "name"=>"Dr. Zachariah Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24e0000'), "name"=>"Desmond Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d24f0000'), "name"=>"Raphaelle Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d24f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2500000'), "name"=>"Vito Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2510000'), "name"=>"Eulah Johnston DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2520000'), "name"=>"Patrick Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2530000'), "name"=>"Fannie Klein DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2540000'), "name"=>"Jackeline Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2550000'), "name"=>"Frederik Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2560000'), "name"=>"Maybell O'Keefe I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2570000'), "name"=>"Elyse Stehr IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2580000'), "name"=>"Lilyan Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2590000'), "name"=>"Lazaro Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25a0000'), "name"=>"Mrs. Thad Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25b0000'), "name"=>"Santa Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25c0000'), "name"=>"Fermin Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25d0000'), "name"=>"Herman Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25e0000'), "name"=>"Cheyanne Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d25f0000'), "name"=>"Clinton Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d25f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2600000'), "name"=>"Calista Tromp PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2610000'), "name"=>"Edyth Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2620000'), "name"=>"Arely Lueilwitz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2630000'), "name"=>"Mr. Terry Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2640000'), "name"=>"Misael Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2650000'), "name"=>"Garth Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2660000'), "name"=>"Delta Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2670000'), "name"=>"Adolphus Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2680000'), "name"=>"Maybelle Bogisich DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2690000'), "name"=>"Nadia McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26a0000'), "name"=>"Ramon Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26b0000'), "name"=>"Jade Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1802ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26c0000'), "name"=>"Makenna Grady DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26d0000'), "name"=>"Mrs. Johnny Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26e0000'), "name"=>"Easton Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d26f0000'), "name"=>"Edwina Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d26f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2700000'), "name"=>"Deshawn Glover I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2710000'), "name"=>"Letitia Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2720000'), "name"=>"Therese Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2730000'), "name"=>"Bertha Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2740000'), "name"=>"Arthur King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2750000'), "name"=>"Otha White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2760000'), "name"=>"Miss Christopher Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2770000'), "name"=>"Tiana Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2780000'), "name"=>"Otilia Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2790000'), "name"=>"Edd Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27a0000'), "name"=>"Dorris O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27b0000'), "name"=>"Ms. Octavia Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27c0000'), "name"=>"Callie Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27d0000'), "name"=>"Dr. Dawson Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27e0000'), "name"=>"Jillian Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d27f0000'), "name"=>"Mavis Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d27f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2800000'), "name"=>"Adolf Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2810000'), "name"=>"Fiona Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2820000'), "name"=>"Albina White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2830000'), "name"=>"Zelda Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2840000'), "name"=>"Pierre Koss DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2850000'), "name"=>"Zachariah Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2860000'), "name"=>"Mrs. Genesis Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2870000'), "name"=>"Janiya Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2880000'), "name"=>"Danielle Wilkinson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2890000'), "name"=>"Keshawn Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28a0000'), "name"=>"Tillman Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28b0000'), "name"=>"Jaquelin Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28c0000'), "name"=>"Shaylee Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28d0000'), "name"=>"Aniya Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28e0000'), "name"=>"Maureen Sauer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d28f0000'), "name"=>"Dr. Marcos Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d28f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2900000'), "name"=>"Yasmeen Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2910000'), "name"=>"Ms. Jo Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2920000'), "name"=>"Sofia Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2930000'), "name"=>"August Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2940000'), "name"=>"Conner Watsica MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1519ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2950000'), "name"=>"Mr. Dino Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2960000'), "name"=>"Larry Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2970000'), "name"=>"Scottie Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1602ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms Redirected to http://test.host/categories/54902ce477353314d2980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1940ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2990000'), "name"=>"Gregoria Hauck Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1778ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902ce477353314d2990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d2990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d2990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1654ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d29a0000'), "name"=>"Hardy Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902ce477353314d29a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 9.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d29b0000'), "name"=>"Deonte Olson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306107723454] runtime: 0.0897ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2292ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d29c0000'), "name"=>"Nia Spinka III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305917678878] runtime: 0.0748ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1894ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d29d0000'), "name"=>"Russel Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d29f0000'), "name"=>"Marge Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902ce477353314d29f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d29f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 30ms (Views: 29.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2a00000'), "name"=>"Keagan Mann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902ce477353314d2a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902ce477353314d2a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902ce477353314d2a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms Redirected to http://test.host/categories/54902ce477353314d2a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2a10000'), "name"=>"Alexandrea MacGyver", "reference"=>"Julianne Schoen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2a20000'), "author_name"=>"Ismael Sporer", "content"=>["Qui magni laboriosam voluptate ipsam optio. Nobis dolorem magni voluptatem eum. Perferendis sed eos nam dolores impedit exercitationem doloremque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ce477353314d2a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ce477353314d2a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms Redirected to http://test.host/products/54902ce477353314d2a10000/comments/54902ce477353314d2a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2a40000'), "name"=>"Pasquale Rath", "reference"=>"Bessie Parker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2a50000'), "author_name"=>"Dora Jacobson", "content"=>["Dignissimos dicta assumenda. Ea odio cupiditate eos ipsam ad animi velit. Est sit saepe aut sed fuga nihil minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.0259ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902ce477353314d2a40000", "id"=>"54902ce477353314d2a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902ce477353314d2a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Redirected to http://test.host/products/54902ce477353314d2a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2a60000'), "name"=>"May Runolfsdottir", "reference"=>"Samara Hilpert", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2a70000'), "author_name"=>"Katlynn Balistreri", "content"=>["Cupiditate voluptate amet nihil qui id. At quae adipisci nisi blanditiis reprehenderit. Delectus atque earum ea aspernatur repellat. At ad est. Corrupti odit ut et unde nulla ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902ce477353314d2a60000", "id"=>"54902ce477353314d2a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2a80000'), "name"=>"Dr. Columbus Lemke", "reference"=>"Lindsay Lynch", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2a90000'), "author_name"=>"Myrtie Kessler DDS", "content"=>["Quas minus at expedita voluptatem animi. Et odit molestiae voluptatum repudiandae inventore eius. Eum repellendus porro aliquid nihil error vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902ce477353314d2a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2aa0000'), "name"=>"Rosalia Walter", "reference"=>"Bria Blick", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2ab0000'), "author_name"=>"Holly Gorczany V", "content"=>["Vel quod dolor qui minima. A ut voluptas similique. Autem in ut ducimus at nihil eos cupiditate. Dolore non inventore eos dolorum voluptate consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902ce477353314d2aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2ac0000'), "name"=>"Brandyn Gerhold", "reference"=>"Crawford Kozey", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2ad0000'), "author_name"=>"Miss Avery Kuhn", "content"=>["Ut est qui. Alias aut qui perferendis ad. Vitae dolore dolor in atque. Est porro animi non quia ea amet odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902ce477353314d2ac0000", "id"=>"54902ce477353314d2ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2ae0000'), "name"=>"Kaya Ritchie", "reference"=>"Verdie Tillman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2af0000'), "author_name"=>"Kenyon Keebler", "content"=>["Quaerat repellat ut magnam facilis natus. Inventore sed animi. Quos unde vitae alias aut maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902ce477353314d2ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2b00000'), "name"=>"Reina Effertz", "reference"=>"Gussie Abshire Sr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2b10000'), "author_name"=>"Ron Gleason", "content"=>["Omnis neque dicta atque eum voluptas. Ex quo non distinctio. Rem voluptatem est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902ce477353314d2b00000", "id"=>"54902ce477353314d2b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2b20000'), "name"=>"Whitney Bailey II", "reference"=>"Mr. Marquise O'Reilly", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ce477353314d2b30000'), "author_name"=>"Carmen Ankunding IV", "content"=>["Voluptas odit et rem omnis incidunt nihil exercitationem. Sed quia id. Vitae inventore reiciendis et. Architecto tenetur dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ce477353314d2b30000", "product_id"=>"54902ce477353314d2b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2b20000')} 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('54902ce477353314d2b20000'), "comments._id"=>BSON::ObjectId('54902ce477353314d2b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6506ms Redirected to http://test.host/products/54902ce477353314d2b20000/comments/54902ce477353314d2b30000 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('54902ce477353314d2b40000'), "firstname"=>"Sally", "lastname"=>"Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6005ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2740ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms Redirected to http://test.host/admin/clients/54902ce477353314d2b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1863ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2b60000'), "firstname"=>"Kurtis", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2315ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902ce477353314d2b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms 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.2293ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2b70000'), "firstname"=>"Alex", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902ce477353314d2b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('54902ce477353314d2b80000'), "firstname"=>"Lucio", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms 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('54902ce477353314d2b90000'), "firstname"=>"Ashly", "lastname"=>"Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902ce477353314d2ba0000'), "firstname"=>"Margarita", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5161ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902ce477353314d2ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) 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('54902ce477353314d2bb0000'), "firstname"=>"Cathrine", "lastname"=>"Corwin"}] 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"=>"54902ce477353314d2bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms Redirected to http://test.host/admin/clients/54902ce477353314d2bb0000 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('54902ce477353314d2bc0000'), "firstname"=>"Mossie", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1958ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Redirected to http://test.host/clients/54902ce477353314d2bd0000 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('54902ce477353314d2be0000'), "firstname"=>"Sylvan", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1972ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902ce477353314d2be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms 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.1945ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2bf0000'), "firstname"=>"Geraldine", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902ce477353314d2bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902ce477353314d2c00000'), "firstname"=>"Benny", "lastname"=>"Mante"}] 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.4152ms 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('54902ce477353314d2c10000'), "firstname"=>"Jayden", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902ce477353314d2c20000'), "firstname"=>"Tyreek", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902ce477353314d2c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902ce477353314d2c30000'), "firstname"=>"Bethany", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6169ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902ce477353314d2c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902ce477353314d2c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Redirected to http://test.host/clients/54902ce477353314d2c30000 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('54902ce477353314d2c40000'), "name"=>"Brayan Weber", "reference"=>"Destin Grant", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2c50000'), "firstname"=>"Fatima", "lastname"=>"Kris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902ce477353314d2c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Redirected to http://test.host/products/54902ce477353314d2c40000/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('54902ce477353314d2c70000'), "name"=>"Alta Abbott", "reference"=>"Kaden Eichmann Jr.", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2c80000'), "firstname"=>"Krystina", "lastname"=>"Wintheiser"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902ce477353314d2c80000", "product_id"=>"54902ce477353314d2c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2c90000'), "name"=>"Rhoda Nienow", "reference"=>"Ms. Monique Simonis", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2ca0000'), "firstname"=>"Aylin", "lastname"=>"Lakin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902ce477353314d2c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2cb0000'), "name"=>"Mrs. Rashad Rutherford", "reference"=>"Jazmyne Morar", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2cc0000'), "firstname"=>"Brady", "lastname"=>"Howe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902ce477353314d2cc0000", "product_id"=>"54902ce477353314d2cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2cd0000'), "name"=>"Kaitlin O'Hara DVM", "reference"=>"Jayde Thiel", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902ce477353314d2ce0000'), "firstname"=>"Linnea", "lastname"=>"Denesik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902ce477353314d2ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902ce477353314d2cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce477353314d2cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Unpermitted parameters: name Redirected to http://test.host/products/54902ce477353314d2cd0000/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('54902ce477353314d2cf0000'), "name"=>"Andreane Davis", "reference"=>"Conner Haley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce477353314d2d00000'), "name"=>"Bailee Stroman", "reference"=>"Bridget Bogisich", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d10000'), "name"=>"Haylie Parker DDS", "reference"=>"Sherwood Donnelly", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d20000'), "name"=>"Miss Vada Bins", "reference"=>"Mrs. Gwen McCullough", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d30000'), "name"=>"Selmer Ernser DDS", "reference"=>"Kathleen Bosco", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d40000'), "name"=>"Kariane Ondricka", "reference"=>"Camila Mayer", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.4987ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms Redirected to http://test.host/products/54902ce577353314d2d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2781ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d60000'), "name"=>"Estefania Adams", "reference"=>"Mr. Dallin Kohler", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.2412ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902ce577353314d2d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce577353314d2d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce577353314d2d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms 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.2344ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d70000'), "name"=>"Helmer Abernathy", "reference"=>"Emely Heathcote", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902ce577353314d2d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce577353314d2d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d80000'), "name"=>"Melyssa Hodkiewicz", "reference"=>"Rosemarie Blanda", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280533965219] runtime: 0.0939ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2496ms Completed 200 OK in 19ms (Views: 18.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2d90000'), "name"=>"Ms. Marjory Zulauf", "reference"=>"Misty Skiles PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2da0000'), "name"=>"HelloWorld", "reference"=>"Favian Ullrich", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2db0000'), "name"=>"value", "reference"=>"Mr. Maud Haag", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4551ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4231ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1918ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4944ms Completed 200 OK in 6ms (Views: 5.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4974ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4108ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3350ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2dc0000'), "name"=>"Dr. Virginie Waters", "reference"=>"Heber Doyle I", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322160978] runtime: 0.1008ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2669ms Completed 200 OK in 19ms (Views: 17.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279192451836] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280164987462] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.3285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281028466944] runtime: 0.1166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399901950] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279668546172] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280063355849] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281135801970] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879903511] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281005493909] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280160513304] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491561031] runtime: 0.0838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380580946] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324017950] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204615627] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280261733259] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279602710897] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279217919465] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280127836976] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467135829] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735137985] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279800338070] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280270746393] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891509271] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226171844] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012596472] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280558039214] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908718544] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280372194202] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279541898659] runtime: 0.0738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126641458] runtime: 0.0744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279381583726] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615091585] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280398045529] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280322383246] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280016357799] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906541595] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645763164] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041525062] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280075383592] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088131506] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066660703] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028322830] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762727178] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267780423] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175055948] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808719658] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829251575] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279817539320] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912485715] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116511376] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174341527] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096730248] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382893618] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281219370979] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534235140] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690897924] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552667412] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 35.3768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375798439] runtime: 0.1266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195060664] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869857511] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834347534] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571269916] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976260494] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280880612421] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279855111626] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124065322] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222598769] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098469958] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280499812132] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579503546] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525441528] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280181285605] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099937301] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076599356] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281029402166] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281123312908] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478977765] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280949062466] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341758369] runtime: 0.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166667565] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331753993] runtime: 0.0866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719017858] runtime: 0.0837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280165881595] runtime: 0.0765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701289421] runtime: 0.0733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280202603385] runtime: 0.0855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281157460026] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280019478470] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279796646100] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279628717227] runtime: 0.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280217609284] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280289492061] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574723704] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280523093225] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331066854] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281158299086] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279236660992] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281212710508] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193687829] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280389566600] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732401111] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279381368734] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485871749] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056408921] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280841140109] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279266756049] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854860345] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281238249161] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280881405432] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280710195870] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280269473363] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660623335] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112304736] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280806374235] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280138876797] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280391839973] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281119622659] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223626810] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870530248] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481669715] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951113474] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679673160] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265614378] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861723017] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279453736263] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651748219] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872535071] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177577352] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117213206] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490003055] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280749707676] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281091627366] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279200634611] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266929690] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306895313] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280866750625] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.7952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680436418] runtime: 0.0977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392383173] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280637884021] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193559990] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218616312] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046764920] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279419423329] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279182262406] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280016220504] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280477907243] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923053553] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620379537] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280374040752] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280307183881] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279813508048] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280404672801] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040263012] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018705506] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014393785] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279799741460] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105173942] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051417991] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280289507820] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085431861] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895234689] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266593384] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056150715] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251848318] runtime: 0.0440ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2dd0000'), "name"=>"Alize Crona", "reference"=>"Bruce Torp", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2626ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1702ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2de0000'), "name"=>"Stephany Cummings Jr.", "reference"=>"Muhammad Kautzer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279896890179] runtime: 0.0652ms Completed 200 OK in 5ms (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('54902ce577353314d2df0000'), "name"=>"Daisy Kihn", "reference"=>"Eliezer Bruen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902ce577353314d2df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce577353314d2df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms Completed 200 OK in 3ms (Views: 0.3ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce577353314d2e00000'), "name"=>"Marielle Wilderman PhD", "reference"=>"Thalia Kirlin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.8ms) 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('54902ce577353314d2e20000'), "name"=>"Grayce Legros", "reference"=>"Anissa Mayert III", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 671.2287ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902ce577353314d2e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce577353314d2e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 8.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2e30000'), "name"=>"Camilla Rippin", "reference"=>"Ellen Goyette V", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7608ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4338ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 11ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.3689ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce377353314d2090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 6ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2e40000'), "name"=>"Mr. Libbie Haag", "reference"=>"Iliana Daugherty V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4259ms Completed 200 OK in 10ms (Views: 5.6ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2e50000'), "name"=>"Peter Armstrong", "reference"=>"Enid Harvey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4212ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3553ms Completed 200 OK in 9ms (Views: 5.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2e60000'), "name"=>"Iva Torp", "reference"=>"Darlene Veum", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5319ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3162ms 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('54902ce677353314d2e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms Completed 201 Created in 4ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2937ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2e80000'), "name"=>"Olen Gerlach DDS", "reference"=>"Miss Theo Corkery", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902ce677353314d2e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4635ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms 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('54902ce677353314d2e90000'), "name"=>"Miss Shana Runte", "reference"=>"Alec Kilback", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms 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('54902ce677353314d2eb0000'), "name"=>"Mrs. Dane Wuckert", "reference"=>"Miss Albin Senger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4861ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ce677353314d2eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms 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('54902ce677353314d2ec0000'), "name"=>"Sabryna Paucek", "reference"=>"Mrs. Karli Wintheiser", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902ce677353314d2ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Redirected to http://test.host/products/54902ce677353314d2ec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2ef0000'), "name"=>"Amari D'Amore", "reference"=>"Ms. Hermann Schiller", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2ed0000'), "author_name"=>"Jarrett Stiedemann", "content"=>["Qui reprehenderit veritatis eos. Eius nihil quisquam voluptate. Id et consequuntur. Accusamus autem maiores officia iste nisi."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2ee0000'), "author_name"=>"Consuelo Harvey", "content"=>["Alias nobis eos enim quo perferendis necessitatibus. Nihil aliquam perferendis. Numquam quo harum voluptates iusto unde. Maxime aspernatur eveniet aliquid. Sit doloribus placeat veritatis quisquam explicabo blanditiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902ce677353314d2ef0000", "comment_id"=>"54902ce677353314d2ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ef0000'), "comments._id"=>BSON::ObjectId('54902ce677353314d2ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902ce677353314d2f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6700ms Redirected to http://test.host/products/54902ce677353314d2ef0000/comments/54902ce677353314d2ed0000/comments/54902ce677353314d2f00000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2f30000'), "name"=>"Devante Gutmann", "reference"=>"Chandler Donnelly", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f10000'), "author_name"=>"Leonardo Wuckert", "content"=>["Deserunt omnis et dicta non. Cumque et dolor. Veritatis doloremque quibusdam harum officia ratione."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f20000'), "author_name"=>"Ofelia Mayer I", "content"=>["Error voluptas dicta optio ea. Quod et esse architecto et vitae. Accusamus aut autem rem nostrum nesciunt consequatur. Et sit vel esse quo nulla facere possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902ce677353314d2f30000", "comment_id"=>"54902ce677353314d2f10000", "id"=>"54902ce677353314d2f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f30000'), "comments._id"=>BSON::ObjectId('54902ce677353314d2f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902ce677353314d2f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6572ms Redirected to http://test.host/products/54902ce677353314d2f30000/comments/54902ce677353314d2f10000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2f60000'), "name"=>"Mrs. Carol Mueller", "reference"=>"Braulio Wintheiser V", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f40000'), "author_name"=>"Miss Mellie Rowe", "content"=>["Laboriosam aut vel optio quam pariatur. Est voluptatibus placeat pariatur amet. Quaerat optio laudantium tenetur qui exercitationem magni. Sint numquam ipsa aut nulla. Rerum cum ut laborum inventore eos molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f50000'), "author_name"=>"Eugene Schuppe", "content"=>["Itaque perspiciatis nulla. Non exercitationem alias veniam ad laudantium sint. Et veritatis unde temporibus vel minus rerum est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902ce677353314d2f60000", "comment_id"=>"54902ce677353314d2f40000", "id"=>"54902ce677353314d2f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 10ms (Views: 6.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2f90000'), "name"=>"Miss Penelope Macejkovic", "reference"=>"Miss Alena Raynor", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f70000'), "author_name"=>"Vinnie Waelchi", "content"=>["In cumque libero ducimus dolore laboriosam mollitia dolorum. Et perspiciatis aperiam facilis doloremque. Qui eligendi dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2f80000'), "author_name"=>"Bulah Thiel", "content"=>["Rerum doloremque nesciunt dolores ut et. Blanditiis qui est ut voluptatibus voluptates. Itaque omnis quia. Eligendi odit impedit debitis ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902ce677353314d2f90000", "comment_id"=>"54902ce677353314d2f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2fc0000'), "name"=>"Reina Pfeffer", "reference"=>"Lorenzo Flatley", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2fa0000'), "author_name"=>"Mylene Corwin DVM", "content"=>["Voluptatem laudantium voluptas dolor vel modi. Aut voluptatum optio vitae repudiandae rerum. Eius quas consequatur perspiciatis aliquid aut assumenda odit."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2fb0000'), "author_name"=>"Esteban Bednar Sr.", "content"=>["Nihil accusantium repellat. Dolor et veritatis ratione ut. Dolores reprehenderit asperiores cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902ce677353314d2fc0000", "comment_id"=>"54902ce677353314d2fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2ff0000'), "name"=>"Kira Rodriguez", "reference"=>"Jayce Gleichner PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2fd0000'), "author_name"=>"Miss Yesenia Effertz", "content"=>["Autem dolores qui aut omnis. Culpa tempore soluta. Quae fugit ratione animi quas labore sed. Ut nisi alias blanditiis optio dolor architecto. Animi omnis error accusantium doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2fe0000'), "author_name"=>"Mrs. Ila Botsford", "content"=>["Consequatur est commodi. Aliquam eius dolorum veritatis et sunt. Enim fuga quia voluptatem et autem eaque. Cumque non officia quis necessitatibus a. Et porro ab quo inventore at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902ce677353314d2ff0000", "comment_id"=>"54902ce677353314d2fd0000", "id"=>"54902ce677353314d2fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2020100'), "name"=>"Urban Johnson", "reference"=>"Enos Bailey", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2000100'), "author_name"=>"Weldon Hilll", "content"=>["Voluptas unde voluptas. Et eum consequatur ducimus. Iste voluptatem cumque. Recusandae id dignissimos ratione aut reiciendis."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2010100'), "author_name"=>"Saul Hackett", "content"=>["Doloremque ducimus dolor minima voluptatem nesciunt asperiores sapiente. Veniam est dicta repellat quia officia. Explicabo dolor quis. Quisquam aliquid quia et. Quo eos omnis reiciendis optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902ce677353314d2020100", "comment_id"=>"54902ce677353314d2000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2050100'), "name"=>"Trace Rogahn", "reference"=>"Mrs. Charley Turcotte", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2030100'), "author_name"=>"Mr. Sheldon Wolff", "content"=>["Ipsum veritatis repellat sunt quis illum in temporibus. Similique repellendus aspernatur accusantium quia id. Maxime nostrum vel sit qui reiciendis sed. Sapiente vel ipsum."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2040100'), "author_name"=>"Opal Stiedemann", "content"=>["Recusandae ut molestiae quia neque illo quaerat. Officiis tempora ipsa repellat pariatur eaque. Aut enim harum ex magnam dicta."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902ce677353314d2050100", "comment_id"=>"54902ce677353314d2030100", "id"=>"54902ce677353314d2040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2080100'), "name"=>"Jordi Nikolaus MD", "reference"=>"Elwin Roberts", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2060100'), "author_name"=>"Loren McGlynn II", "content"=>["Molestias maxime enim voluptas qui consectetur quaerat. Non et quia suscipit eos ipsum recusandae. Non dicta porro et magni. Excepturi quis non aliquid dolores repellendus. Tenetur maiores dolor velit ea."], "comments"=>[{"_id"=>BSON::ObjectId('54902ce677353314d2070100'), "author_name"=>"Tierra Predovic", "content"=>["Enim sit voluptatum sunt ipsam. Illo necessitatibus dolor. At nulla nobis ut aut voluptatem. Dignissimos non fuga nemo eligendi. Non animi dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902ce677353314d2070100", "product_id"=>"54902ce677353314d2080100", "comment_id"=>"54902ce677353314d2060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902ce677353314d2080100'), "comments._id"=>BSON::ObjectId('54902ce677353314d2060100'), "comments.0.comments._id"=>BSON::ObjectId('54902ce677353314d2070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5857ms Redirected to http://test.host/products/54902ce677353314d2080100/comments/54902ce677353314d2060100/comments/54902ce677353314d2070100 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('54902ce677353314d2090100'), "firstname"=>"Gardner", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms 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('54902ce677353314d20a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms Redirected to http://test.host/users/54902ce677353314d20a0100 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_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce677353314d20b0100'), "firstname"=>"Bulah", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1727ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902ce677353314d20b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce677353314d20b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce677353314d20b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0962ms Redirected to http://test.host/users Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3803ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce677353314d20c0100'), "firstname"=>"Gordon", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6750ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902ce677353314d20c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce677353314d20c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4035ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 14ms (Views: 12.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce677353314d20d0100'), "firstname"=>"Marjory", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms 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.5077ms 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('54902ce677353314d20e0100'), "firstname"=>"Fritz", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) 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('54902ce677353314d20f0100'), "firstname"=>"Freda", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3831ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902ce677353314d20f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce677353314d20f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 4.6ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902ce677353314d2100100'), "firstname"=>"Hoyt", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902ce677353314d2100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902ce677353314d2100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms Unpermitted parameters: name Redirected to http://test.host/users/54902ce677353314d2100100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7347ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms 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.2357ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e000000'), "firstname"=>"Howell", "lastname"=>"Smith"}] 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=>"administrators", :query=>{}} runtime: 0.1635ms 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('54902dc2773533155e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms 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.2531ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e020000'), "firstname"=>"Clair", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902dc2773533155e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e030000'), "firstname"=>"Keven", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e040000'), "firstname"=>"Maude", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902dc2773533155e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4253ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e050000'), "firstname"=>"Louie", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902dc2773533155e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms 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('54902dc2773533155e060000'), "name"=>"Alessia Bergnaum", "reference"=>"Dr. Gerald Hermiston", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e070000'), "author_name"=>"Mrs. Vernice Feeney", "content"=>["Molestias adipisci tempora excepturi. Modi necessitatibus dolor. Delectus optio dolores dolor quia libero. Reiciendis necessitatibus aut eligendi eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902dc2773533155e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e060000')} 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('54902dc2773533155e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dc2773533155e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms Redirected to http://test.host/admin/products/54902dc2773533155e060000/comments/54902dc2773533155e080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e090000'), "name"=>"Favian Schulist", "reference"=>"Wyatt Towne", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e0a0000'), "author_name"=>"Jordane Moen", "content"=>["Voluptatibus non qui. Et quia culpa. Animi tempora saepe qui qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902dc2773533155e090000", "id"=>"54902dc2773533155e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dc2773533155e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Redirected to http://test.host/admin/products/54902dc2773533155e090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e0b0000'), "name"=>"Gilbert Kemmer DVM", "reference"=>"Lorenza Friesen Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e0c0000'), "author_name"=>"Miss Jeffry Wiza", "content"=>["Cumque eveniet modi. Et fuga voluptatum ut velit facilis enim modi. Quos magnam et veritatis. Repudiandae voluptas voluptas eum aut explicabo veritatis itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902dc2773533155e0b0000", "id"=>"54902dc2773533155e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e0d0000'), "name"=>"Cassandre Harber", "reference"=>"Beulah Klocko DVM", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e0e0000'), "author_name"=>"Drew Ebert", "content"=>["A labore est exercitationem saepe ex amet. Iusto minima perferendis. Est accusamus suscipit consequatur fuga autem qui sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902dc2773533155e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e0f0000'), "name"=>"Mitchell Prosacco DVM", "reference"=>"Chelsey Thompson III", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e100000'), "author_name"=>"Rosella Schneider", "content"=>["Magni quisquam eius veniam voluptatem nihil ut. Culpa blanditiis at quas praesentium quo. Id nam impedit dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902dc2773533155e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e110000'), "name"=>"Reva Schowalter", "reference"=>"Rhiannon Lakin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e120000'), "author_name"=>"Maybelle Kunde PhD", "content"=>["Sit et sed tempore. Cum aperiam molestiae. Porro consequatur in voluptas velit iusto numquam aliquid. Aut rerum ullam nihil enim aliquid. Quis sed necessitatibus quaerat autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902dc2773533155e110000", "id"=>"54902dc2773533155e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e130000'), "name"=>"Gracie Mayer", "reference"=>"Easter Mitchell Jr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc2773533155e140000'), "author_name"=>"Jennie Boyle", "content"=>["Dolores qui enim sit commodi. Quaerat tempora minus sint ullam consequatur. Placeat ipsum et laboriosam. Sint id ullam quia dolorum qui praesentium. Expedita dolores corrupti quos autem recusandae praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902dc2773533155e140000", "product_id"=>"54902dc2773533155e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e130000'), "comments._id"=>BSON::ObjectId('54902dc2773533155e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5590ms Redirected to http://test.host/admin/products/54902dc2773533155e130000/comments/54902dc2773533155e140000 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('54902dc2773533155e150000'), "name"=>"Whitney Conroy", "reference"=>"Kevin Larkin", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e160000'), "firstname"=>"Bonnie", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902dc2773533155e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e150000')} 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('54902dc2773533155e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms Redirected to http://test.host/admin/products/54902dc2773533155e150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e180000'), "name"=>"Dr. Demarcus Spinka", "reference"=>"Grace Hegmann", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e190000'), "firstname"=>"Carrie", "lastname"=>"Kassulke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902dc2773533155e190000", "product_id"=>"54902dc2773533155e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e1a0000'), "name"=>"Charley Kub", "reference"=>"Gayle Grimes", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e1b0000'), "firstname"=>"Gustave", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902dc2773533155e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e1c0000'), "name"=>"Desmond Kohler", "reference"=>"Mrs. Erich Homenick", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e1d0000'), "firstname"=>"Nannie", "lastname"=>"Denesik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902dc2773533155e1d0000", "product_id"=>"54902dc2773533155e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e1e0000'), "name"=>"Dorcas Thiel", "reference"=>"Chelsea Auer DVM", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902dc2773533155e1f0000'), "firstname"=>"Larue", "lastname"=>"Farrell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902dc2773533155e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902dc2773533155e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902dc2773533155e1e0000/manager 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('54902dc2773533155e200000'), "name"=>"Mrs. Brooke Paucek", "reference"=>"Verona Huels", "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.1901ms 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('54902dc2773533155e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Redirected to http://test.host/admin/products/54902dc2773533155e210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2051ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e220000'), "name"=>"Nona Boyer Sr.", "reference"=>"Fausto Greenholt", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.1867ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902dc2773533155e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms 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.1981ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e230000'), "name"=>"Hugh Lockman", "reference"=>"Joshuah Pfeffer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902dc2773533155e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e240000'), "name"=>"Mrs. Nellie Wisozk", "reference"=>"Leo Ledner II", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms 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.5166ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e250000'), "name"=>"Rodger Sipes", "reference"=>"Mortimer Feest", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e280000'), "name"=>"Jarod Windler", "reference"=>"Sheila Waelchi", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902dc2773533155e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e290000'), "name"=>"Jerad Conroy", "reference"=>"Ericka Hyatt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902dc2773533155e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e290000')} 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('54902dc2773533155e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms Redirected to http://test.host/admin/products/54902dc2773533155e290000 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('54902dc2773533155e2a0000'), "firstname"=>"Johathan", "lastname"=>"Mohr"}] 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=>"admin_users", :query=>{}} runtime: 0.1902ms 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('54902dc2773533155e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms Redirected to http://test.host/admin/users/54902dc2773533155e2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2374ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e2c0000'), "firstname"=>"Lester", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2504ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902dc2773533155e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc2773533155e2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc2773533155e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms 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.2360ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e2d0000'), "firstname"=>"Lauretta", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902dc2773533155e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc2773533155e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e2e0000'), "firstname"=>"Berenice", "lastname"=>"Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms 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.3943ms 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('54902dc2773533155e2f0000'), "firstname"=>"Bernita", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902dc2773533155e300000'), "firstname"=>"Florence", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902dc2773533155e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc2773533155e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902dc2773533155e310000'), "firstname"=>"Jacky", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902dc2773533155e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc2773533155e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902dc2773533155e310000 Completed 302 Found in 4ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e320000'), "firstname"=>"Willy", "lastname"=>"Maggio"}] 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=>"administrators", :query=>{}} runtime: 0.1693ms 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('54902dc2773533155e330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms 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('54902dc2773533155e340000'), "firstname"=>"Muhammad", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902dc2773533155e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e350000'), "firstname"=>"Claud", "lastname"=>"Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e360000'), "firstname"=>"Opal", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902dc2773533155e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e370000'), "firstname"=>"Tre", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902dc2773533155e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902dc2773533155e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e380000'), "name"=>"Mr. Marcia Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e390000'), "name"=>"Dorris Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3a0000'), "name"=>"Kasey Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3b0000'), "name"=>"Kole Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3c0000'), "name"=>"Zella Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3d0000'), "name"=>"Ms. Clementine Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3e0000'), "name"=>"Kassandra VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e3f0000'), "name"=>"Candido Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e400000'), "name"=>"Yvette Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e410000'), "name"=>"Miss Joanne Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e420000'), "name"=>"Anna Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e430000'), "name"=>"Martina Schiller DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e440000'), "name"=>"Mrs. Yasmin Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e450000'), "name"=>"Violette Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e460000'), "name"=>"Thurman Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e470000'), "name"=>"Hailee Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e480000'), "name"=>"Antonietta DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e490000'), "name"=>"Sonya Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4a0000'), "name"=>"Rashad Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4b0000'), "name"=>"Mr. Jesse Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4c0000'), "name"=>"Morton Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4d0000'), "name"=>"Mr. Domingo Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4e0000'), "name"=>"Deangelo Zieme Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e4f0000'), "name"=>"Haleigh Glover II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e500000'), "name"=>"Electa Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e510000'), "name"=>"Zackery Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e520000'), "name"=>"Mr. Camila Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e530000'), "name"=>"Destin Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e540000'), "name"=>"Taylor Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e550000'), "name"=>"Albertha Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e560000'), "name"=>"Mrs. Adeline Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e570000'), "name"=>"Reginald Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e580000'), "name"=>"Elizabeth Dach PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e590000'), "name"=>"Frederick Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5a0000'), "name"=>"Diego Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5b0000'), "name"=>"Heath Barrows DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5c0000'), "name"=>"Victoria Hammes DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5d0000'), "name"=>"Clemens Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5e0000'), "name"=>"Verna Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e5f0000'), "name"=>"Lorenza Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e600000'), "name"=>"Arely Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e610000'), "name"=>"Mrs. Marquis Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e620000'), "name"=>"Dayana Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e630000'), "name"=>"Carlos Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e640000'), "name"=>"Elian Daugherty I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e650000'), "name"=>"Miss Odessa Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e660000'), "name"=>"Luz Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e670000'), "name"=>"Mr. Elbert Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e680000'), "name"=>"Aiyana Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e690000'), "name"=>"Selmer Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6a0000'), "name"=>"Jacky Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6b0000'), "name"=>"Lincoln Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6c0000'), "name"=>"Jedediah Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6d0000'), "name"=>"Margaretta Weissnat IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6e0000'), "name"=>"Lelah Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e6f0000'), "name"=>"Jermain Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e700000'), "name"=>"Maritza Hirthe V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e710000'), "name"=>"Meagan Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e720000'), "name"=>"Beth Carroll Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 24.8970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e730000'), "name"=>"Lelah Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e740000'), "name"=>"Corene Wyman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e750000'), "name"=>"Alejandrin Padberg II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e760000'), "name"=>"Mr. Della Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e770000'), "name"=>"Lacey Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e780000'), "name"=>"Katheryn Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e790000'), "name"=>"Emelia Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e7a0000'), "name"=>"Roel Kunde IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e7b0000'), "name"=>"Ellsworth Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc2773533155e7c0000'), "name"=>"Roel Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc2773533155e7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e7d0000'), "name"=>"Everett Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e7e0000'), "name"=>"Cathy Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e7f0000'), "name"=>"Kacie Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e800000'), "name"=>"Mrs. Jermaine Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e810000'), "name"=>"Gretchen Haag V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e820000'), "name"=>"Nathaniel Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e830000'), "name"=>"Lorenz Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e840000'), "name"=>"Peter Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e850000'), "name"=>"Bethel Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e860000'), "name"=>"Margot Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e870000'), "name"=>"Domenic Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1947ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e880000'), "name"=>"Dr. Madisyn Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e890000'), "name"=>"Van Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8a0000'), "name"=>"Darrick Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8b0000'), "name"=>"Mohammed Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8c0000'), "name"=>"Mr. Baron Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8d0000'), "name"=>"Carter Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8e0000'), "name"=>"Lon Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e8f0000'), "name"=>"Nikki Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e900000'), "name"=>"Marisa Erdman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e910000'), "name"=>"Judson Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e920000'), "name"=>"Noble Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e930000'), "name"=>"Haven Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1555ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e940000'), "name"=>"August Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e950000'), "name"=>"Nya Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e960000'), "name"=>"Daniela Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e970000'), "name"=>"Lupe Keeling DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1309ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms Redirected to http://test.host/categories/54902dc3773533155e980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1624ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e990000'), "name"=>"Marguerite Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1571ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902dc3773533155e990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155e990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1646ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e9a0000'), "name"=>"Patricia Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902dc3773533155e9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e9b0000'), "name"=>"Robb Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1914ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306349269670] runtime: 0.0893ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1865ms Completed 200 OK in 15ms (Views: 14.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e9c0000'), "name"=>"Mrs. Reinhold Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305224968103] runtime: 0.0746ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1759ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e9d0000'), "name"=>"Royce Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.9438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3679ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 9ms (Views: 8.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155e9f0000'), "name"=>"Camren Gibson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902dc3773533155e9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ea00000'), "name"=>"Penelope D'Amore"}] 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={"category_id"=>BSON::ObjectId('54902dc3773533155ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902dc3773533155ea00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dc3773533155ea00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dc3773533155ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms Redirected to http://test.host/categories/54902dc3773533155ea00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ea10000'), "name"=>"Vinnie Kiehn", "reference"=>"Ronny Metz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155ea20000'), "author_name"=>"Tommie Ferry DVM", "content"=>["Ipsa quia accusamus. Minima cumque enim earum. Adipisci illum deleniti placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3452ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902dc3773533155ea10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dc3773533155ea30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms Redirected to http://test.host/products/54902dc3773533155ea10000/comments/54902dc3773533155ea30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ea40000'), "name"=>"Ulices Rau", "reference"=>"Mr. Annalise Satterfield", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155ea50000'), "author_name"=>"Dr. Alysha Bechtelar", "content"=>["Repellat illum accusamus suscipit laboriosam. Eum placeat quisquam consectetur asperiores. Ab et ut quisquam porro ducimus et ut. Quas reprehenderit assumenda fugit quis quia. Est vitae molestiae quidem inventore sunt suscipit aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902dc3773533155ea40000", "id"=>"54902dc3773533155ea50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dc3773533155ea50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 66.6537ms Redirected to http://test.host/products/54902dc3773533155ea40000/comments Completed 302 Found in 70ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4364ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ea60000'), "name"=>"Mortimer Bernhard", "reference"=>"Sally Schmitt II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155ea70000'), "author_name"=>"Brendon Gerlach", "content"=>["Iure omnis possimus numquam. Qui quas voluptatum. Quasi nihil repellat nisi sunt aspernatur eius natus. Necessitatibus tempora provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902dc3773533155ea60000", "id"=>"54902dc3773533155ea70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) 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('54902dc3773533155ea80000'), "name"=>"Mavis Blick II", "reference"=>"Freddy Rice", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155ea90000'), "author_name"=>"Sabina Rau", "content"=>["Voluptatem molestiae porro assumenda dolores iure. Ut sit magnam et ut voluptatem consectetur nobis. Aut delectus consequuntur et iure debitis. Porro architecto eius nisi id doloremque fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902dc3773533155ea80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eaa0000'), "name"=>"Harold Haag", "reference"=>"Jesse Blick", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155eab0000'), "author_name"=>"Mr. Damian Block", "content"=>["Vero consequatur voluptas sapiente. Alias possimus aut qui beatae nostrum. Quos quo ducimus est quia libero. Blanditiis enim quibusdam autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902dc3773533155eaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eac0000'), "name"=>"Jaydon Franecki", "reference"=>"Giovanna Jacobson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155ead0000'), "author_name"=>"Ernestina Weber DVM", "content"=>["Maiores culpa voluptatem ea nesciunt. Sint facere suscipit ut et deleniti odit animi. Voluptatibus hic et. Culpa est harum adipisci nostrum sit eos. Eum in facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902dc3773533155eac0000", "id"=>"54902dc3773533155ead0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eae0000'), "name"=>"Ms. Eunice Bartoletti", "reference"=>"Trevion Cartwright Jr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155eaf0000'), "author_name"=>"Lou Buckridge III", "content"=>["Tempore molestiae nisi consequuntur quibusdam quasi. Accusamus illo odio nam. Distinctio odit odio ut quis modi fugiat placeat. Ipsa et est perspiciatis fugiat perferendis vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902dc3773533155eae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eb00000'), "name"=>"Dr. Floyd Becker", "reference"=>"Nola Dach", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155eb10000'), "author_name"=>"Mrs. Soledad Eichmann", "content"=>["Nobis odit aut corrupti. Ex ad molestiae. Velit qui non dolor quos hic quibusdam. Consequatur quod est repellendus ipsam optio. Dolore in quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902dc3773533155eb00000", "id"=>"54902dc3773533155eb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.6ms) 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('54902dc3773533155eb20000'), "name"=>"Hadley Graham", "reference"=>"Emory Gleichner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dc3773533155eb30000'), "author_name"=>"Ms. Savanah Fritsch", "content"=>["Veritatis et molestiae id iste itaque. Cumque facilis enim sed ab voluptates est. A consectetur velit nihil. Atque eum voluptatem qui voluptates beatae non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902dc3773533155eb30000", "product_id"=>"54902dc3773533155eb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155eb20000'), "comments._id"=>BSON::ObjectId('54902dc3773533155eb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms Redirected to http://test.host/products/54902dc3773533155eb20000/comments/54902dc3773533155eb30000 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('54902dc3773533155eb40000'), "firstname"=>"Antonio", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7447ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2358ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms Redirected to http://test.host/admin/clients/54902dc3773533155eb50000 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('54902dc3773533155eb60000'), "firstname"=>"Herman", "lastname"=>"Dickens"}] 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=>"clients", :query=>{}} runtime: 0.1916ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902dc3773533155eb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155eb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155eb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms 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.1977ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eb70000'), "firstname"=>"Arjun", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902dc3773533155eb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155eb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54902dc3773533155eb80000'), "firstname"=>"Bettye", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms Processing by Iord::GenericController#index as HTML MOPED: 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 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eb90000'), "firstname"=>"Torrance", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902dc3773533155eba0000'), "firstname"=>"Mohammed", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5154ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902dc3773533155eba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155eba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902dc3773533155ebb0000'), "firstname"=>"Lilian", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902dc3773533155ebb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ebb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Redirected to http://test.host/admin/clients/54902dc3773533155ebb0000 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('54902dc3773533155ebc0000'), "firstname"=>"Roma", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms 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('54902dc3773533155ebd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Redirected to http://test.host/clients/54902dc3773533155ebd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2761ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ebe0000'), "firstname"=>"Sherman", "lastname"=>"Tillman"}] 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=>"clients", :query=>{}} runtime: 0.2200ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902dc3773533155ebe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ebe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4946ms 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.1619ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ebf0000'), "firstname"=>"Lolita", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902dc3773533155ebf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Rendered /home/geoffroy/projects/crealettres/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('54902dc3773533155ec00000'), "firstname"=>"Ford", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4509ms 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('54902dc3773533155ec10000'), "firstname"=>"Dortha", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902dc3773533155ec20000'), "firstname"=>"Madalyn", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902dc3773533155ec20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ec30000'), "firstname"=>"Gwen", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902dc3773533155ec30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ec30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dc3773533155ec30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Redirected to http://test.host/clients/54902dc3773533155ec30000 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('54902dc3773533155ec40000'), "name"=>"Norwood Hayes II", "reference"=>"Elvis Batz", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155ec50000'), "firstname"=>"Jessie", "lastname"=>"Lockman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5403ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902dc3773533155ec40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ec40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3655ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ec40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ec40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155ec60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Redirected to http://test.host/products/54902dc3773533155ec40000/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('54902dc3773533155ec70000'), "name"=>"Ari Durgan DDS", "reference"=>"Vallie Nicolas", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155ec80000'), "firstname"=>"Leta", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902dc3773533155ec80000", "product_id"=>"54902dc3773533155ec70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ec90000'), "name"=>"Taylor Spinka", "reference"=>"Hilario Fritsch", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155eca0000'), "firstname"=>"Celine", "lastname"=>"Jacobs"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5408ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902dc3773533155ec90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ecb0000'), "name"=>"Dr. Deon Rowe", "reference"=>"Isaiah Carroll", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155ecc0000'), "firstname"=>"Antonina", "lastname"=>"O'Kon"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902dc3773533155ecc0000", "product_id"=>"54902dc3773533155ecb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ecd0000'), "name"=>"Kelli Dicki", "reference"=>"Leon Kohler Sr.", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902dc3773533155ece0000'), "firstname"=>"Chet", "lastname"=>"Cole"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902dc3773533155ece0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902dc3773533155ecd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms Unpermitted parameters: name Redirected to http://test.host/products/54902dc3773533155ecd0000/manager Completed 302 Found in 28ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ecf0000'), "name"=>"Miss Braeden Raynor", "reference"=>"Jorge Hammes II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed00000'), "name"=>"Susan Mayert", "reference"=>"Cheyanne Thiel Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed10000'), "name"=>"Edwin McCullough", "reference"=>"Shayna Hilll", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed20000'), "name"=>"Candida Schuster", "reference"=>"Lucinda Shanahan", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed30000'), "name"=>"Nyasia Stehr DDS", "reference"=>"Clementina Monahan", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed40000'), "name"=>"Vernie Hoppe III", "reference"=>"Susan Gutmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms Redirected to http://test.host/products/54902dc3773533155ed50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2507ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed60000'), "name"=>"Lilyan Green", "reference"=>"Dr. Malachi Kirlin", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1889ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902dc3773533155ed60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ed60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ed60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms 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.2291ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed70000'), "name"=>"Lexus Okuneva", "reference"=>"Mortimer Walsh", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902dc3773533155ed70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc3773533155ed70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3459ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54902dc3773533155ed80000'), "name"=>"Luisa Armstrong Sr.", "reference"=>"Brandi Kovacek", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279499217371] runtime: 0.0999ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2856ms Completed 200 OK in 18ms (Views: 17.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155ed90000'), "name"=>"Kennith Treutel", "reference"=>"Alek Schimmel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155eda0000'), "name"=>"HelloWorld", "reference"=>"Mr. Reinhold Jenkins", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155edb0000'), "name"=>"value", "reference"=>"Kobe Haag", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4058ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3998ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3681ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1489ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3574ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3945ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2896ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1714ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc3773533155edc0000'), "name"=>"Jacques Yundt", "reference"=>"Alfonzo Gulgowski", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280907391570] runtime: 0.1180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2871ms Completed 200 OK in 17ms (Views: 16.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046896188] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776001151] runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280577967259] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739255939] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945352675] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280878777689] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280080495019] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265985983] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108442336] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280897727263] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280894953988] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279263464018] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234317170] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280873096421] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279800174257] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481171093] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048159524] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280513549381] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281119331671] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280910597078] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190475701] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280178142552] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969455967] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281037460176] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280941813876] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366631916] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280013147795] runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280378077139] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543349533] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280217494309] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280779084648] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280397546555] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903538970] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280319886416] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219058720] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280476170911] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279510013241] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780386158] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280663301388] runtime: 0.0997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793198283] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413539965] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993362930] runtime: 0.0747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241992467] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280338343620] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280970578161] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512890244] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997194426] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089059804] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280979031742] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750606421] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281287693534] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925114306] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280208254532] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280010819911] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279765041347] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190309495] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.6574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280442229025] runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279536816418] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926209679] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095741572] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281315137071] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694483642] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215772777] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471406933] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495250541] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280423035457] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279480900632] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280685295761] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410535874] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280706844604] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617872405] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738464112] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264720633] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579223991] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219158940] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007850755] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945210003] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280720009369] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500011612] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743062305] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280611485863] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467579177] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279872848562] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517813709] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336491451] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605860048] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280333342109] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279895621574] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280427808676] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560894221] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467059066] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116813079] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518792796] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280878060587] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068084100] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279572552157] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279420914647] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114281065] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280910081130] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627222327] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280578632689] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280843352365] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670462409] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634469539] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593637761] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279418510751] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459180203] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451980775] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310132158] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815180225] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998203267] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022821607] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279525939458] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281141947045] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112210960] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280354097860] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338846274] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025971033] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280506103587] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402815523] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863464912] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605553882] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280756117306] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280992299168] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879533091] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660681118] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279368237630] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279339568338] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279881472022] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279235210782] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711869092] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280613419374] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280832304939] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.8589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279837012662] runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253867432] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280405362133] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993342063] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626542347] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281297222489] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281223709106] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304046016] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280514777604] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132758673] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280625564372] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279758125635] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449558505] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242870495] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279791727897] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279573554148] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805452062] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922293704] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280703762404] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311187876] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280712617752] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239375341] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280726218280] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886680183] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280344835169] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379793126] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678260258] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280957810686] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265820527] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280730970460] runtime: 0.0465ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155edd0000'), "name"=>"Geoffrey Bechtelar", "reference"=>"Monty Jakubowski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1424ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ede0000'), "name"=>"Sylvester Beer", "reference"=>"Miracle Bruen DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280271951969] runtime: 0.0612ms 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('54902dc4773533155edf0000'), "name"=>"Zion D'Amore", "reference"=>"Retta Sporer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902dc4773533155edf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155edf0000')} 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('54902dc4773533155ee00000'), "name"=>"Dylan Graham", "reference"=>"Lexus Reilly PhD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee20000'), "name"=>"Kailyn Gerlach MD", "reference"=>"Casimer Wilkinson", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902dc4773533155ee20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155ee20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee30000'), "name"=>"Mr. Marlen Haag", "reference"=>"Janae Kautzer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 782.2161ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4842ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6128ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 12ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.4253ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc2773533155e090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 6ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee40000'), "name"=>"Victoria Emard", "reference"=>"Annamae Barrows", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5511ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4301ms Completed 200 OK in 11ms (Views: 6.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee50000'), "name"=>"Gavin Hamill", "reference"=>"Hyman Moore Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4528ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4096ms Completed 200 OK in 11ms (Views: 6.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee60000'), "name"=>"Raleigh Towne", "reference"=>"Theresia Cronin Sr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6209ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.9167ms 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('54902dc4773533155ee70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5670ms Completed 201 Created in 45ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4527ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc4773533155ee80000'), "name"=>"Furman Pagac", "reference"=>"Magdalen Jenkins", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5108ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902dc4773533155ee80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155ee80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms 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('54902dc4773533155ee90000'), "name"=>"Rosemarie Lynch", "reference"=>"Cicero Sanford", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms 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('54902dc4773533155eeb0000'), "name"=>"Wilber Fisher", "reference"=>"Dr. Caleigh Heidenreich", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5386ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902dc4773533155eeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155eeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms 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('54902dc4773533155eec0000'), "name"=>"Jazmyne Corwin", "reference"=>"Esteban VonRueden", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902dc4773533155eec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc4773533155eec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Redirected to http://test.host/products/54902dc4773533155eec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155eef0000'), "name"=>"Ruben Lueilwitz", "reference"=>"Ms. Micah Fadel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155eed0000'), "author_name"=>"Anahi Kulas", "content"=>["Et aut iste sunt deserunt quo. Rerum aut eius aut sint. Quae consectetur amet nam. Corrupti quia exercitationem natus voluptatem deleniti non magni."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155eee0000'), "author_name"=>"Keira Becker", "content"=>["Odit aut commodi omnis cum maxime aut placeat. Et similique esse ut consequatur. Eius occaecati voluptas dolorem aut laborum ut. Et laborum dolores maxime. Magnam eos ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902dc5773533155eef0000", "comment_id"=>"54902dc5773533155eed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155eef0000'), "comments._id"=>BSON::ObjectId('54902dc5773533155eed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902dc5773533155ef00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6835ms Redirected to http://test.host/products/54902dc5773533155eef0000/comments/54902dc5773533155eed0000/comments/54902dc5773533155ef00000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155ef30000'), "name"=>"Miss Robbie Runolfsson", "reference"=>"Miss Damian Weissnat", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef10000'), "author_name"=>"Camilla Cremin", "content"=>["Sapiente dolorem quia consequatur odit quidem sit adipisci. Esse repellat ut. Harum optio accusamus ipsum veritatis autem fugit et. Possimus qui autem."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef20000'), "author_name"=>"Mrs. Nick Prohaska", "content"=>["Cumque tempora nobis voluptas. Molestiae neque voluptate aut. Tempore asperiores consequatur ipsa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902dc5773533155ef30000", "comment_id"=>"54902dc5773533155ef10000", "id"=>"54902dc5773533155ef20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef30000'), "comments._id"=>BSON::ObjectId('54902dc5773533155ef10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902dc5773533155ef20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6109ms Redirected to http://test.host/products/54902dc5773533155ef30000/comments/54902dc5773533155ef10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155ef60000'), "name"=>"Heloise Robel", "reference"=>"Dayna McCullough", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef40000'), "author_name"=>"Georgiana Reynolds", "content"=>["Voluptatem et dolores quae. Corrupti et dicta illo non rerum molestiae. Provident ratione repellat ut."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef50000'), "author_name"=>"Mireya McLaughlin MD", "content"=>["Et eum magni et earum fuga. Veritatis eum numquam assumenda et. Facilis culpa a voluptatibus sit cupiditate eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902dc5773533155ef60000", "comment_id"=>"54902dc5773533155ef40000", "id"=>"54902dc5773533155ef50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155ef90000'), "name"=>"Garett Jenkins", "reference"=>"Leann Hegmann", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef70000'), "author_name"=>"Alison Lueilwitz III", "content"=>["Et inventore velit voluptatum esse labore eum. Temporibus omnis doloremque vero. Qui ut doloribus distinctio reprehenderit et. Magni et qui rerum sunt. Doloremque beatae laudantium dicta ullam nemo."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155ef80000'), "author_name"=>"Jakayla Bogan", "content"=>["Totam qui ut ut et nesciunt est quam. Illo commodi vitae eveniet quod. Minima maxime amet reprehenderit eos non harum aspernatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5748ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902dc5773533155ef90000", "comment_id"=>"54902dc5773533155ef70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155ef90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms Completed 200 OK in 7ms (Views: 4.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155efc0000'), "name"=>"Loy Hilpert Sr.", "reference"=>"Terrill Nitzsche", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155efa0000'), "author_name"=>"Vicente Greenfelder", "content"=>["Sit unde reprehenderit quia et. Fuga placeat harum aut accusantium libero excepturi. Autem qui necessitatibus deleniti qui omnis a quod. Voluptates est commodi aliquam voluptatem quaerat dolore."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155efb0000'), "author_name"=>"Emely Parker", "content"=>["Rem perspiciatis voluptatem impedit sapiente occaecati ab. Aut saepe doloribus labore. Exercitationem repellat temporibus quaerat aut omnis voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902dc5773533155efc0000", "comment_id"=>"54902dc5773533155efa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155efc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155eff0000'), "name"=>"Clara Schaefer", "reference"=>"Tobin Funk", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155efd0000'), "author_name"=>"Vivian Weimann", "content"=>["Omnis qui et et rerum esse et voluptas. Numquam vitae ducimus a iure. Sunt officia nemo mollitia est ut. Velit exercitationem corrupti. Numquam incidunt necessitatibus doloribus est."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155efe0000'), "author_name"=>"Wilbert Lesch", "content"=>["Aliquam dolores quos. Ipsa tempora aut repudiandae et aut et illo. Magni sed nam. In non unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902dc5773533155eff0000", "comment_id"=>"54902dc5773533155efd0000", "id"=>"54902dc5773533155efe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155eff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e020100'), "name"=>"Mrs. Hosea Schiller", "reference"=>"Dr. Donald Jaskolski", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e000100'), "author_name"=>"Dixie Thompson", "content"=>["Dolorem dolore qui quis dignissimos et. Voluptatem deleniti accusamus omnis sed rerum dolore. Harum officiis modi necessitatibus ea ad dolor. Est et voluptatem quia ut magnam optio."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e010100'), "author_name"=>"Dagmar Beier", "content"=>["Beatae provident numquam quis quia ipsum sunt consequatur. Molestiae ratione sed aut ad distinctio. Qui velit sit aut sed voluptatem dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902dc5773533155e020100", "comment_id"=>"54902dc5773533155e000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155e020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e050100'), "name"=>"Ashtyn Bechtelar", "reference"=>"Eliane VonRueden", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e030100'), "author_name"=>"Tanner Welch", "content"=>["Vel consequuntur eligendi vitae tenetur sit. Vel numquam molestiae aspernatur eveniet nostrum et est. Est et sint voluptatem eos sit."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e040100'), "author_name"=>"Watson Lueilwitz", "content"=>["Quis itaque excepturi in et. Laborum mollitia laudantium itaque illo assumenda quo inventore. Adipisci quis sit. Nesciunt fuga quas itaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902dc5773533155e050100", "comment_id"=>"54902dc5773533155e030100", "id"=>"54902dc5773533155e040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155e050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e080100'), "name"=>"Elbert Schmeler", "reference"=>"Meggie Flatley DVM", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e060100'), "author_name"=>"Mr. Nannie Mante", "content"=>["Et autem quis vitae non maxime labore aut. Dignissimos officiis dolorem aut ducimus est facere. Magni error expedita placeat quod sed perferendis dolor. Explicabo labore consequatur nihil quam aut. Sit id rem voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('54902dc5773533155e070100'), "author_name"=>"Audra Blick DDS", "content"=>["Sint dolorem consequuntur eius qui cumque a omnis. Eum aut quas nulla quos. Excepturi ipsum laborum quaerat. Dolore saepe possimus quam qui ipsa velit. Iure sint aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5560ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902dc5773533155e070100", "product_id"=>"54902dc5773533155e080100", "comment_id"=>"54902dc5773533155e060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155e080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4015ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dc5773533155e080100'), "comments._id"=>BSON::ObjectId('54902dc5773533155e060100'), "comments.0.comments._id"=>BSON::ObjectId('54902dc5773533155e070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6718ms Redirected to http://test.host/products/54902dc5773533155e080100/comments/54902dc5773533155e060100/comments/54902dc5773533155e070100 Completed 302 Found in 33ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e090100'), "firstname"=>"Reyes", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5957ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2024ms 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('54902dc5773533155e0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Redirected to http://test.host/users/54902dc5773533155e0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2734ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e0b0100'), "firstname"=>"Diana", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms 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"=>"54902dc5773533155e0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc5773533155e0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc5773533155e0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms Redirected to http://test.host/users Completed 302 Found in 36ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4510ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e0c0100'), "firstname"=>"Noemi", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902dc5773533155e0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc5773533155e0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3911ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) 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('54902dc5773533155e0d0100'), "firstname"=>"Nels", "lastname"=>"Cummings"}] 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.4822ms Completed 200 OK in 9ms (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('54902dc5773533155e0e0100'), "firstname"=>"Lexi", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dc5773533155e0f0100'), "firstname"=>"Harry", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902dc5773533155e0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc5773533155e0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) 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('54902dc5773533155e100100'), "firstname"=>"Deion", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902dc5773533155e100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dc5773533155e100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms Unpermitted parameters: name Redirected to http://test.host/users/54902dc5773533155e100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms 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.2467ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms 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.2048ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms 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.2042ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df877353315c8000000'), "firstname"=>"Adriel", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 409.4660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4465ms 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('54902df977353315c8010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6754ms Redirected to http://test.host/admin/administrator Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3227ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8020000'), "firstname"=>"Nolan", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902df977353315c8020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4951ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.8ms) Completed 200 OK in 30ms (Views: 28.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8030000'), "firstname"=>"Sofia", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9948ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54902df977353315c8040000'), "firstname"=>"Marielle", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902df977353315c8040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3946ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 4.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8050000'), "firstname"=>"Lamont", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5634ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902df977353315c8050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms 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('54902df977353315c8060000'), "name"=>"Cortez Pagac", "reference"=>"Melisa Littel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c8070000'), "author_name"=>"Vickie Reilly", "content"=>["Assumenda rerum temporibus expedita eveniet qui quo. Ad quo blanditiis error repudiandae quod. Molestias dolorem eos quaerat odio earum minus adipisci. Molestiae ut est. Est tempora aspernatur deleniti ut quos voluptas sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902df977353315c8060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902df977353315c8080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9797ms Redirected to http://test.host/admin/products/54902df977353315c8060000/comments/54902df977353315c8080000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8090000'), "name"=>"Layne White", "reference"=>"Syble Rosenbaum", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c80a0000'), "author_name"=>"Beth Mayert", "content"=>["Laudantium quod error aut illo autem. Amet ea suscipit exercitationem quia necessitatibus aspernatur. Sed harum laboriosam eligendi vel soluta non modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902df977353315c8090000", "id"=>"54902df977353315c80a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902df977353315c80a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Redirected to http://test.host/admin/products/54902df977353315c8090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c80b0000'), "name"=>"Liza Hintz", "reference"=>"Sigrid Goldner DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c80c0000'), "author_name"=>"Franco VonRueden", "content"=>["Quaerat ut adipisci rerum distinctio dicta corporis. Rerum architecto necessitatibus delectus eos. Deleniti est non quisquam vel rerum. Modi vero voluptas ea explicabo laboriosam unde provident."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902df977353315c80b0000", "id"=>"54902df977353315c80c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c80d0000'), "name"=>"Desmond Hansen", "reference"=>"Mrs. Baron Ruecker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c80e0000'), "author_name"=>"Elroy Runolfsson", "content"=>["Quia non dicta sed id omnis in omnis. Veritatis et tenetur dolore quod ipsam molestiae. Dolorem reprehenderit assumenda est fugiat sunt. Ea ad eius et sed autem autem molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902df977353315c80d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c80f0000'), "name"=>"Josiah Oberbrunner", "reference"=>"Jalyn Gerlach III", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c8100000'), "author_name"=>"Kelsi Erdman", "content"=>["Numquam voluptatem voluptatem quos quia dolor. Nulla eos consequatur non. Eos modi maiores placeat pariatur vero et sint. Quo velit dolore libero in tenetur doloribus hic."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5247ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902df977353315c80f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8110000'), "name"=>"Gilda Gleichner", "reference"=>"Dasia Gleichner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c8120000'), "author_name"=>"Keshawn Sporer", "content"=>["Quis voluptatibus dolore aut. Distinctio autem molestiae aut et odio eum aperiam. Nesciunt ipsa tempore quo est et. Qui rerum et sunt dolorum ratione doloremque. Voluptatem possimus quos ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902df977353315c8110000", "id"=>"54902df977353315c8120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) 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('54902df977353315c8130000'), "name"=>"Benny Weissnat", "reference"=>"Marguerite Abbott", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902df977353315c8140000'), "author_name"=>"Mr. Austen Price", "content"=>["Asperiores aperiam placeat. Libero ut deleniti debitis sapiente praesentium. Iusto tenetur qui architecto est aperiam assumenda magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902df977353315c8140000", "product_id"=>"54902df977353315c8130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8130000')} 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('54902df977353315c8130000'), "comments._id"=>BSON::ObjectId('54902df977353315c8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Redirected to http://test.host/admin/products/54902df977353315c8130000/comments/54902df977353315c8140000 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('54902df977353315c8150000'), "name"=>"Easter Hoppe", "reference"=>"Haley Wehner", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902df977353315c8160000'), "firstname"=>"Rosamond", "lastname"=>"Wilderman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902df977353315c8150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902df977353315c8170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms Redirected to http://test.host/admin/products/54902df977353315c8150000/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('54902df977353315c8180000'), "name"=>"Aglae Ankunding", "reference"=>"Golda Dach", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902df977353315c8190000'), "firstname"=>"Ahmad", "lastname"=>"Lueilwitz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902df977353315c8190000", "product_id"=>"54902df977353315c8180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c81a0000'), "name"=>"Mr. Weldon Hyatt", "reference"=>"Harold Feeney V", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902df977353315c81b0000'), "firstname"=>"Anastacio", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1180ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902df977353315c81a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c81c0000'), "name"=>"Davin Donnelly", "reference"=>"Nico Gottlieb", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902df977353315c81d0000'), "firstname"=>"Marion", "lastname"=>"Trantow"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902df977353315c81d0000", "product_id"=>"54902df977353315c81c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c81e0000'), "name"=>"Ubaldo Hayes", "reference"=>"Gennaro Rolfson", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902df977353315c81f0000'), "firstname"=>"Aurelia", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902df977353315c81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902df977353315c81e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902df977353315c81e0000/manager 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('54902df977353315c8200000'), "name"=>"Yolanda Kerluke", "reference"=>"Gladyce Murazik II", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1338ms 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('54902df977353315c8210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms Redirected to http://test.host/admin/products/54902df977353315c8210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1474ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8220000'), "name"=>"Gia Nolan", "reference"=>"Devan Grant", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.1285ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902df977353315c8220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8220000')} 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('54902df977353315c8220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms 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.1462ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8230000'), "name"=>"Curtis Bosco", "reference"=>"Luis Gorczany", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902df977353315c8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8240000'), "name"=>"Elissa Ritchie", "reference"=>"Gillian Goyette", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms 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.5263ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8250000'), "name"=>"Archibald Volkman", "reference"=>"Genesis Tremblay", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('54902df977353315c8280000'), "name"=>"Judson McKenzie", "reference"=>"Selina Greenholt", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902df977353315c8280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902df977353315c8290000'), "name"=>"Gussie Graham", "reference"=>"Theresia Veum", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902df977353315c8290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Redirected to http://test.host/admin/products/54902df977353315c8290000 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('54902df977353315c82a0000'), "firstname"=>"Norene", "lastname"=>"Klein"}] 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.1843ms 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('54902df977353315c82b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms Redirected to http://test.host/admin/users/54902df977353315c82b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1444ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902df977353315c82c0000'), "firstname"=>"Alexandre", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1217ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902df977353315c82c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902df977353315c82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902df977353315c82c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms 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.1339ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902df977353315c82d0000'), "firstname"=>"Reggie", "lastname"=>"Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902df977353315c82d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902df977353315c82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902df977353315c82e0000'), "firstname"=>"Quincy", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms 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.2554ms 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('54902df977353315c82f0000'), "firstname"=>"Fredrick", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902df977353315c8300000'), "firstname"=>"Heloise", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902df977353315c8300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902df977353315c8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902df977353315c8310000'), "firstname"=>"Eugene", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902df977353315c8310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902df977353315c8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902df977353315c8310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8320000'), "firstname"=>"Celia", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1789ms 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('54902df977353315c8330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms 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.1810ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8340000'), "firstname"=>"Christopher", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902df977353315c8340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8350000'), "firstname"=>"Larissa", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8360000'), "firstname"=>"Darius", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902df977353315c8360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902df977353315c8370000'), "firstname"=>"Anastasia", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902df977353315c8370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902df977353315c8370000')} 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 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c8380000'), "name"=>"Gustave Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c8390000'), "name"=>"Elvera Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c8390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c83a0000'), "name"=>"Eladio Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c83a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c83b0000'), "name"=>"Ezekiel Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c83c0000'), "name"=>"Mr. Hoyt Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c83c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c83d0000'), "name"=>"Mr. Georgianna Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902df977353315c83e0000'), "name"=>"Miss Buford Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902df977353315c83e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c83f0000'), "name"=>"Julia Dietrich IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8400000'), "name"=>"Jovani Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8410000'), "name"=>"Orlo Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8420000'), "name"=>"Judge Klocko PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8430000'), "name"=>"Dominique Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8440000'), "name"=>"Lydia McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8450000'), "name"=>"Miss Rosie Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8460000'), "name"=>"Suzanne VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8470000'), "name"=>"Nat McCullough II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8480000'), "name"=>"Lonny Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8490000'), "name"=>"Dr. Randal Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84a0000'), "name"=>"Dejon Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84b0000'), "name"=>"Miss Gayle Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84c0000'), "name"=>"Dianna Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84d0000'), "name"=>"Ona Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84e0000'), "name"=>"Marcelina Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c84f0000'), "name"=>"Manley Walker II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c84f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8500000'), "name"=>"Stacey Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8510000'), "name"=>"Evan Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8520000'), "name"=>"Mr. Mariano Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8530000'), "name"=>"Elliot Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8540000'), "name"=>"Lorenz Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8550000'), "name"=>"Reanna Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8560000'), "name"=>"Dario Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8570000'), "name"=>"Anais Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8580000'), "name"=>"Lindsey Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8590000'), "name"=>"Miss Shaniya Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85a0000'), "name"=>"Dr. Tyshawn Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85b0000'), "name"=>"Misael Mayer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85c0000'), "name"=>"Dr. Carley Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85d0000'), "name"=>"Reilly Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85e0000'), "name"=>"Eveline Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c85f0000'), "name"=>"Laverna Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c85f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8600000'), "name"=>"Anderson Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8610000'), "name"=>"Oral Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8620000'), "name"=>"Demond Harvey I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8630000'), "name"=>"Audie Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8640000'), "name"=>"Mr. Pedro Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8650000'), "name"=>"Karlie Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8660000'), "name"=>"Martin Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8670000'), "name"=>"Anya Glover I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8680000'), "name"=>"Nora Pouros II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8690000'), "name"=>"Pink Bartoletti I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86a0000'), "name"=>"Bartholome Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86b0000'), "name"=>"Nelle Cummings Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86c0000'), "name"=>"Dr. Geo Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86d0000'), "name"=>"Harold Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86e0000'), "name"=>"Alta West Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c86f0000'), "name"=>"Samantha Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c86f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8700000'), "name"=>"Helga Kiehn I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8710000'), "name"=>"Ansel Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8720000'), "name"=>"Sigmund Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8730000'), "name"=>"Fern Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8740000'), "name"=>"Nico Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8750000'), "name"=>"Brennon Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8760000'), "name"=>"Phoebe Dibbert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8770000'), "name"=>"Johann Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8780000'), "name"=>"Mrs. Elsa Stracke"}] 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={"category_id"=>BSON::ObjectId('54902dfa77353315c8780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8790000'), "name"=>"Luisa Reinger V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87a0000'), "name"=>"Vaughn Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87b0000'), "name"=>"Rowan Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87c0000'), "name"=>"Raven Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87d0000'), "name"=>"Deborah Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87e0000'), "name"=>"Marina Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c87f0000'), "name"=>"Roel Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c87f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8800000'), "name"=>"Westley Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8810000'), "name"=>"Trever Johnston II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8820000'), "name"=>"Mateo Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8830000'), "name"=>"Chauncey Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8840000'), "name"=>"Richmond Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8850000'), "name"=>"Mr. Terence Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8860000'), "name"=>"Aletha Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8870000'), "name"=>"Maria Torp Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8880000'), "name"=>"Dominique Lakin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8890000'), "name"=>"Leon Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88a0000'), "name"=>"Orlando Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88b0000'), "name"=>"Effie Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2039ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88c0000'), "name"=>"Rickey Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88d0000'), "name"=>"Margarette Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88e0000'), "name"=>"Eloisa VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c88f0000'), "name"=>"Annie Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c88f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8900000'), "name"=>"Troy Cormier III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8910000'), "name"=>"Lilian Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8920000'), "name"=>"Citlalli Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8930000'), "name"=>"Onie Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8940000'), "name"=>"Jalen Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8950000'), "name"=>"Nicole Heidenreich DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8960000'), "name"=>"Ms. Oren Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8970000'), "name"=>"Alicia Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2059ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8980000'), "name"=>"Hello"}] 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={"category_id"=>BSON::ObjectId('54902dfa77353315c8980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms Redirected to http://test.host/categories/54902dfa77353315c8980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2198ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8990000'), "name"=>"Mona Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1630ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902dfa77353315c8990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c8990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c8990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2288ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c89a0000'), "name"=>"Matilde Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902dfa77353315c89a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c89b0000'), "name"=>"Haleigh Kutch DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305531699165] runtime: 0.1204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3119ms Completed 200 OK in 17ms (Views: 16.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c89c0000'), "name"=>"Skye Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.8802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305152305925] runtime: 0.1191ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2606ms Completed 200 OK in 11ms (Views: 10.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c89d0000'), "name"=>"Derrick Bahringer"}] 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={"category_id"=>BSON::ObjectId('54902dfa77353315c89d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c89f0000'), "name"=>"Libbie Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902dfa77353315c89f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c89f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8a00000'), "name"=>"Wilhelmine Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902dfa77353315c8a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902dfa77353315c8a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms Redirected to http://test.host/categories/54902dfa77353315c8a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8a10000'), "name"=>"Micah Hermiston MD", "reference"=>"Antwon Kessler", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8a20000'), "author_name"=>"Meghan Bogisich", "content"=>["Dolorem consequuntur sit reprehenderit id aut beatae eveniet. Et natus quas. Ea labore perferendis fugit dignissimos aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902dfa77353315c8a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a10000')} 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('54902dfa77353315c8a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7980ms Redirected to http://test.host/products/54902dfa77353315c8a10000/comments/54902dfa77353315c8a30000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8a40000'), "name"=>"Susanna Cole", "reference"=>"Tomas Fay", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8a50000'), "author_name"=>"Lorenza Reilly", "content"=>["Eligendi eos sit alias odit voluptas vel. Repellat hic et atque eum. Vitae in totam architecto facilis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902dfa77353315c8a40000", "id"=>"54902dfa77353315c8a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms Redirected to http://test.host/products/54902dfa77353315c8a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8a60000'), "name"=>"Wilfredo Dare", "reference"=>"Kurtis Price", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8a70000'), "author_name"=>"Dr. Bernhard Mills", "content"=>["Debitis nihil ab neque quod aspernatur laudantium magnam. Quis id occaecati molestiae laboriosam illum molestiae aut. Sint ea est et eligendi aut sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902dfa77353315c8a60000", "id"=>"54902dfa77353315c8a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8a80000'), "name"=>"Carmela Rau", "reference"=>"Lilliana Quigley", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8a90000'), "author_name"=>"Kenyatta Gutmann", "content"=>["Quis eum deleniti. Sequi aspernatur molestiae dolorem consequatur soluta ipsum non. Enim excepturi et ex temporibus. Non vitae iusto ut et sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5725ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902dfa77353315c8a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8aa0000'), "name"=>"Kenton Carroll I", "reference"=>"Esperanza Lebsack", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8ab0000'), "author_name"=>"Rosalinda Weimann", "content"=>["Labore ut voluptatem fugit ullam quia repellat et. Praesentium provident autem eveniet ullam cupiditate dolores. Voluptatibus voluptas soluta totam occaecati laboriosam. Quisquam quia qui. Sed velit unde quos ea possimus omnis error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902dfa77353315c8aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8ac0000'), "name"=>"Hannah Leffler", "reference"=>"Emie Turner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8ad0000'), "author_name"=>"Duane Cronin", "content"=>["Ut inventore occaecati aut id rerum. Consequuntur est exercitationem dolorem eligendi dolor. Magnam ex aut. Maiores fugiat sint qui quae pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902dfa77353315c8ac0000", "id"=>"54902dfa77353315c8ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8ae0000'), "name"=>"Lura Kling", "reference"=>"Doug Runolfsson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8af0000'), "author_name"=>"Wilma Kling", "content"=>["Aut animi sint. Est beatae veritatis vitae error. Id blanditiis molestiae et quia quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902dfa77353315c8ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b00000'), "name"=>"Bernhard Harris V", "reference"=>"Sibyl Batz III", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8b10000'), "author_name"=>"Cameron Hammes", "content"=>["Quia voluptates rerum et occaecati voluptatum aut et. Labore quisquam aliquid ipsam totam. Dolorem est blanditiis magni illum sint ad. Qui voluptas vitae. Maxime molestias officia impedit minima fugit qui sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902dfa77353315c8b00000", "id"=>"54902dfa77353315c8b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b20000'), "name"=>"Bria Stiedemann", "reference"=>"Abby Rice", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dfa77353315c8b30000'), "author_name"=>"Rubie Howell", "content"=>["Veritatis consequatur ut recusandae sunt temporibus in. Voluptatem aut ut iure quam possimus corrupti. Cumque aperiam temporibus repudiandae voluptatem corrupti. Dolorum atque accusamus amet et molestias molestiae magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0553ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902dfa77353315c8b30000", "product_id"=>"54902dfa77353315c8b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8b20000'), "comments._id"=>BSON::ObjectId('54902dfa77353315c8b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6585ms Redirected to http://test.host/products/54902dfa77353315c8b20000/comments/54902dfa77353315c8b30000 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('54902dfa77353315c8b40000'), "firstname"=>"Keon", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6059ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2793ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Redirected to http://test.host/admin/clients/54902dfa77353315c8b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2536ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b60000'), "firstname"=>"Jaren", "lastname"=>"Windler"}] 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.2182ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902dfa77353315c8b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8b60000')} 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('54902dfa77353315c8b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms 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.2287ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b70000'), "firstname"=>"Oda", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902dfa77353315c8b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8b80000'), "firstname"=>"Jordan", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902dfa77353315c8b90000'), "firstname"=>"Milan", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2660ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902dfa77353315c8ba0000'), "firstname"=>"Amie", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902dfa77353315c8ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902dfa77353315c8bb0000'), "firstname"=>"Nina", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902dfa77353315c8bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Redirected to http://test.host/admin/clients/54902dfa77353315c8bb0000 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('54902dfa77353315c8bc0000'), "firstname"=>"Mertie", "lastname"=>"VonRueden"}] 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=>"clients", :query=>{}} runtime: 0.2559ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms Redirected to http://test.host/clients/54902dfa77353315c8bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2604ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8be0000'), "firstname"=>"Cooper", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2337ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902dfa77353315c8be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8be0000')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1950ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8bf0000'), "firstname"=>"Noah", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902dfa77353315c8bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54902dfa77353315c8c00000'), "firstname"=>"Mireya", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms 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('54902dfa77353315c8c10000'), "firstname"=>"Kaley", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902dfa77353315c8c20000'), "firstname"=>"Buck", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902dfa77353315c8c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902dfa77353315c8c30000'), "firstname"=>"Halle", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902dfa77353315c8c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms Redirected to http://test.host/clients/54902dfa77353315c8c30000 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('54902dfa77353315c8c40000'), "name"=>"Eliza Kirlin", "reference"=>"Myrtle Gleason", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8c50000'), "firstname"=>"Guy", "lastname"=>"Padberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902dfa77353315c8c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms Redirected to http://test.host/products/54902dfa77353315c8c40000/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('54902dfa77353315c8c70000'), "name"=>"Greg Mills", "reference"=>"Raleigh Gleason", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8c80000'), "firstname"=>"Brandt", "lastname"=>"Hane"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6514ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902dfa77353315c8c80000", "product_id"=>"54902dfa77353315c8c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4631ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 12ms (Views: 9.0ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8c90000'), "name"=>"Maeve Schmeler Sr.", "reference"=>"Brennon Becker II", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8ca0000'), "firstname"=>"Fern", "lastname"=>"Smitham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6327ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902dfa77353315c8c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4537ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 5.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8cb0000'), "name"=>"Loraine Lakin", "reference"=>"Laurie Hessel", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8cc0000'), "firstname"=>"Marc", "lastname"=>"Kautzer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5824ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902dfa77353315c8cc0000", "product_id"=>"54902dfa77353315c8cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 7ms (Views: 4.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8cd0000'), "name"=>"Octavia Adams", "reference"=>"Annie Johnston", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902dfa77353315c8ce0000'), "firstname"=>"Amy", "lastname"=>"Hansen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4887ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902dfa77353315c8ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902dfa77353315c8cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Unpermitted parameters: name Redirected to http://test.host/products/54902dfa77353315c8cd0000/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('54902dfa77353315c8cf0000'), "name"=>"Billie Harvey", "reference"=>"Ms. Bryce Ondricka", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d00000'), "name"=>"Alvena Pagac", "reference"=>"Dominic Johnson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d10000'), "name"=>"Earlene Osinski", "reference"=>"Randi Ebert", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d20000'), "name"=>"Damon Dickinson", "reference"=>"Adele Abshire II", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d30000'), "name"=>"Reynold Kirlin", "reference"=>"Peggie Berge", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d40000'), "name"=>"Ms. Josie Waelchi", "reference"=>"Lenna Effertz II", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.2498ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms Redirected to http://test.host/products/54902dfa77353315c8d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2378ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d60000'), "name"=>"Dina Herzog", "reference"=>"Cecile Ondricka", "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.1514ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902dfa77353315c8d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms 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.1556ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d70000'), "name"=>"Kelly Spinka", "reference"=>"Nelda Wintheiser", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902dfa77353315c8d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfa77353315c8d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d80000'), "name"=>"Eliane Stiedemann", "reference"=>"Cruz Pagac MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280048126888] runtime: 0.1077ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2530ms Completed 200 OK in 18ms (Views: 17.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8d90000'), "name"=>"Jace Littel", "reference"=>"Chaya White DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8da0000'), "name"=>"HelloWorld", "reference"=>"Myrtis Thiel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8db0000'), "name"=>"value", "reference"=>"Chloe Cremin", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4023ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2741ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2445ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1670ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2537ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2268ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1985ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1735ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfa77353315c8dc0000'), "name"=>"Lelia Funk", "reference"=>"Gunnar Howell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280784435973] runtime: 0.1106ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3234ms Completed 200 OK in 17ms (Views: 16.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280082229777] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836406566] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279395110113] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279692609552] runtime: 0.1206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280417716988] runtime: 0.0847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485628625] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279576125024] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935823737] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279420396800] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218472129] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034648949] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070405044] runtime: 0.0888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202591346] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935560490] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281308559412] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279741031884] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298681619] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191349012] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738266971] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517513636] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180567937] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407709776] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420596569] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318356561] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280422426850] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280228403] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279210302809] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280612949541] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069882309] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281054227490] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601568938] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280539655884] runtime: 0.0865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735006286] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280391978592] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280727088297] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402356479] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838096540] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281244900762] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280179601511] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079165576] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768298354] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710472006] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571257704] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279289213887] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280909475261] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697946412] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204272180] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300607355] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279345480857] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280430878827] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449781688] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280652326457] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643147433] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125900218] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838027584] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279350549219] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858118044] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624872483] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279544283474] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280713298295] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036715660] runtime: 31.1703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280540324138] runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743924633] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080052707] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280589393942] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319286592] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281185988949] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281045102186] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280395406686] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281037661974] runtime: 0.0834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353951422] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810367283] runtime: 0.0803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280790942335] runtime: 0.0818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280182851504] runtime: 0.0901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027746428] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280487188057] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781031382] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247324442] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478706962] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279527709458] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805083735] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618849713] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750646210] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267846229] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854383493] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882401188] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128779475] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125230617] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701512766] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279521710230] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279649116592] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280841956469] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279956324600] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280997309400] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280915257502] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613751188] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771479908] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132405566] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120966878] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280641249878] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491934251] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211969151] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877312403] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700971621] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280586401723] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279405774910] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892337440] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279631451921] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280430757551] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403531766] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095603934] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280192531011] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280373415882] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775855914] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281236085756] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281117434434] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282710891] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581460368] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478702236] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279230420182] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281171964491] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323022136] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723418767] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279975037296] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870474539] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504641195] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280388773598] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279580589352] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279305290497] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279558440] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280233523230] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280497088172] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004906747] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892130204] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280909315973] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356105536] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280255664171] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279563427461] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281057953855] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279236003801] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505798338] runtime: 0.0957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280217699146] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280545143117] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280383934754] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280850772721] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990478760] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865258542] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620652502] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838716628] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279301528760] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280801111727] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281017708735] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280071804551] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959976017] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001254968] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280536585488] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280246161680] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272912692] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136310665] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921110433] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778937011] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280136979119] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280896213663] runtime: 0.0647ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8dd0000'), "name"=>"Raoul Barton III", "reference"=>"Lamar Rolfson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4304ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2336ms Completed 200 OK in 6ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8de0000'), "name"=>"Angel Lueilwitz Sr.", "reference"=>"Tristian Schiller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5222ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264377804] runtime: 0.0710ms Completed 200 OK in 5ms (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('54902dfb77353315c8df0000'), "name"=>"Armando Weimann", "reference"=>"Gerard Ebert", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902dfb77353315c8df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms 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('54902dfb77353315c8e00000'), "name"=>"Dasia Schuster", "reference"=>"Hiram Bauch DDS", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e20000'), "name"=>"Lilla Huels", "reference"=>"Deja Botsford", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902dfb77353315c8e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e30000'), "name"=>"Leonie Keebler", "reference"=>"Missouri Mitchell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3291ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2456ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.2278ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902df977353315c8090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 3ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e40000'), "name"=>"Mrs. Burdette Schoen", "reference"=>"Shaniya Hamill", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2388ms Completed 200 OK in 6ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e50000'), "name"=>"Ariane Conn DDS", "reference"=>"Sylvester Wuckert", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Completed 200 OK in 6ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e60000'), "name"=>"Mr. Frank Larkin", "reference"=>"Christop Hayes", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.2025ms 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('54902dfb77353315c8e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1950ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e80000'), "name"=>"Lesly Heller", "reference"=>"Imogene Graham", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 692.7458ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902dfb77353315c8e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7287ms Completed 200 OK in 6ms (Views: 0.4ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8e90000'), "name"=>"Eliezer Huels II", "reference"=>"Vaughn Friesen", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8484ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfb77353315c8eb0000'), "name"=>"Miss Brennan Armstrong", "reference"=>"Jalyn Greenholt", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6769ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902dfb77353315c8eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4914ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfb77353315c8eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8ec0000'), "name"=>"Asha Rosenbaum", "reference"=>"Annette Langworth Jr.", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902dfc77353315c8ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4958ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms Redirected to http://test.host/products/54902dfc77353315c8ec0000 Completed 302 Found in 5ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8ef0000'), "name"=>"Annamae Wolf", "reference"=>"Korey Simonis", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8ed0000'), "author_name"=>"Lacy Hagenes", "content"=>["Nam facilis odit commodi. Consectetur est rem. Nam perspiciatis provident ut voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8ee0000'), "author_name"=>"Dr. Cordell Cole", "content"=>["Occaecati assumenda illo vero ut. Consequatur id eos aut doloremque esse et nulla. Est voluptas aut molestias voluptates ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.0264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4453ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902dfc77353315c8ef0000", "comment_id"=>"54902dfc77353315c8ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ef0000'), "comments._id"=>BSON::ObjectId('54902dfc77353315c8ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902dfc77353315c8f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8247ms Redirected to http://test.host/products/54902dfc77353315c8ef0000/comments/54902dfc77353315c8ed0000/comments/54902dfc77353315c8f00000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4187ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8f30000'), "name"=>"Mrs. Janiya Douglas", "reference"=>"Ms. Don Schulist", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f10000'), "author_name"=>"Camren Lind", "content"=>["Inventore rerum eum est. Ea quos assumenda tempora sapiente atque cupiditate. Suscipit excepturi dolorem iure quo voluptas distinctio quaerat. Sapiente ut fuga dolores qui."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f20000'), "author_name"=>"Deshaun Hane III", "content"=>["Quod incidunt ut delectus possimus dolores quas. Iure consequatur voluptate natus. Ipsum eos repellendus impedit in sapiente ducimus. Impedit consequatur aut molestiae commodi libero voluptatem architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4097ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902dfc77353315c8f30000", "comment_id"=>"54902dfc77353315c8f10000", "id"=>"54902dfc77353315c8f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4987ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f30000'), "comments._id"=>BSON::ObjectId('54902dfc77353315c8f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902dfc77353315c8f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6775ms Redirected to http://test.host/products/54902dfc77353315c8f30000/comments/54902dfc77353315c8f10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8f60000'), "name"=>"Miss Mariah Pacocha", "reference"=>"Aliyah Sporer IV", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f40000'), "author_name"=>"Myrna Mosciski", "content"=>["Iste nihil debitis aliquam ipsa sunt illum magni. Eligendi praesentium itaque et fugit distinctio quis. Consequatur dignissimos ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f50000'), "author_name"=>"Dr. Adolph Will", "content"=>["Cum soluta voluptas ipsam est id atque. Quia occaecati non praesentium non libero natus veniam. Praesentium occaecati repellendus consequatur voluptate in. Alias facere consequuntur eligendi quia odit eius placeat. Rerum eaque aut eius et qui iusto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6122ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902dfc77353315c8f60000", "comment_id"=>"54902dfc77353315c8f40000", "id"=>"54902dfc77353315c8f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5109ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 8.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8f90000'), "name"=>"Newell Becker", "reference"=>"Krystal Mohr", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f70000'), "author_name"=>"Alexandria Halvorson", "content"=>["Maxime non eos qui quia dolor quia architecto. Quia non necessitatibus eaque et ut ducimus illum. Ut mollitia sit laboriosam dicta."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8f80000'), "author_name"=>"Daija Cartwright", "content"=>["Nesciunt tenetur accusantium dolore debitis accusamus voluptas. Ex ut exercitationem. Repellat nemo voluptas. Quia ut assumenda molestias quos et quaerat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902dfc77353315c8f90000", "comment_id"=>"54902dfc77353315c8f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4324ms Completed 200 OK in 8ms (Views: 4.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8fc0000'), "name"=>"Rusty Howell", "reference"=>"Kamryn Gutkowski Jr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8fa0000'), "author_name"=>"Cassandra Cartwright DVM", "content"=>["Fugit animi temporibus blanditiis quasi harum. Earum enim corporis eius. Rem voluptatibus voluptas nostrum unde."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8fb0000'), "author_name"=>"Ethelyn Ankunding", "content"=>["Rerum nemo debitis nobis aut sapiente. Eum rerum et minima voluptatem voluptatibus. Omnis quasi deserunt distinctio nisi. Veniam quae sed fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902dfc77353315c8fc0000", "comment_id"=>"54902dfc77353315c8fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8ff0000'), "name"=>"Carol Senger", "reference"=>"Colby Bode", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8fd0000'), "author_name"=>"Mr. Elda Gerhold", "content"=>["Ratione eos quia voluptatibus nihil enim occaecati. Exercitationem eos sed neque impedit minus eum rem. Aut recusandae qui illum in. Eius dolor facere magni."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8fe0000'), "author_name"=>"Eleanore O'Conner", "content"=>["Accusamus sed quia amet non minima. Ipsa quidem ducimus aut voluptate saepe hic. Aut quo alias omnis ut voluptates. Pariatur reiciendis tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902dfc77353315c8ff0000", "comment_id"=>"54902dfc77353315c8fd0000", "id"=>"54902dfc77353315c8fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8020100'), "name"=>"Ed Schuppe I", "reference"=>"Martine Brekke", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8000100'), "author_name"=>"Myrtie Block", "content"=>["Qui cupiditate et rerum culpa ea. Dolorum et est sint veritatis laboriosam. Ratione ut ipsum non. Ad et et officiis doloremque ut. Vel quia ut blanditiis."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8010100'), "author_name"=>"Vinnie Halvorson", "content"=>["Non deleniti vel quaerat vero sunt. Inventore recusandae aut architecto ratione. Sunt voluptas doloremque nihil et ducimus tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5533ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902dfc77353315c8020100", "comment_id"=>"54902dfc77353315c8000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8050100'), "name"=>"Miss Rylee Eichmann", "reference"=>"Cara Hills", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8030100'), "author_name"=>"Kenneth Maggio Jr.", "content"=>["Voluptate incidunt nihil eveniet voluptatem qui. Perspiciatis saepe quae officiis. Qui molestias non natus ad."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8040100'), "author_name"=>"Dr. Filomena Predovic", "content"=>["Qui dolor veniam voluptate numquam corrupti facere ut. Consequatur tempora beatae. Ut ea delectus ipsam ad sit voluptatem. Sed nobis blanditiis non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902dfc77353315c8050100", "comment_id"=>"54902dfc77353315c8030100", "id"=>"54902dfc77353315c8040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4152ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.2ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8080100'), "name"=>"Miss Augusta Oberbrunner", "reference"=>"Aiyana Bogan MD", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8060100'), "author_name"=>"Heather Klein", "content"=>["Rerum libero voluptas ipsam nostrum. Necessitatibus autem porro. Qui in dolores. Est blanditiis cum harum rerum eius voluptate libero. Qui blanditiis impedit id."], "comments"=>[{"_id"=>BSON::ObjectId('54902dfc77353315c8070100'), "author_name"=>"Hellen Boyle", "content"=>["Dolorem vel nulla necessitatibus. Rerum cumque commodi voluptas aut tempore. Optio tenetur molestiae rerum repellendus reprehenderit. Adipisci maiores corporis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5789ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902dfc77353315c8070100", "product_id"=>"54902dfc77353315c8080100", "comment_id"=>"54902dfc77353315c8060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4408ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902dfc77353315c8080100'), "comments._id"=>BSON::ObjectId('54902dfc77353315c8060100'), "comments.0.comments._id"=>BSON::ObjectId('54902dfc77353315c8070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7222ms Redirected to http://test.host/products/54902dfc77353315c8080100/comments/54902dfc77353315c8060100/comments/54902dfc77353315c8070100 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('54902dfc77353315c8090100'), "firstname"=>"Violette", "lastname"=>"Gutkowski"}] 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=>"admin_users", :query=>{}} runtime: 0.2709ms 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('54902dfc77353315c80a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms Redirected to http://test.host/users/54902dfc77353315c80a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3076ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c80b0100'), "firstname"=>"Kathryne", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2162ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902dfc77353315c80b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dfc77353315c80b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dfc77353315c80b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms 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.2064ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c80c0100'), "firstname"=>"Renee", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902dfc77353315c80c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dfc77353315c80c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 43ms (Views: 41.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c80d0100'), "firstname"=>"Parker", "lastname"=>"Mills"}] 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.3572ms Completed 200 OK in 8ms (Views: 7.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c80e0100'), "firstname"=>"Morris", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902dfc77353315c80f0100'), "firstname"=>"Christ", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902dfc77353315c80f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dfc77353315c80f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902dfc77353315c8100100'), "firstname"=>"Keshaun", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902dfc77353315c8100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902dfc77353315c8100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Unpermitted parameters: name Redirected to http://test.host/users/54902dfc77353315c8100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3769ms 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.3257ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms 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.3136ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms 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.4150ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e827735331669000000'), "firstname"=>"Elsie", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1946ms 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('54902e827735331669010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms 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.2417ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e827735331669020000'), "firstname"=>"Gwendolyn", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902e827735331669020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e827735331669020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e827735331669030000'), "firstname"=>"Chase", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e827735331669040000'), "firstname"=>"Constantin", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902e827735331669040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e827735331669040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e827735331669050000'), "firstname"=>"Domenick", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902e827735331669050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e827735331669050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms 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('54902e827735331669060000'), "name"=>"Jennie Grimes", "reference"=>"Burdette Stamm", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e827735331669070000'), "author_name"=>"Leda Cartwright", "content"=>["Magni aut ipsam qui suscipit deleniti non necessitatibus. Qui voluptates ipsam ea ducimus at. Accusamus quisquam cupiditate libero quis sed est asperiores. Nihil eius praesentium veritatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902e827735331669060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902e827735331669080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Redirected to http://test.host/admin/products/54902e827735331669060000/comments/54902e827735331669080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669090000'), "name"=>"Marvin Bayer", "reference"=>"Filomena Schinner", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902e8277353316690a0000'), "author_name"=>"Alda Gibson", "content"=>["Quidem soluta et sint illo. Doloremque modi magni. Tempora et nisi quia. Aliquid vitae qui accusamus corporis distinctio tempora harum. Quod non in repellat molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902e827735331669090000", "id"=>"54902e8277353316690a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669090000')} 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('54902e827735331669090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902e8277353316690a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms Redirected to http://test.host/admin/products/54902e827735331669090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316690b0000'), "name"=>"Darron Mills II", "reference"=>"Isom Lang MD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902e8277353316690c0000'), "author_name"=>"Darwin DuBuque", "content"=>["Aliquid repellat mollitia vel a quasi voluptatibus ut. Accusamus est architecto alias. Quae ipsa sit tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902e8277353316690b0000", "id"=>"54902e8277353316690c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316690b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316690d0000'), "name"=>"Abel Halvorson", "reference"=>"Arvilla Mayer DDS", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e8277353316690e0000'), "author_name"=>"Marlen Lesch", "content"=>["Delectus nobis atque dicta ullam. Aut quae sint. Est at nihil voluptatem qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902e8277353316690d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316690d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316690f0000'), "name"=>"Mr. Patience Nikolaus", "reference"=>"Tristian Rowe", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902e827735331669100000'), "author_name"=>"Candida Bergnaum Sr.", "content"=>["Iste distinctio dolores aut harum nihil minus non. Explicabo asperiores omnis. Error ut consequatur beatae dolore non suscipit officia. Et adipisci nemo eos repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5228ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902e8277353316690f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316690f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669110000'), "name"=>"Ruth Ward", "reference"=>"Ervin Toy", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902e827735331669120000'), "author_name"=>"Lynn Abernathy III", "content"=>["Et dolores ad. Eum nostrum molestiae rem ut. Et sed quam consequuntur et inventore est. Vero molestiae id harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902e827735331669110000", "id"=>"54902e827735331669120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669130000'), "name"=>"Larry Keeling II", "reference"=>"Jerrell Adams", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902e827735331669140000'), "author_name"=>"Alicia Bode PhD", "content"=>["Odit harum necessitatibus molestias eius velit architecto. Iste natus numquam corporis beatae eligendi. Facere quo id voluptatem corporis enim. Soluta et consequatur impedit eveniet repudiandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902e827735331669140000", "product_id"=>"54902e827735331669130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669130000'), "comments._id"=>BSON::ObjectId('54902e827735331669140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5465ms Redirected to http://test.host/admin/products/54902e827735331669130000/comments/54902e827735331669140000 Completed 302 Found in 7ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669150000'), "name"=>"Mr. Belle Abbott", "reference"=>"Katrine Schultz Sr.", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902e827735331669160000'), "firstname"=>"Rafael", "lastname"=>"DuBuque"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902e827735331669150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902e827735331669170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Redirected to http://test.host/admin/products/54902e827735331669150000/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('54902e827735331669180000'), "name"=>"Brain Pagac PhD", "reference"=>"Howell Wintheiser", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902e827735331669190000'), "firstname"=>"Bethany", "lastname"=>"Stracke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902e827735331669190000", "product_id"=>"54902e827735331669180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316691a0000'), "name"=>"Leslie Crist", "reference"=>"Theresia Dietrich", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902e8277353316691b0000'), "firstname"=>"Noah", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902e8277353316691a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316691a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316691c0000'), "name"=>"Elsa Kuphal", "reference"=>"Hyman Frami MD", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902e8277353316691d0000'), "firstname"=>"Nathaniel", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902e8277353316691d0000", "product_id"=>"54902e8277353316691c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316691c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e8277353316691e0000'), "name"=>"Florida Bahringer", "reference"=>"Shannon Feeney", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902e8277353316691f0000'), "firstname"=>"Lenna", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5289ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902e8277353316691f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902e8277353316691e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e8277353316691e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902e8277353316691e0000/manager 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('54902e827735331669200000'), "name"=>"Ms. Shaun Wuckert", "reference"=>"Odessa Hane", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4243ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5722ms 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('54902e827735331669210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8007ms Redirected to http://test.host/admin/products/54902e827735331669210000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4733ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669220000'), "name"=>"Maud Stamm", "reference"=>"Floy Batz V", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6878ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4311ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902e827735331669220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6026ms Redirected to http://test.host/admin/products Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4370ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669230000'), "name"=>"Darryl Goyette MD", "reference"=>"Agnes Bauch I", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6266ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902e827735331669230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5155ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 14ms (Views: 11.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e827735331669240000'), "name"=>"Lane Mayer", "reference"=>"Dr. Keanu Schumm", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6596ms 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.8779ms Completed 200 OK in 19ms (Views: 17.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669250000'), "name"=>"Adriana Wunsch DVM", "reference"=>"Miss Verner Schneider", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6018ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 28ms (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('54902e837735331669280000'), "name"=>"Kevon Hickle", "reference"=>"Dedric Kemmer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8165ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902e837735331669280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4705ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.7ms) 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('54902e837735331669290000'), "name"=>"Garfield Senger", "reference"=>"Miss Saige Ruecker", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6163ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902e837735331669290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4495ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5846ms Redirected to http://test.host/admin/products/54902e837735331669290000 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('54902e8377353316692a0000'), "firstname"=>"Marcella", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5451ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2312ms 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('54902e8377353316692b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Redirected to http://test.host/admin/users/54902e8377353316692b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2649ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e8377353316692c0000'), "firstname"=>"Domenick", "lastname"=>"Koch"}] 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=>"admin_users", :query=>{}} runtime: 0.2176ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54902e8377353316692c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8377353316692c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8377353316692c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms 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.2327ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e8377353316692d0000'), "firstname"=>"Geraldine", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902e8377353316692d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8377353316692d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54902e8377353316692e0000'), "firstname"=>"Leanna", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms 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.3907ms Completed 200 OK in 6ms (Views: 5.7ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e8377353316692f0000'), "firstname"=>"Otto", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.1ms) ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e837735331669300000'), "firstname"=>"Audra", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902e837735331669300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e837735331669300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) 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('54902e837735331669310000'), "firstname"=>"Oleta", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902e837735331669310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e837735331669310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902e837735331669310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e837735331669320000'), "firstname"=>"Dion", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1661ms 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('54902e837735331669330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms 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.1988ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e837735331669340000'), "firstname"=>"Bennie", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902e837735331669340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e837735331669340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e837735331669350000'), "firstname"=>"Lois", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e837735331669360000'), "firstname"=>"Mercedes", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902e837735331669360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e837735331669360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902e837735331669370000'), "firstname"=>"Tony", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902e837735331669370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902e837735331669370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669380000'), "name"=>"Garret Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669390000'), "name"=>"Hayden Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693a0000'), "name"=>"Magnolia Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693b0000'), "name"=>"Mr. Carlotta Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693c0000'), "name"=>"Robin Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693d0000'), "name"=>"Jarod Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693e0000'), "name"=>"Kenyon O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316693f0000'), "name"=>"Mrs. Reyna Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316693f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669400000'), "name"=>"Kacie Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669410000'), "name"=>"Gretchen Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669420000'), "name"=>"Bradley Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669430000'), "name"=>"Rosalind Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669440000'), "name"=>"Kylee Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669450000'), "name"=>"Amelie Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669460000'), "name"=>"Nicolette Kohler DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669470000'), "name"=>"Mose Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669480000'), "name"=>"Gracie McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669490000'), "name"=>"Ms. Melvin Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694a0000'), "name"=>"Ms. Constantin Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694b0000'), "name"=>"Miss Allene Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694c0000'), "name"=>"Valentine Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694d0000'), "name"=>"Edmund Hermiston Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694e0000'), "name"=>"Elissa Kub Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316694f0000'), "name"=>"Pearlie Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316694f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669500000'), "name"=>"Tania Osinski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669510000'), "name"=>"Madelyn Deckow I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669520000'), "name"=>"Ms. Lavada Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669530000'), "name"=>"Zoey Mosciski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669540000'), "name"=>"Shea Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669550000'), "name"=>"Paige Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669560000'), "name"=>"Tremaine Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669570000'), "name"=>"August Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669580000'), "name"=>"Erik Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669590000'), "name"=>"Dr. Burdette Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695a0000'), "name"=>"Ms. Perry Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695b0000'), "name"=>"Miss Evans Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695c0000'), "name"=>"Taurean Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695d0000'), "name"=>"Ervin Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695e0000'), "name"=>"Miss Ford Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316695f0000'), "name"=>"Francesca Jones DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316695f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669600000'), "name"=>"Raymundo Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669610000'), "name"=>"Dr. Kathryn Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669620000'), "name"=>"Albina Will V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669630000'), "name"=>"Alfredo Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669640000'), "name"=>"Dr. Winifred Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669650000'), "name"=>"Milo Carroll II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669660000'), "name"=>"Dr. Augusta Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669670000'), "name"=>"Eduardo Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669680000'), "name"=>"Tina Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669690000'), "name"=>"Miss Hellen Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696a0000'), "name"=>"Mr. Noe Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696b0000'), "name"=>"Hal O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696c0000'), "name"=>"Elyse Klocko MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696d0000'), "name"=>"Yadira Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696e0000'), "name"=>"Geoffrey Romaguera DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316696f0000'), "name"=>"Mafalda Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316696f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669700000'), "name"=>"Justen Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669710000'), "name"=>"Orin Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.5501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669720000'), "name"=>"Annamae Glover DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669730000'), "name"=>"Kayley Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2099ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669740000'), "name"=>"Jalen Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669750000'), "name"=>"Dr. Skylar Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669760000'), "name"=>"Dianna Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669770000'), "name"=>"Amira Pagac DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669780000'), "name"=>"Arthur Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669790000'), "name"=>"Brando Zieme IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697a0000'), "name"=>"Larue Kirlin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697b0000'), "name"=>"Paula Auer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.0227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697c0000'), "name"=>"Cassandre Moen Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1956ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697d0000'), "name"=>"Agustina Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697e0000'), "name"=>"Conrad Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316697f0000'), "name"=>"Mrs. Mustafa Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316697f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669800000'), "name"=>"Ms. Eladio Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669810000'), "name"=>"Samara Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669820000'), "name"=>"Ludie Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669830000'), "name"=>"Brandi Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669840000'), "name"=>"Georgette Haley II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669850000'), "name"=>"Owen Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669860000'), "name"=>"Treva Klein Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669870000'), "name"=>"Neoma Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669880000'), "name"=>"Daphney Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669890000'), "name"=>"Luciano Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698a0000'), "name"=>"Drew Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698b0000'), "name"=>"Mikel Fay Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698c0000'), "name"=>"Mr. Tyrel Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698d0000'), "name"=>"Mr. Jake Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698e0000'), "name"=>"Litzy Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316698f0000'), "name"=>"Elna Howe III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316698f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669900000'), "name"=>"Melyssa Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669910000'), "name"=>"Trace Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669920000'), "name"=>"Dante Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669930000'), "name"=>"Mrs. Alta Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669940000'), "name"=>"Junius O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669950000'), "name"=>"Kristy Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669960000'), "name"=>"Nya Sporer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669970000'), "name"=>"Mr. Paris Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1680ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms Redirected to http://test.host/categories/54902e837735331669980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1930ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669990000'), "name"=>"Effie Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1647ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902e837735331669990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e837735331669990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e837735331669990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1829ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316699a0000'), "name"=>"Dean Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2002ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902e8377353316699a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e8377353316699a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316699b0000'), "name"=>"Rickey Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305334434814] runtime: 0.1242ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3104ms Completed 200 OK in 16ms (Views: 15.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316699c0000'), "name"=>"Hattie Olson IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306607556845] runtime: 0.0804ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2646ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316699d0000'), "name"=>"Berenice Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e8377353316699f0000'), "name"=>"Neoma Cruickshank I"}] 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={"category_id"=>BSON::ObjectId('54902e8377353316699f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902e8377353316699f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e8377353316699f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e8377353316699f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (26.9ms) Completed 200 OK in 30ms (Views: 29.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902e837735331669a00000'), "name"=>"Rodger Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902e837735331669a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e837735331669a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902e837735331669a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902e837735331669a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms Redirected to http://test.host/categories/54902e837735331669a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669a10000'), "name"=>"Esther Pfannerstill V", "reference"=>"Immanuel Pollich", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669a20000'), "author_name"=>"Johnpaul Simonis", "content"=>["Quia aut numquam delectus maxime nisi. Nobis sed non dolorem. Magnam ut laborum et vel molestias. Voluptas quibusdam quasi rerum et sunt illo. Necessitatibus aut blanditiis."]}]}] 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('54902e837735331669a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902e837735331669a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902e837735331669a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms Redirected to http://test.host/products/54902e837735331669a10000/comments/54902e837735331669a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669a40000'), "name"=>"Guillermo Franecki", "reference"=>"Edwin Cummerata", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669a50000'), "author_name"=>"Berneice Kris", "content"=>["Et aut architecto vel. Occaecati incidunt et. Quos iure et dolor id delectus laboriosam quia. Expedita recusandae aliquam magni iste."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902e837735331669a40000", "id"=>"54902e837735331669a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4076ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902e837735331669a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms Redirected to http://test.host/products/54902e837735331669a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669a60000'), "name"=>"Maureen Crona", "reference"=>"Kaia Jenkins", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669a70000'), "author_name"=>"Payton Howell", "content"=>["Aut commodi non. Ut ad quas et enim. Magni ex non quis fugit omnis. Culpa repellendus maiores nam nemo autem et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902e837735331669a60000", "id"=>"54902e837735331669a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669a80000'), "name"=>"Ima Russel DVM", "reference"=>"Shad Berge", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669a90000'), "author_name"=>"Laurence Champlin", "content"=>["Illum velit fugiat et voluptatem in aliquid. Consequatur vel omnis autem. Labore iusto quam. Aspernatur voluptates et nesciunt soluta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1620ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902e837735331669a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669aa0000'), "name"=>"Ms. Cristina Schaefer", "reference"=>"Adrianna Corkery", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669ab0000'), "author_name"=>"Alice Beer", "content"=>["Corrupti ratione aut at laboriosam error placeat. Quam numquam voluptatem tempora ex. Voluptas suscipit eaque beatae possimus labore et ea. Officiis consequatur ipsum quia tempore rem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902e837735331669aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669ac0000'), "name"=>"Althea Schinner", "reference"=>"Christy Bauch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669ad0000'), "author_name"=>"Christina Gerhold", "content"=>["Id repellat aperiam. Unde ea voluptates dolorem ipsum voluptatem ratione. Quisquam nesciunt in facilis et excepturi distinctio sed. Molestiae laudantium quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902e837735331669ac0000", "id"=>"54902e837735331669ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669ae0000'), "name"=>"Shany Effertz", "reference"=>"Santina Wilkinson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669af0000'), "author_name"=>"Lorna Kirlin", "content"=>["Sed magnam ipsa voluptate maxime repellendus recusandae veritatis. Mollitia esse quisquam deserunt. Culpa sit distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902e837735331669ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669b00000'), "name"=>"Mona Collins", "reference"=>"Elenor Klocko", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669b10000'), "author_name"=>"Gabriel Leannon", "content"=>["Ea quia corrupti doloremque praesentium explicabo et nihil. Totam sint quod at excepturi reiciendis. Reiciendis laboriosam sunt placeat omnis eum a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902e837735331669b00000", "id"=>"54902e837735331669b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 3.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669b20000'), "name"=>"Cesar Kassulke", "reference"=>"Rasheed Carroll", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902e837735331669b30000'), "author_name"=>"Myrtis Bins", "content"=>["Maxime qui labore hic id ratione qui. Officiis doloremque aliquid. Et fugiat voluptas et doloribus sunt vero. Itaque magnam ut et et quod. Culpa sit sint est et iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902e837735331669b30000", "product_id"=>"54902e837735331669b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669b20000')} 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('54902e837735331669b20000'), "comments._id"=>BSON::ObjectId('54902e837735331669b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Redirected to http://test.host/products/54902e837735331669b20000/comments/54902e837735331669b30000 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('54902e837735331669b40000'), "firstname"=>"Cathy", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2755ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms Redirected to http://test.host/admin/clients/54902e837735331669b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2867ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669b60000'), "firstname"=>"Ryley", "lastname"=>"Denesik"}] 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=>"clients", :query=>{}} runtime: 0.1820ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902e837735331669b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms 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.1962ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669b70000'), "firstname"=>"Maxie", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902e837735331669b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669b80000'), "firstname"=>"Antwan", "lastname"=>"Rutherford"}] 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.3290ms 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('54902e837735331669b90000'), "firstname"=>"Nikita", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902e837735331669ba0000'), "firstname"=>"Angeline", "lastname"=>"Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902e837735331669ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669bb0000'), "firstname"=>"Joey", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902e837735331669bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669bb0000')} 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('54902e837735331669bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms Redirected to http://test.host/admin/clients/54902e837735331669bb0000 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('54902e837735331669bc0000'), "firstname"=>"Prudence", "lastname"=>"Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1973ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Redirected to http://test.host/clients/54902e837735331669bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2148ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669be0000'), "firstname"=>"Lavern", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1588ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902e837735331669be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669be0000')} 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('54902e837735331669be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms 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.2034ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669bf0000'), "firstname"=>"Irma", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902e837735331669bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Rendered /home/geoffroy/projects/crealettres/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('54902e837735331669c00000'), "firstname"=>"Kurt", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54902e837735331669c10000'), "firstname"=>"Wilson", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902e837735331669c20000'), "firstname"=>"Callie", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902e837735331669c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902e837735331669c30000'), "firstname"=>"Rosamond", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902e837735331669c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902e837735331669c30000')} 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('54902e837735331669c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms Redirected to http://test.host/clients/54902e837735331669c30000 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('54902e837735331669c40000'), "name"=>"Bernice Johns MD", "reference"=>"Haley Lindgren", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54902e837735331669c50000'), "firstname"=>"Earline", "lastname"=>"Johns"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1512ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902e837735331669c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902e837735331669c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Redirected to http://test.host/products/54902e837735331669c40000/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('54902e837735331669c70000'), "name"=>"Allene Keebler", "reference"=>"Lamar Leffler", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54902e837735331669c80000'), "firstname"=>"Rebecca", "lastname"=>"Hilll"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902e837735331669c80000", "product_id"=>"54902e837735331669c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669c90000'), "name"=>"Lauryn Pacocha", "reference"=>"Imelda Lowe", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54902e837735331669ca0000'), "firstname"=>"Dwight", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5619ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902e837735331669c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669cb0000'), "name"=>"Luz Littel II", "reference"=>"General Stracke", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902e837735331669cc0000'), "firstname"=>"Meggie", "lastname"=>"VonRueden"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902e837735331669cc0000", "product_id"=>"54902e837735331669cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669cd0000'), "name"=>"Mr. Lacy Satterfield", "reference"=>"Alycia Goldner", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902e837735331669ce0000'), "firstname"=>"William", "lastname"=>"McDermott"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902e837735331669ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902e837735331669cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3824ms Unpermitted parameters: name Redirected to http://test.host/products/54902e837735331669cd0000/manager Completed 302 Found in 29ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669cf0000'), "name"=>"Raquel Hansen", "reference"=>"Wilmer Bauch", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d00000'), "name"=>"Sandrine Medhurst", "reference"=>"Cyril Grimes", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d10000'), "name"=>"Hermann Hauck DDS", "reference"=>"Laury Kilback", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d20000'), "name"=>"Kale Halvorson", "reference"=>"Kariane Romaguera", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d30000'), "name"=>"Theron Eichmann", "reference"=>"Nellie Gutkowski", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d40000'), "name"=>"Tamara Buckridge", "reference"=>"Lindsey Leffler", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2038ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5508ms Redirected to http://test.host/products/54902e837735331669d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3992ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d60000'), "name"=>"Aliya Feil", "reference"=>"Mallory Cremin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3592ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902e837735331669d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms 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.2243ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d70000'), "name"=>"Liliana Douglas", "reference"=>"Coy Gislason", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902e837735331669d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e837735331669d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54902e837735331669d80000'), "name"=>"Sasha Hilpert", "reference"=>"Heath Block", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668785338] runtime: 0.1071ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2897ms Completed 200 OK in 18ms (Views: 17.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669d90000'), "name"=>"Earnestine Waelchi", "reference"=>"Hunter Grady", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669da0000'), "name"=>"HelloWorld", "reference"=>"Jevon Crooks", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669db0000'), "name"=>"value", "reference"=>"Charlene Kling", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4617ms Completed 200 OK in 6ms (Views: 5.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3862ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3542ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1496ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3603ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3472ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2661ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1470ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e837735331669dc0000'), "name"=>"Mrs. Kattie Wunsch", "reference"=>"Jaunita Dicki", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279832054106] runtime: 0.0956ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2387ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299422150] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450432125] runtime: 0.1002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280704750425] runtime: 0.0707ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948493299] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596783433] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280103680443] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584010326] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462534700] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280300838948] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280723521241] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280506414786] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280259277759] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833690563] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655410112] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475600572] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251753084] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144096368] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018341477] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280507366771] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850433670] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387182550] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279588496845] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218922115] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280230209758] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279228539469] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280054531175] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280193143503] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279953084115] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670913092] runtime: 0.0995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279268875062] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351668004] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793161385] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980662429] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280638959544] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286679975] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262148865] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980159862] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875780822] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280970310140] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175763880] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579213718] runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280619241482] runtime: 0.0795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859045985] runtime: 0.1051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382399874] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281257691823] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281237450925] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829756547] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280952227500] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279315116016] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279256595914] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281159501770] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280956376077] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490996571] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280757060718] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280850681790] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302913359] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384438241] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056185661] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279681679412] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280011478296] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.5109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280008207665] runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280407762640] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280083619255] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279588985523] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187082046] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279596276361] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280949774716] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634480688] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466399185] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279498714533] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279985157133] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280106077758] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972414785] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280848679892] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279177796025] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052533744] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708186161] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945319670] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281166530143] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090763388] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281143471123] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435242351] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719555834] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280359469204] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976189476] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313054263] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279393067357] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280854265546] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500195616] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279568732753] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279617424630] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219689181] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280143403958] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492086790] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390857836] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634936038] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279533530250] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279982159071] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018834942] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281457893] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024202406] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315223550] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517180711] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279614467604] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280306939854] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491174766] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181304080] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279225276284] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265419990] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525712116] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942480197] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280936699233] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279837659541] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820132504] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279788791227] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280302941841] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876880918] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281302632918] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279525187662] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281111229374] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805795965] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280986510008] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187156709] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450997081] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085150497] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279933363588] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865496161] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466750018] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380829022] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5705ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046049312] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280678489946] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943653391] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279955535741] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280347549713] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423770756] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126681311] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279807882534] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280292416804] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456474551] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279580717180] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279337567766] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280818526709] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413844189] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279849903951] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280619578852] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.0152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298642903] runtime: 0.1270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138008966] runtime: 0.0733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181692594] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279334906996] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279944231049] runtime: 0.0822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280586216211] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280196477588] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281178010252] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280957317445] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279957348966] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248298872] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984905449] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279615300725] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805174858] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279863256743] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280489327428] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731534259] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304056337] runtime: 0.0507ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669dd0000'), "name"=>"Mrs. Wilfred Rau", "reference"=>"Irving Lowe", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3529ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1440ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669de0000'), "name"=>"Creola McGlynn", "reference"=>"Kallie Strosin Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673627410] runtime: 0.0719ms Completed 200 OK in 5ms (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('54902e847735331669df0000'), "name"=>"Nichole Streich", "reference"=>"Melisa Johnston DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902e847735331669df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms 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('54902e847735331669e00000'), "name"=>"Dan Greenfelder", "reference"=>"Daryl Armstrong", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e20000'), "name"=>"Dorthy Schmitt", "reference"=>"Cody Lockman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902e847735331669e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e30000'), "name"=>"Gina Grady", "reference"=>"Kellen Gaylord", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2959ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.2730ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e827735331669090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.6480ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 18ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e40000'), "name"=>"Mr. Daryl Sauer", "reference"=>"Americo Tremblay PhD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2918ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2434ms Completed 200 OK in 6ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e50000'), "name"=>"Shania Hirthe Jr.", "reference"=>"Saul Friesen", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2657ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2225ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e60000'), "name"=>"Calista Kautzer", "reference"=>"Madisen Kulas", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1874ms 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('54902e847735331669e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1903ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669e80000'), "name"=>"Miss Eli Bernier", "reference"=>"Cecile Mitchell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902e847735331669e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669e80000')} 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('54902e847735331669e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms 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('54902e847735331669e90000'), "name"=>"Lane Nikolaus", "reference"=>"Shea Cormier MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms 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('54902e847735331669eb0000'), "name"=>"Micah Windler", "reference"=>"Roy Herzog", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902e847735331669eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms 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('54902e847735331669ec0000'), "name"=>"Drake Sauer", "reference"=>"Abigail Kris DVM", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902e847735331669ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms Redirected to http://test.host/products/54902e847735331669ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669ef0000'), "name"=>"Lincoln Larkin", "reference"=>"Arvel Kuhic", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669ed0000'), "author_name"=>"Nina Zieme", "content"=>["Iure est est aliquam aliquid et voluptas. Est nulla pariatur ducimus corporis. Ex ad quibusdam iure est illum aut."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669ee0000'), "author_name"=>"Lou Walker", "content"=>["Minima incidunt qui eligendi magni numquam. Qui placeat iste laudantium est. Quia qui reprehenderit ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902e847735331669ef0000", "comment_id"=>"54902e847735331669ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4579ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ef0000'), "comments._id"=>BSON::ObjectId('54902e847735331669ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902e847735331669f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6989ms Redirected to http://test.host/products/54902e847735331669ef0000/comments/54902e847735331669ed0000/comments/54902e847735331669f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669f30000'), "name"=>"Lue Keeling IV", "reference"=>"Lavonne Stamm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f10000'), "author_name"=>"Leann Mraz", "content"=>["Id aspernatur fuga. Et ut expedita aut distinctio. Animi odit aut. Recusandae aut illum non cupiditate magnam ut."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f20000'), "author_name"=>"Edmund Breitenberg", "content"=>["Id fugit reprehenderit similique voluptates expedita. Molestiae rerum eius. Corporis tempora facere. Dolorem qui dolore sed beatae tempore consequatur veniam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902e847735331669f30000", "comment_id"=>"54902e847735331669f10000", "id"=>"54902e847735331669f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f30000'), "comments._id"=>BSON::ObjectId('54902e847735331669f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902e847735331669f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms Redirected to http://test.host/products/54902e847735331669f30000/comments/54902e847735331669f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669f60000'), "name"=>"Josh Wiegand", "reference"=>"Nayeli Reichel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f40000'), "author_name"=>"Brant Flatley", "content"=>["Quis sed illum facere modi. Est iusto facilis officia asperiores. Enim cupiditate aliquam porro illum rem."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f50000'), "author_name"=>"Dr. Santiago Sanford", "content"=>["Dicta laboriosam quis maxime. Ullam molestiae non. Quis aut consequuntur a."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902e847735331669f60000", "comment_id"=>"54902e847735331669f40000", "id"=>"54902e847735331669f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669f90000'), "name"=>"Immanuel Hane", "reference"=>"Asia Quigley", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f70000'), "author_name"=>"Casimer Runte", "content"=>["Inventore soluta excepturi amet. Suscipit deserunt voluptatibus. Repellendus et aliquam vel. Ea ut iusto molestias voluptas architecto nulla aspernatur. Ea est non."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669f80000'), "author_name"=>"Ms. Evan Feil", "content"=>["Dolorem error dolor quia asperiores voluptate. Quidem architecto quasi aut explicabo nemo repudiandae. Autem perspiciatis provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902e847735331669f90000", "comment_id"=>"54902e847735331669f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669fc0000'), "name"=>"Catalina Ward", "reference"=>"Einar Spinka", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669fa0000'), "author_name"=>"Ashleigh O'Conner", "content"=>["Eveniet voluptates et ipsam. Et voluptates aperiam. Optio est officiis voluptate deserunt fuga. Doloribus vero voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669fb0000'), "author_name"=>"Alexa Graham", "content"=>["Ut quos qui. Ullam ut odio. Amet et aut consequatur eos voluptatem illum. Qui perspiciatis esse impedit officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902e847735331669fc0000", "comment_id"=>"54902e847735331669fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669ff0000'), "name"=>"Idella Kohler DVM", "reference"=>"Guiseppe Hintz", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669fd0000'), "author_name"=>"Bella Connelly", "content"=>["Voluptas quod recusandae culpa aut et fugit. Possimus vel placeat et minus. Dolorum hic voluptatem laborum est est minus sed."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669fe0000'), "author_name"=>"Quinten King IV", "content"=>["Ut asperiores molestiae quidem doloribus voluptate. Dicta neque minima eos corporis. Et eligendi deleniti recusandae quos exercitationem nemo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902e847735331669ff0000", "comment_id"=>"54902e847735331669fd0000", "id"=>"54902e847735331669fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669020100'), "name"=>"Liana Eichmann", "reference"=>"Dr. Chad Yost", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669000100'), "author_name"=>"Ms. Hershel Kuhic", "content"=>["Dignissimos dolor ex quasi quis. Omnis quo quae velit debitis. Qui accusantium autem veniam fugiat quidem labore debitis."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669010100'), "author_name"=>"Ms. Maurine Yost", "content"=>["Sit natus in quasi. Ut suscipit soluta dolores. Ad dolores nisi pariatur. Numquam itaque esse. Consectetur explicabo excepturi eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902e847735331669020100", "comment_id"=>"54902e847735331669000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669050100'), "name"=>"Dr. Michel Keebler", "reference"=>"Penelope Harvey", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669030100'), "author_name"=>"Jasmin Sauer", "content"=>["Ipsam vero quos corrupti facere doloribus magni. Corporis ut tempora. Perferendis impedit ut eveniet odit et exercitationem et. Dicta error quia quia est. Vel quaerat maiores cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669040100'), "author_name"=>"Jazmyne Medhurst", "content"=>["Saepe placeat fuga. Non asperiores et at itaque quod in. Rerum sint officiis. Itaque officia ad enim expedita ipsum aut dolorem. Sint hic similique dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902e847735331669050100", "comment_id"=>"54902e847735331669030100", "id"=>"54902e847735331669040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902e847735331669080100'), "name"=>"Sheridan Skiles", "reference"=>"Ryleigh Kshlerin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669060100'), "author_name"=>"Blake Hettinger", "content"=>["Ipsa voluptatum ea omnis. Dolorum temporibus facilis. Porro ullam dignissimos in quam veniam quis. Perspiciatis fugit asperiores."], "comments"=>[{"_id"=>BSON::ObjectId('54902e847735331669070100'), "author_name"=>"Marcel Homenick", "content"=>["Doloribus ut numquam voluptatem sit rem. Aut laboriosam quod explicabo ea voluptas asperiores. Non magni explicabo. Est iure suscipit fuga et. Accusantium sit provident."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902e847735331669070100", "product_id"=>"54902e847735331669080100", "comment_id"=>"54902e847735331669060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902e847735331669080100')} 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('54902e847735331669080100'), "comments._id"=>BSON::ObjectId('54902e847735331669060100'), "comments.0.comments._id"=>BSON::ObjectId('54902e847735331669070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms Redirected to http://test.host/products/54902e847735331669080100/comments/54902e847735331669060100/comments/54902e847735331669070100 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('54902e847735331669090100'), "firstname"=>"Terrance", "lastname"=>"Hoeger"}] 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=>"admin_users", :query=>{}} runtime: 0.1466ms 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('54902e8477353316690a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms Redirected to http://test.host/users/54902e8477353316690a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1685ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e8477353316690b0100'), "firstname"=>"Kira", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1429ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902e8477353316690b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8477353316690b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8477353316690b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms Redirected to http://test.host/users Completed 302 Found in 29ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1545ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e8477353316690c0100'), "firstname"=>"Tremayne", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902e8477353316690c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8477353316690c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Rendered /home/geoffroy/projects/crealettres/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('54902e8477353316690d0100'), "firstname"=>"Ellen", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5499ms 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.4815ms 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('54902e8477353316690e0100'), "firstname"=>"Rylan", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902e8477353316690f0100'), "firstname"=>"Fletcher", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902e8477353316690f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e8477353316690f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902e847735331669100100'), "firstname"=>"Bryon", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902e847735331669100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902e847735331669100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms Unpermitted parameters: name Redirected to http://test.host/users/54902e847735331669100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms 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.3791ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6426ms 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.4047ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7908ms 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.3962ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9000000'), "firstname"=>"Carlo", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4973ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2647ms 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('54902f3777353317d9010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms 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.3050ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9020000'), "firstname"=>"Tyrese", "lastname"=>"Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54902f3777353317d9020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 20ms (Views: 18.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9030000'), "firstname"=>"Clementina", "lastname"=>"Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9040000'), "firstname"=>"Darion", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54902f3777353317d9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.0ms) Completed 200 OK in 4ms (Views: 3.0ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9050000'), "firstname"=>"Gilbert", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54902f3777353317d9050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms 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('54902f3777353317d9060000'), "name"=>"Santino Witting PhD", "reference"=>"Miss Merlin Kuhlman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d9070000'), "author_name"=>"Jammie Reichert", "content"=>["Aut nobis alias tempora aut soluta sunt. Facere aspernatur magni. Rerum dolorem quasi praesentium tenetur molestias. Et corporis modi earum. Ipsa odit et ipsam dolores dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902f3777353317d9060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9060000')} 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('54902f3777353317d9060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902f3777353317d9080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Redirected to http://test.host/admin/products/54902f3777353317d9060000/comments/54902f3777353317d9080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9090000'), "name"=>"Adolphus Baumbach", "reference"=>"Isabel Moore", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d90a0000'), "author_name"=>"Amani Jacobson Jr.", "content"=>["Ut ut rerum et qui. Dolor voluptates ut. Numquam doloribus iure impedit dolores neque omnis consectetur. Repellat saepe rerum quaerat quos iusto temporibus dolores. Autem temporibus et consectetur suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54902f3777353317d9090000", "id"=>"54902f3777353317d90a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902f3777353317d90a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms Redirected to http://test.host/admin/products/54902f3777353317d9090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d90b0000'), "name"=>"Shea Krajcik DDS", "reference"=>"Stan Dickens", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d90c0000'), "author_name"=>"Jonas Beier", "content"=>["Aut dolorum veritatis doloremque vel consectetur. Cumque dolores nisi id deleniti. Consectetur sed maxime. Et dignissimos non sit reiciendis dolores dicta distinctio. Nam ipsa nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54902f3777353317d90b0000", "id"=>"54902f3777353317d90c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d90b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d90d0000'), "name"=>"Clifton O'Reilly", "reference"=>"Vada Hettinger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d90e0000'), "author_name"=>"Josue Mueller", "content"=>["Qui enim earum. Eos amet id nihil. Qui at assumenda nulla. Doloribus quo distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54902f3777353317d90d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d90f0000'), "name"=>"Miss Amiya Borer", "reference"=>"Davon Harris III", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d9100000'), "author_name"=>"Idella O'Conner", "content"=>["Quia ab quis. Magnam et voluptas perspiciatis. Numquam dolore quo vero dolores id et velit. Eum assumenda recusandae consequatur consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54902f3777353317d90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9110000'), "name"=>"Erika Swaniawski", "reference"=>"Faustino Cruickshank", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d9120000'), "author_name"=>"Jessika Nitzsche", "content"=>["Molestiae perferendis et laborum odit provident. Est labore deleniti quia recusandae. Architecto facere iure voluptas libero ut dicta. Dolore tempore qui incidunt repellat. Quia et veritatis non occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54902f3777353317d9110000", "id"=>"54902f3777353317d9120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9130000'), "name"=>"Mrs. Renee Walker", "reference"=>"Zaria Hauck", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902f3777353317d9140000'), "author_name"=>"Nathen Krajcik II", "content"=>["Est nesciunt sed aspernatur voluptate qui velit corrupti. Pariatur sequi possimus. Expedita consequatur rerum iusto id laboriosam vitae eligendi. Deleniti repellendus ea saepe dignissimos repudiandae quia illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902f3777353317d9140000", "product_id"=>"54902f3777353317d9130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9130000'), "comments._id"=>BSON::ObjectId('54902f3777353317d9140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms Redirected to http://test.host/admin/products/54902f3777353317d9130000/comments/54902f3777353317d9140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9150000'), "name"=>"Jovan Wintheiser MD", "reference"=>"Cleora Blanda", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d9160000'), "firstname"=>"Retha", "lastname"=>"Crist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902f3777353317d9150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9150000')} 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('54902f3777353317d9150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d9170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms Redirected to http://test.host/admin/products/54902f3777353317d9150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9180000'), "name"=>"Trisha Mohr IV", "reference"=>"Joanie Runolfsson", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d9190000'), "firstname"=>"Belle", "lastname"=>"Tromp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54902f3777353317d9190000", "product_id"=>"54902f3777353317d9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d91a0000'), "name"=>"Larry Dietrich", "reference"=>"Louie Murazik", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d91b0000'), "firstname"=>"Edwina", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54902f3777353317d91a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d91a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d91c0000'), "name"=>"Dennis Runte", "reference"=>"Hailey Bergnaum", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d91d0000'), "firstname"=>"Wendy", "lastname"=>"MacGyver"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54902f3777353317d91d0000", "product_id"=>"54902f3777353317d91c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d91e0000'), "name"=>"Alba Shanahan", "reference"=>"Madge Weber", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54902f3777353317d91f0000'), "firstname"=>"Xander", "lastname"=>"Hamill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54902f3777353317d91f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902f3777353317d91e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d91e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54902f3777353317d91e0000/manager 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('54902f3777353317d9200000'), "name"=>"Sandy Green", "reference"=>"Gerald Bechtelar", "quantity"=>1}] 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.1344ms 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('54902f3777353317d9210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms Redirected to http://test.host/admin/products/54902f3777353317d9210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9220000'), "name"=>"Chaz Stroman", "reference"=>"Cristian Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1288ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54902f3777353317d9220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms 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.1992ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9230000'), "name"=>"Chase Graham", "reference"=>"Dr. Emmy Kunde", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54902f3777353317d9230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9240000'), "name"=>"Dr. Opal Hyatt", "reference"=>"Francis Morar", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9978ms 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.5513ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9250000'), "name"=>"Mustafa O'Reilly", "reference"=>"Adonis Pouros", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (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('54902f3777353317d9280000'), "name"=>"Bennett Monahan", "reference"=>"Odell Rutherford Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4926ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54902f3777353317d9280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9290000'), "name"=>"Ms. Jazmin Ullrich", "reference"=>"Royal O'Reilly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902f3777353317d9290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9290000')} 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('54902f3777353317d9290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Redirected to http://test.host/admin/products/54902f3777353317d9290000 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('54902f3777353317d92a0000'), "firstname"=>"Kristoffer", "lastname"=>"Homenick"}] 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=>"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('54902f3777353317d92b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms Redirected to http://test.host/admin/users/54902f3777353317d92b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2496ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3777353317d92c0000'), "firstname"=>"Melany", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms 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"=>"54902f3777353317d92c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3777353317d92c0000')} 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('54902f3777353317d92c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms 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('54902f3777353317d92d0000'), "firstname"=>"Nya", "lastname"=>"Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54902f3777353317d92d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3777353317d92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3777353317d92e0000'), "firstname"=>"Athena", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms 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.3913ms 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('54902f3777353317d92f0000'), "firstname"=>"Mabelle", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902f3777353317d9300000'), "firstname"=>"Rod", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54902f3777353317d9300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3777353317d9300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (31.4ms) Completed 200 OK in 35ms (Views: 33.6ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9310000'), "firstname"=>"Nelle", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902f3777353317d9310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3777353317d9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54902f3777353317d9310000 Completed 302 Found in 5ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9320000'), "firstname"=>"Colton", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2678ms 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('54902f3777353317d9330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms 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.2106ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9340000'), "firstname"=>"Clare", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54902f3777353317d9340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9350000'), "firstname"=>"Roberto", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9360000'), "firstname"=>"Lowell", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54902f3777353317d9360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9370000'), "firstname"=>"Morris", "lastname"=>"Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54902f3777353317d9370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54902f3777353317d9370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9380000'), "name"=>"Noelia Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9390000'), "name"=>"Dan Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93a0000'), "name"=>"Braeden Kirlin"}] 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={"category_id"=>BSON::ObjectId('54902f3777353317d93a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93b0000'), "name"=>"Rita Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d93b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93c0000'), "name"=>"Emilie Parisian III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d93c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93d0000'), "name"=>"Oleta Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d93d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93e0000'), "name"=>"Emory Kris V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d93e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d93f0000'), "name"=>"Zetta Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d93f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9400000'), "name"=>"Jermey D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9410000'), "name"=>"Treva Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9420000'), "name"=>"Terry Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9430000'), "name"=>"Margret Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9440000'), "name"=>"Lynn Murray II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9450000'), "name"=>"Lou Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9460000'), "name"=>"Jonas Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9470000'), "name"=>"Ms. Carmen Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9480000'), "name"=>"Leola Schowalter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9490000'), "name"=>"Jerald Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94a0000'), "name"=>"Hadley Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94b0000'), "name"=>"Sofia Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94c0000'), "name"=>"Dr. Jamir Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94d0000'), "name"=>"Dr. Angus Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94e0000'), "name"=>"Allie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2217ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d94f0000'), "name"=>"Skylar Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d94f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9500000'), "name"=>"Jeffrey Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9510000'), "name"=>"Nigel Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9520000'), "name"=>"Missouri Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9530000'), "name"=>"Burley Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9540000'), "name"=>"Ms. Alexandria Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9550000'), "name"=>"Adriel Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9560000'), "name"=>"Alta McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9570000'), "name"=>"Timmothy Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9580000'), "name"=>"Carrie Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d9590000'), "name"=>"Gwen Koepp MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d9590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d95a0000'), "name"=>"Ova Waters DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d95a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d95b0000'), "name"=>"Amber Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d95b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d95c0000'), "name"=>"Torrance Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d95c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d95d0000'), "name"=>"Emil Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d95d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3777353317d95e0000'), "name"=>"April Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3777353317d95e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d95f0000'), "name"=>"Rodrigo MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d95f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9600000'), "name"=>"Carolanne Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9610000'), "name"=>"Mr. Liza Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9620000'), "name"=>"Christa Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9630000'), "name"=>"Janessa Hilll PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9640000'), "name"=>"Rae Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9650000'), "name"=>"Ms. Brock Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9660000'), "name"=>"Ms. Herminia Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9670000'), "name"=>"Forest Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9680000'), "name"=>"Dell Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9690000'), "name"=>"Lelah Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96a0000'), "name"=>"Alexa Farrell PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96b0000'), "name"=>"Dr. Ludie Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96c0000'), "name"=>"Dale Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96d0000'), "name"=>"Zander Bode Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96e0000'), "name"=>"Duncan O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d96f0000'), "name"=>"Aliya Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d96f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9700000'), "name"=>"Keven Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9710000'), "name"=>"Leatha Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9720000'), "name"=>"Loyal Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9730000'), "name"=>"Mr. Susanna Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9740000'), "name"=>"Orlando McDermott I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9750000'), "name"=>"Quentin Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9760000'), "name"=>"Tess Gutmann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9770000'), "name"=>"Dr. Everett Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9780000'), "name"=>"Emerson Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9790000'), "name"=>"Hugh Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97a0000'), "name"=>"Christelle Schowalter V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97b0000'), "name"=>"Shana Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97c0000'), "name"=>"Yessenia Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97d0000'), "name"=>"Laverne Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97e0000'), "name"=>"Libbie Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d97f0000'), "name"=>"Dr. Karlee Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d97f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9800000'), "name"=>"Hayden Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9810000'), "name"=>"Adrian Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9820000'), "name"=>"Ken Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9830000'), "name"=>"Ferne Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9840000'), "name"=>"Guy McDermott II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9850000'), "name"=>"Ms. Fiona Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9860000'), "name"=>"Aisha Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9870000'), "name"=>"Deontae Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9880000'), "name"=>"Robyn Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9890000'), "name"=>"Mr. Mia Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98a0000'), "name"=>"Irwin McLaughlin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98b0000'), "name"=>"Myrtie Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98c0000'), "name"=>"Rebeca Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98d0000'), "name"=>"Kailyn Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98e0000'), "name"=>"Ashlynn Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d98f0000'), "name"=>"Albina Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d98f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9900000'), "name"=>"Otho Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9910000'), "name"=>"Malvina Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9920000'), "name"=>"Blaise Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9930000'), "name"=>"Marlen Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9940000'), "name"=>"Delpha Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9950000'), "name"=>"Salma Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9960000'), "name"=>"Yasmeen Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9970000'), "name"=>"Mr. Elmo Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2055ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms Redirected to http://test.host/categories/54902f3877353317d9980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2496ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9990000'), "name"=>"Ms. Hulda Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1464ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54902f3877353317d9990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d9990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2277ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d99a0000'), "name"=>"Kyleigh Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54902f3877353317d99a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3971ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d99b0000'), "name"=>"Elissa Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306589447680] runtime: 0.0990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3112ms Completed 200 OK in 17ms (Views: 16.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d99c0000'), "name"=>"Arnulfo Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306636660674] runtime: 0.0814ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2715ms Completed 200 OK in 9ms (Views: 8.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d99d0000'), "name"=>"Jessyca Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d99f0000'), "name"=>"Lea Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54902f3877353317d99f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (28.4ms) Completed 200 OK in 32ms (Views: 30.8ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9a00000'), "name"=>"Rogers Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54902f3877353317d9a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54902f3877353317d9a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54902f3877353317d9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms Redirected to http://test.host/categories/54902f3877353317d9a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9a10000'), "name"=>"Meda Terry", "reference"=>"Dina Thompson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9a20000'), "author_name"=>"Napoleon Wisozk MD", "content"=>["Voluptas autem nisi laborum quibusdam sunt consequatur. Animi possimus consequuntur. Velit quas dolorem. Odit sunt consequuntur consequatur eius ut molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902f3877353317d9a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54902f3877353317d9a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms Redirected to http://test.host/products/54902f3877353317d9a10000/comments/54902f3877353317d9a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9a40000'), "name"=>"Cordia Schuster", "reference"=>"Dr. Deangelo Runolfsson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9a50000'), "author_name"=>"Cary Dare", "content"=>["Sequi ut harum incidunt nobis est. Rem voluptatem minus aliquid cupiditate vitae. Recusandae vero sit eius accusantium rerum temporibus. Dolores est nihil magni. Repudiandae consequatur totam laborum cum nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54902f3877353317d9a40000", "id"=>"54902f3877353317d9a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3843ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54902f3877353317d9a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Redirected to http://test.host/products/54902f3877353317d9a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9a60000'), "name"=>"Leonie Fay", "reference"=>"Bailey Fisher DVM", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9a70000'), "author_name"=>"Gia Lebsack III", "content"=>["Eveniet aut quidem ipsa accusantium harum cum. Laboriosam perspiciatis itaque mollitia saepe. Dolorem aut laudantium accusamus eveniet. Optio reprehenderit quia ratione accusantium consequuntur quis deserunt. Vero beatae sint reiciendis iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54902f3877353317d9a60000", "id"=>"54902f3877353317d9a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9a80000'), "name"=>"Trace Lockman I", "reference"=>"Mr. Llewellyn Von", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9a90000'), "author_name"=>"Ms. Anna Kertzmann", "content"=>["Aut ut sed ipsam ullam. Non consequatur accusantium unde sed quo. Delectus saepe voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54902f3877353317d9a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9aa0000'), "name"=>"Lenna VonRueden", "reference"=>"Mrs. Reggie Luettgen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9ab0000'), "author_name"=>"Felix Gulgowski", "content"=>["Error ratione fugiat consequuntur nihil. Provident ipsum blanditiis deserunt quia est voluptate. Alias eum officia quia quo mollitia ut voluptatem. Labore atque minus fugiat mollitia molestiae et. Accusamus debitis assumenda quos rem quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54902f3877353317d9aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9ac0000'), "name"=>"Juana Jacobi", "reference"=>"Brigitte Morar III", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9ad0000'), "author_name"=>"Brody Hilll", "content"=>["Id et dolore voluptas quia commodi illum. Quis modi qui. Omnis eius id. Architecto aperiam iure ut exercitationem modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54902f3877353317d9ac0000", "id"=>"54902f3877353317d9ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9ae0000'), "name"=>"Ms. Hershel Watsica", "reference"=>"Marjolaine Lemke", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9af0000'), "author_name"=>"Miss Nelson Dach", "content"=>["Consequatur optio et incidunt ipsam maiores at. Ipsum facilis perferendis in et repellat voluptatem. Temporibus vel qui ea soluta est nihil natus. Cum qui aut placeat eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54902f3877353317d9ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b00000'), "name"=>"Darion Will", "reference"=>"Ms. Casey Renner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9b10000'), "author_name"=>"Dr. Martina Daniel", "content"=>["Consequatur sint velit est sunt ex sit. Voluptatem consequatur adipisci libero. Voluptatem est quaerat sapiente impedit qui fuga. Enim et optio dolor. Nisi voluptatem est et alias odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54902f3877353317d9b00000", "id"=>"54902f3877353317d9b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b20000'), "name"=>"Mr. Buford Langosh", "reference"=>"Gisselle Reynolds", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54902f3877353317d9b30000'), "author_name"=>"Nellie Mosciski", "content"=>["Est ut beatae magnam officia accusamus praesentium. Est reiciendis aut eum earum. Quibusdam aperiam itaque. In aut similique iure."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902f3877353317d9b30000", "product_id"=>"54902f3877353317d9b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9b20000'), "comments._id"=>BSON::ObjectId('54902f3877353317d9b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Redirected to http://test.host/products/54902f3877353317d9b20000/comments/54902f3877353317d9b30000 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('54902f3877353317d9b40000'), "firstname"=>"Jacklyn", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3056ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1812ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms Redirected to http://test.host/admin/clients/54902f3877353317d9b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1640ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b60000'), "firstname"=>"Lizeth", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1454ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902f3877353317d9b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms 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.1741ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b70000'), "firstname"=>"Corbin", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902f3877353317d9b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9b80000'), "firstname"=>"Theron", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms 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('54902f3877353317d9b90000'), "firstname"=>"Sophia", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.9ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9ba0000'), "firstname"=>"Gust", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902f3877353317d9ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.1ms) Completed 200 OK in 5ms (Views: 3.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9bb0000'), "firstname"=>"Verna", "lastname"=>"Breitenberg"}] 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"=>"54902f3877353317d9bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9bb0000')} 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('54902f3877353317d9bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms Redirected to http://test.host/admin/clients/54902f3877353317d9bb0000 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('54902f3877353317d9bc0000'), "firstname"=>"Ally", "lastname"=>"Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1295ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Redirected to http://test.host/clients/54902f3877353317d9bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1399ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9be0000'), "firstname"=>"Gregory", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1203ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54902f3877353317d9be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms 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.1738ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9bf0000'), "firstname"=>"Talon", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9949ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54902f3877353317d9bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54902f3877353317d9c00000'), "firstname"=>"Kristofer", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms 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('54902f3877353317d9c10000'), "firstname"=>"Sonia", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54902f3877353317d9c20000'), "firstname"=>"Nelson", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54902f3877353317d9c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (0.8ms) 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('54902f3877353317d9c30000'), "firstname"=>"Melvina", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54902f3877353317d9c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54902f3877353317d9c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms Redirected to http://test.host/clients/54902f3877353317d9c30000 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('54902f3877353317d9c40000'), "name"=>"Dawson Jacobson", "reference"=>"Brandt Bahringer", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9c50000'), "firstname"=>"Marcos", "lastname"=>"Ritchie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54902f3877353317d9c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9c40000')} 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('54902f3877353317d9c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms Redirected to http://test.host/products/54902f3877353317d9c40000/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('54902f3877353317d9c70000'), "name"=>"Johnathan Gutmann", "reference"=>"Santina O'Conner", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9c80000'), "firstname"=>"Bill", "lastname"=>"Hintz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54902f3877353317d9c80000", "product_id"=>"54902f3877353317d9c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9c90000'), "name"=>"Karen Cassin", "reference"=>"Benedict Kerluke", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9ca0000'), "firstname"=>"Jarrod", "lastname"=>"Labadie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54902f3877353317d9c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3948ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9cb0000'), "name"=>"Mrs. Mabelle McGlynn", "reference"=>"Arlene Pfannerstill III", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9cc0000'), "firstname"=>"Emmalee", "lastname"=>"Greenfelder"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5363ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54902f3877353317d9cc0000", "product_id"=>"54902f3877353317d9cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9cd0000'), "name"=>"Viva Hessel PhD", "reference"=>"Dorothea Rau", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54902f3877353317d9ce0000'), "firstname"=>"Kadin", "lastname"=>"Stark"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5370ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54902f3877353317d9ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54902f3877353317d9cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4201ms Unpermitted parameters: name Redirected to http://test.host/products/54902f3877353317d9cd0000/manager Completed 302 Found in 30ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9cf0000'), "name"=>"Victoria Halvorson", "reference"=>"Rosalia Braun", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d00000'), "name"=>"Manuel Schneider", "reference"=>"Scot Monahan Sr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d10000'), "name"=>"Ms. Winston Dooley", "reference"=>"Joey Heller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d20000'), "name"=>"Seth Fritsch V", "reference"=>"Omer Schaden", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d30000'), "name"=>"Kathleen Wiza PhD", "reference"=>"Dr. Merle Hayes", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d40000'), "name"=>"Arlo Hauck", "reference"=>"Gabriella Bogan", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.2227ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms Redirected to http://test.host/products/54902f3877353317d9d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2134ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d60000'), "name"=>"Tamia Wiegand", "reference"=>"Katarina Mann", "quantity"=>4}] 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.2128ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54902f3877353317d9d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9d60000')} 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.2075ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d70000'), "name"=>"Lincoln Lakin", "reference"=>"Joan Satterfield", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54902f3877353317d9d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3877353317d9d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('54902f3877353317d9d80000'), "name"=>"Jenifer Muller", "reference"=>"Mr. Jewel Roob", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279567144630] runtime: 0.1065ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2604ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9d90000'), "name"=>"Wyatt Langworth", "reference"=>"Coy Gerlach", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9da0000'), "name"=>"HelloWorld", "reference"=>"Kade Jacobs", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9db0000'), "name"=>"value", "reference"=>"Ms. Rebeka Bayer", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3666ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2890ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2642ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2427ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1866ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2217ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2182ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1909ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1570ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3877353317d9dc0000'), "name"=>"Franz Christiansen", "reference"=>"Violet Price I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070548270] runtime: 0.0869ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2666ms Completed 200 OK in 17ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.1401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243635770] runtime: 0.1341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279729475549] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079866088] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668827202] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697547057] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280621967587] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279657148952] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279551367103] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279827365384] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147855483] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270887271] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279463571926] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279769759498] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279566914825] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279231503002] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055020578] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280011394242] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210817833] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070464578] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280239565446] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842860394] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373702709] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280237109564] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719682573] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279221673628] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077375802] runtime: 0.0698ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274640810] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479084555] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365901138] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281099645777] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189800345] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280637881193] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616280346] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625421361] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280008357680] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279315712787] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635360616] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047930097] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885186227] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098062450] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279459656953] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280902913000] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281311734766] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401295337] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725020831] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280084586988] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280614182867] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280464474786] runtime: 0.0919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279428256954] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251892336] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280966746841] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280173995124] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407721151] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279916724156] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279779269237] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 36.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280259728065] runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.6506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280398967525] runtime: 0.0892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279896575908] runtime: 0.0767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874850759] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869722150] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161030760] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299007871] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980519743] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279343247440] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178679854] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757284359] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280333288673] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097541924] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280407382203] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280245156050] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279960698434] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837387137] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281278934940] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279438878678] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175314241] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651370576] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279619170247] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207122197] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836226855] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177312131] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279473600232] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279284424247] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250631235] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281054021470] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241008196] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018965844] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280915283974] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279570411860] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033398882] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951009311] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027090677] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326392096] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280470225452] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280919852039] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947000646] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279521107677] runtime: 0.1291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280466699] runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280918181693] runtime: 0.1074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917098352] runtime: 0.1068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281317863973] runtime: 0.1085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047628086] runtime: 0.0943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280889341984] runtime: 0.0935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280440604326] runtime: 0.0908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279246839083] runtime: 0.0906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929673871] runtime: 0.0891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280020806452] runtime: 0.0897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279288545013] runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280349752007] runtime: 0.0887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280415030572] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906606226] runtime: 0.0753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349664838] runtime: 0.0735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280801438802] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280875052529] runtime: 0.0728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049772673] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876663440] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280119734912] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369566937] runtime: 0.0818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823609877] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775574193] runtime: 0.0693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280855868862] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280691086447] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601297831] runtime: 0.0722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680784855] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279814352] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279517669868] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280323780315] runtime: 0.0739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279612867524] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281065598019] runtime: 0.0803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279398263292] runtime: 0.0822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281271038268] runtime: 0.0782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280632277690] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280728680082] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859647536] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951918720] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280833097885] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279650706807] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280488295452] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 29.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279615940630] runtime: 0.1070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966888494] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538203182] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887469014] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280133738270] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122543834] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548903800] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764333821] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438728535] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990635435] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279616539667] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898745846] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402276261] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644233387] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281179658351] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634207343] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280971533474] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414829161] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279890595110] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280067046923] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279363347532] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281134777020] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821784505] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279317139037] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279965152006] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279813190143] runtime: 0.0586ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9dd0000'), "name"=>"Miss Abdullah Mohr", "reference"=>"Mrs. Soledad Bechtelar", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2921ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9de0000'), "name"=>"Queenie Mohr PhD", "reference"=>"Lesley Leffler III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286077204] runtime: 0.0676ms Completed 200 OK in 5ms (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('54902f3977353317d9df0000'), "name"=>"Tiana Rosenbaum", "reference"=>"Madge Hahn", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54902f3977353317d9df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms 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('54902f3977353317d9e00000'), "name"=>"Jaime Koelpin", "reference"=>"Marcelina Haley", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e20000'), "name"=>"Aletha McClure", "reference"=>"Keven Dibbert V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54902f3977353317d9e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e30000'), "name"=>"Otho Braun II", "reference"=>"Grayson Larkin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=1 batch_size=nil fields=nil runtime: 0.2273ms Unpermitted parameters: next, previous MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3777353317d9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 3ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e40000'), "name"=>"Mr. Chandler Reichel", "reference"=>"Estefania Powlowski", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3221ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2369ms Completed 200 OK in 6ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e50000'), "name"=>"Arthur Gulgowski", "reference"=>"Else Bruen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3106ms Completed 200 OK in 6ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e60000'), "name"=>"Camden Sipes", "reference"=>"Arlie Orn", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.2709ms 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('54902f3977353317d9e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2976ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9e80000'), "name"=>"Izaiah Ryan", "reference"=>"Maudie Frami IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6141ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54902f3977353317d9e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4088ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms 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('54902f3977353317d9e90000'), "name"=>"Herta McDermott", "reference"=>"Heidi Kihn", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms 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('54902f3977353317d9eb0000'), "name"=>"Ruth Zulauf", "reference"=>"Theron Hoeger", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902f3977353317d9eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms 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('54902f3977353317d9ec0000'), "name"=>"Paul Dibbert", "reference"=>"Sydnee Corwin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54902f3977353317d9ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms Redirected to http://test.host/products/54902f3977353317d9ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9ef0000'), "name"=>"Rhoda Herzog", "reference"=>"Millie Willms", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9ed0000'), "author_name"=>"Rose Mayer MD", "content"=>["Cupiditate est laborum fuga ut. Voluptas ab neque ipsum tempora facere necessitatibus. Velit sint culpa qui. Ut et saepe explicabo cupiditate sapiente sed. Fugit magni possimus eum eos neque error."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9ee0000'), "author_name"=>"Katlynn Wintheiser", "content"=>["Magni deserunt ipsum ipsa. Voluptatem voluptas iste perspiciatis provident ex quis. Eaque velit voluptas omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54902f3977353317d9ef0000", "comment_id"=>"54902f3977353317d9ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ef0000'), "comments._id"=>BSON::ObjectId('54902f3977353317d9ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902f3977353317d9f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7567ms Redirected to http://test.host/products/54902f3977353317d9ef0000/comments/54902f3977353317d9ed0000/comments/54902f3977353317d9f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4022ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9f30000'), "name"=>"Edd Lang V", "reference"=>"Lauryn Nader", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f10000'), "author_name"=>"Rafaela Bartell", "content"=>["Harum sit ullam. Assumenda optio hic nam sunt accusamus. Quia nemo aut dolore. Laborum at accusantium aut et consequuntur. Quis totam sed consequatur et."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f20000'), "author_name"=>"Alfredo Flatley", "content"=>["Expedita eos tempora et nesciunt quo iste. Qui saepe qui deleniti sit. Labore eligendi sint repudiandae rerum autem doloribus. In quaerat est odio et facilis aperiam. Earum maxime veritatis tempora."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3583ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54902f3977353317d9f30000", "comment_id"=>"54902f3977353317d9f10000", "id"=>"54902f3977353317d9f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f30000'), "comments._id"=>BSON::ObjectId('54902f3977353317d9f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54902f3977353317d9f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6557ms Redirected to http://test.host/products/54902f3977353317d9f30000/comments/54902f3977353317d9f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9f60000'), "name"=>"Jameson Mosciski", "reference"=>"Miss Jadyn Kris", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f40000'), "author_name"=>"Pasquale Ortiz", "content"=>["Ut id quidem voluptatem aut. Omnis quos nulla iste. Ut blanditiis est quis aut enim doloribus harum."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f50000'), "author_name"=>"Dr. Kitty Bins", "content"=>["Cumque repellendus voluptate. Odio neque dolores minus. Et vero assumenda animi. Consequatur illum eius ut repudiandae aperiam. Sunt neque ex aliquam in ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54902f3977353317d9f60000", "comment_id"=>"54902f3977353317d9f40000", "id"=>"54902f3977353317d9f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9f90000'), "name"=>"Vernice Nikolaus IV", "reference"=>"Bettie Dicki", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f70000'), "author_name"=>"Eddie Borer", "content"=>["Provident velit omnis enim nemo est. Est doloribus est eos est. Provident sequi quia maxime laboriosam."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9f80000'), "author_name"=>"Aryanna Becker", "content"=>["Iure dolor ex id. Sit quis dicta molestiae fuga. Natus vero et assumenda iusto nulla quis officia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5314ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54902f3977353317d9f90000", "comment_id"=>"54902f3977353317d9f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9fc0000'), "name"=>"Sidney Streich", "reference"=>"Antwon Paucek", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9fa0000'), "author_name"=>"Malinda Klein IV", "content"=>["Distinctio voluptatem aut exercitationem. Tempora dicta consequuntur eum. Odio illo molestiae vel autem. Quae voluptatem voluptate voluptas quod. Et est sed non modi."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9fb0000'), "author_name"=>"Floy Mraz", "content"=>["Nam ab dignissimos velit laborum officiis accusantium voluptatem. Suscipit deleniti placeat error. Dolorem impedit doloremque nobis enim sit. Et deleniti ipsam praesentium. Commodi in eos eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54902f3977353317d9fc0000", "comment_id"=>"54902f3977353317d9fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3831ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9ff0000'), "name"=>"Marietta Howell", "reference"=>"Maryam Rosenbaum", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9fd0000'), "author_name"=>"Micah Jacobson", "content"=>["Aliquid delectus consequuntur illum illo ea exercitationem quos. Nisi eveniet ullam provident. In alias id. Autem omnis qui repellendus quo ut. Harum quam et iste sunt provident et."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9fe0000'), "author_name"=>"Dr. May Denesik", "content"=>["Et consequatur quis vel tempore. Dolor voluptatem nam itaque ad consequatur. Ullam ut nisi doloremque praesentium voluptates a deleniti. Assumenda quae et ea autem. Quae minus cum necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54902f3977353317d9ff0000", "comment_id"=>"54902f3977353317d9fd0000", "id"=>"54902f3977353317d9fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3989ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9020100'), "name"=>"Ms. Theodora DuBuque", "reference"=>"Rodrigo Herzog", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9000100'), "author_name"=>"Amani Watsica", "content"=>["Non dolores quisquam aut quidem voluptatum corporis nisi. Assumenda commodi quia omnis. Quis velit voluptas quas. Suscipit itaque eius autem quas."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9010100'), "author_name"=>"Dr. Meaghan Kris", "content"=>["Sint provident placeat illum odio. Est a laboriosam et omnis quo. Voluptatibus sed quod illo hic. Neque recusandae quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5013ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54902f3977353317d9020100", "comment_id"=>"54902f3977353317d9000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4088ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9050100'), "name"=>"Elbert Bergstrom Jr.", "reference"=>"Janet Waelchi", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9030100'), "author_name"=>"Ms. Payton Goodwin", "content"=>["Dolorem et sed hic nobis eaque at. Porro ea cupiditate tenetur qui voluptatem dicta. In delectus ut aspernatur debitis. Ex impedit voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9040100'), "author_name"=>"Shaylee Kub DDS", "content"=>["Quia saepe sapiente asperiores quibusdam. Eum eum architecto itaque qui modi aut praesentium. Dolore non eum debitis alias labore provident in. Soluta doloribus vero. Occaecati vel voluptas voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54902f3977353317d9050100", "comment_id"=>"54902f3977353317d9030100", "id"=>"54902f3977353317d9040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9080100'), "name"=>"Mrs. Jewel Jenkins", "reference"=>"Elta Funk", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9060100'), "author_name"=>"Alysson Steuber PhD", "content"=>["Quaerat assumenda nobis pariatur omnis ex consequatur. Voluptas voluptatem aliquid nam blanditiis maxime sunt ut. Ducimus labore exercitationem dolorum ratione non consequatur. Eos aut sit et. Nobis incidunt doloribus et ad aut rem."], "comments"=>[{"_id"=>BSON::ObjectId('54902f3977353317d9070100'), "author_name"=>"Adalberto Stamm", "content"=>["Tenetur rerum perferendis id omnis. Maiores eius ut ipsum est et culpa saepe. Fugiat est quos voluptatem corrupti est quo. Ea ducimus sit in et voluptas quia ut. Labore enim est quibusdam iste assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5880ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54902f3977353317d9070100", "product_id"=>"54902f3977353317d9080100", "comment_id"=>"54902f3977353317d9060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4205ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54902f3977353317d9080100'), "comments._id"=>BSON::ObjectId('54902f3977353317d9060100'), "comments.0.comments._id"=>BSON::ObjectId('54902f3977353317d9070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7142ms Redirected to http://test.host/products/54902f3977353317d9080100/comments/54902f3977353317d9060100/comments/54902f3977353317d9070100 Completed 302 Found in 33ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9090100'), "firstname"=>"Trevion", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6582ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3035ms 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('54902f3977353317d90a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms Redirected to http://test.host/users/54902f3977353317d90a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3338ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3977353317d90b0100'), "firstname"=>"Cynthia", "lastname"=>"McGlynn"}] 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.2877ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54902f3977353317d90b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3977353317d90b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3977353317d90b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms Redirected to http://test.host/users Completed 302 Found in 37ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2491ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3977353317d90c0100'), "firstname"=>"Russ", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54902f3977353317d90c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3977353317d90c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms Rendered /home/geoffroy/projects/crealettres/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('54902f3977353317d90d0100'), "firstname"=>"Vanessa", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms 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.3502ms Completed 200 OK in 8ms (Views: 7.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3977353317d90e0100'), "firstname"=>"Trisha", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54902f3977353317d90f0100'), "firstname"=>"Mara", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by UsersController#show as HTML Parameters: {"id"=>"54902f3977353317d90f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3977353317d90f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_show.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.2ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54902f3977353317d9100100'), "firstname"=>"Kamren", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54902f3977353317d9100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54902f3977353317d9100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Unpermitted parameters: name Redirected to http://test.host/users/54902f3977353317d9100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms 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.3056ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products 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.2035ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms 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.1973ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2877353320df000000'), "firstname"=>"Kian", "lastname"=>"Mueller"}] 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=>"administrators", :query=>{}} runtime: 0.2522ms 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('54903b2877353320df010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms 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.1757ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2877353320df020000'), "firstname"=>"Carson", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54903b2877353320df020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2877353320df020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.0ms) Completed 200 OK in 20ms (Views: 18.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2877353320df030000'), "firstname"=>"Jasper", "lastname"=>"Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4846ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.4ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2877353320df040000'), "firstname"=>"Marisa", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54903b2877353320df040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2877353320df040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2877353320df050000'), "firstname"=>"Kaleb", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54903b2877353320df050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2877353320df050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms 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('54903b2877353320df060000'), "name"=>"Henderson Lang", "reference"=>"Zena Kunde", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df070000'), "author_name"=>"Miss Hoyt Donnelly", "content"=>["Vero maxime aut eos aut nihil sapiente. A minus et aut modi temporibus quae. Deleniti quisquam ratione non. Unde omnis at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b2877353320df060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b2877353320df080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms Redirected to http://test.host/admin/products/54903b2877353320df060000/comments/54903b2877353320df080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df090000'), "name"=>"Ms. Sunny Fritsch", "reference"=>"Miss Otis Waelchi", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df0a0000'), "author_name"=>"Leland Lemke", "content"=>["Est nisi explicabo quo amet. Cupiditate magnam perferendis repellendus ullam qui incidunt temporibus. Assumenda aut suscipit exercitationem sed et et. Et esse vero consequatur. Vero ut qui delectus vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b2877353320df090000", "id"=>"54903b2877353320df0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b2877353320df0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms Redirected to http://test.host/admin/products/54903b2877353320df090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df0b0000'), "name"=>"Nigel Purdy", "reference"=>"Walton Price", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df0c0000'), "author_name"=>"Dashawn Muller", "content"=>["Ut et officiis. Quod commodi et rem assumenda explicabo adipisci. Expedita eligendi a autem sit repellat explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54903b2877353320df0b0000", "id"=>"54903b2877353320df0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df0d0000'), "name"=>"Irwin Weissnat", "reference"=>"Brielle Balistreri Jr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df0e0000'), "author_name"=>"Gillian Klein", "content"=>["Est esse corrupti ex. Quis illo minima expedita eveniet numquam quo. Accusamus commodi nemo voluptatibus. Maiores eum officia id. Sit dicta sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54903b2877353320df0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df0f0000'), "name"=>"Dr. Emmanuelle Block", "reference"=>"Marjolaine Grimes Jr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df100000'), "author_name"=>"Rashawn McDermott", "content"=>["Aliquam qui cumque voluptatibus. Inventore iure placeat. Qui velit non vero aspernatur voluptatibus rem accusamus. Quo voluptas modi voluptates. Voluptatem unde sunt praesentium dicta."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54903b2877353320df0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df110000'), "name"=>"Miss Brett Terry", "reference"=>"Mariane Steuber", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df120000'), "author_name"=>"Lenny Herzog Jr.", "content"=>["Ut sequi recusandae eos quia similique. Quos autem alias quibusdam nihil. Dicta itaque ipsa. Assumenda autem provident deleniti ut. Quaerat enim sed illo sint sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54903b2877353320df110000", "id"=>"54903b2877353320df120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df130000'), "name"=>"Nicolas Daugherty", "reference"=>"Justyn Ritchie", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b2877353320df140000'), "author_name"=>"Savion Denesik", "content"=>["Illo iure beatae. Et exercitationem commodi facilis rerum rerum distinctio. Velit eos delectus deleniti unde. Et iste aut magni atque dolores enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b2877353320df140000", "product_id"=>"54903b2877353320df130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df130000'), "comments._id"=>BSON::ObjectId('54903b2877353320df140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7076ms Redirected to http://test.host/admin/products/54903b2877353320df130000/comments/54903b2877353320df140000 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('54903b2877353320df150000'), "name"=>"Ryder Torphy", "reference"=>"Andreanne Altenwerth IV", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df160000'), "firstname"=>"Ernestina", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b2877353320df150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms Redirected to http://test.host/admin/products/54903b2877353320df150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df180000'), "name"=>"Elijah Fritsch", "reference"=>"Dr. Jaiden Stiedemann", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df190000'), "firstname"=>"Augustine", "lastname"=>"Lynch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54903b2877353320df190000", "product_id"=>"54903b2877353320df180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df1a0000'), "name"=>"Chanelle Koss", "reference"=>"Mr. Glennie Gusikowski", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df1b0000'), "firstname"=>"Henderson", "lastname"=>"Wyman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54903b2877353320df1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df1c0000'), "name"=>"Mitchell O'Connell", "reference"=>"Ottilie Hills", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df1d0000'), "firstname"=>"Armani", "lastname"=>"Jast"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54903b2877353320df1d0000", "product_id"=>"54903b2877353320df1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df1e0000'), "name"=>"Flavio Kemmer", "reference"=>"Dr. Roberto Bosco", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54903b2877353320df1f0000'), "firstname"=>"Garret", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54903b2877353320df1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b2877353320df1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54903b2877353320df1e0000/manager 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('54903b2877353320df200000'), "name"=>"Weston Schulist", "reference"=>"Maximus Bogisich", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2352ms 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('54903b2877353320df210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2826ms Redirected to http://test.host/admin/products/54903b2877353320df210000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df220000'), "name"=>"Shea Ondricka", "reference"=>"Zackary Wiegand", "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.1742ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54903b2877353320df220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df220000')} 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('54903b2877353320df220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms 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.1874ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df230000'), "name"=>"Mrs. Agustin Beatty", "reference"=>"Marley Breitenberg", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54903b2877353320df230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df240000'), "name"=>"Rollin Robel DVM", "reference"=>"Brianne Moore", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms 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.5123ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2877353320df250000'), "name"=>"Pauline Wehner", "reference"=>"Tony McLaughlin", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('54903b2977353320df280000'), "name"=>"Lukas Considine", "reference"=>"Estell Hettinger Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54903b2977353320df280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320df280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320df290000'), "name"=>"Margarett Weissnat PhD", "reference"=>"Mr. Buster Shields", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b2977353320df290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320df290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320df290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Redirected to http://test.host/admin/products/54903b2977353320df290000 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('54903b2977353320df2a0000'), "firstname"=>"Marlene", "lastname"=>"Kuphal"}] 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=>"admin_users", :query=>{}} runtime: 0.2308ms 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('54903b2977353320df2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms Redirected to http://test.host/admin/users/54903b2977353320df2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1761ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2977353320df2c0000'), "firstname"=>"Hailee", "lastname"=>"Denesik"}] 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.1551ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54903b2977353320df2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2977353320df2c0000')} 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('54903b2977353320df2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms 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.1782ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2977353320df2d0000'), "firstname"=>"Roslyn", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54903b2977353320df2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2977353320df2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('54903b2977353320df2e0000'), "firstname"=>"Hadley", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms 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.4417ms 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('54903b2977353320df2f0000'), "firstname"=>"Sidney", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5484ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54903b2977353320df300000'), "firstname"=>"Adela", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54903b2977353320df300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2977353320df300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms Completed 200 OK in 3ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2977353320df310000'), "firstname"=>"Arely", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b2977353320df310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2977353320df310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54903b2977353320df310000 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('54903b2977353320df320000'), "firstname"=>"Angus", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1342ms 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('54903b2977353320df330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms 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.1555ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2977353320df340000'), "firstname"=>"Marjorie", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54903b2977353320df340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2977353320df340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2977353320df350000'), "firstname"=>"Marietta", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2977353320df360000'), "firstname"=>"Arlene", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54903b2977353320df360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2977353320df360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Completed 200 OK in 3ms (Views: 2.1ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b2977353320df370000'), "firstname"=>"Gregoria", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54903b2977353320df370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b2977353320df370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df380000'), "name"=>"Isobel Morar I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df390000'), "name"=>"Nigel Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3a0000'), "name"=>"Thelma Swaniawski II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3b0000'), "name"=>"Hector Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3c0000'), "name"=>"Jedediah Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3d0000'), "name"=>"Dr. Malika Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3e0000'), "name"=>"Olaf Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df3f0000'), "name"=>"Jesus Kozey III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df400000'), "name"=>"Jennie Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df410000'), "name"=>"Izabella Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df420000'), "name"=>"Kaela Brekke PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df430000'), "name"=>"Darion Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df440000'), "name"=>"Domenica Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df450000'), "name"=>"Tristian Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df460000'), "name"=>"Ms. Trystan Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df470000'), "name"=>"Kellie Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df480000'), "name"=>"Randy Swaniawski PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df490000'), "name"=>"Alvena Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4a0000'), "name"=>"Oliver Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4b0000'), "name"=>"Mr. Floy Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4c0000'), "name"=>"Mateo Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4d0000'), "name"=>"Vernice Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4e0000'), "name"=>"Hulda Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df4f0000'), "name"=>"Bonita Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df500000'), "name"=>"Rebeca Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df510000'), "name"=>"Jovanny Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df520000'), "name"=>"Ms. Lulu Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df530000'), "name"=>"Alexandrine Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df540000'), "name"=>"Alexys Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df550000'), "name"=>"Ladarius Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df560000'), "name"=>"Elise Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df570000'), "name"=>"Gaylord Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df580000'), "name"=>"Brooke Denesik DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df590000'), "name"=>"Enoch Gorczany II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5a0000'), "name"=>"Shakira Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5b0000'), "name"=>"Lulu Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5c0000'), "name"=>"Kimberly Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5d0000'), "name"=>"Ubaldo Effertz IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5e0000'), "name"=>"Nathan Sporer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df5f0000'), "name"=>"Minerva Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df600000'), "name"=>"Earnestine Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df610000'), "name"=>"Toney Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df620000'), "name"=>"Mrs. Brianne Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df630000'), "name"=>"Briana Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df640000'), "name"=>"Miss Citlalli Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df650000'), "name"=>"Mrs. Joannie Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df660000'), "name"=>"Alexandra Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df670000'), "name"=>"Vincenzo Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df680000'), "name"=>"Kathlyn Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df690000'), "name"=>"Brannon Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6a0000'), "name"=>"Ms. Shaylee Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6b0000'), "name"=>"Duane Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6c0000'), "name"=>"Lucinda Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6d0000'), "name"=>"Roosevelt Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6e0000'), "name"=>"Kurtis Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df6f0000'), "name"=>"Summer Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df700000'), "name"=>"Dr. Evert Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df710000'), "name"=>"Jakayla D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df720000'), "name"=>"Clint Parker I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df730000'), "name"=>"Mr. Mustafa Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df740000'), "name"=>"Jennie Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df750000'), "name"=>"Antonetta Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df760000'), "name"=>"Mark Parker V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df770000'), "name"=>"Mr. Jacey Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df780000'), "name"=>"Shannon McCullough DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df790000'), "name"=>"Bernice Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7a0000'), "name"=>"Candice Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7b0000'), "name"=>"Nya Heller DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7c0000'), "name"=>"Zachary Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7d0000'), "name"=>"Miss Margot Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7e0000'), "name"=>"David Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df7f0000'), "name"=>"Giovanni Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df800000'), "name"=>"Ian Robel I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df810000'), "name"=>"Bartholome Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.7819ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df820000'), "name"=>"Miss Ahmad Bartoletti"}] 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={"category_id"=>BSON::ObjectId('54903b2977353320df820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df830000'), "name"=>"Milton Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df840000'), "name"=>"Stanley Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df850000'), "name"=>"Ally Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df860000'), "name"=>"Leda Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df870000'), "name"=>"Xander Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df880000'), "name"=>"Elmira Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df890000'), "name"=>"Kaylee Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8a0000'), "name"=>"Mariah Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8b0000'), "name"=>"Okey Bogan II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8c0000'), "name"=>"Mrs. Calista Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8d0000'), "name"=>"Miss Nikita Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8e0000'), "name"=>"Nicklaus Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df8f0000'), "name"=>"Gudrun Terry IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df900000'), "name"=>"Florencio Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df910000'), "name"=>"Camila Aufderhar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df920000'), "name"=>"Sidney Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df930000'), "name"=>"Darren Williamson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df940000'), "name"=>"Velva Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df950000'), "name"=>"Mr. Vladimir Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1976ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df960000'), "name"=>"Elouise Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df970000'), "name"=>"Cecil Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1885ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms Redirected to http://test.host/categories/54903b2977353320df980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2319ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df990000'), "name"=>"Hannah Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2140ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54903b2977353320df990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320df990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320df990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2254ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df9a0000'), "name"=>"Wilmer Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54903b2977353320df9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320df9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df9b0000'), "name"=>"Eladio Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306044002024] runtime: 0.0966ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3026ms Completed 200 OK in 17ms (Views: 16.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df9c0000'), "name"=>"Leon Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305972170065] runtime: 0.0701ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3307ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df9d0000'), "name"=>"Lupe Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320df9f0000'), "name"=>"Darian Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54903b2977353320df9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320df9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320df9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfa00000'), "name"=>"Amina Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320dfa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54903b2977353320dfa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320dfa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b2977353320dfa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b2977353320dfa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2066ms Redirected to http://test.host/categories/54903b2977353320dfa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfa10000'), "name"=>"Alanis Bogan", "reference"=>"Immanuel Morissette", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfa20000'), "author_name"=>"Twila Block", "content"=>["Odio incidunt ad at sed laborum. Praesentium est omnis debitis quis rem quae assumenda. Et quo doloribus quidem repellat qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b2977353320dfa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b2977353320dfa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7097ms Redirected to http://test.host/products/54903b2977353320dfa10000/comments/54903b2977353320dfa30000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfa40000'), "name"=>"Miss Abraham Effertz", "reference"=>"Charity Murray IV", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfa50000'), "author_name"=>"Amani Rodriguez DDS", "content"=>["Mollitia sit in qui eveniet explicabo et. Est vero quidem nisi dignissimos facilis nam. Eaque dolor itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b2977353320dfa40000", "id"=>"54903b2977353320dfa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa40000')} 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('54903b2977353320dfa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b2977353320dfa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms Redirected to http://test.host/products/54903b2977353320dfa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfa60000'), "name"=>"America Emmerich", "reference"=>"Mrs. Marcos Balistreri", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfa70000'), "author_name"=>"Florencio Boehm PhD", "content"=>["Id nihil ipsum qui. Iure voluptatibus aut totam voluptates. Eos odit corporis sit deserunt odio. Rem totam velit quod praesentium et itaque illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54903b2977353320dfa60000", "id"=>"54903b2977353320dfa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfa80000'), "name"=>"Miss Laurel Turcotte", "reference"=>"Jaylon Wiegand", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfa90000'), "author_name"=>"Ms. Hubert Rodriguez", "content"=>["Repellendus provident aliquam sint incidunt ut consequatur voluptatum. Quo dolor dolores. Aperiam sed enim ex. At perferendis explicabo alias in optio. Vel voluptatibus et vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54903b2977353320dfa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfaa0000'), "name"=>"Regan Grant", "reference"=>"Jon Wyman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfab0000'), "author_name"=>"Brenna Kuhlman", "content"=>["Quam iure ad illum. Voluptatem quos qui explicabo qui. Necessitatibus tempora sunt. Cumque explicabo maxime."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54903b2977353320dfaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfac0000'), "name"=>"Jermey Friesen I", "reference"=>"Allene Friesen Jr.", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfad0000'), "author_name"=>"Dewitt Wehner", "content"=>["Autem enim nobis labore facere cum qui. Deleniti tenetur nihil doloremque nihil quis. Sed explicabo est qui quis cumque inventore. Voluptatum vel voluptate in atque voluptatem magnam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54903b2977353320dfac0000", "id"=>"54903b2977353320dfad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfae0000'), "name"=>"Jarrett Witting", "reference"=>"Kaycee Runolfsdottir", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfaf0000'), "author_name"=>"Lucinda Connelly", "content"=>["Et odio reprehenderit quis dolor nisi et qui. Eligendi ut sed quaerat ea saepe. Labore sint nemo qui modi quia corporis. Placeat totam quo dolore non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54903b2977353320dfae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfb00000'), "name"=>"Margarete Gleichner Sr.", "reference"=>"Donavon Bechtelar IV", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfb10000'), "author_name"=>"Maxine Kassulke", "content"=>["Ipsum aliquid voluptas eum amet corporis dolores. Reiciendis et aliquam error ea voluptates corrupti est. Aperiam ut quo. Cum necessitatibus aliquid ea enim quae ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54903b2977353320dfb00000", "id"=>"54903b2977353320dfb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfb20000'), "name"=>"Della Rosenbaum", "reference"=>"Evie Roberts", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b2977353320dfb30000'), "author_name"=>"Coralie Weber", "content"=>["Corporis enim qui ipsa nesciunt quae quia sunt. Eligendi dolores non sunt sequi. Quaerat officiis officia expedita molestiae commodi. Non asperiores odit in aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8341ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b2977353320dfb30000", "product_id"=>"54903b2977353320dfb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfb20000'), "comments._id"=>BSON::ObjectId('54903b2977353320dfb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms Redirected to http://test.host/products/54903b2977353320dfb20000/comments/54903b2977353320dfb30000 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('54903b2977353320dfb40000'), "firstname"=>"Jay", "lastname"=>"Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5266ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2870ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms Redirected to http://test.host/admin/clients/54903b2977353320dfb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2701ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfb60000'), "firstname"=>"Dagmar", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2558ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b2977353320dfb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms 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.1914ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfb70000'), "firstname"=>"Russell", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b2977353320dfb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('54903b2977353320dfb80000'), "firstname"=>"Billy", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54903b2977353320dfb90000'), "firstname"=>"Raphaelle", "lastname"=>"Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (35.0ms) Completed 200 OK in 41ms (Views: 40.2ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfba0000'), "firstname"=>"Carmen", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8378ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b2977353320dfba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms 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('54903b2977353320dfbb0000'), "firstname"=>"Mckenna", "lastname"=>"Towne"}] 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"=>"54903b2977353320dfbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfbb0000')} 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('54903b2977353320dfbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Redirected to http://test.host/admin/clients/54903b2977353320dfbb0000 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('54903b2977353320dfbc0000'), "firstname"=>"Sean", "lastname"=>"Schiller"}] 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.2206ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms Redirected to http://test.host/clients/54903b2977353320dfbd0000 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('54903b2977353320dfbe0000'), "firstname"=>"Kaden", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1997ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b2977353320dfbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms 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('54903b2977353320dfbf0000'), "firstname"=>"Horacio", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b2977353320dfbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) 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('54903b2977353320dfc00000'), "firstname"=>"Raymond", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3876ms 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('54903b2977353320dfc10000'), "firstname"=>"Mark", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54903b2977353320dfc20000'), "firstname"=>"Name", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b2977353320dfc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms 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('54903b2977353320dfc30000'), "firstname"=>"Alexandrine", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903b2977353320dfc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b2977353320dfc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms Redirected to http://test.host/clients/54903b2977353320dfc30000 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('54903b2977353320dfc40000'), "name"=>"Blair Champlin Jr.", "reference"=>"Mrs. Anjali Herman", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfc50000'), "firstname"=>"Hayley", "lastname"=>"Rippin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b2977353320dfc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4937ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6073ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Redirected to http://test.host/products/54903b2977353320dfc40000/manager Completed 302 Found in 7ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfc70000'), "name"=>"Ole Ullrich", "reference"=>"Heber Halvorson", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfc80000'), "firstname"=>"Rebeca", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54903b2977353320dfc80000", "product_id"=>"54903b2977353320dfc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfc90000'), "name"=>"Miss Martine Becker", "reference"=>"Rasheed Stehr II", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfca0000'), "firstname"=>"Albina", "lastname"=>"Upton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54903b2977353320dfc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfcb0000'), "name"=>"Brigitte Greenholt", "reference"=>"Aniya Jerde", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfcc0000'), "firstname"=>"Mireille", "lastname"=>"Rohan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5524ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54903b2977353320dfcc0000", "product_id"=>"54903b2977353320dfcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3513ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfcd0000'), "name"=>"Ms. Gladyce Hudson", "reference"=>"Mr. Citlalli Wisozk", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b2977353320dfce0000'), "firstname"=>"Irma", "lastname"=>"Schimmel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54903b2977353320dfce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b2977353320dfcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms Unpermitted parameters: name Redirected to http://test.host/products/54903b2977353320dfcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfcf0000'), "name"=>"Lexie Abernathy", "reference"=>"Ulises Watsica Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd00000'), "name"=>"Garrett Cartwright", "reference"=>"Kathryn Hoeger", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd10000'), "name"=>"Adriana Russel", "reference"=>"Gaston Ruecker", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd20000'), "name"=>"Leila Turner", "reference"=>"Sim Daugherty", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd30000'), "name"=>"Javonte Gutmann", "reference"=>"Floyd Bayer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd40000'), "name"=>"Gustave Kirlin", "reference"=>"Madeline Graham", "quantity"=>2}] 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.2144ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms Redirected to http://test.host/products/54903b2977353320dfd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2371ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd60000'), "name"=>"Weston Dicki III", "reference"=>"Trent Ward", "quantity"=>8}] 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.2005ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54903b2977353320dfd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms 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.2568ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd70000'), "name"=>"Deonte Kulas", "reference"=>"Polly Mueller", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6568ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54903b2977353320dfd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2977353320dfd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('54903b2977353320dfd80000'), "name"=>"Marilou Von", "reference"=>"Kaylee Wisoky", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280172567096] runtime: 0.1145ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3599ms Completed 200 OK in 18ms (Views: 17.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfd90000'), "name"=>"Eugene Schmidt", "reference"=>"Velda Kuhic", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfda0000'), "name"=>"HelloWorld", "reference"=>"Diana Klein", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfdb0000'), "name"=>"value", "reference"=>"Lloyd Wilderman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4394ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4148ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4029ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3092ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2824ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2251ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2977353320dfdc0000'), "name"=>"Allen Tromp", "reference"=>"Mr. Winfield Hodkiewicz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279757045583] runtime: 0.1066ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4087ms Completed 200 OK in 17ms (Views: 16.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280632596323] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280598572384] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713348125] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281063592595] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279899744617] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280569958414] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166149737] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279792747798] runtime: 0.1125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280940312704] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523135493] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072743318] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218784402] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281041776928] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305015409] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645276422] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908221395] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739472431] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410099210] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280517008561] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467944626] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249289689] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518939714] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466341024] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880515737] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279917211654] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671185035] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8402ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655067632] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279646131050] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279745989994] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307694996] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280985164956] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279795596405] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501807073] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422560256] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280385467644] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281277503445] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280827067765] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837535950] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686938881] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279382946239] runtime: 0.0767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280621176335] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425280707] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005037610] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553919279] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803692760] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078181338] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281077601628] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7246ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891940722] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189663671] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280105090435] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202025240] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469937905] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682004910] runtime: 0.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478768502] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279277394058] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280107382442] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399923459] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194645479] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279504784505] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253083276] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413830116] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262952461] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280559260571] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279305077133] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505863428] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279618628454] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731704804] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280532423389] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281137117915] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279664567684] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.0516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279430454580] runtime: 0.1404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.3634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556405752] runtime: 0.0759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239187674] runtime: 0.0885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984370085] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9357ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280407537683] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280270969632] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776561880] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281295042833] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116410157] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543313645] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548463434] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210660693] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080881834] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280679277094] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279593422294] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279202744916] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260629620] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617539226] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128462386] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279296599570] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555073273] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814964669] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279415408957] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338799511] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279712504958] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280310850145] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512692231] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279226954353] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281110648708] runtime: 0.0869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281029244095] runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281107039842] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280349972672] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068758454] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121591721] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504988505] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272276845] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317498688] runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279321734711] runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125267662] runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279337381837] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300772897] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094414106] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174713565] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281200093012] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524971087] runtime: 0.0841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797620680] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314969591] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280776958225] runtime: 0.0702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414600073] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922374888] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215804008] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161472680] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280940804879] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169161929] runtime: 0.0735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916203055] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177206250] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280532770717] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281242795289] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280583685172] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281169903343] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596411684] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279913775635] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280212116806] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279361104721] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982130503] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399948788] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280303378086] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165879096] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694637457] runtime: 0.0655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449276018] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280309347829] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849439149] runtime: 0.0765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863061642] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280370884209] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488539124] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279238064434] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280942728610] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281041462618] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297195595] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279463722173] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280934673392] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 28.1746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279259126079] runtime: 0.1036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280347157878] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279255746912] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233571685] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768527585] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279516477409] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972347271] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281111590173] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423497017] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027859193] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648125663] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645615010] runtime: 0.0508ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfdd0000'), "name"=>"Shany Cruickshank", "reference"=>"Delphia Sipes V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3177ms Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfde0000'), "name"=>"Gunnar Ullrich", "reference"=>"Ezra Balistreri", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830242713] runtime: 0.0788ms Completed 200 OK in 5ms (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('54903b2a77353320dfdf0000'), "name"=>"Shaun Abshire", "reference"=>"Ludie Hermann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54903b2a77353320dfdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms 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('54903b2a77353320dfe00000'), "name"=>"Peyton Cremin", "reference"=>"Leola Oberbrunner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe20000'), "name"=>"Elda Schaden", "reference"=>"Nigel Altenwerth", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54903b2a77353320dfe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms Completed 200 OK in 4ms (Views: 2.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe30000'), "name"=>"Mr. Zita Kling", "reference"=>"Elmo Feeney", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "next"=>"Next"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2919ms Unpermitted parameters: next MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2877353320df060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms Redirected to Completed 500 Internal Server Error in 4ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe40000'), "name"=>"Melany Cremin", "reference"=>"Maxwell Nader", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe50000'), "name"=>"Annamae Rice", "reference"=>"Tito Glover", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3312ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe60000'), "name"=>"Juliet Davis", "reference"=>"Reynold Mayert II", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2067ms 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('54903b2a77353320dfe70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1664ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfe80000'), "name"=>"Evelyn Anderson", "reference"=>"Dr. Cristopher Marquardt", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.9492ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54903b2a77353320dfe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfe80000')} 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={"_id"=>BSON::ObjectId('54903b2a77353320dfe80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms 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('54903b2a77353320dfe90000'), "name"=>"Rocky Nitzsche", "reference"=>"Antwan Cassin PhD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms 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('54903b2a77353320dfeb0000'), "name"=>"Murphy Parisian", "reference"=>"Ms. Breana Hudson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b2a77353320dfeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms 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('54903b2a77353320dfec0000'), "name"=>"Mr. Lew Herman", "reference"=>"Marge Rowe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b2a77353320dfec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfec0000')} 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('54903b2a77353320dfec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms Redirected to http://test.host/products/54903b2a77353320dfec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfef0000'), "name"=>"Rene Raynor", "reference"=>"Billie Jacobson DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dfed0000'), "author_name"=>"Ms. Vernie Cummerata", "content"=>["Blanditiis nam quidem vitae voluptatem sed. Sint nesciunt qui fuga eos quod vel. Sit voluptas et non eos itaque quis."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dfee0000'), "author_name"=>"Prudence Bernier", "content"=>["Suscipit rerum rem recusandae hic aspernatur eos. Quaerat ut est repellat enim. Exercitationem quod laboriosam culpa eum qui. Quidem voluptates et qui omnis beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b2a77353320dfef0000", "comment_id"=>"54903b2a77353320dfed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4448ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfef0000'), "comments._id"=>BSON::ObjectId('54903b2a77353320dfed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b2a77353320dff00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6823ms Redirected to http://test.host/products/54903b2a77353320dfef0000/comments/54903b2a77353320dfed0000/comments/54903b2a77353320dff00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dff30000'), "name"=>"Tess Gutkowski MD", "reference"=>"Valentina Farrell", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff10000'), "author_name"=>"Maybell Hauck", "content"=>["Quaerat repellat sit. Doloribus laudantium nihil voluptates omnis commodi. Eos et repudiandae quasi porro culpa ex eaque. Eius delectus est et sequi sed aut itaque."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff20000'), "author_name"=>"Maxime Hackett", "content"=>["Suscipit voluptas architecto optio esse deleniti quidem et. Est error dolor necessitatibus aspernatur maxime sed cumque. Minima repellendus debitis doloremque et vel libero. Doloremque quia necessitatibus consequatur et in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54903b2a77353320dff30000", "comment_id"=>"54903b2a77353320dff10000", "id"=>"54903b2a77353320dff20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dff30000')} 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('54903b2a77353320dff30000'), "comments._id"=>BSON::ObjectId('54903b2a77353320dff10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b2a77353320dff20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6011ms Redirected to http://test.host/products/54903b2a77353320dff30000/comments/54903b2a77353320dff10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dff60000'), "name"=>"Ona Kreiger", "reference"=>"Lilyan Gutkowski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff40000'), "author_name"=>"Julian Metz", "content"=>["Eius accusantium consequatur quia aspernatur nihil quae. Autem mollitia dolorem nam aliquid quo omnis. Ipsum minus ea."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff50000'), "author_name"=>"Miss Patience Heidenreich", "content"=>["Modi labore deserunt minus molestiae at. Rem minima totam enim earum aut ex labore. Sint veniam voluptas debitis fugit. Aspernatur modi at adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54903b2a77353320dff60000", "comment_id"=>"54903b2a77353320dff40000", "id"=>"54903b2a77353320dff50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dff60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dff90000'), "name"=>"Esperanza Hirthe", "reference"=>"Raoul Barrows", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff70000'), "author_name"=>"Idella Mayert DDS", "content"=>["Tempora consequatur repellendus rerum maxime officiis et nisi. Pariatur et est. Odit labore et saepe rerum quia beatae aut. Ad voluptate et reprehenderit odit velit dicta. Nesciunt ipsa ad molestiae sunt."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dff80000'), "author_name"=>"Frederique Douglas", "content"=>["Modi quia qui rerum labore dicta facere quae. Ipsum et odit adipisci quia sed. Atque enim ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7743ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54903b2a77353320dff90000", "comment_id"=>"54903b2a77353320dff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dff90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5701ms Completed 200 OK in 10ms (Views: 6.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dffc0000'), "name"=>"Ericka Schoen", "reference"=>"Ryleigh Trantow DDS", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dffa0000'), "author_name"=>"Thomas Bednar", "content"=>["Non vel consequatur rerum magni autem. Sed itaque laboriosam. Velit consectetur aut aut iure. Sed tempora exercitationem quibusdam quisquam blanditiis in."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dffb0000'), "author_name"=>"Aileen Ritchie", "content"=>["Qui ut quia aut vel vel officia quibusdam. Est esse vel iure id consequatur. Est et ut sapiente."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6952ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54903b2a77353320dffc0000", "comment_id"=>"54903b2a77353320dffa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dffc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4926ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320dfff0000'), "name"=>"Maryjane Cremin", "reference"=>"Edison Parker", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dffd0000'), "author_name"=>"Kiley Brakus DVM", "content"=>["Iusto nisi quia pariatur. Asperiores et quia ea. Nam nisi sed esse."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320dffe0000'), "author_name"=>"Alisha Lueilwitz III", "content"=>["Pariatur dolore nemo quidem id eum ut. Qui sunt molestias. Reprehenderit facilis esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5590ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54903b2a77353320dfff0000", "comment_id"=>"54903b2a77353320dffd0000", "id"=>"54903b2a77353320dffe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320dfff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4983ms Completed 200 OK in 4ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df020100'), "name"=>"Willy Nader", "reference"=>"Reggie Homenick II", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df000100'), "author_name"=>"Mrs. Riley Hansen", "content"=>["Odit qui expedita consequatur. Ut eos ut architecto dolorem repellendus. Nihil consequatur ad autem distinctio fuga adipisci. Quia ex provident deleniti laudantium consequatur repellat maxime."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df010100'), "author_name"=>"Ole Carter", "content"=>["Voluptatem est nulla voluptate doloribus nesciunt eos hic. Laborum impedit est commodi esse inventore. Voluptates laborum adipisci."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54903b2a77353320df020100", "comment_id"=>"54903b2a77353320df000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320df020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 5.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df050100'), "name"=>"Ephraim Wolff", "reference"=>"Sabryna Rutherford", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df030100'), "author_name"=>"Kendall Boyer", "content"=>["In deserunt dolor omnis. Quas sit qui quia. Quia labore ut fugit."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df040100'), "author_name"=>"Etha Cormier", "content"=>["Aut omnis voluptatum quam dolorum. Ut porro enim. Et ea quo soluta illum. Eum laborum qui perspiciatis fugiat ullam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54903b2a77353320df050100", "comment_id"=>"54903b2a77353320df030100", "id"=>"54903b2a77353320df040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320df050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms Completed 200 OK in 7ms (Views: 3.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df080100'), "name"=>"Clarissa Cartwright II", "reference"=>"Loy Conn", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df060100'), "author_name"=>"Aiden Dicki", "content"=>["Aut ducimus sapiente soluta esse numquam natus in. Doloremque hic dolorum. Voluptas recusandae in rerum. Culpa numquam facilis vero eum provident. Eum quos repudiandae."], "comments"=>[{"_id"=>BSON::ObjectId('54903b2a77353320df070100'), "author_name"=>"Ms. Toy Bauch", "content"=>["Sed nostrum cupiditate fugiat. Ullam qui accusamus. Omnis facere iure vero. Impedit ut aperiam voluptatem dolor. Quia non consequatur laborum nihil nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5603ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b2a77353320df070100", "product_id"=>"54903b2a77353320df080100", "comment_id"=>"54903b2a77353320df060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320df080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4466ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b2a77353320df080100'), "comments._id"=>BSON::ObjectId('54903b2a77353320df060100'), "comments.0.comments._id"=>BSON::ObjectId('54903b2a77353320df070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6193ms Redirected to http://test.host/products/54903b2a77353320df080100/comments/54903b2a77353320df060100/comments/54903b2a77353320df070100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df090100'), "firstname"=>"Isabel", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2974ms 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('54903b2a77353320df0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Redirected to http://test.host/users/54903b2a77353320df0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3091ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df0b0100'), "firstname"=>"Fannie", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2527ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54903b2a77353320df0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2a77353320df0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2a77353320df0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8575ms 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.2912ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df0c0100'), "firstname"=>"Rubye", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54903b2a77353320df0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2a77353320df0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) 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('54903b2a77353320df0d0100'), "firstname"=>"Alessandro", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms 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.4846ms Completed 200 OK in 48ms (Views: 46.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df0e0100'), "firstname"=>"Lorna", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4847ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b2a77353320df0f0100'), "firstname"=>"Kailyn", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by UsersController#show as HTML Parameters: {"id"=>"54903b2a77353320df0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2a77353320df0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms 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('54903b2a77353320df100100'), "firstname"=>"Robert", "lastname"=>"Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3561ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b2a77353320df100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b2a77353320df100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms Unpermitted parameters: name Redirected to http://test.host/users/54903b2a77353320df100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4073ms 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.4009ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms 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.3361ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms 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.3248ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f000000'), "firstname"=>"Tomasa", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1513ms 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('54903b7d773533211f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms 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.2071ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f020000'), "firstname"=>"Berneice", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54903b7d773533211f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f030000'), "firstname"=>"Vernie", "lastname"=>"Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.2186ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f040000'), "firstname"=>"Kathryn", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54903b7d773533211f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f050000'), "firstname"=>"Alvera", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54903b7d773533211f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms 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('54903b7d773533211f060000'), "name"=>"Ezekiel Muller", "reference"=>"Mrs. Van Mills", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f070000'), "author_name"=>"Kailey Shanahan", "content"=>["Omnis officiis sed blanditiis suscipit quis. Optio sit possimus id aspernatur delectus velit. Eius sed cumque rerum in numquam voluptatem. Commodi incidunt sint ea voluptas et."]}]}] 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('54903b7d773533211f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b7d773533211f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b7d773533211f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms Redirected to http://test.host/admin/products/54903b7d773533211f060000/comments/54903b7d773533211f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f090000'), "name"=>"Angelo Mraz", "reference"=>"Earlene Yost", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f0a0000'), "author_name"=>"Werner Bogan", "content"=>["Quia vero aliquid in est enim. Exercitationem et velit aut quod aut explicabo. Enim quia laudantium unde. Sit debitis aperiam incidunt itaque et tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b7d773533211f090000", "id"=>"54903b7d773533211f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f090000')} 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('54903b7d773533211f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b7d773533211f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Redirected to http://test.host/admin/products/54903b7d773533211f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f090000')} 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('54903b7d773533211f0b0000'), "name"=>"Ethelyn Ondricka", "reference"=>"Garland Oberbrunner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f0c0000'), "author_name"=>"Keith Zulauf", "content"=>["Ratione ipsum rem voluptatem placeat a modi praesentium. Corporis provident qui maiores et rerum. Asperiores ut ullam delectus voluptatem aut dicta vel. Necessitatibus nam itaque possimus doloremque quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54903b7d773533211f0b0000", "id"=>"54903b7d773533211f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f0d0000'), "name"=>"Ellie Marvin I", "reference"=>"Leonora Koepp", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f0e0000'), "author_name"=>"Carlee Rolfson", "content"=>["Nobis est quaerat. Sequi cumque earum. Consequatur laboriosam dolor omnis dolores consequuntur ut temporibus. Sint aliquid sapiente qui dolorem voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54903b7d773533211f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f0f0000'), "name"=>"Godfrey Schneider", "reference"=>"Jovany Davis", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f100000'), "author_name"=>"Jalyn Raynor", "content"=>["Corporis sunt veritatis molestiae accusamus dolor provident. Eos quo non explicabo quia aperiam ullam et. Neque quae sed voluptas tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54903b7d773533211f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3505ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f110000'), "name"=>"Esther Marks I", "reference"=>"Addie Reinger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f120000'), "author_name"=>"Dr. Emelia Gorczany", "content"=>["Voluptas quam voluptate eos deleniti quos veritatis. Consequatur at nam accusantium aspernatur quia est. Est sit sed possimus facere explicabo et. Non nisi tempore et a asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54903b7d773533211f110000", "id"=>"54903b7d773533211f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f130000'), "name"=>"Dr. Jimmy Stracke", "reference"=>"Ethan Thiel", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b7d773533211f140000'), "author_name"=>"Yolanda Jacobi", "content"=>["Sunt aspernatur est. Sit nesciunt voluptatem sequi et. Voluptatibus quia in. Et voluptatem voluptate deserunt consequuntur ut. Possimus autem cupiditate delectus omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5263ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b7d773533211f140000", "product_id"=>"54903b7d773533211f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f130000')} 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('54903b7d773533211f130000'), "comments._id"=>BSON::ObjectId('54903b7d773533211f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6381ms Redirected to http://test.host/admin/products/54903b7d773533211f130000/comments/54903b7d773533211f140000 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('54903b7d773533211f150000'), "name"=>"Mr. Marlin Willms", "reference"=>"Kirk Schulist IV", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f160000'), "firstname"=>"Virgil", "lastname"=>"Lind"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6086ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b7d773533211f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms Redirected to http://test.host/admin/products/54903b7d773533211f150000/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('54903b7d773533211f180000'), "name"=>"Leilani Gutmann", "reference"=>"Myriam Schmitt", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f190000'), "firstname"=>"Ana", "lastname"=>"Gerhold"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54903b7d773533211f190000", "product_id"=>"54903b7d773533211f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f1a0000'), "name"=>"Tomas Crist", "reference"=>"Sylvan Howe PhD", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f1b0000'), "firstname"=>"Tomas", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54903b7d773533211f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f1c0000'), "name"=>"Friedrich Daugherty III", "reference"=>"Emmett Kessler", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f1d0000'), "firstname"=>"Reyna", "lastname"=>"Heaney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54903b7d773533211f1d0000", "product_id"=>"54903b7d773533211f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f1e0000'), "name"=>"Tessie Hirthe", "reference"=>"Anibal Kihn", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b7d773533211f1f0000'), "firstname"=>"Moshe", "lastname"=>"Cummerata"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5507ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54903b7d773533211f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b7d773533211f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54903b7d773533211f1e0000/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('54903b7d773533211f200000'), "name"=>"Alyce Cassin", "reference"=>"Darrel Rohan", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5353ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1951ms 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('54903b7d773533211f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Redirected to http://test.host/admin/products/54903b7d773533211f210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f220000'), "name"=>"Anita Ferry", "reference"=>"Mrs. Veronica O'Reilly", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54903b7d773533211f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms 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.2278ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f230000'), "name"=>"Mr. Anabelle Batz", "reference"=>"Tania Pfannerstill", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54903b7d773533211f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f240000'), "name"=>"Aglae Koch", "reference"=>"Mr. Verna Hilpert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms 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.6410ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f250000'), "name"=>"Lavon Harber", "reference"=>"Ms. Bernadette Kling", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('54903b7d773533211f280000'), "name"=>"Haylee Krajcik", "reference"=>"Cleve Mitchell", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5655ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54903b7d773533211f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms 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('54903b7d773533211f290000'), "name"=>"Isabelle Stokes IV", "reference"=>"Halle Gislason", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b7d773533211f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8166ms Redirected to http://test.host/admin/products/54903b7d773533211f290000 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('54903b7d773533211f2a0000'), "firstname"=>"Anibal", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5859ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3461ms 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('54903b7d773533211f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms Redirected to http://test.host/admin/users/54903b7d773533211f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3537ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f2c0000'), "firstname"=>"Kennith", "lastname"=>"Corwin"}] 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.2989ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54903b7d773533211f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7d773533211f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7d773533211f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms 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.3125ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f2d0000'), "firstname"=>"Abagail", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54903b7d773533211f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7d773533211f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms Rendered /home/geoffroy/projects/crealettres/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('54903b7d773533211f2e0000'), "firstname"=>"Violet", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms 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.4747ms Completed 200 OK in 6ms (Views: 5.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f2f0000'), "firstname"=>"Hollis", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54903b7d773533211f300000'), "firstname"=>"Jovani", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54903b7d773533211f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7d773533211f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms 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('54903b7d773533211f310000'), "firstname"=>"Caleb", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b7d773533211f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7d773533211f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54903b7d773533211f310000 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('54903b7d773533211f320000'), "firstname"=>"Jordon", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2304ms 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('54903b7d773533211f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms 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.2561ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f340000'), "firstname"=>"Katherine", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4138ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54903b7d773533211f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f350000'), "firstname"=>"Gail", "lastname"=>"Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f360000'), "firstname"=>"Maxwell", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54903b7d773533211f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f370000'), "firstname"=>"Millie", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54903b7d773533211f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b7d773533211f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3803ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f380000'), "name"=>"Marielle Schmidt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f390000'), "name"=>"Joanny Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3a0000'), "name"=>"Alverta Towne DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3b0000'), "name"=>"Bradford Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3c0000'), "name"=>"Coleman Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3d0000'), "name"=>"Wellington Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3e0000'), "name"=>"Jovani Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f3f0000'), "name"=>"Leora Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f400000'), "name"=>"Willa Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f410000'), "name"=>"Karelle Parker PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f420000'), "name"=>"Sebastian Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f430000'), "name"=>"Everette Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f440000'), "name"=>"Laney Cartwright II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f450000'), "name"=>"Orland Jerde DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f460000'), "name"=>"Adriana Schmidt V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f470000'), "name"=>"Mozell Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f480000'), "name"=>"Gennaro Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f490000'), "name"=>"Cathrine Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4a0000'), "name"=>"Benny Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4b0000'), "name"=>"Lorna Swift V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4c0000'), "name"=>"Sonya Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4d0000'), "name"=>"Gino Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4e0000'), "name"=>"Denis Stokes I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f4f0000'), "name"=>"Carmela Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f500000'), "name"=>"Mohammed Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f510000'), "name"=>"Reanna VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f520000'), "name"=>"Philip Boyle PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f530000'), "name"=>"Eusebio Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1897ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f540000'), "name"=>"Sterling McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f550000'), "name"=>"Percy Cassin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f560000'), "name"=>"Jedidiah Marvin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f570000'), "name"=>"Ramona Grant I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f580000'), "name"=>"Mrs. Eladio Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f590000'), "name"=>"Abdullah Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5a0000'), "name"=>"Alyce Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5b0000'), "name"=>"Jameson Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5c0000'), "name"=>"Miss Torrey Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5d0000'), "name"=>"Marjolaine Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5e0000'), "name"=>"Mrs. Liza Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f5f0000'), "name"=>"Eveline Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f600000'), "name"=>"Rafaela Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f610000'), "name"=>"Jessika Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f620000'), "name"=>"Devon Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f630000'), "name"=>"Katrina Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f640000'), "name"=>"Miss Evan Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f650000'), "name"=>"Bernie Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f660000'), "name"=>"Darrin Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f670000'), "name"=>"Orlando Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f680000'), "name"=>"Mrs. Eliza Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f690000'), "name"=>"Lupe Fisher PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6a0000'), "name"=>"Timothy Hahn V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6b0000'), "name"=>"Dewitt Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6c0000'), "name"=>"Jordy Tremblay II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1949ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6d0000'), "name"=>"Jordan Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6e0000'), "name"=>"Tanner Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f6f0000'), "name"=>"Ms. Columbus Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f700000'), "name"=>"Grady Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f710000'), "name"=>"Mrs. Julianne Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f720000'), "name"=>"Ms. Andre Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f730000'), "name"=>"Ashtyn Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f740000'), "name"=>"Jarrell Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f750000'), "name"=>"Maeve Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f760000'), "name"=>"Alisha Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f770000'), "name"=>"Candice O'Conner MD"}] 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={"category_id"=>BSON::ObjectId('54903b7d773533211f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f780000'), "name"=>"Leda Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f790000'), "name"=>"Emmitt Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7a0000'), "name"=>"Murphy Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7b0000'), "name"=>"Trenton Monahan Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7c0000'), "name"=>"Mrs. Toney Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7d0000'), "name"=>"Lucile Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7e0000'), "name"=>"Dr. Delfina Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f7f0000'), "name"=>"Kendra Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f800000'), "name"=>"Declan Nikolaus IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f810000'), "name"=>"Blanche Klein I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f820000'), "name"=>"Torey Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f830000'), "name"=>"Emmanuel Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f840000'), "name"=>"Miss Lenore Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f850000'), "name"=>"Oma Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f860000'), "name"=>"Dixie Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f870000'), "name"=>"Emmanuelle Upton DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f880000'), "name"=>"Augustine White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f890000'), "name"=>"Wilfrid Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8a0000'), "name"=>"Kelvin Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8b0000'), "name"=>"Lincoln Heller"}] 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={"category_id"=>BSON::ObjectId('54903b7d773533211f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8c0000'), "name"=>"Prudence Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8d0000'), "name"=>"Roxanne Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8e0000'), "name"=>"Ms. Jarvis Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f8f0000'), "name"=>"Sienna Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f900000'), "name"=>"Thelma Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f910000'), "name"=>"Miss Lucio Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f920000'), "name"=>"Mrs. Tony Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f930000'), "name"=>"Dr. Christine Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f940000'), "name"=>"Novella Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f950000'), "name"=>"Myrl Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f960000'), "name"=>"Audie Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f970000'), "name"=>"Salma Raynor DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2676ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms Redirected to http://test.host/categories/54903b7d773533211f980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3706ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f990000'), "name"=>"Jimmie Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3148ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54903b7d773533211f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7d773533211f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7d773533211f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1912ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f9a0000'), "name"=>"Tito Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54903b7d773533211f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7d773533211f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7d773533211f9b0000'), "name"=>"Dannie Lynch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7d773533211f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2016ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306596604748] runtime: 0.1041ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3150ms Completed 200 OK in 15ms (Views: 14.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7e773533211f9c0000'), "name"=>"Ms. Arvel Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3242ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305902579411] runtime: 0.0805ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2663ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7e773533211f9d0000'), "name"=>"Jaunita Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7e773533211f9f0000'), "name"=>"Retta Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54903b7e773533211f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7e773533211f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fa00000'), "name"=>"Myrtice Homenick MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54903b7e773533211fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7e773533211fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b7e773533211fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b7e773533211fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms Redirected to http://test.host/categories/54903b7e773533211fa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fa10000'), "name"=>"Cecilia Luettgen V", "reference"=>"Marcellus Quigley", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fa20000'), "author_name"=>"Marcelino Brekke", "content"=>["Adipisci beatae officiis optio. Sit ut et non. Voluptatem consequatur nemo fuga amet reprehenderit aut et. Est quis ullam nihil omnis. Magni quod libero autem aut repudiandae harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b7e773533211fa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4154ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b7e773533211fa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms Redirected to http://test.host/products/54903b7e773533211fa10000/comments/54903b7e773533211fa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fa40000'), "name"=>"Mollie Weissnat Sr.", "reference"=>"Janet Swaniawski", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fa50000'), "author_name"=>"Mia Bradtke", "content"=>["Quis ut est accusamus perferendis id autem aperiam. Explicabo iste aliquam voluptatum quo. Maxime perferendis commodi et dolores eum est blanditiis. Dolorem dolore et et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4171ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b7e773533211fa40000", "id"=>"54903b7e773533211fa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b7e773533211fa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms Redirected to http://test.host/products/54903b7e773533211fa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fa60000'), "name"=>"Willard Quigley", "reference"=>"Mr. Sally DuBuque", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fa70000'), "author_name"=>"Karen Reynolds", "content"=>["Aperiam hic quia natus nulla molestias qui. Officia accusantium voluptas. Molestiae ipsum molestiae perspiciatis quod qui excepturi. Esse est et vero illo asperiores in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54903b7e773533211fa60000", "id"=>"54903b7e773533211fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fa80000'), "name"=>"Ms. David O'Reilly", "reference"=>"Ramiro Legros V", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fa90000'), "author_name"=>"Carleton Corkery", "content"=>["Dolor et aliquam vitae temporibus officiis animi maxime. Illum perspiciatis aut vitae sint sit. Est rerum nulla maiores. Incidunt consequatur tempore facere quo commodi omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54903b7e773533211fa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211faa0000'), "name"=>"Marian O'Keefe", "reference"=>"Ms. Mae Brown", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fab0000'), "author_name"=>"Dr. Carrie Little", "content"=>["Deserunt consequatur dolore suscipit officiis. Velit voluptatem at animi eum est minima. Quam atque consectetur est sunt repellat ipsam. Modi exercitationem doloribus est libero est quas. Tempore molestiae consequuntur et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54903b7e773533211faa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fac0000'), "name"=>"Della Denesik", "reference"=>"Gretchen Sanford", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fad0000'), "author_name"=>"Lambert Harber", "content"=>["Deleniti sunt amet tempora. Et nemo et architecto ut. Ea exercitationem recusandae maxime. Perferendis labore commodi voluptatem quasi doloribus nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54903b7e773533211fac0000", "id"=>"54903b7e773533211fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fae0000'), "name"=>"Corrine Anderson", "reference"=>"Mrs. Jayme Durgan", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211faf0000'), "author_name"=>"Maymie Schuster", "content"=>["Officiis dignissimos incidunt voluptate commodi modi. Sit at placeat neque non nisi qui amet. Atque et et alias rerum ratione similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54903b7e773533211fae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 10ms (Views: 6.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb00000'), "name"=>"Ms. Elinore Walter", "reference"=>"Miss Rashad Kulas", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fb10000'), "author_name"=>"Trace Batz", "content"=>["Id quam nulla magni et. Sint aspernatur sit est ducimus dignissimos dolores. Sint nisi accusamus minus provident sunt maxime. Ipsum laudantium nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5450ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54903b7e773533211fb00000", "id"=>"54903b7e773533211fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb20000'), "name"=>"Lucy Walter", "reference"=>"Margret Wiza", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b7e773533211fb30000'), "author_name"=>"Austen Beahan", "content"=>["Est ex voluptatum fugit et in. Fugit rem amet autem non. Alias accusantium enim ex et mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b7e773533211fb30000", "product_id"=>"54903b7e773533211fb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fb20000')} 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('54903b7e773533211fb20000'), "comments._id"=>BSON::ObjectId('54903b7e773533211fb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Redirected to http://test.host/products/54903b7e773533211fb20000/comments/54903b7e773533211fb30000 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('54903b7e773533211fb40000'), "firstname"=>"Josephine", "lastname"=>"Yost"}] 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.2271ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms Redirected to http://test.host/admin/clients/54903b7e773533211fb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2626ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb60000'), "firstname"=>"Abdiel", "lastname"=>"Boyer"}] 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.2065ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b7e773533211fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fb60000')} 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 MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2039ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb70000'), "firstname"=>"Rosalind", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b7e773533211fb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fb80000'), "firstname"=>"Carole", "lastname"=>"Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms 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('54903b7e773533211fb90000'), "firstname"=>"Renee", "lastname"=>"Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.0ms) Completed 200 OK in 40ms (Views: 38.8ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fba0000'), "firstname"=>"Noemi", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b7e773533211fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms 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('54903b7e773533211fbb0000'), "firstname"=>"Camron", "lastname"=>"Ondricka"}] 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"=>"54903b7e773533211fbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Redirected to http://test.host/admin/clients/54903b7e773533211fbb0000 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('54903b7e773533211fbc0000'), "firstname"=>"Melisa", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms 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('54903b7e773533211fbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms Redirected to http://test.host/clients/54903b7e773533211fbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1999ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fbe0000'), "firstname"=>"Jarrett", "lastname"=>"Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1889ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b7e773533211fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms 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.1923ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fbf0000'), "firstname"=>"Vena", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b7e773533211fbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms Rendered /home/geoffroy/projects/crealettres/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('54903b7e773533211fc00000'), "firstname"=>"Kyra", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms 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('54903b7e773533211fc10000'), "firstname"=>"Myrna", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54903b7e773533211fc20000'), "firstname"=>"Fletcher", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b7e773533211fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms 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('54903b7e773533211fc30000'), "firstname"=>"Casey", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6737ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903b7e773533211fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b7e773533211fc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms Redirected to http://test.host/clients/54903b7e773533211fc30000 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('54903b7e773533211fc40000'), "name"=>"Jaron Aufderhar", "reference"=>"Alvah Hettinger", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fc50000'), "firstname"=>"Queen", "lastname"=>"Hodkiewicz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b7e773533211fc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms Redirected to http://test.host/products/54903b7e773533211fc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fc70000'), "name"=>"Morris Sporer PhD", "reference"=>"Valerie Beahan", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fc80000'), "firstname"=>"Theo", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54903b7e773533211fc80000", "product_id"=>"54903b7e773533211fc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fc90000'), "name"=>"Tanya Smith", "reference"=>"Miss Myrtle Koelpin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fca0000'), "firstname"=>"Ara", "lastname"=>"Breitenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54903b7e773533211fc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4077ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fcb0000'), "name"=>"Dr. Stanford Emmerich", "reference"=>"Miss Rico Dare", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fcc0000'), "firstname"=>"Alycia", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54903b7e773533211fcc0000", "product_id"=>"54903b7e773533211fcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4073ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fcd0000'), "name"=>"Bernhard Reichert", "reference"=>"Mr. Kody Grady", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54903b7e773533211fce0000'), "firstname"=>"George", "lastname"=>"Vandervort"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54903b7e773533211fce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b7e773533211fcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms Unpermitted parameters: name Redirected to http://test.host/products/54903b7e773533211fcd0000/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('54903b7e773533211fcf0000'), "name"=>"Harmony Schinner", "reference"=>"Brant Carroll", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd00000'), "name"=>"Sherwood Auer", "reference"=>"Liam Schoen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd10000'), "name"=>"Ms. Erin Von", "reference"=>"Gene Farrell DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd20000'), "name"=>"Trystan Padberg V", "reference"=>"Mrs. Name Konopelski", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.1994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd30000'), "name"=>"Jolie Bruen", "reference"=>"Kenton Bartoletti IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd40000'), "name"=>"Margie Hermiston I", "reference"=>"Lynn Mitchell", "quantity"=>4}] 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.2754ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7845ms Redirected to http://test.host/products/54903b7e773533211fd50000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2745ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd60000'), "name"=>"Dr. Dasia Nader", "reference"=>"Erik Cormier", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2145ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54903b7e773533211fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms 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.3276ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd70000'), "name"=>"Ansley Medhurst", "reference"=>"Dallas Reichel", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54903b7e773533211fd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd80000'), "name"=>"Dax Considine", "reference"=>"Mrs. Tomas Lynch", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280684777541] runtime: 0.1164ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3614ms Completed 200 OK in 18ms (Views: 17.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fd90000'), "name"=>"Constance Kub Sr.", "reference"=>"Lew Conroy", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fda0000'), "name"=>"HelloWorld", "reference"=>"Domenic Kassulke", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fdb0000'), "name"=>"value", "reference"=>"Mr. Trinity Wisozk", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6468ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.5924ms Completed 200 OK in 6ms (Views: 5.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.5167ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3485ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2448ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2846ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2482ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2027ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fdc0000'), "name"=>"Kristy Kuhlman I", "reference"=>"Kimberly Lind V", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281214855085] runtime: 0.0982ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2720ms Completed 200 OK in 17ms (Views: 16.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043869716] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210260496] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281169240599] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280275839018] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279298631049] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281038086836] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279563312092] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348843430] runtime: 0.0878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280409483840] runtime: 0.0737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272066688] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281222098967] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272559640] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280819231446] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279189814858] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280766304885] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556118490] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281316784140] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004452241] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279220171835] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600042172] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280803262730] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280539859871] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735279079] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400638033] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218606968] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187878595] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144018562] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279647487890] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972164976] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281255641817] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658533513] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528187410] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280763154638] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279284265860] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073749763] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280818526680] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281098705636] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950044842] runtime: 0.0723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281064593283] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654407722] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857708349] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888773426] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279646942518] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280102273452] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098815250] runtime: 0.0762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280875614173] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281127706177] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281051388316] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753597277] runtime: 0.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280608829828] runtime: 0.0939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279235189537] runtime: 0.0935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279933934066] runtime: 0.1150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279592338125] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279256255160] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483788501] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281227699626] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908388034] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751701278] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304420438] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568209011] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280330835218] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036827809] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281101557012] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281205411263] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523502604] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966231003] runtime: 0.0778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316286683] runtime: 0.0782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272761728] runtime: 0.1006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280852498423] runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.5000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279281434078] runtime: 0.0883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001067358] runtime: 0.0758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280697302962] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279868242337] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279493830620] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253920277] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279214006997] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371817547] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280774180094] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859370713] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248340886] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434995558] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723981927] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280971294601] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993910350] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814743598] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170395766] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024970465] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280593102301] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936049895] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783688524] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281046706326] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388582048] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280103289286] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535043149] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282868261] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280961748144] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279345122067] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279924604274] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279839572684] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280465919751] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869898597] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280152001886] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344350139] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886798732] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281248093721] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280722657932] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281013430247] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902888994] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801216725] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187894085] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280504162366] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283217347] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280161999801] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280973948745] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529622068] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279751892992] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266940154] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247096298] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279398822265] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280092414967] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280129116698] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661649206] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574505761] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280681681027] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884248174] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279814316239] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466193480] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280788834273] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279404504971] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324427045] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307242096] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625873934] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876610778] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857611493] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021949509] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279849287762] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885466534] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304949606] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993292597] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280002359079] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279956469460] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279330385847] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027555175] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830592582] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280577633378] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280275332981] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486659891] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326479216] runtime: 0.1147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281093535690] runtime: 0.0788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274725239] runtime: 0.0718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331064499] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094091569] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858781708] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926014572] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280948269276] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183461420] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121565258] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666592923] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280718871014] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280530398882] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095890757] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921764784] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280257527035] runtime: 0.0697ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fdd0000'), "name"=>"Ms. Leopold Hauck", "reference"=>"Darwin Kris DVM", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3251ms Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fde0000'), "name"=>"Steve Bogan", "reference"=>"Leonardo Kilback", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280267117939] runtime: 0.0789ms Completed 200 OK in 5ms (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('54903b7e773533211fdf0000'), "name"=>"Pietro Windler", "reference"=>"Annabelle Wisoky", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54903b7e773533211fdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms 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('54903b7e773533211fe00000'), "name"=>"Velma Rempel", "reference"=>"Ashley Schroeder", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe20000'), "name"=>"Foster Leffler V", "reference"=>"Stefan Botsford", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5777ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54903b7e773533211fe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe30000'), "name"=>"Kane Anderson", "reference"=>"Juliana Zemlak", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3314ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7d773533211f060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 23.6373ms Redirected to Completed 500 Internal Server Error in 28ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe40000'), "name"=>"Billie Becker", "reference"=>"Waino Shields", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3962ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe50000'), "name"=>"Betsy Wisoky DDS", "reference"=>"Amie Sanford", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3644ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe60000'), "name"=>"Easter Hauck", "reference"=>"Ralph McKenzie Jr.", "quantity"=>8}] 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.2873ms 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('54903b7e773533211fe70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3199ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7e773533211fe80000'), "name"=>"Mrs. Elmo West", "reference"=>"Cleveland Borer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54903b7e773533211fe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fe80000')} 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('54903b7e773533211fe80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms 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('54903b7e773533211fe90000'), "name"=>"Anabelle Bradtke", "reference"=>"Jarret Grady", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms 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('54903b7e773533211feb0000'), "name"=>"Kennith Rempel", "reference"=>"Emmanuel MacGyver", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b7e773533211feb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211feb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms 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('54903b7e773533211fec0000'), "name"=>"Maryjane Streich", "reference"=>"Marian Denesik", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b7e773533211fec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7e773533211fec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6344ms Redirected to http://test.host/products/54903b7e773533211fec0000 Completed 302 Found in 37ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211fef0000'), "name"=>"Burdette Bernhard MD", "reference"=>"Vena Orn", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211fed0000'), "author_name"=>"Austen Dach", "content"=>["Quis quaerat eum. Aperiam laborum in ducimus qui nisi soluta. Nesciunt magnam vel."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211fee0000'), "author_name"=>"Dr. Foster Jacobi", "content"=>["Voluptatem culpa et est itaque dolores. Beatae quia dolorem neque omnis nisi sit quod. Quae fugit dolorum voluptas vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6334ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b7f773533211fef0000", "comment_id"=>"54903b7f773533211fed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4707ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211fef0000'), "comments._id"=>BSON::ObjectId('54903b7f773533211fed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b7f773533211ff00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7706ms Redirected to http://test.host/products/54903b7f773533211fef0000/comments/54903b7f773533211fed0000/comments/54903b7f773533211ff00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211ff30000'), "name"=>"Dawn Frami", "reference"=>"Yasmeen Berge", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff10000'), "author_name"=>"Flossie Goldner", "content"=>["Nulla commodi et. Ut et nihil aut. Placeat excepturi animi non. Qui quo tenetur explicabo quibusdam vel dolorum. Veniam impedit corporis."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff20000'), "author_name"=>"Michale Altenwerth", "content"=>["Debitis repudiandae veniam architecto assumenda. Voluptates id ut accusamus sint aut quo. Ut alias modi sed non et aliquam. Accusantium nostrum nulla quis. Commodi ab sed facere consequatur quo sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54903b7f773533211ff30000", "comment_id"=>"54903b7f773533211ff10000", "id"=>"54903b7f773533211ff20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5111ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff30000'), "comments._id"=>BSON::ObjectId('54903b7f773533211ff10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b7f773533211ff20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7053ms Redirected to http://test.host/products/54903b7f773533211ff30000/comments/54903b7f773533211ff10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4237ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211ff60000'), "name"=>"Mrs. Leola Terry", "reference"=>"Irma Muller II", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff40000'), "author_name"=>"Kale Kub", "content"=>["Vero consequatur labore tenetur distinctio ipsam ex libero. Dolorem praesentium autem sit corporis error. Rem quas et aperiam omnis qui quae similique."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff50000'), "author_name"=>"Alexzander Goodwin V", "content"=>["Tempora ducimus dicta. Quo quibusdam excepturi est placeat. Voluptatem eos alias. Necessitatibus ad sed perspiciatis possimus facere excepturi autem. Dolore at sit doloremque iusto voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54903b7f773533211ff60000", "comment_id"=>"54903b7f773533211ff40000", "id"=>"54903b7f773533211ff50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4546ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211ff90000'), "name"=>"Beryl Kuhic", "reference"=>"Ramona Upton", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff70000'), "author_name"=>"Cristina Beatty", "content"=>["Impedit ratione tenetur debitis voluptas veritatis. Quas iure itaque voluptatum molestiae sed. Occaecati non blanditiis sint molestiae ducimus fugiat nostrum. Consequatur saepe quis id. Atque sint dignissimos amet provident."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ff80000'), "author_name"=>"Otilia Ankunding", "content"=>["Sed vel voluptatibus perferendis reiciendis. Architecto cum quam eaque natus. Rerum enim est voluptatem minima eius a."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6169ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54903b7f773533211ff90000", "comment_id"=>"54903b7f773533211ff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ff90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4373ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211ffc0000'), "name"=>"Preston Treutel III", "reference"=>"Noah Hagenes Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ffa0000'), "author_name"=>"Annie Prohaska", "content"=>["Enim fuga neque impedit facilis animi. Minus ea culpa sit dicta necessitatibus. Quo placeat itaque nisi. Exercitationem voluptatibus architecto magnam."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ffb0000'), "author_name"=>"Nolan Kris PhD", "content"=>["Illum quod architecto qui unde est. Dolor id nihil. Ea nam at quasi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6043ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54903b7f773533211ffc0000", "comment_id"=>"54903b7f773533211ffa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211ffc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4237ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211fff0000'), "name"=>"Percival Waelchi", "reference"=>"Kenya Greenfelder", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ffd0000'), "author_name"=>"Alek Gutkowski", "content"=>["Debitis eveniet esse beatae non architecto dolores accusantium. Non nisi dolores tenetur quae. Aut dolores sunt sequi omnis dolores maxime et. Necessitatibus aliquid numquam omnis possimus et accusamus placeat."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211ffe0000'), "author_name"=>"Amy Quitzon", "content"=>["Ut sit est. Necessitatibus possimus vel officiis ullam cupiditate minima veniam. Et culpa aut voluptatibus. Nam voluptatibus animi cupiditate eligendi ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54903b7f773533211fff0000", "comment_id"=>"54903b7f773533211ffd0000", "id"=>"54903b7f773533211ffe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211fff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4159ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f020100'), "name"=>"Kavon Conn", "reference"=>"Jaqueline Marvin DDS", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f000100'), "author_name"=>"Katelin Luettgen III", "content"=>["Quasi fugiat et voluptatem et consectetur rerum optio. Magnam quidem dolorum. Quae illo perspiciatis voluptas est et aspernatur."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f010100'), "author_name"=>"Ms. Kadin Dach", "content"=>["Placeat deserunt architecto. Eos qui facilis omnis. Sed doloremque nulla laborum. Deserunt et sint iusto. Qui soluta minima molestias assumenda nam voluptas dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54903b7f773533211f020100", "comment_id"=>"54903b7f773533211f000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211f020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4112ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f050100'), "name"=>"Mr. Heath Adams", "reference"=>"Johan Schmitt", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f030100'), "author_name"=>"Rosendo Schimmel V", "content"=>["Consequatur qui quasi maxime ea expedita rerum aperiam. Quis doloremque totam. Ea eligendi et doloremque non et. Molestiae molestiae quia expedita porro. Illo eum at pariatur est id aperiam."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f040100'), "author_name"=>"Dr. Kattie Hudson", "content"=>["Et delectus officiis voluptatem quibusdam harum est quis. Qui minima quas eaque enim neque. Qui est quos mollitia deserunt. Qui fugit consequuntur quisquam. Sed est illo commodi quod beatae quisquam modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54903b7f773533211f050100", "comment_id"=>"54903b7f773533211f030100", "id"=>"54903b7f773533211f040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211f050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f080100'), "name"=>"Nola Douglas Jr.", "reference"=>"Mrs. Elouise Veum", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f060100'), "author_name"=>"Amelia Klein", "content"=>["Aut aliquam suscipit non quaerat harum facilis fugiat. Velit omnis fugit occaecati placeat sed nobis et. Ut ullam excepturi minus. Et illum qui. Beatae autem officia voluptatem culpa quam laborum eligendi."], "comments"=>[{"_id"=>BSON::ObjectId('54903b7f773533211f070100'), "author_name"=>"Ephraim Hills", "content"=>["Praesentium ipsam incidunt aut eius consequatur a. Est tenetur sunt sunt in voluptates illo voluptas. Explicabo doloremque architecto cumque vel pariatur voluptatem. Quasi est deleniti soluta natus quis hic eaque. Voluptates quo omnis fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5983ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b7f773533211f070100", "product_id"=>"54903b7f773533211f080100", "comment_id"=>"54903b7f773533211f060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b7f773533211f080100'), "comments._id"=>BSON::ObjectId('54903b7f773533211f060100'), "comments.0.comments._id"=>BSON::ObjectId('54903b7f773533211f070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7226ms Redirected to http://test.host/products/54903b7f773533211f080100/comments/54903b7f773533211f060100/comments/54903b7f773533211f070100 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('54903b7f773533211f090100'), "firstname"=>"Hubert", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3401ms 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('54903b7f773533211f0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms Redirected to http://test.host/users/54903b7f773533211f0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3235ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f0b0100'), "firstname"=>"Toy", "lastname"=>"Pollich"}] 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=>"admin_users", :query=>{}} runtime: 0.3020ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54903b7f773533211f0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7f773533211f0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7f773533211f0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms 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('54903b7f773533211f0c0100'), "firstname"=>"Kenya", "lastname"=>"Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7702ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54903b7f773533211f0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7f773533211f0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5945ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 57ms (Views: 54.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f0d0100'), "firstname"=>"Penelope", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6607ms 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.6874ms Completed 200 OK in 60ms (Views: 58.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b7f773533211f0e0100'), "firstname"=>"Peggie", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5748ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) 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('54903b7f773533211f0f0100'), "firstname"=>"Dax", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6232ms Processing by UsersController#show as HTML Parameters: {"id"=>"54903b7f773533211f0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7f773533211f0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4375ms 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('54903b7f773533211f100100'), "firstname"=>"Isaias", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5606ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b7f773533211f100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b7f773533211f100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Unpermitted parameters: name Redirected to http://test.host/users/54903b7f773533211f100100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5636ms 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.5433ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6660ms 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.5761ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7601ms 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.5138ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152000000'), "firstname"=>"Darian", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6358ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2938ms 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('54903b957735332152010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.2330ms Redirected to http://test.host/admin/administrator Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3796ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152020000'), "firstname"=>"Alia", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54903b957735332152020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4702ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152030000'), "firstname"=>"Uriah", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152040000'), "firstname"=>"Clay", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5261ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54903b957735332152040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152050000'), "firstname"=>"Domenic", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54903b957735332152050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms 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('54903b957735332152060000'), "name"=>"Leanne Senger", "reference"=>"Verlie Kilback PhD", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b957735332152070000'), "author_name"=>"Fiona Larkin", "content"=>["Aspernatur est deleniti. Est consectetur necessitatibus molestiae. Quos ullam voluptatibus fuga et. Doloremque architecto aut sequi dignissimos voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b957735332152060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b957735332152080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Redirected to http://test.host/admin/products/54903b957735332152060000/comments/54903b957735332152080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4234ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152090000'), "name"=>"Miss Theron Dibbert", "reference"=>"Alberta Macejkovic", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b9577353321520a0000'), "author_name"=>"Cruz Wilkinson", "content"=>["Ipsa laboriosam quibusdam consequatur assumenda. Porro necessitatibus distinctio iusto commodi in et. Iusto exercitationem ipsam et sed aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b957735332152090000", "id"=>"54903b9577353321520a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4321ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b9577353321520a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms Redirected to http://test.host/admin/products/54903b957735332152090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321520b0000'), "name"=>"Vergie Bogan", "reference"=>"Mr. Citlalli Veum", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b9577353321520c0000'), "author_name"=>"Ryleigh Stiedemann", "content"=>["Reprehenderit laborum alias voluptas dolore nemo reiciendis quae. Velit cumque ut id maiores est fugit. Ut iure molestiae unde qui. Aliquid voluptatem qui hic tenetur. Architecto ducimus magni optio doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54903b9577353321520b0000", "id"=>"54903b9577353321520c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321520b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321520d0000'), "name"=>"Mrs. Moshe Kertzmann", "reference"=>"Dedrick Johnson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b9577353321520e0000'), "author_name"=>"Billy Reichert", "content"=>["Qui repudiandae eaque. Eveniet quia culpa omnis sed soluta. Vero sed iusto. Aliquam quia quos deserunt exercitationem deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54903b9577353321520d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321520d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4393ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321520f0000'), "name"=>"Abelardo Kunze", "reference"=>"Madelyn Anderson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903b957735332152100000'), "author_name"=>"Erin Muller", "content"=>["Beatae ab eligendi assumenda quasi occaecati suscipit qui. Deleniti veritatis qui et deserunt vero rerum. Ut ullam officia sunt quis autem maiores voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5842ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54903b9577353321520f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321520f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4148ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152110000'), "name"=>"Mrs. Alicia Bahringer", "reference"=>"Marty Erdman", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903b957735332152120000'), "author_name"=>"Stephania Padberg", "content"=>["Iusto voluptatem dicta velit vel doloribus corporis consequatur. Quibusdam qui harum magnam vitae. Nemo ut sed. Alias doloremque tempora ducimus quo. Eum autem quisquam ut hic aut delectus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54903b957735332152110000", "id"=>"54903b957735332152120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152130000'), "name"=>"Laury Wolf", "reference"=>"Brooklyn O'Connell", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b957735332152140000'), "author_name"=>"Keshaun Rice", "content"=>["Sed dolorum officiis. Blanditiis aut quo et. Possimus ducimus corporis maxime ex cum. Voluptatibus rem ut perspiciatis qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b957735332152140000", "product_id"=>"54903b957735332152130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152130000'), "comments._id"=>BSON::ObjectId('54903b957735332152140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7178ms Redirected to http://test.host/admin/products/54903b957735332152130000/comments/54903b957735332152140000 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('54903b957735332152150000'), "name"=>"Andy Rempel", "reference"=>"Trisha Gibson PhD", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903b957735332152160000'), "firstname"=>"Burdette", "lastname"=>"Ortiz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6288ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b957735332152150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b957735332152170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Redirected to http://test.host/admin/products/54903b957735332152150000/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('54903b957735332152180000'), "name"=>"Octavia Harvey", "reference"=>"Shanelle Friesen", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903b957735332152190000'), "firstname"=>"Pattie", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5532ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54903b957735332152190000", "product_id"=>"54903b957735332152180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4387ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321521a0000'), "name"=>"Berenice Glover", "reference"=>"Ms. Ashlee Kulas", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b9577353321521b0000'), "firstname"=>"Gladyce", "lastname"=>"Bashirian"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5555ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54903b9577353321521a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321521a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321521c0000'), "name"=>"Elisa Gottlieb", "reference"=>"Orin Russel", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903b9577353321521d0000'), "firstname"=>"Ron", "lastname"=>"Kutch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5372ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54903b9577353321521d0000", "product_id"=>"54903b9577353321521c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321521c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b9577353321521e0000'), "name"=>"Oliver Nader III", "reference"=>"Allison Kuhic", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54903b9577353321521f0000'), "firstname"=>"Brody", "lastname"=>"Wehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54903b9577353321521f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b9577353321521e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b9577353321521e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54903b9577353321521e0000/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('54903b957735332152200000'), "name"=>"Zakary Brown IV", "reference"=>"Ardella Reichert II", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1916ms 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('54903b957735332152210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms Redirected to http://test.host/admin/products/54903b957735332152210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2068ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152220000'), "name"=>"Flo Roberts", "reference"=>"Leola Bradtke", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1864ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54903b957735332152220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152220000')} 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('54903b957735332152220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms 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.2009ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152230000'), "name"=>"Hattie Stark", "reference"=>"Melba Turner", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54903b957735332152230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152240000'), "name"=>"Rupert Bosco III", "reference"=>"Sammy Gusikowski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms 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.5520ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152250000'), "name"=>"Gussie Schultz", "reference"=>"Maxime Boehm", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b957735332152280000'), "name"=>"Gregorio Schaefer", "reference"=>"Ahmed Schowalter", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54903b957735332152280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms 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('54903b957735332152290000'), "name"=>"Ms. Alisa Willms", "reference"=>"Modesta Wunsch DDS", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b957735332152290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Redirected to http://test.host/admin/products/54903b957735332152290000 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('54903b9577353321522a0000'), "firstname"=>"Stephen", "lastname"=>"Sporer"}] 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.1998ms 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('54903b9577353321522b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms Redirected to http://test.host/admin/users/54903b9577353321522b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2116ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9577353321522c0000'), "firstname"=>"Nichole", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1848ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54903b9577353321522c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9577353321522c0000')} 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('54903b9577353321522c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms 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.1869ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9577353321522d0000'), "firstname"=>"Anais", "lastname"=>"Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54903b9577353321522d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9577353321522d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9577353321522e0000'), "firstname"=>"Lexie", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms 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.3276ms 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('54903b9577353321522f0000'), "firstname"=>"Bette", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54903b957735332152300000'), "firstname"=>"Vaughn", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54903b957735332152300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b957735332152300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b957735332152310000'), "firstname"=>"Eugene", "lastname"=>"Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b957735332152310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b957735332152310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54903b957735332152310000 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('54903b957735332152320000'), "firstname"=>"Domenica", "lastname"=>"Ryan"}] 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=>"administrators", :query=>{}} runtime: 0.2110ms 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('54903b957735332152330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms 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.1810ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152340000'), "firstname"=>"Ransom", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54903b957735332152340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152350000'), "firstname"=>"Walter", "lastname"=>"Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152360000'), "firstname"=>"Kara", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54903b957735332152360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903b957735332152370000'), "firstname"=>"Adell", "lastname"=>"Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54903b957735332152370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903b957735332152370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152380000'), "name"=>"Gregoria Rau DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152390000'), "name"=>"Ms. Cleve Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523a0000'), "name"=>"Edythe Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523b0000'), "name"=>"Thurman Crist DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523c0000'), "name"=>"Ladarius McLaughlin V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523d0000'), "name"=>"Kyra Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523e0000'), "name"=>"Rosa Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321523f0000'), "name"=>"Constantin Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321523f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152400000'), "name"=>"Dr. Arnulfo Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152410000'), "name"=>"Ms. Sherwood Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152420000'), "name"=>"Virginia Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152430000'), "name"=>"Sydni Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152440000'), "name"=>"Eileen Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152450000'), "name"=>"Larue Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152460000'), "name"=>"Ms. Lonny Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152470000'), "name"=>"Magali Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152480000'), "name"=>"Orval O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152490000'), "name"=>"Arlo Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524a0000'), "name"=>"Rosetta Brakus I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524b0000'), "name"=>"Nicola Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524c0000'), "name"=>"Nels Johnston PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524d0000'), "name"=>"Mr. Aimee Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524e0000'), "name"=>"Pearline Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321524f0000'), "name"=>"Ayla Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321524f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152500000'), "name"=>"Boyd Davis DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152510000'), "name"=>"Katlyn Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152520000'), "name"=>"Xzavier Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152530000'), "name"=>"Michael Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152540000'), "name"=>"Queenie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152550000'), "name"=>"Wilhelm Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152560000'), "name"=>"Mrs. Xzavier Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152570000'), "name"=>"Dr. Eleonore King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152580000'), "name"=>"Ms. Cortney Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152590000'), "name"=>"Doyle Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525a0000'), "name"=>"Dr. Nick Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525b0000'), "name"=>"Magnus Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525c0000'), "name"=>"Jayme Vandervort II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525d0000'), "name"=>"Glenna Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525e0000'), "name"=>"Carmella Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321525f0000'), "name"=>"Dena Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321525f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152600000'), "name"=>"Thaddeus Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152610000'), "name"=>"Kelton Reynolds Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152620000'), "name"=>"Austen Runolfsdottir MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152630000'), "name"=>"Eleanore Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152640000'), "name"=>"Antoinette Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152650000'), "name"=>"Miss Damon Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152660000'), "name"=>"Cecelia Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152670000'), "name"=>"Miss Golden Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152680000'), "name"=>"Ardith Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152690000'), "name"=>"Monroe Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526a0000'), "name"=>"Earnest Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526b0000'), "name"=>"Ms. Kadin Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526c0000'), "name"=>"Presley Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526d0000'), "name"=>"Dr. Alexys Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526e0000'), "name"=>"Zola Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321526f0000'), "name"=>"Amaya Rosenbaum Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321526f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152700000'), "name"=>"Braxton Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152710000'), "name"=>"Josianne Kuvalis I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152720000'), "name"=>"Dr. Tianna Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152730000'), "name"=>"Ms. Ena Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152740000'), "name"=>"Raegan Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152750000'), "name"=>"Barney Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152760000'), "name"=>"Ms. Rhoda Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152770000'), "name"=>"Blair Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152780000'), "name"=>"Bridgette Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152790000'), "name"=>"Miss Thad Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527a0000'), "name"=>"Dortha Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527b0000'), "name"=>"Janae Goyette DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527c0000'), "name"=>"Sheila Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527d0000'), "name"=>"Bernadine Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527e0000'), "name"=>"Mrs. Rusty Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9577353321527f0000'), "name"=>"Hoyt Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9577353321527f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152800000'), "name"=>"Aisha Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152810000'), "name"=>"Adam Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b957735332152820000'), "name"=>"Bettye Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b957735332152820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152830000'), "name"=>"June Yundt MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152840000'), "name"=>"Wendy Swaniawski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152850000'), "name"=>"Austyn Rath DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152860000'), "name"=>"Raymundo Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152870000'), "name"=>"Urban Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152880000'), "name"=>"Jason Leannon DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152890000'), "name"=>"Clifford Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528a0000'), "name"=>"Miss Sarina Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321528a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528b0000'), "name"=>"Leo Hirthe DDS"}] 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={"category_id"=>BSON::ObjectId('54903b9677353321528b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528c0000'), "name"=>"Dr. Josh Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321528c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528d0000'), "name"=>"Margaretta Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321528d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528e0000'), "name"=>"Daisha Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321528e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321528f0000'), "name"=>"Thaddeus Hane IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321528f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152900000'), "name"=>"Daron Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152910000'), "name"=>"Bailee Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152920000'), "name"=>"Aniyah Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152930000'), "name"=>"Walter Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152940000'), "name"=>"Jacquelyn Treutel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152950000'), "name"=>"Brandi Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152960000'), "name"=>"Nels Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152970000'), "name"=>"Dimitri Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2158ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms Redirected to http://test.host/categories/54903b967735332152980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2488ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152990000'), "name"=>"Alexie Torphy"}] 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={"category_id"=>BSON::ObjectId('54903b967735332152990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2291ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54903b967735332152990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b967735332152990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b967735332152990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2357ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321529a0000'), "name"=>"Lane Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54903b9677353321529a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b9677353321529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.6ms) Completed 200 OK in 10ms (Views: 9.1ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321529b0000'), "name"=>"Lenny Huel"}] 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={"category_id"=>BSON::ObjectId('54903b9677353321529b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306519876739] runtime: 0.0870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3020ms Completed 200 OK in 16ms (Views: 15.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321529c0000'), "name"=>"Camylle Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307005185111] runtime: 0.0738ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2685ms Completed 200 OK in 9ms (Views: 8.3ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321529d0000'), "name"=>"Conner Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 9ms (Views: 8.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b9677353321529f0000'), "name"=>"Robbie Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.5165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54903b9677353321529f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b9677353321529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b9677353321529f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903b967735332152a00000'), "name"=>"Yadira Hettinger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903b967735332152a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54903b967735332152a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b967735332152a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903b967735332152a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('54903b967735332152a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms Redirected to http://test.host/categories/54903b967735332152a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152a10000'), "name"=>"Ashlee Jacobi", "reference"=>"Rosalyn Simonis", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152a20000'), "author_name"=>"Denis Swaniawski", "content"=>["Quasi non in reiciendis. Porro velit pariatur nobis eaque occaecati qui. Libero incidunt doloremque vitae dolore fugiat. Qui totam iusto rem et sit eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b967735332152a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4243ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b967735332152a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms Redirected to http://test.host/products/54903b967735332152a10000/comments/54903b967735332152a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4482ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152a40000'), "name"=>"Fausto Koss", "reference"=>"Wilhelmine Thiel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152a50000'), "author_name"=>"Ava Trantow", "content"=>["Ut earum voluptatum quod error. Ea impedit hic deserunt. Qui enim ipsam qui cumque. Voluptate et ea numquam cumque tenetur. Cumque optio alias facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54903b967735332152a40000", "id"=>"54903b967735332152a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4606ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903b967735332152a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms Redirected to http://test.host/products/54903b967735332152a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3723ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152a60000'), "name"=>"Pink Dare", "reference"=>"Rowan Gutmann", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152a70000'), "author_name"=>"Margot Armstrong", "content"=>["Vero aut minus quidem voluptatem deserunt eum dolores. Vero nostrum qui. Id sapiente et hic. Quo non esse placeat at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5577ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54903b967735332152a60000", "id"=>"54903b967735332152a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5002ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 14ms (Views: 10.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152a80000'), "name"=>"Hipolito Kuhic", "reference"=>"Ilene Lebsack Jr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152a90000'), "author_name"=>"Randall Quitzon", "content"=>["Repudiandae temporibus et unde. Laudantium incidunt id impedit consequatur corrupti repudiandae reiciendis. Ratione vel magni aspernatur consequatur quidem facilis. Officiis modi autem quia nostrum fugit. Dolorem aliquid eligendi suscipit pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6449ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54903b967735332152a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4772ms Completed 200 OK in 8ms (Views: 4.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152aa0000'), "name"=>"Furman Gibson I", "reference"=>"Christina Howell", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152ab0000'), "author_name"=>"Ted Hills PhD", "content"=>["Illo ipsum voluptate. Blanditiis ex quia fugit officia unde modi qui. Est rem iure natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5873ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54903b967735332152aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4486ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152ac0000'), "name"=>"Ms. Waino Toy", "reference"=>"Corrine Abernathy V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152ad0000'), "author_name"=>"Bertha Lesch", "content"=>["Praesentium perspiciatis repellendus sed et odio et. Sed sunt aliquid ut. Ut maxime ipsa."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54903b967735332152ac0000", "id"=>"54903b967735332152ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152ae0000'), "name"=>"Ulises Miller", "reference"=>"Scarlett Bogan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152af0000'), "author_name"=>"Simone Berge", "content"=>["Rem vitae incidunt aut explicabo. Placeat in perferendis voluptas qui. Odit ab rerum nihil excepturi vitae. Vel facere voluptates qui aliquam dolores ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54903b967735332152ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54903b967735332152b00000'), "name"=>"Dr. Domenica Will", "reference"=>"Jena King V", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152b10000'), "author_name"=>"Ms. Rosemary Mohr", "content"=>["Animi iusto quod repellat repudiandae tempora quidem. Illum a dolor natus. Molestiae libero at fuga tenetur commodi. Et eius fuga ullam ducimus recusandae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5276ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54903b967735332152b00000", "id"=>"54903b967735332152b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152b20000'), "name"=>"Ryann Kris", "reference"=>"Margarita McCullough", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903b967735332152b30000'), "author_name"=>"Lela Turcotte", "content"=>["Odit explicabo et incidunt quisquam consequatur sed ab. Dolores earum est iusto. Porro qui aut non voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b967735332152b30000", "product_id"=>"54903b967735332152b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152b20000'), "comments._id"=>BSON::ObjectId('54903b967735332152b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms Redirected to http://test.host/products/54903b967735332152b20000/comments/54903b967735332152b30000 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('54903b967735332152b40000'), "firstname"=>"Crystal", "lastname"=>"Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2946ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Redirected to http://test.host/admin/clients/54903b967735332152b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2753ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152b60000'), "firstname"=>"Cristobal", "lastname"=>"Batz"}] 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=>"clients", :query=>{}} runtime: 0.2875ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b967735332152b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms 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.2188ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152b70000'), "firstname"=>"Raleigh", "lastname"=>"Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b967735332152b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54903b967735332152b80000'), "firstname"=>"Mireille", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms Processing by Iord::GenericController#index as HTML MOPED: 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.4ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152b90000'), "firstname"=>"Jamir", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54903b967735332152ba0000'), "firstname"=>"Axel", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b967735332152ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms 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('54903b967735332152bb0000'), "firstname"=>"Monserrat", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903b967735332152bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms Redirected to http://test.host/admin/clients/54903b967735332152bb0000 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('54903b967735332152bc0000'), "firstname"=>"Lydia", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7564ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2832ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms Redirected to http://test.host/clients/54903b967735332152bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1993ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152be0000'), "firstname"=>"Leopold", "lastname"=>"Waelchi"}] 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.1797ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903b967735332152be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152be0000')} 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('54903b967735332152be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms 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.1870ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903b967735332152bf0000'), "firstname"=>"Felicita", "lastname"=>"Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903b967735332152bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54903b967735332152c00000'), "firstname"=>"Carlee", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms 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('54903b967735332152c10000'), "firstname"=>"Norval", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54903b967735332152c20000'), "firstname"=>"Danika", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903b967735332152c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms 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('54903b967735332152c30000'), "firstname"=>"Darron", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903b967735332152c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903b967735332152c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Redirected to http://test.host/clients/54903b967735332152c30000 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('54903b967735332152c40000'), "name"=>"Antonette Bartoletti", "reference"=>"Winston Eichmann", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54903b967735332152c50000'), "firstname"=>"Mathias", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903b967735332152c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903b967735332152c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Redirected to http://test.host/products/54903b967735332152c40000/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('54903b967735332152c70000'), "name"=>"Jaren Schamberger", "reference"=>"Arvilla Ernser", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903b967735332152c80000'), "firstname"=>"Halle", "lastname"=>"Wiza"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54903b967735332152c80000", "product_id"=>"54903b967735332152c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5174ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.1ms) Completed 200 OK in 17ms (Views: 13.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152c90000'), "name"=>"Aylin Bins IV", "reference"=>"Green Rodriguez", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903b967735332152ca0000'), "firstname"=>"Johathan", "lastname"=>"Osinski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6853ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54903b967735332152c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4533ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 10ms (Views: 7.4ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152cb0000'), "name"=>"Lavinia Bogisich", "reference"=>"Sandrine Pouros Jr.", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54903b967735332152cc0000'), "firstname"=>"Lisandro", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5493ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54903b967735332152cc0000", "product_id"=>"54903b967735332152cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4296ms Completed 200 OK in 8ms (Views: 4.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152cd0000'), "name"=>"Buster Schmeler", "reference"=>"Gail Balistreri", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54903b967735332152ce0000'), "firstname"=>"Bernice", "lastname"=>"Altenwerth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54903b967735332152ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903b967735332152cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms Unpermitted parameters: name Redirected to http://test.host/products/54903b967735332152cd0000/manager Completed 302 Found in 4ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152cf0000'), "name"=>"Marianna Marks", "reference"=>"Jaydon Barton", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d00000'), "name"=>"Emerald Carroll DVM", "reference"=>"Braeden Lueilwitz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d10000'), "name"=>"Alessandra Conn", "reference"=>"Garrett Altenwerth", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d20000'), "name"=>"Deanna Huel", "reference"=>"Maurice Pagac", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d30000'), "name"=>"Cole Kozey DVM", "reference"=>"Jazmyne O'Keefe", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d40000'), "name"=>"Gilberto Waelchi", "reference"=>"Yessenia McGlynn", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.2394ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms Redirected to http://test.host/products/54903b967735332152d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3067ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d60000'), "name"=>"Ila Runte", "reference"=>"Shirley Douglas", "quantity"=>3}] 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=>"products", :query=>{}} runtime: 0.2119ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54903b967735332152d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152d60000')} 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('54903b967735332152d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 65.5587ms Redirected to http://test.host/products Completed 302 Found in 68ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3310ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d70000'), "name"=>"Malvina Strosin", "reference"=>"Kavon Bergnaum I", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54903b967735332152d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b967735332152d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 11ms (Views: 9.8ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d80000'), "name"=>"Miss Cleveland Maggio", "reference"=>"Caterina Weimann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280628364836] runtime: 0.1110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2965ms Completed 200 OK in 20ms (Views: 19.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152d90000'), "name"=>"Dewayne Corwin", "reference"=>"Lucy Kautzer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152da0000'), "name"=>"HelloWorld", "reference"=>"Ryan Zemlak", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152db0000'), "name"=>"value", "reference"=>"Arely Champlin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4146ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2870ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3003ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2386ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3051ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2205ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b967735332152dc0000'), "name"=>"Michel Windler", "reference"=>"Douglas Pacocha", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280835541989] runtime: 0.0917ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2818ms Completed 200 OK in 17ms (Views: 16.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279443972825] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921669346] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088454631] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192859059] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928757772] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671125025] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262221682] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403116918] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.2563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279356000750] runtime: 0.1085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118985444] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649513055] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492330906] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279547796121] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344253204] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280510040397] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279895262910] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245380948] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408066915] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280879274748] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126266306] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548465009] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635068094] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279930445641] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161899172] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079332693] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280411352671] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651214331] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280757334368] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579050022] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280929727829] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750672333] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245386002] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911352836] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186149132] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280764946127] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089863904] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128265819] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280986141862] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279612322949] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015864837] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153359651] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366748095] runtime: 0.0784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876453655] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137616453] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126014539] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401499846] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186013778] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279235676543] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279768893333] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279882365343] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379314012] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211294747] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279540389352] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052402634] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279376288883] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716709747] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176103310] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280208166315] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279990497834] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280325332441] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262664296] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281003023229] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283681879] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280485944289] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858946839] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280656780502] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660759401] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279313585998] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933160064] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711356775] runtime: 0.0645ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213748579] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280941622398] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768111111] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280790665435] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040069096] runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280203729636] runtime: 0.0821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087282199] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7407ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280156946252] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120710887] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280146915898] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279352074006] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407025360] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436628241] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248613155] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264592458] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279845295955] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279278652051] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704324046] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279368310071] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281295355359] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322753550] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270575082] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355453657] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902509900] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280586152615] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280984033477] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112254224] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279334049688] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280334822878] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080817539] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648495593] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281236507416] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280001623739] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281191893995] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281083037297] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279424391961] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478101011] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911071021] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281113878381] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280992442129] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279357196144] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730587031] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279836458218] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279559724005] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276099955] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858951837] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863372615] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279264287689] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280173262485] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095473442] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280345582711] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874972561] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574684705] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031432018] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280353319652] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669783069] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850643767] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281311227764] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841382772] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402874494] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280493816874] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975308166] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281158822558] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280284845963] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279920290117] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983598487] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260672729] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118001735] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281083035785] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279901754166] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838872117] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280455395644] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279509001907] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486047591] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253860192] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280157118111] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947333639] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279384653327] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280954333251] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208009023] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435698521] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280311450424] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280761262064] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280844288255] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204474934] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646074297] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.7662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281045907951] runtime: 0.0980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401567452] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279673206494] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042057770] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281285467389] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281268838632] runtime: 0.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279391440173] runtime: 0.0441ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152dd0000'), "name"=>"Alexandrine Marks III", "reference"=>"Kavon Towne", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2694ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152de0000'), "name"=>"Irving Zieme", "reference"=>"Cecil Little", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432124743] runtime: 0.0810ms Completed 200 OK in 5ms (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('54903b977735332152df0000'), "name"=>"Tomasa Rolfson", "reference"=>"Ms. Kayley Terry", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54903b977735332152df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms 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('54903b977735332152e00000'), "name"=>"Haleigh Kirlin", "reference"=>"Christ Mosciski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e20000'), "name"=>"Emery Mills", "reference"=>"Scottie Hermiston", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54903b977735332152e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e30000'), "name"=>"Zetta Pagac", "reference"=>"Dulce Borer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b957735332152060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms Redirected to Completed 500 Internal Server Error in 4ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e40000'), "name"=>"Rosamond Jacobson", "reference"=>"Chanelle Heaney", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2752ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e50000'), "name"=>"Darrel Jones", "reference"=>"Hal Waters", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2772ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e60000'), "name"=>"Cassidy Gleichner", "reference"=>"Eudora Wyman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2057ms 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('54903b977735332152e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152e80000'), "name"=>"Obie Collier", "reference"=>"Meghan Lindgren", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54903b977735332152e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms 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('54903b977735332152e90000'), "name"=>"Shania Gislason", "reference"=>"Prince Reinger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms 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('54903b977735332152eb0000'), "name"=>"Mr. Elmo Hyatt", "reference"=>"Ashleigh Little", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5987ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b977735332152eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.6164ms Completed 202 Accepted in 21ms (Views: 0.2ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152ec0000'), "name"=>"Deion Bernhard", "reference"=>"Maida Zemlak", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903b977735332152ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ec0000')} 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('54903b977735332152ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms Redirected to http://test.host/products/54903b977735332152ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152ef0000'), "name"=>"Mrs. Zackery Turner", "reference"=>"Bethel Corkery", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152ed0000'), "author_name"=>"Mrs. Rosalyn Strosin", "content"=>["Necessitatibus explicabo sint rem incidunt voluptates. Adipisci mollitia libero sed est sit quibusdam ipsam. Vero pariatur doloribus assumenda aut tempore et enim."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152ee0000'), "author_name"=>"Jeffrey Hodkiewicz II", "content"=>["Numquam iste dolor aut porro ratione quae. Laborum aut quam culpa ullam odit ut a. Dolor reprehenderit quo neque aut quod. Autem sapiente rerum voluptatem quam consequatur modi. Laudantium aut consequatur soluta dolorem quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3121ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903b977735332152ef0000", "comment_id"=>"54903b977735332152ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3853ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ef0000'), "comments._id"=>BSON::ObjectId('54903b977735332152ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b977735332152f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6413ms Redirected to http://test.host/products/54903b977735332152ef0000/comments/54903b977735332152ed0000/comments/54903b977735332152f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152f30000'), "name"=>"Khalid Leannon", "reference"=>"Michelle Mosciski", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f10000'), "author_name"=>"Jaime Daniel", "content"=>["Vero aut dolore et magnam impedit aut. Odit eos consequatur facilis commodi minus quisquam enim. Soluta quia at iure eos omnis dolorem iusto."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f20000'), "author_name"=>"Pamela Gusikowski DDS", "content"=>["Consequatur eum aut voluptas rerum. Consequatur qui quisquam. Explicabo animi illum et sequi vitae quos ut. Suscipit nemo ipsam necessitatibus distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54903b977735332152f30000", "comment_id"=>"54903b977735332152f10000", "id"=>"54903b977735332152f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f30000'), "comments._id"=>BSON::ObjectId('54903b977735332152f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903b977735332152f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5895ms Redirected to http://test.host/products/54903b977735332152f30000/comments/54903b977735332152f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152f60000'), "name"=>"Moshe Kiehn", "reference"=>"Rashawn Bednar", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f40000'), "author_name"=>"Madelynn Denesik", "content"=>["Dolorem repellat ipsam sequi dolores consectetur quos. Aut corrupti suscipit repudiandae. Rerum laudantium recusandae aut."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f50000'), "author_name"=>"Giovani Bartell", "content"=>["Dolores distinctio hic dolorum repellat maxime. Reiciendis quo sit amet. Voluptas facilis ullam ratione dolorem et qui. Nobis ut voluptas rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54903b977735332152f60000", "comment_id"=>"54903b977735332152f40000", "id"=>"54903b977735332152f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152f90000'), "name"=>"Bernadette Dibbert", "reference"=>"Jayda D'Amore", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f70000'), "author_name"=>"Ardith Leffler", "content"=>["Ab ut iure voluptatum a dolore est ad. Numquam et minus quos quia est sed repudiandae. Sit ut illum."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152f80000'), "author_name"=>"Cali Sawayn", "content"=>["Asperiores mollitia est voluptatem saepe voluptate sint. Quos magnam aut neque impedit dolor. Dolorem ad consequatur labore occaecati. Temporibus culpa cumque aut officia repudiandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5864ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54903b977735332152f90000", "comment_id"=>"54903b977735332152f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152fc0000'), "name"=>"Dennis Christiansen", "reference"=>"Aliyah MacGyver", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152fa0000'), "author_name"=>"Mrs. Kailee Gusikowski", "content"=>["A commodi et incidunt vel sit. Maiores nesciunt blanditiis. Similique neque cum consectetur. Mollitia voluptatum a aut nulla. Dolor distinctio quidem sunt blanditiis sint exercitationem eos."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152fb0000'), "author_name"=>"Meaghan Jenkins", "content"=>["Accusantium in fuga aut magnam. Autem commodi blanditiis harum sed repellendus. Autem vel eum odit expedita ab quidem. Rerum saepe impedit. Amet ut voluptas distinctio esse tempore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54903b977735332152fc0000", "comment_id"=>"54903b977735332152fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152ff0000'), "name"=>"Vesta Crooks", "reference"=>"Laurine Moore", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152fd0000'), "author_name"=>"Miss Dusty Rowe", "content"=>["Doloribus porro quidem sed et labore quos assumenda. Incidunt vitae ea animi cupiditate est numquam commodi. Qui harum delectus quia quos."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152fe0000'), "author_name"=>"Fredrick Jacobson", "content"=>["Autem quae nisi et ut quos et. Et aut quo nemo. Quasi voluptas id itaque. Quae aut ipsa nemo et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5446ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54903b977735332152ff0000", "comment_id"=>"54903b977735332152fd0000", "id"=>"54903b977735332152fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5436ms Completed 200 OK in 7ms (Views: 0.4ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152020100'), "name"=>"Elsie Larkin", "reference"=>"Eduardo Labadie", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152000100'), "author_name"=>"Mr. Dave Maggio", "content"=>["Ut omnis non sint. Nam eos laborum. Aut ea enim nam. Voluptates et sequi odit quia."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152010100'), "author_name"=>"Filiberto Prohaska", "content"=>["Velit porro sit quasi. In vitae repudiandae aliquam vel. Omnis sed et. Ut quo voluptatum quidem dicta magnam excepturi. Eum libero autem molestias rerum maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6356ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54903b977735332152020100", "comment_id"=>"54903b977735332152000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5001ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 7.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152050100'), "name"=>"Xavier Roberts", "reference"=>"Meda Legros III", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152030100'), "author_name"=>"Melvina Bahringer Sr.", "content"=>["Quod id laboriosam optio omnis minus neque. Sed expedita eius ab commodi et facilis. Expedita nisi quisquam in inventore ut."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152040100'), "author_name"=>"Ramiro Ziemann", "content"=>["Officiis architecto omnis. Labore harum laboriosam explicabo qui omnis officia quia. Aut dolores et. Illo commodi dolor. Vitae dolores quam aut quasi ducimus aspernatur eaque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6535ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54903b977735332152050100", "comment_id"=>"54903b977735332152030100", "id"=>"54903b977735332152040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4468ms Completed 200 OK in 9ms (Views: 4.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903b977735332152080100'), "name"=>"Melyna Spencer", "reference"=>"Hans Heathcote", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152060100'), "author_name"=>"Phoebe Schmitt", "content"=>["Eligendi corrupti quidem architecto. Molestiae voluptatem dolore pariatur iusto aut cum. Sint consequatur animi velit. Voluptatem exercitationem natus laudantium ut iusto non."], "comments"=>[{"_id"=>BSON::ObjectId('54903b977735332152070100'), "author_name"=>"Bernadette Johnson", "content"=>["Eligendi eum laborum magnam enim. Saepe qui maiores in. Maxime est sint veritatis laborum quos voluptatem. Inventore dolorum est ullam repudiandae ut eius facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6005ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903b977735332152070100", "product_id"=>"54903b977735332152080100", "comment_id"=>"54903b977735332152060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4129ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903b977735332152080100'), "comments._id"=>BSON::ObjectId('54903b977735332152060100'), "comments.0.comments._id"=>BSON::ObjectId('54903b977735332152070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms Redirected to http://test.host/products/54903b977735332152080100/comments/54903b977735332152060100/comments/54903b977735332152070100 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('54903b977735332152090100'), "firstname"=>"Wava", "lastname"=>"Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2609ms 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('54903b9777353321520a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms Redirected to http://test.host/users/54903b9777353321520a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2698ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9777353321520b0100'), "firstname"=>"Adeline", "lastname"=>"Schuster"}] 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.2251ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54903b9777353321520b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9777353321520b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9777353321520b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms 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.2127ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9777353321520c0100'), "firstname"=>"Trinity", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54903b9777353321520c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9777353321520c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54903b9777353321520d0100'), "firstname"=>"Blanca", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5605ms 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.4182ms 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('54903b9777353321520e0100'), "firstname"=>"Shaniya", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 6.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903b9777353321520f0100'), "firstname"=>"Axel", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms Processing by UsersController#show as HTML Parameters: {"id"=>"54903b9777353321520f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b9777353321520f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms 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('54903b977735332152100100'), "firstname"=>"Carolyne", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903b977735332152100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903b977735332152100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Unpermitted parameters: name Redirected to http://test.host/users/54903b977735332152100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms 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.3474ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms 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 MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms 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.2764ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf87735332195000000'), "firstname"=>"Narciso", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5635ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2968ms 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('54903bf87735332195010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6047ms 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.3393ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf87735332195020000'), "firstname"=>"Carolina", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54903bf87735332195020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf87735332195020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4074ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf87735332195030000'), "firstname"=>"Tyra", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf87735332195040000'), "firstname"=>"Cristina", "lastname"=>"Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54903bf87735332195040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf87735332195040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf87735332195050000'), "firstname"=>"Lucienne", "lastname"=>"Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54903bf87735332195050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf87735332195050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms 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('54903bf87735332195060000'), "name"=>"Dolly Hartmann", "reference"=>"Serenity Bins Sr.", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903bf87735332195070000'), "author_name"=>"Alysson Leuschke", "content"=>["Optio ut est. Perspiciatis doloremque quae. Accusamus ut quia dolorum quam quasi ut minus. Dicta sed autem esse. Vero placeat ut natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903bf87735332195060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903bf87735332195080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms Redirected to http://test.host/admin/products/54903bf87735332195060000/comments/54903bf87735332195080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf87735332195090000'), "name"=>"Michel Koch", "reference"=>"Sister Heathcote", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903bf877353321950a0000'), "author_name"=>"Mrs. Natalie Hartmann", "content"=>["Ex velit doloribus natus doloremque et quos. Et nisi et vel qui omnis aut consectetur. Quia ut exercitationem. Laborum voluptatem pariatur optio similique possimus. Omnis quia sequi aliquid ducimus ratione molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54903bf87735332195090000", "id"=>"54903bf877353321950a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903bf877353321950a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Redirected to http://test.host/admin/products/54903bf87735332195090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321950b0000'), "name"=>"Vivian Marks", "reference"=>"Joey West", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903bf877353321950c0000'), "author_name"=>"Jamey Klein", "content"=>["Nostrum itaque quibusdam voluptas illo omnis. Libero quod cumque pariatur aliquam. Impedit perferendis accusantium sunt dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54903bf877353321950b0000", "id"=>"54903bf877353321950c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321950b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321950d0000'), "name"=>"Devan Ritchie PhD", "reference"=>"Josue Tillman", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903bf877353321950e0000'), "author_name"=>"Braden Herzog", "content"=>["Architecto ut ullam et est numquam sunt ducimus. Nemo nam necessitatibus et optio ab dolores. Voluptatem pariatur soluta at. Consequatur architecto consequatur autem. Molestias voluptate veritatis velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54903bf877353321950d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321950d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321950f0000'), "name"=>"Paul Gleichner DVM", "reference"=>"Ressie Hahn", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903bf87735332195100000'), "author_name"=>"Betsy O'Keefe", "content"=>["Molestiae labore sunt excepturi corporis iusto distinctio provident. Veritatis nisi voluptatem ut et placeat quos. Omnis et quo rerum. Praesentium officiis neque velit ex repudiandae quod. Pariatur id molestias consequatur sit reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54903bf877353321950f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321950f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf87735332195110000'), "name"=>"Damion Yundt", "reference"=>"Jocelyn Stehr", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903bf87735332195120000'), "author_name"=>"Miss Fredy Waters", "content"=>["Deleniti sapiente qui error numquam consequatur ab. Similique consequatur expedita repellat nisi et modi. Voluptas cumque illum qui consequuntur incidunt architecto. Occaecati earum qui nobis corporis odit qui blanditiis. Ut doloribus odio sapiente ipsam quod nihil ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54903bf87735332195110000", "id"=>"54903bf87735332195120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf87735332195130000'), "name"=>"Laverna Schuppe I", "reference"=>"Chet Rohan V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bf87735332195140000'), "author_name"=>"Norval Gutkowski DVM", "content"=>["Adipisci aspernatur rem ipsam inventore consectetur. Corrupti repellat ipsam. Ad quo itaque excepturi laborum debitis voluptate et. Cumque aut quasi dolorum vitae ut eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903bf87735332195140000", "product_id"=>"54903bf87735332195130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195130000')} 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('54903bf87735332195130000'), "comments._id"=>BSON::ObjectId('54903bf87735332195140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms Redirected to http://test.host/admin/products/54903bf87735332195130000/comments/54903bf87735332195140000 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('54903bf87735332195150000'), "name"=>"Major Russel III", "reference"=>"Devonte Schmidt", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903bf87735332195160000'), "firstname"=>"Nella", "lastname"=>"Herzog"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6170ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903bf87735332195150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3782ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903bf87735332195170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Redirected to http://test.host/admin/products/54903bf87735332195150000/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('54903bf87735332195180000'), "name"=>"Filomena Rodriguez", "reference"=>"Chadd Marquardt", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54903bf87735332195190000'), "firstname"=>"Brionna", "lastname"=>"Bradtke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54903bf87735332195190000", "product_id"=>"54903bf87735332195180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321951a0000'), "name"=>"Natalia Reilly", "reference"=>"Reva Cremin", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903bf877353321951b0000'), "firstname"=>"Barry", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54903bf877353321951a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321951a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321951c0000'), "name"=>"Augusta Ratke Jr.", "reference"=>"Brooklyn Reichel III", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903bf877353321951d0000'), "firstname"=>"Weston", "lastname"=>"Kunde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54903bf877353321951d0000", "product_id"=>"54903bf877353321951c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321951c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf877353321951e0000'), "name"=>"Ms. Leora Bins", "reference"=>"Lenna Macejkovic", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903bf877353321951f0000'), "firstname"=>"Leopold", "lastname"=>"Shanahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54903bf877353321951f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903bf877353321951e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf877353321951e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54903bf877353321951e0000/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('54903bf97735332195200000'), "name"=>"Myrtie Quigley", "reference"=>"Mr. Brant Barrows", "quantity"=>2}] 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.1832ms 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('54903bf97735332195210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms Redirected to http://test.host/admin/products/54903bf97735332195210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1661ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195220000'), "name"=>"Osbaldo Cassin", "reference"=>"Dr. Jailyn MacGyver", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1524ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54903bf97735332195220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms 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.2074ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195230000'), "name"=>"Layla Corkery I", "reference"=>"Laney Volkman I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9258ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54903bf97735332195230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.7ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195240000'), "name"=>"Juana Williamson MD", "reference"=>"Mossie West", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms 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.4837ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195250000'), "name"=>"Elinor Schroeder", "reference"=>"Cleveland Robel", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('54903bf97735332195280000'), "name"=>"Tristian Price", "reference"=>"Odessa Rodriguez", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54903bf97735332195280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms 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('54903bf97735332195290000'), "name"=>"Frankie Hagenes", "reference"=>"Edwin Upton", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903bf97735332195290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms Redirected to http://test.host/admin/products/54903bf97735332195290000 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('54903bf977353321952a0000'), "firstname"=>"Paula", "lastname"=>"Kovacek"}] 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=>"admin_users", :query=>{}} runtime: 0.1529ms 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('54903bf977353321952b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms Redirected to http://test.host/admin/users/54903bf977353321952b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1476ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bf977353321952c0000'), "firstname"=>"Virgie", "lastname"=>"Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1230ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54903bf977353321952c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bf977353321952c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bf977353321952c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms 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.1362ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bf977353321952d0000'), "firstname"=>"Tyrell", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1890ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54903bf977353321952d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bf977353321952d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bf977353321952e0000'), "firstname"=>"Berenice", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms 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.2574ms 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('54903bf977353321952f0000'), "firstname"=>"May", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54903bf97735332195300000'), "firstname"=>"Haley", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54903bf97735332195300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bf97735332195300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bf97735332195310000'), "firstname"=>"Aidan", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4183ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903bf97735332195310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bf97735332195310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54903bf97735332195310000 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('54903bf97735332195320000'), "firstname"=>"Floyd", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6073ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2750ms 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('54903bf97735332195330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms 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.2402ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf97735332195340000'), "firstname"=>"Anastacio", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54903bf97735332195340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf97735332195340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf97735332195350000'), "firstname"=>"Mia", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf97735332195360000'), "firstname"=>"Sean", "lastname"=>"Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54903bf97735332195360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf97735332195360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903bf97735332195370000'), "firstname"=>"Elian", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54903bf97735332195370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903bf97735332195370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195380000'), "name"=>"Stuart Leuschke III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195390000'), "name"=>"Meta Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953a0000'), "name"=>"Eunice Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953b0000'), "name"=>"Dr. Freida Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953c0000'), "name"=>"Elyse Klein DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953d0000'), "name"=>"Dr. Aubrey Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953e0000'), "name"=>"Ms. Korbin McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321953f0000'), "name"=>"Tierra Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321953f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195400000'), "name"=>"Paula Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195410000'), "name"=>"Briana Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195420000'), "name"=>"Felipa Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195430000'), "name"=>"Kelley Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195440000'), "name"=>"Milford Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195450000'), "name"=>"Dr. Kobe Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195460000'), "name"=>"Quentin Stiedemann DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195470000'), "name"=>"Robyn Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195480000'), "name"=>"Earnestine Gulgowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195490000'), "name"=>"Katrine Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954a0000'), "name"=>"August Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954b0000'), "name"=>"Patricia Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954c0000'), "name"=>"Charity Wuckert Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954d0000'), "name"=>"Lauren Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954e0000'), "name"=>"Ellie Feeney I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321954f0000'), "name"=>"Mariela Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321954f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195500000'), "name"=>"Hobart Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195510000'), "name"=>"Wyman Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195520000'), "name"=>"Clemmie Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195530000'), "name"=>"Selena Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195540000'), "name"=>"Jamar Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195550000'), "name"=>"Jazmyne Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195560000'), "name"=>"Stephan Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195570000'), "name"=>"Tevin Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195580000'), "name"=>"Lysanne Glover III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195590000'), "name"=>"Eden Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955a0000'), "name"=>"Gaylord Larson PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955b0000'), "name"=>"Onie Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955c0000'), "name"=>"Yvonne Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955d0000'), "name"=>"Clark Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955e0000'), "name"=>"Arthur Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321955f0000'), "name"=>"Jeramie Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321955f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195600000'), "name"=>"Palma Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195610000'), "name"=>"Salvador Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195620000'), "name"=>"Bernie Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195630000'), "name"=>"Russell Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195640000'), "name"=>"Nolan Walter DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195650000'), "name"=>"Van Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195660000'), "name"=>"Vida Schuster MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195670000'), "name"=>"Miss Danny Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195680000'), "name"=>"Dariana Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195690000'), "name"=>"Fernando Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956a0000'), "name"=>"Camille Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956b0000'), "name"=>"Devon O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956c0000'), "name"=>"Abel Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956d0000'), "name"=>"Keyon Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956e0000'), "name"=>"Dr. Thora Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321956f0000'), "name"=>"Lewis Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321956f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195700000'), "name"=>"Nyasia Grimes MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195710000'), "name"=>"Roel Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195720000'), "name"=>"Carolyne Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195730000'), "name"=>"Elroy Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195740000'), "name"=>"Marcia Heathcote MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195750000'), "name"=>"Lukas Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195760000'), "name"=>"Mr. Armando Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195770000'), "name"=>"Lia Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195780000'), "name"=>"Dario Morar PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195790000'), "name"=>"Johanna Walker III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957a0000'), "name"=>"Ms. Vladimir Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957b0000'), "name"=>"Ed Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957c0000'), "name"=>"Ms. Aylin Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957d0000'), "name"=>"Dejon Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957e0000'), "name"=>"Mrs. Orville Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321957f0000'), "name"=>"Sister Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321957f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195800000'), "name"=>"Mrs. Mortimer Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195810000'), "name"=>"Nicolette Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195820000'), "name"=>"Mrs. Leola Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195830000'), "name"=>"Mrs. Carlos Mann"}] 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={"category_id"=>BSON::ObjectId('54903bf97735332195830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195840000'), "name"=>"Mohammad Dach I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195850000'), "name"=>"Margot Willms IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195860000'), "name"=>"Agustin Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195870000'), "name"=>"Earnestine Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195880000'), "name"=>"Elmore Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195890000'), "name"=>"Mr. Lizzie Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958a0000'), "name"=>"Sam Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958b0000'), "name"=>"Ressie Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958c0000'), "name"=>"Alice Schoen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958d0000'), "name"=>"Zelda Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958e0000'), "name"=>"Dee Kunze I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321958f0000'), "name"=>"Bernice O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321958f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195900000'), "name"=>"Amalia Sanford IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195910000'), "name"=>"Tianna Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195920000'), "name"=>"Baron Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195930000'), "name"=>"Rachael Roob III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195940000'), "name"=>"Ms. Troy Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195950000'), "name"=>"Vivienne Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195960000'), "name"=>"Camren Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195970000'), "name"=>"Angie Treutel Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2093ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms Redirected to http://test.host/categories/54903bf97735332195980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2617ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195990000'), "name"=>"Henry Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2302ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54903bf97735332195990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf97735332195990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf97735332195990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2421ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321959a0000'), "name"=>"Carmelo Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54903bf977353321959a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf977353321959a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.3ms) Completed 200 OK in 11ms (Views: 10.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321959b0000'), "name"=>"Miss Arlie Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306031367885] runtime: 0.0894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2947ms Completed 200 OK in 17ms (Views: 16.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321959c0000'), "name"=>"Savannah McLaughlin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305767524468] runtime: 0.0795ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2639ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321959d0000'), "name"=>"Alford Cronin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf977353321959f0000'), "name"=>"Mr. Quincy McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54903bf977353321959f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf977353321959f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf977353321959f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903bf97735332195a00000'), "name"=>"Kailey Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54903bf97735332195a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf97735332195a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903bf97735332195a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903bf97735332195a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Redirected to http://test.host/categories/54903bf97735332195a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195a10000'), "name"=>"Wayne Crist", "reference"=>"Wayne Ward", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195a20000'), "author_name"=>"Ezekiel Konopelski Jr.", "content"=>["Possimus aut aut dolorum commodi voluptatum voluptatem molestias. Id est dicta doloremque rerum. Exercitationem quis assumenda quas hic. Voluptas laborum unde eaque ex nulla quia doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903bf97735332195a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903bf97735332195a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms Redirected to http://test.host/products/54903bf97735332195a10000/comments/54903bf97735332195a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195a40000'), "name"=>"Ms. Fabiola Kessler", "reference"=>"Joel Bailey", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195a50000'), "author_name"=>"Ricardo Gleason", "content"=>["Omnis consequatur quia. Dolorum laudantium dolores nisi hic dolore. Id totam ad est quidem quos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54903bf97735332195a40000", "id"=>"54903bf97735332195a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903bf97735332195a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms Redirected to http://test.host/products/54903bf97735332195a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4836ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195a60000'), "name"=>"Clementina Huels", "reference"=>"Carolyn Bins DDS", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195a70000'), "author_name"=>"Aurelia O'Reilly", "content"=>["Aspernatur possimus quis debitis nisi cum velit. Nobis non nihil quo corporis. Omnis similique quo dolorum. Consequatur architecto illo expedita perferendis qui veritatis ut. Provident tenetur molestiae ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54903bf97735332195a60000", "id"=>"54903bf97735332195a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195a80000'), "name"=>"Iva Buckridge", "reference"=>"Nikita Schiller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195a90000'), "author_name"=>"Rylan Shields", "content"=>["Omnis quas ex soluta. Voluptatibus eum unde error non. Voluptatem quae reprehenderit expedita quos aut. Quibusdam est et ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5623ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54903bf97735332195a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195aa0000'), "name"=>"Miss Rex Kub", "reference"=>"Sheila Johnston", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195ab0000'), "author_name"=>"Jeanie Maggio", "content"=>["Similique voluptatem eius doloribus. Exercitationem consequatur vel ipsa odit repellendus et autem. Labore dolorem delectus porro quidem eius non animi. Tenetur illum officiis et cum maxime. Sit dolore exercitationem sed similique ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54903bf97735332195aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195ac0000'), "name"=>"Ceasar Jacobs", "reference"=>"Martin Rice", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195ad0000'), "author_name"=>"Mr. Holden Schiller", "content"=>["Dolor dolores voluptatum incidunt ipsam aut ducimus provident. Illo sint voluptates consectetur atque perferendis. Quaerat recusandae qui iusto sint rerum doloribus. Autem recusandae quo et eos et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54903bf97735332195ac0000", "id"=>"54903bf97735332195ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4238ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195ae0000'), "name"=>"Isabel Kuhlman", "reference"=>"Gina Funk", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195af0000'), "author_name"=>"Jarret Block", "content"=>["Voluptas quia nostrum vel consectetur at sit. Praesentium nemo dolor. Consequatur soluta quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54903bf97735332195ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195b00000'), "name"=>"Alexander Mertz V", "reference"=>"Mrs. Amanda Friesen", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195b10000'), "author_name"=>"Alfonso Yundt II", "content"=>["Voluptates dolores provident explicabo rerum tempora inventore. Quisquam possimus rem sit et illo facere. Debitis minima voluptas facilis quas excepturi quidem nostrum. Ullam ut ut voluptate est tempore officiis sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54903bf97735332195b00000", "id"=>"54903bf97735332195b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195b20000'), "name"=>"Mr. Abigayle Becker", "reference"=>"Caitlyn Fadel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bf97735332195b30000'), "author_name"=>"Norval Balistreri Sr.", "content"=>["Dolorum aut similique et. Qui maxime voluptatibus. Architecto est illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903bf97735332195b30000", "product_id"=>"54903bf97735332195b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195b20000'), "comments._id"=>BSON::ObjectId('54903bf97735332195b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6377ms Redirected to http://test.host/products/54903bf97735332195b20000/comments/54903bf97735332195b30000 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('54903bf97735332195b40000'), "firstname"=>"Annabell", "lastname"=>"Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5873ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2832ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms Redirected to http://test.host/admin/clients/54903bf97735332195b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2563ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195b60000'), "firstname"=>"Karson", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2289ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903bf97735332195b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms 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.2636ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195b70000'), "firstname"=>"Guy", "lastname"=>"Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903bf97735332195b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54903bf97735332195b80000'), "firstname"=>"Kendrick", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms 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('54903bf97735332195b90000'), "firstname"=>"Mathew", "lastname"=>"Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 40ms (Views: 39.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195ba0000'), "firstname"=>"Austin", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903bf97735332195ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3477ms 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('54903bf97735332195bb0000'), "firstname"=>"Ila", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903bf97735332195bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Redirected to http://test.host/admin/clients/54903bf97735332195bb0000 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('54903bf97735332195bc0000'), "firstname"=>"Hilda", "lastname"=>"Purdy"}] 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=>"clients", :query=>{}} runtime: 0.1937ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms Redirected to http://test.host/clients/54903bf97735332195bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2011ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195be0000'), "firstname"=>"Taylor", "lastname"=>"Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1766ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903bf97735332195be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms 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.1766ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903bf97735332195bf0000'), "firstname"=>"Ben", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903bf97735332195bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms Rendered /home/geoffroy/projects/crealettres/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('54903bf97735332195c00000'), "firstname"=>"Tess", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms 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('54903bf97735332195c10000'), "firstname"=>"Abel", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54903bf97735332195c20000'), "firstname"=>"Jimmie", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903bf97735332195c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms 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('54903bf97735332195c30000'), "firstname"=>"Khalil", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903bf97735332195c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903bf97735332195c30000')} 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('54903bf97735332195c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Redirected to http://test.host/clients/54903bf97735332195c30000 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('54903bf97735332195c40000'), "name"=>"Jamison Kling", "reference"=>"Deshawn Pacocha", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195c50000'), "firstname"=>"Santos", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903bf97735332195c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms Redirected to http://test.host/products/54903bf97735332195c40000/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('54903bf97735332195c70000'), "name"=>"Mathew Parker", "reference"=>"Maribel Hermann II", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195c80000'), "firstname"=>"Adelle", "lastname"=>"Breitenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54903bf97735332195c80000", "product_id"=>"54903bf97735332195c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195c90000'), "name"=>"Samanta Dare", "reference"=>"Jeffry Becker", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195ca0000'), "firstname"=>"Kendall", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54903bf97735332195c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195cb0000'), "name"=>"Genoveva Walsh", "reference"=>"Reilly Casper", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195cc0000'), "firstname"=>"Lucinda", "lastname"=>"Blick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3735ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54903bf97735332195cc0000", "product_id"=>"54903bf97735332195cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195cd0000'), "name"=>"Jaiden Goldner III", "reference"=>"Ms. Eda Legros", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54903bf97735332195ce0000'), "firstname"=>"Melyna", "lastname"=>"Zulauf"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54903bf97735332195ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903bf97735332195cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms Unpermitted parameters: name Redirected to http://test.host/products/54903bf97735332195cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195cf0000'), "name"=>"Molly Mueller", "reference"=>"Jazmin Ankunding", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d00000'), "name"=>"Queenie Schimmel V", "reference"=>"Unique Treutel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d10000'), "name"=>"Miss Bart Adams", "reference"=>"Nils Terry", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d20000'), "name"=>"Golden Borer", "reference"=>"Jacinthe Stamm", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d30000'), "name"=>"River Schultz", "reference"=>"Ed Rowe PhD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d40000'), "name"=>"Monty Wehner", "reference"=>"Jaiden Heaney", "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.2550ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms Redirected to http://test.host/products/54903bf97735332195d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2369ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bf97735332195d60000'), "name"=>"Terrence Weber", "reference"=>"Vaughn Bradtke", "quantity"=>2}] 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.2816ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54903bf97735332195d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4549ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf97735332195d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3373ms 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.3622ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195d70000'), "name"=>"William Beatty", "reference"=>"Elijah Jones", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54903bfa7735332195d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4851ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 12ms (Views: 10.3ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195d80000'), "name"=>"Martin Kassulke", "reference"=>"Laverne Lubowitz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6031ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280953606831] runtime: 0.1298ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3624ms Completed 200 OK in 27ms (Views: 26.0ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195d90000'), "name"=>"Jedediah Trantow", "reference"=>"Clotilde Bradtke Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195da0000'), "name"=>"HelloWorld", "reference"=>"Gerhard Reilly", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195db0000'), "name"=>"value", "reference"=>"Kaylee Graham", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3507ms Completed 200 OK in 7ms (Views: 6.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3141ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3176ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2537ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3664ms Completed 200 OK in 5ms (Views: 4.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3179ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2547ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195dc0000'), "name"=>"Ernesto Kautzer", "reference"=>"Melany Leannon II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217242531] runtime: 0.0984ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3266ms Completed 200 OK in 20ms (Views: 19.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280456434128] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9165ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096689564] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280420300] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280593956655] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524993912] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225712524] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281065041149] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280318570316] runtime: 0.0831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382761878] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281297716848] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502002333] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313747385] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590389108] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552625438] runtime: 0.0839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803689422] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280840265563] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012469542] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886479913] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280165980607] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280428577029] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320075191] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853940492] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918975060] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735704183] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280867723207] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892688642] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082382270] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279638413487] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280587093872] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725858466] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859626037] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981512559] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218068702] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280511033211] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701151774] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280352769329] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633469875] runtime: 0.0799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280273349841] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348559597] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811910995] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784356719] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801883220] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279188822774] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492984468] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280700311194] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281034078437] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362763556] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313807876] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280409338904] runtime: 0.0678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280691819867] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279802125685] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983690405] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416679924] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692375670] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116054628] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281031238991] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028815924] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579870802] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186800778] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280472548290] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707231066] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280532795568] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279348693707] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279229841701] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248626350] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771589070] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 34.8879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279179105250] runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862449829] runtime: 0.0820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021637050] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987445759] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969144219] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006209890] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590640567] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280073350789] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279817501588] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197660496] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280594276049] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279176284869] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280376844748] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280265524525] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279927625102] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106370806] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279939207708] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932496233] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280774642462] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279798208871] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821191265] runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292469172] runtime: 0.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281044977077] runtime: 0.0915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280851867585] runtime: 0.0877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279225802104] runtime: 0.0878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222894551] runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753730448] runtime: 0.0866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748374381] runtime: 0.0850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279671929345] runtime: 0.1047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280135498726] runtime: 0.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666231027] runtime: 0.1059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280583681076] runtime: 0.0782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280273068613] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281237937882] runtime: 0.0886ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279811756245] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050513591] runtime: 0.0871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279559977969] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730444103] runtime: 0.0987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719227277] runtime: 0.0877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535191729] runtime: 0.0883ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280931826368] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280928786802] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281039987451] runtime: 0.0834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266886317] runtime: 0.0840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016745777] runtime: 0.0917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475588982] runtime: 0.0826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015989251] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281209261361] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279930629019] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280484079905] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279205164874] runtime: 0.0691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281296960259] runtime: 0.0672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279182455288] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144802986] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279470375350] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280369308257] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875208834] runtime: 0.0664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535473021] runtime: 0.0647ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842346057] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279682628094] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949149286] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753863146] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280246186731] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279984148771] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280082728314] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672971816] runtime: 0.0642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279547520336] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196892336] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279484496242] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281188730538] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060678875] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348566282] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280193113043] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281196189750] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279617937908] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280218819165] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.3620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281287249735] runtime: 0.1149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280044007513] runtime: 0.0783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279445995345] runtime: 0.0851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281039522358] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834938478] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174122081] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280730982958] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805475065] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501720349] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265615116] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862385439] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280631057845] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280290522632] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279780006790] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280147017212] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180656318] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027875970] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076345085] runtime: 0.0924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079052903] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280221046930] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8435ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838387931] runtime: 0.0600ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195dd0000'), "name"=>"Orin Franecki", "reference"=>"Flavie Lesch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3626ms Completed 200 OK in 6ms (Views: 4.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195de0000'), "name"=>"Angela Maggio", "reference"=>"Tyrese Morar", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5201ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279768462053] runtime: 0.0912ms Completed 200 OK in 6ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195df0000'), "name"=>"Gerard Wuckert", "reference"=>"Dr. Hortense Franecki", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54903bfa7735332195df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms 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('54903bfa7735332195e00000'), "name"=>"Arlene Hayes", "reference"=>"Ms. Adelle Conn", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.4471ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e20000'), "name"=>"Dave Zboncak", "reference"=>"Emie Stracke DDS", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54903bfa7735332195e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms Completed 200 OK in 4ms (Views: 2.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e30000'), "name"=>"Alfreda Durgan", "reference"=>"Sister Schroeder", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4078ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bf87735332195060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Redirected to Completed 500 Internal Server Error in 4ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e40000'), "name"=>"Anibal Kiehn V", "reference"=>"Newell Grant I", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3061ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e50000'), "name"=>"Karen Weimann", "reference"=>"Tyrel McKenzie", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3041ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e60000'), "name"=>"Quincy Hodkiewicz", "reference"=>"Alysa Fisher", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2674ms 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('54903bfa7735332195e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2265ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195e80000'), "name"=>"Nestor Jaskolski", "reference"=>"Joany Aufderhar", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54903bfa7735332195e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms 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('54903bfa7735332195e90000'), "name"=>"Lucy McCullough", "reference"=>"Genoveva Carroll", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms 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('54903bfa7735332195eb0000'), "name"=>"Lilly Kuvalis", "reference"=>"Jeff Weber IV", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903bfa7735332195eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195eb0000')} 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('54903bfa7735332195eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms 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('54903bfa7735332195ec0000'), "name"=>"Daisha Kertzmann", "reference"=>"Miss Roosevelt Bauch", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903bfa7735332195ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2248ms Redirected to http://test.host/products/54903bfa7735332195ec0000 Completed 302 Found in 9ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195ef0000'), "name"=>"Olin Kshlerin", "reference"=>"Flossie Stracke", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195ed0000'), "author_name"=>"Hailee Torp", "content"=>["Hic sed iste. Optio voluptates qui ad sunt excepturi. Nisi rerum cum earum facilis molestiae rerum. Eveniet molestias voluptatem aut ab dolores laborum. Nisi natus sed doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195ee0000'), "author_name"=>"Piper Daugherty", "content"=>["Quia distinctio eveniet. Tenetur eum quod. Veniam reprehenderit maxime quis tenetur numquam ipsa molestias. Ipsa porro recusandae similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903bfa7735332195ef0000", "comment_id"=>"54903bfa7735332195ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ef0000'), "comments._id"=>BSON::ObjectId('54903bfa7735332195ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903bfa7735332195f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Redirected to http://test.host/products/54903bfa7735332195ef0000/comments/54903bfa7735332195ed0000/comments/54903bfa7735332195f00000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195f30000'), "name"=>"Dr. Jamal Bergstrom", "reference"=>"Lillian Gerlach", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f10000'), "author_name"=>"Tyrell Kshlerin Jr.", "content"=>["Est quidem velit ut est dignissimos rerum ipsum. Aut dolorem ullam aut. Voluptatibus explicabo minima aut omnis. Cum dolores quia eos nemo natus laboriosam quasi."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f20000'), "author_name"=>"Helene Ryan", "content"=>["Porro maxime numquam error voluptatibus voluptas. Aut veritatis nam consequatur. Odio voluptate nam. A sunt perferendis harum. Repellendus amet voluptas vero dolorem sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54903bfa7735332195f30000", "comment_id"=>"54903bfa7735332195f10000", "id"=>"54903bfa7735332195f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f30000'), "comments._id"=>BSON::ObjectId('54903bfa7735332195f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903bfa7735332195f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms Redirected to http://test.host/products/54903bfa7735332195f30000/comments/54903bfa7735332195f10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195f60000'), "name"=>"Mr. Sophia Ullrich", "reference"=>"Viva Gottlieb", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f40000'), "author_name"=>"Kayla Lakin", "content"=>["Quas consequatur quae numquam nostrum laborum reprehenderit quia. Modi et aut laudantium dolor. Temporibus distinctio vitae quasi cupiditate. Repellendus sunt porro totam."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f50000'), "author_name"=>"Desiree Runolfsson", "content"=>["Et et qui corrupti minus quis repellendus beatae. Cupiditate aliquid et. Autem deserunt officia pariatur qui facere est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54903bfa7735332195f60000", "comment_id"=>"54903bfa7735332195f40000", "id"=>"54903bfa7735332195f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3693ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 7.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195f90000'), "name"=>"Meggie Borer", "reference"=>"Royce Jones", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f70000'), "author_name"=>"Ruthie Rice Sr.", "content"=>["Omnis rerum voluptatibus ipsa ut. Dolorem harum aliquid. Itaque eum explicabo in vero inventore rem accusantium. Quasi totam quas sint voluptates aut."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195f80000'), "author_name"=>"Maya Goldner DVM", "content"=>["Voluptas doloremque assumenda molestiae animi et cupiditate. Aperiam nam neque eius. Temporibus cupiditate enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5540ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54903bfa7735332195f90000", "comment_id"=>"54903bfa7735332195f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms Completed 200 OK in 7ms (Views: 4.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195fc0000'), "name"=>"Anais Russel", "reference"=>"Philip Boehm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195fa0000'), "author_name"=>"Bernadine Koepp", "content"=>["Voluptates omnis sed reprehenderit dolores omnis nulla. Inventore animi rerum rem dolorem voluptate. Qui nostrum eum autem corrupti velit. Et veniam ea consectetur. Et illo dolor animi."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195fb0000'), "author_name"=>"Flossie Zemlak", "content"=>["Reiciendis pariatur reprehenderit est accusamus. Esse ad asperiores non porro voluptas quo. Illo voluptatibus quia tempore ut corporis. Quia nobis eligendi id dolorum illum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54903bfa7735332195fc0000", "comment_id"=>"54903bfa7735332195fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3926ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195ff0000'), "name"=>"Patsy Hayes", "reference"=>"Faustino Mayer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195fd0000'), "author_name"=>"Abel Shanahan", "content"=>["Voluptas quia esse expedita et. Esse praesentium officia ab architecto. Et in fugit et."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195fe0000'), "author_name"=>"Nina Balistreri", "content"=>["Ad voluptatibus suscipit culpa doloremque adipisci inventore harum. Iusto et quasi autem quae autem repellat. Velit qui quibusdam quaerat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5667ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54903bfa7735332195ff0000", "comment_id"=>"54903bfa7735332195fd0000", "id"=>"54903bfa7735332195fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4996ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195020100'), "name"=>"Dr. Leta Lemke", "reference"=>"Yvonne Hammes", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195000100'), "author_name"=>"Hollis Greenfelder", "content"=>["Eos sit non voluptatibus soluta maiores eum eos. Commodi eius ut asperiores. Dicta blanditiis maiores libero. Ipsam animi ea quasi qui labore et. Culpa ea sint placeat."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195010100'), "author_name"=>"Dr. Evangeline Barton", "content"=>["Consequuntur distinctio amet temporibus quis. Dolor nobis sunt pariatur iure velit in. Est voluptatem eligendi tempora incidunt ad voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54903bfa7735332195020100", "comment_id"=>"54903bfa7735332195000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195050100'), "name"=>"Mrs. Dereck Beatty", "reference"=>"Muriel Langworth", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195030100'), "author_name"=>"Mekhi Cassin", "content"=>["Ut mollitia maxime dicta nostrum doloremque. Veniam nihil totam aut est quo est omnis. Non consequatur laboriosam. Dolor nam quia sint culpa. Quisquam suscipit vel qui dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195040100'), "author_name"=>"Lorenzo Stark II", "content"=>["Natus temporibus velit. Ex et rerum ea aliquam totam ab. Minus numquam amet in sed accusamus iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6245ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54903bfa7735332195050100", "comment_id"=>"54903bfa7735332195030100", "id"=>"54903bfa7735332195040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4127ms Completed 200 OK in 7ms (Views: 3.3ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903bfa7735332195080100'), "name"=>"Quinton Marks", "reference"=>"Mr. Felix Wiza", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195060100'), "author_name"=>"Corrine Tremblay", "content"=>["Voluptates ex accusamus nemo deserunt quae. Officiis dolor odio exercitationem sed. Fugiat natus ut neque modi. Omnis consequatur aliquid explicabo ipsam eum nulla illum. Aut corporis doloremque magnam."], "comments"=>[{"_id"=>BSON::ObjectId('54903bfa7735332195070100'), "author_name"=>"Carson Heaney", "content"=>["Nihil distinctio voluptas omnis molestiae aut vero. Culpa sequi reprehenderit in quod. Dolorum quisquam numquam est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903bfa7735332195070100", "product_id"=>"54903bfa7735332195080100", "comment_id"=>"54903bfa7735332195060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903bfa7735332195080100')} 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('54903bfa7735332195080100'), "comments._id"=>BSON::ObjectId('54903bfa7735332195060100'), "comments.0.comments._id"=>BSON::ObjectId('54903bfa7735332195070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms Redirected to http://test.host/products/54903bfa7735332195080100/comments/54903bfa7735332195060100/comments/54903bfa7735332195070100 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('54903bfa7735332195090100'), "firstname"=>"Eldon", "lastname"=>"Mitchell"}] 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=>"admin_users", :query=>{}} runtime: 0.2083ms 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('54903bfa77353321950a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Redirected to http://test.host/users/54903bfa77353321950a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1729ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bfa77353321950b0100'), "firstname"=>"Yvonne", "lastname"=>"Huels"}] 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=>"admin_users", :query=>{}} runtime: 0.1524ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54903bfa77353321950b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bfa77353321950b0100')} 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('54903bfa77353321950b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Redirected to http://test.host/users Completed 302 Found in 28ms 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('54903bfa77353321950c0100'), "firstname"=>"Noemy", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54903bfa77353321950c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bfa77353321950c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Rendered /home/geoffroy/projects/crealettres/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('54903bfa77353321950d0100'), "firstname"=>"Allie", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms 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.3752ms 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('54903bfa77353321950e0100'), "firstname"=>"Trycia", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903bfa77353321950f0100'), "firstname"=>"Don", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by UsersController#show as HTML Parameters: {"id"=>"54903bfa77353321950f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bfa77353321950f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms 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('54903bfa7735332195100100'), "firstname"=>"Jed", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903bfa7735332195100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903bfa7735332195100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms Unpermitted parameters: name Redirected to http://test.host/users/54903bfa7735332195100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5096ms 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.5134ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 24.0414ms 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.6635ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9165ms 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.5380ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb000000'), "firstname"=>"Oscar", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2260ms 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('54903cb977353321eb010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms 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.2045ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb020000'), "firstname"=>"Kay", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54903cb977353321eb020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cb977353321eb020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb030000'), "firstname"=>"Lurline", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb040000'), "firstname"=>"Abner", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54903cb977353321eb040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cb977353321eb040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb050000'), "firstname"=>"Anabel", "lastname"=>"Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54903cb977353321eb050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cb977353321eb050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms 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('54903cb977353321eb060000'), "name"=>"Cory Kulas", "reference"=>"Rex Parker", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb070000'), "author_name"=>"Marge Stiedemann", "content"=>["Officia earum accusamus et quis aut atque molestiae. Nisi dolorum corrupti velit sed. Magnam pariatur ad. Dignissimos impedit quae blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903cb977353321eb060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903cb977353321eb080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms Redirected to http://test.host/admin/products/54903cb977353321eb060000/comments/54903cb977353321eb080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3862ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb090000'), "name"=>"Dexter Volkman", "reference"=>"Arlo Daugherty MD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb0a0000'), "author_name"=>"Eliza Blanda V", "content"=>["Autem tempora distinctio fugiat et iste deserunt veniam. Cumque nihil sed sit. Pariatur odit fuga in quasi et fugiat reiciendis. Qui ratione quos est dolores aut. Dignissimos similique molestiae suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54903cb977353321eb090000", "id"=>"54903cb977353321eb0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903cb977353321eb0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Redirected to http://test.host/admin/products/54903cb977353321eb090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb0b0000'), "name"=>"Orin Beatty", "reference"=>"Rosamond Schumm", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb0c0000'), "author_name"=>"Hosea Daugherty II", "content"=>["Nesciunt tenetur eum in ab placeat. Rerum saepe porro expedita culpa quia. Rerum at omnis dolorem assumenda fuga. Et quas vero delectus voluptate et. Modi mollitia sed repellendus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54903cb977353321eb0b0000", "id"=>"54903cb977353321eb0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.6ms) Completed 200 OK in 13ms (Views: 10.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb0d0000'), "name"=>"Albertha Hagenes", "reference"=>"Dr. Dayton Gleichner", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb0e0000'), "author_name"=>"Mr. Issac Hudson", "content"=>["Explicabo quam unde ad est fugit sint. Sapiente nesciunt adipisci inventore consequatur repudiandae deleniti. Repellat architecto optio laudantium accusamus possimus. Nihil repudiandae tenetur et labore qui officiis. Qui neque sequi consequatur qui deleniti dolore non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54903cb977353321eb0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms 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('54903cb977353321eb0f0000'), "name"=>"Ara Spinka", "reference"=>"Jordi Halvorson", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb100000'), "author_name"=>"Nella Romaguera", "content"=>["Eius quasi nihil consequatur ut. Doloremque asperiores officiis magni. Recusandae repudiandae voluptatibus itaque at alias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54903cb977353321eb0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 4.9ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb110000'), "name"=>"Dr. Brandi Daniel", "reference"=>"Fausto Bailey", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb120000'), "author_name"=>"Mrs. Bette Lesch", "content"=>["Illo provident necessitatibus quibusdam. Et aut aliquam iste architecto et cumque. Consequatur eos perferendis quas aliquam temporibus unde vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5251ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54903cb977353321eb110000", "id"=>"54903cb977353321eb120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms Completed 200 OK in 6ms (Views: 3.1ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb130000'), "name"=>"Jeromy Frami", "reference"=>"Mrs. Donavon Howe", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903cb977353321eb140000'), "author_name"=>"Verlie Gaylord Sr.", "content"=>["Officia inventore voluptates eos deserunt dolore. Esse neque id occaecati sint aut ut molestiae. Aut vel et esse blanditiis et nulla id. Amet rerum vitae consequatur debitis ut qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903cb977353321eb140000", "product_id"=>"54903cb977353321eb130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb130000'), "comments._id"=>BSON::ObjectId('54903cb977353321eb140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Redirected to http://test.host/admin/products/54903cb977353321eb130000/comments/54903cb977353321eb140000 Completed 302 Found in 5ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb150000'), "name"=>"Merlin Runte", "reference"=>"Antoinette Dach", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb160000'), "firstname"=>"Vernie", "lastname"=>"Ankunding"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7372ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903cb977353321eb150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb150000')} 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('54903cb977353321eb150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms Redirected to http://test.host/admin/products/54903cb977353321eb150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb180000'), "name"=>"Jaron Beatty", "reference"=>"Miss Harley Abernathy", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb190000'), "firstname"=>"Jovan", "lastname"=>"Kertzmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54903cb977353321eb190000", "product_id"=>"54903cb977353321eb180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb1a0000'), "name"=>"Ibrahim Block III", "reference"=>"Kraig Kihn DVM", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb1b0000'), "firstname"=>"Mittie", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54903cb977353321eb1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb1c0000'), "name"=>"Lonzo Moore", "reference"=>"Roxanne Hand DVM", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb1d0000'), "firstname"=>"Bertha", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54903cb977353321eb1d0000", "product_id"=>"54903cb977353321eb1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb1e0000'), "name"=>"Miss Rodrick Lubowitz", "reference"=>"Mackenzie Prosacco", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54903cb977353321eb1f0000'), "firstname"=>"Kayden", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54903cb977353321eb1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903cb977353321eb1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54903cb977353321eb1e0000/manager 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('54903cb977353321eb200000'), "name"=>"Wallace Beahan II", "reference"=>"Santino Zboncak", "quantity"=>4}] 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.1742ms 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('54903cb977353321eb210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Redirected to http://test.host/admin/products/54903cb977353321eb210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1954ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb220000'), "name"=>"Mr. Agnes Gibson", "reference"=>"Joy Ritchie", "quantity"=>4}] 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.1686ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54903cb977353321eb220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb220000')} 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('54903cb977353321eb220000')} 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 2ms 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('54903cb977353321eb230000'), "name"=>"Mckayla Leffler V", "reference"=>"Lou Rodriguez", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54903cb977353321eb230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb240000'), "name"=>"Ressie Cummings", "reference"=>"Maryjane Ratke Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0499ms 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.5460ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb250000'), "name"=>"Rosetta Brakus", "reference"=>"Craig Bruen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 18ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb280000'), "name"=>"Ashleigh Beatty", "reference"=>"Ken Skiles", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54903cb977353321eb280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms 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('54903cb977353321eb290000'), "name"=>"Mr. Arjun Murazik", "reference"=>"Jovan Halvorson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903cb977353321eb290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Redirected to http://test.host/admin/products/54903cb977353321eb290000 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('54903cb977353321eb2a0000'), "firstname"=>"Alysha", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2033ms 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('54903cb977353321eb2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms Redirected to http://test.host/admin/users/54903cb977353321eb2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1630ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb2c0000'), "firstname"=>"Gaston", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1397ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54903cb977353321eb2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cb977353321eb2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cb977353321eb2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms 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.1885ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb2d0000'), "firstname"=>"Darron", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54903cb977353321eb2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cb977353321eb2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cb977353321eb2e0000'), "firstname"=>"Everett", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms 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.3436ms 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('54903cb977353321eb2f0000'), "firstname"=>"Victor", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54903cb977353321eb300000'), "firstname"=>"Kailyn", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54903cb977353321eb300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cb977353321eb300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3523ms 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('54903cb977353321eb310000'), "firstname"=>"Dawn", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903cb977353321eb310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cb977353321eb310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54903cb977353321eb310000 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('54903cba77353321eb320000'), "firstname"=>"Marietta", "lastname"=>"Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1641ms 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('54903cba77353321eb330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms 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.2848ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb340000'), "firstname"=>"Jayson", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54903cba77353321eb340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cba77353321eb340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb350000'), "firstname"=>"Keshawn", "lastname"=>"Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb360000'), "firstname"=>"Chet", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54903cba77353321eb360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cba77353321eb360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb370000'), "firstname"=>"Silas", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54903cba77353321eb370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54903cba77353321eb370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb380000'), "name"=>"Hermann Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb390000'), "name"=>"Maye Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3a0000'), "name"=>"Mr. Linwood Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3b0000'), "name"=>"Watson Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3c0000'), "name"=>"Dr. Dallin Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3d0000'), "name"=>"Melody Huel DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3e0000'), "name"=>"Landen Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb3f0000'), "name"=>"Tressa Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb400000'), "name"=>"Lelia Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb410000'), "name"=>"Estelle Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb420000'), "name"=>"Wellington Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb430000'), "name"=>"Arlene Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb440000'), "name"=>"Emmett Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb450000'), "name"=>"Maegan Grant III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb460000'), "name"=>"Laisha Hoeger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb470000'), "name"=>"Emma Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb480000'), "name"=>"Ottilie Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb490000'), "name"=>"Ewell Predovic MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4a0000'), "name"=>"Chadd Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4b0000'), "name"=>"Melvin Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4c0000'), "name"=>"Jordyn Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4d0000'), "name"=>"Celestino Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4e0000'), "name"=>"Zakary Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb4f0000'), "name"=>"Ephraim Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb500000'), "name"=>"Hassan Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb510000'), "name"=>"Cordie Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb520000'), "name"=>"Coralie Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb530000'), "name"=>"Sarah Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb540000'), "name"=>"Ursula Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb550000'), "name"=>"Rahsaan Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb560000'), "name"=>"Thalia Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb570000'), "name"=>"Mona Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb580000'), "name"=>"Etha Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb590000'), "name"=>"Mr. Augustus Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5a0000'), "name"=>"Urban Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1904ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5b0000'), "name"=>"Murl Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5c0000'), "name"=>"Ms. Jaylan Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5d0000'), "name"=>"Orval Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5e0000'), "name"=>"Miss Kailey Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb5f0000'), "name"=>"Dr. Myrtie Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb600000'), "name"=>"Zane Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb610000'), "name"=>"Aliyah Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb620000'), "name"=>"Arnold Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb630000'), "name"=>"Grayce Gleason II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb640000'), "name"=>"Christiana Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb650000'), "name"=>"Miles O'Kon V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb660000'), "name"=>"Christina Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb670000'), "name"=>"Carmela Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb680000'), "name"=>"Brandy Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb690000'), "name"=>"Lynn Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6a0000'), "name"=>"Mrs. Constantin Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6b0000'), "name"=>"Alvis Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6c0000'), "name"=>"Bulah Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6d0000'), "name"=>"Levi Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6e0000'), "name"=>"Lucas Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1456ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb6f0000'), "name"=>"Bridie Schoen PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb700000'), "name"=>"Ms. Camron Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb710000'), "name"=>"Dr. Magdalena Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb720000'), "name"=>"Madeline Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb730000'), "name"=>"Kyle Shields Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb740000'), "name"=>"Ettie Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb750000'), "name"=>"Emil Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb760000'), "name"=>"Ms. Abel Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb770000'), "name"=>"Ms. Nestor Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb780000'), "name"=>"Gillian Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb790000'), "name"=>"Micheal Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7a0000'), "name"=>"Lionel Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7b0000'), "name"=>"Lamar Cassin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7c0000'), "name"=>"Jordon Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7d0000'), "name"=>"Evie O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7e0000'), "name"=>"Mr. Danyka Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb7f0000'), "name"=>"Carrie Pollich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb800000'), "name"=>"Mortimer Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb810000'), "name"=>"Abbey Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb820000'), "name"=>"Miss Angus Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb830000'), "name"=>"Felicia Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb840000'), "name"=>"Mr. Jovany Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb850000'), "name"=>"Delta Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb860000'), "name"=>"Keegan Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb870000'), "name"=>"Tiffany Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb880000'), "name"=>"Trystan Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb890000'), "name"=>"Duncan Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8a0000'), "name"=>"Keshaun Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8b0000'), "name"=>"Vada Runolfsson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8c0000'), "name"=>"Patsy Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8d0000'), "name"=>"Johnnie Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8e0000'), "name"=>"Gladyce Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb8f0000'), "name"=>"Mason Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb900000'), "name"=>"Mrs. Bethany Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb910000'), "name"=>"Walton Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb920000'), "name"=>"Mrs. Dejuan McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb930000'), "name"=>"Morris Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb940000'), "name"=>"Lelia Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb950000'), "name"=>"Jeanie O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb960000'), "name"=>"Marcellus Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb970000'), "name"=>"Roel Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2179ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms Redirected to http://test.host/categories/54903cba77353321eb980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3306ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb990000'), "name"=>"Jermaine Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2530ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54903cba77353321eb990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eb990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eb990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2379ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb9a0000'), "name"=>"Berry Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54903cba77353321eb9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eb9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb9b0000'), "name"=>"Sasha Terry DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307061011694] runtime: 0.1097ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2749ms Completed 200 OK in 16ms (Views: 15.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb9c0000'), "name"=>"Dr. Talon D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307061772949] runtime: 0.0955ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3485ms Completed 200 OK in 10ms (Views: 9.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb9d0000'), "name"=>"Easter Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eb9f0000'), "name"=>"Savanna Skiles PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54903cba77353321eb9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eb9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eb9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54903cba77353321eba00000'), "name"=>"Kurt Bins DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54903cba77353321eba00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54903cba77353321eba00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54903cba77353321eba00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1771ms Redirected to http://test.host/categories/54903cba77353321eba00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321eba10000'), "name"=>"Manley Leannon", "reference"=>"Marcelle Fay DDS", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321eba20000'), "author_name"=>"Walton Armstrong", "content"=>["Qui possimus nesciunt est voluptates consequatur et quisquam. Reprehenderit voluptate temporibus velit reiciendis deleniti quibusdam. Qui maiores assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903cba77353321eba10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54903cba77353321eba30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Redirected to http://test.host/products/54903cba77353321eba10000/comments/54903cba77353321eba30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321eba40000'), "name"=>"Maggie Schowalter", "reference"=>"Lois Mills", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321eba50000'), "author_name"=>"Silas Hagenes PhD", "content"=>["Quia molestiae dolor quos consequuntur. Maiores placeat autem. Illum in quia suscipit doloremque dolor. Nulla et animi maiores sequi. Saepe voluptas qui cupiditate qui non nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54903cba77353321eba40000", "id"=>"54903cba77353321eba50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54903cba77353321eba50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms Redirected to http://test.host/products/54903cba77353321eba40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321eba60000'), "name"=>"Mrs. Aisha Upton", "reference"=>"Theresa Prohaska", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321eba70000'), "author_name"=>"Reyes Crona I", "content"=>["Dolor ut dolorem eveniet in. Voluptatem et voluptatibus odit ea. Est facere deleniti sed praesentium. Perferendis beatae blanditiis vero ut natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54903cba77353321eba60000", "id"=>"54903cba77353321eba70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321eba80000'), "name"=>"Ahmed Bayer", "reference"=>"Lane Anderson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321eba90000'), "author_name"=>"Toy Wyman", "content"=>["Commodi sunt esse qui quas ad. Et est laboriosam cumque reiciendis iste. Atque perferendis perspiciatis nam a quisquam aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5898ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54903cba77353321eba80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321eba80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4285ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebaa0000'), "name"=>"Ms. Eva Abernathy", "reference"=>"Rodrigo Borer", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321ebab0000'), "author_name"=>"Stephon Dicki II", "content"=>["Incidunt provident porro rerum amet cumque aut. Repellendus libero aliquam. Voluptatum quia vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5907ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54903cba77353321ebaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4064ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebac0000'), "name"=>"Arely Ratke", "reference"=>"Ashley Spinka", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321ebad0000'), "author_name"=>"Alexa Barrows", "content"=>["Eveniet ducimus mollitia harum. Dolores dolore sit. Ea assumenda est dolore neque quos. Mollitia provident et eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54903cba77353321ebac0000", "id"=>"54903cba77353321ebad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebae0000'), "name"=>"Dr. Fidel Medhurst", "reference"=>"Lydia Funk", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321ebaf0000'), "author_name"=>"Pink Collier", "content"=>["Est perspiciatis vel optio sequi quo debitis facere. Accusantium quasi nihil deserunt. Quis laudantium harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54903cba77353321ebae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3446ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebb00000'), "name"=>"Adrain Sanford", "reference"=>"Dorothy Klocko", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321ebb10000'), "author_name"=>"Dejuan Ratke", "content"=>["Tenetur sit quis. Nam voluptatem fugit alias officiis magni. Cumque dolorum doloremque sit et aut nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54903cba77353321ebb00000", "id"=>"54903cba77353321ebb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebb20000'), "name"=>"Cathryn Hoppe V", "reference"=>"Monica Reichert DVM", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903cba77353321ebb30000'), "author_name"=>"Chet Braun", "content"=>["Fuga dolores et odio similique at unde. Perferendis aut fuga eius quis quisquam aperiam. Odit et beatae voluptas consectetur hic dicta sequi. Id vero sint est sed et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903cba77353321ebb30000", "product_id"=>"54903cba77353321ebb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebb20000'), "comments._id"=>BSON::ObjectId('54903cba77353321ebb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Redirected to http://test.host/products/54903cba77353321ebb20000/comments/54903cba77353321ebb30000 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('54903cba77353321ebb40000'), "firstname"=>"Steve", "lastname"=>"Doyle"}] 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=>"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('54903cba77353321ebb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Redirected to http://test.host/admin/clients/54903cba77353321ebb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2027ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebb60000'), "firstname"=>"Jan", "lastname"=>"Rath"}] 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=>"clients", :query=>{}} runtime: 0.1661ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903cba77353321ebb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebb60000')} 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('54903cba77353321ebb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms 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.1696ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebb70000'), "firstname"=>"Nathanial", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903cba77353321ebb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('54903cba77353321ebb80000'), "firstname"=>"Loma", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9916ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5329ms Completed 200 OK in 11ms (Views: 9.1ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebb90000'), "firstname"=>"Sonya", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.3ms) Completed 200 OK in 37ms (Views: 36.7ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebba0000'), "firstname"=>"Mireille", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903cba77353321ebba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms 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('54903cba77353321ebbb0000'), "firstname"=>"Abbigail", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903cba77353321ebbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3806ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Redirected to http://test.host/admin/clients/54903cba77353321ebbb0000 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('54903cba77353321ebbc0000'), "firstname"=>"Aileen", "lastname"=>"Dicki"}] 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=>"clients", :query=>{}} runtime: 0.1939ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Redirected to http://test.host/clients/54903cba77353321ebbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2023ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebbe0000'), "firstname"=>"Laisha", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1850ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54903cba77353321ebbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms 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.1905ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebbf0000'), "firstname"=>"Gregory", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54903cba77353321ebbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms) -------------------------------------------------- Iord::GenericControllerTest: test_should_get_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebc00000'), "firstname"=>"Linwood", "lastname"=>"Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54903cba77353321ebc10000'), "firstname"=>"Morgan", "lastname"=>"McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54903cba77353321ebc20000'), "firstname"=>"Aracely", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54903cba77353321ebc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms 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('54903cba77353321ebc30000'), "firstname"=>"Dudley", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54903cba77353321ebc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54903cba77353321ebc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms Redirected to http://test.host/clients/54903cba77353321ebc30000 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('54903cba77353321ebc40000'), "name"=>"Justen Marquardt", "reference"=>"Modesto Grant", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebc50000'), "firstname"=>"Estel", "lastname"=>"Frami"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54903cba77353321ebc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms Redirected to http://test.host/products/54903cba77353321ebc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebc70000'), "name"=>"Dr. Valentine Waelchi", "reference"=>"Asha Hauck IV", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebc80000'), "firstname"=>"Corene", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54903cba77353321ebc80000", "product_id"=>"54903cba77353321ebc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4084ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 8.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebc90000'), "name"=>"Vivienne Boehm", "reference"=>"Christiana Stoltenberg", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebca0000'), "firstname"=>"Kiera", "lastname"=>"Huel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54903cba77353321ebc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebcb0000'), "name"=>"Elfrieda Tromp", "reference"=>"Joelle Runolfsson", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebcc0000'), "firstname"=>"Alisa", "lastname"=>"Heathcote"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54903cba77353321ebcc0000", "product_id"=>"54903cba77353321ebcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebcd0000'), "name"=>"Mr. Addison Paucek", "reference"=>"Cathy Runolfsson V", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54903cba77353321ebce0000'), "firstname"=>"Torrey", "lastname"=>"Rau"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54903cba77353321ebce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54903cba77353321ebcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms Unpermitted parameters: name Redirected to http://test.host/products/54903cba77353321ebcd0000/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('54903cba77353321ebcf0000'), "name"=>"Mrs. Rosie Rice", "reference"=>"Ms. Carson Brown", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd00000'), "name"=>"Alejandrin Barrows", "reference"=>"Mrs. Dianna Moore", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd10000'), "name"=>"Arno Mraz", "reference"=>"Llewellyn Bartell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd20000'), "name"=>"Tyrese Mayert II", "reference"=>"Camylle Kohler", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd30000'), "name"=>"Tyrell Schimmel", "reference"=>"Leopoldo Abbott MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd40000'), "name"=>"Kenna Lang Jr.", "reference"=>"Kristin Gleichner Jr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2776ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms Redirected to http://test.host/products/54903cba77353321ebd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2319ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd60000'), "name"=>"Mossie Stark", "reference"=>"Mrs. Emelia Schuppe", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2520ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54903cba77353321ebd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4781ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms 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.3057ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd70000'), "name"=>"Rafael Bruen", "reference"=>"Anjali Nicolas", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54903cba77353321ebd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cba77353321ebd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd80000'), "name"=>"Laverne Rempel", "reference"=>"Mr. Jocelyn Schamberger", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280291670575] runtime: 0.1072ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2440ms Completed 200 OK in 19ms (Views: 18.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebd90000'), "name"=>"Zoey Jerde", "reference"=>"Mrs. Claude Walker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebda0000'), "name"=>"HelloWorld", "reference"=>"Kristian Dickinson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebdb0000'), "name"=>"value", "reference"=>"Andy Lind", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2597ms Completed 200 OK in 6ms (Views: 5.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2159ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1898ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1301ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2244ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1661ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1426ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cba77353321ebdc0000'), "name"=>"Madeline Heaney", "reference"=>"Maurice McClure", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2459ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479565728] runtime: 0.0906ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2102ms Completed 200 OK in 16ms (Views: 15.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201422065] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279684206951] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831195269] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299087941] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279988467855] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279233783442] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 25.9920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014236005] runtime: 0.0923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280928869438] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249076004] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392950340] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280445224759] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079671263] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279670399590] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281010162004] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011164396] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830421776] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279301145346] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254748875] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281301396689] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279932795899] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187263491] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046348905] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248954910] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091529026] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529806353] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778275250] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7236ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211577626] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126010766] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701288532] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194146784] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280421720352] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279429336614] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279582725581] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717766977] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279527941263] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280520597618] runtime: 0.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825208328] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279882956794] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052277667] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281230639841] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280562161705] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279455879333] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280445679982] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279327001342] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928132706] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279990596127] runtime: 0.0825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035893615] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279575798858] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279570072684] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280034435340] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7388ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279294387227] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215254722] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280512912078] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280522195000] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280674822354] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987374150] runtime: 0.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820581926] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279689794573] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925711486] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189711893] runtime: 0.0675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280181524396] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751199198] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587298750] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279281511331] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280037961575] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279321315176] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102464416] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280379567312] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.3927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279352531037] runtime: 0.1148ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280072027172] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772174083] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286528021] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746184263] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646167290] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280990024314] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279986008194] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089361143] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773965616] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500548341] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280168638707] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281000464275] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348533257] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7842ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659185444] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324601336] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7871ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279500287773] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280034771982] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052822756] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858348409] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926206957] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7858ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280652496135] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247782199] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279937068867] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392837068] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280896729816] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801837953] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014402266] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280846122985] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279257524340] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280086587493] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249083869] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204273351] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280679636096] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734739676] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280448676449] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280427701763] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947284102] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280722848992] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413279543] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683338039] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279868325273] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280796037611] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280544962150] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068539145] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291599689] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666051506] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433766702] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279925036893] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639574249] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279924618488] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315007960] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280246094840] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541258976] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319671645] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5839ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976750273] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279973086479] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193062653] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338955421] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170713412] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065421972] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980718379] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574502420] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313434010] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921386350] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280433419533] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280273048059] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102551770] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5783ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435691975] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279493156783] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280109287615] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797480645] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279231424561] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636482966] runtime: 0.1223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627565758] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279847453878] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244624737] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056239454] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326661138] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134912200] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279347859478] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281130272042] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279628061273] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280812142653] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279628022461] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280037643814] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784190300] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279442417988] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279226823953] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280957839671] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009281590] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280667555200] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645924366] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280604627822] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280513520338] runtime: 0.0476ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebdd0000'), "name"=>"Miss Helena Buckridge", "reference"=>"Dr. Frieda Feest", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2237ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebde0000'), "name"=>"Savanah Paucek", "reference"=>"Vena Mitchell", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535143850] runtime: 0.0704ms Completed 200 OK in 5ms (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('54903cbb77353321ebdf0000'), "name"=>"Beulah Wyman", "reference"=>"Vincent Dickinson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54903cbb77353321ebdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebdf0000')} 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('54903cbb77353321ebe00000'), "name"=>"Elijah Parisian II", "reference"=>"Beryl Hintz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe20000'), "name"=>"Ruth Littel IV", "reference"=>"Gerry Lehner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54903cbb77353321ebe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms Completed 200 OK in 4ms (Views: 2.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe30000'), "name"=>"Dr. Karolann Fay", "reference"=>"Eugenia Adams", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.8013ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3746ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cb977353321eb060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3857ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe40000'), "name"=>"Ms. Hailey Nikolaus", "reference"=>"Kaycee Hettinger", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3484ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe50000'), "name"=>"Lue Ullrich", "reference"=>"Elise Stark", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3724ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe60000'), "name"=>"Rosemary Nader", "reference"=>"Fannie Yost", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1859ms 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('54903cbb77353321ebe70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2445ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebe80000'), "name"=>"Mr. Cornelius O'Connell", "reference"=>"Damaris Schumm", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3375ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54903cbb77353321ebe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebe80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms 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('54903cbb77353321ebe90000'), "name"=>"Nettie Walter", "reference"=>"Davon Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms 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('54903cbb77353321ebeb0000'), "name"=>"Davonte Wolf III", "reference"=>"Wanda Medhurst", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903cbb77353321ebeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4372ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms 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('54903cbb77353321ebec0000'), "name"=>"Ms. Jay Stamm", "reference"=>"Furman Conroy IV", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54903cbb77353321ebec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Redirected to http://test.host/products/54903cbb77353321ebec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebef0000'), "name"=>"Dr. Amir O'Keefe", "reference"=>"Chloe Gutmann", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebed0000'), "author_name"=>"Ross Howe", "content"=>["At animi saepe aut rerum ipsum ducimus. Est doloribus cum sunt aut et quos. Tempore fugit at. Ab sint maxime dolore. Provident voluptatem aliquam mollitia est eveniet enim molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebee0000'), "author_name"=>"Jalen Zulauf II", "content"=>["Minima et deleniti rerum. Sunt alias minus autem libero eum cumque. Tempora error repellendus quisquam ducimus quo cum. Hic omnis molestiae impedit ut accusantium officiis. Dolor non beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54903cbb77353321ebef0000", "comment_id"=>"54903cbb77353321ebed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebef0000'), "comments._id"=>BSON::ObjectId('54903cbb77353321ebed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903cbb77353321ebf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8539ms Redirected to http://test.host/products/54903cbb77353321ebef0000/comments/54903cbb77353321ebed0000/comments/54903cbb77353321ebf00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebf30000'), "name"=>"Henry Okuneva", "reference"=>"Ernie Connelly", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf10000'), "author_name"=>"Pattie Heathcote", "content"=>["Ut aut aut sit. Veritatis et in occaecati nulla nesciunt aliquid. Aliquam incidunt officiis. Mollitia sunt natus ut. Consectetur a eos."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf20000'), "author_name"=>"Kareem Feil", "content"=>["Cum rerum unde sit consequatur. Dolor alias optio nisi est facilis aut at. Cumque enim quo corrupti omnis veniam perspiciatis. Error reprehenderit omnis repellat. Alias quis necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54903cbb77353321ebf30000", "comment_id"=>"54903cbb77353321ebf10000", "id"=>"54903cbb77353321ebf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf30000'), "comments._id"=>BSON::ObjectId('54903cbb77353321ebf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54903cbb77353321ebf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6723ms Redirected to http://test.host/products/54903cbb77353321ebf30000/comments/54903cbb77353321ebf10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebf60000'), "name"=>"Ahmad Stokes Sr.", "reference"=>"Frederique Ernser", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf40000'), "author_name"=>"Reese Nitzsche", "content"=>["Eos molestiae voluptatum tempora. Magnam praesentium adipisci aliquam at velit. Nesciunt id quas earum iure deleniti quia. Quia dolor architecto dolor. Porro vero ullam architecto ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf50000'), "author_name"=>"Rigoberto Leffler", "content"=>["Tempora velit quo. Vel eum excepturi eos aut natus nisi in. Voluptatum suscipit mollitia debitis. Et similique consequatur atque. Et at corrupti eaque eligendi possimus praesentium velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54903cbb77353321ebf60000", "comment_id"=>"54903cbb77353321ebf40000", "id"=>"54903cbb77353321ebf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebf90000'), "name"=>"Cordell Kuhic", "reference"=>"Aisha Brekke", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf70000'), "author_name"=>"Angelica Towne", "content"=>["Corrupti repellendus ad quos aliquam harum commodi consectetur. Nam facilis accusamus cumque ut asperiores tempore ut. Et nobis enim excepturi aut possimus saepe debitis."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebf80000'), "author_name"=>"Scot Koepp", "content"=>["Veritatis consequuntur dolorum exercitationem quasi magnam iste dignissimos. Sunt unde sunt qui dolor tempora dignissimos. Ipsa omnis perferendis rerum optio quia natus necessitatibus. Ut incidunt eligendi ad sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54903cbb77353321ebf90000", "comment_id"=>"54903cbb77353321ebf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebfc0000'), "name"=>"Dejon Carroll II", "reference"=>"Garnet Skiles", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebfa0000'), "author_name"=>"Stuart Streich DDS", "content"=>["Ut nihil dolores qui rerum molestiae quasi illum. Explicabo illo numquam similique nemo alias consequatur. Molestias pariatur est sequi quasi et dolorem."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebfb0000'), "author_name"=>"Catherine Ferry", "content"=>["Aperiam explicabo voluptatem architecto quos sapiente. Velit culpa aut aliquam. Aut officia vitae distinctio repudiandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54903cbb77353321ebfc0000", "comment_id"=>"54903cbb77353321ebfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321ebff0000'), "name"=>"Miss Meda Rempel", "reference"=>"Sydni Walsh", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebfd0000'), "author_name"=>"Dolly Hyatt IV", "content"=>["Rem sed repellat qui veniam consequatur iusto non. Velit sit sit est rerum modi dolor. Eveniet in at quibusdam ut odit molestias accusantium. Qui esse nulla hic sed adipisci. Quam eaque provident."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321ebfe0000'), "author_name"=>"Randi Haley", "content"=>["Voluptas incidunt qui. Voluptas perferendis odit consequatur rerum eligendi libero. Eos assumenda quisquam laboriosam vero voluptas."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54903cbb77353321ebff0000", "comment_id"=>"54903cbb77353321ebfd0000", "id"=>"54903cbb77353321ebfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321ebff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4027ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb020100'), "name"=>"Ivy Turcotte", "reference"=>"Isom Schultz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb000100'), "author_name"=>"Marian Von", "content"=>["Tenetur atque omnis sit. Molestias reprehenderit pariatur quidem necessitatibus sed recusandae cum. Sint autem corporis non. Dolorem veritatis deleniti qui omnis molestias delectus. Laboriosam recusandae ut voluptas ea."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb010100'), "author_name"=>"Abe Bahringer", "content"=>["Dolores molestias in harum ut. Cumque ex incidunt et. Reiciendis aliquid quod quos quia culpa. Iure sapiente sit aut facere eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54903cbb77353321eb020100", "comment_id"=>"54903cbb77353321eb000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321eb020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3583ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb050100'), "name"=>"Kevin Adams", "reference"=>"Maurine Dietrich", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb030100'), "author_name"=>"Ari Gerhold", "content"=>["Non molestiae sapiente impedit. Facere cum atque est. Sit est totam architecto consequatur et qui."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb040100'), "author_name"=>"Harold Frami", "content"=>["Ut sed numquam laboriosam aliquid sunt. Perspiciatis labore facere. Qui quis voluptatibus quod."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54903cbb77353321eb050100", "comment_id"=>"54903cbb77353321eb030100", "id"=>"54903cbb77353321eb040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321eb050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb080100'), "name"=>"Adam Kub", "reference"=>"Frida Ledner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb060100'), "author_name"=>"Miss Dejon Fahey", "content"=>["Aut ratione culpa in aliquid. Aut aut quasi aliquid doloremque. Sed voluptatem harum nulla quis incidunt sunt."], "comments"=>[{"_id"=>BSON::ObjectId('54903cbb77353321eb070100'), "author_name"=>"Izabella McCullough", "content"=>["Qui a vitae quo. Enim in perferendis rerum eveniet harum molestiae odio. Sit eius atque tenetur sint iure quaerat ex. Laudantium tempore error et a officiis quam nostrum. Animi quos sint impedit et ex porro sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5384ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54903cbb77353321eb070100", "product_id"=>"54903cbb77353321eb080100", "comment_id"=>"54903cbb77353321eb060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321eb080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54903cbb77353321eb080100'), "comments._id"=>BSON::ObjectId('54903cbb77353321eb060100'), "comments.0.comments._id"=>BSON::ObjectId('54903cbb77353321eb070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6500ms Redirected to http://test.host/products/54903cbb77353321eb080100/comments/54903cbb77353321eb060100/comments/54903cbb77353321eb070100 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('54903cbb77353321eb090100'), "firstname"=>"William", "lastname"=>"Gulgowski"}] 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=>"admin_users", :query=>{}} runtime: 0.2043ms 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('54903cbb77353321eb0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Redirected to http://test.host/users/54903cbb77353321eb0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2278ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb0b0100'), "firstname"=>"Anastacio", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1884ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54903cbb77353321eb0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cbb77353321eb0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cbb77353321eb0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms 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.2471ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb0c0100'), "firstname"=>"Althea", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4379ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54903cbb77353321eb0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cbb77353321eb0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 33ms (Views: 31.7ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb0d0100'), "firstname"=>"Cloyd", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms 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.5111ms Completed 200 OK in 44ms (Views: 43.2ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54903cbb77353321eb0e0100'), "firstname"=>"Dallin", "lastname"=>"Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54903cbb77353321eb0f0100'), "firstname"=>"Hortense", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5112ms Processing by UsersController#show as HTML Parameters: {"id"=>"54903cbb77353321eb0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cbb77353321eb0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms 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('54903cbb77353321eb100100'), "firstname"=>"Pasquale", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54903cbb77353321eb100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54903cbb77353321eb100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms Unpermitted parameters: name Redirected to http://test.host/users/54903cbb77353321eb100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7208ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms 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.3191ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms 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.2779ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms 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.2773ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042de7735332463000000'), "firstname"=>"Jordy", "lastname"=>"Jast"}] 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=>"administrators", :query=>{}} runtime: 0.2625ms 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('549042de7735332463010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms 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.2823ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042de7735332463020000'), "firstname"=>"Eleazar", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549042de7735332463020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042de7735332463020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042de7735332463030000'), "firstname"=>"Evert", "lastname"=>"Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042de7735332463040000'), "firstname"=>"Katelynn", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549042de7735332463040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042de7735332463040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042de7735332463050000'), "firstname"=>"Al", "lastname"=>"West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549042de7735332463050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042de7735332463050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms 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('549042df7735332463060000'), "name"=>"Waldo Weissnat", "reference"=>"Gonzalo Boyle", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463070000'), "author_name"=>"Madisen Hessel", "content"=>["Molestias est deleniti et maxime magni. In commodi est natus consectetur provident. Eligendi in ad quasi reiciendis et repudiandae. Facere pariatur assumenda odit et dolores. Dolorum voluptatem fugit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549042df7735332463060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549042df7735332463080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Redirected to http://test.host/admin/products/549042df7735332463060000/comments/549042df7735332463080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463090000'), "name"=>"Kailee Hyatt", "reference"=>"Oliver Schneider DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549042df77353324630a0000'), "author_name"=>"Adriel Pfeffer DVM", "content"=>["Nisi earum iusto. Eos similique cupiditate dolores quo nesciunt. Accusamus laudantium in nobis nostrum. Quaerat culpa quia iusto sit occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549042df7735332463090000", "id"=>"549042df77353324630a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463090000')} 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('549042df7735332463090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549042df77353324630a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms Redirected to http://test.host/admin/products/549042df7735332463090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324630b0000'), "name"=>"Kaden King", "reference"=>"Lorna Wehner", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df77353324630c0000'), "author_name"=>"Rocio Kuhlman", "content"=>["Dolor facilis quis odio maiores sit. Voluptas esse adipisci sed nesciunt earum et. Qui facilis exercitationem laborum. Placeat reprehenderit et illo quaerat. Enim est aut modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549042df77353324630b0000", "id"=>"549042df77353324630c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324630b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324630d0000'), "name"=>"Keyon Effertz", "reference"=>"Jaron Goyette", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549042df77353324630e0000'), "author_name"=>"Daija Stamm MD", "content"=>["Doloremque ex voluptatem. Architecto qui animi. Quis sunt vel id est quo. Id nisi sunt laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549042df77353324630d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324630d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4123ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324630f0000'), "name"=>"Susanna Miller", "reference"=>"Alexander Connelly", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463100000'), "author_name"=>"Tyrese Crooks DVM", "content"=>["Veniam ut sed eligendi enim molestiae. Sequi natus beatae vero voluptatum quis dicta. Nobis ipsa est voluptates qui architecto. Et hic qui corporis corrupti quidem quia. Qui consequatur qui qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5933ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549042df77353324630f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324630f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463110000'), "name"=>"Jose Steuber IV", "reference"=>"Howard Haag", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463120000'), "author_name"=>"Miss Nathan Runte", "content"=>["Vitae omnis vero incidunt quis possimus. Delectus nihil nobis quis error. Eum maiores et. Sint voluptatem dolores praesentium id voluptas facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5953ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549042df7735332463110000", "id"=>"549042df7735332463120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4096ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463130000'), "name"=>"Hilma Kemmer Jr.", "reference"=>"Taya Orn I", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463140000'), "author_name"=>"Mr. Megane Wisoky", "content"=>["Ipsa hic impedit. Earum blanditiis ratione illum suscipit. Qui cupiditate quidem dolorem magnam aliquid. Molestias assumenda nisi et et tempore. Quo vel nemo quia non velit nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5823ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549042df7735332463140000", "product_id"=>"549042df7735332463130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463130000'), "comments._id"=>BSON::ObjectId('549042df7735332463140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4768ms Redirected to http://test.host/admin/products/549042df7735332463130000/comments/549042df7735332463140000 Completed 302 Found in 7ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463150000'), "name"=>"Cornelius Dickinson PhD", "reference"=>"Lori Mertz", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549042df7735332463160000'), "firstname"=>"Eloisa", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549042df7735332463150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463150000')} 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('549042df7735332463150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549042df7735332463170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms Redirected to http://test.host/admin/products/549042df7735332463150000/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('549042df7735332463180000'), "name"=>"Ms. Barton Hoeger", "reference"=>"Felix Considine", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549042df7735332463190000'), "firstname"=>"Verna", "lastname"=>"Prosacco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549042df7735332463190000", "product_id"=>"549042df7735332463180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324631a0000'), "name"=>"Anita Larkin", "reference"=>"Orie Grimes", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549042df77353324631b0000'), "firstname"=>"Mabel", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549042df77353324631a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324631a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324631c0000'), "name"=>"Freda Mueller V", "reference"=>"Benton Rice", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549042df77353324631d0000'), "firstname"=>"Claudie", "lastname"=>"Muller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549042df77353324631d0000", "product_id"=>"549042df77353324631c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324631c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df77353324631e0000'), "name"=>"Ara Ferry", "reference"=>"Scottie Spencer", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549042df77353324631f0000'), "firstname"=>"Mia", "lastname"=>"Daugherty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549042df77353324631f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549042df77353324631e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df77353324631e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549042df77353324631e0000/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('549042df7735332463200000'), "name"=>"Pearline Fisher", "reference"=>"George Crist", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2525ms 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('549042df7735332463210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9944ms Redirected to http://test.host/admin/products/549042df7735332463210000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2940ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463220000'), "name"=>"Christop Wunsch", "reference"=>"Dr. Dahlia Oberbrunner", "quantity"=>2}] 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.2741ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549042df7735332463220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms 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.2527ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463230000'), "name"=>"Jamir Parker", "reference"=>"Mavis Dietrich", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549042df7735332463230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463240000'), "name"=>"Simone DuBuque DVM", "reference"=>"Antonietta Abbott", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms 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.6918ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463250000'), "name"=>"Santos Ernser", "reference"=>"Margret Kuhic II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 20ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463280000'), "name"=>"Cyril Dickens", "reference"=>"Mrs. Sebastian Schaden", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549042df7735332463280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms 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('549042df7735332463290000'), "name"=>"Alejandra Smith", "reference"=>"Ms. Durward Berge", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549042df7735332463290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms Redirected to http://test.host/admin/products/549042df7735332463290000 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('549042df77353324632a0000'), "firstname"=>"Gussie", "lastname"=>"Boyer"}] 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=>"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('549042df77353324632b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms Redirected to http://test.host/admin/users/549042df77353324632b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2003ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042df77353324632c0000'), "firstname"=>"Jacquelyn", "lastname"=>"Gusikowski"}] 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=>"admin_users", :query=>{}} runtime: 0.1800ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549042df77353324632c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042df77353324632c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042df77353324632c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms 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.1937ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042df77353324632d0000'), "firstname"=>"Jacey", "lastname"=>"Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549042df77353324632d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042df77353324632d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042df77353324632e0000'), "firstname"=>"Edyth", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms 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.3378ms 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('549042df77353324632f0000'), "firstname"=>"Rosario", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4226ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('549042df7735332463300000'), "firstname"=>"Elenor", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549042df7735332463300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042df7735332463300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042df7735332463310000'), "firstname"=>"Mikel", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549042df7735332463310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042df7735332463310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549042df7735332463310000 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('549042df7735332463320000'), "firstname"=>"Yazmin", "lastname"=>"Quitzon"}] 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=>"administrators", :query=>{}} runtime: 0.2081ms 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('549042df7735332463330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms 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.2935ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042df7735332463340000'), "firstname"=>"Camylle", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549042df7735332463340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042df7735332463340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042df7735332463350000'), "firstname"=>"Meagan", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042df7735332463360000'), "firstname"=>"Keshawn", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549042df7735332463360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042df7735332463360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549042df7735332463370000'), "firstname"=>"Jarrod", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549042df7735332463370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549042df7735332463370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463380000'), "name"=>"Donnell Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463390000'), "name"=>"Ms. Edwardo Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633a0000'), "name"=>"Katheryn Flatley DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633b0000'), "name"=>"Hipolito Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633c0000'), "name"=>"Coleman McKenzie V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633d0000'), "name"=>"Aurelie Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633e0000'), "name"=>"Kassandra Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324633f0000'), "name"=>"Macie Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324633f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463400000'), "name"=>"Viva Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463410000'), "name"=>"Natalia Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463420000'), "name"=>"Dr. Brennon Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1294ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463430000'), "name"=>"Willis Cole Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463440000'), "name"=>"Tamara Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463450000'), "name"=>"Dillon Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463460000'), "name"=>"Jordi Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463470000'), "name"=>"Marques Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463480000'), "name"=>"Laron Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463490000'), "name"=>"Mathias Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634a0000'), "name"=>"Cara Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634b0000'), "name"=>"Casper Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1634ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634c0000'), "name"=>"Miss Karine Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634d0000'), "name"=>"Miss Adrien Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634e0000'), "name"=>"Mariano Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324634f0000'), "name"=>"Ms. Kiel Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324634f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463500000'), "name"=>"Wade Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463510000'), "name"=>"Miss Cora Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463520000'), "name"=>"Mr. Berneice Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463530000'), "name"=>"Forrest White DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463540000'), "name"=>"Savannah Rodriguez I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463550000'), "name"=>"Alexa Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463560000'), "name"=>"Dulce Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463570000'), "name"=>"Luella Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463580000'), "name"=>"Velva Goldner DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463590000'), "name"=>"Mrs. Ivory Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635a0000'), "name"=>"Kaci Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635b0000'), "name"=>"Jace Hettinger III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635c0000'), "name"=>"Jonathon Armstrong Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635d0000'), "name"=>"Mr. Liza Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635e0000'), "name"=>"Miss Augustus Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324635f0000'), "name"=>"Ed Leffler IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324635f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463600000'), "name"=>"Gardner Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463610000'), "name"=>"Rosamond Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463620000'), "name"=>"Emiliano Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463630000'), "name"=>"Demetris Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463640000'), "name"=>"Shanon Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463650000'), "name"=>"Lance Hamill I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463660000'), "name"=>"Miss Eddie Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463670000'), "name"=>"Zachary Grady Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463680000'), "name"=>"Ms. Vickie Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463690000'), "name"=>"Orrin Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636a0000'), "name"=>"Ericka Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636b0000'), "name"=>"Zoila McLaughlin Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636c0000'), "name"=>"Stevie Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636d0000'), "name"=>"Estevan Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636e0000'), "name"=>"Aurelio Cummerata Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324636f0000'), "name"=>"Anne Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324636f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463700000'), "name"=>"Rosetta Hackett IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463710000'), "name"=>"Lloyd Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463720000'), "name"=>"Ms. Levi Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463730000'), "name"=>"Mrs. Erin Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463740000'), "name"=>"Sanford Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463750000'), "name"=>"Wilton Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463760000'), "name"=>"Anais Collins DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463770000'), "name"=>"Elyssa Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463780000'), "name"=>"Weldon Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463790000'), "name"=>"Adolfo Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637a0000'), "name"=>"Henderson Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637b0000'), "name"=>"Cali D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637c0000'), "name"=>"Clovis Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637d0000'), "name"=>"Priscilla Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637e0000'), "name"=>"Rowland Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324637f0000'), "name"=>"Amelia Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324637f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463800000'), "name"=>"Donato Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463810000'), "name"=>"Providenci McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463820000'), "name"=>"Morton Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463830000'), "name"=>"Rita Deckow IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463840000'), "name"=>"Mossie Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463850000'), "name"=>"Mallory Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463860000'), "name"=>"Lottie Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463870000'), "name"=>"Crystal Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463880000'), "name"=>"Devan Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463890000'), "name"=>"Lucie Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638a0000'), "name"=>"Abbie Funk DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638b0000'), "name"=>"Norval Miller DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638c0000'), "name"=>"Rodrigo Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638d0000'), "name"=>"Miss Marianna Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638e0000'), "name"=>"Precious Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324638f0000'), "name"=>"Priscilla Braun MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324638f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463900000'), "name"=>"Adam Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463910000'), "name"=>"Sherwood DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463920000'), "name"=>"Mrs. River Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463930000'), "name"=>"Mayra Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463940000'), "name"=>"Angelita Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463950000'), "name"=>"Kaelyn Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463960000'), "name"=>"Iliana Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463970000'), "name"=>"Hettie Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1452ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms Redirected to http://test.host/categories/549042df7735332463980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1684ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463990000'), "name"=>"Herta Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1513ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549042df7735332463990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df7735332463990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df7735332463990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1604ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324639a0000'), "name"=>"Dr. Margarete Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549042df77353324639a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df77353324639a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 10ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324639b0000'), "name"=>"Mozell Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305454182895] runtime: 0.1282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2147ms Completed 200 OK in 16ms (Views: 15.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324639c0000'), "name"=>"Karley Greenfelder IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307064280028] runtime: 0.1307ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2128ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324639d0000'), "name"=>"Mathew Kuhn PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df77353324639f0000'), "name"=>"Darlene Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549042df77353324639f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df77353324639f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df77353324639f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549042df7735332463a00000'), "name"=>"Jacynthe Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549042df7735332463a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df7735332463a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549042df7735332463a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549042df7735332463a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms Redirected to http://test.host/categories/549042df7735332463a00000 Completed 302 Found in 3ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463a10000'), "name"=>"Robbie Berge", "reference"=>"Dr. Holden Gulgowski", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463a20000'), "author_name"=>"Cecile Dickens", "content"=>["Quas aut error. Dolorem veritatis hic. Doloribus et atque est enim. Et dolor recusandae rem consequatur quia exercitationem sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549042df7735332463a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a10000')} 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('549042df7735332463a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549042df7735332463a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms Redirected to http://test.host/products/549042df7735332463a10000/comments/549042df7735332463a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463a40000'), "name"=>"Dr. Luella Ernser", "reference"=>"Jacquelyn Gerlach", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463a50000'), "author_name"=>"Manuela Abbott", "content"=>["Amet et illum delectus. Animi quo distinctio numquam. Consequuntur tenetur omnis. Aut possimus consequatur nisi magnam autem enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549042df7735332463a40000", "id"=>"549042df7735332463a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a40000')} 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('549042df7735332463a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549042df7735332463a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4341ms Redirected to http://test.host/products/549042df7735332463a40000/comments Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463a60000'), "name"=>"Thaddeus Sanford", "reference"=>"Solon Mante IV", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463a70000'), "author_name"=>"Hilda Emmerich", "content"=>["Ea excepturi pariatur explicabo quia voluptatem. Fuga qui dolores adipisci quidem. Qui nostrum illum placeat aliquam facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549042df7735332463a60000", "id"=>"549042df7735332463a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463a80000'), "name"=>"Beth Hodkiewicz", "reference"=>"Isobel Hilpert", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463a90000'), "author_name"=>"Miss Cindy Zemlak", "content"=>["Quibusdam voluptatum aut inventore modi. Asperiores rerum et aut dolorum itaque. Velit voluptatem eius voluptatum voluptatibus nobis reprehenderit aut. Deleniti et omnis unde id. Voluptatem mollitia totam amet corrupti in omnis quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549042df7735332463a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463aa0000'), "name"=>"Ms. Trent Veum", "reference"=>"Dr. Sherwood Eichmann", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463ab0000'), "author_name"=>"Guiseppe Ondricka", "content"=>["Ullam ab nemo id. Architecto sint laudantium quia quis facere. Perspiciatis a velit quisquam nemo aut iure. Esse unde rem consequatur qui veritatis omnis est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549042df7735332463aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463ac0000'), "name"=>"Mr. Archibald Wuckert", "reference"=>"Ms. Aurelie Zieme", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463ad0000'), "author_name"=>"Jackie Greenholt", "content"=>["Reprehenderit delectus et voluptas odit ut omnis qui. Magni et non temporibus nemo expedita beatae vero. Fugit aut eaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549042df7735332463ac0000", "id"=>"549042df7735332463ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463ae0000'), "name"=>"Tatyana Nikolaus MD", "reference"=>"Dana Grady II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463af0000'), "author_name"=>"Anika Upton", "content"=>["Sit ipsa consequuntur sequi quia in tempore. Ad sequi quam fugiat dolor dolorem. Est nisi rerum nulla rerum tempore temporibus ad. Aut rerum aut debitis magni ut et mollitia. Voluptatem sed debitis eum dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549042df7735332463ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463b00000'), "name"=>"Rogers Gorczany", "reference"=>"Miss Ramiro Klocko", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463b10000'), "author_name"=>"Rosalind Gutkowski", "content"=>["Asperiores et totam distinctio aliquam est. Harum ut eveniet. Ipsa sunt aut nobis debitis quis ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549042df7735332463b00000", "id"=>"549042df7735332463b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042df7735332463b20000'), "name"=>"Quinton O'Hara", "reference"=>"Aisha Barrows II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549042df7735332463b30000'), "author_name"=>"Miss Janae Reilly", "content"=>["Voluptatem rem consectetur modi tempora eum vitae. Est voluptas beatae deserunt in aspernatur sit sed. Laboriosam minus accusantium. Incidunt et nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549042df7735332463b30000", "product_id"=>"549042df7735332463b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463b20000'), "comments._id"=>BSON::ObjectId('549042df7735332463b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms Redirected to http://test.host/products/549042df7735332463b20000/comments/549042df7735332463b30000 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('549042df7735332463b40000'), "firstname"=>"Zion", "lastname"=>"Kiehn"}] 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=>"clients", :query=>{}} runtime: 0.1330ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042df7735332463b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Redirected to http://test.host/admin/clients/549042df7735332463b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042df7735332463b60000'), "firstname"=>"Maybelle", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1295ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549042df7735332463b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms 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.1623ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042df7735332463b70000'), "firstname"=>"Evan", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549042df7735332463b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 6.2ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042df7735332463b80000'), "firstname"=>"Viviane", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms 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('549042df7735332463b90000'), "firstname"=>"Jany", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 42ms (Views: 41.0ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042df7735332463ba0000'), "firstname"=>"Gerald", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5140ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549042df7735332463ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms 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('549042df7735332463bb0000'), "firstname"=>"Nasir", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549042df7735332463bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042df7735332463bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0675ms Redirected to http://test.host/admin/clients/549042df7735332463bb0000 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('549042df7735332463bc0000'), "firstname"=>"Rupert", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2166ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042e07735332463bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms Redirected to http://test.host/clients/549042e07735332463bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2308ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042e07735332463be0000'), "firstname"=>"Alva", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms 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"=>"549042e07735332463be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms 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.2582ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549042e07735332463bf0000'), "firstname"=>"Jo", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549042e07735332463bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms Rendered /home/geoffroy/projects/crealettres/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('549042e07735332463c00000'), "firstname"=>"Nadia", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4252ms 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('549042e07735332463c10000'), "firstname"=>"Rachel", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549042e07735332463c20000'), "firstname"=>"Devyn", "lastname"=>"Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549042e07735332463c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms 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('549042e07735332463c30000'), "firstname"=>"Giovanni", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549042e07735332463c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549042e07735332463c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms Redirected to http://test.host/clients/549042e07735332463c30000 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('549042e07735332463c40000'), "name"=>"Deanna Nicolas", "reference"=>"Cora Johnson III", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549042e07735332463c50000'), "firstname"=>"Emely", "lastname"=>"Koepp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549042e07735332463c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549042e07735332463c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms Redirected to http://test.host/products/549042e07735332463c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463c70000'), "name"=>"Mandy Mraz", "reference"=>"Vita Miller", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549042e07735332463c80000'), "firstname"=>"Deshawn", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549042e07735332463c80000", "product_id"=>"549042e07735332463c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463c90000'), "name"=>"Jaunita Bernier", "reference"=>"Matilde Jones", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549042e07735332463ca0000'), "firstname"=>"Mattie", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549042e07735332463c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463cb0000'), "name"=>"Stanley Schmidt", "reference"=>"Adrien Schuster", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549042e07735332463cc0000'), "firstname"=>"Terrill", "lastname"=>"Streich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549042e07735332463cc0000", "product_id"=>"549042e07735332463cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463cd0000'), "name"=>"Rudolph Dach", "reference"=>"Janessa Glover", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549042e07735332463ce0000'), "firstname"=>"Ruth", "lastname"=>"Davis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549042e07735332463ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549042e07735332463cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms Unpermitted parameters: name Redirected to http://test.host/products/549042e07735332463cd0000/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('549042e07735332463cf0000'), "name"=>"Anita Hamill", "reference"=>"Valentina Jacobs", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d00000'), "name"=>"Elinor Torphy", "reference"=>"Santos Halvorson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d10000'), "name"=>"Anais Monahan", "reference"=>"Jerrold Gislason DDS", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d20000'), "name"=>"Roxane Conn", "reference"=>"Norma Prohaska", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d30000'), "name"=>"Bryon Murphy", "reference"=>"America Wiza II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d40000'), "name"=>"Ari Little", "reference"=>"Abigail O'Hara", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1690ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Redirected to http://test.host/products/549042e07735332463d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2166ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d60000'), "name"=>"Seth Hirthe", "reference"=>"Tina Lemke", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549042e07735332463d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4215ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms 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.2730ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d70000'), "name"=>"Cleta Schoen Jr.", "reference"=>"Preston Morar", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549042e07735332463d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('549042e07735332463d80000'), "name"=>"Gussie Schiller IV", "reference"=>"Shemar Gottlieb", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775646174] runtime: 0.1057ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3017ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463d90000'), "name"=>"Sterling Schumm I", "reference"=>"Nikki Zulauf", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463da0000'), "name"=>"HelloWorld", "reference"=>"Arturo McLaughlin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463db0000'), "name"=>"value", "reference"=>"Xzavier Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5657ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4337ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3829ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3575ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1668ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3658ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3442ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2942ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1676ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463dc0000'), "name"=>"Ericka Gulgowski", "reference"=>"Dr. Claudie Nicolas", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242682734] runtime: 0.1185ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2950ms Completed 200 OK in 17ms (Views: 16.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065683574] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279431703743] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250904557] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791479296] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279495953657] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281172333242] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280185300405] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987848650] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070100658] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280996369576] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280988672326] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281093120788] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280644963608] runtime: 0.0751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351819347] runtime: 0.0738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279219973900] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885234242] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052356249] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644551444] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982471508] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279444449725] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8405ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280592207735] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762059113] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279860094729] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380522923] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279819279572] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280513211180] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279872553910] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280445823282] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643124577] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295034930] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281109224606] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150867448] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281257805541] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280170817225] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622992788] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281171253259] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831251619] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122060195] runtime: 0.0919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281318474182] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469494961] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130382133] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872609217] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279185946079] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280810607852] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052384299] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279946184842] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529728282] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280883144170] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042917477] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717951756] runtime: 0.0857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280786238572] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305078390] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007069975] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279421384146] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279729316603] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561243074] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598375698] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922727566] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643024902] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280167619677] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128318485] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280071984977] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279287298619] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280935933640] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132058555] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280406591504] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229847864] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 31.6767ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591805558] runtime: 0.1176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281292604151] runtime: 0.0736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281313070244] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280275401101] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876222495] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717245282] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279818693668] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743119927] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281260028391] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279981188712] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279624266501] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279957251732] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280941757154] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081905409] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279465842010] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280157070822] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906928707] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280919139461] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052281432] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280307148198] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021841222] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280628432841] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100576569] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622250211] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280790086566] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820780580] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280470468507] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279285643890] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280297259136] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924984224] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908569177] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280714074095] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225193172] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950654128] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478930288] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529782135] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280670841859] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636085216] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280426002429] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645554849] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279375615507] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481019810] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279954079435] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280624222776] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279332549621] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362256794] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708038238] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279236359940] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877089107] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035843737] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997487464] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281170442463] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280962914945] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528025902] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601937799] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280750955389] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280339818479] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162577145] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279203759070] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762298090] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279569501758] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244110417] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247726023] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280640947436] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789984732] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025289933] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280383616838] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279572626635] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033520680] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280453862095] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646224965] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750530960] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281143112579] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512456139] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983787693] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797613536] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021126930] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280937706719] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349952434] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876062094] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562265896] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311482077] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007350280] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349420439] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500574474] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525053991] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270898590] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280659857649] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426447782] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280868502010] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281093340025] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810788318] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280233186993] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911147076] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279682530446] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545372583] runtime: 0.0457ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463dd0000'), "name"=>"Miss Gus Kemmer", "reference"=>"Callie Schowalter", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2740ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463de0000'), "name"=>"Florian Franecki", "reference"=>"Alanna Carroll", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482727246] runtime: 0.0959ms Completed 200 OK in 5ms (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('549042e07735332463df0000'), "name"=>"Cristian Kuvalis", "reference"=>"Mozell Runolfsdottir", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.2533ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549042e07735332463df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms 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('549042e07735332463e00000'), "name"=>"Axel Bergstrom", "reference"=>"Dr. Baby Bednar", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('549042e07735332463e20000'), "name"=>"Tiara Hirthe Jr.", "reference"=>"Dr. Alvena Heidenreich", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549042e07735332463e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463e30000'), "name"=>"Joan Collier", "reference"=>"Tremaine Grant", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3198ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042df7735332463060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3835ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463e40000'), "name"=>"Verlie Towne", "reference"=>"Estelle Rodriguez", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2859ms Completed 200 OK in 5ms (Views: 2.9ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463e50000'), "name"=>"Cecilia Howell", "reference"=>"Tessie Collier", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463e60000'), "name"=>"Samanta Hilll Sr.", "reference"=>"Mr. Margarett Sporer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1568ms 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('549042e07735332463e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1989ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463e80000'), "name"=>"Chauncey Feest", "reference"=>"Miss Carrie Bode", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549042e07735332463e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms 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('549042e07735332463e90000'), "name"=>"Lavada Lubowitz", "reference"=>"Herman Tremblay", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms 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('549042e07735332463eb0000'), "name"=>"Mrs. Vada Cummings", "reference"=>"Marjory Koch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549042e07735332463eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms 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('549042e07735332463ec0000'), "name"=>"Mrs. Alene Ondricka", "reference"=>"Miss Dell Zboncak", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3333ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549042e07735332463ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3869ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Redirected to http://test.host/products/549042e07735332463ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463ef0000'), "name"=>"Dr. Raleigh Bogisich", "reference"=>"Mr. Xander Lehner", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463ed0000'), "author_name"=>"Serenity Erdman", "content"=>["Quia autem amet provident exercitationem reprehenderit. Laborum porro accusantium numquam et ut. Accusamus rem quae amet ea. Non vel ipsam quia sint excepturi."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463ee0000'), "author_name"=>"Moriah Schneider", "content"=>["Aut consequatur est eos qui maxime ut. Qui rerum necessitatibus et alias. Voluptatibus eos consequatur a neque voluptas excepturi. Labore suscipit voluptatum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549042e07735332463ef0000", "comment_id"=>"549042e07735332463ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ef0000'), "comments._id"=>BSON::ObjectId('549042e07735332463ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549042e07735332463f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms Redirected to http://test.host/products/549042e07735332463ef0000/comments/549042e07735332463ed0000/comments/549042e07735332463f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463f30000'), "name"=>"Carmella Barton V", "reference"=>"Karlee Howe", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f10000'), "author_name"=>"Hildegard Sipes IV", "content"=>["Molestias repellendus ut. Ducimus nesciunt quidem fugit omnis. Facere eius itaque dolore. Qui necessitatibus qui. Sed molestias ipsa a rerum eligendi."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f20000'), "author_name"=>"Owen Purdy", "content"=>["Qui aliquid nisi ut autem. Doloribus vero ea illo est esse saepe. Voluptas placeat quis sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549042e07735332463f30000", "comment_id"=>"549042e07735332463f10000", "id"=>"549042e07735332463f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f30000'), "comments._id"=>BSON::ObjectId('549042e07735332463f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549042e07735332463f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5397ms Redirected to http://test.host/products/549042e07735332463f30000/comments/549042e07735332463f10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463f60000'), "name"=>"Madisen Auer", "reference"=>"Sophie Hettinger", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f40000'), "author_name"=>"Lelah D'Amore", "content"=>["Corrupti aspernatur ipsum ex quibusdam suscipit. Sit velit eius velit. Sit assumenda dolor laudantium numquam debitis modi officia. Nesciunt sunt enim eligendi quasi officia."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f50000'), "author_name"=>"Jordyn Wunsch", "content"=>["Aspernatur ad impedit praesentium. Excepturi totam doloremque. Exercitationem dolores dolor deserunt beatae harum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549042e07735332463f60000", "comment_id"=>"549042e07735332463f40000", "id"=>"549042e07735332463f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4059ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 6.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463f90000'), "name"=>"Nikita Weber", "reference"=>"Jedidiah Waelchi", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f70000'), "author_name"=>"Francesca Stanton", "content"=>["Quae laborum fugiat accusantium numquam. Et soluta qui quidem. Est dicta dolorem voluptatem. Accusantium voluptas vero quo. Assumenda itaque qui nulla."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463f80000'), "author_name"=>"Coty Koepp", "content"=>["Adipisci harum debitis velit omnis a aut. Velit accusamus alias nesciunt ex. Saepe totam ab et omnis laborum provident rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549042e07735332463f90000", "comment_id"=>"549042e07735332463f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463fc0000'), "name"=>"Reagan Donnelly", "reference"=>"Miss Antonette Schuster", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463fa0000'), "author_name"=>"Alanis Cronin", "content"=>["Molestias consequatur tempore et. Enim eum nisi. Dolor provident quod accusamus. Soluta autem repellendus tempore minima recusandae. Necessitatibus consectetur ut modi consequatur qui et ut."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463fb0000'), "author_name"=>"Raymundo MacGyver", "content"=>["Deserunt molestias dolorum sed laborum consectetur aspernatur rerum. Consectetur autem impedit ut. Quaerat aspernatur nulla debitis voluptas optio eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549042e07735332463fc0000", "comment_id"=>"549042e07735332463fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463ff0000'), "name"=>"Kieran Mills", "reference"=>"Geovanny Trantow II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463fd0000'), "author_name"=>"Ezra Carroll", "content"=>["Consequuntur sunt nihil nesciunt. Optio quia possimus eaque dolores molestiae. Sequi tempora nihil neque similique. Sunt consequatur sit. Et magni quo aut."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463fe0000'), "author_name"=>"Lydia Kessler", "content"=>["Ut possimus quasi sed in quia. Recusandae et reiciendis est dignissimos minus sint qui. Ipsum sunt eveniet."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549042e07735332463ff0000", "comment_id"=>"549042e07735332463fd0000", "id"=>"549042e07735332463fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4077ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463020100'), "name"=>"Mr. Queen Sipes", "reference"=>"Melisa Schimmel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463000100'), "author_name"=>"Enola Keebler", "content"=>["Aspernatur et quos dignissimos soluta non. Sed natus ut. Amet et voluptas quasi quaerat. Quidem fuga et excepturi quasi eius cumque."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463010100'), "author_name"=>"Bret Rau III", "content"=>["A ipsa et saepe. Harum esse sunt numquam ratione veritatis deleniti quasi. Vel id quia ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5760ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549042e07735332463020100", "comment_id"=>"549042e07735332463000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4993ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 7ms (Views: 4.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463050100'), "name"=>"Mohammad Parisian", "reference"=>"Vickie Lebsack", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463030100'), "author_name"=>"Estrella Kuhn", "content"=>["Voluptatibus eum rerum reiciendis rerum ea. Debitis quae neque corrupti. Fuga est vitae. Iste rerum omnis. Neque fuga esse sint temporibus modi voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463040100'), "author_name"=>"Mrs. Kaleigh Hand", "content"=>["Unde minima ad ab quo dicta quam. Magni occaecati numquam eaque rem voluptas. Dolores aspernatur consequatur consequatur distinctio in suscipit. Ab tempora iusto repudiandae. Placeat sint velit rerum quis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2400ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549042e07735332463050100", "comment_id"=>"549042e07735332463030100", "id"=>"549042e07735332463040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4022ms Completed 200 OK in 6ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549042e07735332463080100'), "name"=>"Miss Zander Stark", "reference"=>"Jack Hackett I", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463060100'), "author_name"=>"Dashawn Terry", "content"=>["Incidunt eum sapiente rerum nam dolorem omnis quas. Totam enim officia rerum ut iste quas quia. Assumenda rerum nam quis."], "comments"=>[{"_id"=>BSON::ObjectId('549042e07735332463070100'), "author_name"=>"Johnny Jacobi", "content"=>["Repellat beatae incidunt minima et et fugit quia. Qui aut optio earum perspiciatis asperiores. Fuga vero quia. Praesentium libero voluptas doloribus repudiandae accusamus sint qui. Quo nihil voluptatem dolores et aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549042e07735332463070100", "product_id"=>"549042e07735332463080100", "comment_id"=>"549042e07735332463060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549042e07735332463080100'), "comments._id"=>BSON::ObjectId('549042e07735332463060100'), "comments.0.comments._id"=>BSON::ObjectId('549042e07735332463070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms Redirected to http://test.host/products/549042e07735332463080100/comments/549042e07735332463060100/comments/549042e07735332463070100 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('549042e07735332463090100'), "firstname"=>"Marcus", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2020ms 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('549042e077353324630a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5089ms Redirected to http://test.host/users/549042e077353324630a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2301ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042e077353324630b0100'), "firstname"=>"Warren", "lastname"=>"Kassulke"}] 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.1874ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549042e077353324630b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042e077353324630b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042e077353324630b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms 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.2481ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042e077353324630c0100'), "firstname"=>"Jayde", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549042e077353324630c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042e077353324630c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4276ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 33ms (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('549042e077353324630d0100'), "firstname"=>"Lauren", "lastname"=>"Abernathy"}] 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.5542ms Completed 200 OK in 43ms (Views: 42.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549042e077353324630e0100'), "firstname"=>"Norval", "lastname"=>"Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549042e077353324630f0100'), "firstname"=>"Amanda", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5618ms Processing by UsersController#show as HTML Parameters: {"id"=>"549042e077353324630f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042e077353324630f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms 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('549042e07735332463100100'), "firstname"=>"Nellie", "lastname"=>"Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549042e07735332463100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549042e07735332463100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4008ms Unpermitted parameters: name Redirected to http://test.host/users/549042e07735332463100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6116ms 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.6156ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7272ms 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.5374ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7745ms 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.4874ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435b7735332519000000'), "firstname"=>"Chaya", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2041ms 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('5490435b7735332519010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms 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.2204ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435b7735332519020000'), "firstname"=>"Laverne", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490435b7735332519020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435b7735332519020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435b7735332519030000'), "firstname"=>"Hortense", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5105ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435b7735332519040000'), "firstname"=>"Tamara", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490435b7735332519040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435b7735332519040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435b7735332519050000'), "firstname"=>"Marie", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490435b7735332519050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435b7735332519050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms 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('5490435b7735332519060000'), "name"=>"Kelvin Maggio", "reference"=>"Lafayette Marquardt", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490435b7735332519070000'), "author_name"=>"Garnet Greenfelder", "content"=>["Sunt et unde et sint voluptatem perspiciatis quidem. Et magni suscipit occaecati ipsam qui. Saepe dolor impedit accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490435b7735332519060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490435b7735332519080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Redirected to http://test.host/admin/products/5490435b7735332519060000/comments/5490435b7735332519080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b7735332519090000'), "name"=>"Yesenia Considine", "reference"=>"Sid Bednar", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490435b77353325190a0000'), "author_name"=>"John Ebert", "content"=>["Sequi asperiores voluptatem ullam non magnam. Odio voluptatum facere itaque. Quae consequuntur aut et laborum voluptas. Officia cupiditate et corrupti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490435b7735332519090000", "id"=>"5490435b77353325190a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490435b77353325190a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Redirected to http://test.host/admin/products/5490435b7735332519090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325190b0000'), "name"=>"Rene Feil", "reference"=>"Terrance Schaden Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490435b77353325190c0000'), "author_name"=>"Dr. Freeda Pfannerstill", "content"=>["Voluptatum quidem et aut. Est officiis veniam optio. Eum atque itaque doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490435b77353325190b0000", "id"=>"5490435b77353325190c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325190b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325190d0000'), "name"=>"Mr. Abdul Schuster", "reference"=>"Salvador McKenzie", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490435b77353325190e0000'), "author_name"=>"Adonis Emmerich", "content"=>["Fuga similique ut assumenda. Quae possimus magni consectetur rerum eligendi. Expedita voluptatibus minus facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490435b77353325190d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325190d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325190f0000'), "name"=>"Krystina Tremblay", "reference"=>"Ulices Treutel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490435b7735332519100000'), "author_name"=>"Nakia Shanahan", "content"=>["Quia autem corporis dicta. Ut eos at blanditiis et nesciunt officia. Ab doloribus consequatur ad distinctio et fugit vero. Dolor minima sed. Aut accusamus temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490435b77353325190f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325190f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b7735332519110000'), "name"=>"Taurean Champlin", "reference"=>"Fidel Jenkins", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490435b7735332519120000'), "author_name"=>"May Abbott", "content"=>["Omnis eos est nihil minima vero. Odio harum et quaerat dicta laboriosam esse voluptatem. Sed voluptates placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490435b7735332519110000", "id"=>"5490435b7735332519120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b7735332519130000'), "name"=>"Nat O'Connell", "reference"=>"Mr. Sherwood Rau", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435b7735332519140000'), "author_name"=>"Mrs. Adrianna Wyman", "content"=>["Tempora sed rem illo. Aut ratione a recusandae quia. Consequatur totam placeat. Maxime iusto consequatur et quod. Quasi sequi rerum nesciunt hic inventore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490435b7735332519140000", "product_id"=>"5490435b7735332519130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519130000'), "comments._id"=>BSON::ObjectId('5490435b7735332519140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5430ms Redirected to http://test.host/admin/products/5490435b7735332519130000/comments/5490435b7735332519140000 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('5490435b7735332519150000'), "name"=>"Silas Cremin MD", "reference"=>"Marilie Conroy", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490435b7735332519160000'), "firstname"=>"Claude", "lastname"=>"Murazik"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490435b7735332519150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3429ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490435b7735332519170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms Redirected to http://test.host/admin/products/5490435b7735332519150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b7735332519180000'), "name"=>"Aleen Rodriguez", "reference"=>"Miss Tyreek Weimann", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('5490435b7735332519190000'), "firstname"=>"Layne", "lastname"=>"Wiza"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490435b7735332519190000", "product_id"=>"5490435b7735332519180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.3ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325191a0000'), "name"=>"Gene Abbott", "reference"=>"Marie Carroll", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('5490435b77353325191b0000'), "firstname"=>"Titus", "lastname"=>"Emard"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490435b77353325191a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325191a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325191c0000'), "name"=>"Kattie Kessler", "reference"=>"Zackary Satterfield DDS", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490435b77353325191d0000'), "firstname"=>"Bell", "lastname"=>"Ryan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490435b77353325191d0000", "product_id"=>"5490435b77353325191c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325191c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435b77353325191e0000'), "name"=>"Glen Lockman", "reference"=>"Ms. Ashly Hudson", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490435b77353325191f0000'), "firstname"=>"Jamil", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490435b77353325191f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490435b77353325191e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b77353325191e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490435b77353325191e0000/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('5490435c7735332519200000'), "name"=>"Tanner Kemmer", "reference"=>"Corine Hills", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms 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('5490435c7735332519210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Redirected to http://test.host/admin/products/5490435c7735332519210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2035ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519220000'), "name"=>"Marcelina Powlowski", "reference"=>"Marley Hane", "quantity"=>4}] 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.1875ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490435c7735332519220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519220000')} 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('5490435c7735332519220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms 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('5490435c7735332519230000'), "name"=>"Polly Herzog Sr.", "reference"=>"Miss Khalid Stark", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490435c7735332519230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519240000'), "name"=>"Kendra Turner", "reference"=>"Cordia Weissnat", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms 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.5801ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519250000'), "name"=>"Miss Gail Bradtke", "reference"=>"Raul Sawayn Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('5490435c7735332519280000'), "name"=>"Kamryn Williamson Jr.", "reference"=>"Jeremy Bashirian", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490435c7735332519280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms 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('5490435c7735332519290000'), "name"=>"Guiseppe McClure", "reference"=>"Mrs. Demarco Berge", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490435c7735332519290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms Redirected to http://test.host/admin/products/5490435c7735332519290000 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('5490435c77353325192a0000'), "firstname"=>"Nellie", "lastname"=>"Koss"}] 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.2490ms 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('5490435c77353325192b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms Redirected to http://test.host/admin/users/5490435c77353325192b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2365ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435c77353325192c0000'), "firstname"=>"Alva", "lastname"=>"Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1595ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490435c77353325192c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435c77353325192c0000')} 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('5490435c77353325192c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms 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.1664ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435c77353325192d0000'), "firstname"=>"Caitlyn", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490435c77353325192d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435c77353325192d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435c77353325192e0000'), "firstname"=>"Ronaldo", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms 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.2953ms 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('5490435c77353325192f0000'), "firstname"=>"Kiara", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490435c7735332519300000'), "firstname"=>"Sienna", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490435c7735332519300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435c7735332519300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms 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('5490435c7735332519310000'), "firstname"=>"Sydnee", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490435c7735332519310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435c7735332519310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490435c7735332519310000 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('5490435c7735332519320000'), "firstname"=>"Isom", "lastname"=>"Swaniawski"}] 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.1936ms 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('5490435c7735332519330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms 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.2041ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435c7735332519340000'), "firstname"=>"Dexter", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490435c7735332519340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435c7735332519340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435c7735332519350000'), "firstname"=>"Jailyn", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435c7735332519360000'), "firstname"=>"Dino", "lastname"=>"Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8772ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490435c7735332519360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435c7735332519360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490435c7735332519370000'), "firstname"=>"Sasha", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490435c7735332519370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490435c7735332519370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3212ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519380000'), "name"=>"Kameron Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519390000'), "name"=>"Joannie Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193a0000'), "name"=>"Dorcas Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193b0000'), "name"=>"Yasmin Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193c0000'), "name"=>"Brooke Hane IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193d0000'), "name"=>"Felix Keebler Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193e0000'), "name"=>"Loren Barrows PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325193f0000'), "name"=>"Mrs. Isom Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325193f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519400000'), "name"=>"Ms. Cassandra Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519410000'), "name"=>"Saige Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519420000'), "name"=>"Shanie Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519430000'), "name"=>"Cathryn Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519440000'), "name"=>"Monica Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519450000'), "name"=>"Cary Metz DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519460000'), "name"=>"Donavon Moen IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519470000'), "name"=>"Mac Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519480000'), "name"=>"Krista Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519490000'), "name"=>"Matt Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194a0000'), "name"=>"Dr. Kamren Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194b0000'), "name"=>"Sammy Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194c0000'), "name"=>"Kolby Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194d0000'), "name"=>"Dennis Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194e0000'), "name"=>"Jana Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325194f0000'), "name"=>"Grace Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325194f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519500000'), "name"=>"Myrl Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519510000'), "name"=>"Brandyn Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519520000'), "name"=>"Kayleigh Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519530000'), "name"=>"Connie Hyatt I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519540000'), "name"=>"Jovan Doyle III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519550000'), "name"=>"Domenico Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519560000'), "name"=>"Leann Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519570000'), "name"=>"Ms. Ansley Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519580000'), "name"=>"Sabina O'Keefe DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519590000'), "name"=>"Mrs. Myrtis Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195a0000'), "name"=>"Miss Marguerite Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195b0000'), "name"=>"Ms. Jillian Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195c0000'), "name"=>"Alexandre Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195d0000'), "name"=>"Annetta Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195e0000'), "name"=>"Lorenz Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325195f0000'), "name"=>"Alexandrine Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325195f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519600000'), "name"=>"Dr. Earl Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519610000'), "name"=>"Mr. Dewitt Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519620000'), "name"=>"Kenya Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519630000'), "name"=>"Marlon Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519640000'), "name"=>"Ms. Johnpaul Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519650000'), "name"=>"Idella Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519660000'), "name"=>"Samson Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519670000'), "name"=>"Hazel Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519680000'), "name"=>"Maximillia Ritchie I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519690000'), "name"=>"Duane Brown V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196a0000'), "name"=>"Mrs. Berry Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196b0000'), "name"=>"Delphine Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196c0000'), "name"=>"Noelia Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196d0000'), "name"=>"Jonathan Grimes PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196e0000'), "name"=>"Noemi Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325196f0000'), "name"=>"Mr. Harley Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325196f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519700000'), "name"=>"Kyler Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519710000'), "name"=>"Dave Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519720000'), "name"=>"Carley Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519730000'), "name"=>"Sarai Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519740000'), "name"=>"Chelsey Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519750000'), "name"=>"Dr. Christian Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519760000'), "name"=>"Marcel Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519770000'), "name"=>"Dusty Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519780000'), "name"=>"Lucy Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519790000'), "name"=>"Ocie Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197a0000'), "name"=>"Elise McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197b0000'), "name"=>"Mr. Jaylin Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197c0000'), "name"=>"Raoul Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197d0000'), "name"=>"Marshall Beatty DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197e0000'), "name"=>"Avery Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325197f0000'), "name"=>"Macie Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325197f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519800000'), "name"=>"Cooper Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519810000'), "name"=>"Hester Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519820000'), "name"=>"River Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519830000'), "name"=>"Geo Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519840000'), "name"=>"Lilla O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519850000'), "name"=>"Marina Zulauf Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519860000'), "name"=>"Jazmin Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519870000'), "name"=>"Laurie Hodkiewicz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519880000'), "name"=>"Elyssa Kiehn Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519890000'), "name"=>"Tiara Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198a0000'), "name"=>"Otha Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198b0000'), "name"=>"Daphney Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198c0000'), "name"=>"Leonard Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198d0000'), "name"=>"Pietro Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198e0000'), "name"=>"Ozella Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325198f0000'), "name"=>"Ms. Selina Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325198f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519900000'), "name"=>"Katlynn Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519910000'), "name"=>"Mattie Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519920000'), "name"=>"Leopold Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519930000'), "name"=>"Marilie Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519940000'), "name"=>"Dayna Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519950000'), "name"=>"Minnie Hamill I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519960000'), "name"=>"Conor Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519970000'), "name"=>"Kali Treutel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1796ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms Redirected to http://test.host/categories/5490435c7735332519980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1981ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519990000'), "name"=>"Newton Parker Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1933ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490435c7735332519990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c7735332519990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c7735332519990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1923ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325199a0000'), "name"=>"Antonio Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490435c77353325199a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c77353325199a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325199b0000'), "name"=>"Nicolas Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305378278584] runtime: 0.1094ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2535ms Completed 200 OK in 16ms (Views: 15.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325199c0000'), "name"=>"Ms. Gardner Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305230258025] runtime: 0.0740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2294ms Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325199d0000'), "name"=>"Mr. Henry Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c77353325199f0000'), "name"=>"Brennan Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490435c77353325199f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c77353325199f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c77353325199f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490435c7735332519a00000'), "name"=>"Tierra Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490435c7735332519a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c7735332519a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490435c7735332519a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490435c7735332519a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms Redirected to http://test.host/categories/5490435c7735332519a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519a10000'), "name"=>"Osbaldo O'Connell", "reference"=>"Salma Blanda V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519a20000'), "author_name"=>"Roberta Wintheiser", "content"=>["Molestias eos voluptatem velit sequi. Et animi et non totam sunt. Facere quia ut ad."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490435c7735332519a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490435c7735332519a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Redirected to http://test.host/products/5490435c7735332519a10000/comments/5490435c7735332519a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519a40000'), "name"=>"Jonatan Nitzsche", "reference"=>"Jaydon Beier", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519a50000'), "author_name"=>"Ms. Sandy Mayer", "content"=>["Deserunt architecto ut consectetur corporis nesciunt consequatur ea. Sint molestias molestiae et ipsam. Officiis aliquid et qui aut fugit sed et. Vitae officia nulla architecto molestiae."]}]}] 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('5490435c7735332519a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490435c7735332519a40000", "id"=>"5490435c7735332519a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a40000')} 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('5490435c7735332519a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490435c7735332519a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7569ms Redirected to http://test.host/products/5490435c7735332519a40000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519a60000'), "name"=>"Ms. Hazel Grant", "reference"=>"Llewellyn Hintz", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519a70000'), "author_name"=>"Wyman Crooks", "content"=>["Labore est beatae et nemo asperiores ut. Sit consequatur consequatur voluptatem perspiciatis. Odio sunt recusandae illum consequatur omnis excepturi quod. Earum fugiat exercitationem maxime mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490435c7735332519a60000", "id"=>"5490435c7735332519a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519a80000'), "name"=>"Baron McLaughlin", "reference"=>"Verda Olson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519a90000'), "author_name"=>"Odell Brekke", "content"=>["Repellendus illum provident sapiente dolore. Minima blanditiis et. Harum sunt reprehenderit ut culpa optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490435c7735332519a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519aa0000'), "name"=>"Schuyler O'Keefe", "reference"=>"Stewart Medhurst", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519ab0000'), "author_name"=>"Deshawn Beahan", "content"=>["Sit deserunt corrupti optio voluptatem inventore. Dignissimos ut perspiciatis nisi. Doloremque tempora repellendus sunt modi enim eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490435c7735332519aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519ac0000'), "name"=>"Jettie Ferry", "reference"=>"Santa Corwin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519ad0000'), "author_name"=>"Ms. Rosalyn Fahey", "content"=>["Sit nostrum mollitia nemo ipsam praesentium culpa soluta. Optio ad voluptate. Minima porro vitae omnis deserunt maiores. Omnis minus vero dignissimos repellat maxime voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490435c7735332519ac0000", "id"=>"5490435c7735332519ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519ae0000'), "name"=>"Doug Conn", "reference"=>"Mrs. Emile Lemke", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519af0000'), "author_name"=>"Ross Gerlach", "content"=>["Sint praesentium dolor. Quas aut dolores est. Atque quod aut nihil error id. Quos voluptatem pariatur dolorum beatae cupiditate perferendis sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490435c7735332519ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519b00000'), "name"=>"Mrs. Aliyah Bartoletti", "reference"=>"Kathleen Thiel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519b10000'), "author_name"=>"Kasandra Bergstrom", "content"=>["Nesciunt error id distinctio eum facere. Doloremque suscipit laudantium optio nisi. Non dignissimos aliquid quasi minus. Magni temporibus voluptate praesentium impedit. Veritatis esse delectus autem qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490435c7735332519b00000", "id"=>"5490435c7735332519b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519b20000'), "name"=>"Cleve Bayer", "reference"=>"Nash West", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490435c7735332519b30000'), "author_name"=>"Bruce Stanton", "content"=>["Adipisci sed cumque sed at exercitationem sint. Vel voluptatem accusantium neque rerum. Non aperiam est fuga quam quia sunt. Voluptatem aut excepturi. Ut consequatur atque laborum aut dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490435c7735332519b30000", "product_id"=>"5490435c7735332519b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519b20000'), "comments._id"=>BSON::ObjectId('5490435c7735332519b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Redirected to http://test.host/products/5490435c7735332519b20000/comments/5490435c7735332519b30000 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('5490435c7735332519b40000'), "firstname"=>"Casper", "lastname"=>"Jakubowski"}] 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=>"clients", :query=>{}} runtime: 0.2250ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms Redirected to http://test.host/admin/clients/5490435c7735332519b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519b60000'), "firstname"=>"Solon", "lastname"=>"Watsica"}] 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=>"clients", :query=>{}} runtime: 0.1904ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490435c7735332519b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519b60000')} 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('5490435c7735332519b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms 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('5490435c7735332519b70000'), "firstname"=>"Devin", "lastname"=>"Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490435c7735332519b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('5490435c7735332519b80000'), "firstname"=>"Heaven", "lastname"=>"Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('5490435c7735332519b90000'), "firstname"=>"Kaylie", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 37ms (Views: 36.6ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519ba0000'), "firstname"=>"Royce", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490435c7735332519ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms 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('5490435c7735332519bb0000'), "firstname"=>"Roy", "lastname"=>"Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490435c7735332519bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2108ms Redirected to http://test.host/admin/clients/5490435c7735332519bb0000 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('5490435c7735332519bc0000'), "firstname"=>"Ola", "lastname"=>"Mayer"}] 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=>"clients", :query=>{}} runtime: 0.2363ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms Redirected to http://test.host/clients/5490435c7735332519bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2741ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519be0000'), "firstname"=>"Brisa", "lastname"=>"Volkman"}] 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.2429ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490435c7735332519be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519be0000')} 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('5490435c7735332519be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms 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.2361ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519bf0000'), "firstname"=>"Andreanne", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490435c7735332519bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490435c7735332519c00000'), "firstname"=>"Adolf", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms 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('5490435c7735332519c10000'), "firstname"=>"Teagan", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('5490435c7735332519c20000'), "firstname"=>"Mateo", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490435c7735332519c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490435c7735332519c30000'), "firstname"=>"Hipolito", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490435c7735332519c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490435c7735332519c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms Redirected to http://test.host/clients/5490435c7735332519c30000 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('5490435c7735332519c40000'), "name"=>"Mrs. Vernon Muller", "reference"=>"Mittie Upton II", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519c50000'), "firstname"=>"Ezra", "lastname"=>"Abshire"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490435c7735332519c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms Redirected to http://test.host/products/5490435c7735332519c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519c70000'), "name"=>"Destini Hayes", "reference"=>"Hollie Zemlak", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519c80000'), "firstname"=>"Jevon", "lastname"=>"Fay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490435c7735332519c80000", "product_id"=>"5490435c7735332519c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519c90000'), "name"=>"Raquel Lueilwitz", "reference"=>"Jayme Wunsch I", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519ca0000'), "firstname"=>"Keon", "lastname"=>"Spinka"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490435c7735332519c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519cb0000'), "name"=>"Hortense Fisher V", "reference"=>"Shannon Zieme", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519cc0000'), "firstname"=>"Josh", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490435c7735332519cc0000", "product_id"=>"5490435c7735332519cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519cd0000'), "name"=>"Rafaela McLaughlin", "reference"=>"Claud Towne", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490435c7735332519ce0000'), "firstname"=>"Nellie", "lastname"=>"Terry"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490435c7735332519ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490435c7735332519cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms Unpermitted parameters: name Redirected to http://test.host/products/5490435c7735332519cd0000/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('5490435c7735332519cf0000'), "name"=>"Mr. Scottie Ratke", "reference"=>"Sarah Blanda Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d00000'), "name"=>"Dr. Maeve Reynolds", "reference"=>"Lina Hermiston", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d10000'), "name"=>"Jeffry Auer", "reference"=>"Hertha Olson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d20000'), "name"=>"Nya Beer III", "reference"=>"Aurore McLaughlin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d30000'), "name"=>"Jaylin Jacobi", "reference"=>"Hettie Rath", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d40000'), "name"=>"Miss Tad Parker", "reference"=>"Miss Abe Schuster", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1931ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms Redirected to http://test.host/products/5490435c7735332519d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2039ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d60000'), "name"=>"Mrs. Rosemary Kerluke", "reference"=>"Miss Piper Padberg", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1773ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490435c7735332519d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms 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.2029ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d70000'), "name"=>"Jeromy Williamson MD", "reference"=>"Shayne Spinka", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490435c7735332519d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435c7735332519d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('5490435c7735332519d80000'), "name"=>"Dr. Tracey Senger", "reference"=>"Daisha Kiehn DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5877ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968362446] runtime: 0.1235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4361ms Completed 200 OK in 19ms (Views: 18.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519d90000'), "name"=>"Mr. Eugene Treutel", "reference"=>"Jameson Blick", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519da0000'), "name"=>"HelloWorld", "reference"=>"Audie Metz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519db0000'), "name"=>"value", "reference"=>"Brent Gerhold", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5312ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3797ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3516ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3337ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2238ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3453ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2812ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2225ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435c7735332519dc0000'), "name"=>"Brian Deckow", "reference"=>"Lucinda Douglas", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062128876] runtime: 0.1089ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3396ms Completed 200 OK in 18ms (Views: 16.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304838079] runtime: 0.0712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713748671] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280997089791] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220073048] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886010441] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672126280] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280586577318] runtime: 0.1358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280206957386] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279638921063] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279337430252] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362997286] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281013923130] runtime: 0.0756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450165661] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280027907961] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279350114791] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281216110706] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162148821] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280275903741] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280102498924] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241129523] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8820ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193156333] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279999452177] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280277023687] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005506347] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8763ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279468345748] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279247156138] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150319395] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279382393581] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279279368927] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947534237] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280358016575] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736161388] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8334ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280840263956] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040644388] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983971138] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651253998] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873654784] runtime: 0.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279936133667] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715349499] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281146746407] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8481ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133890947] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600243790] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279824430412] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280850643055] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279264042953] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279991083188] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280350559349] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279836624668] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280691000688] runtime: 0.0667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475881419] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280853590959] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280181797073] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6501ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281316812128] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783628613] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280946761249] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280283615167] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281100583036] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279237871460] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500820840] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280624753732] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279444087689] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478231567] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280980031162] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281090010180] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998119854] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280374149277] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280981363714] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279990204979] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281316884164] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.0572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571564360] runtime: 0.1117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279824687870] runtime: 0.0871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552039156] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221827240] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082510179] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917010869] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280937071741] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561647675] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279386889758] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280241759986] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280966236437] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643682716] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279646743405] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105161326] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209841983] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751930381] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8452ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280390455648] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671042352] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478018049] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253155422] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280811014371] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666647132] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7088ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280073222484] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6772ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982005383] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885371406] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280149904598] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280753648220] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280835606018] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310783943] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279973655274] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280440278803] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392647990] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116953407] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280239278463] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918438921] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532954746] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279192687506] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280268273977] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471027003] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384409805] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280178976922] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279867481452] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491653584] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446316421] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976157742] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281134354832] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892870258] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535038314] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280753646442] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857384044] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892193292] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078556482] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279532466657] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480629716] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908793334] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280684319276] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122212726] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279653272019] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280319141892] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636265744] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280216301808] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279992027700] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677294242] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281221419365] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279979825190] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870614779] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207221561] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280602472804] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549985228] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280305150427] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279740822876] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279787232978] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279729634022] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281131007209] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281240016886] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557567628] runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279309846129] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091075177] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222717167] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279534840034] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280478530991] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541853590] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933540024] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279636951420] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280184666211] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615509051] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280513823324] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678175356] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646805116] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633491384] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224475944] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929936169] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623231856] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279459386803] runtime: 0.0440ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519dd0000'), "name"=>"Verner Terry", "reference"=>"Euna Boehm I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3425ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519de0000'), "name"=>"Naomi Prosacco Sr.", "reference"=>"Dillon Monahan", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280761158610] runtime: 0.0792ms Completed 200 OK in 5ms (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('5490435d7735332519df0000'), "name"=>"Therese Von PhD", "reference"=>"Noelia Collins", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490435d7735332519df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3772ms 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('5490435d7735332519e00000'), "name"=>"Dr. Irving Cremin", "reference"=>"Kacie Stokes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e20000'), "name"=>"Bridgette Metz MD", "reference"=>"Ms. Vance Cruickshank", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5804ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490435d7735332519e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4065ms Completed 200 OK in 4ms (Views: 2.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e30000'), "name"=>"Alice Keebler", "reference"=>"Malcolm DuBuque", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435b7735332519060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e40000'), "name"=>"Ms. Seamus Sauer", "reference"=>"Talia Becker", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4213ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e50000'), "name"=>"Mrs. Jody O'Reilly", "reference"=>"Zelma Moore", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3058ms Completed 200 OK in 5ms (Views: 3.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e60000'), "name"=>"Ryan Weissnat", "reference"=>"Juliana Eichmann", "quantity"=>8}] 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.2431ms 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('5490435d7735332519e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2498ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519e80000'), "name"=>"Lavada Powlowski", "reference"=>"Raoul Mitchell", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490435d7735332519e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms 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('5490435d7735332519e90000'), "name"=>"Jessica Braun", "reference"=>"Miracle D'Amore", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms 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('5490435d7735332519eb0000'), "name"=>"Jessica Olson", "reference"=>"Carlos Maggio Jr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490435d7735332519eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms 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('5490435d7735332519ec0000'), "name"=>"Fabian Crona", "reference"=>"Gabriel Ullrich IV", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490435d7735332519ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms Redirected to http://test.host/products/5490435d7735332519ec0000 Completed 302 Found in 35ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519ef0000'), "name"=>"Lon Lemke", "reference"=>"Bettye Lesch", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519ed0000'), "author_name"=>"Mavis Maggio", "content"=>["Quod repudiandae modi maxime. Enim nemo libero molestiae rem et atque quaerat. Et tempore est."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519ee0000'), "author_name"=>"Damion Medhurst", "content"=>["Modi magni ipsam doloribus. Doloribus dolorem voluptatem qui hic odit officia. Suscipit tempora dolores ut autem corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490435d7735332519ef0000", "comment_id"=>"5490435d7735332519ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ef0000'), "comments._id"=>BSON::ObjectId('5490435d7735332519ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490435d7735332519f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6784ms Redirected to http://test.host/products/5490435d7735332519ef0000/comments/5490435d7735332519ed0000/comments/5490435d7735332519f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519f30000'), "name"=>"Dustin Kautzer", "reference"=>"Velma Lakin IV", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f10000'), "author_name"=>"Lupe Senger IV", "content"=>["Soluta nihil voluptatem vel exercitationem praesentium non dolore. Molestiae tempore accusamus est sunt explicabo aut. Incidunt delectus rerum totam sequi."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f20000'), "author_name"=>"Dayne Purdy", "content"=>["Omnis dolores saepe repudiandae ab porro. Quia et enim maxime vero expedita tempora non. Dicta inventore totam sint et quae. Consequuntur et qui corrupti atque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490435d7735332519f30000", "comment_id"=>"5490435d7735332519f10000", "id"=>"5490435d7735332519f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f30000'), "comments._id"=>BSON::ObjectId('5490435d7735332519f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490435d7735332519f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6572ms Redirected to http://test.host/products/5490435d7735332519f30000/comments/5490435d7735332519f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519f60000'), "name"=>"Adam Marks", "reference"=>"May Barton I", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f40000'), "author_name"=>"Nash Parker I", "content"=>["Id tempora ea. Ab aperiam molestias facere perspiciatis eius culpa non. Repellat est molestiae vero rerum sunt aut. Ea qui quia. Distinctio cum deleniti est quod dolore eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f50000'), "author_name"=>"Glennie Becker", "content"=>["Et quaerat exercitationem odio ut voluptate occaecati perspiciatis. Modi voluptates non. Nihil architecto maiores recusandae dolor. Sit ullam tenetur minus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490435d7735332519f60000", "comment_id"=>"5490435d7735332519f40000", "id"=>"5490435d7735332519f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4244ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519f90000'), "name"=>"Chauncey Kemmer", "reference"=>"Mrs. Darren Jast", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f70000'), "author_name"=>"Aryanna Heller V", "content"=>["Aut dolorem ex magni qui quia non. Et labore itaque. Natus id sit enim eos. Eveniet exercitationem vitae non similique vel."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519f80000'), "author_name"=>"Nicholaus Mante", "content"=>["Veritatis rerum quas. Quam dolores sunt accusamus iusto. Libero ducimus ratione deleniti expedita."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490435d7735332519f90000", "comment_id"=>"5490435d7735332519f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519fc0000'), "name"=>"Mrs. Dereck Wiza", "reference"=>"Chauncey Pfannerstill", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519fa0000'), "author_name"=>"Miss Scottie Kertzmann", "content"=>["Possimus necessitatibus porro minus sint quas provident. Animi ipsum eum facere assumenda modi neque. Ea animi ipsa commodi hic nihil non. Non et inventore sapiente. Accusamus est nulla enim laudantium perferendis."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519fb0000'), "author_name"=>"Mrs. Bria Feest", "content"=>["Repellendus earum nihil. Vitae dignissimos possimus quia. Aut placeat nemo rerum voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490435d7735332519fc0000", "comment_id"=>"5490435d7735332519fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519ff0000'), "name"=>"Gerald Cole", "reference"=>"Dr. Mathew Hessel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519fd0000'), "author_name"=>"Treva Carroll", "content"=>["Labore modi ea consectetur aut nihil. Dicta veritatis ea voluptatem in doloremque recusandae. Cupiditate exercitationem minima iusto hic officiis error ex. Est rerum quos quia quia quibusdam ut harum."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519fe0000'), "author_name"=>"Abdul Rodriguez DVM", "content"=>["Suscipit voluptas dolores qui sint nostrum dolorum tempora. Ut commodi dignissimos nesciunt corrupti et dolorem voluptatibus. Est et velit nisi et quia ipsum. Quia tenetur ipsum neque. Omnis sed dolor sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490435d7735332519ff0000", "comment_id"=>"5490435d7735332519fd0000", "id"=>"5490435d7735332519fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519020100'), "name"=>"Ms. Weston Kunze", "reference"=>"Oscar Runolfsdottir", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519000100'), "author_name"=>"Victor Kohler Jr.", "content"=>["Accusamus amet quis exercitationem officiis. Ipsa totam dolores provident ullam ipsam iure. Asperiores rerum in et."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519010100'), "author_name"=>"Miss Malika Hoeger", "content"=>["Iure explicabo aut assumenda eos corrupti impedit. Facere cupiditate sequi officiis ex quisquam esse. Quod velit quia doloremque perspiciatis. Fugit sequi qui totam quasi sunt aperiam. Voluptas id numquam voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490435d7735332519020100", "comment_id"=>"5490435d7735332519000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519050100'), "name"=>"Henriette Stehr", "reference"=>"Sydnee Zboncak PhD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519030100'), "author_name"=>"Mckayla Kuhic", "content"=>["Officiis molestiae beatae qui atque. Officia explicabo quo. Qui ad veritatis ut aut."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519040100'), "author_name"=>"Jackson Sporer I", "content"=>["Incidunt vero architecto cumque veritatis cum aspernatur. Nostrum et porro placeat quo sunt fugiat similique. Neque eaque itaque nihil eos dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490435d7735332519050100", "comment_id"=>"5490435d7735332519030100", "id"=>"5490435d7735332519040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490435d7735332519080100'), "name"=>"Andy Schowalter", "reference"=>"Miss Katrine Boehm", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519060100'), "author_name"=>"Jalon Oberbrunner", "content"=>["Sapiente qui autem sint et. Dolores et voluptatibus quia. Debitis ducimus nisi. Laborum tempore aut rerum."], "comments"=>[{"_id"=>BSON::ObjectId('5490435d7735332519070100'), "author_name"=>"Brionna Hettinger", "content"=>["Culpa voluptatem aperiam voluptatum vel odio minima. Laudantium earum explicabo dolores. At omnis nihil. Nam omnis perspiciatis ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490435d7735332519070100", "product_id"=>"5490435d7735332519080100", "comment_id"=>"5490435d7735332519060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490435d7735332519080100'), "comments._id"=>BSON::ObjectId('5490435d7735332519060100'), "comments.0.comments._id"=>BSON::ObjectId('5490435d7735332519070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms Redirected to http://test.host/products/5490435d7735332519080100/comments/5490435d7735332519060100/comments/5490435d7735332519070100 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('5490435d7735332519090100'), "firstname"=>"Velva", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2268ms 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('5490435d77353325190a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms Redirected to http://test.host/users/5490435d77353325190a0100 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('5490435d77353325190b0100'), "firstname"=>"Braeden", "lastname"=>"Tromp"}] 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.2003ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490435d77353325190b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435d77353325190b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435d77353325190b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms 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.1960ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435d77353325190c0100'), "firstname"=>"Brody", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490435d77353325190c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435d77353325190c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (28.3ms) Completed 200 OK in 33ms (Views: 31.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435d77353325190d0100'), "firstname"=>"Earnest", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms 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 43ms (Views: 42.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435d77353325190e0100'), "firstname"=>"Autumn", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4777ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490435d77353325190f0100'), "firstname"=>"Alexa", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490435d77353325190f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435d77353325190f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490435d7735332519100100'), "firstname"=>"Emmie", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490435d7735332519100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490435d7735332519100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Unpermitted parameters: name Redirected to http://test.host/users/5490435d7735332519100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil 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.2455ms MOPED: 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=admin_users selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms 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.2009ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f000000'), "firstname"=>"Garland", "lastname"=>"Cole"}] 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=>"administrators", :query=>{}} runtime: 0.1795ms 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('5490447e773533261f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms 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.2188ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f020000'), "firstname"=>"Darion", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490447e773533261f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f030000'), "firstname"=>"Emie", "lastname"=>"King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.3713ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f040000'), "firstname"=>"Rylan", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490447e773533261f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f050000'), "firstname"=>"Grover", "lastname"=>"Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490447e773533261f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms 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('5490447e773533261f060000'), "name"=>"Bethel King", "reference"=>"Jacynthe Goyette", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f070000'), "author_name"=>"Haskell Hermiston", "content"=>["Cumque animi aut iure. Aut vitae fugiat accusamus tenetur sint. Incidunt quasi quod blanditiis voluptas suscipit occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490447e773533261f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490447e773533261f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms Redirected to http://test.host/admin/products/5490447e773533261f060000/comments/5490447e773533261f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3954ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f090000'), "name"=>"Jodie Prohaska", "reference"=>"Lois Yundt", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f0a0000'), "author_name"=>"Henriette Sporer", "content"=>["Et ducimus reiciendis voluptatem error doloribus. Dolor atque suscipit modi magni quas quia. Qui sint quo eos voluptatum. Consequatur rerum repellat similique aut et molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490447e773533261f090000", "id"=>"5490447e773533261f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490447e773533261f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms Redirected to http://test.host/admin/products/5490447e773533261f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f0b0000'), "name"=>"Mack Purdy", "reference"=>"Miss Stuart Grimes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f0c0000'), "author_name"=>"Jadyn Lehner DVM", "content"=>["Ipsa dolor velit labore. Consectetur eum et adipisci velit. Sed non inventore delectus sed aut. Molestiae exercitationem voluptas tempora."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5630ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490447e773533261f0b0000", "id"=>"5490447e773533261f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f0d0000'), "name"=>"Howell Morar", "reference"=>"Reva Wilderman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f0e0000'), "author_name"=>"Cedrick Sporer", "content"=>["Sunt aut incidunt expedita sed eligendi. Aut tempore reiciendis dolores. Dolorem sequi rerum mollitia autem culpa accusamus. Reiciendis et et nobis quo. A quis amet."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490447e773533261f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f0f0000'), "name"=>"Kiana Rogahn", "reference"=>"Deborah Sanford DVM", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f100000'), "author_name"=>"Pat Tromp", "content"=>["Dolor similique deserunt sed quae vitae voluptatem. Aspernatur consequatur commodi ullam ipsa at perspiciatis. Fugit consequuntur dolorem totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490447e773533261f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f110000'), "name"=>"Dr. General Hane", "reference"=>"Hope Klein", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f120000'), "author_name"=>"Kavon Vandervort", "content"=>["Odio qui enim animi dicta et accusantium. Consectetur fuga magnam quia quasi aperiam. Excepturi magnam voluptas fugit at."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490447e773533261f110000", "id"=>"5490447e773533261f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f130000'), "name"=>"Caden Treutel Sr.", "reference"=>"Conner Jacobi III", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447e773533261f140000'), "author_name"=>"Roger Watsica", "content"=>["Possimus voluptas nisi minima. Facilis voluptas autem earum. Ea saepe ullam praesentium esse recusandae magni explicabo. Assumenda vero voluptatum voluptatem dolores fuga et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490447e773533261f140000", "product_id"=>"5490447e773533261f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f130000')} 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('5490447e773533261f130000'), "comments._id"=>BSON::ObjectId('5490447e773533261f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Redirected to http://test.host/admin/products/5490447e773533261f130000/comments/5490447e773533261f140000 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('5490447e773533261f150000'), "name"=>"Mack Legros II", "reference"=>"Lazaro Barton Jr.", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f160000'), "firstname"=>"Eulah", "lastname"=>"Greenholt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490447e773533261f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms Redirected to http://test.host/admin/products/5490447e773533261f150000/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('5490447e773533261f180000'), "name"=>"Dr. Allan Reichel", "reference"=>"Uriah Witting", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f190000'), "firstname"=>"Elliot", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490447e773533261f190000", "product_id"=>"5490447e773533261f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f1a0000'), "name"=>"Carole Keebler PhD", "reference"=>"Torrey McKenzie", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f1b0000'), "firstname"=>"Loma", "lastname"=>"Hagenes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490447e773533261f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f1c0000'), "name"=>"Katlynn Fadel", "reference"=>"Jedediah Torp", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f1d0000'), "firstname"=>"Nelda", "lastname"=>"Kshlerin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490447e773533261f1d0000", "product_id"=>"5490447e773533261f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f1e0000'), "name"=>"Deanna Cummings", "reference"=>"Dimitri Turner", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490447e773533261f1f0000'), "firstname"=>"Lorine", "lastname"=>"Predovic"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3190ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490447e773533261f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490447e773533261f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490447e773533261f1e0000/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('5490447e773533261f200000'), "name"=>"Marilou Morar", "reference"=>"Bertram Johnston II", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1923ms 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('5490447e773533261f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms Redirected to http://test.host/admin/products/5490447e773533261f210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2069ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f220000'), "name"=>"Mr. Maude Kilback", "reference"=>"Mr. Eddie Koelpin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1886ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490447e773533261f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms 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.2056ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f230000'), "name"=>"Janis Zulauf", "reference"=>"Bette Reichel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490447e773533261f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f240000'), "name"=>"Gavin Kautzer", "reference"=>"Harmony Gorczany III", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms 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 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f250000'), "name"=>"Ms. Haylie Sporer", "reference"=>"Rene Fay", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 19ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447e773533261f280000'), "name"=>"Thomas Hessel", "reference"=>"Stephan Schuster DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490447e773533261f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms 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('5490447e773533261f290000'), "name"=>"Ashton Schamberger I", "reference"=>"Miss Rosina Ankunding", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490447e773533261f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Redirected to http://test.host/admin/products/5490447e773533261f290000 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('5490447e773533261f2a0000'), "firstname"=>"Jordane", "lastname"=>"O'Conner"}] 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.2258ms 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('5490447e773533261f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms Redirected to http://test.host/admin/users/5490447e773533261f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2249ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490447e773533261f2c0000'), "firstname"=>"Lew", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1933ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490447e773533261f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490447e773533261f2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490447e773533261f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms 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.1894ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490447e773533261f2d0000'), "firstname"=>"Kianna", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490447e773533261f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490447e773533261f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490447e773533261f2e0000'), "firstname"=>"Aaliyah", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms 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.3257ms 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('5490447e773533261f2f0000'), "firstname"=>"Fabian", "lastname"=>"Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490447e773533261f300000'), "firstname"=>"Rickie", "lastname"=>"Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490447e773533261f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490447e773533261f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Completed 200 OK in 4ms (Views: 2.2ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490447e773533261f310000'), "firstname"=>"Roy", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490447e773533261f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490447e773533261f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490447e773533261f310000 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('5490447e773533261f320000'), "firstname"=>"Jacklyn", "lastname"=>"Parker"}] 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=>"administrators", :query=>{}} runtime: 0.1881ms 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('5490447e773533261f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms 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.2042ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f340000'), "firstname"=>"Jovany", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490447e773533261f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f350000'), "firstname"=>"Petra", "lastname"=>"Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f360000'), "firstname"=>"Friedrich", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490447e773533261f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490447e773533261f370000'), "firstname"=>"Santina", "lastname"=>"Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490447e773533261f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490447e773533261f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f380000'), "name"=>"Hilbert Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f390000'), "name"=>"Daija Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3a0000'), "name"=>"Leta Flatley DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3b0000'), "name"=>"Haylie Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3c0000'), "name"=>"Cristopher Effertz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3d0000'), "name"=>"Stanley Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3e0000'), "name"=>"Donna Hackett IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f3f0000'), "name"=>"Lizzie Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f400000'), "name"=>"Jackie Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f410000'), "name"=>"Effie Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f420000'), "name"=>"Dr. Cara Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f430000'), "name"=>"Miss Wilber VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f440000'), "name"=>"Allison Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f450000'), "name"=>"Benedict Hoeger II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f460000'), "name"=>"Steve Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f470000'), "name"=>"Gussie Parker DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f480000'), "name"=>"Hanna Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f490000'), "name"=>"Chet Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4a0000'), "name"=>"Terrill Dare V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4b0000'), "name"=>"Mrs. Stephan Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4c0000'), "name"=>"Tomasa Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4d0000'), "name"=>"Mr. Rozella Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4e0000'), "name"=>"Lenna Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f4f0000'), "name"=>"Wilhelmine Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f500000'), "name"=>"Mr. Emerson Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f510000'), "name"=>"Leon Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f520000'), "name"=>"Shanelle Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f530000'), "name"=>"Mr. Nicolette Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f540000'), "name"=>"Mrs. Jon Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f550000'), "name"=>"Enola Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f560000'), "name"=>"Marlin Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f570000'), "name"=>"Allison Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f580000'), "name"=>"Mrs. Enrico White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f590000'), "name"=>"Kamryn Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5a0000'), "name"=>"Mrs. Rubye Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5b0000'), "name"=>"Miss Marlee Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5c0000'), "name"=>"Mr. Earline Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5d0000'), "name"=>"Tamara Wiegand PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5e0000'), "name"=>"Brenden Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f5f0000'), "name"=>"Summer Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f600000'), "name"=>"Doris Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f610000'), "name"=>"Sven Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f620000'), "name"=>"Adelbert Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f630000'), "name"=>"Jesse Kertzmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f640000'), "name"=>"Mr. Kacey Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f650000'), "name"=>"Price O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f660000'), "name"=>"Waldo King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f670000'), "name"=>"Loraine Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f680000'), "name"=>"Mackenzie Turcotte IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f690000'), "name"=>"Armando Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6a0000'), "name"=>"Mr. Amari Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6b0000'), "name"=>"Tomasa Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6c0000'), "name"=>"Mr. Andreanne Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6d0000'), "name"=>"Vicenta Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6e0000'), "name"=>"Malcolm Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f6f0000'), "name"=>"Ms. Zachariah Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f700000'), "name"=>"Buddy Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f710000'), "name"=>"Ford Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f720000'), "name"=>"Brendon Runolfsdottir PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f730000'), "name"=>"Makayla Lebsack Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f740000'), "name"=>"Myah Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f750000'), "name"=>"Marisol Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f760000'), "name"=>"Eda Mraz III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f770000'), "name"=>"Hailee Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f780000'), "name"=>"Maximo Bernier I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f790000'), "name"=>"Ian Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7a0000'), "name"=>"Miss Genoveva Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7b0000'), "name"=>"Felicita Balistreri Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7c0000'), "name"=>"Sydnee McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7d0000'), "name"=>"Ramona Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7e0000'), "name"=>"Bradley Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f7f0000'), "name"=>"Ms. Dorothy Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f800000'), "name"=>"Pink Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f810000'), "name"=>"Cloyd Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4393ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f820000'), "name"=>"Urban Goodwin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f830000'), "name"=>"Lonie Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f840000'), "name"=>"Deonte Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f850000'), "name"=>"Dr. Kayleigh Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f860000'), "name"=>"Johnathon Casper II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f870000'), "name"=>"Stefan Harber Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f880000'), "name"=>"Mrs. Houston Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f890000'), "name"=>"Kiley Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8a0000'), "name"=>"Erin Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8b0000'), "name"=>"Kolby Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8c0000'), "name"=>"Ali Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8d0000'), "name"=>"Talia Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8e0000'), "name"=>"Orlando Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f8f0000'), "name"=>"Shanna Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f900000'), "name"=>"Randy Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f910000'), "name"=>"Jordi Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f920000'), "name"=>"Jasen Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f930000'), "name"=>"Davin Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1848ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f940000'), "name"=>"Marielle Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f950000'), "name"=>"Amie Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f960000'), "name"=>"Emory Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f970000'), "name"=>"Jacinthe Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1889ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms Redirected to http://test.host/categories/5490447e773533261f980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2293ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f990000'), "name"=>"Gladys Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1964ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490447e773533261f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2549ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f9a0000'), "name"=>"Mr. Felicita Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490447e773533261f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f9b0000'), "name"=>"Kamron Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305331595051] runtime: 0.0893ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3058ms Completed 200 OK in 16ms (Views: 15.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f9c0000'), "name"=>"Axel Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305984142817] runtime: 0.0778ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2748ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f9d0000'), "name"=>"Ashley Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 7ms (Views: 6.5ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261f9f0000'), "name"=>"Marilou Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490447e773533261f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490447e773533261fa00000'), "name"=>"Jaunita Conroy"}] 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={"category_id"=>BSON::ObjectId('5490447e773533261fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490447e773533261fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490447e773533261fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490447e773533261fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Redirected to http://test.host/categories/5490447e773533261fa00000 Completed 302 Found in 12ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fa10000'), "name"=>"Chase Heller", "reference"=>"Johann Gleason", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fa20000'), "author_name"=>"Marlene Predovic III", "content"=>["Eaque eius inventore. Sunt aperiam inventore ut. Dolor repudiandae voluptates ipsa voluptatem fuga distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3799ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490447f773533261fa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4623ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490447f773533261fa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms Redirected to http://test.host/products/5490447f773533261fa10000/comments/5490447f773533261fa30000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fa40000'), "name"=>"Kenneth Maggio", "reference"=>"Mrs. Jacey Welch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fa50000'), "author_name"=>"Mark Jacobson PhD", "content"=>["Minima voluptatem aut. Error dolores inventore et. Omnis dolorem laborum voluptatem magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4518ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490447f773533261fa40000", "id"=>"5490447f773533261fa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4206ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490447f773533261fa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Redirected to http://test.host/products/5490447f773533261fa40000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fa60000'), "name"=>"Miss Pascale VonRueden", "reference"=>"Miss Jarred Paucek", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fa70000'), "author_name"=>"Candida Witting II", "content"=>["Soluta totam beatae. Assumenda est sunt beatae aspernatur nisi. Consequatur inventore dolorum sapiente doloribus eligendi minus. Eaque omnis et doloribus accusantium. Consequatur maiores dolorum ex porro voluptatum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5925ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490447f773533261fa60000", "id"=>"5490447f773533261fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fa80000'), "name"=>"Ashlee Parisian II", "reference"=>"Dr. Jameson Hermiston", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fa90000'), "author_name"=>"Ara Pagac", "content"=>["Id harum similique ullam. Ut est totam tempore id minus quisquam quidem. Odio laudantium neque dolorem possimus unde vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5382ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490447f773533261fa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261faa0000'), "name"=>"Braden Kunze", "reference"=>"Anika Flatley", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fab0000'), "author_name"=>"Berneice Lubowitz", "content"=>["Repudiandae officiis velit. Esse necessitatibus aut iste non occaecati. Necessitatibus vero aut ut aut. Recusandae cum excepturi quia autem assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5485ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490447f773533261faa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fac0000'), "name"=>"Darrell Shanahan", "reference"=>"Emelia Daniel", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fad0000'), "author_name"=>"Felton Johnston", "content"=>["Vel in repellat. Deleniti quam non commodi ut. Quasi voluptatibus incidunt id quo ex rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490447f773533261fac0000", "id"=>"5490447f773533261fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fae0000'), "name"=>"Hillary Hartmann", "reference"=>"Corene Streich", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261faf0000'), "author_name"=>"Miss Misty Nolan", "content"=>["Nihil ipsum sed. Praesentium quia enim repellat veniam labore dolor. Nemo molestiae magnam officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490447f773533261fae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb00000'), "name"=>"Jaren Jenkins I", "reference"=>"Sierra Veum", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fb10000'), "author_name"=>"Elinore Shields", "content"=>["Ducimus autem voluptatem facere velit. Aperiam blanditiis quasi ipsa praesentium architecto. Voluptatibus laborum adipisci repudiandae et porro et. Modi expedita sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5889ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490447f773533261fb00000", "id"=>"5490447f773533261fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4149ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb20000'), "name"=>"Crystal Douglas", "reference"=>"Rubie Orn", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fb30000'), "author_name"=>"Godfrey Waters", "content"=>["Sed et quos rem est. Itaque dignissimos incidunt nihil qui quam illo libero. Vel iure voluptatum assumenda beatae. Temporibus vitae perspiciatis et ut sint. Ut cupiditate debitis voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490447f773533261fb30000", "product_id"=>"5490447f773533261fb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fb20000'), "comments._id"=>BSON::ObjectId('5490447f773533261fb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6058ms Redirected to http://test.host/products/5490447f773533261fb20000/comments/5490447f773533261fb30000 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('5490447f773533261fb40000'), "firstname"=>"Rupert", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5719ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2914ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Redirected to http://test.host/admin/clients/5490447f773533261fb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2740ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb60000'), "firstname"=>"Leda", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2690ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490447f773533261fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms 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.2564ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb70000'), "firstname"=>"Harmony", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490447f773533261fb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 7.1ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fb80000'), "firstname"=>"Maryam", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4492ms 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('5490447f773533261fb90000'), "firstname"=>"Camden", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.2ms) Completed 200 OK in 40ms (Views: 39.3ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fba0000'), "firstname"=>"Anabel", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490447f773533261fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms Completed 200 OK in 5ms (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('5490447f773533261fbb0000'), "firstname"=>"Javier", "lastname"=>"Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1129ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490447f773533261fbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms Redirected to http://test.host/admin/clients/5490447f773533261fbb0000 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('5490447f773533261fbc0000'), "firstname"=>"Rusty", "lastname"=>"Brakus"}] 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=>"clients", :query=>{}} runtime: 0.1946ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Redirected to http://test.host/clients/5490447f773533261fbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1707ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fbe0000'), "firstname"=>"Arno", "lastname"=>"Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms 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"=>"5490447f773533261fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms 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.1640ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490447f773533261fbf0000'), "firstname"=>"Clarabelle", "lastname"=>"Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490447f773533261fbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms Rendered /home/geoffroy/projects/crealettres/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('5490447f773533261fc00000'), "firstname"=>"Coty", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms 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('5490447f773533261fc10000'), "firstname"=>"Andreanne", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('5490447f773533261fc20000'), "firstname"=>"Mariela", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490447f773533261fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms 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('5490447f773533261fc30000'), "firstname"=>"Greyson", "lastname"=>"Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490447f773533261fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490447f773533261fc30000')} 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('5490447f773533261fc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms Redirected to http://test.host/clients/5490447f773533261fc30000 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('5490447f773533261fc40000'), "name"=>"Lafayette Satterfield", "reference"=>"Kieran Nicolas DDS", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fc50000'), "firstname"=>"Cristina", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490447f773533261fc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms Redirected to http://test.host/products/5490447f773533261fc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fc70000'), "name"=>"Eloisa Lind", "reference"=>"Katelynn Bauch", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fc80000'), "firstname"=>"Maxwell", "lastname"=>"Johnston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490447f773533261fc80000", "product_id"=>"5490447f773533261fc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fc90000'), "name"=>"Shawna Pagac", "reference"=>"Mohammad Murazik DDS", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fca0000'), "firstname"=>"Madilyn", "lastname"=>"Schuppe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490447f773533261fc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fcb0000'), "name"=>"Verla Wuckert", "reference"=>"Theo Schiller Jr.", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fcc0000'), "firstname"=>"Aleen", "lastname"=>"Monahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490447f773533261fcc0000", "product_id"=>"5490447f773533261fcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fcd0000'), "name"=>"Chloe Pollich", "reference"=>"Birdie Lakin", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490447f773533261fce0000'), "firstname"=>"Lisa", "lastname"=>"Moen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490447f773533261fce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490447f773533261fcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms Unpermitted parameters: name Redirected to http://test.host/products/5490447f773533261fcd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fcf0000'), "name"=>"Bruce Little", "reference"=>"Kristian O'Reilly", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd00000'), "name"=>"Zackary Witting", "reference"=>"Jillian Wunsch Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd10000'), "name"=>"Santa Kutch", "reference"=>"Michele Schroeder DDS", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd20000'), "name"=>"Chaim Ritchie", "reference"=>"Abdiel Schamberger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd30000'), "name"=>"Leo Oberbrunner II", "reference"=>"Karine Leannon", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd40000'), "name"=>"Tad Hackett", "reference"=>"Alexandre Leffler DDS", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms Redirected to http://test.host/products/5490447f773533261fd50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2423ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd60000'), "name"=>"Leda McClure", "reference"=>"Jake Willms", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1979ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490447f773533261fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms 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.1740ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd70000'), "name"=>"Maribel Hegmann", "reference"=>"Taya Miller", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490447f773533261fd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('5490447f773533261fd80000'), "name"=>"Miss Christiana Zemlak", "reference"=>"Tyree Fadel MD", "quantity"=>6}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096882111] runtime: 0.1070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2342ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fd90000'), "name"=>"Sven Klocko III", "reference"=>"Alphonso Barton", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fda0000'), "name"=>"HelloWorld", "reference"=>"Earlene Waters", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fdb0000'), "name"=>"value", "reference"=>"Anderson Bode", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4121ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3551ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2042ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1375ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2431ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1529ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fdc0000'), "name"=>"Johann Schowalter", "reference"=>"Ellis Hane", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490202025] runtime: 0.0881ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3446ms Completed 200 OK in 17ms (Views: 16.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224934279] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280150409304] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126384976] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280525860472] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280125639930] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753166203] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490601874] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.4420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280131935509] runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6414ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280547519254] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121100549] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734605306] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280394475125] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280822104994] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263694351] runtime: 0.0851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197690083] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491613710] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280360014892] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226351585] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280119000575] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280709234387] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435387577] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280905705325] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234253118] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280405354704] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983042861] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280443161267] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243151150] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112643759] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126508305] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192655294] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279689295309] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280164091516] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713584272] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280304756656] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821226382] runtime: 0.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181645459] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373110279] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279414026349] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281003751811] runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280301112314] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280016054526] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220330499] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280597422252] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512076688] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861579248] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791548960] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281110996227] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820140978] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280946584541] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950588110] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281164066171] runtime: 0.0806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369263885] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280665919461] runtime: 0.0703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760094908] runtime: 0.0864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280537082593] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174057733] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636402117] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279955328366] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279197281657] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027682421] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633320416] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279970656221] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088659696] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5353ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012247371] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299355078] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280267375917] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280389053162] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280003139693] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281206265925] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279735021539] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270598403] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.4606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605277055] runtime: 0.1013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438534310] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280911556764] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771579848] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435131933] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122624015] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280494930256] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313056078] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280275375737] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895844912] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280508563919] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280747777225] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601889813] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783214450] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279303894587] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280738618207] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280785828164] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279691047541] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280798306684] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660543388] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279797333076] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948956572] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781012713] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908415593] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281291933711] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280258046633] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279995824419] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280172778593] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280105807149] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279245468245] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280729966557] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548883065] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280265148177] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831516285] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279191084791] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097141086] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279609382998] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279941645975] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281280448444] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304197210] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279222725] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279301740882] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281279012092] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413790383] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281245186037] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279417541918] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280176281292] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158775938] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280894949744] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280200305951] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281060836562] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636172283] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279568681765] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280239667565] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425303769] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280894258492] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280028470377] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736404938] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379296185] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280322707665] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108353085] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734418009] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280192256053] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279990835428] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280590957113] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280992189820] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280328086503] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281268262304] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606444023] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410166492] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993010916] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118772958] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849378338] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280443173033] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993507599] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279216663160] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342275189] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300332015] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281219133364] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280881743128] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.7759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630194340] runtime: 0.1002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922557489] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280599086147] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530322046] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7017ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280710525859] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845686626] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279790642955] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250492455] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951883816] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279620334208] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280564753633] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051939974] runtime: 0.0482ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fdd0000'), "name"=>"Miss Amya Herman", "reference"=>"Alicia Powlowski", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3021ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fde0000'), "name"=>"Greyson Koelpin", "reference"=>"Sonya McCullough", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281045704156] runtime: 0.0802ms Completed 200 OK in 5ms (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('5490447f773533261fdf0000'), "name"=>"Trey Daugherty", "reference"=>"Keith Hammes Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490447f773533261fdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms 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('5490447f773533261fe00000'), "name"=>"Mrs. Melany Strosin", "reference"=>"Henry Monahan", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe20000'), "name"=>"Miss Verner Prohaska", "reference"=>"Aracely Moen DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5064ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490447f773533261fe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms Completed 200 OK in 4ms (Views: 2.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe30000'), "name"=>"Golden Hyatt", "reference"=>"Mrs. Glennie Price", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.3277ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3772ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447e773533261f060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3669ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe40000'), "name"=>"Germaine Lowe", "reference"=>"Tierra Ferry", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3404ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe50000'), "name"=>"Berta Beer", "reference"=>"Jakayla Nitzsche", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3425ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe60000'), "name"=>"Destin Lesch Jr.", "reference"=>"Johnathan Hackett", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.2192ms 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('5490447f773533261fe70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2401ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fe80000'), "name"=>"Claud Schamberger", "reference"=>"Gerardo Ward II", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490447f773533261fe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fe80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms 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('5490447f773533261fe90000'), "name"=>"Gregoria Pfeffer", "reference"=>"Matilda Murray", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms 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('5490447f773533261feb0000'), "name"=>"Miss Liana Stanton", "reference"=>"Johanna Hoeger", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490447f773533261feb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261feb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms 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('5490447f773533261fec0000'), "name"=>"Harry Rippin V", "reference"=>"Gina Hand", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490447f773533261fec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms Redirected to http://test.host/products/5490447f773533261fec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261fef0000'), "name"=>"Clifford Waters", "reference"=>"Laurence Corwin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fed0000'), "author_name"=>"Carolina Gaylord", "content"=>["Aliquid sed quibusdam amet sunt ut. Consequuntur enim asperiores ullam reprehenderit qui. Dolorum consequatur dolores eaque voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261fee0000'), "author_name"=>"Lesly Cormier", "content"=>["Sint adipisci quam quo eos molestias asperiores. Est fugit facere ullam repudiandae totam. Nulla impedit est earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490447f773533261fef0000", "comment_id"=>"5490447f773533261fed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fef0000'), "comments._id"=>BSON::ObjectId('5490447f773533261fed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490447f773533261ff00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1101ms Redirected to http://test.host/products/5490447f773533261fef0000/comments/5490447f773533261fed0000/comments/5490447f773533261ff00000 Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261ff30000'), "name"=>"Brandon Kirlin", "reference"=>"Zackery Cartwright I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261ff10000'), "author_name"=>"Emmalee Lehner", "content"=>["Aut voluptatem iure a quia esse occaecati quaerat. Quos aliquid ratione. Eum commodi sunt autem id. Voluptas laudantium quae id quia adipisci aspernatur in."], "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261ff20000'), "author_name"=>"Carlotta Gleichner Jr.", "content"=>["Et ut sunt amet sit. Ut deserunt rerum officiis autem. Ratione rerum reiciendis atque qui facilis ipsum. Excepturi quae ut recusandae et modi nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490447f773533261ff30000", "comment_id"=>"5490447f773533261ff10000", "id"=>"5490447f773533261ff20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2037ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261ff30000'), "comments._id"=>BSON::ObjectId('5490447f773533261ff10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490447f773533261ff20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Redirected to http://test.host/products/5490447f773533261ff30000/comments/5490447f773533261ff10000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490447f773533261ff60000'), "name"=>"Chris Trantow MD", "reference"=>"Adelle O'Kon", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261ff40000'), "author_name"=>"Landen Stoltenberg", "content"=>["Cumque labore laudantium sapiente quia. Pariatur molestiae autem dicta. Voluptatem tenetur harum voluptatem. Qui officia est beatae qui dolores aut omnis."], "comments"=>[{"_id"=>BSON::ObjectId('5490447f773533261ff50000'), "author_name"=>"Mrs. Sadye Hodkiewicz", "content"=>["Explicabo et ducimus numquam dolorum consequatur eum laboriosam. Rerum sed quas quam libero iste. A qui ut tempora. Ea quis sapiente neque sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490447f773533261ff60000", "comment_id"=>"5490447f773533261ff40000", "id"=>"5490447f773533261ff50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490447f773533261ff60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261ff90000'), "name"=>"Elian Gulgowski", "reference"=>"Fletcher Prohaska", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ff70000'), "author_name"=>"Hobart Luettgen", "content"=>["Nesciunt facilis temporibus cum sit occaecati et. Non qui nam ullam ut ipsam sit et. Ea cum culpa laborum repellendus."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ff80000'), "author_name"=>"Laisha Stracke Jr.", "content"=>["Voluptatum quae harum eos cum error. Incidunt laboriosam distinctio qui corrupti. Laboriosam quas sed dignissimos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54904480773533261ff90000", "comment_id"=>"54904480773533261ff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261ff90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms Completed 200 OK in 5ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261ffc0000'), "name"=>"Milo Franecki V", "reference"=>"Maymie Hirthe PhD", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ffa0000'), "author_name"=>"Simone Huel III", "content"=>["Ut aut dignissimos totam sapiente ab ad. Consequatur facere exercitationem sit eos. Voluptatem repudiandae ad cupiditate ab consequatur fuga et. Ea illo velit."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ffb0000'), "author_name"=>"Lurline Fay III", "content"=>["Nulla ad assumenda. Modi ipsa at ratione iure et quaerat. Voluptas rerum ut minima doloribus. Voluptatem occaecati consectetur ipsa. Aut et voluptatem ut quos est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54904480773533261ffc0000", "comment_id"=>"54904480773533261ffa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261ffc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261fff0000'), "name"=>"Uriel Stroman V", "reference"=>"Jovany Bahringer", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ffd0000'), "author_name"=>"Mr. Elton Wehner", "content"=>["Pariatur expedita consequatur aspernatur voluptas eligendi eos et. Temporibus eius ipsam sequi et quibusdam facilis. Corporis sed minima ipsa eum. Vero id itaque. Non dolores hic ab consectetur reprehenderit facere."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261ffe0000'), "author_name"=>"Germaine Beatty PhD", "content"=>["Dolorem neque vel quidem. Porro voluptatum incidunt omnis fugit ratione voluptatem laboriosam. Molestiae possimus officiis et sunt neque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54904480773533261fff0000", "comment_id"=>"54904480773533261ffd0000", "id"=>"54904480773533261ffe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261fff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261f020100'), "name"=>"Lucio McGlynn", "reference"=>"Alexzander Runolfsdottir", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f000100'), "author_name"=>"Edwina Blanda DDS", "content"=>["Repellendus quam officia rerum sed. Mollitia reprehenderit voluptatem omnis rerum. Aut magni sit dolor facilis dolores voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f010100'), "author_name"=>"Trace Orn", "content"=>["Suscipit ea ipsa. Ut maxime harum eveniet ut sit consequatur. Temporibus omnis omnis. Aspernatur mollitia quis rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54904480773533261f020100", "comment_id"=>"54904480773533261f000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261f020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 12ms (Views: 7.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261f050100'), "name"=>"Mrs. Bradley MacGyver", "reference"=>"Abby O'Connell Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f030100'), "author_name"=>"Jeromy Stehr", "content"=>["Quae magnam eum reiciendis quia. Velit et nostrum quia. Vel quo molestiae officiis facilis dolorum iste saepe."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f040100'), "author_name"=>"Eula Hudson", "content"=>["Voluptas repellat qui. Error libero nihil cum fuga enim incidunt. Odio praesentium nostrum modi id. Quo provident est sit sequi. Molestiae id culpa quaerat neque ut non vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7296ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54904480773533261f050100", "comment_id"=>"54904480773533261f030100", "id"=>"54904480773533261f040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261f050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5317ms Completed 200 OK in 9ms (Views: 4.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904480773533261f080100'), "name"=>"Victor Hessel", "reference"=>"Rozella Moen", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f060100'), "author_name"=>"Teagan Sanford II", "content"=>["Nobis quasi error fugiat. Atque similique voluptate non neque est. Consequuntur qui perspiciatis nisi aut."], "comments"=>[{"_id"=>BSON::ObjectId('54904480773533261f070100'), "author_name"=>"Andreanne Medhurst", "content"=>["Aut aliquam aut quisquam dolorum. Maxime alias aspernatur beatae consequatur. Nostrum cupiditate repellendus. Eos aut commodi assumenda voluptates velit aspernatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7283ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54904480773533261f070100", "product_id"=>"54904480773533261f080100", "comment_id"=>"54904480773533261f060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904480773533261f080100'), "comments._id"=>BSON::ObjectId('54904480773533261f060100'), "comments.0.comments._id"=>BSON::ObjectId('54904480773533261f070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1544ms Redirected to http://test.host/products/54904480773533261f080100/comments/54904480773533261f060100/comments/54904480773533261f070100 Completed 302 Found in 13ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904480773533261f090100'), "firstname"=>"Shany", "lastname"=>"Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3445ms 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('54904480773533261f0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5274ms Redirected to http://test.host/users/54904480773533261f0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3464ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904480773533261f0b0100'), "firstname"=>"Patrick", "lastname"=>"Champlin"}] 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=>"admin_users", :query=>{}} runtime: 0.3324ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54904480773533261f0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904480773533261f0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904480773533261f0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms 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.2441ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904480773533261f0c0100'), "firstname"=>"Johathan", "lastname"=>"Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54904480773533261f0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904480773533261f0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('54904480773533261f0d0100'), "firstname"=>"Ellen", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms 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.4142ms Completed 200 OK in 48ms (Views: 47.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904480773533261f0e0100'), "firstname"=>"Retta", "lastname"=>"Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5412ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904480773533261f0f0100'), "firstname"=>"Maynard", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5239ms Processing by UsersController#show as HTML Parameters: {"id"=>"54904480773533261f0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904480773533261f0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms 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('54904480773533261f100100'), "firstname"=>"Alanis", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54904480773533261f100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904480773533261f100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms Unpermitted parameters: name Redirected to http://test.host/users/54904480773533261f100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4458ms 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.4057ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms 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.3463ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms 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.3342ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904915773533283a000000'), "firstname"=>"Ignatius", "lastname"=>"Crooks"}] 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=>"administrators", :query=>{}} runtime: 0.1981ms 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('54904915773533283a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms 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.2130ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904915773533283a020000'), "firstname"=>"Veda", "lastname"=>"Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54904915773533283a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904915773533283a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 20ms (Views: 18.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904915773533283a030000'), "firstname"=>"Lamar", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.9ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904915773533283a040000'), "firstname"=>"Pamela", "lastname"=>"Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54904915773533283a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904915773533283a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904915773533283a050000'), "firstname"=>"Sigurd", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54904915773533283a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904915773533283a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms 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('54904915773533283a060000'), "name"=>"Katherine Kuhn", "reference"=>"Leonardo Dietrich I", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a070000'), "author_name"=>"Jensen Schuster DDS", "content"=>["Dicta explicabo eos debitis. Dolor error ut earum. Cupiditate explicabo et nesciunt doloribus expedita vero. Aut molestias itaque occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54904915773533283a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54904915773533283a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms Redirected to http://test.host/admin/products/54904915773533283a060000/comments/54904915773533283a080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a090000'), "name"=>"Ivy Hegmann MD", "reference"=>"Shyann Rolfson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a0a0000'), "author_name"=>"Abagail Gaylord", "content"=>["Reiciendis quia provident sed eum iure aut. Aperiam voluptas praesentium. Quo deleniti nihil magnam sed et facere. Esse reiciendis qui sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54904915773533283a090000", "id"=>"54904915773533283a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54904915773533283a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Redirected to http://test.host/admin/products/54904915773533283a090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a0b0000'), "name"=>"Mitchell Bergstrom", "reference"=>"Mrs. Adelbert White", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a0c0000'), "author_name"=>"Genesis Funk", "content"=>["Optio nam eos voluptas consequatur. Deserunt itaque nesciunt illo est minima. Maiores minus dignissimos. Autem quasi eius."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54904915773533283a0b0000", "id"=>"54904915773533283a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a0d0000'), "name"=>"Jeanette Sipes", "reference"=>"Danielle Grant", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a0e0000'), "author_name"=>"Amelia Purdy", "content"=>["Ut doloribus sapiente aliquam velit. Aut eos ut qui quod laboriosam iste. Aut culpa voluptatem aspernatur repellendus natus et. Impedit autem minima ipsum animi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54904915773533283a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a0f0000'), "name"=>"Karen Legros", "reference"=>"Imani Jacobs", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a100000'), "author_name"=>"Karen Koepp", "content"=>["Enim quam et alias fugit enim ex. Consequatur sunt quos fugiat dolor ut. Ut consequatur deserunt natus eius delectus est nobis. Voluptatem ad ex aliquid non ducimus. Est pariatur sed non aut et illum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54904915773533283a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a110000'), "name"=>"Rosie Romaguera", "reference"=>"Miss Maude Bins", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a120000'), "author_name"=>"Alejandrin Quitzon", "content"=>["Minima ullam quisquam quaerat et et repellendus quasi. Ad eum ea consequuntur aut quia explicabo. Perspiciatis odio neque perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54904915773533283a110000", "id"=>"54904915773533283a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a130000'), "name"=>"Lucio Marvin", "reference"=>"Mr. Kayley O'Connell", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54904915773533283a140000'), "author_name"=>"Marion Willms Sr.", "content"=>["Ullam maxime dolorem corporis sapiente. Doloremque sit cumque est quo qui debitis. Ipsum tempora aperiam. Error corporis tempora dolore quisquam ex saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54904915773533283a140000", "product_id"=>"54904915773533283a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a130000'), "comments._id"=>BSON::ObjectId('54904915773533283a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6128ms Redirected to http://test.host/admin/products/54904915773533283a130000/comments/54904915773533283a140000 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('54904915773533283a150000'), "name"=>"Jesus Nolan II", "reference"=>"Jefferey Wolf", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54904915773533283a160000'), "firstname"=>"Sallie", "lastname"=>"Langworth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54904915773533283a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54904915773533283a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms Redirected to http://test.host/admin/products/54904915773533283a150000/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('54904915773533283a180000'), "name"=>"Candido Satterfield", "reference"=>"Jakob Prosacco", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54904915773533283a190000'), "firstname"=>"Franco", "lastname"=>"Breitenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8680ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54904915773533283a190000", "product_id"=>"54904915773533283a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5518ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.8ms) Completed 200 OK in 12ms (Views: 8.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a1a0000'), "name"=>"Dr. Orpha Stanton", "reference"=>"Dr. Vincenza Balistreri", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54904915773533283a1b0000'), "firstname"=>"Aurelie", "lastname"=>"Hermiston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5161ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54904915773533283a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 5.2ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a1c0000'), "name"=>"Mohamed Runolfsdottir", "reference"=>"Murl Sauer", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54904915773533283a1d0000'), "firstname"=>"Dina", "lastname"=>"Bechtelar"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54904915773533283a1d0000", "product_id"=>"54904915773533283a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904915773533283a1e0000'), "name"=>"Paul Turcotte", "reference"=>"Miss Clarabelle Stokes", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54904915773533283a1f0000'), "firstname"=>"Emely", "lastname"=>"Kling"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54904915773533283a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54904915773533283a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54904915773533283a1e0000/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('54904916773533283a200000'), "name"=>"Euna Herman", "reference"=>"Yasmine Brakus", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.2790ms 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('54904916773533283a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms Redirected to http://test.host/admin/products/54904916773533283a210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2277ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283a220000'), "name"=>"Tobin Hauck Sr.", "reference"=>"Josie Haag", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2131ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54904916773533283a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6127ms 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.3229ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283a230000'), "name"=>"Reid Cremin", "reference"=>"Mrs. Jackson Heaney", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54904916773533283a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 9ms (Views: 7.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283a240000'), "name"=>"Miss Otilia Gerhold", "reference"=>"Bryce Welch", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms 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.5534ms Completed 200 OK in 12ms (Views: 11.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283a250000'), "name"=>"Dr. Alanna Stokes", "reference"=>"Cicero Zulauf", "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/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283a280000'), "name"=>"Mrs. Agustin Wiegand", "reference"=>"Hanna Dickens", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54904916773533283a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms 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('54904916773533283a290000'), "name"=>"Sabryna Hoppe", "reference"=>"Lavinia Smith DDS", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54904916773533283a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Redirected to http://test.host/admin/products/54904916773533283a290000 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('54904916773533283a2a0000'), "firstname"=>"Domenic", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2128ms 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('54904916773533283a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms Redirected to http://test.host/admin/users/54904916773533283a2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2032ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904916773533283a2c0000'), "firstname"=>"Stone", "lastname"=>"Johnston"}] 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.1951ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54904916773533283a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904916773533283a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904916773533283a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms 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.2911ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904916773533283a2d0000'), "firstname"=>"Cameron", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54904916773533283a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904916773533283a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904916773533283a2e0000'), "firstname"=>"Lawson", "lastname"=>"Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms 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.4404ms Completed 200 OK in 5ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904916773533283a2f0000'), "firstname"=>"Shany", "lastname"=>"Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1484ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54904916773533283a300000'), "firstname"=>"Gerhard", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54904916773533283a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904916773533283a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3759ms 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('54904916773533283a310000'), "firstname"=>"Zakary", "lastname"=>"Ruecker"}] 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"=>"54904916773533283a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904916773533283a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54904916773533283a310000 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('54904916773533283a320000'), "firstname"=>"Ramiro", "lastname"=>"Pouros"}] 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=>"administrators", :query=>{}} runtime: 0.2640ms 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('54904916773533283a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms 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.2042ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904916773533283a340000'), "firstname"=>"Myles", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54904916773533283a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904916773533283a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904916773533283a350000'), "firstname"=>"Leif", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904916773533283a360000'), "firstname"=>"Violet", "lastname"=>"Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54904916773533283a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904916773533283a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54904916773533283a370000'), "firstname"=>"Krista", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54904916773533283a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54904916773533283a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a380000'), "name"=>"Antonetta Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a390000'), "name"=>"Uriah Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3a0000'), "name"=>"Edwina Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3b0000'), "name"=>"Ms. Sid Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3c0000'), "name"=>"Evie Quitzon DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3d0000'), "name"=>"Kurtis Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3e0000'), "name"=>"Gilberto Paucek PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a3f0000'), "name"=>"Dr. Ryann Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a400000'), "name"=>"Bertram Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a410000'), "name"=>"Tara Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a420000'), "name"=>"Carolina Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a430000'), "name"=>"Wilburn Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a440000'), "name"=>"Margaret Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a450000'), "name"=>"Kristy Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a460000'), "name"=>"Mariam Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a470000'), "name"=>"Tiana Carter II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a480000'), "name"=>"Dr. Zelma Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a490000'), "name"=>"Janet Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4a0000'), "name"=>"Sam Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4b0000'), "name"=>"Ellsworth Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4c0000'), "name"=>"Vicky Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4d0000'), "name"=>"Maya Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4e0000'), "name"=>"Gina Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a4f0000'), "name"=>"Keshaun Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a500000'), "name"=>"Alysson Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a510000'), "name"=>"Reva Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a520000'), "name"=>"Pietro Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a530000'), "name"=>"Christopher Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a540000'), "name"=>"Maurine Bruen V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a550000'), "name"=>"Magali Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a560000'), "name"=>"Kennith Wuckert"}] 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={"category_id"=>BSON::ObjectId('54904916773533283a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a570000'), "name"=>"Anika Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a580000'), "name"=>"Abigail Kshlerin IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a590000'), "name"=>"Monte Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5a0000'), "name"=>"Mrs. Lily Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5b0000'), "name"=>"Antoinette Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5c0000'), "name"=>"Mrs. Ford Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5d0000'), "name"=>"Shannon Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5e0000'), "name"=>"Clarissa Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a5f0000'), "name"=>"Ulises Raynor Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a600000'), "name"=>"Mrs. Amina McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a610000'), "name"=>"Mr. Telly Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a620000'), "name"=>"Sigurd Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a630000'), "name"=>"Miss Ruben Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a640000'), "name"=>"Timothy Boyer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a650000'), "name"=>"Abe Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a660000'), "name"=>"Kale Price"}] 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={"category_id"=>BSON::ObjectId('54904916773533283a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a670000'), "name"=>"Jessika Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a680000'), "name"=>"Jamie Rempel"}] 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={"category_id"=>BSON::ObjectId('54904916773533283a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a690000'), "name"=>"Trevion Gislason IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6a0000'), "name"=>"Kaleigh Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6b0000'), "name"=>"Mr. Ronny Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6c0000'), "name"=>"Miss Leola Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6d0000'), "name"=>"Michaela Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6e0000'), "name"=>"Tommie Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a6f0000'), "name"=>"Tanner Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a700000'), "name"=>"Eldon Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a710000'), "name"=>"Josie Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a720000'), "name"=>"Dolly Ryan I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a730000'), "name"=>"Neil Brakus DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a740000'), "name"=>"Mr. Katelin Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a750000'), "name"=>"Eve Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a760000'), "name"=>"Ms. Anais O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2071ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a770000'), "name"=>"Ova Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a780000'), "name"=>"Ashlee Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a790000'), "name"=>"Markus Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7a0000'), "name"=>"Virgil Towne III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7b0000'), "name"=>"Justen Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7c0000'), "name"=>"Tristin Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7d0000'), "name"=>"Coleman Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1998ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7e0000'), "name"=>"Carson Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a7f0000'), "name"=>"Shaina Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a800000'), "name"=>"Brandt Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a810000'), "name"=>"Jett Rice III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a820000'), "name"=>"Roman Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a830000'), "name"=>"Ms. Emanuel Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a840000'), "name"=>"Jarrell Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a850000'), "name"=>"Kadin Baumbach II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a860000'), "name"=>"Ubaldo Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a870000'), "name"=>"Dawson Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a880000'), "name"=>"Forrest Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a890000'), "name"=>"Lucinda Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8a0000'), "name"=>"Jolie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8b0000'), "name"=>"Matteo Dickinson PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8c0000'), "name"=>"Talia Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8d0000'), "name"=>"Rolando Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8e0000'), "name"=>"Dr. Tomasa Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a8f0000'), "name"=>"Mrs. Consuelo Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a900000'), "name"=>"Karine Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a910000'), "name"=>"Frieda Larkin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a920000'), "name"=>"Royce Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a930000'), "name"=>"Michele Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a940000'), "name"=>"Casandra Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a950000'), "name"=>"Kaitlin Nitzsche Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a960000'), "name"=>"Nils Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a970000'), "name"=>"Miss Nikki Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1604ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms Redirected to http://test.host/categories/54904916773533283a980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1953ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a990000'), "name"=>"Madisyn Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1691ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54904916773533283a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1716ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a9a0000'), "name"=>"Miss Tyra Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54904916773533283a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a9b0000'), "name"=>"Deangelo Hauck"}] 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={"category_id"=>BSON::ObjectId('54904916773533283a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306782672359] runtime: 0.0872ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2313ms Completed 200 OK in 15ms (Views: 14.1ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a9c0000'), "name"=>"Miss Hans Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1951ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306490544236] runtime: 0.0770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2192ms Completed 200 OK in 8ms (Views: 7.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a9d0000'), "name"=>"Russel Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283a9f0000'), "name"=>"Elmo Hamill Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54904916773533283a9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms Completed 200 OK in 4ms (Views: 3.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54904916773533283aa00000'), "name"=>"Jamar Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1694ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54904916773533283aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54904916773533283aa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54904916773533283aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms Redirected to http://test.host/categories/54904916773533283aa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aa10000'), "name"=>"Kay Beatty", "reference"=>"Rey Corkery I", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aa20000'), "author_name"=>"Ms. Hilda Gaylord", "content"=>["Culpa accusamus quae consectetur itaque odit. Deleniti est sed suscipit velit tempora quibusdam aut. Vel aut ut cupiditate in dolor praesentium. Placeat autem totam qui eveniet qui pariatur. Qui explicabo aperiam nihil unde."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54904916773533283aa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54904916773533283aa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms Redirected to http://test.host/products/54904916773533283aa10000/comments/54904916773533283aa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aa40000'), "name"=>"Jeffry Von V", "reference"=>"Mrs. Ada Frami", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aa50000'), "author_name"=>"Richie Kovacek", "content"=>["Est cumque et corrupti vitae quis non. Voluptate et ratione ut vitae sit. Error sit temporibus a mollitia ut. Nostrum sint officiis dicta sapiente."]}]}] 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('54904916773533283aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54904916773533283aa40000", "id"=>"54904916773533283aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54904916773533283aa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms Redirected to http://test.host/products/54904916773533283aa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.5215ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aa60000'), "name"=>"Zula Gutkowski", "reference"=>"Logan Larson", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aa70000'), "author_name"=>"Hertha Kohler", "content"=>["Nemo quia et facere. Ducimus necessitatibus ut dolorum rem laborum eveniet. Aut adipisci et excepturi blanditiis. Numquam aut sed perferendis dolore eveniet voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54904916773533283aa60000", "id"=>"54904916773533283aa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aa80000'), "name"=>"Chase Monahan", "reference"=>"Kaitlin Schinner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aa90000'), "author_name"=>"Alice Price", "content"=>["Molestias sunt nobis libero fugiat quo. Est nisi quaerat asperiores libero et nostrum sapiente. Eligendi est in eaque aut. Necessitatibus omnis corrupti est similique animi. Ullam natus harum assumenda vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6077ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54904916773533283aa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aaa0000'), "name"=>"Ella Shanahan", "reference"=>"Donnell Feil", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aab0000'), "author_name"=>"Bradly Hoppe Jr.", "content"=>["Error optio sit odio dicta rerum. Hic exercitationem recusandae totam explicabo nesciunt et magni. Adipisci ut ea excepturi qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54904916773533283aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aac0000'), "name"=>"Ethelyn Graham", "reference"=>"Mrs. Brandon Douglas", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aad0000'), "author_name"=>"Laury Jacobs", "content"=>["Explicabo qui error fugiat occaecati atque. Velit est eligendi quia impedit. Explicabo necessitatibus nisi unde aut sit nulla. Nostrum sunt distinctio iure. Voluptas dolorum aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 39.9822ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54904916773533283aac0000", "id"=>"54904916773533283aad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4919ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283aae0000'), "name"=>"Marlin Brakus", "reference"=>"Oliver Feil", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283aaf0000'), "author_name"=>"Elian Hahn", "content"=>["Similique quo totam delectus quia quos eos. Doloremque aspernatur reprehenderit eos. Illum est quae consequuntur quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54904916773533283aae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283ab00000'), "name"=>"Maddison Jones", "reference"=>"Bella Runolfsdottir DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283ab10000'), "author_name"=>"Emely O'Kon V", "content"=>["Voluptatibus qui modi id. Labore qui perferendis exercitationem voluptatem necessitatibus aperiam expedita. Sunt assumenda necessitatibus id reiciendis tempore. Possimus qui eveniet corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5459ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54904916773533283ab00000", "id"=>"54904916773533283ab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904916773533283ab20000'), "name"=>"Nels Howe", "reference"=>"Mackenzie Nienow", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54904916773533283ab30000'), "author_name"=>"Earnest Kling", "content"=>["Laborum amet corrupti totam earum delectus ea. A dolorum porro soluta eius veritatis. Quos suscipit dignissimos soluta eligendi aliquam facere laboriosam. Et reiciendis sapiente aut repellendus sunt atque eum. Repudiandae delectus aliquam itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54904916773533283ab30000", "product_id"=>"54904916773533283ab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4048ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ab20000'), "comments._id"=>BSON::ObjectId('54904916773533283ab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Redirected to http://test.host/products/54904916773533283ab20000/comments/54904916773533283ab30000 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('54904916773533283ab40000'), "firstname"=>"Ludwig", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2311ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283ab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Redirected to http://test.host/admin/clients/54904916773533283ab50000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283ab60000'), "firstname"=>"Chanel", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2125ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54904916773533283ab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283ab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms 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.2348ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283ab70000'), "firstname"=>"Lorna", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54904916773533283ab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283ab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (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('54904916773533283ab80000'), "firstname"=>"Eduardo", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms 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('54904916773533283ab90000'), "firstname"=>"Jadon", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6944ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (47.8ms) Completed 200 OK in 56ms (Views: 54.8ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283aba0000'), "firstname"=>"Eleazar", "lastname"=>"Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9786ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54904916773533283aba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4781ms 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('54904916773533283abb0000'), "firstname"=>"Rosina", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54904916773533283abb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283abb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283abb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms Redirected to http://test.host/admin/clients/54904916773533283abb0000 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('54904916773533283abc0000'), "firstname"=>"Reymundo", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2588ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4311ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283abd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7608ms Redirected to http://test.host/clients/54904916773533283abd0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3406ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283abe0000'), "firstname"=>"Brandt", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms 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"=>"54904916773533283abe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283abe0000')} 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('54904916773533283abe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms 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.1709ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283abf0000'), "firstname"=>"Irving", "lastname"=>"D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54904916773533283abf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms Rendered /home/geoffroy/projects/crealettres/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('54904916773533283ac00000'), "firstname"=>"Harmon", "lastname"=>"Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0184ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7485ms Completed 200 OK in 10ms (Views: 9.0ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54904916773533283ac10000'), "firstname"=>"Quincy", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54904916773533283ac20000'), "firstname"=>"Moses", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54904916773533283ac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms 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('54904916773533283ac30000'), "firstname"=>"Sylvan", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54904916773533283ac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54904916773533283ac30000')} 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('54904916773533283ac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms Redirected to http://test.host/clients/54904916773533283ac30000 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('54904916773533283ac40000'), "name"=>"Ariel Wintheiser", "reference"=>"Mable Rath", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54904916773533283ac50000'), "firstname"=>"Emmanuelle", "lastname"=>"Wolff"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54904916773533283ac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904916773533283ac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54904917773533283ac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms Redirected to http://test.host/products/54904916773533283ac40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ac70000'), "name"=>"Kennedy Schroeder", "reference"=>"Ezequiel Gulgowski", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54904917773533283ac80000'), "firstname"=>"Kenyatta", "lastname"=>"Bogisich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54904917773533283ac80000", "product_id"=>"54904917773533283ac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ac90000'), "name"=>"Mrs. Ruthe Marks", "reference"=>"Mr. Myron Borer", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54904917773533283aca0000'), "firstname"=>"Coleman", "lastname"=>"Shields"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54904917773533283ac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283acb0000'), "name"=>"Krystal Swaniawski DVM", "reference"=>"Nyah Wiza", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54904917773533283acc0000'), "firstname"=>"Hunter", "lastname"=>"Daniel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54904917773533283acc0000", "product_id"=>"54904917773533283acb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283acd0000'), "name"=>"Dr. Baron Hirthe", "reference"=>"Winona Ziemann", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54904917773533283ace0000'), "firstname"=>"Chris", "lastname"=>"Bauch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54904917773533283ace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54904917773533283acd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Unpermitted parameters: name Redirected to http://test.host/products/54904917773533283acd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283acf0000'), "name"=>"Bridgette Tillman Jr.", "reference"=>"Eileen Torp", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad00000'), "name"=>"Akeem Johnson", "reference"=>"Ernest Lindgren", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad10000'), "name"=>"Destini Kuhlman", "reference"=>"Robert Ebert", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad20000'), "name"=>"Emile Aufderhar", "reference"=>"Mervin Borer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7997ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad30000'), "name"=>"Raphaelle Towne", "reference"=>"Nellie Wuckert PhD", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad40000'), "name"=>"Camden Flatley", "reference"=>"Krystina Reilly", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7181ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4149ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6550ms Redirected to http://test.host/products/54904917773533283ad50000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3549ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad60000'), "name"=>"Dr. Merritt Parker", "reference"=>"Connor Balistreri", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9357ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3108ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54904917773533283ad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ad60000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4844ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad70000'), "name"=>"Garrett Hansen PhD", "reference"=>"Maryam Bayer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54904917773533283ad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) 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('54904917773533283ad80000'), "name"=>"Efrain Bashirian", "reference"=>"Adolfo Kris", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 134.3936ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858224410] runtime: 0.1189ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2681ms Completed 200 OK in 23ms (Views: 21.9ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ad90000'), "name"=>"Gertrude Sporer", "reference"=>"Ena Dickens", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ada0000'), "name"=>"HelloWorld", "reference"=>"Mrs. Elta Hudson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283adb0000'), "name"=>"value", "reference"=>"Hank Ryan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2824ms Completed 200 OK in 7ms (Views: 5.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2893ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1628ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2460ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2244ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1593ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283adc0000'), "name"=>"Dr. Afton Kiehn", "reference"=>"Jayde Bins", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094123404] runtime: 0.1062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2298ms Completed 200 OK in 17ms (Views: 16.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865448605] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280488800148] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280611133966] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877554288] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280205993629] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318822260] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281091636230] runtime: 0.1205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280732131629] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243209440] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767366960] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199068955] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660235418] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280292255455] runtime: 0.0932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473426495] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762744369] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683459220] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279777290644] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502000137] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874856675] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219216991] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279961839625] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280672851826] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046682819] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625559818] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183870652] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280902783389] runtime: 0.0879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279281992935] runtime: 0.0940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280125224962] runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279274547084] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254973033] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097198385] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642223821] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891820724] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281238383232] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6611ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793062785] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968324424] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987129724] runtime: 0.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279205919058] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6027ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279415509753] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348350554] runtime: 0.0902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279994859347] runtime: 0.1130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425376951] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280453290037] runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174068077] runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280439563825] runtime: 0.1086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775898796] runtime: 0.0766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279653238999] runtime: 0.1166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280614958221] runtime: 0.1249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693975980] runtime: 0.1310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9938ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384240365] runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9691ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280695825484] runtime: 0.1430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571683717] runtime: 0.0836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096025156] runtime: 0.0821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279696464603] runtime: 0.6027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281164691829] runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279786733612] runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279756184304] runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280927338481] runtime: 0.1188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782264967] runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403354497] runtime: 0.1091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502641473] runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280511950895] runtime: 0.1305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279184852986] runtime: 0.1484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358023622] runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280532604237] runtime: 0.1030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280860051083] runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279939372276] runtime: 0.0988ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 42.9671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049493904] runtime: 0.1278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791146651] runtime: 0.0763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281206478336] runtime: 0.0702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279884670374] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281010177802] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280602362393] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280808233193] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279751344501] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280644299111] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773496066] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279398639831] runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279289393509] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279440793549] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280994548909] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130020280] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515004197] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281307135840] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280381826511] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279546175061] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719766999] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004755982] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280718490938] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280423051869] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133231063] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857397630] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280145158437] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557922972] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279654806793] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280360887257] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702640876] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280186489672] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486029873] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864989910] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280608862698] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209883355] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4838ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281255724219] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574567809] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280288171579] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279239102455] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542352174] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837100726] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279414775077] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891598376] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280030441515] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280237786458] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280945882533] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270443614] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280687207933] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280530004090] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630591262] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598182194] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280590142697] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805139428] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280866621504] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280498314195] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886170206] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281114694739] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280461305068] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279296487589] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400550120] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281036217413] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281268926927] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281148585455] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279570960625] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267628087] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181374477] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280826369151] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280657050887] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108143698] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281294482920] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281023128565] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281257162174] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280216035109] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279556665189] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280206537031] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845067535] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.0770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098441768] runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279720726703] runtime: 0.0847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196978101] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7202ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243639626] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528134866] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280464286349] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040323780] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280907710781] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279355026993] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097111789] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279697292901] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280321391321] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6424ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280952290944] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968537548] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247337503] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280915891072] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052453442] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279818270794] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281117396399] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280093140992] runtime: 0.0419ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283add0000'), "name"=>"Dr. Tre Stark", "reference"=>"Katharina Kovacek", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2984ms Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ade0000'), "name"=>"Waino Medhurst PhD", "reference"=>"Mellie Pfeffer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276748435] runtime: 0.0813ms Completed 200 OK in 5ms (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('54904917773533283adf0000'), "name"=>"Mrs. Else Haag", "reference"=>"Nico Jacobson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54904917773533283adf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283adf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms 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('54904917773533283ae00000'), "name"=>"Ismael O'Reilly", "reference"=>"Coty Hammes", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae20000'), "name"=>"Dr. Soledad Rodriguez", "reference"=>"Jerry Braun", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54904917773533283ae20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms Completed 200 OK in 4ms (Views: 2.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae30000'), "name"=>"Dameon Green", "reference"=>"Princess Baumbach II", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3637ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904915773533283a060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3675ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae40000'), "name"=>"Julio Schulist", "reference"=>"Alena Padberg I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae50000'), "name"=>"Xander Huel Jr.", "reference"=>"Abigale Olson MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3325ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3454ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae60000'), "name"=>"Mrs. Neal Nitzsche", "reference"=>"Cielo Dickens", "quantity"=>7}] 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.3438ms 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('54904917773533283ae70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3187ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283ae80000'), "name"=>"Graciela Lowe Jr.", "reference"=>"Jeanne Schmeler", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54904917773533283ae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283ae80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms 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('54904917773533283ae90000'), "name"=>"Mrs. Oleta O'Kon", "reference"=>"Flossie Schuppe MD", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms 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('54904917773533283aeb0000'), "name"=>"Jalyn Orn", "reference"=>"Mariah Hackett", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.4914ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54904917773533283aeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms Completed 202 Accepted in 36ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283aec0000'), "name"=>"Emory Olson Jr.", "reference"=>"Kayley Will", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54904917773533283aec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms Redirected to http://test.host/products/54904917773533283aec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283aef0000'), "name"=>"Kristopher Keeling IV", "reference"=>"Mrs. D'angelo Osinski", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283aed0000'), "author_name"=>"Edison Stiedemann", "content"=>["Nisi quia commodi in. Dolorem ex ea. Aut nostrum nam sit id et. Repudiandae perspiciatis exercitationem quisquam. Voluptas rerum qui."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283aee0000'), "author_name"=>"Kim Hamill", "content"=>["Quos et debitis quam. Tenetur minima aut qui molestiae. Natus in commodi. Culpa nobis iusto soluta ullam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54904917773533283aef0000", "comment_id"=>"54904917773533283aed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aef0000'), "comments._id"=>BSON::ObjectId('54904917773533283aed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54904917773533283af00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Redirected to http://test.host/products/54904917773533283aef0000/comments/54904917773533283aed0000/comments/54904917773533283af00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283af30000'), "name"=>"Lois Upton MD", "reference"=>"Houston Lemke", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af10000'), "author_name"=>"Lionel Greenfelder I", "content"=>["Sequi rerum necessitatibus fuga tempora qui. Beatae ut sed aliquam est eos officia. Fuga eum unde blanditiis enim impedit officia. Id praesentium aut aut aspernatur aut."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af20000'), "author_name"=>"Addison Crist", "content"=>["Nostrum harum ex. Voluptate officia reprehenderit numquam et labore. Reiciendis ut vel necessitatibus ut ipsa. Repellendus est id repudiandae quia exercitationem placeat odit. Rem neque officia delectus enim dolore sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54904917773533283af30000", "comment_id"=>"54904917773533283af10000", "id"=>"54904917773533283af20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af30000'), "comments._id"=>BSON::ObjectId('54904917773533283af10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54904917773533283af20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Redirected to http://test.host/products/54904917773533283af30000/comments/54904917773533283af10000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283af60000'), "name"=>"Stanford Nitzsche", "reference"=>"Bonita Howell", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af40000'), "author_name"=>"Scotty Will", "content"=>["Nihil dolor doloremque suscipit quis repellendus ut debitis. Qui veniam sit aut consequatur tempora rerum dolore. Voluptatum veniam mollitia. Nobis suscipit dolores expedita eveniet est ut eum."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af50000'), "author_name"=>"Rene Daugherty", "content"=>["Quo non iste consequatur consequatur et. Asperiores sequi doloremque modi facere voluptatem aliquid. Debitis laborum cumque et amet. Autem repudiandae eligendi aut nostrum quia officiis. Quaerat ut sapiente et ipsa."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54904917773533283af60000", "comment_id"=>"54904917773533283af40000", "id"=>"54904917773533283af50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283af90000'), "name"=>"Ms. Flo Bergstrom", "reference"=>"Doris Anderson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af70000'), "author_name"=>"Abby Ward", "content"=>["Tenetur dicta eos nobis eveniet. Quo aut perspiciatis architecto harum est beatae. Est omnis natus quo rerum eveniet. Adipisci ratione velit perspiciatis. Commodi nobis corrupti omnis."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283af80000'), "author_name"=>"Darrel Kerluke DDS", "content"=>["Velit ut nam recusandae et porro itaque quia. Eaque dolorum odit. Tempora nemo nisi veritatis sint et qui. Accusamus enim aut perferendis rerum vel iure illo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54904917773533283af90000", "comment_id"=>"54904917773533283af70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283afc0000'), "name"=>"Ms. Hilton Schumm", "reference"=>"Hulda Kuhlman", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283afa0000'), "author_name"=>"Octavia Miller", "content"=>["Est omnis officiis aut quas qui ut. Corrupti vel eum possimus doloremque odio asperiores saepe. Mollitia sit qui ipsa dignissimos. Pariatur velit molestias sequi deserunt et est accusamus. Est qui aut laboriosam laborum omnis praesentium non."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283afb0000'), "author_name"=>"Ottilie Considine", "content"=>["Dolores vero consequatur veritatis et. Accusamus et in rem. Expedita cum placeat excepturi ea deleniti autem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7740ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54904917773533283afc0000", "comment_id"=>"54904917773533283afa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283afc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283aff0000'), "name"=>"Mr. Stanley Kuhn", "reference"=>"Kaylin Connelly IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283afd0000'), "author_name"=>"Webster Graham", "content"=>["Sit explicabo distinctio consequatur culpa architecto excepturi. Neque adipisci accusantium quisquam dolor aut. Rerum corporis quae praesentium id aperiam non omnis. Hic et quae. Mollitia non dolor recusandae rerum vitae sed facere."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283afe0000'), "author_name"=>"Rebekah Braun", "content"=>["Quo et qui. Praesentium alias molestiae quo exercitationem quis atque. Repellat ut mollitia. Est occaecati aut illo qui consectetur dignissimos. Temporibus et ipsum fuga sed nemo nisi inventore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54904917773533283aff0000", "comment_id"=>"54904917773533283afd0000", "id"=>"54904917773533283afe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283aff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283a020100'), "name"=>"Daisha Nitzsche", "reference"=>"Mable Walker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a000100'), "author_name"=>"Ardith Klein", "content"=>["Enim veniam nobis quis. Impedit possimus esse ut sit dolores. Nesciunt ipsam perspiciatis omnis praesentium. Rerum autem provident. Nesciunt aliquid consequatur adipisci alias quod rerum cupiditate."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a010100'), "author_name"=>"Amiya Shields", "content"=>["Voluptatem odio nisi eos delectus beatae veritatis. Provident cupiditate tempora ipsa illo aut ducimus eos. Quae quis voluptatum. Similique odit et qui nam facere illum voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54904917773533283a020100", "comment_id"=>"54904917773533283a000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283a020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283a050100'), "name"=>"Luther D'Amore", "reference"=>"Ms. Sherman Olson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a030100'), "author_name"=>"Tyler Purdy V", "content"=>["Ullam id quia numquam quod optio. Dolor tempore tempora error repellendus dolor. Quis veritatis et magnam voluptates. Et odio dolores perspiciatis ratione ipsa."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a040100'), "author_name"=>"Jayne Cartwright", "content"=>["Qui est aut. Dolorum rem laudantium repellat et at perferendis. Omnis temporibus consequatur tempore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54904917773533283a050100", "comment_id"=>"54904917773533283a030100", "id"=>"54904917773533283a040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283a050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54904917773533283a080100'), "name"=>"Dr. Vincenza Casper", "reference"=>"Mr. Paolo Wehner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a060100'), "author_name"=>"Victoria Collier", "content"=>["Voluptas omnis architecto sed illum nulla exercitationem inventore. Sit omnis placeat quia et non. Error et eos nobis magni accusantium animi."], "comments"=>[{"_id"=>BSON::ObjectId('54904917773533283a070100'), "author_name"=>"Jonatan Koss", "content"=>["Autem commodi doloremque placeat quae consequatur nihil quos. Aut quisquam reprehenderit quis. Perspiciatis eaque temporibus blanditiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54904917773533283a070100", "product_id"=>"54904917773533283a080100", "comment_id"=>"54904917773533283a060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54904917773533283a080100')} 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('54904917773533283a080100'), "comments._id"=>BSON::ObjectId('54904917773533283a060100'), "comments.0.comments._id"=>BSON::ObjectId('54904917773533283a070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Redirected to http://test.host/products/54904917773533283a080100/comments/54904917773533283a060100/comments/54904917773533283a070100 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('54904917773533283a090100'), "firstname"=>"Emmitt", "lastname"=>"Boyer"}] 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=>"admin_users", :query=>{}} runtime: 0.2028ms 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('54904917773533283a0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms Redirected to http://test.host/users/54904917773533283a0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2061ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54904917773533283a0b0100'), "firstname"=>"Trevion", "lastname"=>"Dicki"}] 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=>"admin_users", :query=>{}} runtime: 0.1948ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54904917773533283a0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904917773533283a0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904917773533283a0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms 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('54904917773533283a0c0100'), "firstname"=>"Krystina", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54904917773533283a0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904917773533283a0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54904917773533283a0d0100'), "firstname"=>"Micheal", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms 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 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('54904918773533283a0e0100'), "firstname"=>"Werner", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54904918773533283a0f0100'), "firstname"=>"Turner", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms Processing by UsersController#show as HTML Parameters: {"id"=>"54904918773533283a0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904918773533283a0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms 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('54904918773533283a100100'), "firstname"=>"Austen", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54904918773533283a100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54904918773533283a100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms Unpermitted parameters: name Redirected to http://test.host/users/54904918773533283a100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6958ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms 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.2610ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877000000'), "firstname"=>"Kevon", "lastname"=>"Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2462ms 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('549049397735332877010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms 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.2772ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877020000'), "firstname"=>"Eldridge", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549049397735332877020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877030000'), "firstname"=>"Anthony", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877040000'), "firstname"=>"Jessyca", "lastname"=>"Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549049397735332877040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877050000'), "firstname"=>"Devyn", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549049397735332877050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms 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('549049397735332877060000'), "name"=>"Reba Klein", "reference"=>"Carolyne Lebsack II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549049397735332877070000'), "author_name"=>"Freda Ankunding", "content"=>["Deserunt provident neque sunt et tempora nostrum. Beatae consequuntur praesentium commodi exercitationem neque necessitatibus voluptas. Doloremque corrupti perferendis temporibus fugit quia. Nam ducimus sapiente culpa quibusdam reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549049397735332877060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877060000')} 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('549049397735332877060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549049397735332877080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms Redirected to http://test.host/admin/products/549049397735332877060000/comments/549049397735332877080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877090000'), "name"=>"Fay Roberts", "reference"=>"Colby Schamberger I", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490493977353328770a0000'), "author_name"=>"Rex Green", "content"=>["Dolore aliquid rerum. Eaque libero expedita beatae voluptates eum et est. Non assumenda enim. Asperiores doloribus non sit quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549049397735332877090000", "id"=>"5490493977353328770a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877090000')} 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('549049397735332877090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490493977353328770a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Redirected to http://test.host/admin/products/549049397735332877090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328770b0000'), "name"=>"Tremaine Greenholt", "reference"=>"Kamren Kunze", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490493977353328770c0000'), "author_name"=>"Melisa Stamm", "content"=>["Vel eos ut. Et quia accusantium totam iusto aliquam. Rerum possimus porro repellat qui sint aut. Perferendis cumque sed minima est dicta doloremque eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490493977353328770b0000", "id"=>"5490493977353328770c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328770b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.1ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328770d0000'), "name"=>"Mrs. Leo Hickle", "reference"=>"Hilbert Harber DDS", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490493977353328770e0000'), "author_name"=>"Mylene Schuppe", "content"=>["Ut laborum saepe qui. Nesciunt nostrum officiis beatae magni sit. Rem sint deleniti porro. Et non voluptatibus earum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490493977353328770d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328770d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328770f0000'), "name"=>"Sherwood Hermiston DVM", "reference"=>"Lorenzo Schmitt", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549049397735332877100000'), "author_name"=>"Bennie Murphy", "content"=>["Animi debitis nihil. Sequi harum qui facere nihil commodi. Delectus possimus cum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490493977353328770f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328770f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877110000'), "name"=>"Dorcas Hamill", "reference"=>"Jessy Hessel V", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549049397735332877120000'), "author_name"=>"Romaine Blick", "content"=>["Molestiae dolorum eos mollitia quisquam. Et id maiores earum iure quam sunt quae. A perferendis libero ea assumenda suscipit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549049397735332877110000", "id"=>"549049397735332877120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877130000'), "name"=>"Deja Rutherford IV", "reference"=>"Isabel Pagac V", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549049397735332877140000'), "author_name"=>"Mossie Feest", "content"=>["Quis aut sit suscipit. Placeat in sunt voluptatum qui nostrum ad. Exercitationem sit enim similique."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549049397735332877140000", "product_id"=>"549049397735332877130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877130000'), "comments._id"=>BSON::ObjectId('549049397735332877140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Redirected to http://test.host/admin/products/549049397735332877130000/comments/549049397735332877140000 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('549049397735332877150000'), "name"=>"Shannon Brakus", "reference"=>"Dameon Barton", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549049397735332877160000'), "firstname"=>"Rossie", "lastname"=>"Hayes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549049397735332877150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877150000')} 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('549049397735332877150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549049397735332877170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms Redirected to http://test.host/admin/products/549049397735332877150000/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('549049397735332877180000'), "name"=>"Kip Jacobson", "reference"=>"Tyree Ferry", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549049397735332877190000'), "firstname"=>"Alessandra", "lastname"=>"Kozey"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549049397735332877190000", "product_id"=>"549049397735332877180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 10ms (Views: 7.9ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328771a0000'), "name"=>"Miss Noe O'Connell", "reference"=>"Thelma Harber", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490493977353328771b0000'), "firstname"=>"Guillermo", "lastname"=>"Lang"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490493977353328771a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328771a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328771c0000'), "name"=>"Rosetta Roberts", "reference"=>"Elwin Adams", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490493977353328771d0000'), "firstname"=>"Ramiro", "lastname"=>"Donnelly"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490493977353328771d0000", "product_id"=>"5490493977353328771c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328771c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493977353328771e0000'), "name"=>"Katharina Sawayn", "reference"=>"Vida Simonis", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490493977353328771f0000'), "firstname"=>"Lazaro", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490493977353328771f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490493977353328771e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493977353328771e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490493977353328771e0000/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('549049397735332877200000'), "name"=>"Sasha Heaney", "reference"=>"Kurtis Sawayn", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5427ms 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('549049397735332877210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Redirected to http://test.host/admin/products/549049397735332877210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2417ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877220000'), "name"=>"Ladarius McKenzie", "reference"=>"Dr. Myrtice King", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8912ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1385ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549049397735332877220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4002ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms 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.2692ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877230000'), "name"=>"Murphy Kuhn III", "reference"=>"Mrs. Patsy Kuhlman", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549049397735332877230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.8ms) Completed 200 OK in 11ms (Views: 9.5ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877240000'), "name"=>"Mrs. Reinhold Hahn", "reference"=>"Mr. Lilliana Schaden", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms 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.6184ms Completed 200 OK in 16ms (Views: 14.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877250000'), "name"=>"Mrs. Hannah Bradtke", "reference"=>"Gabrielle Hagenes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 25ms (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('549049397735332877280000'), "name"=>"Katelin Adams", "reference"=>"Miss Sheldon Auer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549049397735332877280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms Completed 200 OK in 4ms (Views: 2.9ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549049397735332877290000'), "name"=>"Mose Daniel DVM", "reference"=>"Hudson Champlin DVM", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549049397735332877290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms Redirected to http://test.host/admin/products/549049397735332877290000 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('5490493977353328772a0000'), "firstname"=>"Jesse", "lastname"=>"Fritsch"}] 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.2154ms 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('5490493977353328772b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms Redirected to http://test.host/admin/users/5490493977353328772b0000 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_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493977353328772c0000'), "firstname"=>"Hope", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9508ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1942ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490493977353328772c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493977353328772c0000')} 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('5490493977353328772c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms 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.1655ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493977353328772d0000'), "firstname"=>"Jack", "lastname"=>"Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490493977353328772d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493977353328772d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493977353328772e0000'), "firstname"=>"Myriam", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms 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.3553ms 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('5490493977353328772f0000'), "firstname"=>"Cecile", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (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('549049397735332877300000'), "firstname"=>"Dedric", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549049397735332877300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549049397735332877300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms 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('549049397735332877310000'), "firstname"=>"Barbara", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549049397735332877310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549049397735332877310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549049397735332877310000 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('549049397735332877320000'), "firstname"=>"Blaise", "lastname"=>"Corkery"}] 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=>"administrators", :query=>{}} runtime: 0.1638ms 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('549049397735332877330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms 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.1776ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877340000'), "firstname"=>"Jocelyn", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549049397735332877340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877350000'), "firstname"=>"Vena", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877360000'), "firstname"=>"Sunny", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1917ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549049397735332877360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549049397735332877370000'), "firstname"=>"Maritza", "lastname"=>"Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549049397735332877370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549049397735332877370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877380000'), "name"=>"Darrin Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877390000'), "name"=>"Carroll Casper V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773a0000'), "name"=>"Ms. Kyla Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773b0000'), "name"=>"Mrs. Junius Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773c0000'), "name"=>"Maximo Emard I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773d0000'), "name"=>"Kieran Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773e0000'), "name"=>"Miss Ray Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328773f0000'), "name"=>"Magdalen Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328773f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877400000'), "name"=>"Mr. Dejon Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877410000'), "name"=>"Mr. Joana O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1308ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877420000'), "name"=>"Rafael DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877430000'), "name"=>"Dashawn Hahn IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877440000'), "name"=>"Lucious Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877450000'), "name"=>"Odie Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877460000'), "name"=>"Warren Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877470000'), "name"=>"Chelsea Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877480000'), "name"=>"Zackery Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877490000'), "name"=>"Reynold Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774a0000'), "name"=>"Ms. Vallie Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774b0000'), "name"=>"Dr. Paul Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774c0000'), "name"=>"Ms. Mckenzie Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774d0000'), "name"=>"Alaina Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774e0000'), "name"=>"Jordi Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328774f0000'), "name"=>"Olen Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328774f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1289ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877500000'), "name"=>"Joana Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877510000'), "name"=>"Taurean Kuhic MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877520000'), "name"=>"Boyd Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877530000'), "name"=>"Miss Destany Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877540000'), "name"=>"Ms. Neha Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877550000'), "name"=>"Miss Roxane Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877560000'), "name"=>"Arnold Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877570000'), "name"=>"Marielle Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877580000'), "name"=>"Nathanial Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877590000'), "name"=>"Jazmyne Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775a0000'), "name"=>"Alessia Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775b0000'), "name"=>"Dr. Lea Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775c0000'), "name"=>"Gladys Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775d0000'), "name"=>"Flavie Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775e0000'), "name"=>"Vaughn Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328775f0000'), "name"=>"Stephanie Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328775f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877600000'), "name"=>"Jimmie Gulgowski Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877610000'), "name"=>"Orpha Kozey Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877620000'), "name"=>"Clementina Marvin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877630000'), "name"=>"Santiago Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877640000'), "name"=>"Mr. Larissa Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877650000'), "name"=>"Sydnie Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877660000'), "name"=>"Donald Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877670000'), "name"=>"Miss Micah Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877680000'), "name"=>"Cora Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877690000'), "name"=>"Nikita Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776a0000'), "name"=>"Dee Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776b0000'), "name"=>"Kaylie Moen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776c0000'), "name"=>"Alexandrine Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776d0000'), "name"=>"Constantin Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776e0000'), "name"=>"Corrine Murazik III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493977353328776f0000'), "name"=>"Nadia Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493977353328776f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877700000'), "name"=>"Miss Hiram Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877710000'), "name"=>"Alexandra Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877720000'), "name"=>"Waldo Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877730000'), "name"=>"Laney Kutch MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877740000'), "name"=>"German Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549049397735332877750000'), "name"=>"Brendan Lang I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.8225ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549049397735332877750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877760000'), "name"=>"Rahul Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877770000'), "name"=>"Ahmad Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877780000'), "name"=>"Princess Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877790000'), "name"=>"Talia Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777a0000'), "name"=>"Genevieve Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777b0000'), "name"=>"Syble Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777c0000'), "name"=>"Miss Jermain Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777d0000'), "name"=>"Pierce Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777e0000'), "name"=>"Nyasia Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328777f0000'), "name"=>"Amira Smith DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328777f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877800000'), "name"=>"Dr. Tomas White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877810000'), "name"=>"Miss Brown Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877820000'), "name"=>"Nathaniel Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877830000'), "name"=>"Napoleon Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877840000'), "name"=>"Mikel Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877850000'), "name"=>"Tyson Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877860000'), "name"=>"Damian Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877870000'), "name"=>"Miss Jessie O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877880000'), "name"=>"Dr. Dejon Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877890000'), "name"=>"Kevin Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778a0000'), "name"=>"Raegan Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778b0000'), "name"=>"Abraham Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778c0000'), "name"=>"Krystal Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778d0000'), "name"=>"Genoveva Adams III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778e0000'), "name"=>"Christian Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328778f0000'), "name"=>"Angelo Bins III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328778f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877900000'), "name"=>"Korbin Cormier III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877910000'), "name"=>"Judson Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877920000'), "name"=>"Cesar Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877930000'), "name"=>"Forrest O'Reilly DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877940000'), "name"=>"Trycia Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877950000'), "name"=>"Mr. Krista Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877960000'), "name"=>"Blake Cartwright PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877970000'), "name"=>"Mariela Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1920ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Redirected to http://test.host/categories/5490493a7735332877980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2509ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877990000'), "name"=>"Mozelle Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2537ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490493a7735332877990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a7735332877990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4407ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a7735332877990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1939ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328779a0000'), "name"=>"Lindsay Kuhic"}] 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={"category_id"=>BSON::ObjectId('5490493a77353328779a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490493a77353328779a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a77353328779a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4016ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328779b0000'), "name"=>"Esta Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305885459440] runtime: 0.0953ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2928ms Completed 200 OK in 15ms (Views: 14.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328779c0000'), "name"=>"Kellie Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306593676642] runtime: 0.0759ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2834ms Completed 200 OK in 9ms (Views: 8.1ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328779d0000'), "name"=>"Melisa Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4351ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a77353328779f0000'), "name"=>"Britney Franecki DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490493a77353328779f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a77353328779f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a77353328779f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490493a7735332877a00000'), "name"=>"Quinn Labadie Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490493a7735332877a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a7735332877a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490493a7735332877a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490493a7735332877a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Redirected to http://test.host/categories/5490493a7735332877a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877a10000'), "name"=>"Ceasar Borer", "reference"=>"Kailey Wehner", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877a20000'), "author_name"=>"Rosie Koelpin", "content"=>["Alias ullam quas quam exercitationem corporis. Ut beatae nam. Aut sit molestiae odio numquam ut nesciunt. Illo quod sed molestias doloribus eos eaque cum. Ex sunt minus sed eligendi aperiam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490493a7735332877a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a10000')} 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('5490493a7735332877a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490493a7735332877a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6247ms Redirected to http://test.host/products/5490493a7735332877a10000/comments/5490493a7735332877a30000 Completed 302 Found in 10ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877a40000'), "name"=>"Charlie Hammes", "reference"=>"Miss Kiarra Mann", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877a50000'), "author_name"=>"Eriberto Rolfson", "content"=>["Consectetur nisi non et quibusdam quidem ut. Deserunt cum qui quia assumenda recusandae. Recusandae in quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490493a7735332877a40000", "id"=>"5490493a7735332877a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490493a7735332877a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms Redirected to http://test.host/products/5490493a7735332877a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877a60000'), "name"=>"Adella McLaughlin", "reference"=>"Jeff Anderson", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877a70000'), "author_name"=>"Nya Predovic DDS", "content"=>["Quis repellat dicta officia mollitia nihil omnis. Neque eum reprehenderit voluptatibus nostrum. Earum ad praesentium ab."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5606ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490493a7735332877a60000", "id"=>"5490493a7735332877a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877a80000'), "name"=>"Roosevelt Williamson", "reference"=>"Brian Paucek", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877a90000'), "author_name"=>"Junior Heaney", "content"=>["Earum ut unde quas odio soluta saepe vel. Incidunt atque autem totam. Voluptatem qui vitae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490493a7735332877a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877aa0000'), "name"=>"Freda Turcotte", "reference"=>"Art Stroman III", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877ab0000'), "author_name"=>"Annalise Schuppe", "content"=>["Deserunt provident ipsa corrupti et. Veritatis aut est voluptas eum sed. Quaerat consequatur mollitia eum. Nemo error suscipit repellat nesciunt et. Ex aut impedit molestias modi consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5688ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490493a7735332877aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877ac0000'), "name"=>"Fabiola Bednar", "reference"=>"Mrs. Rhoda Bauch", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877ad0000'), "author_name"=>"Robin Swift", "content"=>["Et excepturi velit doloribus quidem et velit nesciunt. Qui dolor nulla ipsum. Ab dolorum autem voluptas aut omnis deserunt. Id ut tempore cumque veniam corrupti est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490493a7735332877ac0000", "id"=>"5490493a7735332877ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877ae0000'), "name"=>"Mr. Clifton Schiller", "reference"=>"Patrick Langosh I", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877af0000'), "author_name"=>"Jamie Bartoletti II", "content"=>["Possimus molestiae dolor tempora corporis consectetur. Dolor necessitatibus et assumenda perspiciatis ut aut. Tempore nam voluptas. Voluptas ea dolore dolor et dolores quaerat. Voluptatem quos non aut nisi itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490493a7735332877ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877b00000'), "name"=>"Alyce Fritsch", "reference"=>"Fabiola Batz", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877b10000'), "author_name"=>"Ardella Bartell", "content"=>["Fugiat quam aut consequatur. Omnis perferendis animi dolores. Eius vero ut magnam. Consequuntur maxime adipisci sed ea laborum non sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490493a7735332877b00000", "id"=>"5490493a7735332877b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877b20000'), "name"=>"Mr. Bernie Adams", "reference"=>"Sister Johnson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490493a7735332877b30000'), "author_name"=>"Cristobal Hansen", "content"=>["Officiis blanditiis eum corrupti provident. Repellat velit voluptate adipisci temporibus. Voluptates rerum itaque minus aut. Sequi eaque modi. Aliquid et veniam enim est quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5713ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490493a7735332877b30000", "product_id"=>"5490493a7735332877b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877b20000'), "comments._id"=>BSON::ObjectId('5490493a7735332877b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6094ms Redirected to http://test.host/products/5490493a7735332877b20000/comments/5490493a7735332877b30000 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('5490493a7735332877b40000'), "firstname"=>"Rex", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5879ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2849ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490493a7735332877b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Redirected to http://test.host/admin/clients/5490493a7735332877b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2517ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490493a7735332877b60000'), "firstname"=>"Kristina", "lastname"=>"Langosh"}] 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=>"clients", :query=>{}} runtime: 0.2378ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490493a7735332877b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877b60000')} 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('5490493a7735332877b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms 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.2455ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490493a7735332877b70000'), "firstname"=>"Dejon", "lastname"=>"Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490493a7735332877b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('5490493a7735332877b80000'), "firstname"=>"Kareem", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms 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('5490493a7735332877b90000'), "firstname"=>"Stevie", "lastname"=>"O'Hara"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5106ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.2ms) Completed 200 OK in 38ms (Views: 37.5ms) ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490493a7735332877ba0000'), "firstname"=>"Aiden", "lastname"=>"Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6000ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490493a7735332877ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4068ms Completed 200 OK in 5ms (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('5490493a7735332877bb0000'), "firstname"=>"Lilyan", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5005ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490493a7735332877bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Redirected to http://test.host/admin/clients/5490493a7735332877bb0000 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('5490493a7735332877bc0000'), "firstname"=>"Stefanie", "lastname"=>"Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms 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('5490493a7735332877bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Redirected to http://test.host/clients/5490493a7735332877bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1767ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490493a7735332877be0000'), "firstname"=>"Antonette", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1587ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490493a7735332877be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877be0000')} 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('5490493a7735332877be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms 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('5490493a7735332877bf0000'), "firstname"=>"Nora", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490493a7735332877bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms Rendered /home/geoffroy/projects/crealettres/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('5490493a7735332877c00000'), "firstname"=>"Larry", "lastname"=>"Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms 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('5490493a7735332877c10000'), "firstname"=>"Nils", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('5490493a7735332877c20000'), "firstname"=>"Dominique", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490493a7735332877c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms 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('5490493a7735332877c30000'), "firstname"=>"Clotilde", "lastname"=>"Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490493a7735332877c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490493a7735332877c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms Redirected to http://test.host/clients/5490493a7735332877c30000 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('5490493a7735332877c40000'), "name"=>"Kade Hudson", "reference"=>"Millie Watsica", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877c50000'), "firstname"=>"Elda", "lastname"=>"Kuhn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490493a7735332877c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms Redirected to http://test.host/products/5490493a7735332877c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877c70000'), "name"=>"Carleton Larkin PhD", "reference"=>"Rodrick O'Hara", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877c80000'), "firstname"=>"Jada", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490493a7735332877c80000", "product_id"=>"5490493a7735332877c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877c90000'), "name"=>"Ms. Yasmine Moen", "reference"=>"Charley Rowe", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877ca0000'), "firstname"=>"Missouri", "lastname"=>"Dietrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490493a7735332877c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877cb0000'), "name"=>"Ms. Guy Lebsack", "reference"=>"Dusty Lind", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877cc0000'), "firstname"=>"Oleta", "lastname"=>"Stamm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490493a7735332877cc0000", "product_id"=>"5490493a7735332877cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877cd0000'), "name"=>"Lowell King PhD", "reference"=>"Skyla Powlowski", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490493a7735332877ce0000'), "firstname"=>"Tressa", "lastname"=>"Senger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6187ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490493a7735332877ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490493a7735332877cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Unpermitted parameters: name Redirected to http://test.host/products/5490493a7735332877cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877cf0000'), "name"=>"Liam Renner", "reference"=>"Turner Kuvalis", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d00000'), "name"=>"Ms. Geraldine Blanda", "reference"=>"Glennie Smitham", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d10000'), "name"=>"Ms. Ari Murazik", "reference"=>"Jayda Morissette", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d20000'), "name"=>"Nella Will", "reference"=>"Buck Howell", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d30000'), "name"=>"Dewitt Roob", "reference"=>"Scarlett Funk", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d40000'), "name"=>"Agustin Grant V", "reference"=>"Miss Briana Heller", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2006ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms Redirected to http://test.host/products/5490493a7735332877d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2400ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d60000'), "name"=>"Tobin Turcotte", "reference"=>"Rylee Goyette", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2099ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490493a7735332877d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms 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('5490493a7735332877d70000'), "name"=>"Vivienne Bode", "reference"=>"Angelina Bins MD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2270ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490493a7735332877d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('5490493a7735332877d80000'), "name"=>"Noel Muller", "reference"=>"Ms. Kiel Grady", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6307ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280785380279] runtime: 0.1043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2574ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877d90000'), "name"=>"Mrs. Jordi Rolfson", "reference"=>"Hank Prosacco", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877da0000'), "name"=>"HelloWorld", "reference"=>"Mrs. Aniyah Kertzmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877db0000'), "name"=>"value", "reference"=>"Marcelina Morissette", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4328ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2763ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2447ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2259ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2206ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2619ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1291ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877dc0000'), "name"=>"Carmine Osinski", "reference"=>"Alysson Wintheiser", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908782190] runtime: 0.0892ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms Completed 200 OK in 17ms (Views: 16.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280039040829] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479728572] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068575468] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279340542030] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280235196163] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280696234934] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136299059] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1364ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056237253] runtime: 0.0981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280202237545] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218230119] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280449782246] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021504350] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820329211] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281238200421] runtime: 0.0810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279846444481] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475215482] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279972743053] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187996501] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281300517442] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280012662804] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281150017719] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279454196642] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279641796778] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280665978184] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279509519240] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279743079195] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716947950] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279390149522] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280803253519] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683679306] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280306598692] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880314639] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842032288] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279536709448] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6306ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280045044922] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280461690653] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309213613] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574005472] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280143890739] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253305405] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908129682] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225791438] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280377274535] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279594242755] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609494521] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117644276] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280013228241] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280119267290] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280871246835] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752520459] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280671856587] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830373669] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280874305203] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279747114494] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280276019341] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279650710557] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096421247] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169702309] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314730117] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342309041] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496182453] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281242399795] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280613281237] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280495097471] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281184468465] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721632978] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716517732] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281031780581] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885994296] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 31.7185ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280759974734] runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279506139384] runtime: 0.0908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581635046] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280115929932] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529857615] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280599004243] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701885716] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280038636223] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280989428503] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279998683472] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265793054] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280834910900] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280184843026] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050845585] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450868893] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280608366758] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279662631166] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281065241734] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682456140] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108165893] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279596049784] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279982310869] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280337702810] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579539503] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280112385205] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279175394866] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279904577699] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803154879] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279504399324] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279716485232] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279499240751] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280309547607] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336440760] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280580679739] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279722276324] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280803154270] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425253278] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279570999028] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280002552306] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279987939435] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280921511912] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280640344413] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279284405808] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033421119] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874924124] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243252995] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574538908] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280596827412] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280273871709] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633324250] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281123570978] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279732326867] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789982126] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370012736] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280614805583] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280510985515] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096090390] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180438446] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279294155320] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280365260633] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403083572] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279252397813] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279852736256] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218529758] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279847624348] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280113633193] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5997ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219972212] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279277254194] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281042307927] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220169868] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280446065127] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281180503951] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095648734] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279963432215] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293340018] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348221622] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279484340332] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280078737764] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617140868] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836641568] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279356290257] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.7925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042996137] runtime: 0.1201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047707316] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435887363] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062028827] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280591704552] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280372702858] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748741154] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281267456157] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280693291023] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209638504] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280374079508] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218898010] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280687467458] runtime: 0.0408ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877dd0000'), "name"=>"Jackson Berge", "reference"=>"Murl Kohler", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3333ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493a7735332877de0000'), "name"=>"Ms. Brody Mertz", "reference"=>"Hettie Tremblay Jr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.2428ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6813ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711877464] runtime: 0.0746ms Completed 200 OK in 5ms (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('5490493a7735332877df0000'), "name"=>"Rosendo Ledner", "reference"=>"Nelle Schmitt", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490493a7735332877df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493a7735332877df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3929ms 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('5490493a7735332877e00000'), "name"=>"Whitney Bogan", "reference"=>"Octavia Hansen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e20000'), "name"=>"Monica O'Keefe", "reference"=>"Quinn Kuhlman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6372ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490493b7735332877e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4477ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e30000'), "name"=>"Myrl Cartwright", "reference"=>"Will Kuhn III", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5993ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5262ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549049397735332877060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4866ms Unpermitted parameters: go_to Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e40000'), "name"=>"Garett Streich", "reference"=>"Maurice Pacocha", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3939ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e50000'), "name"=>"Sonny Langosh", "reference"=>"Ezekiel Wintheiser", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3767ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e60000'), "name"=>"Abdiel Lockman", "reference"=>"Dorian McLaughlin", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2671ms 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('5490493b7735332877e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2340ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877e80000'), "name"=>"Timmy Marvin", "reference"=>"Delores Brown", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490493b7735332877e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms 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('5490493b7735332877e90000'), "name"=>"Davin Kuhlman", "reference"=>"Jovany Pagac", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms 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('5490493b7735332877eb0000'), "name"=>"Mr. Emily Yost", "reference"=>"Vaughn Cremin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490493b7735332877eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms 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('5490493b7735332877ec0000'), "name"=>"Alene Konopelski I", "reference"=>"Luna Herman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490493b7735332877ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ec0000')} 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('5490493b7735332877ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/products/5490493b7735332877ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877ef0000'), "name"=>"Beaulah Beahan", "reference"=>"Ashton Veum DDS", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877ed0000'), "author_name"=>"Mrs. Gaylord Price", "content"=>["Nam distinctio dignissimos autem ducimus velit id et. Molestias sit exercitationem autem est. Similique autem unde qui. Nobis fugiat voluptate voluptatem eum."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877ee0000'), "author_name"=>"Rudy Hoppe", "content"=>["Velit perferendis quia quo. Ratione odit animi perspiciatis eveniet. Ad iste ut inventore. Qui molestiae accusamus sequi molestias. Et perferendis rem facilis nemo dolor quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2168ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490493b7735332877ef0000", "comment_id"=>"5490493b7735332877ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ef0000'), "comments._id"=>BSON::ObjectId('5490493b7735332877ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490493b7735332877f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms Redirected to http://test.host/products/5490493b7735332877ef0000/comments/5490493b7735332877ed0000/comments/5490493b7735332877f00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877f30000'), "name"=>"Myron Tromp", "reference"=>"Natalia Willms", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f10000'), "author_name"=>"Julien Jerde I", "content"=>["Velit at labore repellendus. Nostrum adipisci consectetur enim iusto. Distinctio aut voluptatum provident dolor sunt. Consequuntur cupiditate cumque cum laboriosam nihil."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f20000'), "author_name"=>"Josefina Hirthe", "content"=>["Et magni tenetur fuga et officia. Delectus enim reprehenderit. Atque animi et unde provident ut fugit. Impedit nostrum nesciunt beatae sit reprehenderit voluptas. Voluptatem temporibus ad doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490493b7735332877f30000", "comment_id"=>"5490493b7735332877f10000", "id"=>"5490493b7735332877f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f30000'), "comments._id"=>BSON::ObjectId('5490493b7735332877f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490493b7735332877f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Redirected to http://test.host/products/5490493b7735332877f30000/comments/5490493b7735332877f10000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877f60000'), "name"=>"Xavier Windler DDS", "reference"=>"Mary Murray", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f40000'), "author_name"=>"Mr. Roberto Cassin", "content"=>["Dolorum dignissimos velit. Ratione quae nisi sunt dolor in sit suscipit. Est aut et inventore."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f50000'), "author_name"=>"Rosamond Strosin", "content"=>["Expedita repudiandae labore velit sed. Natus id architecto tempora id reprehenderit. Vel aut sint sequi nostrum repellendus fugiat. Qui quia aut et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490493b7735332877f60000", "comment_id"=>"5490493b7735332877f40000", "id"=>"5490493b7735332877f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 8ms (Views: 5.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877f90000'), "name"=>"Kathryn Murazik", "reference"=>"Al Jacobi", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f70000'), "author_name"=>"Jamir Crooks", "content"=>["Ut et unde sed distinctio maiores eaque. Delectus totam voluptas hic. Et minus aut necessitatibus voluptatem. Iure maxime qui voluptas voluptates eveniet. Nihil quia commodi provident omnis."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877f80000'), "author_name"=>"Zander Corkery V", "content"=>["Et ratione pariatur quam vero. Assumenda a incidunt qui sint. Iusto dolor praesentium minima voluptas eum quasi. Perspiciatis et reprehenderit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490493b7735332877f90000", "comment_id"=>"5490493b7735332877f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms Completed 200 OK in 5ms (Views: 3.1ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877fc0000'), "name"=>"Saul Jenkins", "reference"=>"Maximillian Ortiz", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877fa0000'), "author_name"=>"Iva Feeney", "content"=>["Et adipisci aut saepe soluta velit reiciendis. Dolorem ut numquam quas consequatur ex ut quia. Atque corporis et iste odit officia ab molestiae."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877fb0000'), "author_name"=>"Mr. Raoul Jacobson", "content"=>["Sit magnam illo exercitationem voluptas aut aperiam. Consequatur id et modi itaque et cum. Necessitatibus quo libero. Repellat quia quia facilis enim magnam ab. Vitae inventore dolorem magni officiis ratione repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490493b7735332877fc0000", "comment_id"=>"5490493b7735332877fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877ff0000'), "name"=>"Rosella Padberg", "reference"=>"Ford Hoeger", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877fd0000'), "author_name"=>"Ms. Clementina Lemke", "content"=>["Sint quis veniam aut vel iste. Quia esse veniam aut inventore similique. In in aut."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877fe0000'), "author_name"=>"Humberto Medhurst", "content"=>["Quos voluptatem non quas at tempore et. Architecto beatae dolore a animi vel harum iusto. Et voluptatibus voluptatem sed consectetur vel minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490493b7735332877ff0000", "comment_id"=>"5490493b7735332877fd0000", "id"=>"5490493b7735332877fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877020100'), "name"=>"Nona Dooley", "reference"=>"Dameon Hilll", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877000100'), "author_name"=>"Wiley Goyette", "content"=>["Expedita voluptatem debitis reiciendis rerum. Consequuntur molestiae sapiente minima. Inventore laudantium voluptatem iusto ullam neque et. Dicta aut assumenda corporis sed et neque est."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877010100'), "author_name"=>"Jermain Ruecker MD", "content"=>["Aut non iusto officiis quasi debitis. Voluptatem excepturi illum aut earum. Cumque ducimus enim est non aut ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490493b7735332877020100", "comment_id"=>"5490493b7735332877000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877050100'), "name"=>"Cordia Braun", "reference"=>"Quinn Fay", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877030100'), "author_name"=>"Mrs. Anna Gulgowski", "content"=>["Possimus modi reprehenderit excepturi. Laudantium sed voluptatum sint. Dolorum dolorem ducimus facere voluptatum quas."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877040100'), "author_name"=>"Khalid Abernathy", "content"=>["Libero eos impedit quasi rem omnis expedita. Quod alias blanditiis ex voluptas. Dolore consequatur quas repellat asperiores esse. Rerum molestiae delectus est. Consequuntur minus aliquam placeat nostrum ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490493b7735332877050100", "comment_id"=>"5490493b7735332877030100", "id"=>"5490493b7735332877040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490493b7735332877080100'), "name"=>"Nyasia Larkin", "reference"=>"Ryann Schinner MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877060100'), "author_name"=>"Tomas O'Keefe", "content"=>["Sit maiores voluptatem beatae. Quibusdam quis optio ad. Ut aspernatur minima nesciunt autem et natus omnis. Sed molestiae laudantium quisquam illo."], "comments"=>[{"_id"=>BSON::ObjectId('5490493b7735332877070100'), "author_name"=>"Magnolia Douglas", "content"=>["Et consequatur omnis distinctio perferendis quo. Corrupti non beatae error. Quia tempora facere alias ut est tempore reiciendis. Et ut in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2142ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490493b7735332877070100", "product_id"=>"5490493b7735332877080100", "comment_id"=>"5490493b7735332877060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490493b7735332877080100')} 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('5490493b7735332877080100'), "comments._id"=>BSON::ObjectId('5490493b7735332877060100'), "comments.0.comments._id"=>BSON::ObjectId('5490493b7735332877070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Redirected to http://test.host/products/5490493b7735332877080100/comments/5490493b7735332877060100/comments/5490493b7735332877070100 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('5490493b7735332877090100'), "firstname"=>"Rodger", "lastname"=>"Brown"}] 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=>"admin_users", :query=>{}} runtime: 0.2088ms 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('5490493b77353328770a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Redirected to http://test.host/users/5490493b77353328770a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2019ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493b77353328770b0100'), "firstname"=>"Adeline", "lastname"=>"McKenzie"}] 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=>"admin_users", :query=>{}} runtime: 0.1889ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490493b77353328770b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493b77353328770b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493b77353328770b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms 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.2473ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493b77353328770c0100'), "firstname"=>"Celestino", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490493b77353328770c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493b77353328770c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 33ms (Views: 31.4ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493b77353328770d0100'), "firstname"=>"Jarret", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms 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.5335ms Completed 200 OK in 45ms (Views: 44.1ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490493b77353328770e0100'), "firstname"=>"Harmon", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490493b77353328770f0100'), "firstname"=>"Kendall", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490493b77353328770f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493b77353328770f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms 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('5490493b7735332877100100'), "firstname"=>"Willa", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490493b7735332877100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490493b7735332877100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms Unpermitted parameters: name Redirected to http://test.host/users/5490493b7735332877100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6519ms 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.5635ms 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.8546ms 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.4651ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0894ms 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.3905ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f000000'), "firstname"=>"Bertrand", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5519ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2404ms 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('549052d67735332e3f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms 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.3028ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f020000'), "firstname"=>"Virgil", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549052d67735332e3f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d67735332e3f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 16.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f030000'), "firstname"=>"Blair", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5752ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f040000'), "firstname"=>"Levi", "lastname"=>"Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6325ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549052d67735332e3f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d67735332e3f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4219ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f050000'), "firstname"=>"Vada", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549052d67735332e3f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d67735332e3f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms 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('549052d67735332e3f060000'), "name"=>"Michale Osinski", "reference"=>"Madeline Waters", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f070000'), "author_name"=>"Dayana Predovic IV", "content"=>["Qui vitae et est praesentium ad. Modi necessitatibus commodi mollitia odio. Vel odit est laborum. Dolorem repellat nam veniam blanditiis alias aperiam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549052d67735332e3f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f060000')} 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('549052d67735332e3f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549052d67735332e3f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Redirected to http://test.host/admin/products/549052d67735332e3f060000/comments/549052d67735332e3f080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f090000'), "name"=>"Kristin Abernathy", "reference"=>"Modesta Schoen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f0a0000'), "author_name"=>"Verlie Marks MD", "content"=>["Vel tenetur beatae minima. Odit pariatur eos ea et. Non sequi natus labore architecto quia quasi consectetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549052d67735332e3f090000", "id"=>"549052d67735332e3f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f090000')} 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('549052d67735332e3f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549052d67735332e3f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Redirected to http://test.host/admin/products/549052d67735332e3f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f0b0000'), "name"=>"Daniela McCullough", "reference"=>"Miss Judge Veum", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f0c0000'), "author_name"=>"Karl Fritsch", "content"=>["Sed et perspiciatis reprehenderit est quisquam est ipsum. Modi corrupti ut. Expedita enim velit. Quo laborum qui voluptatem tempore. Sed voluptate temporibus earum similique quia qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549052d67735332e3f0b0000", "id"=>"549052d67735332e3f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f0d0000'), "name"=>"Wendy Wolf", "reference"=>"Mrs. Jaquelin Jacobson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f0e0000'), "author_name"=>"Daija Parisian", "content"=>["Nesciunt libero qui temporibus molestias tenetur voluptas. Error sequi earum sunt rem eius sunt. Quis dolor provident. Consectetur aut perferendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549052d67735332e3f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f0f0000'), "name"=>"Mazie Kunze", "reference"=>"Kaley Gerhold", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f100000'), "author_name"=>"Morton Miller", "content"=>["Non dolorem rerum et in minima consequatur. Quibusdam libero saepe quod commodi ut aut. Aliquid sint sit voluptatem repellendus ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549052d67735332e3f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4331ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f110000'), "name"=>"Garrison Larkin", "reference"=>"Mrs. Raoul Keeling", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f120000'), "author_name"=>"Evangeline Franecki", "content"=>["Qui aut rerum. Ea eveniet eius. Error labore quis nulla voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549052d67735332e3f110000", "id"=>"549052d67735332e3f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f130000'), "name"=>"Zane Ruecker", "reference"=>"Dr. Taryn Heaney", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549052d67735332e3f140000'), "author_name"=>"Eloisa Bode IV", "content"=>["Eum labore impedit hic incidunt dolorem. Dolorum consequatur et quibusdam ex deleniti. Quibusdam et ratione esse ut. Deleniti aut ex doloremque dolor similique. Voluptas est unde maiores quae aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549052d67735332e3f140000", "product_id"=>"549052d67735332e3f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f130000'), "comments._id"=>BSON::ObjectId('549052d67735332e3f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms Redirected to http://test.host/admin/products/549052d67735332e3f130000/comments/549052d67735332e3f140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f150000'), "name"=>"Zelda Stoltenberg", "reference"=>"Loyal Bergstrom DVM", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f160000'), "firstname"=>"Leonor", "lastname"=>"Wolff"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549052d67735332e3f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms Redirected to http://test.host/admin/products/549052d67735332e3f150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f180000'), "name"=>"Etha Leannon", "reference"=>"Miss Brenna Feil", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f190000'), "firstname"=>"Patience", "lastname"=>"Rath"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549052d67735332e3f190000", "product_id"=>"549052d67735332e3f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f1a0000'), "name"=>"Cruz Walker", "reference"=>"Miss Donald Stracke", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f1b0000'), "firstname"=>"Arne", "lastname"=>"Kris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549052d67735332e3f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (31.4ms) Completed 200 OK in 35ms (Views: 33.4ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f1c0000'), "name"=>"Miss Hassan Oberbrunner", "reference"=>"Ansley Goldner", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f1d0000'), "firstname"=>"Glennie", "lastname"=>"Marvin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549052d67735332e3f1d0000", "product_id"=>"549052d67735332e3f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f1e0000'), "name"=>"Miss Joseph Harris", "reference"=>"Ronny Goldner PhD", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549052d67735332e3f1f0000'), "firstname"=>"Dayton", "lastname"=>"Armstrong"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549052d67735332e3f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549052d67735332e3f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549052d67735332e3f1e0000/manager 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('549052d67735332e3f200000'), "name"=>"Stan Monahan", "reference"=>"Makayla Streich", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2346ms 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('549052d67735332e3f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms Redirected to http://test.host/admin/products/549052d67735332e3f210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1950ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f220000'), "name"=>"Jed Koch", "reference"=>"Laurence Kessler I", "quantity"=>2}] 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.2053ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549052d67735332e3f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms 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.2038ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f230000'), "name"=>"Joy Treutel", "reference"=>"Maynard Blick", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549052d67735332e3f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f240000'), "name"=>"Rebekah Keebler", "reference"=>"Cyril Jones", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9355ms 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.6330ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f250000'), "name"=>"Wade Rodriguez DDS", "reference"=>"Estel Hermiston", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('549052d67735332e3f280000'), "name"=>"Ana Boehm V", "reference"=>"Myrtie Hoeger Jr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549052d67735332e3f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms 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('549052d67735332e3f290000'), "name"=>"Maymie Jast", "reference"=>"Ms. Austin McClure", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549052d67735332e3f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f290000')} 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('549052d67735332e3f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms Redirected to http://test.host/admin/products/549052d67735332e3f290000 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('549052d67735332e3f2a0000'), "firstname"=>"Keith", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2054ms 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('549052d67735332e3f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms Redirected to http://test.host/admin/users/549052d67735332e3f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2101ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d67735332e3f2c0000'), "firstname"=>"Brenda", "lastname"=>"Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2133ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549052d67735332e3f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d67735332e3f2c0000')} 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('549052d67735332e3f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms 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.2002ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f2d0000'), "firstname"=>"Dillon", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549052d77735332e3f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d77735332e3f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f2e0000'), "firstname"=>"Everardo", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms 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.3003ms Completed 200 OK in 37ms (Views: 36.7ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f2f0000'), "firstname"=>"Adaline", "lastname"=>"Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('549052d77735332e3f300000'), "firstname"=>"Rosie", "lastname"=>"Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549052d77735332e3f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d77735332e3f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms 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('549052d77735332e3f310000'), "firstname"=>"Fernando", "lastname"=>"Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549052d77735332e3f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d77735332e3f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549052d77735332e3f310000 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('549052d77735332e3f320000'), "firstname"=>"Bertrand", "lastname"=>"Aufderhar"}] 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=>"administrators", :query=>{}} runtime: 0.1643ms 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('549052d77735332e3f330000'), "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.2600ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f340000'), "firstname"=>"Jameson", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549052d77735332e3f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d77735332e3f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f350000'), "firstname"=>"Shayna", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f360000'), "firstname"=>"Jovanny", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549052d77735332e3f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d77735332e3f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f370000'), "firstname"=>"Mathias", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549052d77735332e3f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549052d77735332e3f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f380000'), "name"=>"Willow Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f390000'), "name"=>"Ellsworth Schamberger IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3a0000'), "name"=>"Gay Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3b0000'), "name"=>"Sterling Jones"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3c0000'), "name"=>"Princess Prosacco I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1877ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3d0000'), "name"=>"Ena Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3e0000'), "name"=>"Melissa Schmeler IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f3f0000'), "name"=>"Miss Herbert Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f400000'), "name"=>"Rhea Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f410000'), "name"=>"Ethelyn Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f420000'), "name"=>"April Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f430000'), "name"=>"Clinton Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f440000'), "name"=>"Stanford Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f450000'), "name"=>"Miss Beth Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f460000'), "name"=>"Kaitlin Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f470000'), "name"=>"Marlene Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f480000'), "name"=>"Ozella Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f490000'), "name"=>"Gracie O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4a0000'), "name"=>"Jaycee Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4b0000'), "name"=>"Jenifer Ledner III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4c0000'), "name"=>"Treva Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2237ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4d0000'), "name"=>"Eugenia Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4e0000'), "name"=>"Gilbert Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f4f0000'), "name"=>"Muriel Hettinger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f500000'), "name"=>"Gilberto Breitenberg II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f510000'), "name"=>"Georgiana Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f520000'), "name"=>"Mr. Candace Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f530000'), "name"=>"Guiseppe Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f540000'), "name"=>"Zachariah Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f550000'), "name"=>"Tabitha Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f560000'), "name"=>"Bertha Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f570000'), "name"=>"Onie Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f580000'), "name"=>"Kaden Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f590000'), "name"=>"Mr. Gregory Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5a0000'), "name"=>"Dwight Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5b0000'), "name"=>"Stephany Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5c0000'), "name"=>"Dr. Nelle Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2094ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5d0000'), "name"=>"Flo Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5e0000'), "name"=>"Urban Konopelski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f5f0000'), "name"=>"Harvey Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f600000'), "name"=>"Melba Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f610000'), "name"=>"Aiyana Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f620000'), "name"=>"Mrs. Tomas Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f630000'), "name"=>"Soledad Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f640000'), "name"=>"Gay Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f650000'), "name"=>"Briana Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1448ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f660000'), "name"=>"Dr. Cyrus Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f670000'), "name"=>"Marley Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f680000'), "name"=>"Destany Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f690000'), "name"=>"Talon Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6a0000'), "name"=>"Shanny Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6b0000'), "name"=>"Mrs. Eusebio Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6c0000'), "name"=>"Elinore Casper Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6d0000'), "name"=>"Miss Wyatt Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6e0000'), "name"=>"Ashlynn Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f6f0000'), "name"=>"Tremaine Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f700000'), "name"=>"Leilani Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f710000'), "name"=>"Adell Lang II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f720000'), "name"=>"Henry Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f730000'), "name"=>"Damien Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f740000'), "name"=>"Bethany Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f750000'), "name"=>"Miss Carmen Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f760000'), "name"=>"Monte Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f770000'), "name"=>"Chyna Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f780000'), "name"=>"Ms. Hazel Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f790000'), "name"=>"Trevion Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7a0000'), "name"=>"Ross Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7b0000'), "name"=>"Carlotta Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7c0000'), "name"=>"Mr. Juliet Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7d0000'), "name"=>"Vita Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7e0000'), "name"=>"Katrina Morissette"}] 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={"category_id"=>BSON::ObjectId('549052d77735332e3f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1653ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f7f0000'), "name"=>"Miss Nettie Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f800000'), "name"=>"Kailey Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f810000'), "name"=>"Lonny Walker DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f820000'), "name"=>"Blair Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f830000'), "name"=>"Virgil Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f840000'), "name"=>"Donavon Waelchi DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f850000'), "name"=>"Devante Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f860000'), "name"=>"Mrs. Bert Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f870000'), "name"=>"Ms. Cathrine Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f880000'), "name"=>"Mr. Kali Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f890000'), "name"=>"Gunnar Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8a0000'), "name"=>"Cassandra Waelchi III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8b0000'), "name"=>"Hayden Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8c0000'), "name"=>"Cecil Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8d0000'), "name"=>"Mrs. Myrtis Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8e0000'), "name"=>"Claud Sawayn II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f8f0000'), "name"=>"Mr. Elinor Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f900000'), "name"=>"Mertie Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f910000'), "name"=>"Turner Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f920000'), "name"=>"Holden Balistreri V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f930000'), "name"=>"Joannie Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f940000'), "name"=>"Mireya Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f950000'), "name"=>"George Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f960000'), "name"=>"Will Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f970000'), "name"=>"Ms. Lou Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1723ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms Redirected to http://test.host/categories/549052d77735332e3f980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2184ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f990000'), "name"=>"Lester Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2385ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549052d77735332e3f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4227ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2939ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f9a0000'), "name"=>"Mauricio Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549052d77735332e3f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4531ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f9b0000'), "name"=>"Turner Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306811641829] runtime: 0.0986ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3159ms Completed 200 OK in 16ms (Views: 15.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f9c0000'), "name"=>"Leonora Bogan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305612661653] runtime: 0.0694ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3111ms Completed 200 OK in 34ms (Views: 33.4ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f9d0000'), "name"=>"Lia Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3f9f0000'), "name"=>"Marc Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549052d77735332e3f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fa00000'), "name"=>"Odessa Heathcote V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549052d77735332e3fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549052d77735332e3fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549052d77735332e3fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms Redirected to http://test.host/categories/549052d77735332e3fa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fa10000'), "name"=>"Martina Grimes", "reference"=>"Jaleel Gulgowski I", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fa20000'), "author_name"=>"Colleen Grimes", "content"=>["Eum quibusdam et vel. Explicabo assumenda hic omnis ut reiciendis autem. In odit voluptatem iusto dolorum voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549052d77735332e3fa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549052d77735332e3fa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms Redirected to http://test.host/products/549052d77735332e3fa10000/comments/549052d77735332e3fa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fa40000'), "name"=>"Ethelyn Towne", "reference"=>"Jordon Donnelly Sr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fa50000'), "author_name"=>"Celestino Pagac", "content"=>["Et aut repellendus autem voluptatem deserunt. Qui nemo facilis consequuntur ut. Rerum et eum esse tempore id magni aut. Nemo animi et non quia amet voluptatem iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549052d77735332e3fa40000", "id"=>"549052d77735332e3fa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549052d77735332e3fa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms Redirected to http://test.host/products/549052d77735332e3fa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fa60000'), "name"=>"Antoinette Lind", "reference"=>"Deshaun Krajcik", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fa70000'), "author_name"=>"Joan Johnston III", "content"=>["Autem vero consequuntur quis facilis ipsum sint. Maiores dolores debitis. Harum consequatur libero ab velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549052d77735332e3fa60000", "id"=>"549052d77735332e3fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fa80000'), "name"=>"Nico Donnelly", "reference"=>"Era Kuphal", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fa90000'), "author_name"=>"Leatha Medhurst", "content"=>["Voluptate libero modi voluptas quo maiores perspiciatis culpa. Perferendis sint aut laudantium. Nihil odio voluptatem quia. Laudantium nemo aut quas eius odit voluptatem dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549052d77735332e3fa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3faa0000'), "name"=>"Stella McKenzie", "reference"=>"Jayce Hammes", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fab0000'), "author_name"=>"Johathan Zieme", "content"=>["Est doloribus et. Ullam est est sapiente voluptatem excepturi ut. Nisi nemo sunt soluta cumque eius. Recusandae culpa consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549052d77735332e3faa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3faa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fac0000'), "name"=>"Mossie Welch", "reference"=>"Skye Abernathy", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fad0000'), "author_name"=>"Miss Ernie Boyle", "content"=>["Sit illum ipsa. Doloremque architecto quisquam quam est vel eos et. Similique molestiae hic ab optio. Qui et occaecati sed culpa delectus ea molestiae. Aut nihil minima reprehenderit quae quia qui natus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549052d77735332e3fac0000", "id"=>"549052d77735332e3fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fae0000'), "name"=>"Florence Nicolas", "reference"=>"Ronaldo Hoeger", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3faf0000'), "author_name"=>"Sydnee Kris Jr.", "content"=>["Asperiores qui est. Deleniti consequatur nulla. Temporibus aliquid nobis aliquam nostrum. Vero sint nihil commodi sit reiciendis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549052d77735332e3fae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fb00000'), "name"=>"Isabell Fisher", "reference"=>"Gideon Labadie", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fb10000'), "author_name"=>"Maurine Wiza I", "content"=>["Cumque tenetur aliquid ipsam harum ex. Expedita ipsam accusamus illum optio itaque ullam et. Et facilis sapiente sed. Non neque qui quisquam eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549052d77735332e3fb00000", "id"=>"549052d77735332e3fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fb20000'), "name"=>"Collin Schowalter", "reference"=>"Lazaro Abbott", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549052d77735332e3fb30000'), "author_name"=>"Pierre Hyatt I", "content"=>["Sit eos recusandae aut debitis voluptatem consequatur commodi. Consequatur voluptas nihil. Perspiciatis perferendis incidunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549052d77735332e3fb30000", "product_id"=>"549052d77735332e3fb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fb20000'), "comments._id"=>BSON::ObjectId('549052d77735332e3fb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms Redirected to http://test.host/products/549052d77735332e3fb20000/comments/549052d77735332e3fb30000 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('549052d77735332e3fb40000'), "firstname"=>"Will", "lastname"=>"Ratke"}] 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=>"clients", :query=>{}} runtime: 0.2264ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms Redirected to http://test.host/admin/clients/549052d77735332e3fb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2217ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fb60000'), "firstname"=>"Hanna", "lastname"=>"Ryan"}] 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=>"clients", :query=>{}} runtime: 0.2061ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549052d77735332e3fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fb60000')} 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('549052d77735332e3fb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8457ms 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.2086ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fb70000'), "firstname"=>"Tara", "lastname"=>"Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549052d77735332e3fb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('549052d77735332e3fb80000'), "firstname"=>"Rosemary", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms 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('549052d77735332e3fb90000'), "firstname"=>"Aida", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549052d77735332e3fba0000'), "firstname"=>"Thora", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4872ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549052d77735332e3fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3687ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fbb0000'), "firstname"=>"Nikki", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549052d77735332e3fbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Redirected to http://test.host/admin/clients/549052d77735332e3fbb0000 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('549052d77735332e3fbc0000'), "firstname"=>"Magali", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2346ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms Redirected to http://test.host/clients/549052d77735332e3fbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2653ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fbe0000'), "firstname"=>"Arvel", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2367ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549052d77735332e3fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms 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.2504ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fbf0000'), "firstname"=>"Susie", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549052d77735332e3fbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms Rendered /home/geoffroy/projects/crealettres/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('549052d77735332e3fc00000'), "firstname"=>"Theresia", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 9ms (Views: 8.2ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fc10000'), "firstname"=>"Jaylan", "lastname"=>"Hammes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549052d77735332e3fc20000'), "firstname"=>"Sylvan", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549052d77735332e3fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms 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('549052d77735332e3fc30000'), "firstname"=>"Emerald", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549052d77735332e3fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549052d77735332e3fc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms Redirected to http://test.host/clients/549052d77735332e3fc30000 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('549052d77735332e3fc40000'), "name"=>"Chelsey Ward", "reference"=>"Dr. Christa Wuckert", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fc50000'), "firstname"=>"Kathleen", "lastname"=>"Blick"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549052d77735332e3fc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms Redirected to http://test.host/products/549052d77735332e3fc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fc70000'), "name"=>"Kayleigh Kessler MD", "reference"=>"Amya Grady", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fc80000'), "firstname"=>"Clemens", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549052d77735332e3fc80000", "product_id"=>"549052d77735332e3fc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4753ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 13ms (Views: 9.9ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fc90000'), "name"=>"Zachary Boyer DDS", "reference"=>"Garland Hahn II", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fca0000'), "firstname"=>"Andreane", "lastname"=>"Carroll"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5902ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549052d77735332e3fc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5317ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.3ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fcb0000'), "name"=>"Juliana Greenfelder", "reference"=>"Margaretta Mante", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fcc0000'), "firstname"=>"Marvin", "lastname"=>"Carroll"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6254ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549052d77735332e3fcc0000", "product_id"=>"549052d77735332e3fcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4644ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fcd0000'), "name"=>"Archibald Stroman", "reference"=>"Miss Anna Schulist", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549052d77735332e3fce0000'), "firstname"=>"Perry", "lastname"=>"Kulas"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5877ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549052d77735332e3fce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549052d77735332e3fcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms Unpermitted parameters: name Redirected to http://test.host/products/549052d77735332e3fcd0000/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('549052d77735332e3fcf0000'), "name"=>"Eloy Williamson", "reference"=>"Luella Bauch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd00000'), "name"=>"Gladys Kutch", "reference"=>"Ron Kunze", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd10000'), "name"=>"Tracey Stokes", "reference"=>"Newton Langworth", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd20000'), "name"=>"Zackary Gusikowski", "reference"=>"Elinore Bruen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd30000'), "name"=>"Gilbert Dicki", "reference"=>"Mozell Koss", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd40000'), "name"=>"Ms. Damian Kulas", "reference"=>"Gianni Nolan III", "quantity"=>3}] 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.3318ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5705ms Redirected to http://test.host/products/549052d77735332e3fd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3029ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd60000'), "name"=>"Mr. Valerie Labadie", "reference"=>"Manley Schoen", "quantity"=>8}] 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.3136ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549052d77735332e3fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3907ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms 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.3199ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd70000'), "name"=>"Christ Harvey", "reference"=>"Keara D'Amore", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549052d77735332e3fd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d77735332e3fd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) 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('549052d77735332e3fd80000'), "name"=>"Carmen Simonis", "reference"=>"Maybelle O'Reilly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778818840] runtime: 0.1172ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3186ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fd90000'), "name"=>"Johathan Gerlach", "reference"=>"Karen Price", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fda0000'), "name"=>"HelloWorld", "reference"=>"Colten Robel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fdb0000'), "name"=>"value", "reference"=>"Jonathon Schroeder", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4997ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3301ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3296ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2298ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2140ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3776ms Completed 200 OK in 4ms (Views: 3.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3163ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d77735332e3fdc0000'), "name"=>"Carmine Rempel MD", "reference"=>"Zachariah Lang V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280528995873] runtime: 0.1168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3571ms Completed 200 OK in 43ms (Views: 42.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280181645106] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279582784423] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293565367] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176967572] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280508092743] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748274321] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280867795962] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480050791] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280566894964] runtime: 0.0735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951275239] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197300594] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281222973654] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022900821] runtime: 0.0742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280976599350] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280269262575] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280595221162] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501592037] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281003820472] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279701475333] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281076915013] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775318130] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760049266] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280507362396] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279906251163] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280460140447] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280236110260] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279804973647] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280281187784] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279740493041] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655607150] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280543870419] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281046176744] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279585114184] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279898443439] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121456446] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279534638292] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280796778022] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486854310] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279827923861] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475780372] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281238931833] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280368426037] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5898ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280148596899] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005687959] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280894280603] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060737657] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280456205063] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 39.9822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280785940253] runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279937363657] runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280327385970] runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299405508] runtime: 0.0774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458194095] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279573423251] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966863097] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274081601] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279934862173] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153850143] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4739ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281067201583] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279664456858] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280922451333] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947485162] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518717601] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279888344601] runtime: 0.0743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279200813709] runtime: 0.0786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707588715] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280433566557] runtime: 0.0813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384127454] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279632104559] runtime: 0.0850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062514645] runtime: 0.0828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279692043479] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280164264550] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806895455] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280681318660] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280107125170] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387883387] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229701044] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966476870] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865575940] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052983722] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751090265] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613990023] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280687941502] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280584446204] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281197857603] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280071599630] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279698104869] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280719017008] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280467764261] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4617ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279385823880] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792026737] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281296605077] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248996670] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280142226600] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435627047] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892527613] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279250518447] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279244326903] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048551028] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318911051] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279342435659] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279650029056] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571619028] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280281753703] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4354ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281013732474] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279309420291] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199714863] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280278865150] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606006317] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279405565323] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281013403967] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280462549907] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279744335967] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785532248] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524567886] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524476472] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380393822] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366273830] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574606595] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281281341786] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286249790] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483227549] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281190903800] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280795430866] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280765255815] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280184910408] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279195430229] runtime: 0.0868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279974103555] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280242178708] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281049022233] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280517215539] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281078222054] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576147626] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280758130352] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276521681] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208526478] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118028656] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280155317032] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524459944] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560780101] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280701997393] runtime: 0.0725ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558663870] runtime: 0.0781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280148087046] runtime: 0.0841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668135148] runtime: 0.0761ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8530ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279823934087] runtime: 0.0721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280156877758] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243177293] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280724761497] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279339622603] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286389000] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281196566088] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778892257] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280538370961] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281174183148] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322097947] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279909513719] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280856401984] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771778251] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281057054744] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279609342055] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280334301695] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281068111005] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089365003] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281186032363] runtime: 0.0429ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fdd0000'), "name"=>"Lilly Dare", "reference"=>"Maud Champlin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2652ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fde0000'), "name"=>"Bartholome Kozey", "reference"=>"Donny Buckridge II", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279214990314] runtime: 0.0623ms Completed 200 OK in 5ms (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('549052d87735332e3fdf0000'), "name"=>"Mrs. Karelle Simonis", "reference"=>"Mohammed Bartell", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 18.0004ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549052d87735332e3fdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms 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('549052d87735332e3fe00000'), "name"=>"Mrs. Leo Lueilwitz", "reference"=>"Ben Leffler II", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe20000'), "name"=>"Roxanne McDermott", "reference"=>"Mrs. Jamison Kilback", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549052d87735332e3fe20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fe20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Completed 200 OK in 4ms (Views: 2.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe30000'), "name"=>"Rhianna Bruen", "reference"=>"Brando Flatley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello", "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Unpermitted parameters: go_to MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d67735332e3f060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms true # Redirected to Completed 500 Internal Server Error in 5ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe40000'), "name"=>"Odell Berge", "reference"=>"Spencer Collins", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe50000'), "name"=>"Lydia Heidenreich", "reference"=>"Darby Veum", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3188ms Completed 200 OK in 32ms (Views: 30.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe60000'), "name"=>"Alysha Keebler", "reference"=>"Mrs. Kaleb Runte", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5779ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2986ms 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('549052d87735332e3fe70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3145ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fe80000'), "name"=>"Helen Homenick II", "reference"=>"Osvaldo Langworth", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549052d87735332e3fe80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fe80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4482ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fe80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms 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('549052d87735332e3fe90000'), "name"=>"Zoie Hickle II", "reference"=>"Elian Fay", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms 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('549052d87735332e3feb0000'), "name"=>"Herbert Mayert", "reference"=>"Edmond Strosin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549052d87735332e3feb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3feb0000')} 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('549052d87735332e3feb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms 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('549052d87735332e3fec0000'), "name"=>"Deion Ledner", "reference"=>"Earlene Adams", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549052d87735332e3fec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fec0000')} 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('549052d87735332e3fec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1327ms Redirected to http://test.host/products/549052d87735332e3fec0000 Completed 302 Found in 9ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fef0000'), "name"=>"Ozella Mante", "reference"=>"Lucy Beatty Sr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3fed0000'), "author_name"=>"Taylor Baumbach", "content"=>["Voluptatem aspernatur numquam autem. Quia sapiente temporibus nemo ea minus numquam aperiam. Quos reprehenderit aut est alias praesentium quibusdam."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3fee0000'), "author_name"=>"Novella Lubowitz", "content"=>["Sint non at nostrum quia autem animi. Nam alias suscipit eaque quis cupiditate rerum. Enim nihil numquam quo et omnis. Voluptatum ipsam incidunt sint voluptatem ad."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549052d87735332e3fef0000", "comment_id"=>"549052d87735332e3fed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4177ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fef0000'), "comments._id"=>BSON::ObjectId('549052d87735332e3fed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549052d87735332e3ff00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5256ms Redirected to http://test.host/products/549052d87735332e3fef0000/comments/549052d87735332e3fed0000/comments/549052d87735332e3ff00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3ff30000'), "name"=>"Berneice Will", "reference"=>"Mabel Emard", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff10000'), "author_name"=>"Elmore Langosh", "content"=>["Libero minima porro rem temporibus neque. Nesciunt in consequuntur ut ratione consequatur. Cumque similique dignissimos ullam a assumenda alias."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff20000'), "author_name"=>"Emerson Connelly IV", "content"=>["Similique impedit animi reprehenderit veniam unde blanditiis id. Odio necessitatibus ullam placeat adipisci. Harum qui dolorem incidunt magnam quis rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549052d87735332e3ff30000", "comment_id"=>"549052d87735332e3ff10000", "id"=>"549052d87735332e3ff20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff30000'), "comments._id"=>BSON::ObjectId('549052d87735332e3ff10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549052d87735332e3ff20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms Redirected to http://test.host/products/549052d87735332e3ff30000/comments/549052d87735332e3ff10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3ff60000'), "name"=>"Elaina Zboncak", "reference"=>"Mr. Jaquelin Batz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff40000'), "author_name"=>"Lauriane Veum", "content"=>["Ea dolorem quam voluptatem non voluptas. Dolorem est est illum impedit. Officiis facilis non. Tenetur modi maiores eligendi officia."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff50000'), "author_name"=>"Carleton Tromp IV", "content"=>["Consequatur quae sunt. Et est expedita consequuntur quidem commodi modi. Praesentium veniam inventore pariatur ut laborum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549052d87735332e3ff60000", "comment_id"=>"549052d87735332e3ff40000", "id"=>"549052d87735332e3ff50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3ff90000'), "name"=>"Destini Wiegand", "reference"=>"Maurice Buckridge III", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff70000'), "author_name"=>"Dayton Heathcote", "content"=>["Eos id nesciunt quos. Rerum delectus maxime. Recusandae deleniti harum. Sint vel ut voluptas aut consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ff80000'), "author_name"=>"Jennyfer Runolfsson IV", "content"=>["Pariatur rem sit nesciunt magni voluptas. Sed sit et natus asperiores officia. Debitis aperiam omnis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5564ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549052d87735332e3ff90000", "comment_id"=>"549052d87735332e3ff70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ff90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3ffc0000'), "name"=>"Kelsi Willms", "reference"=>"Jerome Marquardt", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ffa0000'), "author_name"=>"Albina Boyle", "content"=>["Ipsam aliquid et ut dolorem molestias. Nulla omnis sapiente harum omnis. Similique minima ut expedita id voluptatem blanditiis vel."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ffb0000'), "author_name"=>"Mrs. Seamus Leffler", "content"=>["Distinctio odio est inventore. Enim rerum debitis aut. Perspiciatis molestiae voluptatum doloremque voluptatem provident enim placeat. Omnis doloremque debitis amet reprehenderit. Itaque qui aut excepturi tempore dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5210ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549052d87735332e3ffc0000", "comment_id"=>"549052d87735332e3ffa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3ffc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3fff0000'), "name"=>"Iva McKenzie", "reference"=>"Miss Luigi Walter", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ffd0000'), "author_name"=>"Brice Farrell", "content"=>["Ipsum nemo id. Natus ipsam numquam inventore dignissimos architecto consequuntur. Magnam ducimus aut. Consectetur dolores ipsam magni voluptas magnam sit molestias."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3ffe0000'), "author_name"=>"Maia Johnson V", "content"=>["Soluta et qui dolor odio doloribus ut. Vel distinctio ut animi. In et aut dolorem ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549052d87735332e3fff0000", "comment_id"=>"549052d87735332e3ffd0000", "id"=>"549052d87735332e3ffe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3fff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f020100'), "name"=>"Melyna Steuber MD", "reference"=>"Queen Gibson", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f000100'), "author_name"=>"Katrine Reichert DDS", "content"=>["Eum minima asperiores vel qui est aliquam corporis. Qui cum in minus illum et. Accusamus et et et quo et."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f010100'), "author_name"=>"Brett Swaniawski", "content"=>["Quidem porro omnis sed voluptas quia sed rerum. Eos rerum qui ullam debitis. Occaecati reiciendis nisi rerum est necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549052d87735332e3f020100", "comment_id"=>"549052d87735332e3f000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3f020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f050100'), "name"=>"Dr. Karlee Deckow", "reference"=>"Miss Rosanna Yost", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f030100'), "author_name"=>"Jennie Kling", "content"=>["Necessitatibus et autem aut. Architecto ad explicabo. Recusandae expedita minima atque rem dolorum et voluptatum."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f040100'), "author_name"=>"Brody Will", "content"=>["Ut quae est qui culpa quisquam. Delectus laudantium ullam repellat ut aut. Consequuntur sint expedita enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549052d87735332e3f050100", "comment_id"=>"549052d87735332e3f030100", "id"=>"549052d87735332e3f040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3f050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms Completed 200 OK in 6ms (Views: 3.0ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f080100'), "name"=>"Kevin Bergnaum I", "reference"=>"April Larson II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f060100'), "author_name"=>"Nakia Cremin PhD", "content"=>["Dolores temporibus quisquam at ullam vel impedit. Quis non aut. Quos alias et provident."], "comments"=>[{"_id"=>BSON::ObjectId('549052d87735332e3f070100'), "author_name"=>"Willie Tremblay", "content"=>["Aspernatur tenetur beatae et. Et omnis voluptas aut labore ullam eum quo. Corrupti ex est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549052d87735332e3f070100", "product_id"=>"549052d87735332e3f080100", "comment_id"=>"549052d87735332e3f060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3f080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549052d87735332e3f080100'), "comments._id"=>BSON::ObjectId('549052d87735332e3f060100'), "comments.0.comments._id"=>BSON::ObjectId('549052d87735332e3f070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms Redirected to http://test.host/products/549052d87735332e3f080100/comments/549052d87735332e3f060100/comments/549052d87735332e3f070100 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('549052d87735332e3f090100'), "firstname"=>"Cicero", "lastname"=>"Rosenbaum"}] 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=>"admin_users", :query=>{}} runtime: 0.2087ms 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('549052d87735332e3f0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms Redirected to http://test.host/users/549052d87735332e3f0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2028ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f0b0100'), "firstname"=>"Selina", "lastname"=>"Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1772ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549052d87735332e3f0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d87735332e3f0b0100')} 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('549052d87735332e3f0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms 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('549052d87735332e3f0c0100'), "firstname"=>"Kody", "lastname"=>"Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549052d87735332e3f0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d87735332e3f0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms Rendered /home/geoffroy/projects/crealettres/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('549052d87735332e3f0d0100'), "firstname"=>"Donavon", "lastname"=>"Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms 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 9ms (Views: 8.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f0e0100'), "firstname"=>"Marcelo", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549052d87735332e3f0f0100'), "firstname"=>"Kayden", "lastname"=>"Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by UsersController#show as HTML Parameters: {"id"=>"549052d87735332e3f0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d87735332e3f0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms 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('549052d87735332e3f100100'), "firstname"=>"Lily", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549052d87735332e3f100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549052d87735332e3f100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms Unpermitted parameters: name Redirected to http://test.host/users/549052d87735332e3f100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5578ms 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.3346ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms 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.2660ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms 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.2262ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e000000'), "firstname"=>"Gretchen", "lastname"=>"O'Conner"}] 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=>"administrators", :query=>{}} runtime: 0.2358ms 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('5490530c7735332e7e010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms 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.2537ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e020000'), "firstname"=>"Rossie", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490530c7735332e7e020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530c7735332e7e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e030000'), "firstname"=>"Oliver", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 655.7770ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 11ms (Views: 9.3ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e040000'), "firstname"=>"Jo", "lastname"=>"Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7790ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490530c7735332e7e040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530c7735332e7e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e050000'), "firstname"=>"Jay", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7132ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490530c7735332e7e050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530c7735332e7e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4968ms Unpermitted parameters: name Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms ------------------------------------------------- Admin::CommentsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e060000'), "name"=>"Pattie Conroy", "reference"=>"Willow Hodkiewicz", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e070000'), "author_name"=>"Marlee Mertz", "content"=>["Id non corrupti expedita. Quidem doloremque quae. Libero perspiciatis ut eos facere voluptatem eum quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490530c7735332e7e060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4078ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms Redirected to http://test.host/admin/products/5490530c7735332e7e060000/comments/5490530c7735332e7e080000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e090000'), "name"=>"Llewellyn Kuhlman IV", "reference"=>"Zoie Effertz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e0a0000'), "author_name"=>"Rhianna Gulgowski", "content"=>["Voluptas qui qui ipsum. Alias quibusdam sint aliquid qui velit. Quas qui culpa delectus. Molestiae accusamus architecto occaecati est omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490530c7735332e7e090000", "id"=>"5490530c7735332e7e0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms Redirected to http://test.host/admin/products/5490530c7735332e7e090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e0b0000'), "name"=>"Hadley D'Amore V", "reference"=>"Lisandro Murazik Sr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e0c0000'), "author_name"=>"Issac Hand", "content"=>["Sit non est vitae natus. Et quia eaque laudantium dolorem tenetur. Maxime delectus sit asperiores commodi itaque. Quo enim corrupti neque sint dolorem possimus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490530c7735332e7e0b0000", "id"=>"5490530c7735332e7e0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.9ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e0d0000'), "name"=>"Brody Lemke", "reference"=>"Rogelio Braun", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e0e0000'), "author_name"=>"Christian Hessel", "content"=>["Voluptatibus enim laborum est ipsam. Odio blanditiis similique ratione reprehenderit. Aliquam magnam repudiandae neque fugiat aliquid dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6212ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490530c7735332e7e0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4082ms Completed 200 OK in 6ms (Views: 3.6ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e0f0000'), "name"=>"Kaycee Lakin", "reference"=>"Chloe Renner", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e100000'), "author_name"=>"Ms. Chance Dicki", "content"=>["Distinctio eaque voluptatibus rerum ut deleniti. Est totam dolor qui dicta quas atque fugiat. Exercitationem quisquam accusamus inventore cum veritatis delectus. Saepe vitae eius qui dolores ut eos culpa. Deleniti pariatur inventore tenetur libero perferendis beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6159ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490530c7735332e7e0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4036ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e110000'), "name"=>"Sabina Lebsack", "reference"=>"Eusebio Klocko", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e120000'), "author_name"=>"Easter Streich", "content"=>["Iure sunt eius vitae est tempore similique. Non enim et ut quas. Officia est accusamus eum. Accusantium et sint non expedita sint quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6229ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490530c7735332e7e110000", "id"=>"5490530c7735332e7e120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e130000'), "name"=>"Mr. Elsa Cummings", "reference"=>"Courtney Herman DVM", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490530c7735332e7e140000'), "author_name"=>"Rogelio Wolf", "content"=>["Omnis labore quod. Cumque laboriosam assumenda ea. Omnis et deserunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5702ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490530c7735332e7e140000", "product_id"=>"5490530c7735332e7e130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e130000')} 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('5490530c7735332e7e130000'), "comments._id"=>BSON::ObjectId('5490530c7735332e7e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7019ms Redirected to http://test.host/admin/products/5490530c7735332e7e130000/comments/5490530c7735332e7e140000 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('5490530c7735332e7e150000'), "name"=>"Jovany Gaylord", "reference"=>"Dewayne Macejkovic", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e160000'), "firstname"=>"Zoila", "lastname"=>"Jaskolski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490530c7735332e7e150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e150000')} 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('5490530c7735332e7e150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms Redirected to http://test.host/admin/products/5490530c7735332e7e150000/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('5490530c7735332e7e180000'), "name"=>"Ciara Tromp", "reference"=>"Ottis Heidenreich", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e190000'), "firstname"=>"Carson", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490530c7735332e7e190000", "product_id"=>"5490530c7735332e7e180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530c7735332e7e1a0000'), "name"=>"Ferne Predovic", "reference"=>"Mr. Damion Mosciski", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490530c7735332e7e1b0000'), "firstname"=>"Roman", "lastname"=>"Botsford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490530c7735332e7e1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (31.7ms) Completed 200 OK in 35ms (Views: 33.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e1c0000'), "name"=>"Ken Ratke", "reference"=>"Ricky McDermott", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7e1d0000'), "firstname"=>"Kaia", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490530d7735332e7e1d0000", "product_id"=>"5490530d7735332e7e1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e1e0000'), "name"=>"Monte Kulas I", "reference"=>"Rhianna Mosciski", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7e1f0000'), "firstname"=>"Alexander", "lastname"=>"Beatty"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490530d7735332e7e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490530d7735332e7e1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490530d7735332e7e1e0000/manager 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('5490530d7735332e7e200000'), "name"=>"Keshaun Champlin DDS", "reference"=>"Keanu Luettgen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2158ms 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('5490530d7735332e7e210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Redirected to http://test.host/admin/products/5490530d7735332e7e210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2303ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e220000'), "name"=>"Tremayne Johns I", "reference"=>"Emile Connelly DVM", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1919ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490530d7735332e7e220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e220000')} 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={"_id"=>BSON::ObjectId('5490530d7735332e7e220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms 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.2051ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e230000'), "name"=>"Tremayne Kuhic", "reference"=>"Dion Watsica", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490530d7735332e7e230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e240000'), "name"=>"Loyce Rutherford", "reference"=>"Brionna Prohaska", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms 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.5178ms Completed 200 OK in 11ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e250000'), "name"=>"Sylvia Johns", "reference"=>"Gilbert Johnston V", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 18ms (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('5490530d7735332e7e280000'), "name"=>"Danielle Brakus", "reference"=>"Ally Kertzmann MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490530d7735332e7e280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms 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('5490530d7735332e7e290000'), "name"=>"Maximillia Blick DVM", "reference"=>"Sterling Satterfield", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490530d7735332e7e290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7e290000')} 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('5490530d7735332e7e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms Redirected to http://test.host/admin/products/5490530d7735332e7e290000 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('5490530d7735332e7e2a0000'), "firstname"=>"Alivia", "lastname"=>"O'Keefe"}] 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.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('5490530d7735332e7e2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Redirected to http://test.host/admin/users/5490530d7735332e7e2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1881ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e2c0000'), "firstname"=>"Matilda", "lastname"=>"Harber"}] 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.1703ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490530d7735332e7e2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530d7735332e7e2c0000')} 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('5490530d7735332e7e2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms 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.1841ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e2d0000'), "firstname"=>"Kaitlyn", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2485ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490530d7735332e7e2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530d7735332e7e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e2e0000'), "firstname"=>"Emiliano", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms 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.4309ms Completed 200 OK in 38ms (Views: 37.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e2f0000'), "firstname"=>"Chelsea", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5397ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490530d7735332e7e300000'), "firstname"=>"Jaclyn", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5374ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490530d7735332e7e300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530d7735332e7e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms 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('5490530d7735332e7e310000'), "firstname"=>"Jessie", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490530d7735332e7e310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530d7735332e7e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490530d7735332e7e310000 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('5490530d7735332e7e320000'), "firstname"=>"Sheridan", "lastname"=>"Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5820ms 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('5490530d7735332e7e330000'), "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.2318ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e340000'), "firstname"=>"Chasity", "lastname"=>"Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490530d7735332e7e340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530d7735332e7e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e350000'), "firstname"=>"Hoyt", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5051ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.9ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e360000'), "firstname"=>"Rubye", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490530d7735332e7e360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530d7735332e7e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4133ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e370000'), "firstname"=>"Ernestine", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5587ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490530d7735332e7e370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490530d7735332e7e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e380000'), "name"=>"Harmony Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e390000'), "name"=>"Loraine Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3a0000'), "name"=>"Trevion Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3b0000'), "name"=>"Salvador Hickle Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3c0000'), "name"=>"Mollie Kreiger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3d0000'), "name"=>"Willy Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3e0000'), "name"=>"Roslyn Sporer Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e3f0000'), "name"=>"Fay Borer MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e400000'), "name"=>"Adrain Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e410000'), "name"=>"Ressie Von V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e420000'), "name"=>"Mrs. Tremayne Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e430000'), "name"=>"Gregoria Herzog DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e440000'), "name"=>"Mrs. Andres White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e450000'), "name"=>"Lucio Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e460000'), "name"=>"Mrs. Era Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e470000'), "name"=>"Mr. Vicky Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e480000'), "name"=>"Ms. Christiana Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e490000'), "name"=>"Jacey Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4a0000'), "name"=>"Elinore Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4b0000'), "name"=>"Kurtis Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4c0000'), "name"=>"Mr. Osborne Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4d0000'), "name"=>"Eleanore Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4e0000'), "name"=>"Camron Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1488ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e4f0000'), "name"=>"Katlyn Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e500000'), "name"=>"Meta Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e510000'), "name"=>"Miss Cleo Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e520000'), "name"=>"Brittany Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e530000'), "name"=>"Dr. Ray Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e540000'), "name"=>"Ernestina Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e550000'), "name"=>"Lamar Halvorson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e560000'), "name"=>"Ms. Christelle Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e570000'), "name"=>"Chanel Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e580000'), "name"=>"Jannie White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e590000'), "name"=>"Werner Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5a0000'), "name"=>"Ricky Brekke DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5b0000'), "name"=>"Kaylah Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5c0000'), "name"=>"Jedidiah Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5d0000'), "name"=>"Gustave Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5e0000'), "name"=>"Martine Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e5f0000'), "name"=>"Miss Koby Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e600000'), "name"=>"Buford Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e610000'), "name"=>"Yazmin Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e620000'), "name"=>"Amaya Wisoky Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e630000'), "name"=>"Catalina Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e640000'), "name"=>"Cyril Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e650000'), "name"=>"Mrs. Buster Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e660000'), "name"=>"Aylin Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e670000'), "name"=>"Arlene Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e680000'), "name"=>"Chris Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e690000'), "name"=>"Mrs. Queen Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6a0000'), "name"=>"Garett Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6b0000'), "name"=>"Patsy Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6c0000'), "name"=>"Miss Benedict MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6d0000'), "name"=>"Kenyatta Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6e0000'), "name"=>"Reva Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e6f0000'), "name"=>"Mr. Alexandro Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e700000'), "name"=>"Bailey Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e710000'), "name"=>"Dr. Bailey Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e720000'), "name"=>"Magdalena Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e730000'), "name"=>"Esmeralda Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e740000'), "name"=>"Christy Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e750000'), "name"=>"Therese Dibbert Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e760000'), "name"=>"Miss Ralph Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e770000'), "name"=>"Sarina Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e780000'), "name"=>"Joaquin Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1298ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e790000'), "name"=>"Chesley Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7a0000'), "name"=>"Summer Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7b0000'), "name"=>"Eda Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7c0000'), "name"=>"Deanna Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7d0000'), "name"=>"Andre Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7e0000'), "name"=>"Josh Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e7f0000'), "name"=>"Kaya Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e800000'), "name"=>"Holden Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e810000'), "name"=>"Mrs. Josianne Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e820000'), "name"=>"Cyril Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e830000'), "name"=>"Hilton Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e840000'), "name"=>"Baron Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e850000'), "name"=>"Jules Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e860000'), "name"=>"Stuart Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e870000'), "name"=>"Lyla Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e880000'), "name"=>"Franco Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1224ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e890000'), "name"=>"Austen Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8a0000'), "name"=>"Ms. Gladys Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8b0000'), "name"=>"Camden Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8c0000'), "name"=>"Kareem Dicki IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8d0000'), "name"=>"Asia Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8e0000'), "name"=>"Emiliano Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e8f0000'), "name"=>"Mozelle Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e900000'), "name"=>"Sonya Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e910000'), "name"=>"Mrs. Evans Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e920000'), "name"=>"Mandy Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e930000'), "name"=>"Celia Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e940000'), "name"=>"Ali O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e950000'), "name"=>"Gertrude Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e960000'), "name"=>"Billy Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e970000'), "name"=>"Sydney Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1852ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms Redirected to http://test.host/categories/5490530d7735332e7e980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1938ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e990000'), "name"=>"Susan Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1695ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490530d7735332e7e990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7e990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1832ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e9a0000'), "name"=>"Ms. Mariano White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490530d7735332e7e9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e9b0000'), "name"=>"Nelle Treutel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1839ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306787433131] runtime: 0.0933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2243ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e9c0000'), "name"=>"Hazel Gibson"}] 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={"category_id"=>BSON::ObjectId('5490530d7735332e7e9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306256812378] runtime: 0.0736ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2729ms Completed 200 OK in 34ms (Views: 32.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e9d0000'), "name"=>"Mrs. Edgardo Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7e9f0000'), "name"=>"Otha Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490530d7735332e7e9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ea00000'), "name"=>"Krystal Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490530d7735332e7ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490530d7735332e7ea00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('5490530d7735332e7ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Redirected to http://test.host/categories/5490530d7735332e7ea00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ea10000'), "name"=>"Kathlyn Schowalter", "reference"=>"Abelardo Blanda", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7ea20000'), "author_name"=>"Kieran Tromp", "content"=>["Unde architecto laborum a accusantium. Iusto eum quos aut ullam dolore nihil. Sit quae ducimus rem beatae recusandae. Et et beatae et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490530d7735332e7ea10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ea30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms Redirected to http://test.host/products/5490530d7735332e7ea10000/comments/5490530d7735332e7ea30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ea40000'), "name"=>"Ms. Breanna Armstrong", "reference"=>"Miss Dana Jacobi", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7ea50000'), "author_name"=>"Renee Collins", "content"=>["Nostrum deserunt non. Rerum molestias ea architecto quos aut vel quia. Temporibus ratione eos sit modi molestiae et. Blanditiis dolores architecto et sunt. Repellat in accusamus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490530d7735332e7ea40000", "id"=>"5490530d7735332e7ea50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ea50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms Redirected to http://test.host/products/5490530d7735332e7ea40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ea60000'), "name"=>"Baron Schoen", "reference"=>"Mrs. Graciela McDermott", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7ea70000'), "author_name"=>"Vito Luettgen", "content"=>["Molestiae beatae dolor et aut praesentium maiores. Ut et sed est dignissimos. Molestiae corrupti aut tempore. Non quo praesentium. Ullam aspernatur voluptas nihil possimus exercitationem voluptatem voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490530d7735332e7ea60000", "id"=>"5490530d7735332e7ea70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ea80000'), "name"=>"Maddison Brekke", "reference"=>"Serena Hessel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7ea90000'), "author_name"=>"Gladyce Bosco", "content"=>["Rem iusto praesentium voluptas est qui exercitationem. Voluptatibus ullam cupiditate voluptas doloribus. Exercitationem ex fuga vitae est. Necessitatibus velit officia eum. Quisquam aut quia harum distinctio adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490530d7735332e7ea80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eaa0000'), "name"=>"Mrs. Anderson Wisoky", "reference"=>"Roselyn Ullrich III", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7eab0000'), "author_name"=>"Miss Pearline Rolfson", "content"=>["Dignissimos hic similique amet accusamus asperiores repudiandae laudantium. Vel saepe eum possimus officia aut. Et et ut. Nobis eum quod reprehenderit quia quia adipisci. Excepturi et dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490530d7735332e7eaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eac0000'), "name"=>"Jaylan Feeney", "reference"=>"Mr. Vada Hoeger", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7ead0000'), "author_name"=>"Mr. Dusty Rosenbaum", "content"=>["Enim est sed tempore veritatis. Aperiam sapiente ut. Dolor vero labore possimus dignissimos. Repellendus ducimus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490530d7735332e7eac0000", "id"=>"5490530d7735332e7ead0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eae0000'), "name"=>"Mrs. Kristian Kuphal", "reference"=>"Prudence Cronin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7eaf0000'), "author_name"=>"Pearline Gorczany Sr.", "content"=>["Quos voluptatem illum excepturi recusandae rerum. Natus quos qui facilis aliquid placeat ullam et. Aut dolore nam totam molestiae. Ratione sequi veniam ut ex suscipit temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490530d7735332e7eae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eb00000'), "name"=>"Chaz Bogan III", "reference"=>"Grady Murazik Sr.", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7eb10000'), "author_name"=>"Claire Stehr PhD", "content"=>["Non velit doloribus accusantium minima voluptatem. Placeat molestiae ut maiores esse expedita. Enim consequatur earum nesciunt non fugiat. Quis ut tempore quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490530d7735332e7eb00000", "id"=>"5490530d7735332e7eb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eb20000'), "name"=>"Roel Johns IV", "reference"=>"Sheldon Pollich V", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490530d7735332e7eb30000'), "author_name"=>"Cicero Wintheiser", "content"=>["Vitae eum quibusdam voluptatem. Qui enim at. Enim omnis labore cum sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5423ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490530d7735332e7eb30000", "product_id"=>"5490530d7735332e7eb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb20000'), "comments._id"=>BSON::ObjectId('5490530d7735332e7eb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6180ms Redirected to http://test.host/products/5490530d7735332e7eb20000/comments/5490530d7735332e7eb30000 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('5490530d7735332e7eb40000'), "firstname"=>"Humberto", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2030ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Redirected to http://test.host/admin/clients/5490530d7735332e7eb50000 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('5490530d7735332e7eb60000'), "firstname"=>"Esther", "lastname"=>"Jast"}] 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.1805ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490530d7735332e7eb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4759ms Redirected to http://test.host/admin/clients Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2699ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eb70000'), "firstname"=>"Lonnie", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490530d7735332e7eb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7eb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('5490530d7735332e7eb80000'), "firstname"=>"Mariah", "lastname"=>"Runolfsdottir"}] 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.8294ms Completed 200 OK in 12ms (Views: 10.4ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7eb90000'), "firstname"=>"Aletha", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490530d7735332e7eba0000'), "firstname"=>"Boyd", "lastname"=>"Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490530d7735332e7eba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7eba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms 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('5490530d7735332e7ebb0000'), "firstname"=>"Nelle", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490530d7735332e7ebb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ebb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms Redirected to http://test.host/admin/clients/5490530d7735332e7ebb0000 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('5490530d7735332e7ebc0000'), "firstname"=>"Toy", "lastname"=>"Haley"}] 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=>"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('5490530d7735332e7ebd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms Redirected to http://test.host/clients/5490530d7735332e7ebd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1726ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ebe0000'), "firstname"=>"Guiseppe", "lastname"=>"Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1642ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490530d7735332e7ebe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ebe0000')} 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.1691ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ebf0000'), "firstname"=>"Luz", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490530d7735332e7ebf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms Rendered /home/geoffroy/projects/crealettres/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('5490530d7735332e7ec00000'), "firstname"=>"Merritt", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8227ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms 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('5490530d7735332e7ec10000'), "firstname"=>"Kassandra", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms) ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ec20000'), "firstname"=>"Guido", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490530d7735332e7ec20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms Completed 200 OK in 4ms (Views: 2.2ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ec30000'), "firstname"=>"Brendon", "lastname"=>"Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490530d7735332e7ec30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms Redirected to http://test.host/clients/5490530d7735332e7ec30000 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('5490530d7735332e7ec40000'), "name"=>"Gillian Kulas Jr.", "reference"=>"Thurman Dibbert", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ec50000'), "firstname"=>"Arielle", "lastname"=>"Haag"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5401ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490530d7735332e7ec40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3746ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ec60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms Redirected to http://test.host/products/5490530d7735332e7ec40000/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('5490530d7735332e7ec70000'), "name"=>"Lamont Zboncak", "reference"=>"Ms. Mckenzie Dibbert", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ec80000'), "firstname"=>"Johnson", "lastname"=>"Roob"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490530d7735332e7ec80000", "product_id"=>"5490530d7735332e7ec70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ec90000'), "name"=>"Mr. Annabel Schimmel", "reference"=>"Ms. Sherwood Kris", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7eca0000'), "firstname"=>"Tatum", "lastname"=>"Gutkowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490530d7735332e7ec90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ecb0000'), "name"=>"Brook Adams", "reference"=>"Pansy Schumm", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ecc0000'), "firstname"=>"Ethyl", "lastname"=>"Carter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490530d7735332e7ecc0000", "product_id"=>"5490530d7735332e7ecb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ecd0000'), "name"=>"Brooke Jacobson", "reference"=>"Madison Bahringer", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490530d7735332e7ece0000'), "firstname"=>"Daija", "lastname"=>"Lehner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7145ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490530d7735332e7ece0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490530d7735332e7ecd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530d7735332e7ecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Unpermitted parameters: name Redirected to http://test.host/products/5490530d7735332e7ecd0000/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('5490530d7735332e7ecf0000'), "name"=>"Roberta Volkman IV", "reference"=>"Dr. Idell Schulist", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4979ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed00000'), "name"=>"Jennings Auer", "reference"=>"Mireya Hodkiewicz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed10000'), "name"=>"Isabelle Pollich PhD", "reference"=>"Elmer Reynolds", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed20000'), "name"=>"Mr. Vernie Durgan", "reference"=>"Dallin McKenzie", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed30000'), "name"=>"Guadalupe Wilkinson", "reference"=>"Kasandra Jerde IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed40000'), "name"=>"Jamarcus Gleason", "reference"=>"Christelle Harris", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1830ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530d7735332e7ed50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Redirected to http://test.host/products/5490530d7735332e7ed50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1970ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ed60000'), "name"=>"Dorthy Hegmann", "reference"=>"Aubree Marvin", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2404ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490530e7735332e7ed60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530e7735332e7ed60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530e7735332e7ed60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms 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('5490530e7735332e7ed70000'), "name"=>"Timothy Abbott", "reference"=>"Dr. Arthur Hintz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490530e7735332e7ed70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530e7735332e7ed70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('5490530e7735332e7ed80000'), "name"=>"Tate Abbott Jr.", "reference"=>"Tina Hettinger", "quantity"=>5}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280072133835] runtime: 0.1070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2239ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ed90000'), "name"=>"Ms. Meredith Hansen", "reference"=>"Deion Reynolds", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7eda0000'), "name"=>"HelloWorld", "reference"=>"Miss Carter Toy", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7edb0000'), "name"=>"value", "reference"=>"Wilson Ratke", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3793ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4427ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3286ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2947ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2767ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2486ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2274ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2009ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1672ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7edc0000'), "name"=>"Isom Schneider", "reference"=>"Katherine Donnelly MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280828185983] runtime: 0.1128ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3307ms Completed 200 OK in 43ms (Views: 42.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279575931587] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433725914] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324589348] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280179099791] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279483297025] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309841948] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279741381390] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279905481229] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280185141980] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260876320] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133146622] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8156ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279350316979] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280892741415] runtime: 0.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279526742863] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279793684610] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280455818630] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280015679745] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8512ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280856369642] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380789027] runtime: 0.1122ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068771911] runtime: 0.1100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279592426451] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280283448912] runtime: 0.1263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279189205372] runtime: 0.2067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292067148] runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279455080767] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280196326899] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369679358] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820447000] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280662059821] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797393659] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280459705326] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280727744141] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667194998] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776073417] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362630994] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190102448] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978273630] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279564854458] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914044646] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616107396] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279772202207] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279747464422] runtime: 0.0813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279255081297] runtime: 0.0631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.2406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281277781396] runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280934627609] runtime: 0.0982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280389537891] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6827ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309863115] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280503188545] runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280111926848] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675550996] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279838273897] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7498ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280231504169] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280001391172] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694680795] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074367016] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235555594] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280697647130] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280970186087] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622365969] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280302581890] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279315247634] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280873323919] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279586716096] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371563967] runtime: 0.0649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279706651701] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280570973429] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279684357094] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7277ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280582384045] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280014599804] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280059995688] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280007108857] runtime: 0.0677ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281298870626] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279463321759] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821489592] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771434804] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280844421394] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399667425] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849434172] runtime: 0.0745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885083034] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280380294303] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033924894] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305879897] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280002118790] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100318472] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280022736751] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603758015] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413766884] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279248271818] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310140045] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279459385922] runtime: 0.0781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201315870] runtime: 0.0726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062810196] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402693778] runtime: 0.0972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280133616699] runtime: 0.1065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823630139] runtime: 0.0982ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279403738331] runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279858549487] runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434750419] runtime: 0.0944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0578ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413377610] runtime: 0.0905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541042115] runtime: 0.0885ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087130871] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280735028758] runtime: 0.1013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043733307] runtime: 0.1038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692566405] runtime: 0.0903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279689943204] runtime: 0.1179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280662135118] runtime: 0.0833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279968306110] runtime: 0.0812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966519127] runtime: 0.0817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280259913442] runtime: 0.0816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162632084] runtime: 0.0830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280774037974] runtime: 0.0823ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279173159387] runtime: 0.0832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574368975] runtime: 0.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279824204679] runtime: 0.0824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279291496426] runtime: 0.0780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810034770] runtime: 0.0784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280261761544] runtime: 0.0785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279401162536] runtime: 0.0781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 31.1846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280869542950] runtime: 0.1152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006724108] runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9616ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279525274871] runtime: 0.0929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280187220824] runtime: 0.0832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9506ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546007260] runtime: 0.0779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280484219103] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280558283617] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280195054872] runtime: 0.0666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280521383137] runtime: 0.0846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549493058] runtime: 0.0819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280817756353] runtime: 0.0766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280101526629] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280842799611] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280748940113] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926715086] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281066077326] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280703460798] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281316923355] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725289952] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280992894834] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279707664470] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280191465790] runtime: 0.0643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280776007091] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545842159] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370275214] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281239940673] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280421057745] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251137539] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280531609247] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108941863] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279563013590] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007571181] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279829732231] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857078896] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241875095] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280040638776] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748679211] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280533958525] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348227844] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280280516660] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279430098193] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280747679761] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920732919] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279173043502] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642374746] runtime: 0.0542ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7edd0000'), "name"=>"Ashley Koepp", "reference"=>"Princess Larkin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2710ms Completed 200 OK in 5ms (Views: 4.1ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ede0000'), "name"=>"Daren Harris", "reference"=>"Rogers Hamill", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279591990161] runtime: 0.0749ms Completed 200 OK in 5ms (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('5490530e7735332e7edf0000'), "name"=>"Justine Schmidt", "reference"=>"Mrs. Velma Greenholt", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490530e7735332e7edf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530e7735332e7edf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms 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('5490530e7735332e7ee00000'), "name"=>"Foster Stoltenberg", "reference"=>"Mrs. Jodie Littel", "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/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ee20000'), "name"=>"Major Langworth", "reference"=>"Ms. Cassandra Skiles", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490530e7735332e7ee20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530e7735332e7ee20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ee30000'), "name"=>"Rosalinda Jones", "reference"=>"Jarod Schaden", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530c7735332e7e060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms true # Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms true # Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 3ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ee40000'), "name"=>"Rosella Bode", "reference"=>"Sebastian Pagac", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3416ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530e7735332e7ee50000'), "name"=>"Katrine Howell", "reference"=>"Priscilla Kris V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 671.6574ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6657ms Completed 200 OK in 10ms (Views: 5.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7ee60000'), "name"=>"Dr. Brady Koepp", "reference"=>"Miss Domenic Macejkovic", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7236ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4454ms 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('5490530f7735332e7ee70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7638ms Completed 201 Created in 5ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5172ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7ee80000'), "name"=>"Selmer Towne", "reference"=>"Amos Macejkovic", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6987ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490530f7735332e7ee80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ee80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms Completed 200 OK in 4ms (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('5490530f7735332e7ee90000'), "name"=>"Nedra Sipes", "reference"=>"Akeem McDermott", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6448ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7eeb0000'), "name"=>"Durward Hauck", "reference"=>"Maggie Cummerata", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6869ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490530f7735332e7eeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5570ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7eec0000'), "name"=>"Dean Fay", "reference"=>"Weston Effertz", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490530f7735332e7eec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5851ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms Redirected to http://test.host/products/5490530f7735332e7eec0000 Completed 302 Found in 6ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7eef0000'), "name"=>"Miles Gottlieb", "reference"=>"Mrs. Natasha Walker", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7eed0000'), "author_name"=>"Ms. Claire Schaden", "content"=>["Quis rerum aut occaecati veritatis non. Quo fugit officiis consequuntur cumque aspernatur sunt. Quos doloremque aliquid expedita a labore cupiditate. Earum et dolore aut."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7eee0000'), "author_name"=>"Kelley Kilback", "content"=>["Sunt qui repellendus perferendis excepturi. Possimus qui voluptas dolorum. Sint animi accusantium soluta qui distinctio a ipsam. Neque aut eaque et. Asperiores dolorem libero maiores qui voluptatum nesciunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490530f7735332e7eef0000", "comment_id"=>"5490530f7735332e7eed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4956ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eef0000'), "comments._id"=>BSON::ObjectId('5490530f7735332e7eed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490530f7735332e7ef00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7592ms Redirected to http://test.host/products/5490530f7735332e7eef0000/comments/5490530f7735332e7eed0000/comments/5490530f7735332e7ef00000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5059ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7ef30000'), "name"=>"Miss Kamren Koss", "reference"=>"Zion Bins", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef10000'), "author_name"=>"Kenna Abshire", "content"=>["Totam soluta ipsum doloribus. Consequatur est ducimus aspernatur nesciunt qui in modi. Et illo ut ea quia et qui aut. Delectus molestiae dolore doloremque in modi. Vitae sunt magnam dolores temporibus aspernatur porro fuga."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef20000'), "author_name"=>"Marshall Greenholt", "content"=>["Officiis non dolorum rem voluptatem velit. Maiores et consectetur cum sapiente. Aut sit facilis reprehenderit rerum ut voluptates ut. Repellendus fugit quos ut excepturi unde deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490530f7735332e7ef30000", "comment_id"=>"5490530f7735332e7ef10000", "id"=>"5490530f7735332e7ef20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4457ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef30000'), "comments._id"=>BSON::ObjectId('5490530f7735332e7ef10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490530f7735332e7ef20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5995ms Redirected to http://test.host/products/5490530f7735332e7ef30000/comments/5490530f7735332e7ef10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7ef60000'), "name"=>"Domenick Metz", "reference"=>"Jamaal Daugherty", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef40000'), "author_name"=>"Mrs. Lester Lueilwitz", "content"=>["Consequatur dolor ea animi qui unde commodi. Quasi vero sit voluptatem enim aut est. Quo impedit blanditiis odio. Qui accusantium rerum delectus porro eum quae. Aliquam alias repellat fuga consequatur veniam et delectus."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef50000'), "author_name"=>"Gerry Smitham", "content"=>["Eum nesciunt id deleniti. Sequi amet quia magni laudantium et quo hic. Ut dolores quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5632ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490530f7735332e7ef60000", "comment_id"=>"5490530f7735332e7ef40000", "id"=>"5490530f7735332e7ef50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 12ms (Views: 8.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7ef90000'), "name"=>"Maurine O'Hara Jr.", "reference"=>"Donnie Schneider II", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef70000'), "author_name"=>"Sydney Ledner", "content"=>["Illum aut officiis blanditiis qui molestiae ut fugiat. Dolorem iste voluptas minima consequuntur debitis molestias voluptas. Necessitatibus voluptates tenetur at. Vel dolores non ullam. Odit porro dolorum vel."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7ef80000'), "author_name"=>"Mrs. Alexys Dickens", "content"=>["Voluptas consequatur necessitatibus. Labore consequuntur nulla quis possimus. Necessitatibus ab quisquam iure odit perspiciatis voluptatibus sed. Dolor qui quod maiores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490530f7735332e7ef90000", "comment_id"=>"5490530f7735332e7ef70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7ef90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4521ms Completed 200 OK in 8ms (Views: 4.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7efc0000'), "name"=>"Sally Fisher", "reference"=>"Mrs. Cleo Hammes", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7efa0000'), "author_name"=>"Sydnie Bauch", "content"=>["Dolores et laborum itaque ipsa fugit. Porro nostrum quia nihil autem doloremque omnis quae. Amet quis omnis qui non."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7efb0000'), "author_name"=>"Kiana Towne", "content"=>["Voluptas consequatur velit. Iure est sed est. Et totam laudantium. Assumenda cumque ipsam voluptatem esse repudiandae nulla. Aut et quae voluptates ut et est alias."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490530f7735332e7efc0000", "comment_id"=>"5490530f7735332e7efa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7efc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7eff0000'), "name"=>"Chase Pouros", "reference"=>"Favian Klocko", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7efd0000'), "author_name"=>"Ms. Kip McClure", "content"=>["Quia magni quo et illum soluta qui. Reprehenderit eligendi dolores aliquid iste praesentium non. Quas corporis ea ad soluta. Soluta vitae voluptatem provident velit minus fuga. Nulla qui molestiae placeat asperiores culpa."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7efe0000'), "author_name"=>"Dr. Amely Beer", "content"=>["Sint qui consequuntur. Neque dicta praesentium. Enim illum molestiae. Voluptas similique earum animi architecto magni mollitia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5308ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490530f7735332e7eff0000", "comment_id"=>"5490530f7735332e7efd0000", "id"=>"5490530f7735332e7efe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7eff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4118ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e020100'), "name"=>"Jerald Mayer", "reference"=>"Nash Stamm", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e000100'), "author_name"=>"Josue Wiza", "content"=>["Aperiam est quam. Tempore qui omnis dignissimos velit quos voluptas. Aperiam quas ullam repellendus. Accusantium fugiat vel. Ad consequatur asperiores rerum."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e010100'), "author_name"=>"Kody Hegmann DDS", "content"=>["Eum voluptas nisi aut exercitationem nihil nihil. Quaerat voluptas et dolores sit quibusdam quia voluptatibus. Officia iusto repellendus exercitationem et fuga eligendi ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490530f7735332e7e020100", "comment_id"=>"5490530f7735332e7e000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7e020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (30.6ms) Completed 200 OK in 36ms (Views: 32.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e050100'), "name"=>"Mr. Emely Runolfsson", "reference"=>"Vincent Dach", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e030100'), "author_name"=>"Mitchell Shields", "content"=>["Et laudantium temporibus exercitationem omnis et quam maxime. Iure molestias neque sint enim nostrum eveniet. Alias id commodi corrupti reiciendis. Non autem et qui voluptas natus."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e040100'), "author_name"=>"Mckenzie Monahan", "content"=>["Et quas rerum quasi ut aut quis. Aut et delectus illo. Dolores aut assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6219ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490530f7735332e7e050100", "comment_id"=>"5490530f7735332e7e030100", "id"=>"5490530f7735332e7e040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7e050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e080100'), "name"=>"Joel Gibson", "reference"=>"Jimmie Weimann", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e060100'), "author_name"=>"Mr. Emerald Kris", "content"=>["Quas eos maxime nihil et voluptatum. Nisi accusantium ducimus voluptatem saepe. Omnis corporis neque dignissimos dolore facere quisquam. Vel in nemo pariatur modi."], "comments"=>[{"_id"=>BSON::ObjectId('5490530f7735332e7e070100'), "author_name"=>"Talon Beahan PhD", "content"=>["Velit debitis quia iusto. Earum facere tenetur sapiente. Reprehenderit corporis dolores dolorem alias. Et rem quasi ad aut at accusamus beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490530f7735332e7e070100", "product_id"=>"5490530f7735332e7e080100", "comment_id"=>"5490530f7735332e7e060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7e080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4712ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490530f7735332e7e080100'), "comments._id"=>BSON::ObjectId('5490530f7735332e7e060100'), "comments.0.comments._id"=>BSON::ObjectId('5490530f7735332e7e070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7397ms Redirected to http://test.host/products/5490530f7735332e7e080100/comments/5490530f7735332e7e060100/comments/5490530f7735332e7e070100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e090100'), "firstname"=>"Joshua", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms 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('5490530f7735332e7e0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Redirected to http://test.host/users/5490530f7735332e7e0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1565ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e0b0100'), "firstname"=>"Mckenna", "lastname"=>"Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1530ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490530f7735332e7e0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530f7735332e7e0b0100')} 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('5490530f7735332e7e0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms 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.2014ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e0c0100'), "firstname"=>"Zelma", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490530f7735332e7e0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530f7735332e7e0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.7ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490530f7735332e7e0d0100'), "firstname"=>"Gillian", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms 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.3265ms 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('5490530f7735332e7e0e0100'), "firstname"=>"Eleonore", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (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('5490530f7735332e7e0f0100'), "firstname"=>"Jasen", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490530f7735332e7e0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530f7735332e7e0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms 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('5490530f7735332e7e100100'), "firstname"=>"Brant", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490530f7735332e7e100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490530f7735332e7e100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms Unpermitted parameters: name Redirected to http://test.host/users/5490530f7735332e7e100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms 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.6101ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6909ms 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.6198ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7634ms 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.5509ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549053897735332ed4000000'), "firstname"=>"Tod", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2727ms 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('549053897735332ed4010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms 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.2527ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549053897735332ed4020000'), "firstname"=>"Angelica", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549053897735332ed4020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549053897735332ed4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549053897735332ed4030000'), "firstname"=>"Ron", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549053897735332ed4040000'), "firstname"=>"Lloyd", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.9604ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549053897735332ed4040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549053897735332ed4040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549053897735332ed4050000'), "firstname"=>"Nedra", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549053897735332ed4050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549053897735332ed4050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms 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('549053897735332ed4060000'), "name"=>"Mr. Rolando Klocko", "reference"=>"Marcel Fisher", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed4070000'), "author_name"=>"Mrs. Michelle Bradtke", "content"=>["Fuga quidem consequatur. Vel quidem est at repudiandae suscipit. Ratione ut sit. Porro aliquid nam non in sint itaque corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549053897735332ed4060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549053897735332ed4080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms Redirected to http://test.host/admin/products/549053897735332ed4060000/comments/549053897735332ed4080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3913ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4090000'), "name"=>"Ms. Madie Hessel", "reference"=>"Mrs. Giuseppe Fadel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed40a0000'), "author_name"=>"Myrtie Herman II", "content"=>["Nulla quia quae eveniet. Tempore quasi et minus rerum sunt quia quis. Exercitationem fuga sit aperiam eos. A quisquam ut molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549053897735332ed4090000", "id"=>"549053897735332ed40a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549053897735332ed40a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5684ms Redirected to http://test.host/admin/products/549053897735332ed4090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed40b0000'), "name"=>"Eileen Ferry", "reference"=>"Leonor Donnelly", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed40c0000'), "author_name"=>"Collin Brekke I", "content"=>["Officia placeat magnam facilis doloribus consequatur repellat. Voluptate atque voluptatum ab suscipit. Ut et sit et ullam. Quia et sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5160ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549053897735332ed40b0000", "id"=>"549053897735332ed40c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed40b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed40d0000'), "name"=>"Michaela Romaguera", "reference"=>"Miss Samara Hilpert", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed40e0000'), "author_name"=>"Gene Donnelly", "content"=>["A est et et necessitatibus aspernatur ea. Ut debitis aperiam corrupti. Qui sed blanditiis eos ut aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5906ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549053897735332ed40d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed40d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4678ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed40f0000'), "name"=>"Mckayla Bins", "reference"=>"Elna Goodwin I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed4100000'), "author_name"=>"Caleb Rodriguez", "content"=>["Asperiores qui et officia occaecati vel quae. Quia praesentium labore. Qui reiciendis et aliquam distinctio maxime possimus. Iusto repellendus labore rem minima quam reprehenderit aperiam. Minus dolore assumenda ipsam eos doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5920ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549053897735332ed40f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed40f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4602ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4110000'), "name"=>"Arthur Rutherford", "reference"=>"Ryan O'Hara", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed4120000'), "author_name"=>"Braulio Keebler MD", "content"=>["Dolor quia ut sunt vero assumenda modi architecto. Unde laudantium voluptas cum iste est. Voluptas veritatis et delectus. Officia unde exercitationem iusto esse error deserunt. Ipsam eos ratione tempore nulla quia quia sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5708ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549053897735332ed4110000", "id"=>"549053897735332ed4120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4266ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4130000'), "name"=>"Shayne Armstrong", "reference"=>"Maegan Ullrich", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549053897735332ed4140000'), "author_name"=>"Bianka DuBuque", "content"=>["Laborum molestias accusamus. Eos dolor et molestiae et sint. Ut omnis perspiciatis. Asperiores delectus minus provident. Voluptatem ut adipisci est officiis id aut vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549053897735332ed4140000", "product_id"=>"549053897735332ed4130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3446ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4130000'), "comments._id"=>BSON::ObjectId('549053897735332ed4140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms Redirected to http://test.host/admin/products/549053897735332ed4130000/comments/549053897735332ed4140000 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('549053897735332ed4150000'), "name"=>"Einar Walter Sr.", "reference"=>"Malcolm Morar", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549053897735332ed4160000'), "firstname"=>"Alivia", "lastname"=>"Jacobs"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549053897735332ed4150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4150000')} 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('549053897735332ed4150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549053897735332ed4170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms Redirected to http://test.host/admin/products/549053897735332ed4150000/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('549053897735332ed4180000'), "name"=>"Nellie Toy", "reference"=>"Harvey Hilll", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549053897735332ed4190000'), "firstname"=>"Karlie", "lastname"=>"Raynor"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549053897735332ed4190000", "product_id"=>"549053897735332ed4180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed41a0000'), "name"=>"Jarvis Mraz", "reference"=>"Jennifer Moore", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549053897735332ed41b0000'), "firstname"=>"Eulah", "lastname"=>"Padberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549053897735332ed41a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed41a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.0ms) Completed 200 OK in 35ms (Views: 33.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed41c0000'), "name"=>"Miss Anne Macejkovic", "reference"=>"Elna Bergnaum", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549053897735332ed41d0000'), "firstname"=>"Rafaela", "lastname"=>"Nikolaus"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0037ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549053897735332ed41d0000", "product_id"=>"549053897735332ed41c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed41c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed41e0000'), "name"=>"Miss Courtney Ernser", "reference"=>"Lenore Bruen", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549053897735332ed41f0000'), "firstname"=>"Brianne", "lastname"=>"Borer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549053897735332ed41f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549053897735332ed41e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed41e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5597ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549053897735332ed41e0000/manager Completed 302 Found in 6ms ------------------------------------------------- Admin::ProductsControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4200000'), "name"=>"Chloe Boehm", "reference"=>"Danyka Gislason", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6798ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3165ms 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('549053897735332ed4210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6357ms Redirected to http://test.host/admin/products/549053897735332ed4210000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3026ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4220000'), "name"=>"Randall Hudson", "reference"=>"Ms. Misty Koelpin", "quantity"=>3}] 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.3196ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549053897735332ed4220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms 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.2680ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4230000'), "name"=>"Leonard Cummerata", "reference"=>"Hallie Prosacco MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549053897735332ed4230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 13ms (Views: 11.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4240000'), "name"=>"Sister Corkery", "reference"=>"Barney Hoppe", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6180ms 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.7711ms Completed 200 OK in 18ms (Views: 17.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4250000'), "name"=>"Bret Cartwright", "reference"=>"Kelsi Purdy", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 28ms (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('549053897735332ed4280000'), "name"=>"Emilie Lubowitz", "reference"=>"Faye Hilll DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5755ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549053897735332ed4280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549053897735332ed4290000'), "name"=>"Dr. Orlando Rosenbaum", "reference"=>"Brisa Schamberger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549053897735332ed4290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms Redirected to http://test.host/admin/products/549053897735332ed4290000 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('549053897735332ed42a0000'), "firstname"=>"Jessika", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5495ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2881ms 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('549053897735332ed42b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms Redirected to http://test.host/admin/users/549053897735332ed42b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2765ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549053897735332ed42c0000'), "firstname"=>"Maribel", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2508ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549053897735332ed42c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549053897735332ed42c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549053897735332ed42c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms 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.2565ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549053897735332ed42d0000'), "firstname"=>"Anibal", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549053897735332ed42d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549053897735332ed42d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('549053897735332ed42e0000'), "firstname"=>"Oswaldo", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms 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.4536ms Completed 200 OK in 41ms (Views: 40.1ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed42f0000'), "firstname"=>"Justine", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490538a7735332ed4300000'), "firstname"=>"Mike", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490538a7735332ed4300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538a7735332ed4300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms 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('5490538a7735332ed4310000'), "firstname"=>"Maurine", "lastname"=>"Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490538a7735332ed4310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538a7735332ed4310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490538a7735332ed4310000 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('5490538a7735332ed4320000'), "firstname"=>"Enoch", "lastname"=>"Roberts"}] 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=>"administrators", :query=>{}} runtime: 0.1886ms 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('5490538a7735332ed4330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms 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.1692ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4340000'), "firstname"=>"Lina", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490538a7735332ed4340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490538a7735332ed4340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4350000'), "firstname"=>"Consuelo", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4360000'), "firstname"=>"Nedra", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490538a7735332ed4360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490538a7735332ed4360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4370000'), "firstname"=>"Robert", "lastname"=>"Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490538a7735332ed4370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490538a7735332ed4370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4380000'), "name"=>"Emelie Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4390000'), "name"=>"Dr. Dannie Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43a0000'), "name"=>"Evie Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43b0000'), "name"=>"Arlo Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43c0000'), "name"=>"Naomie Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1284ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43d0000'), "name"=>"Myrtice D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43e0000'), "name"=>"Aaliyah Armstrong Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed43f0000'), "name"=>"Josefa Johnston V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed43f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4400000'), "name"=>"Halle Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4410000'), "name"=>"Bria Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4420000'), "name"=>"Cassandra Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4430000'), "name"=>"Foster Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4440000'), "name"=>"Waylon Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4450000'), "name"=>"Wilfrid Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4460000'), "name"=>"Larissa Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4470000'), "name"=>"Sophie Gutkowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4480000'), "name"=>"Sherman Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1266ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4490000'), "name"=>"Ms. Destany Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44a0000'), "name"=>"Alejandrin Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44b0000'), "name"=>"Brown Wisozk V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44c0000'), "name"=>"Blanche Toy DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44d0000'), "name"=>"Aric Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44e0000'), "name"=>"Pearline Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed44f0000'), "name"=>"Una Willms MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed44f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4500000'), "name"=>"Crawford Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4510000'), "name"=>"Jerel Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4520000'), "name"=>"Christina Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4530000'), "name"=>"Mr. Diamond Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4540000'), "name"=>"Charles Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4550000'), "name"=>"Oda Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4560000'), "name"=>"Rosalee Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4570000'), "name"=>"Jasper Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4580000'), "name"=>"Savannah Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4590000'), "name"=>"Bridgette Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45a0000'), "name"=>"Amely Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45b0000'), "name"=>"Graham Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45c0000'), "name"=>"Chadd Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45d0000'), "name"=>"Lorenza Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45e0000'), "name"=>"Ms. Reyna Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed45f0000'), "name"=>"Erick Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed45f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4600000'), "name"=>"Dorian Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4610000'), "name"=>"Geoffrey Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4620000'), "name"=>"Carlos Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4630000'), "name"=>"Heidi Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4640000'), "name"=>"Ethel Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4650000'), "name"=>"Reanna Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4660000'), "name"=>"Marc Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4670000'), "name"=>"Assunta Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4680000'), "name"=>"Mrs. Joe Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4690000'), "name"=>"Woodrow Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46a0000'), "name"=>"Heath Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46b0000'), "name"=>"Ms. Alyce Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46c0000'), "name"=>"Mae Stoltenberg II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46d0000'), "name"=>"Gavin Wisozk MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46e0000'), "name"=>"Melba Hayes IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed46f0000'), "name"=>"Sammy Rodriguez DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed46f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4700000'), "name"=>"Alejandra Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4710000'), "name"=>"Miss Corbin Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4720000'), "name"=>"Janis Muller DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4730000'), "name"=>"Roderick Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4740000'), "name"=>"Claude Conroy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4750000'), "name"=>"Cruz Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4760000'), "name"=>"Owen Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1191ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4770000'), "name"=>"Winona Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4780000'), "name"=>"Mr. Josefa Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4790000'), "name"=>"Mariana Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47a0000'), "name"=>"Willard Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47b0000'), "name"=>"Loyce Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47c0000'), "name"=>"Consuelo Lockman Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47d0000'), "name"=>"Maria Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47e0000'), "name"=>"Kaci Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed47f0000'), "name"=>"Ms. Douglas Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed47f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4800000'), "name"=>"Clint Goyette IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4810000'), "name"=>"Cristal Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4820000'), "name"=>"Novella Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4830000'), "name"=>"Sadye Blick III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4840000'), "name"=>"Miss Susanna Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4850000'), "name"=>"Gaston Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4860000'), "name"=>"Everette VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4870000'), "name"=>"Kendra Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1718ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4880000'), "name"=>"Bette Goodwin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4890000'), "name"=>"Mekhi Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48a0000'), "name"=>"Lurline Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48b0000'), "name"=>"Libby Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48c0000'), "name"=>"Rhea Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48d0000'), "name"=>"Ms. Karine Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48e0000'), "name"=>"Lenna Kohler DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed48f0000'), "name"=>"Blanche Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed48f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4900000'), "name"=>"Violette Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4910000'), "name"=>"Marcel Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4920000'), "name"=>"Gia Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4930000'), "name"=>"Brant Ritchie IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4940000'), "name"=>"Neva Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4950000'), "name"=>"Sydnie Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4960000'), "name"=>"Alda Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4970000'), "name"=>"Abbigail Yost II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1423ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1534ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4980000'), "name"=>"Hello"}] 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={"category_id"=>BSON::ObjectId('5490538a7735332ed4980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms Redirected to http://test.host/categories/5490538a7735332ed4980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1667ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4990000'), "name"=>"Lyda Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1478ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490538a7735332ed4990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed4990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed4990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1593ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed49a0000'), "name"=>"Gretchen Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490538a7735332ed49a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed49a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 9ms (Views: 8.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed49b0000'), "name"=>"Araceli Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305237507650] runtime: 0.0857ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2196ms Completed 200 OK in 15ms (Views: 14.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed49c0000'), "name"=>"Darrin Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306272257134] runtime: 0.0678ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1876ms Completed 200 OK in 33ms (Views: 32.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed49d0000'), "name"=>"Braxton Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1703ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 6ms (Views: 5.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed49f0000'), "name"=>"Jerod Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490538a7735332ed49f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed49f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed49f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4a00000'), "name"=>"Candace Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1696ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490538a7735332ed4a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490538a7735332ed4a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms Redirected to http://test.host/categories/5490538a7735332ed4a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4a10000'), "name"=>"Terrill Bins", "reference"=>"Dr. Fannie Purdy", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4a20000'), "author_name"=>"Emie Reichel PhD", "content"=>["Et aut aliquid esse nobis. Perferendis et iusto repellat labore exercitationem dolorum quis. Ipsam sed omnis non. Et ipsum est assumenda quia voluptatibus odio nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490538a7735332ed4a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4558ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms Redirected to http://test.host/products/5490538a7735332ed4a10000/comments/5490538a7735332ed4a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a10000')} 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('5490538a7735332ed4a40000'), "name"=>"Hollie Hegmann", "reference"=>"Ms. Lelia Schneider", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4a50000'), "author_name"=>"Jada Dickinson", "content"=>["Est deserunt excepturi sit eum ut id possimus. Provident animi repellat soluta. Quia odio qui id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490538a7735332ed4a40000", "id"=>"5490538a7735332ed4a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a40000')} 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('5490538a7735332ed4a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms Redirected to http://test.host/products/5490538a7735332ed4a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4a60000'), "name"=>"Mr. Myrna Friesen", "reference"=>"Izabella Heller PhD", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4a70000'), "author_name"=>"Sadie Cassin", "content"=>["Minus earum magni sed. Ea modi voluptatum sed culpa. Officiis quod enim sit ex voluptatem quia. Aliquid ipsum sed itaque porro provident. Debitis cupiditate amet qui perferendis sapiente."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490538a7735332ed4a60000", "id"=>"5490538a7735332ed4a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4a80000'), "name"=>"Vesta Jaskolski MD", "reference"=>"Mylene Pfannerstill MD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4a90000'), "author_name"=>"Johnny Padberg", "content"=>["Laudantium excepturi quibusdam labore quisquam est debitis quasi. Eaque quo neque. Vel et optio molestiae eos in sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0380ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490538a7735332ed4a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6523ms Completed 200 OK in 12ms (Views: 7.9ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4aa0000'), "name"=>"Savanna Kerluke", "reference"=>"Anais Cartwright", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4ab0000'), "author_name"=>"Giovanny Crona", "content"=>["Et illum excepturi aut est. Et quam quae incidunt quia. Dolorem odit omnis aut voluptatem molestias maiores. Nemo perspiciatis est sequi at. Repudiandae quia ut quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7773ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490538a7735332ed4aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5297ms Completed 200 OK in 4ms (Views: 0.4ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4ac0000'), "name"=>"Chadd Stehr DDS", "reference"=>"Eriberto Okuneva PhD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4ad0000'), "author_name"=>"Krystal Kunde I", "content"=>["Odit ut et ipsum laudantium ea. Vel reprehenderit cumque magnam et earum iste. Sunt voluptate illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6262ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490538a7735332ed4ac0000", "id"=>"5490538a7735332ed4ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4679ms Completed 200 OK in 4ms (Views: 0.3ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4ae0000'), "name"=>"Kareem Hane", "reference"=>"Leola Koch Jr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4af0000'), "author_name"=>"Dr. Delmer Powlowski", "content"=>["Molestiae sed rerum explicabo optio minima vitae. Iusto excepturi eveniet ut. Rerum fugiat ratione enim sint. Molestiae autem animi ut eveniet. Magnam consequatur alias quia est velit enim rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5407ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490538a7735332ed4ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('5490538a7735332ed4b00000'), "name"=>"Ethelyn Johnston", "reference"=>"Randy Labadie III", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4b10000'), "author_name"=>"Ms. Gwen Rath", "content"=>["Ab dolor sed voluptates qui dolorem. Velit voluptatem est. Praesentium in libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6729ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490538a7735332ed4b00000", "id"=>"5490538a7735332ed4b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4537ms Completed 200 OK in 6ms (Views: 3.4ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4b20000'), "name"=>"Miss Catalina Rodriguez", "reference"=>"Mrs. Cody Kemmer", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490538a7735332ed4b30000'), "author_name"=>"Aylin Herzog", "content"=>["Ab voluptatem optio. Quibusdam molestiae pariatur vel qui corporis. Suscipit enim est. Facilis sit qui. Qui autem temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490538a7735332ed4b30000", "product_id"=>"5490538a7735332ed4b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b20000'), "comments._id"=>BSON::ObjectId('5490538a7735332ed4b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms Redirected to http://test.host/products/5490538a7735332ed4b20000/comments/5490538a7735332ed4b30000 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('5490538a7735332ed4b40000'), "firstname"=>"Lavonne", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1672ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms Redirected to http://test.host/admin/clients/5490538a7735332ed4b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2041ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4b60000'), "firstname"=>"Karolann", "lastname"=>"Huel"}] 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.1750ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490538a7735332ed4b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms 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('5490538a7735332ed4b70000'), "firstname"=>"Annie", "lastname"=>"Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490538a7735332ed4b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (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('5490538a7735332ed4b80000'), "firstname"=>"Jailyn", "lastname"=>"Murray"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms 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('5490538a7735332ed4b90000'), "firstname"=>"Shaina", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490538a7735332ed4ba0000'), "firstname"=>"Lucy", "lastname"=>"Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490538a7735332ed4ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms 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('5490538a7735332ed4bb0000'), "firstname"=>"Isabella", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490538a7735332ed4bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms Redirected to http://test.host/admin/clients/5490538a7735332ed4bb0000 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('5490538a7735332ed4bc0000'), "firstname"=>"Pearlie", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms 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('5490538a7735332ed4bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms Redirected to http://test.host/clients/5490538a7735332ed4bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1724ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4be0000'), "firstname"=>"Josephine", "lastname"=>"Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms 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"=>"5490538a7735332ed4be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4be0000')} 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('5490538a7735332ed4be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5171ms 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.1984ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4bf0000'), "firstname"=>"Hayden", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490538a7735332ed4bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('5490538a7735332ed4c00000'), "firstname"=>"Kaycee", "lastname"=>"Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms 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('5490538a7735332ed4c10000'), "firstname"=>"Joanne", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('5490538a7735332ed4c20000'), "firstname"=>"Silas", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5868ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490538a7735332ed4c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4346ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4c30000'), "firstname"=>"Kelley", "lastname"=>"Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490538a7735332ed4c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms Redirected to http://test.host/clients/5490538a7735332ed4c30000 Completed 302 Found in 4ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4c40000'), "name"=>"Dion Purdy", "reference"=>"Clemens Russel", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4c50000'), "firstname"=>"Erika", "lastname"=>"Schuster"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490538a7735332ed4c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3527ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms Redirected to http://test.host/products/5490538a7735332ed4c40000/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('5490538a7735332ed4c70000'), "name"=>"Miss Brice Lemke", "reference"=>"Mrs. Sabryna Prohaska", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4c80000'), "firstname"=>"Ronaldo", "lastname"=>"Jenkins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490538a7735332ed4c80000", "product_id"=>"5490538a7735332ed4c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4c90000'), "name"=>"Mia Berge", "reference"=>"Coby Roberts", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4ca0000'), "firstname"=>"Isabel", "lastname"=>"Beahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490538a7735332ed4c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4cb0000'), "name"=>"Samson Botsford", "reference"=>"Branson Harber", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4cc0000'), "firstname"=>"Ova", "lastname"=>"Cormier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490538a7735332ed4cc0000", "product_id"=>"5490538a7735332ed4cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4cd0000'), "name"=>"Lue Goldner", "reference"=>"Liam Turcotte", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490538a7735332ed4ce0000'), "firstname"=>"Enola", "lastname"=>"Corwin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490538a7735332ed4ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490538a7735332ed4cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms Unpermitted parameters: name Redirected to http://test.host/products/5490538a7735332ed4cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4cf0000'), "name"=>"Ethel D'Amore", "reference"=>"Macy Stracke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d00000'), "name"=>"Kip Ritchie II", "reference"=>"Dr. Lavada Rohan", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d10000'), "name"=>"Gerry Kunde", "reference"=>"Fleta Marks", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d20000'), "name"=>"Waldo Miller", "reference"=>"Pietro Collier", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d30000'), "name"=>"Euna Torphy", "reference"=>"Marcelle Greenfelder", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d40000'), "name"=>"Ms. Kevin Rodriguez", "reference"=>"Rogers Mitchell V", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Redirected to http://test.host/products/5490538a7735332ed4d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2058ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d60000'), "name"=>"Mr. Cleveland Kuhlman", "reference"=>"Blake Wuckert DVM", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490538a7735332ed4d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4d60000')} 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('5490538a7735332ed4d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms 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.1929ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d70000'), "name"=>"Melyna Purdy PhD", "reference"=>"Natalie Prohaska", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490538a7735332ed4d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538a7735332ed4d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('5490538a7735332ed4d80000'), "name"=>"Alden Nikolaus", "reference"=>"Carolina Jacobs", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196677621] runtime: 0.1072ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2600ms Completed 200 OK in 18ms (Views: 17.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4d90000'), "name"=>"Willie Ward", "reference"=>"Bobby Raynor", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4da0000'), "name"=>"HelloWorld", "reference"=>"Rozella Auer", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4db0000'), "name"=>"value", "reference"=>"Dr. Darron Bogisich", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2708ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2528ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2376ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1568ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2233ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1535ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538a7735332ed4dc0000'), "name"=>"Reynold Turner DVM", "reference"=>"Eden Monahan", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279539120915] runtime: 0.1265ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3238ms Completed 200 OK in 49ms (Views: 48.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370109423] runtime: 0.0769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280068836541] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018045305] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279781175606] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279760622264] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279911461056] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280897801954] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6496ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468114255] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279924690371] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279966628714] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280046094143] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587494722] runtime: 0.0838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280418970690] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584152203] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280496182043] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279661575438] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192572180] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281256509265] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280012194567] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857938628] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279550543] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280511675927] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280344744914] runtime: 0.0688ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280121370829] runtime: 0.0762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280026003809] runtime: 0.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279689381355] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018483235] runtime: 0.0870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469654446] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279464190024] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280346220949] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279804058577] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280510288701] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280381908451] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281102794245] runtime: 0.0617ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541585958] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280704810386] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047413861] runtime: 0.0701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280740616065] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280582327259] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281127538468] runtime: 0.0746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199415245] runtime: 0.0644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279461351478] runtime: 0.0870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534834584] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279905812598] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933263715] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319852072] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280099580341] runtime: 0.1444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829997908] runtime: 0.0766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280806582302] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5548ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281255277550] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280644766745] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279586736809] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235009850] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422680074] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281265168971] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180248886] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279363475436] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279580555617] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280049002393] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563073737] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280327756873] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132067843] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280109862608] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264195688] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6989ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281176139745] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279961628468] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279933160394] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950317632] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808678128] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7306ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279469304247] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431263507] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280515458961] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668997497] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466703738] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535656382] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279992953015] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279202674461] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279367140596] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281153754543] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5914ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280474070794] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5968ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215797241] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976009681] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854107432] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279446865870] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480608626] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280968761162] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280954817160] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775451831] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211476569] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279995951109] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553853094] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816867813] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372686413] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280312654389] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279186723992] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125984022] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280127889242] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280673904] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280842274737] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371887728] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663341387] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254676472] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279571528516] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520641842] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864506201] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279252656001] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279254244486] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280174931004] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279824766893] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859198368] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694929303] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279343593860] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369277715] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280799919292] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043244129] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5867ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279222591699] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280546928103] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279630851131] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280635075503] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279699302816] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283346166] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279300597888] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280977113551] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081088183] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280609797368] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424713764] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138362945] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496342754] runtime: 0.1443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972085254] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7742ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280019568619] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281064605462] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280755144000] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279788850039] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280606382293] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279876754522] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369202081] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280930543379] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280492862958] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280149163757] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579552955] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782406316] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279201407957] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280310133400] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279948212660] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280517604614] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7883ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280063219996] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280234438868] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280702145937] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280193111350] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281231176394] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281125416411] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279601132699] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676594872] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692958244] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808972057] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7784ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338835795] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645038051] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279836318388] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560976257] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281211900482] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892568807] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280645471221] runtime: 0.0624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655381061] runtime: 0.0635ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4dd0000'), "name"=>"Makenzie Grady", "reference"=>"Dameon Kuhic", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3289ms REQUEST METHOD GET Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4de0000'), "name"=>"Dustin Collins Sr.", "reference"=>"Cole Barton", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.2071ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279943078557] runtime: 0.0688ms Completed 200 OK in 5ms (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('5490538b7735332ed4df0000'), "name"=>"Major Balistreri Jr.", "reference"=>"Kole Casper", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490538b7735332ed4df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms 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('5490538b7735332ed4e00000'), "name"=>"Laurel Towne", "reference"=>"Natalia Berge", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('5490538b7735332ed4e20000'), "name"=>"Houston Stark", "reference"=>"Ms. Garrison Berge", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5333ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490538b7735332ed4e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4e30000'), "name"=>"Guadalupe Anderson", "reference"=>"Ms. Raphaelle Strosin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4081ms REQUEST METHOD PATCH true MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549053897735332ed4060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms true # Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3445ms REQUEST METHOD PATCH true true # Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4e40000'), "name"=>"Cathy Rice", "reference"=>"Tia Thiel III", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3784ms REQUEST METHOD GET Completed 200 OK in 5ms (Views: 3.4ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4e50000'), "name"=>"Gene Padberg", "reference"=>"Miss Wilmer Ledner", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3416ms REQUEST METHOD GET 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('5490538b7735332ed4e60000'), "name"=>"Fern Fadel", "reference"=>"Concepcion Bernhard", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3963ms 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('5490538b7735332ed4e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1922ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4e80000'), "name"=>"Lionel Connelly", "reference"=>"Creola Tillman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490538b7735332ed4e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3424ms Completed 200 OK in 7ms (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('5490538b7735332ed4e90000'), "name"=>"Dr. Montana Bechtelar", "reference"=>"Maximilian Emard", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms 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('5490538b7735332ed4eb0000'), "name"=>"Aniyah Moen", "reference"=>"Bernadette Crooks", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490538b7735332ed4eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms 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('5490538b7735332ed4ec0000'), "name"=>"Ms. Drew Reichel", "reference"=>"Mateo Koch", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490538b7735332ed4ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4ec0000')} 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('5490538b7735332ed4ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms Redirected to http://test.host/products/5490538b7735332ed4ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4ef0000'), "name"=>"Melyna Orn DVM", "reference"=>"Carolanne Schiller I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4ed0000'), "author_name"=>"Fredrick Jones", "content"=>["Consequatur expedita eum ut enim. Omnis saepe est ut dolores voluptates et est. Ipsam aliquid vero veritatis pariatur ea blanditiis fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4ee0000'), "author_name"=>"Susanna Rutherford", "content"=>["Quaerat suscipit nihil rem ipsum est consequatur quod. Molestias cum delectus non perferendis voluptatum ex ipsum. Qui voluptatem id et nisi perspiciatis. Et inventore libero dicta dolores. Maiores tenetur et rem."]}]}]}] 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('5490538b7735332ed4ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490538b7735332ed4ef0000", "comment_id"=>"5490538b7735332ed4ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4ef0000')} 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('5490538b7735332ed4ef0000'), "comments._id"=>BSON::ObjectId('5490538b7735332ed4ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490538b7735332ed4f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms Redirected to http://test.host/products/5490538b7735332ed4ef0000/comments/5490538b7735332ed4ed0000/comments/5490538b7735332ed4f00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4f30000'), "name"=>"Kennedy Denesik", "reference"=>"Roosevelt Heidenreich", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f10000'), "author_name"=>"Shakira Harber MD", "content"=>["Recusandae autem ut. Qui qui deserunt earum aperiam delectus eius. Alias et voluptate aut nihil nemo ad corporis."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f20000'), "author_name"=>"Melvin Larkin", "content"=>["Voluptatem autem velit. Fugit unde at cumque consequatur voluptate perferendis. Qui magni accusantium ipsam explicabo error asperiores impedit. Eligendi libero blanditiis est facilis laborum aperiam qui. Magni dicta ratione qui occaecati fugit quibusdam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490538b7735332ed4f30000", "comment_id"=>"5490538b7735332ed4f10000", "id"=>"5490538b7735332ed4f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4f30000')} 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('5490538b7735332ed4f30000'), "comments._id"=>BSON::ObjectId('5490538b7735332ed4f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490538b7735332ed4f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Redirected to http://test.host/products/5490538b7735332ed4f30000/comments/5490538b7735332ed4f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2192ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4f60000'), "name"=>"Emmie Schowalter", "reference"=>"Carolanne Gerlach", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f40000'), "author_name"=>"Louisa Reilly I", "content"=>["Quis modi autem iure error temporibus sit qui. Accusamus et voluptatibus. Earum sapiente et corrupti. Ex veritatis vitae minima doloribus voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f50000'), "author_name"=>"General Harber IV", "content"=>["Laboriosam voluptas aspernatur. Ut similique officiis. Quibusdam nemo dignissimos ipsa officiis. Sit incidunt impedit blanditiis in itaque fugit et. Voluptatem non tenetur aperiam et explicabo cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490538b7735332ed4f60000", "comment_id"=>"5490538b7735332ed4f40000", "id"=>"5490538b7735332ed4f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4f90000'), "name"=>"Aglae Kuhlman", "reference"=>"Geoffrey Reinger", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f70000'), "author_name"=>"Golda Mohr", "content"=>["Ut nobis mollitia eos asperiores aut. Deserunt eos explicabo sint sit. Adipisci illum et sit. Reiciendis temporibus libero."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4f80000'), "author_name"=>"Raul Robel", "content"=>["Repudiandae saepe sapiente occaecati maxime similique. Sed fugiat voluptas qui velit assumenda asperiores non. Adipisci ab omnis eaque nostrum est. Sit enim id eaque iusto. Dolor omnis non est qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490538b7735332ed4f90000", "comment_id"=>"5490538b7735332ed4f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4fc0000'), "name"=>"Ottilie Bode", "reference"=>"Bernie Nader", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4fa0000'), "author_name"=>"Antwon Howell I", "content"=>["Suscipit debitis delectus. Laudantium enim corrupti vero perspiciatis. Laborum est porro. Consequatur quia placeat praesentium recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4fb0000'), "author_name"=>"Lexie Schuppe I", "content"=>["Voluptatibus iusto quisquam et sed. Minus non mollitia ex omnis repellendus ut voluptas. Similique quisquam quod ducimus voluptatem velit quam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5201ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490538b7735332ed4fc0000", "comment_id"=>"5490538b7735332ed4fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4ff0000'), "name"=>"Cassidy Hahn", "reference"=>"Luis Nitzsche", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4fd0000'), "author_name"=>"Clay Weissnat", "content"=>["Voluptate earum fugiat cumque. Et magnam culpa aperiam. Nemo ab odio tenetur omnis fuga rerum iste."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4fe0000'), "author_name"=>"Cale Smitham", "content"=>["Et perspiciatis consectetur et. Cumque nostrum non sed rerum molestiae. Natus autem quia autem deleniti quidem est recusandae. Culpa voluptas debitis numquam dolore iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490538b7735332ed4ff0000", "comment_id"=>"5490538b7735332ed4fd0000", "id"=>"5490538b7735332ed4fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4020100'), "name"=>"Garland Powlowski", "reference"=>"Bethany Lemke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4000100'), "author_name"=>"Bo Wintheiser I", "content"=>["Quia esse sunt. Iusto blanditiis consequatur vero dolores dolore est. Saepe nam fugiat quo. Ut asperiores in quia debitis aut ut."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4010100'), "author_name"=>"Ozella Schuster", "content"=>["Deserunt mollitia accusamus. Aperiam voluptatem nisi et veritatis dolorem. Consequuntur officiis quidem. Placeat tempora aliquam fuga. Voluptatem ut magni deserunt dolor ab odit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490538b7735332ed4020100", "comment_id"=>"5490538b7735332ed4000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4050100'), "name"=>"Winona Cronin", "reference"=>"Amira Lynch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4030100'), "author_name"=>"Madisen Leuschke", "content"=>["Voluptatem nesciunt id. Non incidunt fuga nemo laborum repudiandae sit quam. Quo nobis illum ullam fuga officia. Rem corporis ut voluptates perferendis maiores dolore error."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4040100'), "author_name"=>"Jakayla Haley IV", "content"=>["Quibusdam eligendi consequatur eos pariatur inventore. Aut nemo perferendis neque a earum omnis. Doloribus laborum eius quisquam nemo numquam quia. Explicabo illum quibusdam aut eos."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4756ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490538b7735332ed4050100", "comment_id"=>"5490538b7735332ed4030100", "id"=>"5490538b7735332ed4040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7153ms Completed 200 OK in 12ms (Views: 6.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4080100'), "name"=>"Bradley Beier Sr.", "reference"=>"Bernhard Medhurst", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4060100'), "author_name"=>"Helmer Konopelski I", "content"=>["Ut qui ratione vel et. Magnam quaerat cum dolorum ipsa architecto voluptatem. Iste voluptates exercitationem sunt et. Modi earum asperiores. Nihil non quo velit quas in doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('5490538b7735332ed4070100'), "author_name"=>"Jeanie Casper", "content"=>["Aspernatur voluptas velit sit eligendi commodi soluta consequatur. Nulla pariatur qui qui praesentium vero. Accusamus unde debitis. Ducimus ratione sunt quibusdam saepe. Sequi in reiciendis et ut fugit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 42.3076ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490538b7735332ed4070100", "product_id"=>"5490538b7735332ed4080100", "comment_id"=>"5490538b7735332ed4060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490538b7735332ed4080100'), "comments._id"=>BSON::ObjectId('5490538b7735332ed4060100'), "comments.0.comments._id"=>BSON::ObjectId('5490538b7735332ed4070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8394ms Redirected to http://test.host/products/5490538b7735332ed4080100/comments/5490538b7735332ed4060100/comments/5490538b7735332ed4070100 Completed 302 Found in 12ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed4090100'), "firstname"=>"Stanley", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6405ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3667ms 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('5490538b7735332ed40a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5709ms Redirected to http://test.host/users/5490538b7735332ed40a0100 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4108ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed40b0100'), "firstname"=>"Branson", "lastname"=>"Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3641ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490538b7735332ed40b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538b7735332ed40b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538b7735332ed40b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms 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.2630ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed40c0100'), "firstname"=>"Zella", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490538b7735332ed40c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538b7735332ed40c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('5490538b7735332ed40d0100'), "firstname"=>"Maud", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5690ms 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.4959ms 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('5490538b7735332ed40e0100'), "firstname"=>"Aniyah", "lastname"=>"Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 4.5ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490538b7735332ed40f0100'), "firstname"=>"Valentine", "lastname"=>"Murphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490538b7735332ed40f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538b7735332ed40f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms 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('5490538b7735332ed4100100'), "firstname"=>"Elmira", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490538b7735332ed4100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490538b7735332ed4100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms Unpermitted parameters: name Redirected to http://test.host/users/5490538b7735332ed4100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms 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.2491ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms 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.2012ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6036ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054997735332fbc000000'), "firstname"=>"Wyatt", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1377ms 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('549054997735332fbc010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms 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('549054997735332fbc020000'), "firstname"=>"Zachary", "lastname"=>"Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549054997735332fbc020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054997735332fbc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054997735332fbc030000'), "firstname"=>"Joey", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.6434ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054997735332fbc040000'), "firstname"=>"Dino", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549054997735332fbc040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054997735332fbc040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054997735332fbc050000'), "firstname"=>"Mervin", "lastname"=>"Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549054997735332fbc050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054997735332fbc050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms 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('549054997735332fbc060000'), "name"=>"Aiyana Kling", "reference"=>"Xzavier Kreiger", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc070000'), "author_name"=>"Mckenzie Feil", "content"=>["A ipsam ut aliquid. Eum quia sint esse quia eligendi id ab. Beatae assumenda voluptate nobis et sed laboriosam consequuntur. Consectetur quis et dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054997735332fbc060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4421ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054997735332fbc080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5670ms Redirected to http://test.host/admin/products/549054997735332fbc060000/comments/549054997735332fbc080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4135ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc090000'), "name"=>"Evans Shanahan", "reference"=>"Wilbert Spencer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc0a0000'), "author_name"=>"Mr. Orlando Weimann", "content"=>["A voluptas tempora exercitationem minima ut iusto. Consequatur repudiandae nulla inventore accusantium et voluptatem. Sed dolores distinctio exercitationem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549054997735332fbc090000", "id"=>"549054997735332fbc0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4101ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054997735332fbc0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms Redirected to http://test.host/admin/products/549054997735332fbc090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc0b0000'), "name"=>"Brandyn Willms", "reference"=>"Ben Douglas III", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc0c0000'), "author_name"=>"Brendon Jerde", "content"=>["Nulla facere consequatur. Voluptatum eos quis alias velit incidunt sit quos. Quae aut et aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549054997735332fbc0b0000", "id"=>"549054997735332fbc0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc0d0000'), "name"=>"Ms. Beau Kovacek", "reference"=>"Claire Dicki", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc0e0000'), "author_name"=>"Edgardo Christiansen", "content"=>["Sint officiis at eos est dolore labore praesentium. Illo excepturi voluptas vel voluptas exercitationem. Harum quia nihil excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549054997735332fbc0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4628ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc0f0000'), "name"=>"Estrella Bradtke", "reference"=>"Valentine Corwin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc100000'), "author_name"=>"Sydnie Wiza", "content"=>["Neque enim temporibus. Necessitatibus voluptatem non similique. Id ab eligendi corrupti ipsam dolore. Rerum sequi accusamus omnis. Distinctio et accusantium impedit est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5913ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549054997735332fbc0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc110000'), "name"=>"Armando Borer", "reference"=>"Madge Krajcik DVM", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc120000'), "author_name"=>"Rozella Homenick III", "content"=>["Necessitatibus consequatur vel. Ut quo eveniet vel sequi aut nihil consectetur. Dolorem qui officia impedit et commodi ratione necessitatibus. Esse error qui sint vel voluptas rerum perspiciatis. Error dignissimos optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5428ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549054997735332fbc110000", "id"=>"549054997735332fbc120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc130000'), "name"=>"Ines Ortiz", "reference"=>"Alfonzo Will", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054997735332fbc140000'), "author_name"=>"Jonas Hoeger", "content"=>["Velit molestias dolores tempore laudantium dolorum perferendis qui. Nesciunt culpa dolores. Quaerat corrupti nihil ratione id qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054997735332fbc140000", "product_id"=>"549054997735332fbc130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc130000')} 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('549054997735332fbc130000'), "comments._id"=>BSON::ObjectId('549054997735332fbc140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Redirected to http://test.host/admin/products/549054997735332fbc130000/comments/549054997735332fbc140000 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('549054997735332fbc150000'), "name"=>"Abigale Marquardt", "reference"=>"Miss Krystal Wolff", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc160000'), "firstname"=>"Trisha", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054997735332fbc150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms Redirected to http://test.host/admin/products/549054997735332fbc150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc180000'), "name"=>"Burnice Durgan", "reference"=>"Cassie Turner", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc190000'), "firstname"=>"Eliane", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549054997735332fbc190000", "product_id"=>"549054997735332fbc180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc1a0000'), "name"=>"Destany Pfannerstill IV", "reference"=>"Abdullah Kiehn", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc1b0000'), "firstname"=>"Cali", "lastname"=>"Little"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549054997735332fbc1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.7ms) Completed 200 OK in 36ms (Views: 34.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc1c0000'), "name"=>"Mr. Lynn Lockman", "reference"=>"Kaylin Runolfsdottir", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc1d0000'), "firstname"=>"Layla", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549054997735332fbc1d0000", "product_id"=>"549054997735332fbc1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054997735332fbc1e0000'), "name"=>"Mrs. Myrtis Hilll", "reference"=>"Issac Ernser", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054997735332fbc1f0000'), "firstname"=>"Jeanie", "lastname"=>"Metz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549054997735332fbc1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054997735332fbc1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054997735332fbc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3452ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549054997735332fbc1e0000/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('5490549a7735332fbc200000'), "name"=>"Nash Stokes", "reference"=>"Annette Hayes MD", "quantity"=>2}] 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.2517ms 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('5490549a7735332fbc210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms Redirected to http://test.host/admin/products/5490549a7735332fbc210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2435ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc220000'), "name"=>"Sedrick Johnston", "reference"=>"Zechariah Murray", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms 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"=>"5490549a7735332fbc220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbc220000')} 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={"_id"=>BSON::ObjectId('5490549a7735332fbc220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms 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('5490549a7735332fbc230000'), "name"=>"Bella Hintz", "reference"=>"Oral Botsford DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490549a7735332fbc230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbc230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.1ms) Completed 200 OK in 11ms (Views: 9.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc240000'), "name"=>"Lysanne Hamill Sr.", "reference"=>"Cristina Veum", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5974ms 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.8529ms Completed 200 OK in 13ms (Views: 11.8ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc250000'), "name"=>"Mazie Cummerata", "reference"=>"Kaylie Krajcik II", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('5490549a7735332fbc280000'), "name"=>"Lula Weber", "reference"=>"Quincy Olson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490549a7735332fbc280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbc280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms 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('5490549a7735332fbc290000'), "name"=>"Miss Jalon Cummerata", "reference"=>"Mina Fisher", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1149ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490549a7735332fbc290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbc290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms Redirected to http://test.host/admin/products/5490549a7735332fbc290000 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('5490549a7735332fbc2a0000'), "firstname"=>"Torrance", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2070ms 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('5490549a7735332fbc2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms Redirected to http://test.host/admin/users/5490549a7735332fbc2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2499ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc2c0000'), "firstname"=>"Elvera", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2115ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490549a7735332fbc2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549a7735332fbc2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549a7735332fbc2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms 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.2041ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc2d0000'), "firstname"=>"Arianna", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490549a7735332fbc2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549a7735332fbc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Rendered /home/geoffroy/projects/crealettres/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('5490549a7735332fbc2e0000'), "firstname"=>"Patsy", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms 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 37ms (Views: 36.4ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc2f0000'), "firstname"=>"Claud", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490549a7735332fbc300000'), "firstname"=>"Sydni", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490549a7735332fbc300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549a7735332fbc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms 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('5490549a7735332fbc310000'), "firstname"=>"Antonina", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490549a7735332fbc310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549a7735332fbc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490549a7735332fbc310000 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('5490549a7735332fbc320000'), "firstname"=>"Maurice", "lastname"=>"Hickle"}] 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=>"administrators", :query=>{}} runtime: 0.2214ms 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('5490549a7735332fbc330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms 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.2171ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc340000'), "firstname"=>"Lauretta", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0530ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490549a7735332fbc340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490549a7735332fbc340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc350000'), "firstname"=>"Leanne", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc360000'), "firstname"=>"Mohamed", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5516ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490549a7735332fbc360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490549a7735332fbc360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc370000'), "firstname"=>"Solon", "lastname"=>"Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490549a7735332fbc370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490549a7735332fbc370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc380000'), "name"=>"Madge Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc390000'), "name"=>"Ewell Pouros"}] 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={"category_id"=>BSON::ObjectId('5490549a7735332fbc390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3a0000'), "name"=>"Miss Reginald Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3b0000'), "name"=>"Amelia Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3c0000'), "name"=>"Summer Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3d0000'), "name"=>"Mrs. Garret Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3e0000'), "name"=>"Maxine Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc3f0000'), "name"=>"Caroline Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc400000'), "name"=>"Demetrius Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc410000'), "name"=>"Dr. Magnolia Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc420000'), "name"=>"Sherwood Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc430000'), "name"=>"Flavie Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc440000'), "name"=>"Lulu Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc450000'), "name"=>"Abdiel Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc460000'), "name"=>"Miss Jonatan O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc470000'), "name"=>"Ally Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc480000'), "name"=>"Victoria Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc490000'), "name"=>"Sienna Nicolas DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4a0000'), "name"=>"Alyce Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4b0000'), "name"=>"Horace Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4c0000'), "name"=>"Alexanne Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4d0000'), "name"=>"Gideon Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4e0000'), "name"=>"Mrs. Modesto Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc4f0000'), "name"=>"Alysa Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc500000'), "name"=>"Isadore Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc510000'), "name"=>"Madyson Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc520000'), "name"=>"Lenna Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc530000'), "name"=>"Keshawn Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc540000'), "name"=>"Mrs. Donavon Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc550000'), "name"=>"Jensen Dietrich Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc560000'), "name"=>"Valentin Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc570000'), "name"=>"Ms. Cody Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc580000'), "name"=>"Vaughn Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc590000'), "name"=>"Parker Zemlak DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1596ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5a0000'), "name"=>"Curt Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5b0000'), "name"=>"Vilma Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5c0000'), "name"=>"Reid Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5d0000'), "name"=>"Madie Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5e0000'), "name"=>"Kaleigh Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc5f0000'), "name"=>"Megane Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc600000'), "name"=>"Emmanuel Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc610000'), "name"=>"Frieda Stamm DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc620000'), "name"=>"Nels Wyman MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc630000'), "name"=>"Anabel Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc640000'), "name"=>"Bailee Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc650000'), "name"=>"Jesse Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc660000'), "name"=>"Miss Lyric Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc670000'), "name"=>"Eudora Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc680000'), "name"=>"Mrs. Dale Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc690000'), "name"=>"Miss Marcos Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.8594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6a0000'), "name"=>"April Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1942ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6b0000'), "name"=>"Vern Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6c0000'), "name"=>"Daniela Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6d0000'), "name"=>"Wilfred Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6e0000'), "name"=>"Cordell Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc6f0000'), "name"=>"Romaine Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc700000'), "name"=>"Violette Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc710000'), "name"=>"Sedrick Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc720000'), "name"=>"Cayla Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc730000'), "name"=>"Freddy McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc740000'), "name"=>"Lonnie Mayer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc750000'), "name"=>"Alverta Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc760000'), "name"=>"Clementina Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc770000'), "name"=>"Clemens Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc780000'), "name"=>"Stacy Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc790000'), "name"=>"Dr. Kiley Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7a0000'), "name"=>"Tracey Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7b0000'), "name"=>"Ms. Katlyn Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7c0000'), "name"=>"Devonte West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7d0000'), "name"=>"Diego DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1599ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7e0000'), "name"=>"Karine Gutmann Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc7f0000'), "name"=>"Mr. Aubree Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc800000'), "name"=>"Lauren Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc810000'), "name"=>"Wiley Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc820000'), "name"=>"Elias Mitchell IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc830000'), "name"=>"Pete Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc840000'), "name"=>"Durward Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1422ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc850000'), "name"=>"Esther Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc860000'), "name"=>"Tate Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc870000'), "name"=>"Jaunita Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc880000'), "name"=>"Ms. Ubaldo Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc890000'), "name"=>"Dr. Agustina Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8a0000'), "name"=>"Tyrese Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1229ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8b0000'), "name"=>"Magnus Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8c0000'), "name"=>"Herbert Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8d0000'), "name"=>"Keanu Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8e0000'), "name"=>"Dr. Isidro Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc8f0000'), "name"=>"Alycia Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc900000'), "name"=>"Andreane Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc910000'), "name"=>"Haylie Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc920000'), "name"=>"Mr. Genesis Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc930000'), "name"=>"Vern Schumm DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc940000'), "name"=>"Leola Smitham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc950000'), "name"=>"Simone Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc960000'), "name"=>"Krista Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc970000'), "name"=>"Michele Pfannerstill DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1457ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms Redirected to http://test.host/categories/5490549a7735332fbc980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2044ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc990000'), "name"=>"Maynard Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1967ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490549a7735332fbc990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbc990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbc990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1973ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc9a0000'), "name"=>"Katlynn Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490549a7735332fbc9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbc9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.3ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc9b0000'), "name"=>"Natasha Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306969972416] runtime: 0.0967ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2463ms Completed 200 OK in 15ms (Views: 14.3ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc9c0000'), "name"=>"Mrs. Rashad Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1965ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306715186761] runtime: 0.0778ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2146ms Completed 200 OK in 33ms (Views: 32.5ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc9d0000'), "name"=>"Carolyn Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 6ms (Views: 5.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbc9f0000'), "name"=>"Bartholome Kessler Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490549a7735332fbc9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbc9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbc9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbca00000'), "name"=>"Delpha Price MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7355ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490549a7735332fbca00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490549a7735332fbca00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490549a7735332fbca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms Redirected to http://test.host/categories/5490549a7735332fbca00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbca10000'), "name"=>"Catalina Corkery", "reference"=>"Savion Brakus MD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbca20000'), "author_name"=>"Syble Sawayn DVM", "content"=>["Neque eos quidem reiciendis officiis nulla. Aut ipsum minima libero possimus laboriosam. Nobis sit dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3969ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490549a7735332fbca10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490549a7735332fbca30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms Redirected to http://test.host/products/5490549a7735332fbca10000/comments/5490549a7735332fbca30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbca40000'), "name"=>"Sydni Schuppe MD", "reference"=>"Dr. Conner Lynch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbca50000'), "author_name"=>"Jared Dare DDS", "content"=>["Et vel sapiente deleniti dolore nulla consequatur. Sit sint vero illo. Impedit fuga autem facilis id quas. Animi incidunt iure quod error consequatur dolorem est. Quae aut reprehenderit alias minima cum."]}]}] 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('5490549a7735332fbca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490549a7735332fbca40000", "id"=>"5490549a7735332fbca50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490549a7735332fbca50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms Redirected to http://test.host/products/5490549a7735332fbca40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbca60000'), "name"=>"Durward Kessler", "reference"=>"Amy Krajcik", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbca70000'), "author_name"=>"Mrs. Hosea Ferry", "content"=>["Doloremque est quo vel inventore. Aut et non et quae sapiente esse veritatis. Ea occaecati animi voluptatem pariatur. Est beatae aut sint accusantium sunt in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490549a7735332fbca60000", "id"=>"5490549a7735332fbca70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbca80000'), "name"=>"Ms. Patsy Mayert", "reference"=>"Camilla Hammes", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbca90000'), "author_name"=>"Myrtie Eichmann", "content"=>["Eius dolores est. Deleniti fuga cumque est. Enim deleniti iste in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490549a7735332fbca80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcaa0000'), "name"=>"Jany Kessler DVM", "reference"=>"Terry Buckridge", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbcab0000'), "author_name"=>"Danyka Fisher", "content"=>["Laboriosam exercitationem repellendus sed qui sit. Velit reiciendis rerum aut consequatur. Necessitatibus vel laborum quisquam adipisci aut aspernatur ut. Consequuntur fuga porro."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490549a7735332fbcaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcac0000'), "name"=>"Daija Kuhlman", "reference"=>"Lew Kihn", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbcad0000'), "author_name"=>"Missouri Schmeler", "content"=>["Minus eaque non. Libero enim et nihil est. Et earum repellat est ratione nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490549a7735332fbcac0000", "id"=>"5490549a7735332fbcad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcae0000'), "name"=>"Miss Anahi Streich", "reference"=>"Jordane Maggio", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbcaf0000'), "author_name"=>"Orie Hahn", "content"=>["Nihil autem excepturi quibusdam natus illum dolores. Ipsam consequatur qui exercitationem consequuntur dolor corrupti. Ut quia doloribus. Ea ipsum officiis pariatur. Aut est perferendis excepturi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2406ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490549a7735332fbcae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb00000'), "name"=>"Dr. Emery Swift", "reference"=>"Mr. Jeanette Jerde", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbcb10000'), "author_name"=>"Ivah Romaguera DVM", "content"=>["Autem sint iste est rem qui. Accusantium mollitia doloremque et voluptatem. Non consequatur voluptas eligendi doloremque molestiae. Molestias tempore expedita sapiente possimus pariatur sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490549a7735332fbcb00000", "id"=>"5490549a7735332fbcb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb20000'), "name"=>"Hildegard Weimann Jr.", "reference"=>"Florida Keeling", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490549a7735332fbcb30000'), "author_name"=>"Berta Braun V", "content"=>["Quidem repellat necessitatibus asperiores esse tenetur. Eos repudiandae maiores magnam nobis qui corrupti commodi. Sapiente vero placeat adipisci fugiat commodi consequuntur tempora. Enim at dolore voluptas quo eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490549a7735332fbcb30000", "product_id"=>"5490549a7735332fbcb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb20000'), "comments._id"=>BSON::ObjectId('5490549a7735332fbcb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms Redirected to http://test.host/products/5490549a7735332fbcb20000/comments/5490549a7735332fbcb30000 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('5490549a7735332fbcb40000'), "firstname"=>"Jillian", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2249ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms Redirected to http://test.host/admin/clients/5490549a7735332fbcb50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2494ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb60000'), "firstname"=>"Euna", "lastname"=>"Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1922ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490549a7735332fbcb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms 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.2043ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb70000'), "firstname"=>"Gregg", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490549a7735332fbcb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcb80000'), "firstname"=>"Mathias", "lastname"=>"Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms 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('5490549a7735332fbcb90000'), "firstname"=>"Opal", "lastname"=>"Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490549a7735332fbcba0000'), "firstname"=>"Ladarius", "lastname"=>"Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490549a7735332fbcba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms 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('5490549a7735332fbcbb0000'), "firstname"=>"Stephan", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490549a7735332fbcbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcbb0000')} 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('5490549a7735332fbcbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms Redirected to http://test.host/admin/clients/5490549a7735332fbcbb0000 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('5490549a7735332fbcbc0000'), "firstname"=>"Floy", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms 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('5490549a7735332fbcbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms Redirected to http://test.host/clients/5490549a7735332fbcbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1972ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcbe0000'), "firstname"=>"Vicenta", "lastname"=>"McKenzie"}] 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.1872ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490549a7735332fbcbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcbe0000')} 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('5490549a7735332fbcbe0000')} 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.1986ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcbf0000'), "firstname"=>"Manuela", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490549a7735332fbcbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490549a7735332fbcc00000'), "firstname"=>"Freda", "lastname"=>"Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms 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('5490549a7735332fbcc10000'), "firstname"=>"Alvis", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490549a7735332fbcc20000'), "firstname"=>"Julien", "lastname"=>"Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490549a7735332fbcc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms 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('5490549a7735332fbcc30000'), "firstname"=>"Fernando", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490549a7735332fbcc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Redirected to http://test.host/clients/5490549a7735332fbcc30000 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('5490549a7735332fbcc40000'), "name"=>"Mrs. Mattie Durgan", "reference"=>"Rosanna Hilll", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbcc50000'), "firstname"=>"Sonya", "lastname"=>"Langworth"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490549a7735332fbcc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbcc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms Redirected to http://test.host/products/5490549a7735332fbcc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcc70000'), "name"=>"Camren Harvey II", "reference"=>"Camylle Treutel", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbcc80000'), "firstname"=>"Kristina", "lastname"=>"Mills"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490549a7735332fbcc80000", "product_id"=>"5490549a7735332fbcc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcc90000'), "name"=>"Natasha Ruecker", "reference"=>"Dr. Hobart Renner", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbcca0000'), "firstname"=>"Gillian", "lastname"=>"Williamson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0008ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490549a7735332fbcc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbccb0000'), "name"=>"Dr. Eino Muller", "reference"=>"Tom Hagenes", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbccc0000'), "firstname"=>"Alexandrea", "lastname"=>"Schumm"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490549a7735332fbccc0000", "product_id"=>"5490549a7735332fbccb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbccd0000'), "name"=>"Gabe Rogahn", "reference"=>"Chase Franecki", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('5490549a7735332fbcce0000'), "firstname"=>"Trycia", "lastname"=>"King"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490549a7735332fbcce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490549a7735332fbccd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms Unpermitted parameters: name Redirected to http://test.host/products/5490549a7735332fbccd0000/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('5490549a7735332fbccf0000'), "name"=>"Dr. Chadrick Lockman", "reference"=>"Muriel Herman", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd00000'), "name"=>"Dr. Javonte Kessler", "reference"=>"Mrs. Stanford Murazik", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd10000'), "name"=>"Reese Blick II", "reference"=>"Kacie Gottlieb", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd20000'), "name"=>"Domenico Lang V", "reference"=>"Manley Kuphal", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd30000'), "name"=>"Jakayla Hettinger", "reference"=>"Quinten Wunsch", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd40000'), "name"=>"Ms. Darryl Zemlak", "reference"=>"Clotilde Emard Jr.", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1889ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Redirected to http://test.host/products/5490549a7735332fbcd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2157ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd60000'), "name"=>"Valentina Rolfson", "reference"=>"Oma Bogan", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6709ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1859ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490549a7735332fbcd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcd60000')} 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('5490549a7735332fbcd60000')} 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.1678ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd70000'), "name"=>"Timmy Hermiston IV", "reference"=>"Orie Hermiston", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490549a7735332fbcd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549a7735332fbcd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 6.6ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd80000'), "name"=>"Hilda Witting", "reference"=>"Hillary Boyer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279883630421] runtime: 0.0987ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2413ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcd90000'), "name"=>"Edison Corkery", "reference"=>"Ms. Shyann Koss", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549a7735332fbcda0000'), "name"=>"HelloWorld", "reference"=>"Felipa Jacobi", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcdb0000'), "name"=>"value", "reference"=>"Ryann Collins", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2926ms Completed 200 OK in 6ms (Views: 5.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2087ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2219ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2185ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcdc0000'), "name"=>"Salma Anderson", "reference"=>"Winona Torphy", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475433032] runtime: 0.1315ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2468ms Completed 200 OK in 44ms (Views: 43.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280291451369] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279915159467] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501722262] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341940629] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887184288] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280367432649] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882308315] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280585317331] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280252324286] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280861210550] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678157509] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280056159334] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280041597349] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660866092] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5293ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403303893] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280566070901] runtime: 0.0401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280742494000] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281274282297] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5279ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281270498097] runtime: 0.0399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286677298] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576365634] runtime: 0.0404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862079030] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5228ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015111326] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279695370134] runtime: 0.0774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281057043892] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267348565] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279609382081] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279712274432] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279731010101] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279851197808] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557856800] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206437478] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279182796225] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708629830] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279710700361] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762081340] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280902780659] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281096625315] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279817379172] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279408967907] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281131381772] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280629424444] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279745710079] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280375283392] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279963520557] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435526692] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369541392] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.3005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279549867497] runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162992173] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279349253003] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280142788012] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279505098817] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320934269] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6874ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279589954279] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280732800645] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279802855947] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438862104] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469416331] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6122ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280154427416] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281209098713] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280888545883] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545701609] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279811028902] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280553994791] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279927663612] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209811238] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281050508929] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576582233] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947949851] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316134825] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280048108127] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279988115113] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280067771641] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089994057] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677313188] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281014165265] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693108891] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280422362775] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5717ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759729532] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280484554597] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280248084165] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122651974] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978852474] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279359839377] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306548094] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279761830019] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280270822666] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280995086817] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865647951] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279770636349] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5695ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279574720590] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280832436376] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655493393] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280083973244] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280308871995] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281155632637] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280442661006] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433357347] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279647268547] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279600888099] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279866575237] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279502420797] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280158404412] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061563561] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878328466] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613377405] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279991866134] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134132415] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281052601844] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884554475] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279977659742] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280443882564] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280934817077] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280213271436] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279952907247] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144578632] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280047945080] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279501098786] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993765788] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978607195] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639623442] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281146995221] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279900914195] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280427450544] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280223949933] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.7028ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688512438] runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672713192] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281017876017] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280824560303] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280836809956] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279874548422] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193826363] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281054356056] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289007676] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280210533308] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279445489836] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280402927377] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280147158085] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280034831408] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759337560] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279652893312] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280414780698] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281223108998] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7408ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279215167712] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279272837810] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791716411] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7386ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280336748443] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281005088136] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280212730462] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7369ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280491611024] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279408209487] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280080427802] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279770187653] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280246654645] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281207995500] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085135012] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314922353] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280168794895] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875436052] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281084980324] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887899053] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280362141846] runtime: 0.0628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281032675008] runtime: 0.0458ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcdd0000'), "name"=>"Sienna Hirthe III", "reference"=>"Cooper McDermott", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2835ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcde0000'), "name"=>"Amelie Huel V", "reference"=>"Ayden Flatley", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6233ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776039987] runtime: 0.0773ms Completed 200 OK in 5ms (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('5490549b7735332fbcdf0000'), "name"=>"Miss Donald Kub", "reference"=>"Maryam Bergnaum II", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490549b7735332fbcdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms 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('5490549b7735332fbce00000'), "name"=>"Rodrick Quitzon", "reference"=>"Ms. Bailey Langworth", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce20000'), "name"=>"Ms. Eldora O'Reilly", "reference"=>"Brent Goyette I", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490549b7735332fbce20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbce20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce30000'), "name"=>"Dee Kuvalis", "reference"=>"Cynthia Cronin", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3261ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce40000'), "name"=>"Zella Stamm", "reference"=>"Miss Eve Reinger", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3335ms Completed 500 Internal Server Error in 4ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce50000'), "name"=>"Mrs. Darrell Waters", "reference"=>"Madeline Weber", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3692ms Completed 500 Internal Server Error in 4ms ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce60000'), "name"=>"Michael Moore", "reference"=>"Beulah Bayer", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2472ms 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('5490549b7735332fbce70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2535ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbce80000'), "name"=>"Dorcas Bogisich", "reference"=>"Annabel Steuber", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490549b7735332fbce80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbce80000')} 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('5490549b7735332fbce80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms 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('5490549b7735332fbce90000'), "name"=>"Martina Gutmann", "reference"=>"Marjory Kuhlman", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms 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('5490549b7735332fbceb0000'), "name"=>"Rylan Dickinson", "reference"=>"Elsie Casper IV", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490549b7735332fbceb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbceb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms 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('5490549b7735332fbcec0000'), "name"=>"Kaleb Flatley", "reference"=>"Lyda Boehm", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490549b7735332fbcec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcec0000')} 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('5490549b7735332fbcec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms Redirected to http://test.host/products/5490549b7735332fbcec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcef0000'), "name"=>"Chyna Heidenreich V", "reference"=>"Ayana Ankunding II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbced0000'), "author_name"=>"Ms. Sherwood Dickinson", "content"=>["Qui accusamus aliquid quo distinctio non. Quaerat numquam aperiam fugit. Quas aut nesciunt recusandae qui qui."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcee0000'), "author_name"=>"Noelia Reichel", "content"=>["Iure fuga et vitae repellendus impedit qui doloribus. Atque non quia nihil. Officiis ducimus error consequuntur quibusdam. Quo occaecati autem sed ducimus deserunt facilis molestiae. Iure dignissimos sunt eaque facere similique quidem error."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490549b7735332fbcef0000", "comment_id"=>"5490549b7735332fbced0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3491ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcef0000'), "comments._id"=>BSON::ObjectId('5490549b7735332fbced0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490549b7735332fbcf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6935ms Redirected to http://test.host/products/5490549b7735332fbcef0000/comments/5490549b7735332fbced0000/comments/5490549b7735332fbcf00000 Completed 302 Found in 35ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5694ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcf30000'), "name"=>"Bert Schiller", "reference"=>"Maxine Torphy II", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf10000'), "author_name"=>"Ian Runolfsson", "content"=>["Ut cumque aut eos repudiandae dolores similique expedita. Reprehenderit aliquid voluptatibus sit debitis et laudantium. Et recusandae numquam velit in qui et."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf20000'), "author_name"=>"Pietro Renner", "content"=>["Animi vero sint laborum. Incidunt exercitationem explicabo labore. Eum quo sunt modi distinctio repellat nemo. Culpa odio dolor."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490549b7735332fbcf30000", "comment_id"=>"5490549b7735332fbcf10000", "id"=>"5490549b7735332fbcf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf30000'), "comments._id"=>BSON::ObjectId('5490549b7735332fbcf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490549b7735332fbcf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6647ms Redirected to http://test.host/products/5490549b7735332fbcf30000/comments/5490549b7735332fbcf10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcf60000'), "name"=>"Ludie Oberbrunner", "reference"=>"Derick Lind IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf40000'), "author_name"=>"Sallie Graham II", "content"=>["Consectetur incidunt sit consequatur sunt. Delectus quo maiores ipsam. Ut ex delectus sit."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf50000'), "author_name"=>"Darwin Goodwin PhD", "content"=>["Odio ab esse eum. Earum vitae aut. Excepturi reprehenderit nihil qui illum commodi voluptatem. Omnis et et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490549b7735332fbcf60000", "comment_id"=>"5490549b7735332fbcf40000", "id"=>"5490549b7735332fbcf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 6.1ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcf90000'), "name"=>"Malcolm Fay", "reference"=>"Cecil Cummings Sr.", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf70000'), "author_name"=>"Alfreda Rempel", "content"=>["Commodi aliquid asperiores quisquam natus. Ab cupiditate vel ducimus. Ut inventore mollitia quia."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcf80000'), "author_name"=>"Hermina Beahan", "content"=>["Porro maiores rerum. Omnis quia odio est voluptas commodi hic sed. Quas explicabo et ut. Quasi omnis sunt impedit. Fuga neque et enim unde blanditiis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490549b7735332fbcf90000", "comment_id"=>"5490549b7735332fbcf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4202ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcfc0000'), "name"=>"Mr. Zander Weber", "reference"=>"Mr. Myra Rosenbaum", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcfa0000'), "author_name"=>"Gerda Goyette", "content"=>["Iure sapiente sit ullam maiores id enim. Velit accusantium tempore placeat voluptas possimus. Ratione alias nisi libero eius nihil. Error et at minima placeat illo."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcfb0000'), "author_name"=>"Jude Gerhold", "content"=>["Velit non distinctio sed fugit repellendus. Consequatur et iste voluptatem neque quia quisquam quis. Quas voluptas iure omnis modi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5979ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490549b7735332fbcfc0000", "comment_id"=>"5490549b7735332fbcfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4078ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbcff0000'), "name"=>"Ole Abernathy", "reference"=>"Penelope Wisozk", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcfd0000'), "author_name"=>"Moriah Leuschke", "content"=>["Molestiae necessitatibus ut enim. Veniam et unde maxime cum illum laboriosam doloribus. Aut in quae omnis ratione."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbcfe0000'), "author_name"=>"Antonetta Hodkiewicz", "content"=>["Labore rerum fuga incidunt facilis. Aut aut harum numquam molestias pariatur et rem. Eum aut sed qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490549b7735332fbcff0000", "comment_id"=>"5490549b7735332fbcfd0000", "id"=>"5490549b7735332fbcfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbcff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3122ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc020100'), "name"=>"Stone Halvorson", "reference"=>"Miss Sean Stiedemann", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc000100'), "author_name"=>"Emma Botsford", "content"=>["Est iure et aliquam. Consequatur sequi recusandae dolor vitae aut dolores. Consectetur odio neque. Dolor quae quis."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc010100'), "author_name"=>"Marilou Romaguera", "content"=>["Sed rerum cumque dolore nostrum blanditiis. Consequuntur hic aliquid nobis temporibus. Vero in incidunt natus et rerum laudantium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490549b7735332fbc020100", "comment_id"=>"5490549b7735332fbc000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbc020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc050100'), "name"=>"Mrs. Rosalia Jakubowski", "reference"=>"Ariel Kassulke", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc030100'), "author_name"=>"Isobel Bergstrom", "content"=>["Nihil odio id aut optio. Commodi atque minus quas labore maiores. Voluptatum quidem alias consequatur omnis qui incidunt recusandae. Laborum nihil unde."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc040100'), "author_name"=>"Gianni Mertz DVM", "content"=>["Modi at et. Id itaque fuga est cupiditate id deserunt. Accusamus sunt nesciunt corrupti reiciendis. Quam soluta minima et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490549b7735332fbc050100", "comment_id"=>"5490549b7735332fbc030100", "id"=>"5490549b7735332fbc040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbc050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc080100'), "name"=>"Lucile Lesch", "reference"=>"Robbie Douglas Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc060100'), "author_name"=>"Keenan Moore", "content"=>["Id maiores error quia necessitatibus quo et. Occaecati doloremque aliquid. Fuga consequatur sunt non incidunt earum. Incidunt provident suscipit ad eum corporis saepe magnam."], "comments"=>[{"_id"=>BSON::ObjectId('5490549b7735332fbc070100'), "author_name"=>"Dr. Bud Schimmel", "content"=>["Nihil qui facilis animi. In sit error nemo omnis explicabo. Repellat nostrum corrupti ipsam provident ut. Amet eos mollitia quos ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490549b7735332fbc070100", "product_id"=>"5490549b7735332fbc080100", "comment_id"=>"5490549b7735332fbc060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbc080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490549b7735332fbc080100'), "comments._id"=>BSON::ObjectId('5490549b7735332fbc060100'), "comments.0.comments._id"=>BSON::ObjectId('5490549b7735332fbc070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Redirected to http://test.host/products/5490549b7735332fbc080100/comments/5490549b7735332fbc060100/comments/5490549b7735332fbc070100 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('5490549b7735332fbc090100'), "firstname"=>"Jonas", "lastname"=>"Ferry"}] 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.2307ms 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('5490549b7735332fbc0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms Redirected to http://test.host/users/5490549b7735332fbc0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2171ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc0b0100'), "firstname"=>"Jalen", "lastname"=>"Cronin"}] 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.2089ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490549b7735332fbc0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549b7735332fbc0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549b7735332fbc0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1674ms 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.2013ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc0c0100'), "firstname"=>"Allan", "lastname"=>"Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490549b7735332fbc0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549b7735332fbc0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Rendered /home/geoffroy/projects/crealettres/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('5490549b7735332fbc0d0100'), "firstname"=>"Jonas", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms 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.4572ms Completed 200 OK in 34ms (Views: 33.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490549b7735332fbc0e0100'), "firstname"=>"Rowan", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5531ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('5490549b7735332fbc0f0100'), "firstname"=>"Daren", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6010ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490549b7735332fbc0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549b7735332fbc0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4065ms 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('5490549b7735332fbc100100'), "firstname"=>"Esperanza", "lastname"=>"White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490549b7735332fbc100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490549b7735332fbc100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms Unpermitted parameters: name Redirected to http://test.host/users/5490549b7735332fbc100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms 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.3310ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms 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.2906ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6874ms 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.2927ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a47735332fec000000'), "firstname"=>"Tyson", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 372.0598ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3783ms 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('549054a47735332fec010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8271ms Redirected to http://test.host/admin/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.4058ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a47735332fec020000'), "firstname"=>"Isaias", "lastname"=>"Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6665ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549054a47735332fec020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a47735332fec020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4982ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (8.5ms) Completed 200 OK in 38ms (Views: 35.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec030000'), "firstname"=>"Dayana", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5953ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec040000'), "firstname"=>"Akeem", "lastname"=>"Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549054a57735332fec040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a57735332fec040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec050000'), "firstname"=>"Josue", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549054a57735332fec050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a57735332fec050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms 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('549054a57735332fec060000'), "name"=>"Dr. Gia Ernser", "reference"=>"Americo Schmidt", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec070000'), "author_name"=>"Nolan O'Connell", "content"=>["Aut ea molestiae recusandae. Numquam quo alias. Ea tempore laboriosam et quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054a57735332fec060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec060000')} 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('549054a57735332fec060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054a57735332fec080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms Redirected to http://test.host/admin/products/549054a57735332fec060000/comments/549054a57735332fec080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec090000'), "name"=>"Matteo Marks", "reference"=>"Albina Vandervort", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec0a0000'), "author_name"=>"Shayne Rice", "content"=>["Id ipsa praesentium consectetur in magni. Rerum molestias rerum a porro. Enim dicta ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549054a57735332fec090000", "id"=>"549054a57735332fec0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054a57735332fec0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms Redirected to http://test.host/admin/products/549054a57735332fec090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec0b0000'), "name"=>"Mr. Torrey Olson", "reference"=>"Preston Adams", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec0c0000'), "author_name"=>"Libby Stehr", "content"=>["Quae aut voluptatem voluptatem dolores commodi necessitatibus. Tempora et consequuntur ex nam. Soluta id eius nam. Nobis dolores nihil et itaque. Corporis illum quae animi excepturi modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549054a57735332fec0b0000", "id"=>"549054a57735332fec0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec0d0000'), "name"=>"Noe Shields", "reference"=>"Mose Fahey", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec0e0000'), "author_name"=>"Elfrieda Williamson", "content"=>["Qui consequuntur aliquam. Itaque expedita ullam recusandae alias explicabo voluptas. Rerum modi deleniti vel velit ratione facilis. Dolorum reprehenderit voluptas quia et est quasi. Sit saepe nihil doloremque dolores explicabo beatae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549054a57735332fec0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec0f0000'), "name"=>"Shyann Wilderman", "reference"=>"Arthur Hettinger", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec100000'), "author_name"=>"Shaniya O'Connell", "content"=>["Fugit odio impedit. In eaque et non aut maiores. Ex iusto earum sit aliquid."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549054a57735332fec0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec110000'), "name"=>"Anderson Bashirian", "reference"=>"Emie Rolfson Jr.", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec120000'), "author_name"=>"Regan Gibson", "content"=>["Sit expedita quo ratione. Aliquam ut et consectetur rerum. Qui perferendis qui nam perspiciatis vitae culpa. Nam omnis deleniti voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5027ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549054a57735332fec110000", "id"=>"549054a57735332fec120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec130000'), "name"=>"Euna Roob", "reference"=>"Aubrey Zieme", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fec140000'), "author_name"=>"Thora Feil Sr.", "content"=>["Temporibus aut maxime et facilis. Et eos omnis. Tempora optio distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054a57735332fec140000", "product_id"=>"549054a57735332fec130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec130000')} 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('549054a57735332fec130000'), "comments._id"=>BSON::ObjectId('549054a57735332fec140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms Redirected to http://test.host/admin/products/549054a57735332fec130000/comments/549054a57735332fec140000 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('549054a57735332fec150000'), "name"=>"Ignatius Hackett IV", "reference"=>"Elouise Rippin IV", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec160000'), "firstname"=>"Logan", "lastname"=>"Schulist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054a57735332fec150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms Redirected to http://test.host/admin/products/549054a57735332fec150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec180000'), "name"=>"Glennie Abbott", "reference"=>"Orrin Pfeffer", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec190000'), "firstname"=>"Alayna", "lastname"=>"Rice"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549054a57735332fec190000", "product_id"=>"549054a57735332fec180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec1a0000'), "name"=>"Helmer Tremblay", "reference"=>"Ellis Bradtke Jr.", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec1b0000'), "firstname"=>"Anna", "lastname"=>"Mitchell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549054a57735332fec1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.7ms) Completed 200 OK in 36ms (Views: 34.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec1c0000'), "name"=>"Sophia Fisher", "reference"=>"Mauricio Hammes", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec1d0000'), "firstname"=>"Tamia", "lastname"=>"O'Hara"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549054a57735332fec1d0000", "product_id"=>"549054a57735332fec1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec1e0000'), "name"=>"Coralie Simonis", "reference"=>"Samanta Mayert", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054a57735332fec1f0000'), "firstname"=>"Ezequiel", "lastname"=>"Maggio"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4374ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549054a57735332fec1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054a57735332fec1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549054a57735332fec1e0000/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('549054a57735332fec200000'), "name"=>"Neil Predovic", "reference"=>"Emilia Raynor II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2859ms 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('549054a57735332fec210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms Redirected to http://test.host/admin/products/549054a57735332fec210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec220000'), "name"=>"Ines Gorczany", "reference"=>"Selena Ziemann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms 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"=>"549054a57735332fec220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec220000')} 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('549054a57735332fec220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms 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.1778ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec230000'), "name"=>"Dereck O'Connell", "reference"=>"Julio Schuppe", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549054a57735332fec230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec240000'), "name"=>"Blanca Feil MD", "reference"=>"Suzanne Beer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms 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.4748ms Completed 200 OK in 10ms (Views: 10.0ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fec250000'), "name"=>"Antonina Friesen", "reference"=>"Amya Cummerata", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('549054a57735332fec280000'), "name"=>"Santiago Kautzer Jr.", "reference"=>"Mrs. Glen Gleason", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549054a57735332fec280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms 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('549054a57735332fec290000'), "name"=>"Ms. Janessa Green", "reference"=>"Curt Gusikowski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054a57735332fec290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Redirected to http://test.host/admin/products/549054a57735332fec290000 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('549054a57735332fec2a0000'), "firstname"=>"Stefan", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2751ms 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('549054a57735332fec2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms Redirected to http://test.host/admin/users/549054a57735332fec2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2197ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a57735332fec2c0000'), "firstname"=>"Abagail", "lastname"=>"Walsh"}] 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=>"admin_users", :query=>{}} runtime: 0.1975ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549054a57735332fec2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a57735332fec2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a57735332fec2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3463ms 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.2935ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a57735332fec2d0000'), "firstname"=>"Elenora", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549054a57735332fec2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a57735332fec2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms Rendered /home/geoffroy/projects/crealettres/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('549054a57735332fec2e0000'), "firstname"=>"Delbert", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms 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.3271ms 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('549054a57735332fec2f0000'), "firstname"=>"Bennie", "lastname"=>"Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('549054a57735332fec300000'), "firstname"=>"Nia", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549054a57735332fec300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a57735332fec300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms 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('549054a57735332fec310000'), "firstname"=>"Ciara", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054a57735332fec310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a57735332fec310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549054a57735332fec310000 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('549054a57735332fec320000'), "firstname"=>"Jannie", "lastname"=>"Marquardt"}] 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=>"administrators", :query=>{}} runtime: 0.2571ms 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('549054a57735332fec330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms 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.2482ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec340000'), "firstname"=>"Jade", "lastname"=>"Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549054a57735332fec340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a57735332fec340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec350000'), "firstname"=>"Aylin", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec360000'), "firstname"=>"Kenton", "lastname"=>"Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549054a57735332fec360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a57735332fec360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054a57735332fec370000'), "firstname"=>"Elenor", "lastname"=>"Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0779ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549054a57735332fec370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054a57735332fec370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec380000'), "name"=>"Tyra Thiel"}] 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={"category_id"=>BSON::ObjectId('549054a57735332fec380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec390000'), "name"=>"Miss Jay Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1412ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3a0000'), "name"=>"Mitchel Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3b0000'), "name"=>"Ola Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3c0000'), "name"=>"Cydney Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3d0000'), "name"=>"Fern Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3e0000'), "name"=>"Emory Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec3f0000'), "name"=>"Benton Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec400000'), "name"=>"Hassan Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec410000'), "name"=>"Larissa Blanda Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec420000'), "name"=>"Dewayne Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec430000'), "name"=>"Miss Danyka Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec440000'), "name"=>"Madison Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec450000'), "name"=>"Dr. Floy Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec460000'), "name"=>"Sanford Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec470000'), "name"=>"Natalia Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec480000'), "name"=>"Demarcus Effertz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec490000'), "name"=>"Marilyne Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4a0000'), "name"=>"Krista Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4b0000'), "name"=>"Oren Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4c0000'), "name"=>"Eduardo Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4d0000'), "name"=>"Jarret Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4e0000'), "name"=>"Glenna Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec4f0000'), "name"=>"Emmet Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec500000'), "name"=>"Dr. Desiree Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec510000'), "name"=>"Ricky Dooley PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec520000'), "name"=>"Gayle Kreiger MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec530000'), "name"=>"Elissa Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec540000'), "name"=>"Stone Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec550000'), "name"=>"Bryon Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec560000'), "name"=>"Arnulfo Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec570000'), "name"=>"Edward Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec580000'), "name"=>"Andreanne Tremblay I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec590000'), "name"=>"Lynn Marquardt IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5a0000'), "name"=>"Jesse Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5b0000'), "name"=>"Dr. Braden Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5c0000'), "name"=>"Odell Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5d0000'), "name"=>"Miss Noble McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5e0000'), "name"=>"Oscar Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec5f0000'), "name"=>"Enrique Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec600000'), "name"=>"Shyanne Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec610000'), "name"=>"Georgette Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec620000'), "name"=>"Immanuel Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec630000'), "name"=>"Florida O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec640000'), "name"=>"Alexandrine Dicki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1439ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec650000'), "name"=>"Romaine Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec660000'), "name"=>"Sallie Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec670000'), "name"=>"Mortimer Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec680000'), "name"=>"Dorian Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec690000'), "name"=>"Ardella Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6a0000'), "name"=>"Ms. Darrin Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6b0000'), "name"=>"Phoebe Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6c0000'), "name"=>"Dr. Bud Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6d0000'), "name"=>"Mr. Diana Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6e0000'), "name"=>"Tyler Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec6f0000'), "name"=>"Jordan Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec700000'), "name"=>"Okey Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec710000'), "name"=>"Ward O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec720000'), "name"=>"Andres Waelchi MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 35.6855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec730000'), "name"=>"Skye Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec740000'), "name"=>"Winona Reichel Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1251ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec750000'), "name"=>"Brant Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec760000'), "name"=>"Marquise Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec770000'), "name"=>"Willis Rohan DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec780000'), "name"=>"Jevon Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec790000'), "name"=>"Gerhard Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7a0000'), "name"=>"Bryce Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7b0000'), "name"=>"Rita Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7c0000'), "name"=>"Ms. Dariana Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7d0000'), "name"=>"Estefania Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7e0000'), "name"=>"Lenna Sauer III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1279ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec7f0000'), "name"=>"Ms. Anthony Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec800000'), "name"=>"Jacinto Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec810000'), "name"=>"Hildegard Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec820000'), "name"=>"Taryn Yundt DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec830000'), "name"=>"Dr. Judy Thompson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1544ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec840000'), "name"=>"Kraig Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec850000'), "name"=>"Rodolfo Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec860000'), "name"=>"Edwin Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec870000'), "name"=>"Celine Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec880000'), "name"=>"Zena Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1194ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec890000'), "name"=>"Gladys Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8a0000'), "name"=>"Taurean Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8b0000'), "name"=>"Adrien Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8c0000'), "name"=>"Lexie Armstrong MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8d0000'), "name"=>"Marcus Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8e0000'), "name"=>"Mr. Reynold Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec8f0000'), "name"=>"Mrs. Alysha Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec900000'), "name"=>"Damon Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec910000'), "name"=>"Elyse VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec920000'), "name"=>"Gregory Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec930000'), "name"=>"Mr. Zakary Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec940000'), "name"=>"Mr. Vivien McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec950000'), "name"=>"Adah Schulist PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec960000'), "name"=>"Jamarcus Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec970000'), "name"=>"Helena Littel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1572ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms Redirected to http://test.host/categories/549054a57735332fec980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1421ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec990000'), "name"=>"Tad Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1310ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549054a57735332fec990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332fec990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332fec990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1347ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec9a0000'), "name"=>"Carroll Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1487ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549054a57735332fec9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332fec9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2050ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec9b0000'), "name"=>"Elisabeth Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305249031569] runtime: 0.0753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1859ms Completed 200 OK in 14ms (Views: 13.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec9c0000'), "name"=>"Ms. Katelyn Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306501861123] runtime: 0.0693ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1671ms Completed 200 OK in 33ms (Views: 32.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec9d0000'), "name"=>"Steve Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332fec9f0000'), "name"=>"America Stokes"}] 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={"category_id"=>BSON::ObjectId('549054a57735332fec9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549054a57735332fec9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332fec9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332fec9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054a57735332feca00000'), "name"=>"Dr. Tre Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332feca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2000ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549054a57735332feca00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332feca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054a57735332feca00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054a57735332feca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms Redirected to http://test.host/categories/549054a57735332feca00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332feca10000'), "name"=>"Brionna Cassin", "reference"=>"Christa Ebert", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332feca20000'), "author_name"=>"Eddie Swift", "content"=>["Et non omnis ipsa voluptates. Nostrum temporibus a suscipit molestiae natus ut. Dolorem in et. Ipsum provident est nihil ut error voluptatem velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054a57735332feca10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054a57735332feca30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms Redirected to http://test.host/products/549054a57735332feca10000/comments/549054a57735332feca30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332feca40000'), "name"=>"Lavada McDermott", "reference"=>"Isac Bahringer", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332feca50000'), "author_name"=>"Corene Upton", "content"=>["Et veritatis blanditiis delectus hic nulla voluptate. Aliquam alias delectus pariatur amet quas. Quis dolorem eum. Soluta ratione est id voluptatibus distinctio. Occaecati esse et eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549054a57735332feca40000", "id"=>"549054a57735332feca50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054a57735332feca50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms Redirected to http://test.host/products/549054a57735332feca40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332feca60000'), "name"=>"Berta Bartoletti", "reference"=>"Cali Von", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332feca70000'), "author_name"=>"Jenifer Hills", "content"=>["In quo consequatur architecto tempora natus quia iusto. Est itaque voluptatum et et consequatur autem. Tenetur enim rerum. Rerum laboriosam at consectetur. Reiciendis ex debitis doloremque id totam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549054a57735332feca60000", "id"=>"549054a57735332feca70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332feca80000'), "name"=>"Dr. Jason Harber", "reference"=>"Noah Fahey", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332feca90000'), "author_name"=>"Raheem Smith", "content"=>["Ab totam temporibus est est aut accusamus. Assumenda suscipit doloremque et quod ab voluptas. Aut occaecati ex. Nulla excepturi voluptas nostrum voluptatem accusantium nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549054a57735332feca80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332feca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3749ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fecaa0000'), "name"=>"Bailey Friesen", "reference"=>"Michel Larkin", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fecab0000'), "author_name"=>"Lavada Kovacek Jr.", "content"=>["Vero tenetur molestiae consequatur accusamus. Nemo consectetur aut ipsum aliquam hic debitis. Quasi perferendis eveniet praesentium sit minima quia nisi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5571ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549054a57735332fecaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fecac0000'), "name"=>"Cassidy DuBuque", "reference"=>"Titus Rice", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fecad0000'), "author_name"=>"Dr. Chesley Hudson", "content"=>["Quia culpa velit aut a. Accusantium quasi laudantium repudiandae ipsa quis molestias necessitatibus. Pariatur harum fuga voluptatum nostrum libero et aut. Et aut odit voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549054a57735332fecac0000", "id"=>"549054a57735332fecad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fecae0000'), "name"=>"Peyton Lesch", "reference"=>"Zachariah Mante", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fecaf0000'), "author_name"=>"Agustina VonRueden Jr.", "content"=>["Dolore et alias similique quod et enim. Repudiandae officia explicabo perferendis. Qui a beatae officia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549054a57735332fecae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fecb00000'), "name"=>"Samantha Jaskolski III", "reference"=>"Gwen Beier", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fecb10000'), "author_name"=>"Sanford Thiel", "content"=>["Rerum nesciunt vel non dolores earum. Veniam minus ex. Pariatur et fugit beatae veritatis dolorum. Sunt dolores odio error aliquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549054a57735332fecb00000", "id"=>"549054a57735332fecb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a57735332fecb20000'), "name"=>"Miss Brando Zboncak", "reference"=>"Mrs. Vida Pacocha", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054a57735332fecb30000'), "author_name"=>"Katlynn Ward", "content"=>["Corrupti qui est. Distinctio perspiciatis quia rem voluptatum. Dolorem quod nihil consequuntur voluptatem aperiam. Qui eum impedit quis esse neque dolorem error. Est officiis velit dolore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2277ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054a57735332fecb30000", "product_id"=>"549054a57735332fecb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4137ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fecb20000'), "comments._id"=>BSON::ObjectId('549054a57735332fecb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms Redirected to http://test.host/products/549054a57735332fecb20000/comments/549054a57735332fecb30000 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('549054a57735332fecb40000'), "firstname"=>"Ike", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6102ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2811ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a57735332fecb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms Redirected to http://test.host/admin/clients/549054a57735332fecb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2190ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a57735332fecb60000'), "firstname"=>"Amya", "lastname"=>"Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms 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"=>"549054a57735332fecb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a57735332fecb60000')} 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('549054a57735332fecb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms 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.2741ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a57735332fecb70000'), "firstname"=>"Ena", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054a57735332fecb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a57735332fecb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) 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('549054a57735332fecb80000'), "firstname"=>"Cielo", "lastname"=>"Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms 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('549054a67735332fecb90000'), "firstname"=>"Angela", "lastname"=>"Johns"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1762ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549054a67735332fecba0000'), "firstname"=>"Myrtice", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054a67735332fecba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms 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('549054a67735332fecbb0000'), "firstname"=>"Emelie", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549054a67735332fecbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms Redirected to http://test.host/admin/clients/549054a67735332fecbb0000 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('549054a67735332fecbc0000'), "firstname"=>"Adolf", "lastname"=>"McCullough"}] 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=>"clients", :query=>{}} runtime: 0.2394ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a67735332fecbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/clients/549054a67735332fecbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2350ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a67735332fecbe0000'), "firstname"=>"Heber", "lastname"=>"Barrows"}] 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=>"clients", :query=>{}} runtime: 0.2205ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549054a67735332fecbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms 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.2132ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a67735332fecbf0000'), "firstname"=>"Damien", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054a67735332fecbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms Rendered /home/geoffroy/projects/crealettres/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('549054a67735332fecc00000'), "firstname"=>"Alford", "lastname"=>"Harris"}] 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.4379ms 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('549054a67735332fecc10000'), "firstname"=>"Deontae", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549054a67735332fecc20000'), "firstname"=>"Emma", "lastname"=>"Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4962ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054a67735332fecc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms Completed 200 OK in 3ms (Views: 2.1ms) ----------------------------------------------- Iord::GenericControllerTest: test_should_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054a67735332fecc30000'), "firstname"=>"Luis", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549054a67735332fecc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054a67735332fecc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms Redirected to http://test.host/clients/549054a67735332fecc30000 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('549054a67735332fecc40000'), "name"=>"Bernardo Hamill", "reference"=>"Lynn Schuppe", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549054a67735332fecc50000'), "firstname"=>"Dolly", "lastname"=>"Treutel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054a67735332fecc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054a67735332fecc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms Redirected to http://test.host/products/549054a67735332fecc40000/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('549054a67735332fecc70000'), "name"=>"Earline West", "reference"=>"Jerry Schulist", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549054a67735332fecc80000'), "firstname"=>"Tracey", "lastname"=>"Windler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549054a67735332fecc80000", "product_id"=>"549054a67735332fecc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecc90000'), "name"=>"Idella Kuvalis", "reference"=>"Rowena Doyle", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('549054a67735332fecca0000'), "firstname"=>"Callie", "lastname"=>"Oberbrunner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1439ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549054a67735332fecc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5375ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 10ms (Views: 7.1ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332feccb0000'), "name"=>"Orland Willms", "reference"=>"Sabina Ratke", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549054a67735332feccc0000'), "firstname"=>"Cleveland", "lastname"=>"Kerluke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6574ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549054a67735332feccc0000", "product_id"=>"549054a67735332feccb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332feccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5125ms Completed 200 OK in 7ms (Views: 4.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332feccd0000'), "name"=>"Antonia Pacocha", "reference"=>"Annamae Rippin", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('549054a67735332fecce0000'), "firstname"=>"Brycen", "lastname"=>"Gottlieb"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5923ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549054a67735332fecce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054a67735332feccd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332feccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4016ms Unpermitted parameters: name Redirected to http://test.host/products/549054a67735332feccd0000/manager Completed 302 Found in 4ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332feccf0000'), "name"=>"Joshuah Schimmel", "reference"=>"Jordi Howe", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd00000'), "name"=>"Rosanna Waelchi", "reference"=>"Halie Dickens", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd10000'), "name"=>"Agnes Gusikowski", "reference"=>"Miss Danny Maggio", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd20000'), "name"=>"Spencer Keebler V", "reference"=>"Evert Konopelski DDS", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd30000'), "name"=>"Maida Schaden IV", "reference"=>"Vickie Ziemann", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd40000'), "name"=>"Lupe Hyatt", "reference"=>"Abelardo Shanahan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2659ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Redirected to http://test.host/products/549054a67735332fecd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2153ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd60000'), "name"=>"Osbaldo Crist", "reference"=>"Marge Dickinson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1931ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549054a67735332fecd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms 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.2710ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd70000'), "name"=>"Harold Waters", "reference"=>"Flossie Swaniawski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549054a67735332fecd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 7.0ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd80000'), "name"=>"Osbaldo Marvin", "reference"=>"Oliver Runolfsson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118535611] runtime: 0.0902ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3520ms Completed 200 OK in 19ms (Views: 18.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecd90000'), "name"=>"Reba Lemke", "reference"=>"Keith O'Connell", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecda0000'), "name"=>"HelloWorld", "reference"=>"Miss Darrion Braun", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecdb0000'), "name"=>"value", "reference"=>"Miss Cheyenne Thompson", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3396ms Completed 200 OK in 6ms (Views: 5.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2913ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2461ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1933ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2922ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2419ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2149ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1764ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecdc0000'), "name"=>"Maryam Bogisich", "reference"=>"Delores Haley III", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279761043242] runtime: 0.1151ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2780ms Completed 200 OK in 47ms (Views: 46.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280785476037] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725673465] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281048137195] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280135936214] runtime: 0.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280584621646] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279494913008] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469349656] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280471475710] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066831842] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280627951312] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279955945338] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280700755892] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279903131281] runtime: 0.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280633141511] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648244731] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280052515834] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865010616] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279996578886] runtime: 0.0597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293241301] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118023792] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279583470635] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279499457006] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281264024774] runtime: 0.0792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279539143540] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7565ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280177239433] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281002388269] runtime: 0.0654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280021284886] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293980227] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280536830250] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734551405] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675871185] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434426807] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280185814126] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060584106] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410504817] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280410910530] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126644057] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372626765] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280417274940] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280590699204] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293725676] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420695807] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783984227] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820182733] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8454ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511648524] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782248627] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8113ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279223544739] runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.9329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106043970] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279489448448] runtime: 0.0716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279807341162] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435238720] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280473436978] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280597696008] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279290520733] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481102432] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281180257674] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431681592] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603001353] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5216ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280264041726] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279290694456] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281110113728] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279877289965] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279841650744] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279418891248] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204418568] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432017317] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023093515] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281104009925] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280536749808] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279978892897] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925566050] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280022112075] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280169757566] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5047ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280749151140] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152006300] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280415636838] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279856643985] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279883096094] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279595081216] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280053684350] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279569159304] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972776373] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279724022402] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279519851791] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279348369798] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279769118342] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280018695615] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4963ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280599673072] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279409222206] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821733564] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204568710] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279393331954] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280508333818] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462645197] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5061ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379392205] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678892492] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280880216669] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280663242957] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279933719620] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281234976634] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181402984] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279414071525] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449317081] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279774445907] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280017223459] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280233612996] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279205673756] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279304762280] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280646745815] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4903ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280710434142] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276417453] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279668753395] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281290828115] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433122935] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623852211] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280238533268] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605633478] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4851ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280285523377] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354228474] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279441696061] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281124914400] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280324920319] runtime: 0.1048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280110370174] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279322962610] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280468296072] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767858426] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794299035] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279283690375] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187128333] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279914016954] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280969848710] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280331337649] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154258677] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280212734380] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126024706] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280594447881] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279461196869] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6734ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279361413549] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279890599022] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280683078665] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993138768] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279763845224] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280062807181] runtime: 0.0856ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281059116425] runtime: 0.0824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280807236458] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9505ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281081255407] runtime: 0.0876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688761457] runtime: 0.0869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187562402] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280022441447] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250721969] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280781572767] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783475662] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281179582899] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280198765279] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133341142] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879259424] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281280835513] runtime: 0.0809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8657ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022837232] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280111792391] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091156812] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280988489989] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279772425923] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280745962826] runtime: 0.0627ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecdd0000'), "name"=>"Sydni Stroman", "reference"=>"Savanna Fahey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2501ms Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fecde0000'), "name"=>"Daphne Veum", "reference"=>"Miss Yessenia Boehm", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280441345599] runtime: 0.0667ms Completed 200 OK in 5ms (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('549054a67735332fecdf0000'), "name"=>"Yesenia Hand", "reference"=>"Jamey Upton V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549054a67735332fecdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fecdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms 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('549054a67735332fece00000'), "name"=>"Felicita Pouros", "reference"=>"Angelita MacGyver", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 10ms (Views: 7.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fece20000'), "name"=>"Margarette Green I", "reference"=>"Craig Bins", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549054a67735332fece20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a67735332fece20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3779ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fece30000'), "name"=>"Ambrose Zulauf", "reference"=>"Maureen Borer", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a57735332fec060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3383ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a67735332fece40000'), "name"=>"Phyllis Legros", "reference"=>"William Boyle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 676.0690ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6298ms Completed 200 OK in 62ms (Views: 57.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fece50000'), "name"=>"Marcelle Kovacek", "reference"=>"Abbie Rath I", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4251ms Completed 200 OK in 8ms (Views: 5.1ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fece60000'), "name"=>"Winston Bahringer", "reference"=>"Adella Kuphal", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2874ms 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('549054a77735332fece70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms Completed 201 Created in 3ms (Views: 0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2793ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fece80000'), "name"=>"Cierra Stamm", "reference"=>"Eileen Heaney", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549054a77735332fece80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fece80000')} 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={"_id"=>BSON::ObjectId('549054a77735332fece80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms 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('549054a77735332fece90000'), "name"=>"Creola Kilback", "reference"=>"Dr. Liliana Homenick", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms 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('549054a77735332feceb0000'), "name"=>"Renee Donnelly", "reference"=>"Olen Hackett", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6922ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054a77735332feceb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332feceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332feceb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5251ms Completed 202 Accepted in 6ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecec0000'), "name"=>"Amalia O'Reilly", "reference"=>"Georgianna King", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054a77735332fecec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3578ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms Redirected to http://test.host/products/549054a77735332fecec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecef0000'), "name"=>"Peggie Wiza Sr.", "reference"=>"Felton Sauer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332feced0000'), "author_name"=>"Gerardo Gaylord PhD", "content"=>["Consequatur voluptatem cupiditate mollitia. Esse voluptate quo facilis molestiae vero in. Autem laborum est suscipit cum rerum. Voluptatum non sunt nemo qui."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecee0000'), "author_name"=>"Willow McCullough", "content"=>["Et repudiandae illo rerum architecto perferendis. Eos culpa ipsam autem. Doloremque architecto hic sit adipisci delectus. Earum omnis voluptatem. Officia deleniti qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054a77735332fecef0000", "comment_id"=>"549054a77735332feced0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecef0000'), "comments._id"=>BSON::ObjectId('549054a77735332feced0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054a77735332fecf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6682ms Redirected to http://test.host/products/549054a77735332fecef0000/comments/549054a77735332feced0000/comments/549054a77735332fecf00000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecf30000'), "name"=>"Chelsey Upton", "reference"=>"Dr. Aric Wintheiser", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf10000'), "author_name"=>"Mae Harvey", "content"=>["Delectus est eos ut quia et eligendi. Totam quas molestiae. Nesciunt quae officiis eveniet autem ratione explicabo. Voluptas ex temporibus deleniti sed molestiae nam. Quae ad deleniti."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf20000'), "author_name"=>"Gardner Hartmann", "content"=>["Sit nam in ducimus delectus eveniet. Voluptas eaque velit rerum perferendis. Nihil labore quo illo et voluptatum. Ex qui modi autem fugit non. Sit consequatur et autem qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549054a77735332fecf30000", "comment_id"=>"549054a77735332fecf10000", "id"=>"549054a77735332fecf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf30000'), "comments._id"=>BSON::ObjectId('549054a77735332fecf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054a77735332fecf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6196ms Redirected to http://test.host/products/549054a77735332fecf30000/comments/549054a77735332fecf10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecf60000'), "name"=>"Eden Gerhold", "reference"=>"Daron Franecki", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf40000'), "author_name"=>"Dr. Clotilde Klein", "content"=>["Inventore qui et. Alias voluptatum minima. Qui non voluptatem aliquam. Aut aut recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf50000'), "author_name"=>"Louie Wiegand", "content"=>["Voluptatem et odit et modi molestiae. Qui assumenda voluptatem quia nihil. Omnis qui eum ut quia. Neque provident magnam fuga. Error eaque numquam perspiciatis qui iusto mollitia facilis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549054a77735332fecf60000", "comment_id"=>"549054a77735332fecf40000", "id"=>"549054a77735332fecf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4101ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 8.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecf90000'), "name"=>"Reese Connelly", "reference"=>"Martine Schaden", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf70000'), "author_name"=>"Kailey Weber", "content"=>["In rerum consectetur autem velit deleniti fuga quis. Dolorem eos voluptate sed rem. Odio et consequatur laboriosam dolor nihil qui. Illo ut nihil a."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecf80000'), "author_name"=>"Felipe Cummerata", "content"=>["Vitae voluptatem voluptatibus dicta culpa facere qui eaque. Facilis illo et pariatur nesciunt. Qui et quae eum sit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6539ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549054a77735332fecf90000", "comment_id"=>"549054a77735332fecf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4254ms Completed 200 OK in 7ms (Views: 4.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecfc0000'), "name"=>"Payton Sanford", "reference"=>"Duane Erdman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecfa0000'), "author_name"=>"Arvilla Mraz", "content"=>["Labore necessitatibus tempora reprehenderit culpa. Eligendi odit placeat praesentium nisi eius ullam corrupti. Culpa dolores rerum consequatur labore. Quasi quos est nesciunt aut odit est. Iure vero odit."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecfb0000'), "author_name"=>"Claudia Bode", "content"=>["Repellendus inventore at velit et quia. Ipsam voluptatem molestias voluptas omnis esse qui. Saepe aliquid minima. Aut ut deserunt deleniti labore non repellat."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6235ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549054a77735332fecfc0000", "comment_id"=>"549054a77735332fecfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3982ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fecff0000'), "name"=>"Candido Legros", "reference"=>"Aliza Stracke Sr.", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecfd0000'), "author_name"=>"Carmine Rau", "content"=>["Ut officia nobis qui repellat. Ut laboriosam rem incidunt et esse quas ullam. Magnam voluptas aspernatur rerum amet deleniti cum. Atque voluptates exercitationem omnis aut omnis alias."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fecfe0000'), "author_name"=>"Sarina Williamson", "content"=>["Aperiam voluptatibus eius qui iure debitis totam ut. Vel rerum odio. Aliquam quasi optio in expedita cumque cupiditate. Et mollitia provident cupiditate alias velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6009ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549054a77735332fecff0000", "comment_id"=>"549054a77735332fecfd0000", "id"=>"549054a77735332fecfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fecff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6218ms Completed 200 OK in 7ms (Views: 0.5ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fec020100'), "name"=>"Ms. Boyd Greenfelder", "reference"=>"Allene Haley", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec000100'), "author_name"=>"Dayna Brakus", "content"=>["Animi voluptate quae atque. Beatae laboriosam debitis blanditiis qui repellat. Modi optio ratione id eos sunt sint. Voluptate fuga neque est repellendus rerum nobis facere."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec010100'), "author_name"=>"Miss Lolita Renner", "content"=>["Aspernatur necessitatibus atque voluptas adipisci veniam earum. Quo et nemo id maxime facere aut. Dolorem laboriosam aut est ducimus a itaque. Sed ipsa sequi rem et totam aut amet. Vel totam consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7526ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549054a77735332fec020100", "comment_id"=>"549054a77735332fec000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fec020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5297ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 7.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fec050100'), "name"=>"Domingo Hoeger", "reference"=>"Tyler Wolff", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec030100'), "author_name"=>"Sonya Carroll", "content"=>["Aut consectetur inventore aperiam recusandae non totam. Neque et voluptas. Est repellendus nihil sunt similique. Sint cum cumque explicabo molestiae sequi assumenda non."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec040100'), "author_name"=>"Alia Murray", "content"=>["Et eos cum quam. Et doloribus velit pariatur et. Ut harum et voluptatem odit eum minima."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6684ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549054a77735332fec050100", "comment_id"=>"549054a77735332fec030100", "id"=>"549054a77735332fec040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fec050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5116ms Completed 200 OK in 8ms (Views: 3.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054a77735332fec080100'), "name"=>"Miss Devyn Luettgen", "reference"=>"Loraine Bernier", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec060100'), "author_name"=>"Wellington Vandervort PhD", "content"=>["Veniam in sapiente eaque tempore velit minima. Odit dolorem eius tempore ratione. Deserunt esse autem maiores aut. Ea dolor fugiat deleniti sint fugit qui distinctio. Esse natus aut alias aut quas repudiandae."], "comments"=>[{"_id"=>BSON::ObjectId('549054a77735332fec070100'), "author_name"=>"Mr. Rollin Cummings", "content"=>["Doloribus eveniet debitis itaque quia earum. Excepturi minus omnis. Incidunt velit et molestiae ut atque laboriosam. Et sed voluptas laboriosam esse quisquam doloremque. Sit at voluptate et incidunt animi aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6786ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054a77735332fec070100", "product_id"=>"549054a77735332fec080100", "comment_id"=>"549054a77735332fec060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fec080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054a77735332fec080100'), "comments._id"=>BSON::ObjectId('549054a77735332fec060100'), "comments.0.comments._id"=>BSON::ObjectId('549054a77735332fec070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7297ms Redirected to http://test.host/products/549054a77735332fec080100/comments/549054a77735332fec060100/comments/549054a77735332fec070100 Completed 302 Found in 8ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec090100'), "firstname"=>"Fabiola", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5818ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2339ms 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('549054a77735332fec0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Redirected to http://test.host/users/549054a77735332fec0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2671ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec0b0100'), "firstname"=>"Carmella", "lastname"=>"Marks"}] 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.2627ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549054a77735332fec0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a77735332fec0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4015ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a77735332fec0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms 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.2657ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec0c0100'), "firstname"=>"Rodger", "lastname"=>"Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549054a77735332fec0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a77735332fec0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) 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('549054a77735332fec0d0100'), "firstname"=>"Corrine", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms 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.4638ms Completed 200 OK in 12ms (Views: 11.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec0e0100'), "firstname"=>"Eldridge", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5140ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.6ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec0f0100'), "firstname"=>"Dennis", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms Processing by UsersController#show as HTML Parameters: {"id"=>"549054a77735332fec0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a77735332fec0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms Completed 200 OK in 4ms (Views: 2.9ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054a77735332fec100100'), "firstname"=>"Preston", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4799ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054a77735332fec100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054a77735332fec100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms Unpermitted parameters: name Redirected to http://test.host/users/549054a77735332fec100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5746ms 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.5025ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5444ms 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.4066ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5870ms 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.4072ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d000000'), "firstname"=>"Loraine", "lastname"=>"Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6326ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3274ms 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('549054b6773533301d010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms 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.2572ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d020000'), "firstname"=>"Madonna", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549054b6773533301d020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms) Completed 200 OK in 19ms (Views: 18.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d030000'), "firstname"=>"Leon", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d040000'), "firstname"=>"Kristoffer", "lastname"=>"Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549054b6773533301d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4432ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d050000'), "firstname"=>"Nola", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4757ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549054b6773533301d050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms 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('549054b6773533301d060000'), "name"=>"Adeline Turner", "reference"=>"Preston Wiza", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d070000'), "author_name"=>"Ms. Clarissa Schroeder", "content"=>["Et veniam non iure voluptatem. Tempora nemo quis. Molestias beatae possimus. Deleniti nam similique quis dolorem dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054b6773533301d060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054b6773533301d080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4839ms Redirected to http://test.host/admin/products/549054b6773533301d060000/comments/549054b6773533301d080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d090000'), "name"=>"Aaron Ledner", "reference"=>"Lane Wunsch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d0a0000'), "author_name"=>"Darlene Runolfsdottir", "content"=>["Dolorum quis nisi. Vero natus qui qui labore. Aut itaque repellendus architecto quaerat aperiam. Consectetur rem delectus aliquam natus maiores sed minus. Tenetur optio sequi ipsam et enim maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549054b6773533301d090000", "id"=>"549054b6773533301d0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d090000')} 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('549054b6773533301d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054b6773533301d0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms Redirected to http://test.host/admin/products/549054b6773533301d090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d0b0000'), "name"=>"Julie Pfeffer", "reference"=>"Dr. Dayna Corwin", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d0c0000'), "author_name"=>"Elisabeth Morissette DVM", "content"=>["Quas et vero aut consequatur temporibus necessitatibus nemo. Aut alias qui. Eius quo suscipit distinctio ut sunt molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549054b6773533301d0b0000", "id"=>"549054b6773533301d0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d0d0000'), "name"=>"Nash Raynor", "reference"=>"Kaycee Zulauf Sr.", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d0e0000'), "author_name"=>"Dr. Hailee Reilly", "content"=>["Vitae quo atque et et ut quas et. Enim repudiandae qui nesciunt aut. Omnis blanditiis est assumenda doloremque molestiae qui aspernatur. Ipsa omnis corporis cumque. Est et ullam asperiores voluptate quia aliquam omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549054b6773533301d0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d0f0000'), "name"=>"Constantin Donnelly", "reference"=>"Lavina Littel V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d100000'), "author_name"=>"Joy Gleichner Sr.", "content"=>["Delectus nesciunt atque ipsa nemo distinctio. Omnis mollitia ea et quam. Dolorem veniam fugit voluptatem facere rerum debitis. Omnis cupiditate magni. Necessitatibus sit odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549054b6773533301d0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d110000'), "name"=>"Alan Pacocha Jr.", "reference"=>"Nick Kautzer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d120000'), "author_name"=>"Edmond Ritchie", "content"=>["Debitis est beatae eum placeat pariatur nam. Aspernatur eius suscipit ipsum velit vel aliquid eos. Nam est voluptatum. Est consequatur ullam. Porro autem commodi quo cumque eius voluptatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549054b6773533301d110000", "id"=>"549054b6773533301d120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d130000'), "name"=>"Herman Kovacek", "reference"=>"Kolby Tremblay", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054b6773533301d140000'), "author_name"=>"Mitchel Feil I", "content"=>["Sed vero nisi dolore aperiam a. Blanditiis aut omnis libero veniam. Sed et vel est ratione sit enim. Est enim ut. Placeat ipsam assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054b6773533301d140000", "product_id"=>"549054b6773533301d130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d130000')} 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('549054b6773533301d130000'), "comments._id"=>BSON::ObjectId('549054b6773533301d140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms Redirected to http://test.host/admin/products/549054b6773533301d130000/comments/549054b6773533301d140000 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('549054b6773533301d150000'), "name"=>"Jermaine Murray DDS", "reference"=>"Laila Hane", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d160000'), "firstname"=>"Maia", "lastname"=>"Gorczany"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4206ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054b6773533301d150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms Redirected to http://test.host/admin/products/549054b6773533301d150000/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('549054b6773533301d180000'), "name"=>"Gay Dooley", "reference"=>"Creola Greenholt", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d190000'), "firstname"=>"Ludie", "lastname"=>"Mueller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549054b6773533301d190000", "product_id"=>"549054b6773533301d180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d1a0000'), "name"=>"Darien Kub", "reference"=>"Xander Oberbrunner", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d1b0000'), "firstname"=>"Koby", "lastname"=>"Lemke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549054b6773533301d1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.9ms) Completed 200 OK in 37ms (Views: 34.9ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d1c0000'), "name"=>"Mrs. Chance Marquardt", "reference"=>"Asa Walsh", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d1d0000'), "firstname"=>"Jamarcus", "lastname"=>"Goldner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5661ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549054b6773533301d1d0000", "product_id"=>"549054b6773533301d1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d1e0000'), "name"=>"Demetrius Harber", "reference"=>"Sandy Adams Sr.", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054b6773533301d1f0000'), "firstname"=>"Khalid", "lastname"=>"Hirthe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549054b6773533301d1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054b6773533301d1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549054b6773533301d1e0000/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('549054b6773533301d200000'), "name"=>"Mason Bailey DDS", "reference"=>"Kirk Morissette", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.2082ms 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('549054b6773533301d210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms Redirected to http://test.host/admin/products/549054b6773533301d210000 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_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d220000'), "name"=>"Thalia Bartell", "reference"=>"Sandrine Lueilwitz", "quantity"=>2}] 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=>"products", :query=>{}} runtime: 0.1807ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549054b6773533301d220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms 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.1690ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d230000'), "name"=>"Mrs. Alana Pfeffer", "reference"=>"Alba Wilkinson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549054b6773533301d230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d240000'), "name"=>"Chet Leannon", "reference"=>"Liliane Ferry V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3864ms 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.4766ms Completed 200 OK in 11ms (Views: 10.2ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b6773533301d250000'), "name"=>"Royal Homenick", "reference"=>"Forest Brakus", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 19ms (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('549054b6773533301d280000'), "name"=>"Miss Coleman Mann", "reference"=>"Kayli Kessler", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549054b6773533301d280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms 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('549054b6773533301d290000'), "name"=>"Pablo Rowe", "reference"=>"Braulio Durgan", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054b6773533301d290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d290000')} 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('549054b6773533301d290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms Redirected to http://test.host/admin/products/549054b6773533301d290000 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('549054b6773533301d2a0000'), "firstname"=>"Flo", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2003ms 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('549054b6773533301d2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms Redirected to http://test.host/admin/users/549054b6773533301d2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1926ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b6773533301d2c0000'), "firstname"=>"Lionel", "lastname"=>"Mills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1808ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549054b6773533301d2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b6773533301d2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b6773533301d2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms 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('549054b6773533301d2d0000'), "firstname"=>"Leonard", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549054b6773533301d2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b6773533301d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b6773533301d2e0000'), "firstname"=>"Verna", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms 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.4702ms Completed 200 OK in 41ms (Views: 40.1ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b6773533301d2f0000'), "firstname"=>"Renee", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('549054b6773533301d300000'), "firstname"=>"Ofelia", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549054b6773533301d300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b6773533301d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms 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('549054b6773533301d310000'), "firstname"=>"Jarrett", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054b6773533301d310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b6773533301d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549054b6773533301d310000 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('549054b6773533301d320000'), "firstname"=>"Annie", "lastname"=>"Dietrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1815ms 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('549054b6773533301d330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms 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.2429ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d340000'), "firstname"=>"Roger", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549054b6773533301d340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d350000'), "firstname"=>"Guido", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d360000'), "firstname"=>"Rosanna", "lastname"=>"Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549054b6773533301d360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054b6773533301d370000'), "firstname"=>"Kay", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549054b6773533301d370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054b6773533301d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d380000'), "name"=>"Maegan Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d390000'), "name"=>"Andres Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3a0000'), "name"=>"Tianna Gislason III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3b0000'), "name"=>"Marcus Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3c0000'), "name"=>"Dudley Reynolds III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3d0000'), "name"=>"Cheyanne Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3e0000'), "name"=>"Mrs. Kira Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d3f0000'), "name"=>"Mr. Vicenta Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d400000'), "name"=>"Emmy Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d410000'), "name"=>"Chanelle Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d420000'), "name"=>"Ms. Jaleel Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d430000'), "name"=>"Mrs. Lizzie Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d440000'), "name"=>"Rigoberto Gerlach DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d450000'), "name"=>"Miss Triston Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d460000'), "name"=>"Aron Collins II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2158ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d470000'), "name"=>"Xavier Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d480000'), "name"=>"Dorris Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d490000'), "name"=>"Jalyn Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4a0000'), "name"=>"Samantha Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4b0000'), "name"=>"Dejuan Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4c0000'), "name"=>"Esteban Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4d0000'), "name"=>"Marie Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4104ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4e0000'), "name"=>"Paige Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d4f0000'), "name"=>"Claudine Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d500000'), "name"=>"Kaylah Dietrich IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d510000'), "name"=>"Bennie Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d520000'), "name"=>"Pamela Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d530000'), "name"=>"Kolby McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d540000'), "name"=>"Kiarra Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d550000'), "name"=>"Amalia Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d560000'), "name"=>"Karelle Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d570000'), "name"=>"Kole Hegmann DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d580000'), "name"=>"Mr. Concepcion Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d590000'), "name"=>"Dr. Samantha Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5a0000'), "name"=>"Nash Green"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5b0000'), "name"=>"Joy Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5c0000'), "name"=>"Fletcher Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5d0000'), "name"=>"Ms. Polly Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5e0000'), "name"=>"Mr. Ashlee Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d5f0000'), "name"=>"Garfield Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d600000'), "name"=>"Tremayne Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d610000'), "name"=>"Brennon Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d620000'), "name"=>"Kyle Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d630000'), "name"=>"Mr. Talia MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1609ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d640000'), "name"=>"Elise Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d650000'), "name"=>"Donald Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d660000'), "name"=>"Ryann Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d670000'), "name"=>"Dr. Lucius Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d680000'), "name"=>"Dulce Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d690000'), "name"=>"Mrs. Claudine Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6a0000'), "name"=>"Isidro Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6b0000'), "name"=>"Emanuel Mertz Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6c0000'), "name"=>"Mr. Aurelio Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6d0000'), "name"=>"Shanie Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6e0000'), "name"=>"Hans Tillman DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d6f0000'), "name"=>"Cora Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d700000'), "name"=>"Susie Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d710000'), "name"=>"Keira Weber Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d720000'), "name"=>"Wendell Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d730000'), "name"=>"Vincent Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d740000'), "name"=>"Alvena Lubowitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d750000'), "name"=>"Arvilla Connelly II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d760000'), "name"=>"Rasheed Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d770000'), "name"=>"Trevor Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d780000'), "name"=>"Lonny Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d790000'), "name"=>"Alyce Hilll V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7a0000'), "name"=>"Dr. Eliane Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7b0000'), "name"=>"Leanna Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7c0000'), "name"=>"Jeffry Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7d0000'), "name"=>"Miss Fletcher Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7e0000'), "name"=>"Mallory Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d7f0000'), "name"=>"Camila Davis IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d800000'), "name"=>"Odie Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d810000'), "name"=>"Crystel Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d820000'), "name"=>"Angel Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d830000'), "name"=>"Tressa Miller I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d840000'), "name"=>"Esteban Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d850000'), "name"=>"Kendra Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d860000'), "name"=>"Christy Gulgowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d870000'), "name"=>"Shaun Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d880000'), "name"=>"Viviane Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d890000'), "name"=>"Dr. Josie Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8a0000'), "name"=>"Aryanna Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8b0000'), "name"=>"Nils Hauck II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8c0000'), "name"=>"Mr. Craig Abshire"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8d0000'), "name"=>"Sophia Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8e0000'), "name"=>"Will Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d8f0000'), "name"=>"Dock Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d900000'), "name"=>"Alanis Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2204ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d910000'), "name"=>"Annabell Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d920000'), "name"=>"Mrs. Marcelo Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d930000'), "name"=>"Nathan Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d940000'), "name"=>"Cassandre Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d950000'), "name"=>"Betsy Haag MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d960000'), "name"=>"Junior Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d970000'), "name"=>"Kelli Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1453ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Redirected to http://test.host/categories/549054b6773533301d980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2276ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d990000'), "name"=>"May Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2129ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549054b6773533301d990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b6773533301d990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b6773533301d990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2295ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d9a0000'), "name"=>"Dawson Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549054b6773533301d9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b6773533301d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b6773533301d9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b6773533301d9b0000'), "name"=>"Oma Dibbert"}] 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={"category_id"=>BSON::ObjectId('549054b6773533301d9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306746726992] runtime: 0.1171ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2998ms Completed 200 OK in 16ms (Views: 15.6ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b7773533301d9c0000'), "name"=>"Marta Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301d9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305761131895] runtime: 0.0774ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2714ms Completed 200 OK in 35ms (Views: 34.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b7773533301d9d0000'), "name"=>"Mrs. Loyce Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301d9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301d9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4043ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.8ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b7773533301d9f0000'), "name"=>"Elmer Ebert DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549054b7773533301d9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b7773533301d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301d9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054b7773533301da00000'), "name"=>"Destiny Von IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549054b7773533301da00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b7773533301da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054b7773533301da00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054b7773533301da00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms Redirected to http://test.host/categories/549054b7773533301da00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301da10000'), "name"=>"Kale Powlowski", "reference"=>"Winston Keeling", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301da20000'), "author_name"=>"Fannie Gutmann", "content"=>["Earum laudantium dolores. Omnis architecto voluptatem sapiente iusto sit quasi inventore. Praesentium porro aspernatur aut quam itaque sunt assumenda. Eos sint qui qui voluptatibus sapiente corrupti sunt. Et eligendi voluptatum quis cumque unde esse sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054b7773533301da10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da10000')} 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('549054b7773533301da10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054b7773533301da30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms Redirected to http://test.host/products/549054b7773533301da10000/comments/549054b7773533301da30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301da40000'), "name"=>"Miss Lennie Metz", "reference"=>"Janick Stark", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301da50000'), "author_name"=>"Amalia Kunze", "content"=>["Necessitatibus corrupti non a aliquam quis voluptas. Nulla et aut asperiores. Quisquam ut molestias optio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549054b7773533301da40000", "id"=>"549054b7773533301da50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da40000')} 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('549054b7773533301da40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054b7773533301da50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Redirected to http://test.host/products/549054b7773533301da40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301da60000'), "name"=>"Miss Kayley Monahan", "reference"=>"Marlen Blanda V", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301da70000'), "author_name"=>"Luisa Hilpert DDS", "content"=>["Nihil et harum quaerat iusto quia ea. Accusantium et vel sunt numquam. Voluptatem rerum iure sed aliquam. Minus deleniti sit et facilis tempora et minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549054b7773533301da60000", "id"=>"549054b7773533301da70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301da80000'), "name"=>"Helen Erdman", "reference"=>"Green Murphy", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301da90000'), "author_name"=>"Angelina Pacocha", "content"=>["Sequi officia corrupti hic soluta. Delectus occaecati et necessitatibus est deserunt repudiandae. Vero aut voluptas necessitatibus ab consectetur aut aut. Sit possimus voluptates animi et voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5458ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549054b7773533301da80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301da80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301daa0000'), "name"=>"Kyra Braun", "reference"=>"Jaycee Morissette IV", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301dab0000'), "author_name"=>"Urban Miller Jr.", "content"=>["Accusamus nisi optio. Ipsam molestias fugit nisi. Corrupti minima velit est nobis. Incidunt id omnis ullam perspiciatis sunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5226ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549054b7773533301daa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301daa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dac0000'), "name"=>"Miss Alexandre Tromp", "reference"=>"Mia Thiel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301dad0000'), "author_name"=>"Mrs. Emery Hodkiewicz", "content"=>["Possimus consequatur cupiditate earum ratione voluptate rerum. Eveniet repellendus porro nesciunt eius. Architecto ut eos illum modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549054b7773533301dac0000", "id"=>"549054b7773533301dad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dae0000'), "name"=>"Ambrose Rau", "reference"=>"Nikki Crooks", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301daf0000'), "author_name"=>"Mya Welch", "content"=>["Illum sint facere ut perspiciatis nulla. Dicta soluta officiis. Impedit dolorem beatae nisi facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549054b7773533301dae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301db00000'), "name"=>"Magdalen Larkin", "reference"=>"Dr. Laney Considine", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301db10000'), "author_name"=>"Gerson Hoeger IV", "content"=>["Et quasi est a nemo quaerat aut nostrum. Facere enim iure officiis amet. Magnam repellat labore ipsam vero. Qui quo amet optio numquam. Dignissimos corporis qui quidem vel numquam asperiores odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549054b7773533301db00000", "id"=>"549054b7773533301db10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301db00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301db20000'), "name"=>"Jacquelyn Reichel Jr.", "reference"=>"Quincy Von", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054b7773533301db30000'), "author_name"=>"Sean Eichmann", "content"=>["Est labore excepturi qui veniam. Recusandae dolores ipsa vitae ea porro distinctio numquam. Id aut ut. Aut esse quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5233ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054b7773533301db30000", "product_id"=>"549054b7773533301db20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301db20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301db20000'), "comments._id"=>BSON::ObjectId('549054b7773533301db30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6776ms Redirected to http://test.host/products/549054b7773533301db20000/comments/549054b7773533301db30000 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('549054b7773533301db40000'), "firstname"=>"Bernardo", "lastname"=>"Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3422ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2443ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301db50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms Redirected to http://test.host/admin/clients/549054b7773533301db50000 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('549054b7773533301db60000'), "firstname"=>"Dejah", "lastname"=>"Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1896ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549054b7773533301db60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301db60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301db60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms 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.2113ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301db70000'), "firstname"=>"Elenora", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054b7773533301db70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301db70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('549054b7773533301db80000'), "firstname"=>"Johnnie", "lastname"=>"Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4005ms 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('549054b7773533301db90000'), "firstname"=>"Maudie", "lastname"=>"Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5663ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) 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('549054b7773533301dba0000'), "firstname"=>"Chadd", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054b7773533301dba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301dbb0000'), "firstname"=>"Darian", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549054b7773533301dbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dbb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms Redirected to http://test.host/admin/clients/549054b7773533301dbb0000 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('549054b7773533301dbc0000'), "firstname"=>"Jordan", "lastname"=>"Wisoky"}] 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.2003ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301dbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms Redirected to http://test.host/clients/549054b7773533301dbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1920ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301dbe0000'), "firstname"=>"Marjory", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms 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"=>"549054b7773533301dbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4756ms 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.1998ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054b7773533301dbf0000'), "firstname"=>"Emilio", "lastname"=>"Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054b7773533301dbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('549054b7773533301dc00000'), "firstname"=>"Yvette", "lastname"=>"Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms 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('549054b7773533301dc10000'), "firstname"=>"Marlin", "lastname"=>"Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549054b7773533301dc20000'), "firstname"=>"Reuben", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054b7773533301dc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms 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('549054b7773533301dc30000'), "firstname"=>"Dillon", "lastname"=>"Monahan"}] 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"=>"549054b7773533301dc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054b7773533301dc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms Redirected to http://test.host/clients/549054b7773533301dc30000 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('549054b7773533301dc40000'), "name"=>"Brady Barton", "reference"=>"Arlene Welch", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dc50000'), "firstname"=>"Ethyl", "lastname"=>"McKenzie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054b7773533301dc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dc40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms Redirected to http://test.host/products/549054b7773533301dc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dc70000'), "name"=>"Dr. Emilia Considine", "reference"=>"Kenya Gaylord", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dc80000'), "firstname"=>"Era", "lastname"=>"Feeney"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549054b7773533301dc80000", "product_id"=>"549054b7773533301dc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dc90000'), "name"=>"Ansley Feeney", "reference"=>"Brody Farrell", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dca0000'), "firstname"=>"Westley", "lastname"=>"Durgan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549054b7773533301dc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dcb0000'), "name"=>"Damian Bernier", "reference"=>"Mr. Bettye Upton", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dcc0000'), "firstname"=>"Hudson", "lastname"=>"Koch"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549054b7773533301dcc0000", "product_id"=>"549054b7773533301dcb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dcb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dcd0000'), "name"=>"Stella Lang", "reference"=>"Angelica Cummerata", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549054b7773533301dce0000'), "firstname"=>"Jalen", "lastname"=>"Goyette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5129ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549054b7773533301dce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054b7773533301dcd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dcd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Unpermitted parameters: name Redirected to http://test.host/products/549054b7773533301dcd0000/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('549054b7773533301dcf0000'), "name"=>"Mya Raynor I", "reference"=>"Guido Trantow MD", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd00000'), "name"=>"Ebba Kohler", "reference"=>"Zula Prohaska", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd10000'), "name"=>"Lexi Wisozk PhD", "reference"=>"Malika Rutherford", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd20000'), "name"=>"Jacques Morar", "reference"=>"Ford Crona", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd30000'), "name"=>"Alexandrine Reinger", "reference"=>"Moses Larson", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd40000'), "name"=>"Edwina Hartmann Sr.", "reference"=>"Laurine Wilderman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Redirected to http://test.host/products/549054b7773533301dd50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1984ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd60000'), "name"=>"Randall Jacobs", "reference"=>"Mavis Hyatt DVM", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1709ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549054b7773533301dd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms 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.1737ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd70000'), "name"=>"Miss Stuart Blanda", "reference"=>"Daisy Bergstrom", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549054b7773533301dd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301dd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd80000'), "name"=>"Alexys Tremblay", "reference"=>"Art Schoen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279588609656] runtime: 0.0954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2560ms Completed 200 OK in 18ms (Views: 17.4ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dd90000'), "name"=>"Carlie Pagac", "reference"=>"Garfield Harris", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9988ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dda0000'), "name"=>"HelloWorld", "reference"=>"Efrain Stoltenberg IV", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301ddb0000'), "name"=>"value", "reference"=>"Shanon Leffler", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3160ms Completed 200 OK in 6ms (Views: 5.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2712ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2461ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1643ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2245ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2407ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2042ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1649ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301ddc0000'), "name"=>"Miss Rahul Bradtke", "reference"=>"Felton Goyette", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279840629205] runtime: 0.1053ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3401ms Completed 200 OK in 44ms (Views: 43.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280802537819] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434574318] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279903294011] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7944ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280867642646] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279472296068] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848733976] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280400845472] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279384166973] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778148314] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420521549] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281160589820] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343076084] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279238629110] runtime: 0.0928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7621ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280693458744] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279213832273] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356969623] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702826581] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280637042968] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279935367633] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279355174796] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675847236] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279796055007] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280819167899] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226383516] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281058493496] runtime: 0.0768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095746536] runtime: 0.0808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279496467338] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680838031] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279373576463] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280840276074] runtime: 0.0684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280203174527] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938714006] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279957643696] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675507674] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279938266701] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280249699403] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716373727] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309484791] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694139855] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280831310213] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280145177111] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280946437744] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623792730] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286238337] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816909020] runtime: 0.0632ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5812ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280328592765] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096091689] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280240998796] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.8785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482512831] runtime: 0.1150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648160310] runtime: 0.0808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279477770739] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314563091] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420740831] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279371782239] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241205526] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280113200992] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281141524648] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676388797] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280837480211] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280155986730] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336973993] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280272842763] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280842383469] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281021560700] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280656901805] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280911676864] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279471968385] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7304ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279268494992] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7356ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279198683541] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351759969] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089123312] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280595174973] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279635091529] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309807119] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529471309] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279991485461] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451687661] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061089823] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247455139] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279494057838] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280947036075] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880815459] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008915209] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280658034277] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280025538569] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281148605563] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895141441] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279502412390] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280444887795] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279783020398] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304676378] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280487176948] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073983287] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280689185556] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771665962] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711241789] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280547370331] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279227819457] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279190626163] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850788647] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451211916] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279723319090] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280637581599] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280220790222] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943837684] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009667960] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372048138] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280872984610] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233017885] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392547721] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280341456098] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089394884] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560191802] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281055291408] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279387820736] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280768693877] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281122418101] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794708171] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279483301836] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280246648327] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280627719607] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281050032842] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195218469] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166481781] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279895111472] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280746769889] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074508755] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281260128282] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280055100752] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518193302] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773482988] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.7901ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280866640434] runtime: 0.1046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279211857097] runtime: 0.0685ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280251786115] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279802247775] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279577909663] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106723534] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315925982] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281224826503] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256841968] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476736111] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280697206935] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5323ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563892029] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279400572440] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279256436781] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226366949] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280807475011] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178252240] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776071055] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181615347] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280900907352] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279328267992] runtime: 0.0976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281141637642] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7725ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892561214] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482253899] runtime: 0.0673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7902ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778239628] runtime: 0.0636ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279488860113] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279514676424] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279275946972] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825061402] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6193ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914181655] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281179633434] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280641314838] runtime: 0.0478ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301ddd0000'), "name"=>"Buster Quitzon", "reference"=>"Ms. Paolo Kris", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2316ms Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301dde0000'), "name"=>"Timmy Schamberger I", "reference"=>"Mrs. Terrance Walsh", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088852922] runtime: 0.0750ms Completed 200 OK in 5ms (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('549054b7773533301ddf0000'), "name"=>"Flavio Boyer", "reference"=>"Marcelle Beatty", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549054b7773533301ddf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301ddf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms 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('549054b7773533301de00000'), "name"=>"Reggie Cole", "reference"=>"Dr. Jarrod Hand", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 20.6492ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 5.2ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de20000'), "name"=>"Daisy Jakubowski", "reference"=>"Esta Mraz", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549054b7773533301de20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301de20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de30000'), "name"=>"Saul Klein Jr.", "reference"=>"Maxime Schneider", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3392ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4019ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b6773533301d060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4046ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de40000'), "name"=>"Frederic Dare", "reference"=>"Alexanne Gibson PhD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4148ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de50000'), "name"=>"Flavio Hahn", "reference"=>"Madie Moen", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4174ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de60000'), "name"=>"Kenton Crist", "reference"=>"Wilfrid Johnston", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5769ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3185ms 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('549054b7773533301de70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2982ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b7773533301de80000'), "name"=>"Nakia Bernier", "reference"=>"Amely Purdy V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549054b7773533301de80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301de80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301de80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms Completed 200 OK in 37ms (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('549054b7773533301de90000'), "name"=>"Bertram Veum", "reference"=>"Karl Heathcote", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5635ms 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('549054b7773533301deb0000'), "name"=>"Carey Nolan", "reference"=>"Tristian Kuhlman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8232ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054b7773533301deb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301deb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b7773533301deb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms 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('549054b8773533301dec0000'), "name"=>"Destin Hintz", "reference"=>"Jermain Abbott", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054b8773533301dec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301dec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301dec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Redirected to http://test.host/products/549054b8773533301dec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301def0000'), "name"=>"Dr. Stanley Stoltenberg", "reference"=>"Gregg Labadie", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301ded0000'), "author_name"=>"Marlen Mayer", "content"=>["Cumque qui laborum necessitatibus non consequatur. Dolorum tempora culpa reiciendis. Minus occaecati impedit esse voluptatibus quas suscipit."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301dee0000'), "author_name"=>"Oleta Schowalter II", "content"=>["Error rerum nam maiores saepe. Nostrum et sed. Soluta reiciendis exercitationem omnis et. Ex sunt recusandae accusamus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054b8773533301def0000", "comment_id"=>"549054b8773533301ded0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301def0000'), "comments._id"=>BSON::ObjectId('549054b8773533301ded0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054b8773533301df00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6841ms Redirected to http://test.host/products/549054b8773533301def0000/comments/549054b8773533301ded0000/comments/549054b8773533301df00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301def0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301df30000'), "name"=>"Mrs. Kristina Hintz", "reference"=>"Marley Dickinson", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df10000'), "author_name"=>"Mr. Coralie Eichmann", "content"=>["Est asperiores quaerat. Debitis iste ducimus quo magnam consequatur similique repellendus. Illo accusantium sint qui. Repellat minus expedita accusantium."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df20000'), "author_name"=>"Dr. Lincoln Jacobson", "content"=>["Est voluptatem eos ducimus. Dolor perspiciatis minus aut optio. Eos repellat qui. Consequatur aut labore."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549054b8773533301df30000", "comment_id"=>"549054b8773533301df10000", "id"=>"549054b8773533301df20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df30000'), "comments._id"=>BSON::ObjectId('549054b8773533301df10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054b8773533301df20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5937ms Redirected to http://test.host/products/549054b8773533301df30000/comments/549054b8773533301df10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301df60000'), "name"=>"Makayla Murray", "reference"=>"Ms. Jamarcus Dibbert", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df40000'), "author_name"=>"Mrs. Anika Flatley", "content"=>["Vitae soluta occaecati nostrum libero. Quia illum et doloribus aut. Consequatur culpa rem."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df50000'), "author_name"=>"Carlie Schulist", "content"=>["Veritatis tempore labore maiores aut deleniti quibusdam ipsam. Et in et voluptatibus vel aut veritatis. Voluptas minima id similique non ut. Dolor qui tenetur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549054b8773533301df60000", "comment_id"=>"549054b8773533301df40000", "id"=>"549054b8773533301df50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301df90000'), "name"=>"Devante Feeney", "reference"=>"Ms. Valerie Brekke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df70000'), "author_name"=>"Kenton Miller", "content"=>["Debitis illum itaque non sint. Est cupiditate est sapiente voluptatibus aperiam soluta. Reiciendis est nemo. Asperiores labore molestias commodi. Ut quos mollitia ea recusandae eos unde asperiores."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301df80000'), "author_name"=>"Dr. Liza Gleason", "content"=>["Quo voluptas repudiandae animi enim. Nesciunt est earum eum necessitatibus. Aut dolores voluptate est quos. Nihil sapiente debitis porro natus neque. Magni fuga incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549054b8773533301df90000", "comment_id"=>"549054b8773533301df70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301df90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Completed 200 OK in 6ms (Views: 3.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301dfc0000'), "name"=>"Ms. Mozell Mills", "reference"=>"Ona Greenholt", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301dfa0000'), "author_name"=>"Mr. Nelson Quitzon", "content"=>["Ex ut commodi similique. Pariatur commodi vel expedita. Molestiae excepturi qui qui consequatur cupiditate atque consequuntur. Ex officia suscipit ratione velit. Repudiandae cumque consectetur aliquam."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301dfb0000'), "author_name"=>"Alexzander Bosco", "content"=>["Repellendus dolorum vel. Assumenda porro blanditiis voluptatem dicta quam quo voluptatum. Perspiciatis repellendus laborum consequatur. In minima vitae modi id itaque aliquam ea. Id voluptate qui in optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5146ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549054b8773533301dfc0000", "comment_id"=>"549054b8773533301dfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301dfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3795ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301dff0000'), "name"=>"Marjolaine Krajcik", "reference"=>"Mrs. Mathew Cassin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301dfd0000'), "author_name"=>"Andrew Kshlerin", "content"=>["Rerum totam maiores aut distinctio culpa. Dolorem dolorem et assumenda sunt consequuntur. Et nesciunt qui iure molestiae ut. Optio eligendi quia et reiciendis repellendus ut perferendis. Incidunt ut illum rerum tempore eos."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301dfe0000'), "author_name"=>"Maximillia Carroll", "content"=>["Autem odio aut rem. Officiis eos repellendus et veniam sed. Non repellat quam nulla. Quia quidem error veritatis est perferendis. Labore harum quia rerum mollitia et deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549054b8773533301dff0000", "comment_id"=>"549054b8773533301dfd0000", "id"=>"549054b8773533301dfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301dff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301d020100'), "name"=>"Mrs. Napoleon Aufderhar", "reference"=>"Roderick Flatley", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d000100'), "author_name"=>"Bethel Leannon", "content"=>["Iusto rerum odio et quos ad. Quisquam quis deserunt placeat quis optio. Quisquam eum omnis dolores nesciunt nam placeat cum. Numquam et nobis et architecto. Ratione accusamus velit quia voluptas et."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d010100'), "author_name"=>"Fletcher Schmidt", "content"=>["Libero sit aut. Et accusantium laudantium non eum rerum. Corporis quidem libero non deserunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549054b8773533301d020100", "comment_id"=>"549054b8773533301d000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301d020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.9ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301d050100'), "name"=>"Guadalupe Mitchell Jr.", "reference"=>"Kiera Schuster", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d030100'), "author_name"=>"Lexie Altenwerth", "content"=>["Consequatur non omnis harum omnis sed asperiores. Id non necessitatibus alias pariatur quasi. Quia est sed soluta neque. Aperiam est optio commodi cumque ut ut."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d040100'), "author_name"=>"Abagail Rowe III", "content"=>["Aut placeat eum assumenda velit quia corporis ab. Delectus natus atque eaque minus et. Rerum accusantium magnam ratione. Sed quos ullam voluptatibus iusto dolores corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5793ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549054b8773533301d050100", "comment_id"=>"549054b8773533301d030100", "id"=>"549054b8773533301d040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301d050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054b8773533301d080100'), "name"=>"Adrien King", "reference"=>"Trace Schuster", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d060100'), "author_name"=>"Morgan Kulas", "content"=>["Minus est aut odit et. Quos perferendis veniam facilis. Beatae temporibus molestias ratione ex voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('549054b8773533301d070100'), "author_name"=>"Reagan Grimes", "content"=>["Dolores velit est deleniti officiis consequatur quia qui. Nisi id omnis aut molestias. Provident est culpa neque aut consequatur vero perspiciatis. Consequatur itaque enim aut magnam rem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5635ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054b8773533301d070100", "product_id"=>"549054b8773533301d080100", "comment_id"=>"549054b8773533301d060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054b8773533301d080100')} 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('549054b8773533301d080100'), "comments._id"=>BSON::ObjectId('549054b8773533301d060100'), "comments.0.comments._id"=>BSON::ObjectId('549054b8773533301d070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6562ms Redirected to http://test.host/products/549054b8773533301d080100/comments/549054b8773533301d060100/comments/549054b8773533301d070100 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('549054b8773533301d090100'), "firstname"=>"Linda", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6108ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3093ms 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('549054b8773533301d0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Redirected to http://test.host/users/549054b8773533301d0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2620ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b8773533301d0b0100'), "firstname"=>"Maximillian", "lastname"=>"Gulgowski"}] 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.2736ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549054b8773533301d0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b8773533301d0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b8773533301d0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms 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.2181ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b8773533301d0c0100'), "firstname"=>"Rachelle", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549054b8773533301d0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b8773533301d0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 44ms (Views: 42.9ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b8773533301d0d0100'), "firstname"=>"Everette", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5377ms 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.4451ms Completed 200 OK in 8ms (Views: 7.9ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054b8773533301d0e0100'), "firstname"=>"Ronny", "lastname"=>"Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549054b8773533301d0f0100'), "firstname"=>"Stacy", "lastname"=>"Walsh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms Processing by UsersController#show as HTML Parameters: {"id"=>"549054b8773533301d0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b8773533301d0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3743ms 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('549054b8773533301d100100'), "firstname"=>"Nathanial", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054b8773533301d100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054b8773533301d100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms Unpermitted parameters: name Redirected to http://test.host/users/549054b8773533301d100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5192ms 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.4895ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5788ms 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.4279ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6526ms 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.4194ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050000000'), "firstname"=>"Ulises", "lastname"=>"Lindgren"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5899ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2075ms 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('549054c37735333050010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms 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.2532ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050020000'), "firstname"=>"Ollie", "lastname"=>"Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549054c37735333050020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 18ms (Views: 17.0ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050030000'), "firstname"=>"Lilyan", "lastname"=>"O'Kon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5652ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050040000'), "firstname"=>"Jerome", "lastname"=>"Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549054c37735333050040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050050000'), "firstname"=>"Tre", "lastname"=>"Mertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8032ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549054c37735333050050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms 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('549054c37735333050060000'), "name"=>"Damien Hessel I", "reference"=>"Ofelia Corwin Jr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050070000'), "author_name"=>"Leda Schowalter", "content"=>["Quod enim odio autem ut voluptatibus repellat. Reprehenderit dolorum blanditiis voluptatem aut illum neque dolores. Blanditiis fugiat dolore deserunt laudantium. Esse delectus quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054c37735333050060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054c37735333050080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms Redirected to http://test.host/admin/products/549054c37735333050060000/comments/549054c37735333050080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050090000'), "name"=>"Carmella VonRueden", "reference"=>"Bo Ortiz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054c377353330500a0000'), "author_name"=>"King Koelpin PhD", "content"=>["Nobis sunt ea commodi sequi qui. Rerum hic quisquam. Et dignissimos voluptate dolores magni quas qui voluptas. Itaque voluptatum enim qui voluptates beatae tenetur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549054c37735333050090000", "id"=>"549054c377353330500a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054c377353330500a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms Redirected to http://test.host/admin/products/549054c37735333050090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330500b0000'), "name"=>"Jakob Ullrich", "reference"=>"Ms. Nigel Mills", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('549054c377353330500c0000'), "author_name"=>"Miss Sydnee Russel", "content"=>["Repudiandae porro ducimus consequatur facere hic aliquid. Mollitia natus architecto. Magni harum deleniti quas praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549054c377353330500b0000", "id"=>"549054c377353330500c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330500b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330500d0000'), "name"=>"Billie Murray", "reference"=>"Rocio Corwin", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c377353330500e0000'), "author_name"=>"Dr. Zachery Ruecker", "content"=>["Qui quia quasi ea et distinctio eveniet illo. Ea exercitationem dolorem corrupti esse cumque. Ea beatae ut in a. Sed asperiores cumque. Occaecati delectus libero cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5149ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549054c377353330500d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330500d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3921ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330500f0000'), "name"=>"Shirley Tillman", "reference"=>"Richmond Herman", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050100000'), "author_name"=>"Jessyca Jacobs", "content"=>["Pariatur quam perferendis et illum facere voluptates repellendus. Recusandae aut corporis qui provident at cupiditate. Magni architecto qui. Quasi accusamus voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8794ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549054c377353330500f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330500f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050110000'), "name"=>"Eliza Weimann", "reference"=>"Cassandre Cruickshank", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050120000'), "author_name"=>"Mackenzie Lockman", "content"=>["Molestias voluptas non deserunt omnis inventore et. Officiis nam itaque tempore non quam est. Excepturi architecto porro aut harum aut. Consequatur qui perspiciatis labore quia autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4915ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549054c37735333050110000", "id"=>"549054c37735333050120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050130000'), "name"=>"Erika D'Amore", "reference"=>"Simone Gibson", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050140000'), "author_name"=>"Liam Zemlak", "content"=>["Necessitatibus omnis ipsum totam eligendi. Veniam aliquid maxime a eius odio repellendus eos. Ea facilis earum magnam ut quod quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054c37735333050140000", "product_id"=>"549054c37735333050130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050130000')} 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('549054c37735333050130000'), "comments._id"=>BSON::ObjectId('549054c37735333050140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms Redirected to http://test.host/admin/products/549054c37735333050130000/comments/549054c37735333050140000 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('549054c37735333050150000'), "name"=>"Floyd Mills", "reference"=>"Lilla Ernser", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054c37735333050160000'), "firstname"=>"Hiram", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054c37735333050150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050150000')} 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('549054c37735333050150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054c37735333050170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms Redirected to http://test.host/admin/products/549054c37735333050150000/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('549054c37735333050180000'), "name"=>"Kevon Franecki", "reference"=>"Gaylord Leffler", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549054c37735333050190000'), "firstname"=>"Nichole", "lastname"=>"Moore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549054c37735333050190000", "product_id"=>"549054c37735333050180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330501a0000'), "name"=>"Ms. Dovie Swaniawski", "reference"=>"Laurel Rosenbaum", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054c377353330501b0000'), "firstname"=>"Kimberly", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549054c377353330501a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330501a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.0ms) Completed 200 OK in 37ms (Views: 35.0ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330501c0000'), "name"=>"Maribel Auer", "reference"=>"Pattie Stoltenberg", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549054c377353330501d0000'), "firstname"=>"Jabari", "lastname"=>"Rempel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7480ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549054c377353330501d0000", "product_id"=>"549054c377353330501c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330501c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c377353330501e0000'), "name"=>"Granville Maggio", "reference"=>"Kaya Johnson", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549054c377353330501f0000'), "firstname"=>"Odell", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5509ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549054c377353330501f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054c377353330501e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c377353330501e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549054c377353330501e0000/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('549054c37735333050200000'), "name"=>"Osborne Paucek PhD", "reference"=>"Cesar Fritsch", "quantity"=>7}] 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.2473ms 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('549054c37735333050210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms Redirected to http://test.host/admin/products/549054c37735333050210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2359ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050220000'), "name"=>"Tanya Yundt", "reference"=>"Meta Heidenreich", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1441ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549054c37735333050220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050220000')} 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('549054c37735333050220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms 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.2195ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050230000'), "name"=>"Trent Reichert", "reference"=>"Nyasia McDermott", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549054c37735333050230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.4ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050240000'), "name"=>"Aiyana Stiedemann", "reference"=>"Ms. Brielle Cartwright", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4957ms 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.5843ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050250000'), "name"=>"Thaddeus Jacobson", "reference"=>"Randy Cassin", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 20ms (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('549054c37735333050280000'), "name"=>"Lionel Yost", "reference"=>"Miss Jimmy Koch", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6157ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549054c37735333050280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4234ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050290000'), "name"=>"Dortha Bartoletti Jr.", "reference"=>"Cordie Rodriguez", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054c37735333050290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms Redirected to http://test.host/admin/products/549054c37735333050290000 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('549054c377353330502a0000'), "firstname"=>"Haley", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0408ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3133ms 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('549054c377353330502b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms Redirected to http://test.host/admin/users/549054c377353330502b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2601ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c377353330502c0000'), "firstname"=>"Gabriel", "lastname"=>"O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2325ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549054c377353330502c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c377353330502c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c377353330502c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms 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.2508ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c377353330502d0000'), "firstname"=>"Dorothy", "lastname"=>"Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549054c377353330502d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c377353330502d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('549054c377353330502e0000'), "firstname"=>"Myriam", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms 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 38ms (Views: 37.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c377353330502f0000'), "firstname"=>"Kiarra", "lastname"=>"Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('549054c37735333050300000'), "firstname"=>"Syble", "lastname"=>"Bernier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549054c37735333050300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c37735333050300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4191ms 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('549054c37735333050310000'), "firstname"=>"Evelyn", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054c37735333050310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c37735333050310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549054c37735333050310000 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('549054c37735333050320000'), "firstname"=>"Alexandrine", "lastname"=>"Bosco"}] 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.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('549054c37735333050330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms 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.1978ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050340000'), "firstname"=>"Lenny", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549054c37735333050340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050350000'), "firstname"=>"Myles", "lastname"=>"Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3575ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050360000'), "firstname"=>"Magdalen", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549054c37735333050360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549054c37735333050370000'), "firstname"=>"Vita", "lastname"=>"Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549054c37735333050370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549054c37735333050370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050380000'), "name"=>"Dr. Jabari Nolan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050390000'), "name"=>"June Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503a0000'), "name"=>"Cedrick Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503b0000'), "name"=>"Colleen Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503c0000'), "name"=>"Devante Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503d0000'), "name"=>"Reymundo Ryan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503e0000'), "name"=>"Darrell Fritsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330503f0000'), "name"=>"Corbin Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330503f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050400000'), "name"=>"Mariah Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050410000'), "name"=>"Ms. Jeanette Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050420000'), "name"=>"Amie Shanahan III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050430000'), "name"=>"Katharina Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050440000'), "name"=>"Laurine Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050450000'), "name"=>"Russ Hartmann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050460000'), "name"=>"Danyka Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050470000'), "name"=>"Mrs. Brisa White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050480000'), "name"=>"Emie Metz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050490000'), "name"=>"Jena Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504a0000'), "name"=>"Jarod Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504b0000'), "name"=>"Shayna Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504c0000'), "name"=>"Christy Kuphal MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504d0000'), "name"=>"Avis Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504e0000'), "name"=>"Janet DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330504f0000'), "name"=>"Charles Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330504f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050500000'), "name"=>"Tyler Quigley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050510000'), "name"=>"Wayne Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050520000'), "name"=>"Cyril Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050530000'), "name"=>"Kyleigh Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050540000'), "name"=>"Damon Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050550000'), "name"=>"Donavon Jaskolski Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050560000'), "name"=>"Mrs. Kristopher Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050570000'), "name"=>"Toy Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050580000'), "name"=>"Jimmy Breitenberg DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1109ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050590000'), "name"=>"Mrs. Rosina Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505a0000'), "name"=>"Winston Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505b0000'), "name"=>"Maxwell Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505c0000'), "name"=>"Ms. Violette Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505d0000'), "name"=>"Furman Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505e0000'), "name"=>"Devante Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330505f0000'), "name"=>"Ms. Gay Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330505f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1118ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050600000'), "name"=>"Benny Schmitt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050610000'), "name"=>"Kira Considine IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050620000'), "name"=>"Meggie Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050630000'), "name"=>"Marietta Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050640000'), "name"=>"Margaret Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050650000'), "name"=>"Olga Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1089ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050660000'), "name"=>"Everardo Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050670000'), "name"=>"Mrs. Benjamin Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050680000'), "name"=>"Desiree Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050690000'), "name"=>"Laurianne Stark III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506a0000'), "name"=>"Ali Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506b0000'), "name"=>"Ressie Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506c0000'), "name"=>"Allen Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506d0000'), "name"=>"Rosalia Skiles V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506e0000'), "name"=>"Isobel Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330506f0000'), "name"=>"Dr. Mayra Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330506f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050700000'), "name"=>"Deborah Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050710000'), "name"=>"Frederick Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050720000'), "name"=>"Serenity Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7204ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050730000'), "name"=>"Maximilian Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050740000'), "name"=>"Rickie Hegmann V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050750000'), "name"=>"Jarvis Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050760000'), "name"=>"Darrin Powlowski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050770000'), "name"=>"Michel Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050780000'), "name"=>"Miss Jesus Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050790000'), "name"=>"Elna Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507a0000'), "name"=>"Miss Kristopher Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507b0000'), "name"=>"Miss Samanta Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507c0000'), "name"=>"Dr. Marie Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507d0000'), "name"=>"Nathanial Walker Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507e0000'), "name"=>"Cora Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330507f0000'), "name"=>"Dr. Freeda Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330507f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050800000'), "name"=>"Joanne Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050810000'), "name"=>"Justina Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050820000'), "name"=>"Arno Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050830000'), "name"=>"Jana Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050840000'), "name"=>"Franco Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050850000'), "name"=>"Abdul Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050860000'), "name"=>"Dixie Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050870000'), "name"=>"Mrs. Thomas Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050880000'), "name"=>"Kellen Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050890000'), "name"=>"Blake Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508a0000'), "name"=>"Francis Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508b0000'), "name"=>"Brennan Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508c0000'), "name"=>"Arianna Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508d0000'), "name"=>"Mrs. Garry Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508e0000'), "name"=>"Sigrid Ebert Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330508f0000'), "name"=>"Madalyn Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330508f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1721ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050900000'), "name"=>"Forrest Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050910000'), "name"=>"Luis Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050920000'), "name"=>"Laurianne Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050930000'), "name"=>"Eldora Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050940000'), "name"=>"Imelda Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050950000'), "name"=>"Dr. Mina Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050960000'), "name"=>"Isaac Adams Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050970000'), "name"=>"Ms. Hobart Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1885ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms Redirected to http://test.host/categories/549054c37735333050980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2198ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050990000'), "name"=>"Kasandra Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2699ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549054c37735333050990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c37735333050990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4713ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c37735333050990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5651ms Redirected to http://test.host/categories Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.4015ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330509a0000'), "name"=>"Nakia Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549054c377353330509a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c377353330509a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (9.1ms) Completed 200 OK in 18ms (Views: 15.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330509b0000'), "name"=>"Cloyd Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305850771682] runtime: 0.1369ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2919ms Completed 200 OK in 23ms (Views: 22.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330509c0000'), "name"=>"Clarabelle Stracke"}] 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={"category_id"=>BSON::ObjectId('549054c377353330509c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305262648834] runtime: 0.1153ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3052ms Completed 200 OK in 41ms (Views: 40.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330509d0000'), "name"=>"Ellen Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3768ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.4ms) Completed 200 OK in 9ms (Views: 7.9ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c377353330509f0000'), "name"=>"Amira Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549054c377353330509f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c377353330509f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c377353330509f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549054c37735333050a00000'), "name"=>"Corrine Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549054c37735333050a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c37735333050a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549054c37735333050a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5064ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549054c37735333050a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms Redirected to http://test.host/categories/549054c37735333050a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050a10000'), "name"=>"Lula Moore", "reference"=>"Lavonne Moen", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050a20000'), "author_name"=>"Rafaela Waelchi", "content"=>["Fuga voluptatem eum dolor. Tempore corrupti ipsam sint magni. Consequatur tenetur deleniti voluptatum id voluptas ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4842ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054c37735333050a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549054c37735333050a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms Redirected to http://test.host/products/549054c37735333050a10000/comments/549054c37735333050a30000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050a40000'), "name"=>"Bernie Sawayn", "reference"=>"Kade Streich MD", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050a50000'), "author_name"=>"Miss Kennedy Vandervort", "content"=>["Culpa dolores ipsum expedita officia molestias dignissimos omnis. Soluta molestiae quod earum officiis rerum. Accusamus dignissimos sunt sequi eius et dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549054c37735333050a40000", "id"=>"549054c37735333050a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549054c37735333050a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8426ms Redirected to http://test.host/products/549054c37735333050a40000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050a60000'), "name"=>"Eunice Becker Sr.", "reference"=>"Ezra Paucek", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050a70000'), "author_name"=>"Monique Kilback MD", "content"=>["Debitis facilis expedita et. Architecto reiciendis commodi quam tempora sequi vel eum. Laborum alias laudantium asperiores qui nam. Unde vitae accusamus quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549054c37735333050a60000", "id"=>"549054c37735333050a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050a80000'), "name"=>"Emilie Bosco", "reference"=>"Shane White", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050a90000'), "author_name"=>"Alfred Vandervort", "content"=>["Officia similique sequi modi ratione neque ut. Quae magnam et nemo quaerat in. Qui possimus commodi consectetur labore rerum. A nam cupiditate. Voluptatibus enim vitae dolore recusandae architecto animi doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549054c37735333050a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c37735333050aa0000'), "name"=>"Alexandrea Beahan PhD", "reference"=>"Aryanna Sawayn", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054c37735333050ab0000'), "author_name"=>"Damon Rodriguez", "content"=>["Aut reiciendis aspernatur ducimus soluta quos accusamus facilis. Laboriosam quaerat iusto ipsum qui. Nam et doloremque similique ut dolores. Repellat debitis culpa et doloribus laudantium voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5052ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549054c37735333050aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050ac0000'), "name"=>"Dr. Gunnar Goyette", "reference"=>"Jedidiah Hills PhD", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050ad0000'), "author_name"=>"Brown Labadie", "content"=>["Ipsam voluptas voluptas dicta maiores. Quaerat sed maxime mollitia fugit. Ut rerum corporis dolor alias voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549054c47735333050ac0000", "id"=>"549054c47735333050ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050ae0000'), "name"=>"Sienna Bechtelar", "reference"=>"Miss Alexandrea Cronin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050af0000'), "author_name"=>"Cecile VonRueden", "content"=>["Blanditiis nam id laboriosam architecto et in. Dicta dignissimos dolor quasi. Pariatur quia laboriosam. Qui laudantium explicabo eos culpa quis. Cupiditate est omnis laboriosam a necessitatibus ut et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549054c47735333050ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050b00000'), "name"=>"Elsie Brown", "reference"=>"Leo Nicolas", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050b10000'), "author_name"=>"Kade Botsford", "content"=>["Aut est corporis voluptatum aut nisi nam. Ipsam sapiente dolorum aliquid voluptatem ut dolorem esse. Porro eos est est inventore ipsum in occaecati."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549054c47735333050b00000", "id"=>"549054c47735333050b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050b20000'), "name"=>"Richmond Abbott", "reference"=>"Quincy Bosco", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050b30000'), "author_name"=>"Wendy Pacocha PhD", "content"=>["Incidunt facilis error. Iste minus architecto corrupti qui cupiditate natus. Exercitationem nobis earum. Hic est ipsum commodi et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054c47735333050b30000", "product_id"=>"549054c47735333050b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050b20000'), "comments._id"=>BSON::ObjectId('549054c47735333050b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms Redirected to http://test.host/products/549054c47735333050b20000/comments/549054c47735333050b30000 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('549054c47735333050b40000'), "firstname"=>"Zoey", "lastname"=>"Lindgren"}] 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=>"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('549054c47735333050b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms Redirected to http://test.host/admin/clients/549054c47735333050b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2063ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054c47735333050b60000'), "firstname"=>"Madelyn", "lastname"=>"Harvey"}] 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.1919ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549054c47735333050b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050b60000')} 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('549054c47735333050b60000')} 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.1812ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054c47735333050b70000'), "firstname"=>"Ruthe", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054c47735333050b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('549054c47735333050b80000'), "firstname"=>"Amos", "lastname"=>"Pacocha"}] 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.3131ms 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('549054c47735333050b90000'), "firstname"=>"Ayana", "lastname"=>"Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('549054c47735333050ba0000'), "firstname"=>"Alexander", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054c47735333050ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms 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('549054c47735333050bb0000'), "firstname"=>"Eugene", "lastname"=>"Schmitt"}] 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"=>"549054c47735333050bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms Redirected to http://test.host/admin/clients/549054c47735333050bb0000 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('549054c47735333050bc0000'), "firstname"=>"Zachery", "lastname"=>"Hyatt"}] 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.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('549054c47735333050bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms Redirected to http://test.host/clients/549054c47735333050bd0000 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_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054c47735333050be0000'), "firstname"=>"Henderson", "lastname"=>"Jerde"}] 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.1866ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549054c47735333050be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms 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.1914ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549054c47735333050bf0000'), "firstname"=>"Haylee", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549054c47735333050bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('549054c47735333050c00000'), "firstname"=>"Gonzalo", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms 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('549054c47735333050c10000'), "firstname"=>"Keenan", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0098ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('549054c47735333050c20000'), "firstname"=>"Delaney", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549054c47735333050c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms 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('549054c47735333050c30000'), "firstname"=>"Jayde", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549054c47735333050c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549054c47735333050c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms Redirected to http://test.host/clients/549054c47735333050c30000 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('549054c47735333050c40000'), "name"=>"Abdullah Nolan", "reference"=>"Dr. Angeline Kunze", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549054c47735333050c50000'), "firstname"=>"Eladio", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549054c47735333050c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549054c47735333050c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms Redirected to http://test.host/products/549054c47735333050c40000/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('549054c47735333050c70000'), "name"=>"Norval Tillman", "reference"=>"Ansel Barrows", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('549054c47735333050c80000'), "firstname"=>"Lynn", "lastname"=>"Gibson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549054c47735333050c80000", "product_id"=>"549054c47735333050c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050c90000'), "name"=>"Trinity Mertz", "reference"=>"Tod Hammes", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549054c47735333050ca0000'), "firstname"=>"Santa", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549054c47735333050c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050cb0000'), "name"=>"Lenora Weber III", "reference"=>"Dr. Leonie Bartell", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054c47735333050cc0000'), "firstname"=>"Anita", "lastname"=>"Stroman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549054c47735333050cc0000", "product_id"=>"549054c47735333050cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050cd0000'), "name"=>"Raphaelle Langworth", "reference"=>"Oliver Kuvalis", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('549054c47735333050ce0000'), "firstname"=>"Maxime", "lastname"=>"Purdy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549054c47735333050ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549054c47735333050cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms Unpermitted parameters: name Redirected to http://test.host/products/549054c47735333050cd0000/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('549054c47735333050cf0000'), "name"=>"Waino O'Reilly", "reference"=>"Trycia Erdman", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d00000'), "name"=>"Abbie Bechtelar", "reference"=>"Edward Bode", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d10000'), "name"=>"Lawrence Weber", "reference"=>"Lucienne Jakubowski", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d20000'), "name"=>"Alysson Koch", "reference"=>"Miss Clifton Graham", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d30000'), "name"=>"Nelda Torp", "reference"=>"Cathryn Lebsack", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d40000'), "name"=>"Mr. Willy Wiza", "reference"=>"Kyleigh Nicolas", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms Redirected to http://test.host/products/549054c47735333050d50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2039ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d60000'), "name"=>"Sienna Satterfield", "reference"=>"Dudley Kuphal", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1753ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549054c47735333050d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050d60000')} 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('549054c47735333050d60000')} 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.1933ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d70000'), "name"=>"Theodore Ferry", "reference"=>"Fausto Kris", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549054c47735333050d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d80000'), "name"=>"Laney Dickinson III", "reference"=>"Miracle Gibson", "quantity"=>8}] 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=25 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317866349] runtime: 0.1050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2613ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050d90000'), "name"=>"Tiana Gaylord II", "reference"=>"Mrs. Kameron O'Connell", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050da0000'), "name"=>"HelloWorld", "reference"=>"Deron Lind", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050db0000'), "name"=>"value", "reference"=>"Rowan Ebert", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3619ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2878ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2647ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2427ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1667ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2265ms Completed 200 OK in 4ms (Views: 3.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2036ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050dc0000'), "name"=>"Maxine Will", "reference"=>"Emmet Morissette", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279869749911] runtime: 0.1280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3569ms Completed 200 OK in 45ms (Views: 44.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438368672] runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694201636] runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279586306885] runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281229911812] runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760361246] runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933290836] runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280576455519] runtime: 0.1337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279335312873] runtime: 0.1319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542239251] runtime: 0.1304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648209415] runtime: 0.1287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1342ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280310179758] runtime: 0.1305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280229149675] runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886014052] runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280506326860] runtime: 0.1200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280305513882] runtime: 0.1229ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279864783906] runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280567971377] runtime: 0.1117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066149286] runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280838407934] runtime: 0.1135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651248144] runtime: 0.1096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279988672980] runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307355933] runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280702124309] runtime: 0.1193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0110ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279391090387] runtime: 0.1028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280202534942] runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530157127] runtime: 0.1353ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4203ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281220395474] runtime: 0.1441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281232090990] runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280299366327] runtime: 0.0997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366175256] runtime: 0.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279779880603] runtime: 0.1008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384764711] runtime: 0.1011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279915705544] runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369231890] runtime: 0.0851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280762221321] runtime: 0.0841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280092387642] runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279965055967] runtime: 0.0941ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225577621] runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279298220828] runtime: 0.0900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326069680] runtime: 0.1081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873847227] runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280818019194] runtime: 0.0981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8552ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778032228] runtime: 0.0776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279279518716] runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449132715] runtime: 0.0735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260377828] runtime: 0.0734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280187984322] runtime: 0.1027ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279694653709] runtime: 0.0717ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280417615427] runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.0007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279326852595] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280235377245] runtime: 0.0773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279480599915] runtime: 0.0738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950352964] runtime: 0.0715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280434341984] runtime: 0.0669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976959281] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8086ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281290996090] runtime: 0.0639ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524143547] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279774001214] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280893959584] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590239265] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281117537455] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279382370148] runtime: 0.0627ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117638118] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279765680570] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279594632499] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433791220] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382559264] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280125854920] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209016063] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651177813] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280200280866] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035506521] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280260237306] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279434530561] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279888494651] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950985085] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280644398015] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280844224207] runtime: 0.0676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6754ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281138836703] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280211583806] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280128900975] runtime: 0.0641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280561638913] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280620601418] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279714752830] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280131951343] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280741068061] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280778423864] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658637673] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175848250] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279448272542] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279808508373] runtime: 0.0586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280915729249] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6806ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279295179138] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280357071163] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281241003413] runtime: 0.0584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476355919] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326729382] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280631905204] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253411186] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773284383] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7039ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854494731] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280144162816] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280689124667] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279842484418] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279353530584] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279554313520] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280476187425] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737924918] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7555ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433028483] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279250516622] runtime: 0.0679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280228609736] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281067073646] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281093347402] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103149121] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279781163926] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008726832] runtime: 0.0658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279716306079] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280216598386] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512800849] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680240266] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688621366] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6614ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062557684] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281086570471] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281279025845] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080140847] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497007113] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279639038483] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279925948197] runtime: 0.0594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 30.1918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279875950970] runtime: 0.1118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416871910] runtime: 0.0737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7359ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279599609651] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279748524268] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431515158] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951605829] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280462539860] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492290043] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281100006506] runtime: 0.0695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7055ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279320689372] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280486370189] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478028674] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281099227466] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279201930326] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6563ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279662688735] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6768ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281100017570] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281076697906] runtime: 0.0801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615235751] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280122180806] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280702332089] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279267975029] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280955906799] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297073173] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462086692] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280451149249] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279466239802] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279963863688] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279871282016] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279662912880] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449867355] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279507381513] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190291916] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136624589] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281071325563] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8595ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644922418] runtime: 0.0506ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050dd0000'), "name"=>"Cyril Homenick", "reference"=>"Marcelo Stiedemann DVM", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3060ms Completed 200 OK in 6ms (Views: 4.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050de0000'), "name"=>"Elinor Adams DVM", "reference"=>"Solon Klein", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279254717589] runtime: 0.0876ms Completed 200 OK in 6ms (Views: 1.8ms) ------------------------------------------------- ProductsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050df0000'), "name"=>"Elwyn Upton", "reference"=>"Mrs. Glenda Mueller", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549054c47735333050df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms 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('549054c47735333050e00000'), "name"=>"Mrs. Timothy Hilpert", "reference"=>"Vincenza Gleason", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6351ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 10ms (Views: 8.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e20000'), "name"=>"Jeremie Reichel", "reference"=>"Amalia Emmerich", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5647ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549054c47735333050e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e30000'), "name"=>"Victor Kemmer", "reference"=>"Rita Cartwright MD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c37735333050060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4797ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e40000'), "name"=>"Mable Beier", "reference"=>"Domenick Lebsack", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2746ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e50000'), "name"=>"Adrain Hand DDS", "reference"=>"Madonna Streich", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.8439ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2994ms Completed 200 OK in 5ms (Views: 3.4ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e60000'), "name"=>"Mina Goyette MD", "reference"=>"Heath Parker", "quantity"=>0}] 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=>"products", :query=>{}} runtime: 0.1921ms 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('549054c47735333050e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms Completed 201 Created in 30ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2389ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050e80000'), "name"=>"Ralph Kiehn", "reference"=>"Alexandra Braun", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549054c47735333050e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms 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('549054c47735333050e90000'), "name"=>"Mr. Jesus Beer", "reference"=>"Gerry Crona", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms 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('549054c47735333050eb0000'), "name"=>"Jadon Becker", "reference"=>"Pattie Hodkiewicz III", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054c47735333050eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050eb0000')} 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('549054c47735333050eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms 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('549054c47735333050ec0000'), "name"=>"Marques Gleichner", "reference"=>"Marlee Smith", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549054c47735333050ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms Redirected to http://test.host/products/549054c47735333050ec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050ef0000'), "name"=>"Roselyn Bartoletti", "reference"=>"Greta Waelchi", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050ed0000'), "author_name"=>"Nicolas Beahan IV", "content"=>["Alias sunt quod ad eveniet ducimus perspiciatis. In cum neque laboriosam. Perspiciatis dolor ex tempore quidem ratione modi cum. Et ut aliquid rem."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050ee0000'), "author_name"=>"Ethan Witting DVM", "content"=>["Laboriosam sint aut quia quam sapiente ducimus. Sit est quia. Et molestias ratione sapiente. Impedit id dolorem pariatur accusantium quasi aliquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549054c47735333050ef0000", "comment_id"=>"549054c47735333050ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ef0000')} 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('549054c47735333050ef0000'), "comments._id"=>BSON::ObjectId('549054c47735333050ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054c47735333050f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Redirected to http://test.host/products/549054c47735333050ef0000/comments/549054c47735333050ed0000/comments/549054c47735333050f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050f30000'), "name"=>"Beatrice Jaskolski II", "reference"=>"Marco Casper V", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f10000'), "author_name"=>"Mrs. Maxwell Kertzmann", "content"=>["Quod sapiente consectetur qui labore. Eum dolorum iste. Excepturi quas cupiditate et accusamus. Sed aliquam impedit voluptas illo doloribus quasi vitae. Autem et deserunt dolores eveniet est vel voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f20000'), "author_name"=>"Demarco Fritsch", "content"=>["Dolore nobis et vero dolorem. Eum inventore dolores. Sequi delectus eum qui sint aliquam ducimus consequuntur. Tempore dolores voluptates perspiciatis. Et suscipit eos in et consequatur consequatur sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549054c47735333050f30000", "comment_id"=>"549054c47735333050f10000", "id"=>"549054c47735333050f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4064ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f30000'), "comments._id"=>BSON::ObjectId('549054c47735333050f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549054c47735333050f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms Redirected to http://test.host/products/549054c47735333050f30000/comments/549054c47735333050f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050f60000'), "name"=>"Nat Metz Jr.", "reference"=>"Esperanza Dibbert", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f40000'), "author_name"=>"Gerda Ebert", "content"=>["Aut facilis non assumenda delectus neque consequatur. Consequatur incidunt explicabo et autem. Molestiae explicabo et."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f50000'), "author_name"=>"Marietta Buckridge", "content"=>["Sequi amet qui maxime cumque. Esse quo et voluptatem velit culpa nulla. Molestiae porro nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549054c47735333050f60000", "comment_id"=>"549054c47735333050f40000", "id"=>"549054c47735333050f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050f90000'), "name"=>"Jadon Bartell", "reference"=>"Craig Mertz", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f70000'), "author_name"=>"Gregory Schaden", "content"=>["Beatae temporibus sed alias et rerum. Quas ut quis est laboriosam nobis consequuntur. Voluptatum impedit consectetur optio ut id ex."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050f80000'), "author_name"=>"Devon Moore", "content"=>["Neque quia praesentium. Et eaque repellat quo molestias incidunt. Quaerat debitis at nulla consequuntur similique. Blanditiis saepe et odio veniam. Numquam qui et doloremque vel debitis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549054c47735333050f90000", "comment_id"=>"549054c47735333050f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3511ms Completed 200 OK in 9ms (Views: 6.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050fc0000'), "name"=>"Fermin Ledner", "reference"=>"Lindsay Stroman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050fa0000'), "author_name"=>"Richie Jacobi", "content"=>["Suscipit eaque qui odio laborum. Eligendi eveniet accusantium assumenda nobis molestias. Dolor atque rerum sunt sequi reiciendis accusamus totam. Dicta nemo eius ex pariatur optio et temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050fb0000'), "author_name"=>"Eulah Jakubowski", "content"=>["Natus dolores laborum facilis consequatur. Non sapiente autem provident. Eos est quos recusandae. Nihil eligendi cumque ut culpa voluptate. Impedit et eos rerum sint."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549054c47735333050fc0000", "comment_id"=>"549054c47735333050fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050ff0000'), "name"=>"Luciano Kub", "reference"=>"Queen Robel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050fd0000'), "author_name"=>"Annetta Bechtelar", "content"=>["Omnis qui sint molestias. Earum corporis pariatur laudantium aliquam et omnis sed. Aspernatur est nostrum. Numquam est quidem. Doloribus facilis consequatur molestiae quasi illum temporibus."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050fe0000'), "author_name"=>"Walter Gorczany", "content"=>["Eligendi amet consequatur voluptatum sed reprehenderit officia aut. Autem est magni veniam. Magni eos consequuntur eos nam deserunt at enim. Sint et voluptate cum rerum rerum. Et aut laudantium rerum dolore asperiores cumque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549054c47735333050ff0000", "comment_id"=>"549054c47735333050fd0000", "id"=>"549054c47735333050fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050020100'), "name"=>"Brown Kunze", "reference"=>"Madaline Smitham", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050000100'), "author_name"=>"Miss Gwendolyn Lakin", "content"=>["Corrupti corporis distinctio. Architecto ratione enim autem necessitatibus maxime. Culpa ut voluptatem eligendi est. Ipsa ipsum iste dolore dolor. Aliquam culpa laboriosam."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050010100'), "author_name"=>"Arden Streich", "content"=>["Voluptatibus temporibus voluptate suscipit cupiditate non inventore. Dignissimos aut quis amet nemo. Quia architecto voluptate eveniet saepe sequi nihil sit. Iusto dolorem similique."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549054c47735333050020100", "comment_id"=>"549054c47735333050000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c47735333050050100'), "name"=>"Summer Balistreri", "reference"=>"Kitty Swaniawski", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050030100'), "author_name"=>"Alphonso Lesch", "content"=>["Eum ea nobis ut. Numquam facere minus aut illo laboriosam assumenda. Quos est aut sit vel a non."], "comments"=>[{"_id"=>BSON::ObjectId('549054c47735333050040100'), "author_name"=>"Reed Fisher", "content"=>["Laboriosam nesciunt qui ut. Quidem nam qui pariatur et in. Corporis nostrum pariatur. Quod modi fugiat ut ducimus est tenetur nulla. Omnis nam non omnis omnis nesciunt perspiciatis qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4970ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549054c47735333050050100", "comment_id"=>"549054c47735333050030100", "id"=>"549054c47735333050040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c47735333050050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms Completed 200 OK in 5ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549054c57735333050080100'), "name"=>"Burnice Schaden", "reference"=>"Dr. Layla Deckow", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549054c57735333050060100'), "author_name"=>"Ryann Orn DDS", "content"=>["Magnam voluptas tempora libero provident. Autem earum sapiente nam quisquam voluptatem. Veritatis eos minima rem non est sit. Tenetur et numquam et facilis ex consequatur mollitia. Et odit modi est recusandae doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('549054c57735333050070100'), "author_name"=>"Maynard Hegmann", "content"=>["Facere ut maxime quis aut. Sapiente vel aliquid nostrum sint perferendis autem. Ab at quas iste ut reiciendis itaque sequi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549054c57735333050070100", "product_id"=>"549054c57735333050080100", "comment_id"=>"549054c57735333050060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c57735333050080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549054c57735333050080100'), "comments._id"=>BSON::ObjectId('549054c57735333050060100'), "comments.0.comments._id"=>BSON::ObjectId('549054c57735333050070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms Redirected to http://test.host/products/549054c57735333050080100/comments/549054c57735333050060100/comments/549054c57735333050070100 Completed 302 Found in 34ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c57735333050090100'), "firstname"=>"Gonzalo", "lastname"=>"Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9046ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2867ms 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('549054c577353330500a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms Redirected to http://test.host/users/549054c577353330500a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2112ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c577353330500b0100'), "firstname"=>"Taryn", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2119ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549054c577353330500b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c577353330500b0100')} 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('549054c577353330500b0100')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1919ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549054c577353330500c0100'), "firstname"=>"Tabitha", "lastname"=>"Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549054c577353330500c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c577353330500c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Rendered /home/geoffroy/projects/crealettres/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('549054c577353330500d0100'), "firstname"=>"Charlie", "lastname"=>"Beer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms 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.4344ms Completed 200 OK in 10ms (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('549054c577353330500e0100'), "firstname"=>"Alexys", "lastname"=>"Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('549054c577353330500f0100'), "firstname"=>"Angelo", "lastname"=>"Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms Processing by UsersController#show as HTML Parameters: {"id"=>"549054c577353330500f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c577353330500f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms 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('549054c57735333050100100'), "firstname"=>"Gennaro", "lastname"=>"Franecki"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549054c57735333050100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549054c57735333050100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms Unpermitted parameters: name Redirected to http://test.host/users/549054c57735333050100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3745ms 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.3794ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms 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.3215ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925000000'), "firstname"=>"Cassandre", "lastname"=>"Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2339ms 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('54905c1c7735333925010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4901ms 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.2697ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925020000'), "firstname"=>"Mallie", "lastname"=>"Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905c1c7735333925020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c7735333925020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925030000'), "firstname"=>"Madilyn", "lastname"=>"Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms Processing by Admin::AdministratorsController#new as HTML Completed 500 Internal Server Error in 2ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925050000'), "firstname"=>"Stephon", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.5144ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905c1c7735333925050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c7735333925050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Completed 200 OK in 5ms (Views: 3.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925060000'), "firstname"=>"Herminio", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905c1c7735333925060000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c7735333925060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms 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('54905c1c7735333925070000'), "name"=>"Janessa Monahan", "reference"=>"Vergie Watsica", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c7735333925080000'), "author_name"=>"Minnie Thiel", "content"=>["A est sed maxime saepe non laboriosam suscipit. Ut ducimus placeat doloremque odit illum. Laudantium dolores consequatur ex cumque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c1c7735333925070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925070000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c1c7735333925090000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339250a0000'), "name"=>"Robbie Witting", "reference"=>"Abner Romaguera", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c77353339250b0000'), "author_name"=>"Dr. Paolo Altenwerth", "content"=>["Aliquam aperiam velit velit. Numquam consectetur repudiandae vero maxime sed id. Et atque ad assumenda quasi officiis rerum. Eos ut qui quisquam excepturi cupiditate ut. Ab nemo qui nesciunt ea."]}]}] 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('54905c1c77353339250a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c1c77353339250a0000", "id"=>"54905c1c77353339250b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339250a0000')} 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('54905c1c77353339250a0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c1c77353339250b0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms Redirected to http://test.host/admin/products/54905c1c77353339250a0000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339250a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2031ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339250c0000'), "name"=>"Sydnee Schultz", "reference"=>"Claudie Vandervort", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c77353339250d0000'), "author_name"=>"Kenton Abshire", "content"=>["Perspiciatis totam fuga amet magnam deserunt. Qui explicabo accusantium soluta qui magnam modi. Dolores corrupti tenetur laboriosam qui consequatur autem. Aut odio est consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905c1c77353339250c0000", "id"=>"54905c1c77353339250d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339250c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339250e0000'), "name"=>"Carley West", "reference"=>"Albina Christiansen", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c77353339250f0000'), "author_name"=>"Daniela Heathcote", "content"=>["Sit sed dolor dolores sit voluptatum ut. Qui molestiae repellat. Blanditiis officia velit. Consequuntur libero sed aut dolore iste dolorum autem. Quibusdam et accusantium provident molestiae laborum sunt dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905c1c77353339250e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339250e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms Completed 500 Internal Server Error in 3ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925100000'), "name"=>"Celia Cormier", "reference"=>"Hershel Langworth", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c7735333925110000'), "author_name"=>"Annamarie Howell", "content"=>["Eum amet eos qui laborum atque enim voluptatem. Distinctio at repellendus veniam architecto ratione sint cum. Inventore accusantium laudantium quaerat molestiae aliquam quis aut. Tempore quia qui. Animi commodi sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905c1c7735333925100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms Completed 500 Internal Server Error in 3ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925130000'), "name"=>"Ronaldo Doyle", "reference"=>"Richmond Mertz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c7735333925140000'), "author_name"=>"Dr. Icie Schinner", "content"=>["Iusto sed rerum. Qui nostrum voluptatem perferendis quod molestias. Ipsa dicta voluptatibus corrupti quisquam omnis deleniti."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905c1c7735333925130000", "id"=>"54905c1c7735333925140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925150000'), "name"=>"Lavern Pacocha", "reference"=>"Miss Darrion Hilll", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c1c7735333925160000'), "author_name"=>"Colby Bashirian", "content"=>["Neque nesciunt eligendi rem dolor et et. Tempore vel corporis ut laudantium veritatis impedit error. A ea dolores mollitia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c1c7735333925160000", "product_id"=>"54905c1c7735333925150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925150000'), "comments._id"=>BSON::ObjectId('54905c1c7735333925160000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms Redirected to http://test.host/admin/products/54905c1c7735333925150000/comments/54905c1c7735333925160000 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('54905c1c7735333925170000'), "name"=>"Kira Bruen", "reference"=>"Leda Wiza", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905c1c7735333925180000'), "firstname"=>"Rico", "lastname"=>"Robel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c1c7735333925170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925170000')} 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('54905c1c7735333925170000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925170000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c1c7735333925190000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms Completed 500 Internal Server Error in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339251a0000'), "name"=>"Nathanael Muller III", "reference"=>"Jordyn Kuhic", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c1c77353339251b0000'), "firstname"=>"Devyn", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905c1c77353339251b0000", "product_id"=>"54905c1c77353339251a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339251a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339251c0000'), "name"=>"Charles Cruickshank", "reference"=>"Mrs. Brock Carter", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54905c1c77353339251d0000'), "firstname"=>"Billy", "lastname"=>"Rice"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905c1c77353339251c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339251c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms 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('54905c1c77353339251f0000'), "name"=>"Kamille Volkman", "reference"=>"Ms. Paul Schmitt", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c1c7735333925200000'), "firstname"=>"Rashawn", "lastname"=>"Tremblay"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905c1c7735333925200000", "product_id"=>"54905c1c77353339251f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339251f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925210000'), "name"=>"Mateo McKenzie", "reference"=>"Ferne Satterfield", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905c1c7735333925220000'), "firstname"=>"Angelica", "lastname"=>"Leuschke"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905c1c7735333925220000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c1c7735333925210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905c1c7735333925210000/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('54905c1c7735333925230000'), "name"=>"Pinkie Nader", "reference"=>"Dr. Art Greenholt", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1639ms 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('54905c1c7735333925240000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms Redirected to http://test.host/admin/products/54905c1c7735333925240000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2116ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925250000'), "name"=>"Cicero Daugherty", "reference"=>"Mona Steuber", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905c1c7735333925250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925250000')} 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('54905c1c7735333925250000')} 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 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2039ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925260000'), "name"=>"Zane Dare", "reference"=>"Jacques Hane MD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905c1c7735333925260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925270000'), "name"=>"Marshall Price", "reference"=>"Adolphus King Sr.", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms 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.5533ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925280000'), "name"=>"Holly Torphy", "reference"=>"Rory Koepp", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms Processing by Admin::ProductsController#new as HTML Completed 500 Internal Server Error in 15ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1c77353339252b0000'), "name"=>"Alejandrin Windler Sr.", "reference"=>"Scarlett Larkin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905c1c77353339252b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339252b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms 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('54905c1c77353339252c0000'), "name"=>"Santino Shields", "reference"=>"Michele Hammes", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c1c77353339252c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339252c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c77353339252c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms Redirected to http://test.host/admin/products/54905c1c77353339252c0000 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('54905c1c77353339252d0000'), "firstname"=>"Angelica", "lastname"=>"Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5576ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2189ms 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('54905c1c77353339252e0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7592ms Redirected to http://test.host/admin/users/54905c1c77353339252e0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4498ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1c77353339252f0000'), "firstname"=>"Ian", "lastname"=>"Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6917ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4402ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905c1c77353339252f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1c77353339252f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1c77353339252f0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6388ms 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.4370ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925300000'), "firstname"=>"Kellen", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905c1c7735333925300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1c7735333925300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4659ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.9ms) Completed 200 OK in 14ms (Views: 11.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925310000'), "firstname"=>"Kaleigh", "lastname"=>"Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6414ms 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.6469ms Completed 200 OK in 10ms (Views: 9.3ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925320000'), "firstname"=>"Ray", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5891ms Processing by Admin::UsersController#new as HTML Completed 500 Internal Server Error in 5ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_show ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925340000'), "firstname"=>"Reilly", "lastname"=>"Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6311ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905c1c7735333925340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1c7735333925340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms 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('54905c1c7735333925350000'), "firstname"=>"Chester", "lastname"=>"Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c1c7735333925350000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1c7735333925350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905c1c7735333925350000 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('54905c1c7735333925360000'), "firstname"=>"Kole", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4748ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1818ms 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('54905c1c7735333925370000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms 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.1967ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925380000'), "firstname"=>"Keenan", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905c1c7735333925380000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c7735333925380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 6.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925390000'), "firstname"=>"Herminia", "lastname"=>"Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms Processing by AdministratorsController#new as HTML Completed 500 Internal Server Error in 2ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c77353339253b0000'), "firstname"=>"Haskell", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905c1c77353339253b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c77353339253b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Completed 200 OK in 4ms (Views: 2.9ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c1c77353339253c0000'), "firstname"=>"Maximo", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905c1c77353339253c0000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c1c77353339253c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339253d0000'), "name"=>"Cyril Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339253d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.3179ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339253e0000'), "name"=>"Liliana Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339253e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339253f0000'), "name"=>"Delmer Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339253f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925400000'), "name"=>"Amir Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4135ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925410000'), "name"=>"Cortez Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925420000'), "name"=>"Jaylin Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2215ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925430000'), "name"=>"Ryleigh Wilderman I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925440000'), "name"=>"Kendrick Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925450000'), "name"=>"Winifred Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925460000'), "name"=>"Estella Kihn DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925470000'), "name"=>"Kaylee Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925480000'), "name"=>"Mr. Jacinto Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925490000'), "name"=>"Miss Anne Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254a0000'), "name"=>"Chauncey Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254b0000'), "name"=>"Ms. Eveline Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254c0000'), "name"=>"Polly Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254d0000'), "name"=>"Melvin Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254e0000'), "name"=>"Jeffry Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339254f0000'), "name"=>"Nellie Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339254f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925500000'), "name"=>"Ms. Mariah Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925510000'), "name"=>"Paolo Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925520000'), "name"=>"Name Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925530000'), "name"=>"Heloise Kunze DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925540000'), "name"=>"Danial Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925550000'), "name"=>"Mrs. Jillian Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925560000'), "name"=>"Mac Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925570000'), "name"=>"Olaf Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925580000'), "name"=>"Garrick Dare I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925590000'), "name"=>"Cali Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255a0000'), "name"=>"Norbert Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255b0000'), "name"=>"Austin Wolff Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255c0000'), "name"=>"Agustina Friesen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255d0000'), "name"=>"Davin Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255e0000'), "name"=>"Kayli Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339255f0000'), "name"=>"Mr. Adriel Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339255f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925600000'), "name"=>"Hudson McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925610000'), "name"=>"Eldon Ondricka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925620000'), "name"=>"Deshaun Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925630000'), "name"=>"Jakayla Stokes Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925640000'), "name"=>"Monique Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925650000'), "name"=>"Zoila Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925660000'), "name"=>"Jackson Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925670000'), "name"=>"Dr. Richmond Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925680000'), "name"=>"Daphnee Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925690000'), "name"=>"Boyd Waelchi Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256a0000'), "name"=>"Mazie Feeney III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256b0000'), "name"=>"Paula Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256c0000'), "name"=>"Ladarius Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256d0000'), "name"=>"Brenna Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256e0000'), "name"=>"Liliana Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339256f0000'), "name"=>"Ralph Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339256f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925700000'), "name"=>"Leatha Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925710000'), "name"=>"Katlyn Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925720000'), "name"=>"Sadie Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925730000'), "name"=>"Dorothy Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925740000'), "name"=>"Vita Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925750000'), "name"=>"Sarai Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925760000'), "name"=>"Carmelo Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925770000'), "name"=>"Merl Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925780000'), "name"=>"Myah Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925790000'), "name"=>"Miss Michale Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257a0000'), "name"=>"Roberta Jacobson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257b0000'), "name"=>"Travis McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257c0000'), "name"=>"Leilani Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257d0000'), "name"=>"Miss Emil Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257e0000'), "name"=>"Felipe Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339257f0000'), "name"=>"Dr. Vicente VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339257f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925800000'), "name"=>"Dora Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925810000'), "name"=>"Mr. Conner Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925820000'), "name"=>"Una Gutmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925830000'), "name"=>"Royal Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925840000'), "name"=>"Jerrell Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925850000'), "name"=>"Hattie Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925860000'), "name"=>"Mrs. Selena Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925870000'), "name"=>"Mrs. Kathryn Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925880000'), "name"=>"Ms. Mohamed Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925890000'), "name"=>"Sedrick Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258a0000'), "name"=>"Lauriane Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258b0000'), "name"=>"Ms. Althea Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258c0000'), "name"=>"Cletus Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258d0000'), "name"=>"Kennedi Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258e0000'), "name"=>"Marina Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339258f0000'), "name"=>"Shaun Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339258f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925900000'), "name"=>"Darlene Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925910000'), "name"=>"Ariel O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925920000'), "name"=>"Derek Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925930000'), "name"=>"Francisca Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925940000'), "name"=>"Nyasia Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925950000'), "name"=>"Tyreek Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925960000'), "name"=>"Adaline Swift"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925970000'), "name"=>"Kasey Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925980000'), "name"=>"Ezra Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925990000'), "name"=>"Aaron Heathcote III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259a0000'), "name"=>"Jena Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259b0000'), "name"=>"Earline Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259c0000'), "name"=>"Miss Jaclyn Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2173ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259d0000'), "name"=>"Hello"}] 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={"category_id"=>BSON::ObjectId('54905c1c77353339259d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms Redirected to http://test.host/categories/54905c1c77353339259d0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2710ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259e0000'), "name"=>"Theo Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2399ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905c1c77353339259e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1c77353339259e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1c77353339259e0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2113ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c77353339259f0000'), "name"=>"Floyd Nienow MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905c1c77353339259f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1c77353339259f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c77353339259f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4488ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.4ms) Completed 200 OK in 11ms (Views: 10.0ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1c7735333925a00000'), "name"=>"Sonny Bergstrom Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1c7735333925a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306084582186] runtime: 0.1496ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2911ms Completed 200 OK in 54ms (Views: 53.2ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a10000'), "name"=>"Cortez Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305752645114] runtime: 0.0794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2207ms Completed 200 OK in 9ms (Views: 8.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a20000'), "name"=>"Sally McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms Processing by CategoriesController#new as HTML Completed 500 Internal Server Error in 2ms ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a40000'), "name"=>"Turner Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905c1d7735333925a40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1d7735333925a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a50000'), "name"=>"Joelle Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905c1d7735333925a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1d7735333925a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c1d7735333925a50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c1d7735333925a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1608ms Redirected to http://test.host/categories/54905c1d7735333925a50000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a60000'), "name"=>"Milo Conn", "reference"=>"Mr. Dedrick Homenick", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925a70000'), "author_name"=>"Patsy Treutel DVM", "content"=>["Vitae nihil et. Et natus non. Quaerat omnis voluptatem et veritatis id quo et. Et quam in quia excepturi. Ullam a recusandae quidem fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925a80000'), "name"=>"Albertha Rice", "reference"=>"Dr. Jayne Kuhlman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925a90000'), "author_name"=>"Favian Cormier", "content"=>["Consequuntur aut aut autem. Error et eveniet voluptatem. Beatae aliquam sequi. Quasi id laudantium nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1941ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c1d7735333925a80000", "id"=>"54905c1d7735333925a90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925a80000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c1d7735333925a90000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Redirected to http://test.host/products/54905c1d7735333925a80000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925aa0000'), "name"=>"Danielle Brekke", "reference"=>"Warren McClure", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925ab0000'), "author_name"=>"Frieda Heaney", "content"=>["Modi et est quo qui consequuntur deserunt. Voluptatem et reprehenderit molestiae id soluta sunt. Laboriosam ex architecto praesentium voluptas reiciendis ut corrupti. Voluptatem est quas fuga corrupti optio nulla atque. Velit beatae ut occaecati saepe ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905c1d7735333925aa0000", "id"=>"54905c1d7735333925ab0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ac0000'), "name"=>"Ramona Dietrich", "reference"=>"Arlie Rau", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925ad0000'), "author_name"=>"Fay Jacobs", "content"=>["Sed blanditiis eum quia voluptatem. Vitae voluptatem aut perferendis assumenda sunt at voluptatem. Cum quas ut nemo. Ut aut voluptas facere quam unde sunt. Dolores non impedit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905c1d7735333925ac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Completed 500 Internal Server Error in 34ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ae0000'), "name"=>"Dr. Freddy Walter", "reference"=>"Ms. Isobel Berge", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925af0000'), "author_name"=>"Martina McCullough", "content"=>["Delectus nulla necessitatibus est odio facere aperiam. In nemo unde deleniti impedit quae. Rerum aut ut quia. Voluptates officiis est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905c1d7735333925ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms Completed 500 Internal Server Error in 6ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925b00000'), "name"=>"Felicita Hane", "reference"=>"Miss Wilburn Johnson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925b10000'), "author_name"=>"Elmo Hickle", "content"=>["Nesciunt tenetur maiores dignissimos. Voluptatem esse adipisci inventore nam ea quis expedita. Aut quaerat ut non quibusdam amet dolorem repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5833ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905c1d7735333925b00000", "id"=>"54905c1d7735333925b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925b20000'), "name"=>"Madeline Senger", "reference"=>"Ansley Cartwright", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925b30000'), "author_name"=>"Tristian Mitchell DVM", "content"=>["Harum magnam ex. Suscipit ea aut soluta eos labore consequatur in. Quisquam totam quo ducimus enim rerum repudiandae enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905c1d7735333925b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms Completed 500 Internal Server Error in 3ms -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925b50000'), "name"=>"Leone Parker II", "reference"=>"Jovanny McKenzie", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925b60000'), "author_name"=>"Talon Brown", "content"=>["Debitis amet suscipit culpa modi sunt porro veritatis. Omnis pariatur ab eos soluta velit repellat. Et dolor consequatur eos consequatur. Dolores aut exercitationem cupiditate eaque dolorem quam. Fugiat dolores quaerat delectus dolor."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5090ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905c1d7735333925b50000", "id"=>"54905c1d7735333925b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925b70000'), "name"=>"Gwen Reinger II", "reference"=>"Allen O'Conner", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925b80000'), "author_name"=>"Alexandro Lang", "content"=>["Quia incidunt laboriosam minima. Dolor a ut. Est soluta a eum. Occaecati modi suscipit ea tempore et cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c1d7735333925b80000", "product_id"=>"54905c1d7735333925b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925b70000')} 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('54905c1d7735333925b70000'), "comments._id"=>BSON::ObjectId('54905c1d7735333925b80000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6727ms Redirected to http://test.host/products/54905c1d7735333925b70000/comments/54905c1d7735333925b80000 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('54905c1d7735333925b90000'), "firstname"=>"Cindy", "lastname"=>"Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1971ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ba0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms Redirected to http://test.host/admin/clients/54905c1d7735333925ba0000 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('54905c1d7735333925bb0000'), "firstname"=>"Maudie", "lastname"=>"Greenfelder"}] 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=>"clients", :query=>{}} runtime: 0.1895ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c1d7735333925bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925bb0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms 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.2355ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925bc0000'), "firstname"=>"Chaz", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c1d7735333925bc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925bc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 38ms (Views: 37.0ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925bd0000'), "firstname"=>"Kira", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4544ms 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('54905c1d7735333925be0000'), "firstname"=>"Peyton", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms Processing by Iord::GenericController#new as HTML Completed 500 Internal Server Error in 2ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_show ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c00000'), "firstname"=>"Rachelle", "lastname"=>"Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c1d7735333925c00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925c00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c10000'), "firstname"=>"Domenic", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905c1d7735333925c10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925c10000')} 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('54905c1d7735333925c10000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms Redirected to http://test.host/admin/clients/54905c1d7735333925c10000 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('54905c1d7735333925c20000'), "firstname"=>"Macey", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1576ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c30000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms Redirected to http://test.host/clients/54905c1d7735333925c30000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1609ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c40000'), "firstname"=>"Elliott", "lastname"=>"Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1359ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c1d7735333925c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925c40000')} 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('54905c1d7735333925c40000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3840ms 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.1866ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c50000'), "firstname"=>"German", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c1d7735333925c50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925c50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) 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('54905c1d7735333925c60000'), "firstname"=>"Zachary", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms Processing by Iord::GenericController#index as HTML MOPED: 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: 7.8ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c70000'), "firstname"=>"Else", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms Processing by Iord::GenericController#new as HTML Completed 500 Internal Server Error in 33ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925c90000'), "firstname"=>"Axel", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c1d7735333925c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms 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('54905c1d7735333925ca0000'), "firstname"=>"Hope", "lastname"=>"Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905c1d7735333925ca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c1d7735333925ca0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms Redirected to http://test.host/clients/54905c1d7735333925ca0000 Completed 302 Found in 2ms -------------------- IordTest: test_truth -------------------- ------------------------------------------ ManagersControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925cb0000'), "name"=>"Miss Velda Mertz", "reference"=>"Kelsi Rutherford", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925cc0000'), "firstname"=>"Esther", "lastname"=>"Padberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c1d7735333925cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925cb0000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925cb0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925cd0000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms Completed 500 Internal Server Error in 5ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ce0000'), "name"=>"Eldridge Kohler", "reference"=>"Rebeka Lang DDS", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925cf0000'), "firstname"=>"Ernest", "lastname"=>"Hermiston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905c1d7735333925cf0000", "product_id"=>"54905c1d7735333925ce0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925ce0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 37ms (Views: 35.1ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d00000'), "name"=>"Anibal Hettinger", "reference"=>"Earnest Gusikowski", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925d10000'), "firstname"=>"Mercedes", "lastname"=>"Morissette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905c1d7735333925d00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925d00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms Completed 500 Internal Server Error in 3ms -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d30000'), "name"=>"Deangelo Zemlak", "reference"=>"Sydnie Glover", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925d40000'), "firstname"=>"Jesse", "lastname"=>"Balistreri"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905c1d7735333925d40000", "product_id"=>"54905c1d7735333925d30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925d30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d50000'), "name"=>"Zachariah Hegmann Jr.", "reference"=>"Mr. Kaela Wiza", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905c1d7735333925d60000'), "firstname"=>"Efrain", "lastname"=>"O'Conner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905c1d7735333925d60000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c1d7735333925d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms Unpermitted parameters: name Redirected to http://test.host/products/54905c1d7735333925d50000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d70000'), "name"=>"Ernestine Ratke", "reference"=>"Louvenia Collins MD", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d80000'), "name"=>"Jesus Legros", "reference"=>"Dr. Kara Rutherford", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925d90000'), "name"=>"Wilson Gulgowski", "reference"=>"Maddison McGlynn", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925da0000'), "name"=>"Price Rowe", "reference"=>"Angelica Koch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925db0000'), "name"=>"Isai Zemlak", "reference"=>"Sage Herman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925dc0000'), "name"=>"Keely Stanton II", "reference"=>"Brigitte Vandervort", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1810ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925dd0000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Redirected to http://test.host/products/54905c1d7735333925dd0000 Completed 302 Found in 2ms 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('54905c1d7735333925de0000'), "name"=>"Meta Lakin MD", "reference"=>"Burley Berge", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms 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"=>"54905c1d7735333925de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925de0000')} 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={"_id"=>BSON::ObjectId('54905c1d7735333925de0000')} 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.1854ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925df0000'), "name"=>"Dr. Teresa Spencer", "reference"=>"Adela Schuster", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905c1d7735333925df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('54905c1d7735333925e00000'), "name"=>"Skye Satterfield", "reference"=>"Makenna O'Hara", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279481441759] runtime: 0.1402ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3324ms Completed 200 OK in 50ms (Views: 49.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e10000'), "name"=>"Joe Streich", "reference"=>"Miss Brielle Smitham", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e20000'), "name"=>"HelloWorld", "reference"=>"Ms. Humberto Hills", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e30000'), "name"=>"value", "reference"=>"Mr. Angeline Boyle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4242ms Completed 200 OK in 6ms (Views: 5.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3848ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3593ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1510ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3394ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1921ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1547ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e40000'), "name"=>"Freddy Dooley", "reference"=>"Brian Jast", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279776212257] runtime: 0.0975ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2222ms Completed 200 OK in 17ms (Views: 15.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857491999] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886450159] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279612385220] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281186076318] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279926460150] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280320350641] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280026438334] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280290943370] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280116824662] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280591053950] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859124218] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279261721809] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279734820628] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280384240385] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7579ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209624588] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280875653208] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280501284316] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280902106315] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7596ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286883787] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7566ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033081298] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490132191] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7561ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280676309088] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208692581] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280928613602] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6294ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280118941203] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281228154599] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281000461169] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280107461482] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462359233] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280834157088] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281218291834] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.3361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279518348246] runtime: 0.1145ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7374ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279378951869] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280352915774] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280973437126] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280187101001] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281110770668] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281222337363] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282875528] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279725408750] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725653644] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7251ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280851118725] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130938589] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280810909793] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280537816369] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279354496589] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279627003332] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938819519] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667492211] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281094527407] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279670291823] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6361ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882190003] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6272ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280740861857] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281304677057] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280471830217] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280117554777] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280086707822] runtime: 0.0729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280033463507] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676134981] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524390341] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279819026228] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280410276387] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4983ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563845200] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080997279] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280464461379] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279431843237] runtime: 0.1058ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279606144528] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280429651944] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5095ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279605573344] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963568345] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535211056] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5179ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579893964] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280556316754] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279607809503] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065658240] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120741674] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280124409679] runtime: 0.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280339443691] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134545431] runtime: 0.0406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279249808904] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213033706] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5223ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281310630661] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280079631799] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280821385424] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280088556926] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529683730] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280300348848] runtime: 0.0869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5755ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280033173966] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280715320605] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006154137] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280490399716] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326620843] runtime: 0.0402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280815402011] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279742238935] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542780409] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031952632] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280873949857] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280151349170] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280569838546] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7378ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180591868] runtime: 0.0637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251571853] runtime: 0.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279921643396] runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8008ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280790875305] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279839746871] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281040719181] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280409059916] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579988004] runtime: 0.0573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281167406459] runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280483230095] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087219410] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279855525199] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280500264159] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929277114] runtime: 0.0407ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121088972] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279716996117] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5284ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280819924067] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279691438726] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281024044434] runtime: 0.0408ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280167830081] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279285660079] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5217ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280739438436] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5194ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281190294352] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279939738060] runtime: 0.0413ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279491745876] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280498717103] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280039001852] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280428935757] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280599005306] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918653644] runtime: 0.0409ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5198ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702899792] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280334504573] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279577788536] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280622442080] runtime: 0.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279343814128] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280652611633] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280584153615] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098280266] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280250802058] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281317043508] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279829561040] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280597187517] runtime: 0.0412ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279535160612] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279192299118] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306832421] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281206723012] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4966ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280567399146] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279462790641] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5175ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324739806] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280767810570] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279269104784] runtime: 0.0414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279893997979] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280411475874] runtime: 0.0415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043167758] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281182331821] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281203145583] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6575ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280573265266] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456939785] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280388054578] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279891475539] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280315199406] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833695762] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680775026] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001501325] runtime: 0.0415ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e50000'), "name"=>"Jazlyn King DVM", "reference"=>"Kip Kulas", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2803ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925e60000'), "name"=>"Missouri Windler", "reference"=>"Maida Cole", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865426355] runtime: 0.0660ms Completed 200 OK in 5ms (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('54905c1d7735333925e70000'), "name"=>"Modesto Medhurst", "reference"=>"Ms. Olin Nader", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905c1d7735333925e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms 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('54905c1d7735333925e80000'), "name"=>"Kolby Cremin PhD", "reference"=>"Marjorie Ratke DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms Processing by ProductsController#new as HTML 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('54905c1d7735333925eb0000'), "name"=>"Chester Funk", "reference"=>"Dr. Kenya Satterfield", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6016ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905c1d7735333925eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ec0000'), "name"=>"Aurelia Pfannerstill", "reference"=>"Gay Boyer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1c7735333925070000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2918ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ed0000'), "name"=>"Clementina Gorczany", "reference"=>"Clara Keebler", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3082ms Completed 200 OK in 5ms (Views: 2.8ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ee0000'), "name"=>"Margret Jast", "reference"=>"Bryana Kertzmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2964ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925ef0000'), "name"=>"Myriam Hartmann", "reference"=>"Aisha Price V", "quantity"=>2}] 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.1832ms 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('54905c1d7735333925f00000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925f10000'), "name"=>"Blaise Kuvalis PhD", "reference"=>"Nigel Flatley", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905c1d7735333925f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f10000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms 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('54905c1d7735333925f20000'), "name"=>"Miss Laron Gleason", "reference"=>"Dr. Claud Muller", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms 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('54905c1d7735333925f40000'), "name"=>"Noe D'Amore", "reference"=>"Mr. Isaac Schamberger", "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"=>"54905c1d7735333925f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f40000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms 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('54905c1d7735333925f50000'), "name"=>"Lowell Pacocha II", "reference"=>"Lourdes Marks", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c1d7735333925f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f50000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms Redirected to http://test.host/products/54905c1d7735333925f50000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925f80000'), "name"=>"Immanuel Cronin", "reference"=>"Mrs. Greta Heaney", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925f60000'), "author_name"=>"Felipa Schultz II", "content"=>["Praesentium natus repellat hic suscipit porro et. Quia eum alias ratione numquam. Voluptatem eligendi voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925f70000'), "author_name"=>"Daisy Wilkinson", "content"=>["In sint quidem. Quidem illo sed voluptatem sint culpa cumque. Non qui tempora enim. Vel mollitia impedit eum dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c1d7735333925f80000", "comment_id"=>"54905c1d7735333925f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925f80000')} 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('54905c1d7735333925f80000'), "comments._id"=>BSON::ObjectId('54905c1d7735333925f60000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c1d7735333925f90000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms Completed 500 Internal Server Error in 6ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1d7735333925fc0000'), "name"=>"Electa Wiza", "reference"=>"Kianna Rowe", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925fa0000'), "author_name"=>"Kaitlin Schoen", "content"=>["Provident quia eos. Quasi molestiae voluptas et voluptas atque qui corrupti. Vero occaecati maxime corrupti odio."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1d7735333925fb0000'), "author_name"=>"Nicolas Conn III", "content"=>["Quos illo cupiditate ipsum minus consequuntur consequatur nihil. Sequi ut reiciendis possimus dignissimos voluptatibus. Quo quos tempore a corrupti sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905c1d7735333925fc0000", "comment_id"=>"54905c1d7735333925fa0000", "id"=>"54905c1d7735333925fb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925fc0000'), "comments._id"=>BSON::ObjectId('54905c1d7735333925fa0000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c1d7735333925fb0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5258ms Redirected to http://test.host/products/54905c1d7735333925fc0000/comments/54905c1d7735333925fa0000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1d7735333925fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925ff0000'), "name"=>"Alessandro Eichmann", "reference"=>"Murl Denesik", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925fd0000'), "author_name"=>"Jena Wolff", "content"=>["Quasi quidem cum. Odio natus rerum quod nisi. Quam fugiat voluptatem aut voluptatibus. Aperiam quidem reprehenderit. Ullam nulla quos praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925fe0000'), "author_name"=>"Gerardo Bartell", "content"=>["Deleniti rem aliquam asperiores sit earum laboriosam. Et voluptatum sequi fugit ut et animi ipsam. Commodi voluptas et qui. Rem in ex eius quos doloremque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5921ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905c1e7735333925ff0000", "comment_id"=>"54905c1e7735333925fd0000", "id"=>"54905c1e7735333925fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4387ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.8ms) Completed 200 OK in 43ms (Views: 40.4ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925020100'), "name"=>"Kristoffer Bernhard", "reference"=>"Mrs. Eudora Upton", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925000100'), "author_name"=>"Sebastian Howe", "content"=>["Aut odio voluptatibus est qui nisi quod. Nobis aliquid maiores dignissimos. Ad non sunt. Molestias nihil ea minus in aliquam qui dolor."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925010100'), "author_name"=>"Casandra Zulauf", "content"=>["Nisi sint nam expedita quae. Similique accusamus a amet. Maiores fugit numquam in quia harum et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6298ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905c1e7735333925020100", "comment_id"=>"54905c1e7735333925000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4198ms Completed 500 Internal Server Error in 5ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925050100'), "name"=>"Carrie Gottlieb", "reference"=>"Miss Taryn Koelpin", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925030100'), "author_name"=>"Ruthe Kuhic", "content"=>["Vel nam voluptas at reiciendis saepe. Sequi perspiciatis accusantium vero architecto voluptatem repellendus. Animi cum eum. Corrupti iure aliquam eligendi rem eveniet. Sed quia consectetur ut voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925040100'), "author_name"=>"Margarete Hamill", "content"=>["Distinctio ea vel. Omnis doloremque illum quis illo ut recusandae possimus. Quae quia voluptas est totam. Delectus aliquam voluptatem quod id praesentium."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5869ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905c1e7735333925050100", "comment_id"=>"54905c1e7735333925030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4489ms Completed 500 Internal Server Error in 36ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925080100'), "name"=>"Cedrick Hartmann", "reference"=>"Pete Reichel Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925060100'), "author_name"=>"Mr. Danial Bogan", "content"=>["Sit saepe enim. Numquam sapiente et cumque sit ullam. Quod fugiat reiciendis qui animi accusantium aperiam. Quod explicabo nam qui similique et molestias dolores."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925070100'), "author_name"=>"Dr. Larue Bechtelar", "content"=>["Quis dolore dolorem est ipsam cumque dolores. Beatae cum architecto cupiditate facilis voluptate. Aperiam qui aliquam. Expedita quidem est repellendus eum nam et. Et ex sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6653ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905c1e7735333925080100", "comment_id"=>"54905c1e7735333925060100", "id"=>"54905c1e7735333925070100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e77353339250b0100'), "name"=>"Mireya Rogahn", "reference"=>"Ezequiel Windler", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925090100'), "author_name"=>"Emil Marks IV", "content"=>["Sit quasi rerum. Et rerum delectus quidem dolores adipisci a aspernatur. Nesciunt dolorem voluptatem laborum doloribus. Consequatur ipsum accusamus rem dolores iure. Vitae dolorem odio atque."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e77353339250a0100'), "author_name"=>"Rodrick Wolff", "content"=>["Sit dolore inventore reiciendis magnam. Iusto facere porro aut reprehenderit nihil repudiandae. Rem ut nihil dolore architecto quia qui excepturi. Cumque repellendus et et dolor reprehenderit voluptates iste."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1833ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905c1e77353339250b0100", "comment_id"=>"54905c1e7735333925090100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e77353339250b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4681ms Completed 500 Internal Server Error in 33ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e77353339250f0100'), "name"=>"Eryn Pfeffer II", "reference"=>"Miss Deron Heathcote", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e77353339250d0100'), "author_name"=>"Hardy Feeney", "content"=>["Quia error quidem similique. Officiis omnis qui molestiae. Consequatur omnis quas assumenda aspernatur ut et. Nulla non magnam qui rerum nemo earum."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e77353339250e0100'), "author_name"=>"Uriel Okuneva", "content"=>["Doloribus et illum. Similique laboriosam aut aut. Eaque deserunt accusamus cum repellendus dolor. Labore sunt dolore in magnam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905c1e77353339250f0100", "comment_id"=>"54905c1e77353339250d0100", "id"=>"54905c1e77353339250e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e77353339250f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925120100'), "name"=>"Susanna Miller", "reference"=>"Derek Upton", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925100100'), "author_name"=>"Lazaro Durgan", "content"=>["Doloribus omnis excepturi est ex minus. Unde nobis ut aut odit amet. Cum cupiditate sed minima ab debitis. Id voluptas officia."], "comments"=>[{"_id"=>BSON::ObjectId('54905c1e7735333925110100'), "author_name"=>"Talon Barton", "content"=>["Reprehenderit exercitationem dolores. Nesciunt recusandae doloremque dolor. Fugiat voluptatem minima. Quia dolore et aut harum sed. Voluptatibus quia impedit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5972ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c1e7735333925110100", "product_id"=>"54905c1e7735333925120100", "comment_id"=>"54905c1e7735333925100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925120100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4808ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c1e7735333925120100'), "comments._id"=>BSON::ObjectId('54905c1e7735333925100100'), "comments.0.comments._id"=>BSON::ObjectId('54905c1e7735333925110100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7250ms Redirected to http://test.host/products/54905c1e7735333925120100/comments/54905c1e7735333925100100/comments/54905c1e7735333925110100 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('54905c1e7735333925130100'), "firstname"=>"Stewart", "lastname"=>"Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6316ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3038ms 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('54905c1e7735333925140100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms Redirected to http://test.host/users/54905c1e7735333925140100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2518ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925150100'), "firstname"=>"Ona", "lastname"=>"Huels"}] 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.2360ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905c1e7735333925150100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1e7735333925150100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1e7735333925150100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms 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.1990ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925160100'), "firstname"=>"Albina", "lastname"=>"Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905c1e7735333925160100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1e7735333925160100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925170100'), "firstname"=>"Libby", "lastname"=>"Kuvalis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms 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.3874ms Completed 200 OK in 8ms (Views: 7.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1e7735333925180100'), "firstname"=>"Modesto", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms Processing by UsersController#new as HTML Completed 500 Internal Server Error in 33ms ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c1e77353339251a0100'), "firstname"=>"Nicklaus", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905c1e77353339251a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1e77353339251a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms 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('54905c1e77353339251b0100'), "firstname"=>"Hugh", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5519ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c1e77353339251b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c1e77353339251b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4274ms Unpermitted parameters: name Redirected to http://test.host/users/54905c1e77353339251b0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4632ms 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.4613ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6682ms 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.3840ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7670ms 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.3734ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f000000'), "firstname"=>"Judson", "lastname"=>"Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5378ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2741ms 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('54905c2b773533395f010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms 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.2765ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f020000'), "firstname"=>"Moises", "lastname"=>"Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905c2b773533395f020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2b773533395f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 16.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f030000'), "firstname"=>"Clotilde", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f040000'), "firstname"=>"Ciara", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905c2b773533395f040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2b773533395f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms Completed 200 OK in 3ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f050000'), "firstname"=>"Vincenzo", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905c2b773533395f050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2b773533395f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms 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('54905c2b773533395f060000'), "name"=>"Darlene Aufderhar", "reference"=>"Mrs. Arlene Heathcote", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f070000'), "author_name"=>"Susan Gulgowski", "content"=>["Animi aperiam dolorem dolorem aut. Cum fuga nulla id voluptas sit et voluptatem. Laborum ut aperiam quo. Dignissimos assumenda eos numquam debitis. Fuga nostrum blanditiis magnam dolores debitis quia consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c2b773533395f060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c2b773533395f080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f090000'), "name"=>"Sarah Larson", "reference"=>"Maybelle Tremblay", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f0a0000'), "author_name"=>"Cordelia Stokes", "content"=>["Et omnis aut sed neque voluptas nisi vero. Pariatur excepturi dolore rerum voluptatibus qui. Earum temporibus dignissimos sed harum quae. Laudantium aut voluptates voluptatem at aut assumenda. Debitis numquam maiores doloremque qui porro nulla."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c2b773533395f090000", "id"=>"54905c2b773533395f0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c2b773533395f0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms Redirected to http://test.host/admin/products/54905c2b773533395f090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f0b0000'), "name"=>"Amely O'Keefe", "reference"=>"Miss Garnet Koelpin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f0c0000'), "author_name"=>"Ms. Dejuan Grady", "content"=>["Officia hic neque quam repudiandae suscipit. Consequatur necessitatibus aspernatur. Consectetur molestias dolorum veritatis enim fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905c2b773533395f0b0000", "id"=>"54905c2b773533395f0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f0d0000'), "name"=>"Arden Schuppe II", "reference"=>"Alyce Herman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f0e0000'), "author_name"=>"Reynold Beatty", "content"=>["Velit non et qui ullam earum quidem adipisci. Sint molestiae aspernatur quisquam ullam. Aut eius enim et. Quae ut cumque repudiandae iusto qui. Sapiente qui illum dolorem consectetur necessitatibus sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905c2b773533395f0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Completed 500 Internal Server Error in 3ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f0f0000'), "name"=>"Yadira Sawayn", "reference"=>"Lurline Rogahn", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f100000'), "author_name"=>"Mae Schmitt", "content"=>["Qui dolor sed sit esse exercitationem a illum. Repellendus aut nisi. Nihil assumenda est. Deleniti dolorem veritatis inventore. Ducimus laborum facilis officiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905c2b773533395f0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f110000'), "name"=>"Warren Collier", "reference"=>"Jabari Gislason", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f120000'), "author_name"=>"Kellen Kihn", "content"=>["Sunt ducimus repudiandae non itaque minus harum. Magni explicabo iste ut quam quibusdam dolores deleniti. Ipsum voluptas iusto nobis. Sunt et sit laudantium non. Ut aut consequatur dolore qui voluptatem temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905c2b773533395f110000", "id"=>"54905c2b773533395f120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f130000'), "name"=>"Jackeline Kassulke", "reference"=>"Joanny Ziemann", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2b773533395f140000'), "author_name"=>"Francis Cronin", "content"=>["Autem quae quisquam nihil iste ut. Sed tempore velit perspiciatis qui culpa. Voluptate velit nihil ut. Commodi aliquid qui. Sunt maxime aut quia alias et expedita."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c2b773533395f140000", "product_id"=>"54905c2b773533395f130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f130000'), "comments._id"=>BSON::ObjectId('54905c2b773533395f140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2968ms Redirected to http://test.host/admin/products/54905c2b773533395f130000/comments/54905c2b773533395f140000 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('54905c2b773533395f150000'), "name"=>"Arlene Klocko Jr.", "reference"=>"Soledad Brekke", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f160000'), "firstname"=>"Brianne", "lastname"=>"Grimes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c2b773533395f150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Completed 500 Internal Server Error in 5ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f180000'), "name"=>"Lilla Marvin", "reference"=>"Miss Edwardo Bartell", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f190000'), "firstname"=>"Taylor", "lastname"=>"Hansen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5100ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905c2b773533395f190000", "product_id"=>"54905c2b773533395f180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 5.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f1a0000'), "name"=>"Jefferey Zemlak", "reference"=>"Alex Beier", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f1b0000'), "firstname"=>"Breana", "lastname"=>"Miller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905c2b773533395f1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 4.2ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f1c0000'), "name"=>"Bessie Hoppe", "reference"=>"Dr. Bret Bogisich", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f1d0000'), "firstname"=>"Mafalda", "lastname"=>"Jerde"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905c2b773533395f1d0000", "product_id"=>"54905c2b773533395f1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4418ms Completed 200 OK in 5ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f1e0000'), "name"=>"Kieran Jacobson", "reference"=>"Keely Yundt", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54905c2b773533395f1f0000'), "firstname"=>"Lori", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905c2b773533395f1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c2b773533395f1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905c2b773533395f1e0000/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('54905c2b773533395f200000'), "name"=>"Mrs. Tremayne Upton", "reference"=>"Ariane Nicolas V", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms 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('54905c2b773533395f210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8614ms Redirected to http://test.host/admin/products/54905c2b773533395f210000 Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4199ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f220000'), "name"=>"Rocio Turcotte", "reference"=>"Evie Bruen", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5418ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3822ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905c2b773533395f220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms 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.3743ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f230000'), "name"=>"Titus Kris", "reference"=>"Marjolaine Jacobi V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905c2b773533395f230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f240000'), "name"=>"Maximilian Little", "reference"=>"Dr. Brooks Langosh", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms 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.5579ms Completed 200 OK in 11ms (Views: 10.6ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f250000'), "name"=>"Beryl Bauch", "reference"=>"Courtney Bartell Sr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 50ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2b773533395f280000'), "name"=>"Quincy Doyle Sr.", "reference"=>"Rey Effertz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905c2b773533395f280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms 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('54905c2b773533395f290000'), "name"=>"Ethel Oberbrunner", "reference"=>"Malcolm Wintheiser", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9055ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c2b773533395f290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms Redirected to http://test.host/admin/products/54905c2b773533395f290000 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('54905c2c773533395f2a0000'), "firstname"=>"Conrad", "lastname"=>"Bernier"}] 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=>"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('54905c2c773533395f2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms Redirected to http://test.host/admin/users/54905c2c773533395f2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2215ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f2c0000'), "firstname"=>"Ignacio", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1885ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905c2c773533395f2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2c773533395f2c0000')} 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('54905c2c773533395f2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms 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.2374ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f2d0000'), "firstname"=>"Kaci", "lastname"=>"McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905c2c773533395f2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2c773533395f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f2e0000'), "firstname"=>"Thalia", "lastname"=>"Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5157ms 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.4277ms 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('54905c2c773533395f2f0000'), "firstname"=>"Esta", "lastname"=>"Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905c2c773533395f300000'), "firstname"=>"Jonatan", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905c2c773533395f300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2c773533395f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4151ms 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('54905c2c773533395f310000'), "firstname"=>"Mikel", "lastname"=>"Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c2c773533395f310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2c773533395f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905c2c773533395f310000 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('54905c2c773533395f320000'), "firstname"=>"Vida", "lastname"=>"Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1976ms 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('54905c2c773533395f330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms 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.2148ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f340000'), "firstname"=>"Cynthia", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905c2c773533395f340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2c773533395f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f350000'), "firstname"=>"Leif", "lastname"=>"Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f360000'), "firstname"=>"Rory", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905c2c773533395f360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2c773533395f360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f370000'), "firstname"=>"Iliana", "lastname"=>"Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905c2c773533395f370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c2c773533395f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f380000'), "name"=>"Johathan Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f390000'), "name"=>"Jarred Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3a0000'), "name"=>"Wyatt Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3b0000'), "name"=>"Brendon Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3c0000'), "name"=>"Viola Gorczany DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3d0000'), "name"=>"Ivah Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3e0000'), "name"=>"Miss Elenor Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f3f0000'), "name"=>"Mrs. Skylar Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f400000'), "name"=>"Sheila Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f410000'), "name"=>"Miss Larue Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f420000'), "name"=>"Dolly West"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f430000'), "name"=>"Pearl Cassin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f440000'), "name"=>"Chaz Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2086ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f450000'), "name"=>"Madison Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f460000'), "name"=>"Bryana Conn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f470000'), "name"=>"Mr. Berneice Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f480000'), "name"=>"Imani Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f490000'), "name"=>"Gilda Weimann IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4a0000'), "name"=>"Kip Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4b0000'), "name"=>"Paris Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4c0000'), "name"=>"Ivory Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4d0000'), "name"=>"Katherine Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4e0000'), "name"=>"Jerrold Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f4f0000'), "name"=>"Ransom Quigley Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f500000'), "name"=>"Shyanne Donnelly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f510000'), "name"=>"Roselyn Lind"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f520000'), "name"=>"Sandy Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f530000'), "name"=>"Maida Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f540000'), "name"=>"Aniyah Prosacco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f550000'), "name"=>"Miss Eric Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f560000'), "name"=>"Ms. Sophia Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f570000'), "name"=>"Judge Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f580000'), "name"=>"Miss Jonas Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f590000'), "name"=>"Ahmed Gibson Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5a0000'), "name"=>"Alek Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5b0000'), "name"=>"Jaren Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5c0000'), "name"=>"Dominic Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5d0000'), "name"=>"Al Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5e0000'), "name"=>"Whitney Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f5f0000'), "name"=>"Laurianne Berge IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f600000'), "name"=>"Francesca Jacobs MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f610000'), "name"=>"Mrs. Tania Hirthe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f620000'), "name"=>"Julian Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f630000'), "name"=>"Charlie Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f640000'), "name"=>"Jordan Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f650000'), "name"=>"Anastacio Powlowski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f660000'), "name"=>"Bernadine Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f670000'), "name"=>"Ms. Richmond Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f680000'), "name"=>"Greg Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f690000'), "name"=>"Hardy Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6a0000'), "name"=>"Reid Bailey DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6b0000'), "name"=>"Ms. Niko Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6c0000'), "name"=>"Florida Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6d0000'), "name"=>"Delmer Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6e0000'), "name"=>"Nikolas Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f6f0000'), "name"=>"Rogers Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f700000'), "name"=>"Mr. Martine Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f710000'), "name"=>"Alta Pfannerstill MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f720000'), "name"=>"Davon Kemmer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f730000'), "name"=>"Leanna Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f740000'), "name"=>"Emma Feeney IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f750000'), "name"=>"Elmer McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f760000'), "name"=>"Velda Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f770000'), "name"=>"Imani Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f780000'), "name"=>"Ernest Nienow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f790000'), "name"=>"Rosamond Kozey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7a0000'), "name"=>"Eldridge Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7b0000'), "name"=>"Ms. Kallie Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7c0000'), "name"=>"Randall Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7d0000'), "name"=>"Asa Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7e0000'), "name"=>"Zelda Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f7f0000'), "name"=>"Destany Batz V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f800000'), "name"=>"Dr. Branson Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f810000'), "name"=>"Anita Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f820000'), "name"=>"Alayna Harvey PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f830000'), "name"=>"Maximillian Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f840000'), "name"=>"Bernadine Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f850000'), "name"=>"Keon Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f860000'), "name"=>"Johnson VonRueden II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f870000'), "name"=>"Ms. Danyka Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f880000'), "name"=>"Miss Adam Fahey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f890000'), "name"=>"Tristian Kreiger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8a0000'), "name"=>"Jamaal Bechtelar V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8b0000'), "name"=>"Thalia Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8c0000'), "name"=>"Devan Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8d0000'), "name"=>"Colin Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8e0000'), "name"=>"Kristofer Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f8f0000'), "name"=>"Leola Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f900000'), "name"=>"Mr. Lizeth Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f910000'), "name"=>"Kelsi Nitzsche Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1731ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f920000'), "name"=>"Maximilian Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f930000'), "name"=>"Dr. Yvette Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f940000'), "name"=>"Dr. Garret Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f950000'), "name"=>"Ms. Clarabelle Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f960000'), "name"=>"Anastacio Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f970000'), "name"=>"Mrs. Charlie Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2143ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms Redirected to http://test.host/categories/54905c2c773533395f980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2179ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f990000'), "name"=>"Ms. Eunice Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1997ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2225ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905c2c773533395f990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395f990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395f990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2380ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f9a0000'), "name"=>"Shana Vandervort"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2264ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905c2c773533395f9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.2ms) Completed 200 OK in 11ms (Views: 9.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f9b0000'), "name"=>"Omari Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305027941480] runtime: 0.1536ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2480ms Completed 200 OK in 52ms (Views: 50.9ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f9c0000'), "name"=>"Carlee Heller IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[307014051974] runtime: 0.0711ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1657ms Completed 200 OK in 8ms (Views: 7.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f9d0000'), "name"=>"Elenora McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.9ms) Completed 200 OK in 6ms (Views: 5.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395f9f0000'), "name"=>"Angela Kozey IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905c2c773533395f9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395f9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa00000'), "name"=>"Abigail Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905c2c773533395fa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c2c773533395fa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c2c773533395fa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms Redirected to http://test.host/categories/54905c2c773533395fa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa10000'), "name"=>"Ms. Lois Rosenbaum", "reference"=>"Wilson Rutherford", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fa20000'), "author_name"=>"Jeromy Legros", "content"=>["Hic exercitationem eligendi dolorum necessitatibus tenetur. Facere officiis dolores veniam ea dolores. Excepturi esse quidem autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa30000'), "name"=>"Brenda Quigley", "reference"=>"Michale Schuster", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fa40000'), "author_name"=>"Clovis Wilkinson", "content"=>["Similique maiores aspernatur sit sequi. Rerum animi vel officiis tempora est mollitia quidem. Quo enim et id iste. Eveniet dolorem nihil. Quia cupiditate maxime numquam possimus totam sed autem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c2c773533395fa30000", "id"=>"54905c2c773533395fa40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa30000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c2c773533395fa40000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5494ms Redirected to http://test.host/products/54905c2c773533395fa30000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1568ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa50000'), "name"=>"Alexander Cole MD", "reference"=>"Chandler Wuckert", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fa60000'), "author_name"=>"Dr. Kenna Ledner", "content"=>["Saepe aliquid enim. Culpa iusto impedit ut ab architecto. Assumenda animi facere debitis eum. Minima molestiae iusto omnis blanditiis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905c2c773533395fa50000", "id"=>"54905c2c773533395fa60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa70000'), "name"=>"Laverne Denesik", "reference"=>"Dr. D'angelo Hessel", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fa80000'), "author_name"=>"Narciso Von", "content"=>["Similique laborum soluta deleniti sit alias minus eaque. Quo et et vel. Aut minima fugiat. Exercitationem consequatur qui assumenda."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905c2c773533395fa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Completed 500 Internal Server Error in 4ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fa90000'), "name"=>"Dr. Kariane Macejkovic", "reference"=>"Jannie Nolan", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395faa0000'), "author_name"=>"Mathew Moen", "content"=>["Unde voluptate eos. Suscipit laudantium magni. Est ullam id dignissimos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905c2c773533395fa90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fa90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms Completed 500 Internal Server Error in 7ms ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fab0000'), "name"=>"Abby Pacocha I", "reference"=>"Michele Strosin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fac0000'), "author_name"=>"Camille Kuhic", "content"=>["Eaque ea ex accusantium quia. Et ex aut atque ea laboriosam explicabo harum. Necessitatibus eaque nostrum consectetur inventore ab nihil. Possimus dolores commodi laborum. Sit qui quia quaerat illo velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905c2c773533395fab0000", "id"=>"54905c2c773533395fac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fad0000'), "name"=>"Bell Vandervort", "reference"=>"Serena Mante", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fae0000'), "author_name"=>"Noemi Larson Jr.", "content"=>["Deserunt qui ut. Provident omnis dolorem. Sint dignissimos voluptas quis at quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1685ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905c2c773533395fad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395faf0000'), "name"=>"Dr. Cooper Bergnaum", "reference"=>"Logan Fisher", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fb00000'), "author_name"=>"Reilly Schinner", "content"=>["Enim praesentium dolor sit inventore at. Optio magni cupiditate sequi suscipit ut. Quia ea doloremque alias ipsa possimus numquam. Molestiae ipsa tempore nesciunt laboriosam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905c2c773533395faf0000", "id"=>"54905c2c773533395fb00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395faf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fb10000'), "name"=>"Suzanne Bergstrom", "reference"=>"Brendon Sporer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c2c773533395fb20000'), "author_name"=>"Frieda Weber", "content"=>["Dolores sit nisi labore vel quae aspernatur. Accusamus asperiores sapiente dolorem veniam consequuntur. Architecto omnis veniam et vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c2c773533395fb20000", "product_id"=>"54905c2c773533395fb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fb10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fb10000'), "comments._id"=>BSON::ObjectId('54905c2c773533395fb20000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Redirected to http://test.host/products/54905c2c773533395fb10000/comments/54905c2c773533395fb20000 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('54905c2c773533395fb30000'), "firstname"=>"Jermaine", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1296ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fb40000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms Redirected to http://test.host/admin/clients/54905c2c773533395fb40000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fb50000'), "firstname"=>"Franz", "lastname"=>"O'Hara"}] 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=>"clients", :query=>{}} runtime: 0.1438ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c2c773533395fb50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fb50000')} 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('54905c2c773533395fb50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms 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.1853ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fb60000'), "firstname"=>"Deanna", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c2c773533395fb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('54905c2c773533395fb70000'), "firstname"=>"Cleve", "lastname"=>"Barrows"}] 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.3684ms 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('54905c2c773533395fb80000'), "firstname"=>"Freddie", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905c2c773533395fb90000'), "firstname"=>"Stevie", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c2c773533395fb90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fb90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fba0000'), "firstname"=>"Verna", "lastname"=>"Moen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905c2c773533395fba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fba0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Redirected to http://test.host/admin/clients/54905c2c773533395fba0000 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('54905c2c773533395fbb0000'), "firstname"=>"Marisol", "lastname"=>"Thompson"}] 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=>"clients", :query=>{}} runtime: 0.1928ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fbc0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms Redirected to http://test.host/clients/54905c2c773533395fbc0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2180ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fbd0000'), "firstname"=>"Berenice", "lastname"=>"Homenick"}] 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.1366ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c2c773533395fbd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fbd0000')} 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('54905c2c773533395fbd0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms 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.2474ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fbe0000'), "firstname"=>"Genesis", "lastname"=>"Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c2c773533395fbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fbe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Rendered /home/geoffroy/projects/crealettres/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('54905c2c773533395fbf0000'), "firstname"=>"Lemuel", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4267ms 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('54905c2c773533395fc00000'), "firstname"=>"Quinton", "lastname"=>"Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905c2c773533395fc10000'), "firstname"=>"Michelle", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c2c773533395fc10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fc10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms 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('54905c2c773533395fc20000'), "firstname"=>"Zoila", "lastname"=>"Willms"}] 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"=>"54905c2c773533395fc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c2c773533395fc20000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms Redirected to http://test.host/clients/54905c2c773533395fc20000 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('54905c2c773533395fc30000'), "name"=>"Charlotte Miller II", "reference"=>"Henri Effertz PhD", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fc40000'), "firstname"=>"Rod", "lastname"=>"Wisozk"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c2c773533395fc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fc30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fc30000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fc30000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fc50000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms Completed 500 Internal Server Error in 6ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fc60000'), "name"=>"Desiree Mante", "reference"=>"Nathaniel Heidenreich Sr.", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fc70000'), "firstname"=>"Willow", "lastname"=>"Kohler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5790ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905c2c773533395fc70000", "product_id"=>"54905c2c773533395fc60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fc60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3845ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fc80000'), "name"=>"Ms. Tod Lubowitz", "reference"=>"Reymundo Christiansen", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fc90000'), "firstname"=>"Alysa", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5603ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905c2c773533395fc80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fc80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fca0000'), "name"=>"Dudley Yundt", "reference"=>"Ardella Keeling", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fcb0000'), "firstname"=>"Golda", "lastname"=>"Lebsack"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5230ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905c2c773533395fcb0000", "product_id"=>"54905c2c773533395fca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4398ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fcc0000'), "name"=>"Ryann Cummerata", "reference"=>"Ms. Tre Cartwright", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905c2c773533395fcd0000'), "firstname"=>"Brennan", "lastname"=>"Morissette"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5450ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905c2c773533395fcd0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c2c773533395fcc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fcc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms Unpermitted parameters: name Redirected to http://test.host/products/54905c2c773533395fcc0000/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('54905c2c773533395fce0000'), "name"=>"Malachi Langworth", "reference"=>"Mrs. Brendan Thiel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fcf0000'), "name"=>"Angie Mitchell DDS", "reference"=>"Landen Schoen", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd00000'), "name"=>"Lola Osinski", "reference"=>"Mozell Kessler", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd10000'), "name"=>"Theodora Kunze", "reference"=>"Mrs. Sonia MacGyver", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd20000'), "name"=>"Katelyn Dare", "reference"=>"Mr. Millie Smith", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd30000'), "name"=>"Ron Kassulke", "reference"=>"Elvie Mayer", "quantity"=>4}] 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=>"products", :query=>{}} runtime: 0.2064ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd40000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms Redirected to http://test.host/products/54905c2c773533395fd40000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2312ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd50000'), "name"=>"Alek Waelchi", "reference"=>"Mrs. Flossie Satterfield", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1555ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54905c2c773533395fd50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fd50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fd50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms 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.2136ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd60000'), "name"=>"Ms. Israel Fisher", "reference"=>"Darrel Koss", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905c2c773533395fd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2c773533395fd60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54905c2c773533395fd70000'), "name"=>"Mrs. Isom Kulas", "reference"=>"Enrique Marquardt", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666854139] runtime: 0.1207ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2310ms Completed 200 OK in 18ms (Views: 17.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd80000'), "name"=>"Elenora Green", "reference"=>"Claudia Balistreri", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fd90000'), "name"=>"HelloWorld", "reference"=>"Lina Turner", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fda0000'), "name"=>"value", "reference"=>"Esteban Welch", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4312ms Completed 200 OK in 32ms (Views: 31.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.5973ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1778ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Completed 200 OK in 4ms (Views: 3.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.4218ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3317ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1736ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2c773533395fdb0000'), "name"=>"Destany Okuneva", "reference"=>"Jalen Koss V", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932639947] runtime: 0.1401ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3086ms Completed 200 OK in 52ms (Views: 51.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279417244048] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281192014882] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280313313880] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280050256720] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280299001856] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279337671925] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281193991405] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279475689976] runtime: 0.0619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7789ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280589114593] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7967ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091563949] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279425885500] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281213484671] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281272690878] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280707049417] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422883038] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281299665339] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356813701] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281035723633] runtime: 0.0751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639879786] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372488870] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280135859980] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279455936522] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207719313] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7856ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279599270994] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439298028] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279598035834] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280639566130] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279645269841] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279603023637] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280327218168] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450525234] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7703ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279460746304] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279524567639] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7698ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280230861074] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280382799929] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6889ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672068078] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343241427] runtime: 0.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279278167152] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6593ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280278168393] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280591229692] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279206970948] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280001120081] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243762952] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281269326107] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280188879527] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279209242344] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279228221604] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279892687967] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022159262] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280165951263] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280722637173] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280469637925] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279476887099] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280777525944] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178214416] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530851612] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413892747] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281217244466] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279405715429] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280606887400] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280413589554] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633061683] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449242700] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281067656614] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.8162ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654850506] runtime: 0.0986ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279918741900] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7825ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279369382690] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279241753303] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279356465383] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073693020] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089017148] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279530080898] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972043924] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281251888254] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7909ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972667620] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7888ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279879164820] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280642103749] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281147893637] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279910543964] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096764213] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279341640339] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280301002776] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857372977] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280983296964] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279588126616] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436482488] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292938996] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880910638] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280029954319] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279416715828] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280409173691] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207402004] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281296485667] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070582751] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6738ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279182214242] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281121398813] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280930152735] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557583070] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815768441] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6758ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281104359782] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6847ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279366996756] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690430130] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280404647441] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280166034763] runtime: 0.0581ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280777446282] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281129247258] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280902213966] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279993106642] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281079020231] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6249ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279806070236] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715906036] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279417565309] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280972539946] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280772758451] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281066450957] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279917948979] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280827762812] runtime: 0.0566ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279711794760] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280294836126] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279866855070] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6472ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280636904369] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281097302551] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6362ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280010402024] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6315ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279391058421] runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256199999] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6307ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281025174512] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6332ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279217410620] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280733452] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279857034043] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189258632] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6444ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280349892291] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949508262] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280196779775] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280137621250] runtime: 0.0663ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280266133303] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280194922234] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6209ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280206391278] runtime: 0.0577ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279220946832] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279399538827] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280929966887] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243972761] runtime: 0.0653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959491424] runtime: 0.1221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281100414556] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280199536900] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7308ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878552711] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280567464507] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280227960586] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281075705939] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7347ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279799232781] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281185511814] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280574376821] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144682791] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279249742731] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6504ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280245176518] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279804301021] runtime: 0.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280970286367] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6445ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280100414275] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280658358612] runtime: 0.0714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6262ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975198398] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485244001] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.2436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280996546634] runtime: 0.1333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1326ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280812721305] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793417896] runtime: 0.0511ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fdc0000'), "name"=>"Asia Lesch DDS", "reference"=>"Jerel Steuber", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2765ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fdd0000'), "name"=>"Karlee Schamberger", "reference"=>"Rolando Heller", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281303278513] runtime: 0.0755ms 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('54905c2d773533395fde0000'), "name"=>"Urban Gerhold", "reference"=>"Colin Kuhic", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905c2d773533395fde0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fde0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms 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('54905c2d773533395fdf0000'), "name"=>"Adell Wolff", "reference"=>"Kendra Hessel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54905c2d773533395fe10000'), "name"=>"Declan Cremin II", "reference"=>"Steve Parisian DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905c2d773533395fe10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fe10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fe20000'), "name"=>"Keegan DuBuque", "reference"=>"Clay Waters II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2b773533395f060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3092ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fe30000'), "name"=>"Nola Jones", "reference"=>"Kieran Powlowski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2953ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fe40000'), "name"=>"Zaria Collier", "reference"=>"Leann Beatty", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.7685ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3251ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3202ms Completed 200 OK in 4ms (Views: 2.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fe50000'), "name"=>"Candice Sauer", "reference"=>"Jazmyn Medhurst Sr.", "quantity"=>4}] 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.1672ms 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('54905c2d773533395fe60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1846ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fe70000'), "name"=>"Gay Olson", "reference"=>"Bethany Rippin DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905c2d773533395fe70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fe70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fe70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms 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('54905c2d773533395fe80000'), "name"=>"Jazlyn Gottlieb", "reference"=>"Gavin Lehner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms 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('54905c2d773533395fea0000'), "name"=>"Nasir Cruickshank", "reference"=>"Norwood Weissnat", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c2d773533395fea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms 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('54905c2d773533395feb0000'), "name"=>"Macey Wyman", "reference"=>"Jedidiah Waelchi", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c2d773533395feb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395feb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395feb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/products/54905c2d773533395feb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395fee0000'), "name"=>"Simone Donnelly", "reference"=>"Isaias Gerlach", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395fec0000'), "author_name"=>"Crystel Kuhic Jr.", "content"=>["Qui illum dicta eum. Et est non vel omnis sed harum. Sit repellat eos est."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395fed0000'), "author_name"=>"Eleonore Raynor", "content"=>["Totam non quo. Commodi quod sint deleniti assumenda nesciunt autem. Voluptas id nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c2d773533395fee0000", "comment_id"=>"54905c2d773533395fec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395fee0000')} 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('54905c2d773533395fee0000'), "comments._id"=>BSON::ObjectId('54905c2d773533395fec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c2d773533395fef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5709ms Completed 500 Internal Server Error in 6ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395ff20000'), "name"=>"Korbin Grady", "reference"=>"Dr. Chesley Stamm", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff00000'), "author_name"=>"Gust White II", "content"=>["Dolorum non natus velit et. Libero rerum accusamus voluptatem quae nulla vero. Nihil in facilis velit sit doloribus omnis voluptas. Earum et at."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff10000'), "author_name"=>"Pattie Beatty", "content"=>["Architecto ea voluptatum eveniet ut et. Dolorem aut corrupti iure et. Inventore laborum eligendi aperiam reiciendis exercitationem perspiciatis. Et ad ea ut. Ea asperiores dolorum esse itaque occaecati."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5721ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905c2d773533395ff20000", "comment_id"=>"54905c2d773533395ff00000", "id"=>"54905c2d773533395ff10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff20000'), "comments._id"=>BSON::ObjectId('54905c2d773533395ff00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c2d773533395ff10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms Redirected to http://test.host/products/54905c2d773533395ff20000/comments/54905c2d773533395ff00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395ff50000'), "name"=>"Carmella Rempel", "reference"=>"Dr. Daniella Pouros", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff30000'), "author_name"=>"Miss Eliza Corwin", "content"=>["Nemo enim consequatur unde ea eveniet ducimus ipsa. Necessitatibus animi perferendis pariatur inventore commodi eius. Fuga voluptas ut. Nulla id aut doloremque."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff40000'), "author_name"=>"Jevon Sporer Sr.", "content"=>["Reiciendis architecto veritatis magnam. Eligendi quod eius. Dolores facilis eum. Nemo nobis earum enim. Corporis libero esse."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905c2d773533395ff50000", "comment_id"=>"54905c2d773533395ff30000", "id"=>"54905c2d773533395ff40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3804ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395ff80000'), "name"=>"Alberto Lesch", "reference"=>"Rudolph Rau", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff60000'), "author_name"=>"Andres Hane PhD", "content"=>["Quas omnis laborum molestias id. Illo nesciunt quas voluptates culpa. Neque exercitationem nostrum odio et cupiditate. Sequi porro reiciendis tenetur illum. Id eum id."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff70000'), "author_name"=>"Miss Kaia Cassin", "content"=>["Facere sit consequatur neque ducimus similique. Distinctio perspiciatis cumque fugit repellendus atque repellat. Atque tempora ut similique assumenda et quam. Repellendus non magni. Saepe omnis dolorem doloremque accusamus officia sed nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5796ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905c2d773533395ff80000", "comment_id"=>"54905c2d773533395ff60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ff80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms Completed 500 Internal Server Error in 4ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395ffb0000'), "name"=>"Dr. Ricardo McGlynn", "reference"=>"Dr. Grayce Ryan", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ff90000'), "author_name"=>"Mr. Grant Feeney", "content"=>["Sint nam quam qui voluptas ea. Quo natus eveniet excepturi minus. Alias eos esse qui. Assumenda perspiciatis perferendis voluptatum ea."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ffa0000'), "author_name"=>"Miss Arjun Ledner", "content"=>["In recusandae dicta. Consequatur est perspiciatis qui doloremque ex similique. Vel perferendis voluptates sit aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5255ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905c2d773533395ffb0000", "comment_id"=>"54905c2d773533395ff90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ffb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms Completed 500 Internal Server Error in 39ms ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395ffe0000'), "name"=>"Corene Will V", "reference"=>"Jamar Becker", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ffc0000'), "author_name"=>"Mrs. Issac Mitchell", "content"=>["Delectus harum et culpa eveniet similique sint laborum. Sed quis labore quaerat aut voluptatem. Modi atque est quisquam pariatur veniam. Exercitationem eligendi aut qui. Cumque quis quo."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395ffd0000'), "author_name"=>"Krista Abshire", "content"=>["Nulla nostrum ad ex. Est quia iusto ex ducimus consequatur est quo. Autem aut non velit occaecati. Quibusdam optio repellendus sed."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905c2d773533395ffe0000", "comment_id"=>"54905c2d773533395ffc0000", "id"=>"54905c2d773533395ffd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395ffe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395f010100'), "name"=>"Jesse Kuhic II", "reference"=>"Jovan Kozey", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395fff0000'), "author_name"=>"Mrs. Leopoldo Cormier", "content"=>["Et vel debitis et provident nesciunt. Placeat enim omnis. Laboriosam dolor iusto blanditiis qui. Assumenda minus aut soluta."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395f000100'), "author_name"=>"Ms. Golden Hackett", "content"=>["Id qui placeat sit temporibus aut omnis reiciendis. Veritatis autem ratione distinctio dolor sed rerum. Maxime tempora neque ipsam. Consequuntur ipsum molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3887ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905c2d773533395f010100", "comment_id"=>"54905c2d773533395fff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395f010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395f040100'), "name"=>"Alexandrea Rohan", "reference"=>"Adelbert Johnston", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395f020100'), "author_name"=>"Valerie Nolan", "content"=>["Ut eos perferendis optio doloribus aspernatur est quasi. Laboriosam mollitia sint. Rerum quo expedita corrupti quia."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395f030100'), "author_name"=>"Ms. Josh Ledner", "content"=>["Laboriosam velit adipisci quia tempora. Maxime aperiam architecto a. Vel rerum quod molestiae est ratione in perspiciatis. Qui placeat aut. Voluptatem odio eius nostrum aliquid et voluptas dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905c2d773533395f040100", "comment_id"=>"54905c2d773533395f020100", "id"=>"54905c2d773533395f030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395f040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c2d773533395f070100'), "name"=>"Heath Farrell", "reference"=>"Ms. Berry Pacocha", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395f050100'), "author_name"=>"Ruby Reichel", "content"=>["Eos voluptatum esse officia. Vel voluptatem sit. Ad perspiciatis aliquam. Ut aperiam rerum consequatur et fugit ad. Architecto similique sint accusantium."], "comments"=>[{"_id"=>BSON::ObjectId('54905c2d773533395f060100'), "author_name"=>"Mrs. Donnie Hilll", "content"=>["Voluptate reiciendis itaque animi impedit aspernatur quisquam. Sit soluta est ut. Pariatur cumque quia neque non autem distinctio. Cupiditate a maxime reiciendis. Deserunt maiores natus porro ab."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c2d773533395f060100", "product_id"=>"54905c2d773533395f070100", "comment_id"=>"54905c2d773533395f050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395f070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c2d773533395f070100'), "comments._id"=>BSON::ObjectId('54905c2d773533395f050100'), "comments.0.comments._id"=>BSON::ObjectId('54905c2d773533395f060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms Redirected to http://test.host/products/54905c2d773533395f070100/comments/54905c2d773533395f050100/comments/54905c2d773533395f060100 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('54905c2d773533395f080100'), "firstname"=>"Lera", "lastname"=>"Hilll"}] 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=>"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('54905c2d773533395f090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms Redirected to http://test.host/users/54905c2d773533395f090100 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('54905c2d773533395f0a0100'), "firstname"=>"Fletcher", "lastname"=>"Kilback"}] 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=>"admin_users", :query=>{}} runtime: 0.1694ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905c2d773533395f0a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2d773533395f0a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2d773533395f0a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms 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.1908ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c2d773533395f0b0100'), "firstname"=>"Betsy", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905c2d773533395f0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2d773533395f0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c2d773533395f0c0100'), "firstname"=>"Damien", "lastname"=>"Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms 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.3940ms 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('54905c2d773533395f0d0100'), "firstname"=>"Stanford", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905c2d773533395f0e0100'), "firstname"=>"Wellington", "lastname"=>"Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905c2d773533395f0e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2d773533395f0e0100')} 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('54905c2d773533395f0f0100'), "firstname"=>"Uriah", "lastname"=>"Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c2d773533395f0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c2d773533395f0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms Unpermitted parameters: name Redirected to http://test.host/users/54905c2d773533395f0f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5178ms 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.5273ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7462ms 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.5089ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9506ms 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.4857ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7000000'), "firstname"=>"Lavada", "lastname"=>"Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2075ms 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('54905c5877353339b7010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms 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.2094ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7020000'), "firstname"=>"Torey", "lastname"=>"Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905c5877353339b7020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5877353339b7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7030000'), "firstname"=>"Neha", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.4481ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7040000'), "firstname"=>"Bernadette", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6216ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905c5877353339b7040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5877353339b7040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4145ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7050000'), "firstname"=>"Noe", "lastname"=>"Erdman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905c5877353339b7050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5877353339b7050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms 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('54905c5877353339b7060000'), "name"=>"Coby Crist", "reference"=>"Reuben Dietrich", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b7070000'), "author_name"=>"Dandre Adams II", "content"=>["Id cupiditate sed maiores. Maiores qui facere numquam et. Eos sed aut ut cupiditate. Alias iste occaecati nemo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c5877353339b7060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c5877353339b7080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms Redirected to http://test.host/admin/products/54905c5877353339b7060000/comments/54905c5877353339b7080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7090000'), "name"=>"Wilton Crooks", "reference"=>"Miss Destin Schimmel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b70a0000'), "author_name"=>"Kendrick Lind Sr.", "content"=>["Eos illo quasi consequatur voluptatum labore non. Eos alias nisi omnis velit repellat ab. Occaecati et eos hic alias quia aliquam. Ut sunt autem aperiam non consequatur sit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c5877353339b7090000", "id"=>"54905c5877353339b70a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c5877353339b70a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Redirected to http://test.host/admin/products/54905c5877353339b7090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b70b0000'), "name"=>"Arlo Pouros", "reference"=>"Antonina Grant", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b70c0000'), "author_name"=>"Betsy Koch", "content"=>["Porro eum iste natus aut. Voluptatem quia ratione magnam consectetur. Rerum qui suscipit. Est labore voluptatem dolorem repellat et placeat. Qui est deserunt provident odit unde beatae perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905c5877353339b70b0000", "id"=>"54905c5877353339b70c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b70b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b70d0000'), "name"=>"Ophelia Lynch", "reference"=>"Miss Ludie Weber", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b70e0000'), "author_name"=>"Sydnee Heaney", "content"=>["Impedit ut molestiae. Optio expedita dolorem ut veniam. Distinctio omnis expedita aspernatur rem ut quo reprehenderit. Nesciunt voluptatem molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905c5877353339b70d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b70f0000'), "name"=>"Marjory Zulauf", "reference"=>"Ms. Amara Leuschke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b7100000'), "author_name"=>"Emelie Orn", "content"=>["Est sequi culpa laboriosam quia recusandae totam vel. Magnam illo mollitia aspernatur incidunt. Voluptatem illo modi maxime ipsa quia veniam voluptas. Et error facere consequatur non qui nemo. Error nulla fugiat molestiae eum dolorem nobis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905c5877353339b70f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b70f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7110000'), "name"=>"Miss Dorris Prohaska", "reference"=>"Serena Reichel IV", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b7120000'), "author_name"=>"Tristian Wiza Sr.", "content"=>["Nesciunt ab doloribus sit eos. Beatae atque quis sit voluptas velit sapiente. Sint et quo quam ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905c5877353339b7110000", "id"=>"54905c5877353339b7120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5877353339b7130000'), "name"=>"Aaliyah Yundt III", "reference"=>"Finn Waelchi", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5877353339b7140000'), "author_name"=>"Abdiel Bashirian", "content"=>["Et neque occaecati animi eum. Odit quis ipsum omnis nisi maiores accusamus ut. Placeat sunt ab distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c5877353339b7140000", "product_id"=>"54905c5877353339b7130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7130000'), "comments._id"=>BSON::ObjectId('54905c5877353339b7140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Redirected to http://test.host/admin/products/54905c5877353339b7130000/comments/54905c5877353339b7140000 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('54905c5977353339b7150000'), "name"=>"Cameron Treutel Sr.", "reference"=>"Gardner Sauer PhD", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7160000'), "firstname"=>"Trystan", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5367ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c5977353339b7150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7150000')} 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('54905c5977353339b7150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms Redirected to http://test.host/admin/products/54905c5977353339b7150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7180000'), "name"=>"Adrienne Cormier", "reference"=>"Brandyn Brown V", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7190000'), "firstname"=>"Kacey", "lastname"=>"Purdy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905c5977353339b7190000", "product_id"=>"54905c5977353339b7180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.6ms) Completed 200 OK in 38ms (Views: 35.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b71a0000'), "name"=>"Demond Schmidt Sr.", "reference"=>"Keanu Hermiston", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b71b0000'), "firstname"=>"Conner", "lastname"=>"Pfannerstill"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905c5977353339b71a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b71a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b71c0000'), "name"=>"Jevon Kilback", "reference"=>"Kaitlin Lynch Jr.", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b71d0000'), "firstname"=>"Shayne", "lastname"=>"Gaylord"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905c5977353339b71d0000", "product_id"=>"54905c5977353339b71c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b71e0000'), "name"=>"Sammie Block", "reference"=>"Dr. Delilah Jerde", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b71f0000'), "firstname"=>"Garnet", "lastname"=>"Hegmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905c5977353339b71f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c5977353339b71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905c5977353339b71e0000/manager 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('54905c5977353339b7200000'), "name"=>"Kaleigh Gerhold", "reference"=>"Cleora Cassin V", "quantity"=>6}] 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=>"products", :query=>{}} runtime: 0.1905ms 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('54905c5977353339b7210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms Redirected to http://test.host/admin/products/54905c5977353339b7210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2820ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7220000'), "name"=>"Eleonore Cronin", "reference"=>"Eli Cremin", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2587ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905c5977353339b7220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms 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.2744ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7230000'), "name"=>"Wilma Jakubowski", "reference"=>"Kamren Wintheiser", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905c5977353339b7230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7240000'), "name"=>"Gerald Metz", "reference"=>"Moriah Witting", "quantity"=>6}] 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.5838ms Completed 200 OK in 11ms (Views: 10.7ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7250000'), "name"=>"Bethel Grimes", "reference"=>"Rogelio Swift MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 22ms (Views: 4.3ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7280000'), "name"=>"Maureen Farrell", "reference"=>"Dr. Nathan Crooks", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905c5977353339b7280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms 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('54905c5977353339b7290000'), "name"=>"Stacy Conn PhD", "reference"=>"Randy Ziemann", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c5977353339b7290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1121ms Redirected to http://test.host/admin/products/54905c5977353339b7290000 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('54905c5977353339b72a0000'), "firstname"=>"Bonnie", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2064ms 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('54905c5977353339b72b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms Redirected to http://test.host/admin/users/54905c5977353339b72b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1839ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5977353339b72c0000'), "firstname"=>"Cielo", "lastname"=>"Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms 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"=>"54905c5977353339b72c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5977353339b72c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5977353339b72c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms 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.1841ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5977353339b72d0000'), "firstname"=>"Florine", "lastname"=>"Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905c5977353339b72d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5977353339b72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (35.2ms) Completed 200 OK in 40ms (Views: 38.6ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5977353339b72e0000'), "firstname"=>"Haskell", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms 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.4146ms 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('54905c5977353339b72f0000'), "firstname"=>"Everett", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54905c5977353339b7300000'), "firstname"=>"Luisa", "lastname"=>"Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905c5977353339b7300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5977353339b7300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms 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('54905c5977353339b7310000'), "firstname"=>"Amalia", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c5977353339b7310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5977353339b7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905c5977353339b7310000 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('54905c5977353339b7320000'), "firstname"=>"Candelario", "lastname"=>"Price"}] 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=>"administrators", :query=>{}} runtime: 0.2289ms 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('54905c5977353339b7330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms 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.2575ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7340000'), "firstname"=>"Zoila", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0630ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905c5977353339b7340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5977353339b7340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4877ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.6ms) Completed 200 OK in 11ms (Views: 8.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7350000'), "firstname"=>"Doug", "lastname"=>"Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5961ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54905c5977353339b7360000'), "firstname"=>"Arely", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905c5977353339b7360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5977353339b7360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3946ms 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('54905c5977353339b7370000'), "firstname"=>"Justine", "lastname"=>"Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905c5977353339b7370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905c5977353339b7370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7380000'), "name"=>"Rico Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7390000'), "name"=>"Brando Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73a0000'), "name"=>"Demarco Fadel PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73b0000'), "name"=>"Hershel Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73c0000'), "name"=>"Christophe Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73d0000'), "name"=>"Ethel Fahey Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73e0000'), "name"=>"Dean Sporer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b73f0000'), "name"=>"Eugene Walter Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b73f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7400000'), "name"=>"Tia Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7410000'), "name"=>"Maryse Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7420000'), "name"=>"Freda Little DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7430000'), "name"=>"Agustin McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7440000'), "name"=>"Jammie Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7450000'), "name"=>"Alize Cummings"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7460000'), "name"=>"Mrs. Nettie Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7470000'), "name"=>"Vernie McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7480000'), "name"=>"Winnifred Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7490000'), "name"=>"Ms. Johnson Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74a0000'), "name"=>"Norbert Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b74a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74b0000'), "name"=>"Miller Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b74b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74c0000'), "name"=>"Cesar Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b74c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74d0000'), "name"=>"Belle Hamill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b74d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74e0000'), "name"=>"Miss Amie Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b74e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b74f0000'), "name"=>"Ms. Braeden Schuster"}] 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={"category_id"=>BSON::ObjectId('54905c5977353339b74f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7500000'), "name"=>"Selina White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7510000'), "name"=>"Charity Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7520000'), "name"=>"Ludie Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7530000'), "name"=>"Columbus VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7540000'), "name"=>"Jerrod Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7550000'), "name"=>"Frieda Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7560000'), "name"=>"Skyla Corkery MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7570000'), "name"=>"Miss Juliet Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7580000'), "name"=>"Isabel Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7590000'), "name"=>"Khalid Smitham III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75a0000'), "name"=>"Norris Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b75a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75b0000'), "name"=>"Mrs. Lilla Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b75b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75c0000'), "name"=>"Layla Wisoky V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b75c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75d0000'), "name"=>"Kobe Mills"}] 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={"category_id"=>BSON::ObjectId('54905c5977353339b75d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75e0000'), "name"=>"Emely Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b75e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b75f0000'), "name"=>"Imogene Blick PhD"}] 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={"category_id"=>BSON::ObjectId('54905c5977353339b75f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7600000'), "name"=>"Ms. Chelsie Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7610000'), "name"=>"Sarah Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7620000'), "name"=>"Miss Molly Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7630000'), "name"=>"Sabina Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7640000'), "name"=>"Griffin Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2231ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7650000'), "name"=>"Royal Brakus V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7660000'), "name"=>"Nat Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7670000'), "name"=>"Odie Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7680000'), "name"=>"Maximus Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7690000'), "name"=>"Mitchell Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 35.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76a0000'), "name"=>"Rodrick Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76b0000'), "name"=>"Ryleigh Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76c0000'), "name"=>"Gideon Aufderhar II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76d0000'), "name"=>"Coralie Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76e0000'), "name"=>"Julio Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b76f0000'), "name"=>"Miss Danial Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b76f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1977ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7700000'), "name"=>"Myra Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7710000'), "name"=>"Jaqueline Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1847ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7720000'), "name"=>"Cornell Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7730000'), "name"=>"Horace Kling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7740000'), "name"=>"Ms. Gwendolyn Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1676ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7750000'), "name"=>"Fannie Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7760000'), "name"=>"Dr. Maya Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7770000'), "name"=>"Fern Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7780000'), "name"=>"Rupert Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7790000'), "name"=>"Greyson Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77a0000'), "name"=>"Arturo Feest"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77b0000'), "name"=>"Ms. Rosemary Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77c0000'), "name"=>"Brooks Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77d0000'), "name"=>"Kirsten Moore DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77e0000'), "name"=>"Viviane Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b77f0000'), "name"=>"Ms. Amalia Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b77f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7800000'), "name"=>"Lempi Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7810000'), "name"=>"Ben Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7820000'), "name"=>"Miss Shaniya Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1994ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7830000'), "name"=>"Jamison Anderson II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7840000'), "name"=>"Stephany Oberbrunner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7850000'), "name"=>"Fannie Mertz MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7860000'), "name"=>"Jaquan Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7870000'), "name"=>"Leola Conroy V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7880000'), "name"=>"Mr. Sanford Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7890000'), "name"=>"Sanford Barrows V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78a0000'), "name"=>"Alek Franecki Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78b0000'), "name"=>"Juston Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78c0000'), "name"=>"Jordi Brakus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78d0000'), "name"=>"Merlin Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78e0000'), "name"=>"Cortney Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b78f0000'), "name"=>"Leone Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b78f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7900000'), "name"=>"Joesph Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1754ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7910000'), "name"=>"Colten Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7920000'), "name"=>"Jackie Muller DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7930000'), "name"=>"Alysha Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7940000'), "name"=>"Ima Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7950000'), "name"=>"Jamey Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7960000'), "name"=>"Cyril Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7970000'), "name"=>"Cristal Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1756ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1861ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Redirected to http://test.host/categories/54905c5977353339b7980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2726ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7990000'), "name"=>"Nora Christiansen II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1935ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905c5977353339b7990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b7990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b7990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2002ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b79a0000'), "name"=>"Juliana Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905c5977353339b79a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 11ms (Views: 9.3ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b79b0000'), "name"=>"Julie Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306020314497] runtime: 0.0945ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2869ms Completed 200 OK in 17ms (Views: 16.4ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b79c0000'), "name"=>"Dr. Providenci Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 25.4744ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306160795825] runtime: 0.1012ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2947ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b79d0000'), "name"=>"Donnie Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.7ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b79f0000'), "name"=>"Israel Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1990ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905c5977353339b79f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b79f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a00000'), "name"=>"Gustave Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905c5977353339b7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905c5977353339b7a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905c5977353339b7a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('54905c5977353339b7a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms Redirected to http://test.host/categories/54905c5977353339b7a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a10000'), "name"=>"Arielle Schinner Jr.", "reference"=>"Remington Carroll", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7a20000'), "author_name"=>"Dolores Hickle", "content"=>["Neque et vitae quia eum eaque. Sit voluptas quaerat velit nihil tempora est. Qui officiis quasi sequi et id numquam itaque. Commodi consequatur dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a30000'), "name"=>"Coralie Witting", "reference"=>"Pierre Stiedemann", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7a40000'), "author_name"=>"Maci Morissette II", "content"=>["Quis harum voluptatum laudantium aliquam aut quae. Omnis odio ut. Quis sed eum delectus ratione. Qui aut mollitia a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905c5977353339b7a30000", "id"=>"54905c5977353339b7a40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a30000')} 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('54905c5977353339b7a30000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905c5977353339b7a40000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Redirected to http://test.host/products/54905c5977353339b7a30000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a50000'), "name"=>"Alexanne Bartoletti DDS", "reference"=>"Mack Mertz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7a60000'), "author_name"=>"Justina Shanahan", "content"=>["Est nemo praesentium. Excepturi sed consequatur alias aut quae facilis nostrum. Excepturi dolorem quisquam minima."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905c5977353339b7a50000", "id"=>"54905c5977353339b7a60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a70000'), "name"=>"Jillian Kub", "reference"=>"Micaela Bayer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7a80000'), "author_name"=>"Ms. Eleazar Kiehn", "content"=>["Deleniti ipsam ut et earum rem est quam. Expedita ad consectetur est repellendus nemo omnis. Aut necessitatibus molestiae voluptatibus molestias placeat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905c5977353339b7a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7a90000'), "name"=>"Camren Bins", "reference"=>"Norris Lesch", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7aa0000'), "author_name"=>"Maryam Schmitt", "content"=>["Ut non nemo in et qui. Sit amet distinctio earum hic. Soluta repellendus sequi ab et vero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905c5977353339b7a90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7ab0000'), "name"=>"Reba Pacocha", "reference"=>"Tamara Wiegand MD", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7ac0000'), "author_name"=>"Susanna Morissette Jr.", "content"=>["Est provident consequuntur. Aut sed accusantium voluptatum voluptas omnis ut. Quo natus aut. Magni ut sit dolore ea sequi cumque. Consequatur est labore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905c5977353339b7ab0000", "id"=>"54905c5977353339b7ac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7ad0000'), "name"=>"Craig Reynolds", "reference"=>"Aaliyah Quigley", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7ae0000'), "author_name"=>"Ima Borer", "content"=>["Voluptas aliquam et ut minus qui soluta sed. Dolor doloribus quasi voluptas delectus. Aut ut amet veritatis officia est molestias perspiciatis. Est totam voluptatum quibusdam ut expedita id voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905c5977353339b7ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.2ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7af0000'), "name"=>"Dr. Roma Casper", "reference"=>"Armando Lind", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7b00000'), "author_name"=>"Forrest Rohan", "content"=>["Impedit voluptatem blanditiis omnis sapiente earum at. Est error voluptate atque. Quas quos sunt cumque aut dolor aliquid maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905c5977353339b7af0000", "id"=>"54905c5977353339b7b00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7b10000'), "name"=>"Bart Kirlin IV", "reference"=>"Ada Wolf", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905c5977353339b7b20000'), "author_name"=>"Vincenza Stamm I", "content"=>["Et ut excepturi ab molestias maxime ut voluptatem. Consequuntur illo error assumenda qui neque recusandae quod. Nobis aut harum molestiae consequatur rerum. Aut voluptatum eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c5977353339b7b20000", "product_id"=>"54905c5977353339b7b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7b10000')} 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('54905c5977353339b7b10000'), "comments._id"=>BSON::ObjectId('54905c5977353339b7b20000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms Redirected to http://test.host/products/54905c5977353339b7b10000/comments/54905c5977353339b7b20000 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('54905c5977353339b7b30000'), "firstname"=>"Felicita", "lastname"=>"Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms 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('54905c5977353339b7b40000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms Redirected to http://test.host/admin/clients/54905c5977353339b7b40000 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_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7b50000'), "firstname"=>"Connor", "lastname"=>"Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1069ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1492ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c5977353339b7b50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7b50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms 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.1626ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7b60000'), "firstname"=>"Jaeden", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c5977353339b7b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54905c5977353339b7b70000'), "firstname"=>"Blanca", "lastname"=>"Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms 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('54905c5977353339b7b80000'), "firstname"=>"Kyleigh", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905c5977353339b7b90000'), "firstname"=>"Tony", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c5977353339b7b90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms 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('54905c5977353339b7ba0000'), "firstname"=>"August", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905c5977353339b7ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7ba0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Redirected to http://test.host/admin/clients/54905c5977353339b7ba0000 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('54905c5977353339b7bb0000'), "firstname"=>"Yessenia", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1940ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7bc0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms Redirected to http://test.host/clients/54905c5977353339b7bc0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1562ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7bd0000'), "firstname"=>"Toney", "lastname"=>"Zieme"}] 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=>"clients", :query=>{}} runtime: 0.1956ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905c5977353339b7bd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7bd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7bd0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms 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.2025ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7be0000'), "firstname"=>"Tyson", "lastname"=>"Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905c5977353339b7be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Rendered /home/geoffroy/projects/crealettres/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('54905c5977353339b7bf0000'), "firstname"=>"Aniya", "lastname"=>"Yundt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4879ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4614ms 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('54905c5977353339b7c00000'), "firstname"=>"Mohamed", "lastname"=>"Schneider"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905c5977353339b7c10000'), "firstname"=>"Giovanni", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905c5977353339b7c10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms 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('54905c5977353339b7c20000'), "firstname"=>"Vella", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905c5977353339b7c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905c5977353339b7c20000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Redirected to http://test.host/clients/54905c5977353339b7c20000 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('54905c5977353339b7c30000'), "name"=>"Miss Idella Littel", "reference"=>"Allen Kautzer", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7c40000'), "firstname"=>"Lorna", "lastname"=>"Beahan"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5981ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905c5977353339b7c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7c30000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7c30000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7c50000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms Redirected to http://test.host/products/54905c5977353339b7c30000/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('54905c5977353339b7c60000'), "name"=>"Kitty Crooks", "reference"=>"Raleigh Glover", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7c70000'), "firstname"=>"Jalyn", "lastname"=>"Collier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905c5977353339b7c70000", "product_id"=>"54905c5977353339b7c60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7c80000'), "name"=>"Carissa Renner", "reference"=>"Leda Rice", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7c90000'), "firstname"=>"Jamir", "lastname"=>"Turcotte"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5282ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905c5977353339b7c80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5977353339b7ca0000'), "name"=>"Delbert Larson DDS", "reference"=>"Shannon Rosenbaum", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905c5977353339b7cb0000'), "firstname"=>"Sarai", "lastname"=>"Heidenreich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905c5977353339b7cb0000", "product_id"=>"54905c5977353339b7ca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5977353339b7ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms Completed 200 OK in 31ms (Views: 29.5ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7cc0000'), "name"=>"Mr. Abdullah Haley", "reference"=>"Lucy MacGyver", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905c5a77353339b7cd0000'), "firstname"=>"Price", "lastname"=>"Weissnat"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9691ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905c5a77353339b7cd0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905c5a77353339b7cc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms Unpermitted parameters: name Redirected to http://test.host/products/54905c5a77353339b7cc0000/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('54905c5a77353339b7ce0000'), "name"=>"Dr. Trenton Gleichner", "reference"=>"Dr. Gideon Gleichner", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6082ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7cf0000'), "name"=>"Alysha West V", "reference"=>"Rod Howell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d00000'), "name"=>"Evangeline Mueller", "reference"=>"Estell Crona", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d10000'), "name"=>"Miss Estrella Russel", "reference"=>"Julius Hegmann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d20000'), "name"=>"Shaniya Dicki", "reference"=>"Caleigh Lemke", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d30000'), "name"=>"Amos Walker", "reference"=>"Broderick McGlynn", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.1894ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d40000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Redirected to http://test.host/products/54905c5a77353339b7d40000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1941ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d50000'), "name"=>"Lacy Lang Jr.", "reference"=>"Samir Gleichner Jr.", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1668ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54905c5a77353339b7d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7d50000')} 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={"_id"=>BSON::ObjectId('54905c5a77353339b7d50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms 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.1768ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d60000'), "name"=>"Emanuel Senger", "reference"=>"Bo Beatty", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905c5a77353339b7d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('54905c5a77353339b7d70000'), "name"=>"Dawson Corkery", "reference"=>"Anjali Bashirian", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281152505212] runtime: 0.0961ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2348ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d80000'), "name"=>"Piper Hills", "reference"=>"Lauren O'Connell", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7d90000'), "name"=>"HelloWorld", "reference"=>"Emily DuBuque", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7da0000'), "name"=>"value", "reference"=>"Jasen Glover I", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4326ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2835ms Completed 200 OK in 6ms (Views: 5.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2596ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1948ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1651ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2529ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2379ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2001ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1583ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7db0000'), "name"=>"Thora Yost", "reference"=>"Onie Klein", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9214ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279633530246] runtime: 0.1093ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3160ms Completed 200 OK in 44ms (Views: 43.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120464520] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820719325] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279683457731] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280561501621] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280481186865] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451235749] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7843ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281211762062] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392779878] runtime: 0.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280873036088] runtime: 0.0732ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280008000106] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314306905] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7941ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280626004613] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309134535] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161578261] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279509640190] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280601363155] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6443ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281058028598] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280503749815] runtime: 0.0659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280009628656] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457475202] runtime: 0.0795ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279880981946] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279287290495] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280080843022] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423276587] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281282151233] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344000171] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280110811666] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780480331] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6381ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279538089211] runtime: 0.0668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281203023004] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281064472308] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280252391407] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056858235] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5828ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279271163794] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281070293251] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 34.7319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279411924904] runtime: 0.0971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279791394460] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187647170] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280460702612] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280279295867] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281120192743] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7643ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314950109] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821564335] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279403006846] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279367441583] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279709695378] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933374083] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279822107291] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279508574022] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279407223801] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672834500] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529221308] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280618249102] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634010776] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280792206042] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279415733664] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281007889722] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6225ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280967043756] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279750369010] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279680185250] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116456082] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280784610815] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279658494785] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279620205214] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571928957] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342300723] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861581879] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289353922] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5707ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280011900018] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279845201809] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280910385092] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279955753230] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279318559165] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280385010006] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5699ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280552026618] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280023622411] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5715ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280475801585] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279305642523] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279368022269] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011367865] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280926530405] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279713375572] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279816132607] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667498091] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280263065890] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5427ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279785099692] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280364683891] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309218557] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279579519524] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279928285246] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279820320231] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279545755174] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279553184527] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279423749820] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281019642496] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280418611682] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5371ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243989198] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280600137499] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5412ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773046347] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279557051684] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279243160678] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189829484] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280886611036] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5377ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280251660937] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280113999274] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279564918052] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280738608383] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281235166574] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293247140] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887482225] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280733344644] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280370334255] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279907157778] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279789278276] runtime: 25.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281033657748] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5429ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850187988] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279737782810] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279550131679] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280026224489] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279487116730] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281018289909] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280911008784] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282653141] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5785ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202383630] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279657659267] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280422077787] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279830544009] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279690526410] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908362161] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280060620829] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145263999] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280271227881] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279709894489] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280700662364] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280570375678] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7233ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280541908157] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7226ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280843481432] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280360594852] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133374302] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520546140] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279497451298] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7431ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388950240] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280536228873] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281090461840] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280716101708] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7447ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280773614557] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279563099989] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279266723261] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314333930] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280951660400] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047424402] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7348ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280612243509] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279350560034] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7971ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280518207135] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8022ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622891206] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279564361481] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655263380] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161934814] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280175951] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280287719773] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280215093329] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280207613979] runtime: 0.0574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279470664658] runtime: 0.0492ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7dc0000'), "name"=>"Lauriane Paucek", "reference"=>"Terrill Osinski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3380ms Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7dd0000'), "name"=>"Dr. Beulah Reilly", "reference"=>"Aurelio Abshire", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5191ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280072407393] runtime: 0.0678ms Completed 200 OK in 5ms (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('54905c5a77353339b7de0000'), "name"=>"Westley Rutherford", "reference"=>"Daren Kuhlman MD", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905c5a77353339b7de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms 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('54905c5a77353339b7df0000'), "name"=>"Ms. Henriette Bradtke", "reference"=>"Kiley Bogan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 5.1ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e10000'), "name"=>"Janie Ortiz", "reference"=>"Kim Ullrich PhD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.7762ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905c5a77353339b7e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Completed 200 OK in 9ms (Views: 5.9ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e20000'), "name"=>"Ayden Swaniawski", "reference"=>"Jarrell Huels Sr.", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7730ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5277ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5877353339b7060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 8ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5039ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 38ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e30000'), "name"=>"Judah Nitzsche", "reference"=>"Zachariah Doyle", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3075ms Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e40000'), "name"=>"Ms. Zelma Rolfson", "reference"=>"Pearline Lesch", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4789ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4202ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3607ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e50000'), "name"=>"Berta Schultz", "reference"=>"Merlin Pfeffer", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.2259ms 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('54905c5a77353339b7e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2321ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7e70000'), "name"=>"Bennie Corkery", "reference"=>"Makayla Robel MD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905c5a77353339b7e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7e70000')} 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={"_id"=>BSON::ObjectId('54905c5a77353339b7e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8818ms Completed 200 OK in 7ms (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('54905c5a77353339b7e80000'), "name"=>"Nakia Kerluke V", "reference"=>"Waldo Kutch", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms 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('54905c5a77353339b7ea0000'), "name"=>"Coy Boehm", "reference"=>"Ms. Luna Ortiz", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c5a77353339b7ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7ea0000')} 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('54905c5a77353339b7ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms 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('54905c5a77353339b7eb0000'), "name"=>"Ms. Eleanore Daugherty", "reference"=>"Miss Avery Bosco", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905c5a77353339b7eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7eb0000')} 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('54905c5a77353339b7eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms Redirected to http://test.host/products/54905c5a77353339b7eb0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7ee0000'), "name"=>"Annalise Denesik", "reference"=>"Marcos Maggio", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7ec0000'), "author_name"=>"D'angelo Shields", "content"=>["Quia sit ut quidem sit possimus occaecati est. In necessitatibus voluptatem dolor aspernatur quo ea. Saepe earum minima perspiciatis."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7ed0000'), "author_name"=>"Annamae Goodwin", "content"=>["Est enim temporibus dolores ullam. Vitae et nesciunt. Necessitatibus voluptate quos. Quae voluptatum deserunt aut molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905c5a77353339b7ee0000", "comment_id"=>"54905c5a77353339b7ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7ee0000'), "comments._id"=>BSON::ObjectId('54905c5a77353339b7ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c5a77353339b7ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Redirected to http://test.host/products/54905c5a77353339b7ee0000/comments/54905c5a77353339b7ec0000/comments/54905c5a77353339b7ef0000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7f20000'), "name"=>"Blaise Batz III", "reference"=>"Lue Hintz DVM", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f00000'), "author_name"=>"Deshawn Watsica", "content"=>["Fugit dolores ducimus quas sunt qui asperiores quia. Enim aut commodi ex dolores est voluptate sit. Est ea eveniet. Laboriosam labore deleniti sed ab saepe dignissimos."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f10000'), "author_name"=>"Fae Gutkowski", "content"=>["Sed minus id temporibus ut at neque et. Optio debitis sunt illum perspiciatis placeat eos. Ad eum voluptatem ut. Expedita eum vero modi neque distinctio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905c5a77353339b7f20000", "comment_id"=>"54905c5a77353339b7f00000", "id"=>"54905c5a77353339b7f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f20000'), "comments._id"=>BSON::ObjectId('54905c5a77353339b7f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905c5a77353339b7f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms Redirected to http://test.host/products/54905c5a77353339b7f20000/comments/54905c5a77353339b7f00000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7f50000'), "name"=>"Zoey Lebsack", "reference"=>"Alaina Cartwright", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f30000'), "author_name"=>"Jess Koepp IV", "content"=>["Vero aut unde et deserunt eligendi sit. Corporis totam consequuntur corrupti odio incidunt nobis. Et doloribus aut sunt sed dolorem esse id. Numquam dolorem amet qui odit quae."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f40000'), "author_name"=>"Fay Osinski", "content"=>["Iure consectetur assumenda perferendis rem aut ut. Similique quisquam explicabo aut dicta et nulla qui. Voluptatem consequatur quia assumenda cum dolore ullam. Minus illum recusandae tempore sunt id. Nihil hic aut neque."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905c5a77353339b7f50000", "comment_id"=>"54905c5a77353339b7f30000", "id"=>"54905c5a77353339b7f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7f80000'), "name"=>"Shyanne Crona II", "reference"=>"Elias Huel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f60000'), "author_name"=>"Marcelino Herman", "content"=>["Ut beatae at quo. Veniam ea et voluptate. Ipsum voluptatem neque sed quis. Voluptas delectus ipsa harum veniam qui repudiandae. Perferendis perspiciatis laboriosam dolorum eius suscipit iste aut."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f70000'), "author_name"=>"Oma Nikolaus", "content"=>["Voluptatem cupiditate consequuntur sed laudantium et et. Ut totam dolorem voluptates itaque ipsum. Praesentium autem cum tenetur et quam. Quia molestias beatae at nostrum recusandae. Aperiam saepe enim amet fugiat magnam unde consequatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905c5a77353339b7f80000", "comment_id"=>"54905c5a77353339b7f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3392ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7fb0000'), "name"=>"Zena Shields", "reference"=>"Stacy Hackett", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7f90000'), "author_name"=>"Mrs. Brooks Block", "content"=>["Ut qui itaque distinctio voluptatem. Enim veritatis assumenda voluptate. Dolorem placeat quos. Aut placeat et architecto neque."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7fa0000'), "author_name"=>"Ms. Arlie Stiedemann", "content"=>["Excepturi accusamus fugiat omnis et numquam. Aut recusandae omnis aut eligendi. Voluptatem labore fugiat tempore eligendi odit quia. Sed sint nulla cumque impedit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905c5a77353339b7fb0000", "comment_id"=>"54905c5a77353339b7f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7fe0000'), "name"=>"Jada Predovic DDS", "reference"=>"Levi Lynch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7fc0000'), "author_name"=>"Denis Haley", "content"=>["Est sit eaque quia explicabo laborum. Et voluptates dolor nam ipsum. Necessitatibus omnis sunt non dolore. Totam ea quam quis."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7fd0000'), "author_name"=>"Dangelo Frami", "content"=>["Sed dolorem ut excepturi quod cumque id. Ratione doloremque sit pariatur quia aperiam molestiae quas. Sunt qui iste magni ut. Laborum sit enim."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905c5a77353339b7fe0000", "comment_id"=>"54905c5a77353339b7fc0000", "id"=>"54905c5a77353339b7fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7010100'), "name"=>"Cleveland Kerluke", "reference"=>"Katelyn Reynolds III", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7ff0000'), "author_name"=>"Evans Zieme", "content"=>["Odio sed eveniet quod quae ducimus. Ut et ipsum similique quos. Quibusdam nemo exercitationem ex rerum qui laudantium nisi. Dolores culpa veritatis est fugit consequatur magni eveniet."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7000100'), "author_name"=>"Miss Mireya Hintz", "content"=>["Quo omnis dolorum aut ut assumenda alias qui. Nam ipsa est. Vero voluptas blanditiis est. Magnam officiis et et. Dolores quia magni omnis sit voluptatem saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5860ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905c5a77353339b7010100", "comment_id"=>"54905c5a77353339b7ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7040100'), "name"=>"Aracely Cartwright", "reference"=>"Brenden Wisoky", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7020100'), "author_name"=>"Hassan Hyatt", "content"=>["Et delectus dicta omnis illo. Nisi voluptas qui consequatur consequatur esse veritatis. Et deleniti impedit eaque."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7030100'), "author_name"=>"Valentin Dooley", "content"=>["Qui quia perspiciatis aut. Eveniet rerum vel magni voluptates temporibus nostrum. Minima architecto et. Explicabo repellat non aut ducimus voluptatibus voluptatem. Ea officiis provident quis dolores dolorem est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6076ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905c5a77353339b7040100", "comment_id"=>"54905c5a77353339b7020100", "id"=>"54905c5a77353339b7030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b7070100'), "name"=>"Karli Robel IV", "reference"=>"Raegan Jenkins", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7050100'), "author_name"=>"Vivianne Luettgen II", "content"=>["Vel eum fugit. Sit quod aperiam sint. Unde nostrum ex qui. Dolor et reprehenderit possimus libero atque velit."], "comments"=>[{"_id"=>BSON::ObjectId('54905c5a77353339b7060100'), "author_name"=>"Kip Marvin", "content"=>["Perspiciatis enim ut nihil aliquid quae fuga consequuntur. Est eveniet est. Nulla consequuntur minus possimus vel adipisci laboriosam. Nulla a quam ea praesentium similique adipisci cum. Tempore ex ea."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5551ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905c5a77353339b7060100", "product_id"=>"54905c5a77353339b7070100", "comment_id"=>"54905c5a77353339b7050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4191ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905c5a77353339b7070100'), "comments._id"=>BSON::ObjectId('54905c5a77353339b7050100'), "comments.0.comments._id"=>BSON::ObjectId('54905c5a77353339b7060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7238ms Redirected to http://test.host/products/54905c5a77353339b7070100/comments/54905c5a77353339b7050100/comments/54905c5a77353339b7060100 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('54905c5a77353339b7080100'), "firstname"=>"Alivia", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5558ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2385ms 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('54905c5a77353339b7090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms Redirected to http://test.host/users/54905c5a77353339b7090100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2501ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b70a0100'), "firstname"=>"Reina", "lastname"=>"Rolfson"}] 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.1847ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905c5a77353339b70a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5a77353339b70a0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5a77353339b70a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms 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.1862ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b70b0100'), "firstname"=>"Jayme", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905c5a77353339b70b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5a77353339b70b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.7ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b70c0100'), "firstname"=>"Adan", "lastname"=>"Johnson"}] 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.3719ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905c5a77353339b70d0100'), "firstname"=>"Cesar", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905c5a77353339b70e0100'), "firstname"=>"Kaylin", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905c5a77353339b70e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5a77353339b70e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms 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('54905c5a77353339b70f0100'), "firstname"=>"Keshaun", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8712ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905c5a77353339b70f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905c5a77353339b70f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Unpermitted parameters: name Redirected to http://test.host/users/54905c5a77353339b70f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms 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.2591ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms 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.2059ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms 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.1979ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85000000'), "firstname"=>"Markus", "lastname"=>"Stanton"}] 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=>"administrators", :query=>{}} runtime: 0.1760ms 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('54905d097735333a85010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms 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.2421ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85020000'), "firstname"=>"Lucienne", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905d097735333a85020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 19ms (Views: 17.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85030000'), "firstname"=>"Lyla", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85040000'), "firstname"=>"Laury", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905d097735333a85040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85050000'), "firstname"=>"Iliana", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905d097735333a85050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms 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('54905d097735333a85060000'), "name"=>"Itzel Thompson", "reference"=>"Roger Jerde", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a85070000'), "author_name"=>"Della Aufderhar", "content"=>["In pariatur ea odit sunt ut molestiae enim. Praesentium consequatur quis officia ratione. Unde debitis provident facilis ea. Ea nemo rerum ut qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905d097735333a85060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905d097735333a85080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Redirected to http://test.host/admin/products/54905d097735333a85060000/comments/54905d097735333a85080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85090000'), "name"=>"Mrs. Colleen Conn", "reference"=>"Delphine Wiegand", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a850a0000'), "author_name"=>"Dakota Cassin", "content"=>["Quis cum ipsam sequi. Cumque quidem quam voluptatum et. Eaque commodi modi. Qui delectus ab eaque nihil voluptatem vel veritatis. Ex qui cumque quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905d097735333a85090000", "id"=>"54905d097735333a850a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905d097735333a850a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Redirected to http://test.host/admin/products/54905d097735333a85090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a850b0000'), "name"=>"Carmelo Glover Jr.", "reference"=>"Callie Cronin", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a850c0000'), "author_name"=>"Alyson Rempel PhD", "content"=>["Autem adipisci aut. Nesciunt sunt sit tempore quisquam ducimus. Et sint beatae molestiae doloremque nulla voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905d097735333a850b0000", "id"=>"54905d097735333a850c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a850b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.8ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a850d0000'), "name"=>"Rico Stark", "reference"=>"Elaina Purdy III", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a850e0000'), "author_name"=>"Brody Stark", "content"=>["Dolores sequi eum error rem doloribus molestias optio. Id laboriosam ab quo. Ab reprehenderit vitae ratione. Temporibus id blanditiis cum eveniet quia voluptas laborum. Iste pariatur et quia quia similique aspernatur temporibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905d097735333a850d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a850d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a850f0000'), "name"=>"Miss Thelma Johns", "reference"=>"Salvador Frami Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a85100000'), "author_name"=>"Roel Bednar V", "content"=>["Quam doloribus voluptatibus cumque dicta vel delectus. A itaque veritatis nisi totam. Inventore sunt vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905d097735333a850f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a850f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85110000'), "name"=>"Mr. Laurel Stark", "reference"=>"Chauncey Bailey", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a85120000'), "author_name"=>"Yasmin Ward", "content"=>["Fugit amet reprehenderit beatae. Aut omnis sint et. Quo neque id ut ut ipsa. Ut pariatur fugiat possimus nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5339ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905d097735333a85110000", "id"=>"54905d097735333a85120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85130000'), "name"=>"Miss Betsy Douglas", "reference"=>"Ryley Kunze", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905d097735333a85140000'), "author_name"=>"Alvena Klocko DVM", "content"=>["Et odio corporis sed consequuntur officiis expedita maxime. Qui non saepe. Dignissimos molestiae assumenda reprehenderit corporis dolores doloribus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905d097735333a85140000", "product_id"=>"54905d097735333a85130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85130000'), "comments._id"=>BSON::ObjectId('54905d097735333a85140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6187ms Redirected to http://test.host/admin/products/54905d097735333a85130000/comments/54905d097735333a85140000 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('54905d097735333a85150000'), "name"=>"Edmond Johns", "reference"=>"Mrs. Myrtis Hickle", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905d097735333a85160000'), "firstname"=>"Wendy", "lastname"=>"Johnston"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905d097735333a85150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905d097735333a85170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms Redirected to http://test.host/admin/products/54905d097735333a85150000/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('54905d097735333a85180000'), "name"=>"Dusty Lindgren", "reference"=>"Stephan Hartmann", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905d097735333a85190000'), "firstname"=>"Holly", "lastname"=>"Schultz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905d097735333a85190000", "product_id"=>"54905d097735333a85180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.6ms) Completed 200 OK in 38ms (Views: 35.9ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a851a0000'), "name"=>"Miss Van Zieme", "reference"=>"Athena Boyle Jr.", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905d097735333a851b0000'), "firstname"=>"Marie", "lastname"=>"Lind"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5616ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905d097735333a851a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a851a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3415ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a851c0000'), "name"=>"Amber Monahan", "reference"=>"Austyn Krajcik", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905d097735333a851d0000'), "firstname"=>"Jacquelyn", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5402ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905d097735333a851d0000", "product_id"=>"54905d097735333a851c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a851c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a851e0000'), "name"=>"Jacinto Rath", "reference"=>"Jocelyn Mills", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54905d097735333a851f0000'), "firstname"=>"Henry", "lastname"=>"Haag"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905d097735333a851f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905d097735333a851e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a851e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905d097735333a851e0000/manager 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('54905d097735333a85200000'), "name"=>"Gabriel Medhurst", "reference"=>"London Fisher", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5304ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2724ms 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('54905d097735333a85210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms Redirected to http://test.host/admin/products/54905d097735333a85210000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1697ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85220000'), "name"=>"Ryleigh Romaguera", "reference"=>"Miracle Kozey I", "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.2334ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905d097735333a85220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85220000')} 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={"_id"=>BSON::ObjectId('54905d097735333a85220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms 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.2327ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85230000'), "name"=>"Herminia Kuphal", "reference"=>"Javier Osinski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905d097735333a85230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85240000'), "name"=>"Kory Hayes I", "reference"=>"Adrain Kling", "quantity"=>6}] 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.6106ms Completed 200 OK in 11ms (Views: 10.5ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d097735333a85250000'), "name"=>"Mr. Coy Johnston", "reference"=>"Sarah Aufderhar", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 22ms (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('54905d097735333a85280000'), "name"=>"Kallie Brakus I", "reference"=>"Mr. Lauryn Kassulke", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905d097735333a85280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms 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('54905d097735333a85290000'), "name"=>"Carmella Jones", "reference"=>"Mr. Trinity Cartwright", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7052ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905d097735333a85290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85290000')} 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('54905d097735333a85290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms Redirected to http://test.host/admin/products/54905d097735333a85290000 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('54905d097735333a852a0000'), "firstname"=>"Mikayla", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2592ms 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('54905d097735333a852b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Redirected to http://test.host/admin/users/54905d097735333a852b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2471ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d097735333a852c0000'), "firstname"=>"Ariel", "lastname"=>"Wyman"}] 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=>"admin_users", :query=>{}} runtime: 0.2454ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905d097735333a852c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d097735333a852c0000')} 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('54905d097735333a852c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms 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.2457ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d097735333a852d0000'), "firstname"=>"Tatyana", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905d097735333a852d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d097735333a852d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.6ms) Completed 200 OK in 41ms (Views: 39.9ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d097735333a852e0000'), "firstname"=>"Janae", "lastname"=>"Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5508ms 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.4949ms Completed 200 OK in 6ms (Views: 5.6ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d097735333a852f0000'), "firstname"=>"Raheem", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905d097735333a85300000'), "firstname"=>"Elaina", "lastname"=>"Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4855ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905d097735333a85300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d097735333a85300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d097735333a85310000'), "firstname"=>"Carmella", "lastname"=>"Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905d097735333a85310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d097735333a85310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905d097735333a85310000 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('54905d097735333a85320000'), "firstname"=>"Lucienne", "lastname"=>"Ferry"}] 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=>"administrators", :query=>{}} runtime: 0.2731ms 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('54905d097735333a85330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8532ms Redirected to http://test.host/administrator Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2535ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85340000'), "firstname"=>"Thelma", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905d097735333a85340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85350000'), "firstname"=>"Tiara", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85360000'), "firstname"=>"Maud", "lastname"=>"Pollich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905d097735333a85360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4441ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905d097735333a85370000'), "firstname"=>"Gerald", "lastname"=>"McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905d097735333a85370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905d097735333a85370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85380000'), "name"=>"Travis Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85390000'), "name"=>"Amos Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853a0000'), "name"=>"Priscilla Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853b0000'), "name"=>"Zoila Mills DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853c0000'), "name"=>"Mr. Sebastian Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853d0000'), "name"=>"Dr. Beulah Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853e0000'), "name"=>"Dallin Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a853f0000'), "name"=>"Earnestine Wilkinson MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a853f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85400000'), "name"=>"Guiseppe Jaskolski III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85410000'), "name"=>"Estrella Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85420000'), "name"=>"Maeve Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85430000'), "name"=>"Clifton Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85440000'), "name"=>"Mia Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85450000'), "name"=>"Cynthia Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85460000'), "name"=>"Gennaro McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85470000'), "name"=>"Dolores Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85480000'), "name"=>"Litzy Gaylord Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85490000'), "name"=>"Miss Alexa Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854a0000'), "name"=>"Elmer Dickens Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854b0000'), "name"=>"Carolyn Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1534ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854c0000'), "name"=>"Alexis Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854d0000'), "name"=>"Manley Terry Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854e0000'), "name"=>"Ms. Dejon Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a854f0000'), "name"=>"Brionna Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a854f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85500000'), "name"=>"Jovani Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85510000'), "name"=>"Ricardo McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85520000'), "name"=>"Myra Will"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85530000'), "name"=>"Mr. Mittie Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1338ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85540000'), "name"=>"Clemens Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85550000'), "name"=>"Haylee Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1313ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85560000'), "name"=>"Devyn Kling Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85570000'), "name"=>"Kory Kris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85580000'), "name"=>"Dusty Thiel MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85590000'), "name"=>"Ms. Anjali Gulgowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855a0000'), "name"=>"Shania Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855b0000'), "name"=>"Aditya Nolan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1312ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855c0000'), "name"=>"Fannie Quigley V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855d0000'), "name"=>"Marcelle Kuphal MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855e0000'), "name"=>"Jonathan Okuneva III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a855f0000'), "name"=>"Myrtie Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a855f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85600000'), "name"=>"Dr. Alexandra Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85610000'), "name"=>"Elisabeth Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85620000'), "name"=>"Bryana Hilpert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85630000'), "name"=>"Mrs. Phyllis Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85640000'), "name"=>"Sister Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85650000'), "name"=>"Geovany White"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85660000'), "name"=>"Jacques Tromp DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85670000'), "name"=>"Nola Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85680000'), "name"=>"Miss Delmer Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85690000'), "name"=>"Michale Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1691ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856a0000'), "name"=>"Treva Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856b0000'), "name"=>"Viva Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856c0000'), "name"=>"Cora Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856d0000'), "name"=>"Gerardo Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856e0000'), "name"=>"Ms. Dave Greenfelder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a856f0000'), "name"=>"Amaya Stehr DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a856f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1861ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85700000'), "name"=>"Mrs. Theodora Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85710000'), "name"=>"Lavina Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85720000'), "name"=>"Anya Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85730000'), "name"=>"Camilla Gottlieb Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85740000'), "name"=>"Marisa Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85750000'), "name"=>"Emmanuel Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85760000'), "name"=>"Aida Spencer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85770000'), "name"=>"Kobe O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85780000'), "name"=>"Aric Medhurst V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a85790000'), "name"=>"Christine Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a85790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a857a0000'), "name"=>"Jaleel Effertz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a857a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a857b0000'), "name"=>"Kris Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a857b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a857c0000'), "name"=>"Carmella Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a857c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a857d0000'), "name"=>"Adele Padberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a857d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d097735333a857e0000'), "name"=>"Wendy Volkman IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d097735333a857e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a857f0000'), "name"=>"Antonio Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a857f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85800000'), "name"=>"Pink Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85810000'), "name"=>"Lorenza Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85820000'), "name"=>"John Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85830000'), "name"=>"Victoria Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85840000'), "name"=>"Shaniya Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85850000'), "name"=>"Emerson Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85860000'), "name"=>"Kristy Volkman IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85870000'), "name"=>"Susanna Mraz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85880000'), "name"=>"Leora Prosacco DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85890000'), "name"=>"Darian Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858a0000'), "name"=>"Verda McLaughlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858b0000'), "name"=>"Jaeden O'Connell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858c0000'), "name"=>"Jennyfer Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858d0000'), "name"=>"Ms. Nikko Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858e0000'), "name"=>"Velda Mills I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a858f0000'), "name"=>"Eva Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a858f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85900000'), "name"=>"Macy Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85910000'), "name"=>"Alfred Zemlak III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85920000'), "name"=>"Edythe Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85930000'), "name"=>"Emile Christiansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85940000'), "name"=>"Miss Daphnee Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85950000'), "name"=>"Mr. Berta Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85960000'), "name"=>"Maegan Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85970000'), "name"=>"Emmett Dach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1693ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1576ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms Redirected to http://test.host/categories/54905d0a7735333a85980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1873ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85990000'), "name"=>"Allen Konopelski V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1703ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905d0a7735333a85990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a85990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a85990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1762ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a859a0000'), "name"=>"Jocelyn Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1730ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905d0a7735333a859a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a859a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.8ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a859b0000'), "name"=>"Chauncey Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1792ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3912ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305378917262] runtime: 0.1043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2186ms Completed 200 OK in 15ms (Views: 14.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a859c0000'), "name"=>"Sigurd Donnelly Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305680667344] runtime: 0.1073ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2567ms Completed 200 OK in 9ms (Views: 8.7ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a859d0000'), "name"=>"Elisabeth Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 7ms (Views: 6.2ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a859f0000'), "name"=>"Ludwig Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905d0a7735333a859f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a859f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a859f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85a00000'), "name"=>"Mariana Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905d0a7735333a85a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905d0a7735333a85a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('54905d0a7735333a85a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms Redirected to http://test.host/categories/54905d0a7735333a85a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85a10000'), "name"=>"Noemy Aufderhar", "reference"=>"Sunny Gerhold DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85a20000'), "author_name"=>"Ms. Gail Wehner", "content"=>["Commodi qui dicta officiis sed. Eum doloremque minima ullam officia suscipit. Debitis corporis soluta sed dolor consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905d0a7735333a85a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms Redirected to http://test.host/products/54905d0a7735333a85a10000/comments/54905d0a7735333a85a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85a40000'), "name"=>"Daphney Daniel", "reference"=>"Jayson Rempel", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85a50000'), "author_name"=>"Rowan Moore", "content"=>["Alias quidem sit consequatur omnis facilis enim quo. Architecto nisi qui ducimus. Explicabo eos possimus. Corrupti cumque sed explicabo aperiam. Nemo temporibus ut qui eveniet cupiditate."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5349ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905d0a7735333a85a40000", "id"=>"54905d0a7735333a85a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/products/54905d0a7735333a85a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85a60000'), "name"=>"Lura McCullough V", "reference"=>"Stephan Barrows I", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85a70000'), "author_name"=>"Terrill Senger", "content"=>["Ut perferendis unde qui error occaecati placeat. Velit optio et velit aut corrupti. Veritatis placeat omnis voluptatum voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905d0a7735333a85a60000", "id"=>"54905d0a7735333a85a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85a80000'), "name"=>"Catharine Schowalter", "reference"=>"Miss Eloisa Turner", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85a90000'), "author_name"=>"Vincenza Yundt", "content"=>["Et et amet unde a est doloribus cumque. Consequatur eos et numquam. Sit alias autem qui odio. Tenetur eum illo rerum dignissimos itaque ea. Laudantium ab et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905d0a7735333a85a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85aa0000'), "name"=>"Mozell Satterfield V", "reference"=>"Mrs. Hobart Heaney", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85ab0000'), "author_name"=>"Eliezer Blick", "content"=>["Quo similique placeat veritatis itaque sit pariatur modi. Maiores numquam quo. Voluptatem voluptas ad. Ea cupiditate adipisci molestiae aut soluta omnis. Recusandae vel minus et repellendus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905d0a7735333a85aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85ac0000'), "name"=>"Riley Keeling", "reference"=>"Julian Braun", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85ad0000'), "author_name"=>"Craig Denesik", "content"=>["Nostrum repudiandae aut non est id deserunt. Quia hic sunt et maxime veniam et. Iusto labore quasi et molestiae eligendi architecto voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905d0a7735333a85ac0000", "id"=>"54905d0a7735333a85ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85ae0000'), "name"=>"Citlalli Goodwin", "reference"=>"Mrs. Yesenia Grimes", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85af0000'), "author_name"=>"Ms. Hadley O'Reilly", "content"=>["Facilis delectus est et. Qui voluptates nam enim ratione totam ullam veniam. Ipsam architecto officiis iusto et quae. Est minima numquam. Libero reiciendis cupiditate soluta aspernatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9429ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905d0a7735333a85ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85b00000'), "name"=>"Jack Ondricka", "reference"=>"Ms. Rollin Ritchie", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85b10000'), "author_name"=>"Imani Prosacco", "content"=>["Ea nesciunt ipsum quis perspiciatis. Ut deserunt et velit repellendus. Iste magni velit enim accusantium atque facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905d0a7735333a85b00000", "id"=>"54905d0a7735333a85b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Completed 200 OK in 4ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85b20000'), "name"=>"Estevan Stehr I", "reference"=>"Marcella McCullough", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905d0a7735333a85b30000'), "author_name"=>"Jocelyn Marvin", "content"=>["Sequi similique laborum. Aut esse id. Id vel autem ducimus id animi quam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905d0a7735333a85b30000", "product_id"=>"54905d0a7735333a85b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85b20000')} 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('54905d0a7735333a85b20000'), "comments._id"=>BSON::ObjectId('54905d0a7735333a85b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Redirected to http://test.host/products/54905d0a7735333a85b20000/comments/54905d0a7735333a85b30000 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('54905d0a7735333a85b40000'), "firstname"=>"Bernie", "lastname"=>"Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2160ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms Redirected to http://test.host/admin/clients/54905d0a7735333a85b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2021ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85b60000'), "firstname"=>"Alvina", "lastname"=>"Hintz"}] 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=>"clients", :query=>{}} runtime: 0.1807ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905d0a7735333a85b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms 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.1787ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85b70000'), "firstname"=>"Jazmyne", "lastname"=>"Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905d0a7735333a85b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('54905d0a7735333a85b80000'), "firstname"=>"Isaias", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54905d0a7735333a85b90000'), "firstname"=>"Myrtie", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5366ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905d0a7735333a85ba0000'), "firstname"=>"Jacey", "lastname"=>"Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905d0a7735333a85ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms 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('54905d0a7735333a85bb0000'), "firstname"=>"Chasity", "lastname"=>"Runte"}] 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"=>"54905d0a7735333a85bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Redirected to http://test.host/admin/clients/54905d0a7735333a85bb0000 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('54905d0a7735333a85bc0000'), "firstname"=>"Henri", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1883ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms Redirected to http://test.host/clients/54905d0a7735333a85bd0000 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('54905d0a7735333a85be0000'), "firstname"=>"Jamir", "lastname"=>"Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms 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"=>"54905d0a7735333a85be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85be0000')} 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('54905d0a7735333a85be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms 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.1760ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85bf0000'), "firstname"=>"Lloyd", "lastname"=>"Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905d0a7735333a85bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Rendered /home/geoffroy/projects/crealettres/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('54905d0a7735333a85c00000'), "firstname"=>"Rahul", "lastname"=>"Davis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms Processing by Iord::GenericController#index as HTML MOPED: 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.6ms) ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85c10000'), "firstname"=>"Taylor", "lastname"=>"Walter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54905d0a7735333a85c20000'), "firstname"=>"Kameron", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905d0a7735333a85c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms 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('54905d0a7735333a85c30000'), "firstname"=>"Ebba", "lastname"=>"Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905d0a7735333a85c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c30000')} 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('54905d0a7735333a85c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms Redirected to http://test.host/clients/54905d0a7735333a85c30000 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('54905d0a7735333a85c40000'), "name"=>"Sherman Graham DDS", "reference"=>"Terrell Huels I", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85c50000'), "firstname"=>"Robert", "lastname"=>"Cronin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905d0a7735333a85c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c40000')} 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('54905d0a7735333a85c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms Redirected to http://test.host/products/54905d0a7735333a85c40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85c70000'), "name"=>"Maurine Farrell", "reference"=>"Erika Leffler", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85c80000'), "firstname"=>"Sandra", "lastname"=>"Johnson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905d0a7735333a85c80000", "product_id"=>"54905d0a7735333a85c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85c90000'), "name"=>"Immanuel Grimes", "reference"=>"Tabitha Boyer", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85ca0000'), "firstname"=>"Blair", "lastname"=>"Cremin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2088ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905d0a7735333a85c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85cb0000'), "name"=>"Jacques Rath", "reference"=>"Miss Jace Steuber", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85cc0000'), "firstname"=>"Golda", "lastname"=>"Rolfson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905d0a7735333a85cc0000", "product_id"=>"54905d0a7735333a85cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms Completed 200 OK in 31ms (Views: 29.2ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85cd0000'), "name"=>"Freda O'Kon", "reference"=>"Ariel Hagenes", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905d0a7735333a85ce0000'), "firstname"=>"Alaina", "lastname"=>"Dibbert"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5478ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905d0a7735333a85ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905d0a7735333a85cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Unpermitted parameters: name Redirected to http://test.host/products/54905d0a7735333a85cd0000/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('54905d0a7735333a85cf0000'), "name"=>"Eleanore Prohaska", "reference"=>"Wyman Jakubowski", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d00000'), "name"=>"Jarrod Mitchell", "reference"=>"Deonte Howe II", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d10000'), "name"=>"Henriette Bednar", "reference"=>"London Lindgren V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d20000'), "name"=>"Blanca Hamill", "reference"=>"Kristopher Schmeler", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d30000'), "name"=>"Allene Abbott", "reference"=>"Mazie Champlin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d40000'), "name"=>"Mr. Tre Kub", "reference"=>"Ismael Kub", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2063ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Redirected to http://test.host/products/54905d0a7735333a85d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2930ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d60000'), "name"=>"Karine Brown", "reference"=>"Raquel Schinner", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4346ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2063ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54905d0a7735333a85d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85d60000')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2172ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d70000'), "name"=>"Dudley Ankunding", "reference"=>"Mrs. Royal Paucek", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905d0a7735333a85d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d80000'), "name"=>"Sallie Lynch", "reference"=>"Krystel Zboncak", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7147ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279378811403] runtime: 0.0857ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3088ms Completed 200 OK in 18ms (Views: 17.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85d90000'), "name"=>"Stuart Heathcote", "reference"=>"Ms. Teagan Kreiger", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85da0000'), "name"=>"HelloWorld", "reference"=>"Jailyn Gibson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85db0000'), "name"=>"value", "reference"=>"Marjory Champlin Sr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5708ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4688ms Completed 200 OK in 6ms (Views: 5.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4232ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3836ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2203ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3376ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3346ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3096ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85dc0000'), "name"=>"Cydney Lang V", "reference"=>"Darrel Cremin", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280627302304] runtime: 0.1052ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3198ms Completed 200 OK in 45ms (Views: 43.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280376598495] runtime: 0.0799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845500552] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8171ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734914807] runtime: 0.0833ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085989179] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7952ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279994644739] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8126ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280225417620] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280429736916] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6907ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276207547] runtime: 0.0765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279457214300] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076252415] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279956657411] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004814347] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6782ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279562746558] runtime: 0.0711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688055594] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105963634] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280924867958] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280908571599] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947647056] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891686125] runtime: 0.1149ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7098ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280858332072] runtime: 0.0765ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680642098] runtime: 0.0873ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279297444289] runtime: 0.0648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279324444757] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759530391] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281072166109] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279449111035] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5995ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280774189504] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5802ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280235507880] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279551580563] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280263553643] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281063466922] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5869ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279246846676] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5748ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281214772683] runtime: 0.0674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5708ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279902114236] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794396687] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280866590304] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342046088] runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.2087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279908673075] runtime: 0.0806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280579591825] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280927882628] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280578210170] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280730642383] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280093542019] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281247341238] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076989649] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280709401213] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281042815954] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280151203040] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279478886983] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279609918495] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7564ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279758010135] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916514999] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280804172119] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279666474323] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280180697382] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7597ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065435251] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281165056155] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280087224890] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7637ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280859616970] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280064644310] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7663ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280487344249] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281202814394] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280538655641] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280765023366] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826867667] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280563486475] runtime: 0.0864ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280293265965] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279951535239] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279949017380] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280860215472] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587596469] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7602ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283687025] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280442443470] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356290627] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794887591] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280801329209] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280416563379] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280257112620] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280509804370] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6372ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571510550] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6346ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279453530470] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280532533271] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280815951899] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6413ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279826269951] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6463ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613291022] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279664479017] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279302381347] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280494810325] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603195208] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279745653450] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279619938474] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279397255847] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782931699] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829575805] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605775480] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675591296] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280342196575] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752113982] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066930304] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679017229] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5908ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280108569374] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279821641047] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280283425076] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262382902] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279677498849] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849525417] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280571205609] runtime: 0.0789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279307070159] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215691564] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280907660383] runtime: 0.0613ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279392340165] runtime: 0.0592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311790714] runtime: 0.0650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5449ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280895857621] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051871512] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280793832369] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.6683ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280607089082] runtime: 0.0971ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668392651] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280484148312] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280244940415] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154791816] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997281811] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280190275291] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279982197414] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280434034880] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280809880664] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281309803559] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4873ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698349840] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280507991877] runtime: 0.0665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280314790547] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280035293690] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279424447215] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4937ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279655051802] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801999300] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279942507064] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279865789606] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279736452663] runtime: 0.0694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5283ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279278652494] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861848277] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5117ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280925698413] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5025ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279344999531] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4994ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254837521] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279942538247] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281151865415] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280998255014] runtime: 0.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279953035675] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279213541456] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5468ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279715403104] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782258917] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279314626941] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281022225963] runtime: 0.0575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279228808153] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280439012870] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279899610884] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987064259] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5419ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162820653] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280019102917] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281026428080] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451280115] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279721818823] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281020427345] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279847731806] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279280333328] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5862ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279590788633] runtime: 0.0454ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85dd0000'), "name"=>"Ms. Grover Cartwright", "reference"=>"Sylvan Ruecker Jr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2847ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85de0000'), "name"=>"Fritz Borer IV", "reference"=>"Teresa Deckow DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6192ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085494449] runtime: 0.0608ms Completed 200 OK in 5ms (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('54905d0a7735333a85df0000'), "name"=>"Vladimir Schoen", "reference"=>"Tobin Bernhard", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905d0a7735333a85df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms 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('54905d0a7735333a85e00000'), "name"=>"Arielle Conroy PhD", "reference"=>"Dr. Jaqueline Greenfelder", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85e20000'), "name"=>"Lina Abshire II", "reference"=>"Edyth Waters PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905d0a7735333a85e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0a7735333a85e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms Completed 200 OK in 4ms (Views: 2.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85e30000'), "name"=>"Nadia Swift PhD", "reference"=>"Audrey Skiles", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d097735333a85060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3255ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0a7735333a85e40000'), "name"=>"Madisyn Carter", "reference"=>"Mr. Issac Torphy", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3413ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85e50000'), "name"=>"Mr. Deven Pfannerstill", "reference"=>"Germaine Olson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5501ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3347ms Completed 200 OK in 7ms (Views: 4.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85e60000'), "name"=>"Mrs. Bella Herzog", "reference"=>"Stanton Bailey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms 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('54905d0b7735333a85e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2083ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85e80000'), "name"=>"Dr. Crawford Cummerata", "reference"=>"Nicholas Wunsch", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905d0b7735333a85e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms 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('54905d0b7735333a85e90000'), "name"=>"Jarrod Macejkovic", "reference"=>"Rosalee Wintheiser", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms 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('54905d0b7735333a85eb0000'), "name"=>"Karl Wyman", "reference"=>"Mr. Desiree Mueller", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905d0b7735333a85eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85eb0000')} 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('54905d0b7735333a85eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms 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('54905d0b7735333a85ec0000'), "name"=>"Carmella Jenkins MD", "reference"=>"Ms. Alden Turner", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905d0b7735333a85ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms Redirected to http://test.host/products/54905d0b7735333a85ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85ef0000'), "name"=>"Eloisa Oberbrunner", "reference"=>"Adolfo Welch I", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85ed0000'), "author_name"=>"Bulah Lubowitz", "content"=>["Et ea labore iusto illo. In libero ut voluptatem. Minima eum eaque esse deleniti saepe non debitis."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85ee0000'), "author_name"=>"Gina Jaskolski", "content"=>["Quidem illo ea maxime numquam. Mollitia quidem adipisci debitis est. Voluptas corrupti aut ea voluptate iste veniam accusantium. Quisquam quia ab quo minima occaecati est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905d0b7735333a85ef0000", "comment_id"=>"54905d0b7735333a85ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ef0000')} 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('54905d0b7735333a85ef0000'), "comments._id"=>BSON::ObjectId('54905d0b7735333a85ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905d0b7735333a85f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms Redirected to http://test.host/products/54905d0b7735333a85ef0000/comments/54905d0b7735333a85ed0000/comments/54905d0b7735333a85f00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85f30000'), "name"=>"Melody Schuppe", "reference"=>"Floy Torphy", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f10000'), "author_name"=>"Aimee Jaskolski", "content"=>["Illum qui earum deleniti consectetur totam quas. Aliquam inventore et perspiciatis in. Ipsam et ut facere. Vitae eum illo molestias velit dicta nemo qui. Nisi et dolorum nam ex at atque."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f20000'), "author_name"=>"Ashlynn Stracke", "content"=>["Rerum natus laboriosam culpa velit repudiandae. Autem tenetur asperiores quibusdam. Ad eos rerum quibusdam. Facere ex repellat hic in id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905d0b7735333a85f30000", "comment_id"=>"54905d0b7735333a85f10000", "id"=>"54905d0b7735333a85f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85f30000')} 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('54905d0b7735333a85f30000'), "comments._id"=>BSON::ObjectId('54905d0b7735333a85f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905d0b7735333a85f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms Redirected to http://test.host/products/54905d0b7735333a85f30000/comments/54905d0b7735333a85f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2267ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85f60000'), "name"=>"Zander Kemmer", "reference"=>"Dr. Gideon Runte", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f40000'), "author_name"=>"Tito Will I", "content"=>["Ea minima ut esse. Non iure necessitatibus maiores. Dolorem soluta et sit et expedita quis. Eaque ipsa nisi expedita sint quisquam maxime quis. Placeat officiis esse quia."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f50000'), "author_name"=>"Janessa Skiles", "content"=>["Ex modi quam. Voluptas ipsa voluptatum nesciunt ducimus. Sunt quo tenetur non."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905d0b7735333a85f60000", "comment_id"=>"54905d0b7735333a85f40000", "id"=>"54905d0b7735333a85f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.6ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85f90000'), "name"=>"Mrs. Mossie Dickinson", "reference"=>"Tara Marks", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f70000'), "author_name"=>"Pierce Hoeger", "content"=>["Autem consequuntur ipsam in tenetur et id debitis. Totam est sed molestias consequatur et autem. Quidem enim et repellendus. Autem ipsam quos aut dolores. Et ipsa sint et."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85f80000'), "author_name"=>"Monserrat Toy", "content"=>["Ea dolorum et molestias. Quidem harum ex. Aut ut nulla facere aliquid quae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905d0b7735333a85f90000", "comment_id"=>"54905d0b7735333a85f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms Completed 200 OK in 5ms (Views: 3.2ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85fc0000'), "name"=>"Dante Hoppe", "reference"=>"Darian Schaden Sr.", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85fa0000'), "author_name"=>"Peggie Tremblay", "content"=>["Alias earum ipsa. Vero nemo quas dolorem sequi cupiditate doloribus. Voluptatum eum doloribus ut et nisi. Fuga omnis consequuntur."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85fb0000'), "author_name"=>"Lon Gleason", "content"=>["Earum animi voluptatem. Molestiae quo consequuntur porro dolores quas. Deserunt error non laborum veritatis aliquam consequatur qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8568ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905d0b7735333a85fc0000", "comment_id"=>"54905d0b7735333a85fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85ff0000'), "name"=>"Raphael Towne", "reference"=>"Ellis Lindgren", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85fd0000'), "author_name"=>"Hans Braun", "content"=>["Dolorum assumenda eos quidem itaque sunt accusamus. Quae quia non omnis autem autem animi. Mollitia illo doloribus quae possimus."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85fe0000'), "author_name"=>"Alana Jast", "content"=>["Enim dolor qui veniam et dolores officia ipsam. Sed eum unde aut fugiat incidunt animi voluptatibus. Voluptas sunt quisquam dolores. Recusandae hic sequi. Facere quae voluptatem illo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905d0b7735333a85ff0000", "comment_id"=>"54905d0b7735333a85fd0000", "id"=>"54905d0b7735333a85fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3907ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85020100'), "name"=>"Felipe Wisozk", "reference"=>"Ismael Mueller", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85000100'), "author_name"=>"Jalon Schroeder", "content"=>["Quo ducimus aut quos consequatur nostrum. Sit veniam consectetur ipsam enim. Est corrupti et numquam ipsum. Et repellendus repudiandae assumenda. Minus doloremque aliquid veritatis sed magnam."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85010100'), "author_name"=>"Jamison Muller", "content"=>["Aut repudiandae magni voluptatibus et sint cum quod. Quo alias dolores et voluptas. Blanditiis numquam quam non eius natus ut. Dolores quia beatae provident et perferendis qui. Et consectetur ipsa id vitae autem dolorum nihil."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905d0b7735333a85020100", "comment_id"=>"54905d0b7735333a85000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85050100'), "name"=>"Thomas Price", "reference"=>"Leone Koch", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85030100'), "author_name"=>"Ms. Julia Smith", "content"=>["Aliquam hic et quo ullam porro ipsa. Maiores et sit nisi doloremque et. Eaque facilis excepturi optio aut repellat neque. Ad reprehenderit labore."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85040100'), "author_name"=>"Cynthia Witting", "content"=>["Deleniti quia atque dolorem. Amet veniam assumenda fuga et deserunt optio tenetur. Animi natus qui accusamus explicabo facilis. Maiores rerum non dolores debitis id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.0383ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905d0b7735333a85050100", "comment_id"=>"54905d0b7735333a85030100", "id"=>"54905d0b7735333a85040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms Completed 200 OK in 6ms (Views: 2.9ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a85080100'), "name"=>"Keven Glover", "reference"=>"Retta Rohan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85060100'), "author_name"=>"Dr. Rosemary Heidenreich", "content"=>["Omnis eveniet inventore id nihil eos sed. Qui quibusdam quam minus natus aut. Necessitatibus eos vero aut. Qui praesentium dignissimos earum deleniti quo aliquid sint. Temporibus veritatis accusamus tenetur ullam deserunt."], "comments"=>[{"_id"=>BSON::ObjectId('54905d0b7735333a85070100'), "author_name"=>"Jadyn Bogisich", "content"=>["Adipisci nihil et veniam aspernatur. Fugit atque repellendus ipsam. Velit odit amet. Sint deserunt aperiam porro."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5662ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905d0b7735333a85070100", "product_id"=>"54905d0b7735333a85080100", "comment_id"=>"54905d0b7735333a85060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4138ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905d0b7735333a85080100'), "comments._id"=>BSON::ObjectId('54905d0b7735333a85060100'), "comments.0.comments._id"=>BSON::ObjectId('54905d0b7735333a85070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7397ms Redirected to http://test.host/products/54905d0b7735333a85080100/comments/54905d0b7735333a85060100/comments/54905d0b7735333a85070100 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('54905d0b7735333a85090100'), "firstname"=>"Patsy", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5664ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2013ms 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('54905d0b7735333a850a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5269ms Redirected to http://test.host/users/54905d0b7735333a850a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2551ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a850b0100'), "firstname"=>"Tremaine", "lastname"=>"Conroy"}] 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.2162ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905d0b7735333a850b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d0b7735333a850b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d0b7735333a850b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms 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.2329ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a850c0100'), "firstname"=>"Estel", "lastname"=>"Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905d0b7735333a850c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d0b7735333a850c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54905d0b7735333a850d0100'), "firstname"=>"Helga", "lastname"=>"Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms 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.4361ms Completed 200 OK in 8ms (Views: 7.6ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905d0b7735333a850e0100'), "firstname"=>"Joelle", "lastname"=>"Reichel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905d0b7735333a850f0100'), "firstname"=>"Wanda", "lastname"=>"Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905d0b7735333a850f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d0b7735333a850f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms 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('54905d0b7735333a85100100'), "firstname"=>"Susie", "lastname"=>"Rosenbaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905d0b7735333a85100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905d0b7735333a85100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms Unpermitted parameters: name Redirected to http://test.host/users/54905d0b7735333a85100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms 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.3524ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms 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.2319ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms 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.2582ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88000000'), "firstname"=>"Brennan", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2522ms 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('54905e537735333d88010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5598ms 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.2873ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88020000'), "firstname"=>"Alessandra", "lastname"=>"Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905e537735333d88020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 19ms (Views: 17.2ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88030000'), "firstname"=>"Eriberto", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88040000'), "firstname"=>"Russel", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.6834ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905e537735333d88040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4317ms Completed 200 OK in 6ms (Views: 3.6ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88050000'), "firstname"=>"Ruthie", "lastname"=>"Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5312ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905e537735333d88050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms 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('54905e537735333d88060000'), "name"=>"Tyra Ritchie", "reference"=>"Luciano Fisher", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d88070000'), "author_name"=>"Yasmine Kovacek", "content"=>["Perspiciatis totam qui nesciunt ipsam dolores. Dignissimos omnis sunt sequi hic. Aut quod veritatis voluptas. Laudantium aut omnis sed fugit sed ut. Sed inventore deserunt eum incidunt ut unde ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5648ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e537735333d88060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88060000')} 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('54905e537735333d88060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e537735333d88080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms Redirected to http://test.host/admin/products/54905e537735333d88060000/comments/54905e537735333d88080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88090000'), "name"=>"Aurelie Hermann", "reference"=>"Lucy Oberbrunner", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d880a0000'), "author_name"=>"Madonna Kohler", "content"=>["Quo eos porro qui. Ullam eum eos beatae vel. Sunt animi architecto ullam. Voluptatem aut incidunt qui quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905e537735333d88090000", "id"=>"54905e537735333d880a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3271ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e537735333d880a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7763ms Redirected to http://test.host/admin/products/54905e537735333d88090000/comments Completed 302 Found in 8ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d880b0000'), "name"=>"Aron Flatley", "reference"=>"Mr. Tomasa Schroeder", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d880c0000'), "author_name"=>"Elenor Little", "content"=>["Autem error inventore ea unde voluptatibus molestiae. Repudiandae voluptatem est aliquam. Est maxime ex et illo. Doloribus dignissimos consequuntur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905e537735333d880b0000", "id"=>"54905e537735333d880c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d880b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4524ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 11ms (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('54905e537735333d880d0000'), "name"=>"Dr. Telly Kiehn", "reference"=>"Cloyd Monahan", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d880e0000'), "author_name"=>"Alda Wiza", "content"=>["Suscipit ex aperiam et iste rerum laudantium inventore. Dolore et ducimus aperiam asperiores. Velit repellat atque doloribus vel dolorem. Consequuntur rem porro dolorem. Doloremque veritatis incidunt qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905e537735333d880d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d880d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d880f0000'), "name"=>"Donnell Mitchell", "reference"=>"Hanna Turcotte", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d88100000'), "author_name"=>"Adaline Quitzon", "content"=>["Et harum dicta dolore est debitis. Voluptas culpa est a quas nihil non eius. Magni facere nulla perferendis unde dolor fugiat. Cum rerum at qui sunt omnis occaecati ipsa. Fugiat eius voluptatum corporis id aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905e537735333d880f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d880f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88110000'), "name"=>"Gudrun Torphy", "reference"=>"Miss Randall Berge", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d88120000'), "author_name"=>"Newell Littel I", "content"=>["Repellat sed soluta sunt id dolores dolor. Sunt sit ullam et quis. Ut et consequatur ad voluptas nam sed. Quisquam soluta sunt nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905e537735333d88110000", "id"=>"54905e537735333d88120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88130000'), "name"=>"Frederic Smitham", "reference"=>"Kurtis Fisher", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905e537735333d88140000'), "author_name"=>"Ms. Jasmin Zulauf", "content"=>["Cumque impedit dolorum dolore. Sit ut eveniet eaque ducimus. Rerum odio animi harum. Cum labore eveniet. Dolores aut quam sint corrupti quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5500ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e537735333d88140000", "product_id"=>"54905e537735333d88130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3841ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88130000'), "comments._id"=>BSON::ObjectId('54905e537735333d88140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6253ms Redirected to http://test.host/admin/products/54905e537735333d88130000/comments/54905e537735333d88140000 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('54905e537735333d88150000'), "name"=>"Donnell Crooks", "reference"=>"Kailee Williamson", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905e537735333d88160000'), "firstname"=>"Sidney", "lastname"=>"O'Conner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905e537735333d88150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905e537735333d88170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Redirected to http://test.host/admin/products/54905e537735333d88150000/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('54905e537735333d88180000'), "name"=>"Timmy Gerlach V", "reference"=>"Carissa Hamill", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e537735333d88190000'), "firstname"=>"Mateo", "lastname"=>"Hauck"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905e537735333d88190000", "product_id"=>"54905e537735333d88180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.5ms) Completed 200 OK in 37ms (Views: 35.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d881a0000'), "name"=>"Daisha O'Hara PhD", "reference"=>"Iliana Mayer II", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905e537735333d881b0000'), "firstname"=>"Kitty", "lastname"=>"Waters"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905e537735333d881a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d881a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d881c0000'), "name"=>"Irwin Ernser", "reference"=>"Ethan White", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e537735333d881d0000'), "firstname"=>"Jaiden", "lastname"=>"Konopelski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905e537735333d881d0000", "product_id"=>"54905e537735333d881c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d881c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d881e0000'), "name"=>"Raheem Satterfield", "reference"=>"Hector Farrell Sr.", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905e537735333d881f0000'), "firstname"=>"Bridget", "lastname"=>"West"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905e537735333d881f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905e537735333d881e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d881e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905e537735333d881e0000/manager 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('54905e537735333d88200000'), "name"=>"Danielle Boyle", "reference"=>"Miss Carroll Reichel", "quantity"=>4}] 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.1902ms 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('54905e537735333d88210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms Redirected to http://test.host/admin/products/54905e537735333d88210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1720ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88220000'), "name"=>"Jillian Runolfsson", "reference"=>"Mr. Wilfrid Cormier", "quantity"=>8}] 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=>"products", :query=>{}} runtime: 0.1998ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905e537735333d88220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88220000')} 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('54905e537735333d88220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms 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.1889ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88230000'), "name"=>"Olen Walker", "reference"=>"Arjun Botsford IV", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905e537735333d88230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88240000'), "name"=>"Tyra Von", "reference"=>"Landen Morissette", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms 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.4877ms 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('54905e537735333d88250000'), "name"=>"Morton Stiedemann", "reference"=>"Hank Prosacco", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e537735333d88280000'), "name"=>"Ms. Kenyatta Raynor", "reference"=>"Kristoffer Prosacco", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5389ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905e537735333d88280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms 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('54905e537735333d88290000'), "name"=>"Ms. Marquis Sawayn", "reference"=>"Florida Dach", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e537735333d88290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms Redirected to http://test.host/admin/products/54905e537735333d88290000 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('54905e537735333d882a0000'), "firstname"=>"Darryl", "lastname"=>"Bartoletti"}] 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=>"admin_users", :query=>{}} runtime: 0.2468ms 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('54905e537735333d882b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms Redirected to http://test.host/admin/users/54905e537735333d882b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2452ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e537735333d882c0000'), "firstname"=>"Kyla", "lastname"=>"Rippin"}] 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.1917ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905e537735333d882c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e537735333d882c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e537735333d882c0000')} 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.1900ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e537735333d882d0000'), "firstname"=>"Forest", "lastname"=>"Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905e537735333d882d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e537735333d882d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.2ms) Completed 200 OK in 39ms (Views: 37.6ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e537735333d882e0000'), "firstname"=>"Gerald", "lastname"=>"Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms 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: 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('54905e537735333d882f0000'), "firstname"=>"Dane", "lastname"=>"Renner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905e537735333d88300000'), "firstname"=>"Jazmyn", "lastname"=>"Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905e537735333d88300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e537735333d88300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms 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('54905e537735333d88310000'), "firstname"=>"Colt", "lastname"=>"Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905e537735333d88310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e537735333d88310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905e537735333d88310000 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('54905e537735333d88320000'), "firstname"=>"Ian", "lastname"=>"Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9894ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1330ms 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('54905e537735333d88330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms 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.1652ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88340000'), "firstname"=>"Enrico", "lastname"=>"Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905e537735333d88340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88350000'), "firstname"=>"Alexzander", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88360000'), "firstname"=>"Ewell", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905e537735333d88360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e537735333d88370000'), "firstname"=>"Kathlyn", "lastname"=>"Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905e537735333d88370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e537735333d88370000')} 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 -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88380000'), "name"=>"Marcella Anderson V"}] 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={"category_id"=>BSON::ObjectId('54905e537735333d88380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88390000'), "name"=>"Hilton Ebert DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883a0000'), "name"=>"Mr. Guy Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883b0000'), "name"=>"Rowena Haley Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1649ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883c0000'), "name"=>"Sallie Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883d0000'), "name"=>"Edythe Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883e0000'), "name"=>"Emil Funk DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d883f0000'), "name"=>"Sheldon Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d883f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88400000'), "name"=>"Brooke Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88410000'), "name"=>"Jerod Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88420000'), "name"=>"Cortez Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88430000'), "name"=>"Jerad Ortiz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88440000'), "name"=>"Kaia Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88450000'), "name"=>"Rogers Schimmel III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88460000'), "name"=>"Pamela Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88470000'), "name"=>"Hershel Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88480000'), "name"=>"Beth Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d88490000'), "name"=>"Roxanne Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d88490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884a0000'), "name"=>"Lucienne Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884b0000'), "name"=>"Ernestina Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884c0000'), "name"=>"Beverly Stamm Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1124ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884d0000'), "name"=>"Lauryn Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884e0000'), "name"=>"Garfield Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e537735333d884f0000'), "name"=>"Maye Conroy Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e537735333d884f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88500000'), "name"=>"Jena Marks II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88510000'), "name"=>"Hudson Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88520000'), "name"=>"Cali Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88530000'), "name"=>"Hosea Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88540000'), "name"=>"Makenzie Bosco"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88550000'), "name"=>"Eldred Trantow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88560000'), "name"=>"Mitchel Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88570000'), "name"=>"Rhiannon Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88580000'), "name"=>"Akeem Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88590000'), "name"=>"Madonna Abbott Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885a0000'), "name"=>"Remington Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885b0000'), "name"=>"Yazmin Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1156ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885c0000'), "name"=>"Alden Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885d0000'), "name"=>"Darien Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885e0000'), "name"=>"Nora Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d885f0000'), "name"=>"Armand Rice DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d885f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88600000'), "name"=>"Carson Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88610000'), "name"=>"Dr. Lucienne Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88620000'), "name"=>"Melyna Hintz II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1155ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88630000'), "name"=>"Elijah Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1222ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88640000'), "name"=>"Harmony Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88650000'), "name"=>"Mr. Walker Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88660000'), "name"=>"Isaiah Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88670000'), "name"=>"Efrain Kautzer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88680000'), "name"=>"Megane Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88690000'), "name"=>"Christ Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.1709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886a0000'), "name"=>"Wilford Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886b0000'), "name"=>"Vita Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886c0000'), "name"=>"Yessenia Simonis II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886d0000'), "name"=>"Mitchel Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886e0000'), "name"=>"Kip Schimmel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d886f0000'), "name"=>"Anabel Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d886f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88700000'), "name"=>"Mortimer Altenwerth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88710000'), "name"=>"Jordi Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88720000'), "name"=>"Reggie Auer DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88730000'), "name"=>"Kurtis Cassin DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88740000'), "name"=>"Troy Cummerata PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88750000'), "name"=>"Darrin Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88760000'), "name"=>"Brisa Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88770000'), "name"=>"Sophia Hegmann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88780000'), "name"=>"Miss Ellen Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88790000'), "name"=>"Jevon O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887a0000'), "name"=>"Myah Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887b0000'), "name"=>"Conner Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887c0000'), "name"=>"Candice Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887d0000'), "name"=>"Maida Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2065ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887e0000'), "name"=>"Miss Keith Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d887f0000'), "name"=>"Collin Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d887f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88800000'), "name"=>"Ms. Art Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1752ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88810000'), "name"=>"Makayla Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1951ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88820000'), "name"=>"Clifton Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88830000'), "name"=>"Ivy Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88840000'), "name"=>"Belle Senger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88850000'), "name"=>"Kaycee Rice"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88860000'), "name"=>"Sandra Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88870000'), "name"=>"Mrs. Larry Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88880000'), "name"=>"May Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88890000'), "name"=>"Maribel Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888a0000'), "name"=>"Darryl Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888b0000'), "name"=>"Mr. Russ Buckridge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1644ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888c0000'), "name"=>"Sid Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888d0000'), "name"=>"Omari Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888e0000'), "name"=>"Myah Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d888f0000'), "name"=>"Damian Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d888f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88900000'), "name"=>"Shirley Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88910000'), "name"=>"Mrs. Edison Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88920000'), "name"=>"Chaz Little"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88930000'), "name"=>"Ms. Afton Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88940000'), "name"=>"Jaycee Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88950000'), "name"=>"Elsie Bernier PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88960000'), "name"=>"Cale Hermann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88970000'), "name"=>"Ms. Delilah Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1628ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Redirected to http://test.host/categories/54905e547735333d88980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1798ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88990000'), "name"=>"Howell Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1371ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905e547735333d88990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d88990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d88990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1459ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d889a0000'), "name"=>"Pat Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905e547735333d889a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d889a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d889b0000'), "name"=>"Steve Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306271282507] runtime: 0.0832ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2638ms Completed 200 OK in 15ms (Views: 14.7ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d889c0000'), "name"=>"Mrs. Isobel Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4221ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305483676308] runtime: 0.0892ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2519ms Completed 200 OK in 9ms (Views: 8.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d889d0000'), "name"=>"Miss Maximus Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d889f0000'), "name"=>"Rosendo Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905e547735333d889f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d889f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d889f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e547735333d88a00000'), "name"=>"Manley Zemlak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905e547735333d88a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d88a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3069ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e547735333d88a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e547735333d88a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms Redirected to http://test.host/categories/54905e547735333d88a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88a10000'), "name"=>"Raoul Zemlak", "reference"=>"Edwina Schaden", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88a20000'), "author_name"=>"Augustus Steuber II", "content"=>["Perspiciatis quisquam totam non ducimus dolore expedita. Eos sunt non reiciendis labore. Sit non sed perspiciatis. Sunt ut iure voluptas voluptatem et libero aut. Libero sapiente qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e547735333d88a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3917ms 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('54905e547735333d88a30000'), "name"=>"Roma Wiza", "reference"=>"Mrs. Ellie Ferry", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88a40000'), "author_name"=>"Cleo Lind", "content"=>["Dolor ut voluptas. Maxime qui fugiat ullam minima. Autem nesciunt ex modi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5245ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905e547735333d88a30000", "id"=>"54905e547735333d88a40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms 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('54905e547735333d88a50000'), "name"=>"Jarred Ritchie", "reference"=>"Amira Emard", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88a60000'), "author_name"=>"Kolby Williamson MD", "content"=>["Totam amet eius voluptas veritatis delectus architecto. Earum rem quasi molestiae esse. Aut pariatur occaecati repellat quisquam quia adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905e547735333d88a50000", "id"=>"54905e547735333d88a60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.2ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88a70000'), "name"=>"Zoie Nolan", "reference"=>"Caroline Reilly", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88a80000'), "author_name"=>"Adolfo Schultz", "content"=>["Sed qui dicta expedita. Distinctio rerum voluptatem. Suscipit optio numquam repellendus ullam architecto. Nobis labore minus doloribus aut optio quia necessitatibus. Ipsa aut maiores nemo debitis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905e547735333d88a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88a90000'), "name"=>"Mrs. Orpha Erdman", "reference"=>"Jeffry Waters", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88aa0000'), "author_name"=>"Riley Fahey", "content"=>["Iusto quod porro. Est velit eius libero ut beatae totam aut. Optio corrupti et ut ut sequi quis. Sit officiis magni repellendus perspiciatis. Totam eum officia illo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905e547735333d88a90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88a90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88ab0000'), "name"=>"Johnny Lowe", "reference"=>"Brianne Green", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88ac0000'), "author_name"=>"Ellie Prohaska", "content"=>["Et quisquam necessitatibus eum molestiae. Et perspiciatis odit at qui. Accusamus enim assumenda delectus odio ducimus odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905e547735333d88ab0000", "id"=>"54905e547735333d88ac0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88ab0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88ad0000'), "name"=>"Kody Simonis", "reference"=>"Tremaine Harvey", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88ae0000'), "author_name"=>"Melody Kling", "content"=>["Ex repellat neque dolorem aspernatur nam non. Earum sunt quaerat ut. Tempora veritatis eius atque excepturi eligendi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5912ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905e547735333d88ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88ad0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88af0000'), "name"=>"Mrs. Marley Kertzmann", "reference"=>"Ms. Shea Lakin", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88b00000'), "author_name"=>"Hayden Hahn", "content"=>["In laudantium voluptas voluptates. Et enim repellat. Soluta distinctio nesciunt ipsam est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905e547735333d88af0000", "id"=>"54905e547735333d88b00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88af0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88b10000'), "name"=>"Mrs. Brock Howell", "reference"=>"Yasmeen Mills", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905e547735333d88b20000'), "author_name"=>"Daija Wilderman", "content"=>["Libero animi deleniti ipsum qui consectetur dolorem facere. Quam provident non et. Perspiciatis quia quisquam explicabo sint distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e547735333d88b20000", "product_id"=>"54905e547735333d88b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88b10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88b10000'), "comments._id"=>BSON::ObjectId('54905e547735333d88b20000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5739ms Redirected to http://test.host/products/54905e547735333d88b10000/comments/54905e547735333d88b20000 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('54905e547735333d88b30000'), "firstname"=>"Cassandra", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6681ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3295ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88b40000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms Redirected to http://test.host/admin/clients/54905e547735333d88b40000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3344ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88b50000'), "firstname"=>"Al", "lastname"=>"Davis"}] 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=>"clients", :query=>{}} runtime: 0.3315ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905e547735333d88b50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88b50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88b50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms 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.2286ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88b60000'), "firstname"=>"Patrick", "lastname"=>"Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905e547735333d88b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) 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('54905e547735333d88b70000'), "firstname"=>"Krystina", "lastname"=>"Huels"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms 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('54905e547735333d88b80000'), "firstname"=>"Caterina", "lastname"=>"Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905e547735333d88b90000'), "firstname"=>"Kali", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905e547735333d88b90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88b90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88ba0000'), "firstname"=>"Isaac", "lastname"=>"Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905e547735333d88ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88ba0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms Redirected to http://test.host/admin/clients/54905e547735333d88ba0000 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('54905e547735333d88bb0000'), "firstname"=>"Arvel", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1914ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88bc0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms Redirected to http://test.host/clients/54905e547735333d88bc0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1491ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88bd0000'), "firstname"=>"Genoveva", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms 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"=>"54905e547735333d88bd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88bd0000')} 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('54905e547735333d88bd0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms 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.1862ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e547735333d88be0000'), "firstname"=>"Vidal", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905e547735333d88be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54905e547735333d88bf0000'), "firstname"=>"Kirstin", "lastname"=>"Barton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms 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('54905e547735333d88c00000'), "firstname"=>"Taryn", "lastname"=>"Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54905e547735333d88c10000'), "firstname"=>"Domenico", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905e547735333d88c10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88c10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms 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('54905e547735333d88c20000'), "firstname"=>"Enid", "lastname"=>"Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905e547735333d88c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e547735333d88c20000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms Redirected to http://test.host/clients/54905e547735333d88c20000 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('54905e547735333d88c30000'), "name"=>"Dr. Nickolas Olson", "reference"=>"Lonny Mann", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88c40000'), "firstname"=>"Faustino", "lastname"=>"Hartmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905e547735333d88c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88c30000')} 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('54905e547735333d88c30000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88c30000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88c50000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms Redirected to http://test.host/products/54905e547735333d88c30000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88c60000'), "name"=>"Francesca Kuphal I", "reference"=>"Mr. Britney Yost", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88c70000'), "firstname"=>"Rey", "lastname"=>"Toy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905e547735333d88c70000", "product_id"=>"54905e547735333d88c60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88c60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88c80000'), "name"=>"Alison Macejkovic V", "reference"=>"Elaina Kovacek", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88c90000'), "firstname"=>"Hattie", "lastname"=>"Hudson"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905e547735333d88c80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88c80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88ca0000'), "name"=>"Miss Aylin Lindgren", "reference"=>"Mr. Lonzo Hartmann", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88cb0000'), "firstname"=>"Brandt", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905e547735333d88cb0000", "product_id"=>"54905e547735333d88ca0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88ca0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Completed 200 OK in 30ms (Views: 28.8ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88cc0000'), "name"=>"Courtney Goyette", "reference"=>"Mr. Diego Kessler", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905e547735333d88cd0000'), "firstname"=>"Kadin", "lastname"=>"Bosco"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905e547735333d88cd0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905e547735333d88cc0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88cc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Unpermitted parameters: name Redirected to http://test.host/products/54905e547735333d88cc0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88ce0000'), "name"=>"Pasquale Leffler DDS", "reference"=>"Nora Bins", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88cf0000'), "name"=>"Gregory Macejkovic", "reference"=>"Ms. Reagan Heaney", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d00000'), "name"=>"Dimitri Batz", "reference"=>"Damian Wuckert", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d10000'), "name"=>"Cecil Welch", "reference"=>"Kasandra Friesen", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d20000'), "name"=>"Samanta Schuster", "reference"=>"Neoma Murphy", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d30000'), "name"=>"Kathryn Wisozk", "reference"=>"Bill Hane", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d40000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms Redirected to http://test.host/products/54905e547735333d88d40000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1863ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d50000'), "name"=>"Letha Mertz", "reference"=>"Mae Emmerich", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4716ms 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"=>"54905e547735333d88d50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88d50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88d50000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms 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.1948ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d60000'), "name"=>"Amie Stroman", "reference"=>"Cordelia Hermann Jr.", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905e547735333d88d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e547735333d88d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 6.5ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d70000'), "name"=>"Esta Oberbrunner III", "reference"=>"Carmela Ullrich", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280948052957] runtime: 0.0908ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2541ms Completed 200 OK in 18ms (Views: 17.6ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d80000'), "name"=>"Berniece Eichmann", "reference"=>"Ericka Bailey DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88d90000'), "name"=>"HelloWorld", "reference"=>"Estevan Jenkins", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88da0000'), "name"=>"value", "reference"=>"Mrs. Zoey Lubowitz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3783ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2868ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2656ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2436ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2424ms Completed 200 OK in 4ms (Views: 3.6ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2362ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2127ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e547735333d88db0000'), "name"=>"Dustin Hayes", "reference"=>"Nelle Ritchie", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280548858822] runtime: 0.1188ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3170ms Completed 200 OK in 43ms (Views: 42.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279378780041] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281254311804] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006871256] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279739214175] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279229137785] runtime: 0.0634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279190503353] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279561071378] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280171426808] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279492869818] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281144556118] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281218839567] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917152698] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279686026896] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280257071326] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6212ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534146638] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6234ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145408915] runtime: 0.0423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6365ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778871079] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6343ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280909013506] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279925854605] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070000487] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6765ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279584755984] runtime: 0.0709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280705616753] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281237935214] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281218215516] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279299961888] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5897ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281271498720] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438171912] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281215759799] runtime: 0.0946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279582866587] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861272833] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280065650561] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280569481949] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280059064069] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280728567991] runtime: 0.0416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279767475718] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.4583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281249048791] runtime: 0.1272ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279738075810] runtime: 0.0724ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557210011] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6181ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279330673947] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281087212976] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950707723] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280898541514] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6048ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280534145287] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432223086] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120913951] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281276208386] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095543503] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280999838039] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280713446876] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279905500641] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279509608691] runtime: 0.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280560876767] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280993689329] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279453815669] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280958481441] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5157ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279688290423] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280399689143] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529527450] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280431696796] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281042006418] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279784063941] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280985992672] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280914484997] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280464725583] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5109ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279594681345] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5133ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279260513336] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279510418797] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280680815567] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280831596734] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5331ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280549230681] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479160984] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279687745487] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5054ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281106038607] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281008716337] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280209597854] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280760015839] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279707964548] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279564081275] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116043482] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279642964572] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279801804204] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280371635192] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280649762676] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280987204042] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568885303] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4794ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281161201098] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279489241161] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5131ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280741454321] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280686155425] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5327ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280103146760] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279196082823] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280628001395] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5068ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280883112411] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280171866872] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4788ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279909826836] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4892ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666607352] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280285596403] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279758943467] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280805045251] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7538ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281256053148] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280648978872] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187897920] runtime: 0.0602ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279813241523] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5872ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279380980163] runtime: 0.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281196255142] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280542605771] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279947061230] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279608795776] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280455733630] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280216136466] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280132559214] runtime: 0.0604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208061802] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279283926854] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5918ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280508861180] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5798ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279512443575] runtime: 25.9007ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279956918497] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279775643335] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789261868] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280797096002] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281001656354] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279753091323] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281280297979] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280784306610] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279263681921] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281105596263] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7134ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279523742105] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279456826279] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668197294] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7608ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280281076778] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7619ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279578845419] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281030273457] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7601ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279999653992] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279672489710] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281043486789] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7528ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280569879610] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6311ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771721938] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281297123107] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279511901653] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280849010213] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771015265] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280077857477] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6489ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175024163] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279887813642] runtime: 0.0567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6516ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281188069762] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280075289246] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279412668798] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280044620273] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6534ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280782913388] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279782218558] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6442ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281279027139] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704413122] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279278056196] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280572088537] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857289273] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279420087748] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279965672388] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280494104173] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6382ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279640722022] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372043987] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6351ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279938747247] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280814504832] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280991435815] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5972ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280800257782] runtime: 0.0489ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88dc0000'), "name"=>"Mrs. Dagmar Kertzmann", "reference"=>"Ms. Julian Shanahan", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3082ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88dd0000'), "name"=>"David Price V", "reference"=>"Raquel Murazik III", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281305490613] runtime: 0.0628ms Completed 200 OK in 5ms (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('54905e557735333d88de0000'), "name"=>"Isaac Hilpert", "reference"=>"Odie Rolfson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905e557735333d88de0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88de0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms 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('54905e557735333d88df0000'), "name"=>"Ward Schmidt", "reference"=>"Athena Rau", "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/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 4.7ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e10000'), "name"=>"Brigitte Terry", "reference"=>"Maurine Corkery", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905e557735333d88e10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88e10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms Completed 200 OK in 4ms (Views: 2.6ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e20000'), "name"=>"Zack Spencer", "reference"=>"Nikki Kuphal", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e537735333d88060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e30000'), "name"=>"Ashleigh Veum", "reference"=>"Rhianna Lockman", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e40000'), "name"=>"Adelle Wehner", "reference"=>"Jaime Wolf", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2469ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e50000'), "name"=>"Natasha Kshlerin", "reference"=>"Eden Pfeffer I", "quantity"=>7}] 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=>"products", :query=>{}} runtime: 0.1697ms 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('54905e557735333d88e60000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2055ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88e70000'), "name"=>"Mrs. Bridgette Reinger", "reference"=>"Kailee Padberg", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.7712ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905e557735333d88e70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88e70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88e70000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms 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('54905e557735333d88e80000'), "name"=>"Mrs. Laurianne Schulist", "reference"=>"Kennith Barrows", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88ea0000'), "name"=>"Raleigh Schinner", "reference"=>"Isabella Murray", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5706ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e557735333d88ea0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ea0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ea0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Completed 202 Accepted in 5ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88eb0000'), "name"=>"Tavares Beatty", "reference"=>"Eloise Marks", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e557735333d88eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms Redirected to http://test.host/products/54905e557735333d88eb0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88ee0000'), "name"=>"Guillermo Lang", "reference"=>"Aditya Prohaska", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88ec0000'), "author_name"=>"Tyrese Huels", "content"=>["Qui et recusandae quod modi aut quam. Sed ad nam asperiores quis fugiat dolorem. Vero tenetur culpa beatae eaque. Doloribus aut eum consequuntur dolor error. Quis omnis sint non fugit rerum ullam."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88ed0000'), "author_name"=>"Abdiel Nienow", "content"=>["Quaerat doloremque nam aut atque at. Dolores assumenda aut hic molestiae consequuntur odio. Facere nemo blanditiis aliquam. Facere dolor enim. Quo ullam voluptatum soluta quod saepe."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5808ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e557735333d88ee0000", "comment_id"=>"54905e557735333d88ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ee0000'), "comments._id"=>BSON::ObjectId('54905e557735333d88ec0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905e557735333d88ef0000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5788ms Redirected to http://test.host/products/54905e557735333d88ee0000/comments/54905e557735333d88ec0000/comments/54905e557735333d88ef0000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88ee0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88f20000'), "name"=>"Miss Francisca Jacobson", "reference"=>"Kristopher Sauer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f00000'), "author_name"=>"Mr. Marisa Beer", "content"=>["Est impedit id voluptates voluptas et reprehenderit. At deserunt perferendis. Quis rem porro. Et eum eos neque vero aliquid maxime. Doloribus pariatur id qui."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f10000'), "author_name"=>"Octavia Ondricka", "content"=>["A consectetur officiis sunt recusandae. Rem nihil ratione asperiores consequatur autem. Ad nostrum mollitia qui ea quasi esse ipsum. Hic reiciendis odio qui dolores."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905e557735333d88f20000", "comment_id"=>"54905e557735333d88f00000", "id"=>"54905e557735333d88f10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f20000'), "comments._id"=>BSON::ObjectId('54905e557735333d88f00000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905e557735333d88f10000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms Redirected to http://test.host/products/54905e557735333d88f20000/comments/54905e557735333d88f00000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88f50000'), "name"=>"Erich Pfannerstill", "reference"=>"Ms. Mariane Tillman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f30000'), "author_name"=>"Princess Gibson", "content"=>["Est amet velit. Totam dicta aperiam ullam minus. Nostrum ex repudiandae consectetur sint nulla. Est maiores alias non eos odio quis ipsum. Tempore totam quae veniam enim et vel."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f40000'), "author_name"=>"Wyman Jaskolski", "content"=>["Optio eius minus amet tenetur maiores perspiciatis laborum. Minima at nesciunt repellendus est. Et corrupti architecto tenetur in."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905e557735333d88f50000", "comment_id"=>"54905e557735333d88f30000", "id"=>"54905e557735333d88f40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f50000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 7.9ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88f80000'), "name"=>"Eldridge Williamson II", "reference"=>"Mrs. Enos Kling", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f60000'), "author_name"=>"Novella Rath", "content"=>["Est voluptatem voluptates hic eius fuga. Et voluptates illo. Voluptatem consequuntur voluptate beatae. Aliquid dignissimos et itaque quas et commodi. Excepturi placeat sit rerum eveniet qui."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f70000'), "author_name"=>"Alexandria Runolfsdottir", "content"=>["Omnis est porro magni blanditiis. Odit atque amet expedita neque doloremque. Reiciendis minima corrupti incidunt voluptatem est. Sunt in et. Tempore soluta dolorem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5694ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905e557735333d88f80000", "comment_id"=>"54905e557735333d88f60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88f80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms Completed 200 OK in 7ms (Views: 4.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88fb0000'), "name"=>"Katlynn Stiedemann", "reference"=>"Mrs. Tyra West", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88f90000'), "author_name"=>"Alda Cremin Jr.", "content"=>["Fugit ut qui. Numquam omnis perspiciatis eius maiores corporis eum. Quia eum deleniti necessitatibus quidem ut quisquam totam. Ipsa sapiente repudiandae autem. Nihil quia beatae."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88fa0000'), "author_name"=>"Carroll Hudson Jr.", "content"=>["In sed quod. Perferendis qui quia et soluta repudiandae et nobis. Est corrupti vel animi quam omnis et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905e557735333d88fb0000", "comment_id"=>"54905e557735333d88f90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88fb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88fe0000'), "name"=>"Zane Miller I", "reference"=>"Tate Lueilwitz", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88fc0000'), "author_name"=>"Riley Kshlerin", "content"=>["Quia sunt architecto aut. Aliquam quasi omnis. Ut ut quasi. Laborum quod quia perferendis ab."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88fd0000'), "author_name"=>"Anderson Grady", "content"=>["At quia vero est id. Quo a natus id pariatur ullam dicta tenetur. Qui id sit quia. Corrupti vel omnis culpa. Labore est odio consequatur reprehenderit sit repellendus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905e557735333d88fe0000", "comment_id"=>"54905e557735333d88fc0000", "id"=>"54905e557735333d88fd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88fe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88010100'), "name"=>"Tyrique Hilll", "reference"=>"Hertha Fahey", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88ff0000'), "author_name"=>"Floy Reynolds", "content"=>["Quisquam explicabo architecto dolores ex amet et. Labore consequatur delectus molestiae maiores at est. Deserunt excepturi aliquam. Unde recusandae consequatur et. Similique et hic sed sed aut ipsam."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88000100'), "author_name"=>"Gillian Wisoky", "content"=>["Ut rem sed qui. Sit ea a maiores. Quidem est rerum rem aut sint. Ex distinctio expedita et qui ut deleniti. Animi architecto et provident vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905e557735333d88010100", "comment_id"=>"54905e557735333d88ff0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88010100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4508ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 34ms (Views: 4.1ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88040100'), "name"=>"Kyle Smitham", "reference"=>"Romaine Schiller", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88020100'), "author_name"=>"Lydia Murphy", "content"=>["Nisi quod recusandae est veniam. Provident sed possimus. Omnis ea molestiae libero soluta."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88030100'), "author_name"=>"Jace Koch", "content"=>["Assumenda sequi voluptatum. Quod facere accusantium officia quae possimus. Numquam commodi aut ut voluptas. Velit quos maxime aut aut ea rerum et. Et vero adipisci assumenda."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905e557735333d88040100", "comment_id"=>"54905e557735333d88020100", "id"=>"54905e557735333d88030100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88040100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e557735333d88070100'), "name"=>"Mrs. Paolo Stanton", "reference"=>"Phoebe Huels", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88050100'), "author_name"=>"Naomi Kshlerin", "content"=>["Eum ut ea non. Distinctio non illo veritatis voluptatem quam et sit. Corrupti et veniam eos numquam."], "comments"=>[{"_id"=>BSON::ObjectId('54905e557735333d88060100'), "author_name"=>"Mark O'Hara", "content"=>["Omnis nulla minima. Vero quia repellat rerum earum delectus sit. Illo commodi nulla. Et dolor impedit ut. Pariatur alias aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e557735333d88060100", "product_id"=>"54905e557735333d88070100", "comment_id"=>"54905e557735333d88050100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88070100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e557735333d88070100'), "comments._id"=>BSON::ObjectId('54905e557735333d88050100'), "comments.0.comments._id"=>BSON::ObjectId('54905e557735333d88060100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5917ms Redirected to http://test.host/products/54905e557735333d88070100/comments/54905e557735333d88050100/comments/54905e557735333d88060100 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('54905e557735333d88080100'), "firstname"=>"Merle", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5029ms 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('54905e557735333d88090100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Redirected to http://test.host/users/54905e557735333d88090100 Completed 302 Found in 3ms 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('54905e557735333d880a0100'), "firstname"=>"Berniece", "lastname"=>"Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1927ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905e557735333d880a0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e557735333d880a0100')} 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('54905e557735333d880a0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms 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.2324ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e557735333d880b0100'), "firstname"=>"Gilda", "lastname"=>"Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905e557735333d880b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e557735333d880b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54905e557735333d880c0100'), "firstname"=>"Keyshawn", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms 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.4279ms 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('54905e557735333d880d0100'), "firstname"=>"Carroll", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (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('54905e557735333d880e0100'), "firstname"=>"Lyda", "lastname"=>"Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4824ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905e557735333d880e0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e557735333d880e0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms 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('54905e557735333d880f0100'), "firstname"=>"Kailyn", "lastname"=>"Fisher"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905e557735333d880f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e557735333d880f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Unpermitted parameters: name Redirected to http://test.host/users/54905e557735333d880f0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7196ms 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.7349ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1022ms 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.6642ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2007ms 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.6063ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e967735333dd6000000'), "firstname"=>"Ernesto", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6543ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3509ms 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('54905e967735333dd6010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6001ms 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.3956ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e967735333dd6020000'), "firstname"=>"Elwin", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5310ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905e967735333dd6020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e967735333dd6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 16.9ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e967735333dd6030000'), "firstname"=>"Jacklyn", "lastname"=>"Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6301ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e967735333dd6040000'), "firstname"=>"Roma", "lastname"=>"Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6122ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905e967735333dd6040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e967735333dd6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4107ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e967735333dd6050000'), "firstname"=>"Jude", "lastname"=>"Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5958ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905e967735333dd6050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e967735333dd6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms 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('54905e977735333dd6060000'), "name"=>"Webster Ledner", "reference"=>"Madaline McDermott", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6070000'), "author_name"=>"Aubrey Crooks", "content"=>["Quia quos sequi libero et. Architecto aut tempora inventore est commodi. Aspernatur eaque ad suscipit et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.1106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e977735333dd6060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e977735333dd6080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms Redirected to http://test.host/admin/products/54905e977735333dd6060000/comments/54905e977735333dd6080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6090000'), "name"=>"Madelyn Schmitt", "reference"=>"Janae Gerhold", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd60a0000'), "author_name"=>"Herminio Ratke", "content"=>["Consequatur dolor laboriosam veritatis est ratione in pariatur. Qui qui velit consequatur et optio. Qui quis similique ut nostrum odio pariatur. Eos similique aspernatur velit. Aut error ut accusamus consequatur odit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905e977735333dd6090000", "id"=>"54905e977735333dd60a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e977735333dd60a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms Redirected to http://test.host/admin/products/54905e977735333dd6090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd60b0000'), "name"=>"Celestine Grimes", "reference"=>"Joanny Grady", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd60c0000'), "author_name"=>"Russel Boehm", "content"=>["Reprehenderit qui est maiores quia deleniti dignissimos sit. Delectus dolor qui saepe culpa architecto similique molestias. Itaque veniam sequi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905e977735333dd60b0000", "id"=>"54905e977735333dd60c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd60d0000'), "name"=>"Dr. Kamren Hackett", "reference"=>"Desmond Schultz", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd60e0000'), "author_name"=>"Gwen Stokes", "content"=>["Porro molestiae provident non iure. Accusamus temporibus eum. Voluptates repudiandae alias. Voluptates et ut non. Ut excepturi et iure unde numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905e977735333dd60d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd60f0000'), "name"=>"Uriel Bednar", "reference"=>"Sheridan Hagenes I", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6100000'), "author_name"=>"Nicholaus Stracke", "content"=>["Consequuntur labore totam velit molestiae tenetur. Expedita enim corrupti quaerat. Porro commodi assumenda est."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905e977735333dd60f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3446ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6110000'), "name"=>"Wayne Wilkinson", "reference"=>"Colten Powlowski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6120000'), "author_name"=>"Evelyn Senger", "content"=>["Natus ut eveniet quaerat ea rerum. Eum corporis amet repellendus aut. A velit soluta autem ad eum asperiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905e977735333dd6110000", "id"=>"54905e977735333dd6120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6130000'), "name"=>"Virgil Heidenreich", "reference"=>"Carli Hilpert", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6140000'), "author_name"=>"Selmer Aufderhar", "content"=>["Sed ad dolores qui. Eius porro ratione officia sed praesentium. Fuga et provident veritatis nesciunt impedit nihil sunt. Quasi dolorem omnis autem qui est ex."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e977735333dd6140000", "product_id"=>"54905e977735333dd6130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6130000'), "comments._id"=>BSON::ObjectId('54905e977735333dd6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms Redirected to http://test.host/admin/products/54905e977735333dd6130000/comments/54905e977735333dd6140000 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('54905e977735333dd6150000'), "name"=>"Clemmie Hermiston", "reference"=>"Brennon Abernathy", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd6160000'), "firstname"=>"Willie", "lastname"=>"Legros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5309ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905e977735333dd6150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6150000')} 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('54905e977735333dd6150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd6170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms Redirected to http://test.host/admin/products/54905e977735333dd6150000/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('54905e977735333dd6180000'), "name"=>"Doyle McDermott", "reference"=>"Mariane Abbott", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd6190000'), "firstname"=>"Tyrique", "lastname"=>"Kemmer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905e977735333dd6190000", "product_id"=>"54905e977735333dd6180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4225ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.3ms) Completed 200 OK in 39ms (Views: 36.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd61a0000'), "name"=>"Katrina Pagac", "reference"=>"Leilani Schaefer", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd61b0000'), "firstname"=>"Adrienne", "lastname"=>"Mertz"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905e977735333dd61a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd61c0000'), "name"=>"Dejon Macejkovic", "reference"=>"Leslie Weber", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd61d0000'), "firstname"=>"Name", "lastname"=>"Steuber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905e977735333dd61d0000", "product_id"=>"54905e977735333dd61c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd61e0000'), "name"=>"Miss Nash Pfeffer", "reference"=>"Greyson Conn", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e977735333dd61f0000'), "firstname"=>"Paris", "lastname"=>"Kuvalis"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905e977735333dd61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905e977735333dd61e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905e977735333dd61e0000/manager 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('54905e977735333dd6200000'), "name"=>"Solon Schinner", "reference"=>"Ms. Mariano Zulauf", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1875ms 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('54905e977735333dd6210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms Redirected to http://test.host/admin/products/54905e977735333dd6210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2100ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6220000'), "name"=>"Vicky Robel", "reference"=>"Aron Ankunding", "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.2008ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905e977735333dd6220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms 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.2001ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6230000'), "name"=>"Lisandro Kunze III", "reference"=>"Berta Fahey", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905e977735333dd6230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6240000'), "name"=>"Tate Strosin", "reference"=>"Mrs. Brook Quitzon", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms 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.4971ms Completed 200 OK in 11ms (Views: 10.4ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6250000'), "name"=>"Liliane Stroman MD", "reference"=>"Mrs. Tom Kulas", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6280000'), "name"=>"Dr. Edwina Reinger", "reference"=>"Fausto Pfannerstill", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905e977735333dd6280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms 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('54905e977735333dd6290000'), "name"=>"Perry Kirlin", "reference"=>"Lottie Nienow III", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e977735333dd6290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6290000')} 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('54905e977735333dd6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms Redirected to http://test.host/admin/products/54905e977735333dd6290000 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('54905e977735333dd62a0000'), "firstname"=>"Cathy", "lastname"=>"Schmitt"}] 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=>"admin_users", :query=>{}} runtime: 0.2290ms 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('54905e977735333dd62b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms Redirected to http://test.host/admin/users/54905e977735333dd62b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2226ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e977735333dd62c0000'), "firstname"=>"Gayle", "lastname"=>"Towne"}] 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.1974ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905e977735333dd62c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e977735333dd62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e977735333dd62c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms 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.1736ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e977735333dd62d0000'), "firstname"=>"Payton", "lastname"=>"Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905e977735333dd62d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e977735333dd62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.0ms) Completed 200 OK in 39ms (Views: 37.8ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e977735333dd62e0000'), "firstname"=>"Noe", "lastname"=>"Hagenes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms 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.3319ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e977735333dd62f0000'), "firstname"=>"Lillie", "lastname"=>"Mante"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54905e977735333dd6300000'), "firstname"=>"Alex", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905e977735333dd6300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e977735333dd6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms 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('54905e977735333dd6310000'), "firstname"=>"Shyanne", "lastname"=>"Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4388ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905e977735333dd6310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e977735333dd6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905e977735333dd6310000 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('54905e977735333dd6320000'), "firstname"=>"Pearl", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2828ms 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('54905e977735333dd6330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms 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.2656ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6340000'), "firstname"=>"Jackie", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905e977735333dd6340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e977735333dd6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6350000'), "firstname"=>"Eldora", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6360000'), "firstname"=>"Gustave", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905e977735333dd6360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e977735333dd6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6370000'), "firstname"=>"Evan", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905e977735333dd6370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905e977735333dd6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6380000'), "name"=>"Clint Langosh MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2189ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6390000'), "name"=>"Gail Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63a0000'), "name"=>"Jabari Okuneva II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63b0000'), "name"=>"Tanner Langosh DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63c0000'), "name"=>"Declan Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63d0000'), "name"=>"Antonia Parisian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63e0000'), "name"=>"Miss Fausto Mosciski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd63f0000'), "name"=>"Miss Samir Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6400000'), "name"=>"Walker Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6410000'), "name"=>"Alize Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6420000'), "name"=>"Jerrod Hand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6430000'), "name"=>"Mrs. Kaden Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6440000'), "name"=>"Jedidiah Thompson V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6450000'), "name"=>"Destin Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6460000'), "name"=>"Marc Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6470000'), "name"=>"Cicero Stehr IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6480000'), "name"=>"Fritz Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6490000'), "name"=>"Mr. Eleonore Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64a0000'), "name"=>"Coleman Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64b0000'), "name"=>"Letha Marquardt V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64c0000'), "name"=>"Emmet Paucek DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64d0000'), "name"=>"Kaylin Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1285ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64e0000'), "name"=>"Jazmyne Collier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd64f0000'), "name"=>"Vance King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd64f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6500000'), "name"=>"Addie Nolan DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1292ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6510000'), "name"=>"Bonita Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6520000'), "name"=>"Misty Cronin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6530000'), "name"=>"Myriam Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6540000'), "name"=>"Darron Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1286ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6550000'), "name"=>"Tyson Wintheiser Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6560000'), "name"=>"Velma Tromp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6570000'), "name"=>"Zachariah Hilpert III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6580000'), "name"=>"Crawford Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6590000'), "name"=>"Dr. Dan Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65a0000'), "name"=>"Leon Beier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65b0000'), "name"=>"Anabel Rutherford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65c0000'), "name"=>"Ms. Arlie Prohaska"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65d0000'), "name"=>"Garrett White IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65e0000'), "name"=>"Gerardo Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd65f0000'), "name"=>"Berta Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd65f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1722ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6600000'), "name"=>"Giles Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6610000'), "name"=>"Elton Schinner DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6620000'), "name"=>"Ken Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6630000'), "name"=>"Ransom Oberbrunner II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6640000'), "name"=>"Scottie Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6650000'), "name"=>"Kamille Lueilwitz I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6660000'), "name"=>"Cielo Greenfelder Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6670000'), "name"=>"Celine Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6680000'), "name"=>"Sunny Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6690000'), "name"=>"Mr. Kaleb Bogan"}] 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={"category_id"=>BSON::ObjectId('54905e977735333dd6690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66a0000'), "name"=>"Valentine Konopelski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7337ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66b0000'), "name"=>"Karine Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66c0000'), "name"=>"Jules Jerde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66d0000'), "name"=>"Torey Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66e0000'), "name"=>"Mrs. Clay Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd66f0000'), "name"=>"Mr. Edwina Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd66f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6700000'), "name"=>"Mr. Ansel Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6710000'), "name"=>"Bette Renner Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6720000'), "name"=>"Genoveva Crist"}] 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={"category_id"=>BSON::ObjectId('54905e977735333dd6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6730000'), "name"=>"Arch Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6740000'), "name"=>"Jefferey Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6750000'), "name"=>"Cassidy Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6760000'), "name"=>"Dr. Mary Parker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6770000'), "name"=>"Jan Erdman"}] 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={"category_id"=>BSON::ObjectId('54905e977735333dd6770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6780000'), "name"=>"Ladarius Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6790000'), "name"=>"Ulises Osinski DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67a0000'), "name"=>"Claudine Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67b0000'), "name"=>"Lisa Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67c0000'), "name"=>"Adam Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67d0000'), "name"=>"Miss Preston Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5265ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67e0000'), "name"=>"Kaleb Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd67f0000'), "name"=>"Emmie Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd67f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6800000'), "name"=>"Dolly Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6810000'), "name"=>"Euna Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6820000'), "name"=>"Mr. Gavin Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6830000'), "name"=>"Hipolito Larson"}] 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={"category_id"=>BSON::ObjectId('54905e977735333dd6830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6840000'), "name"=>"Miss Jorge Jaskolski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6850000'), "name"=>"Mr. Gilda Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6860000'), "name"=>"Thalia Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6870000'), "name"=>"Ellsworth Kuvalis MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6880000'), "name"=>"Cydney Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6890000'), "name"=>"Miss Dante Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68a0000'), "name"=>"Dennis VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd68a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68b0000'), "name"=>"Ramona Stokes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd68b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68c0000'), "name"=>"Cletus Jaskolski MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd68c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68d0000'), "name"=>"Mr. Gerard Gerlach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd68d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68e0000'), "name"=>"Al Kling"}] 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={"category_id"=>BSON::ObjectId('54905e977735333dd68e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd68f0000'), "name"=>"Selena Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd68f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6900000'), "name"=>"Jalen Bradtke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6910000'), "name"=>"Flavio Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6920000'), "name"=>"Dr. Kayleigh McCullough"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6930000'), "name"=>"Nannie McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6940000'), "name"=>"Lemuel Gislason IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6950000'), "name"=>"Ms. Gerard Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6960000'), "name"=>"Maci Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6970000'), "name"=>"Elliott Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2849ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms Redirected to http://test.host/categories/54905e977735333dd6980000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3021ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6990000'), "name"=>"Guillermo Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2790ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905e977735333dd6990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd6990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd6990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms Redirected to http://test.host/categories Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2958ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd69a0000'), "name"=>"Emilie Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905e977735333dd69a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4408ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (9.1ms) Completed 200 OK in 16ms (Views: 14.6ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd69b0000'), "name"=>"Miss Marian Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305915439382] runtime: 0.1207ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3374ms Completed 200 OK in 23ms (Views: 22.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd69c0000'), "name"=>"Cesar Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.5591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305133262507] runtime: 0.1413ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3673ms Completed 200 OK in 43ms (Views: 12.2ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd69d0000'), "name"=>"Leone Cassin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.8ms) Completed 200 OK in 9ms (Views: 8.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd69f0000'), "name"=>"Zackary Waters"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905e977735333dd69f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd69f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Completed 200 OK in 5ms (Views: 3.9ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6a00000'), "name"=>"Ms. Armani Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905e977735333dd6a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905e977735333dd6a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905e977735333dd6a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms Redirected to http://test.host/categories/54905e977735333dd6a00000 Completed 302 Found in 5ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6a10000'), "name"=>"Sarah Ruecker", "reference"=>"Linnea Labadie", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6a20000'), "author_name"=>"Kennith Klein", "content"=>["Sit et possimus. Blanditiis inventore quo. Repellendus rerum facilis molestiae dolore vel. Dolor ut sit sapiente voluptas illo iusto quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e977735333dd6a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3104ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e977735333dd6a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms Redirected to http://test.host/products/54905e977735333dd6a10000/comments/54905e977735333dd6a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2169ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6a40000'), "name"=>"Hiram Feeney", "reference"=>"Theresa Tillman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6a50000'), "author_name"=>"Jada Hauck", "content"=>["Blanditiis eum cupiditate sed illum. Quia nostrum non officia voluptas sunt quam. Quam nesciunt eius nobis aut autem. Consectetur cupiditate nesciunt fugiat. Repellat praesentium laudantium enim veritatis quam magnam voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905e977735333dd6a40000", "id"=>"54905e977735333dd6a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a40000')} 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('54905e977735333dd6a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905e977735333dd6a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms Redirected to http://test.host/products/54905e977735333dd6a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1885ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6a60000'), "name"=>"Miss Brenden Block", "reference"=>"Kayli Reynolds", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6a70000'), "author_name"=>"Mrs. Elian Ferry", "content"=>["Voluptatibus voluptas et. Quas ut neque sint nisi delectus consequuntur vel. Qui molestiae occaecati maiores fugit tempora quaerat facilis. Cum eius voluptas. Magnam nam error quo ipsa vitae non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905e977735333dd6a60000", "id"=>"54905e977735333dd6a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.9ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6a80000'), "name"=>"Olaf Welch", "reference"=>"Ken Rosenbaum", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6a90000'), "author_name"=>"Ms. Kenyatta Hoeger", "content"=>["Sit consequatur earum ipsum impedit reiciendis. Dolorum omnis explicabo suscipit provident ducimus. Sed molestias natus explicabo. Laudantium eos id recusandae error."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905e977735333dd6a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6aa0000'), "name"=>"Leora Grant", "reference"=>"Nelda Cruickshank II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6ab0000'), "author_name"=>"Elian Sawayn", "content"=>["Est quia tempora corrupti doloribus dolorem laborum exercitationem. Ducimus eius pariatur voluptatem deleniti et voluptatem ad. Nobis ullam tempora non molestias quasi. Soluta aut aspernatur quasi dolorum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905e977735333dd6aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6ac0000'), "name"=>"Soledad Maggio", "reference"=>"Amparo Cronin", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6ad0000'), "author_name"=>"Emiliano Fritsch", "content"=>["Tempora in aperiam amet ipsum. Et accusamus ipsum qui. Quo magni doloremque repudiandae sit eos porro qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905e977735333dd6ac0000", "id"=>"54905e977735333dd6ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6ae0000'), "name"=>"Otho Funk Jr.", "reference"=>"Lorenza Flatley", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6af0000'), "author_name"=>"Marisa Roberts", "content"=>["Perspiciatis sit ab velit itaque. In ut iste commodi maiores. Voluptas consequatur dolores commodi id laboriosam neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905e977735333dd6ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b00000'), "name"=>"Hulda Waters", "reference"=>"Terrence Durgan", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6b10000'), "author_name"=>"Laura Terry", "content"=>["Itaque magnam eum quas provident. Nesciunt commodi eaque ipsum nostrum unde ullam. Sunt autem molestiae ad. A rem molestias officiis. Suscipit eos voluptates dolores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905e977735333dd6b00000", "id"=>"54905e977735333dd6b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms Completed 200 OK in 5ms (Views: 2.7ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b20000'), "name"=>"Miss Stacy Donnelly", "reference"=>"Ms. Mekhi Medhurst", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e977735333dd6b30000'), "author_name"=>"Lupe Barrows", "content"=>["Repudiandae facilis et nihil deleniti sit tempore sint. Ut amet aliquid sint autem tenetur qui ipsum. Est minus itaque natus minima et nam ipsam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e977735333dd6b30000", "product_id"=>"54905e977735333dd6b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6b20000')} 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('54905e977735333dd6b20000'), "comments._id"=>BSON::ObjectId('54905e977735333dd6b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms Redirected to http://test.host/products/54905e977735333dd6b20000/comments/54905e977735333dd6b30000 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('54905e977735333dd6b40000'), "firstname"=>"Wiley", "lastname"=>"Beatty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2107ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Redirected to http://test.host/admin/clients/54905e977735333dd6b50000 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_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b60000'), "firstname"=>"Willow", "lastname"=>"Mante"}] 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=>"clients", :query=>{}} runtime: 0.1645ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905e977735333dd6b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e977735333dd6b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e977735333dd6b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms 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.1762ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b70000'), "firstname"=>"Winifred", "lastname"=>"Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905e977735333dd6b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e977735333dd6b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2182ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e977735333dd6b80000'), "firstname"=>"Loy", "lastname"=>"Wisozk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms 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('54905e987735333dd6b90000'), "firstname"=>"Clarabelle", "lastname"=>"Romaguera"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54905e987735333dd6ba0000'), "firstname"=>"Isabell", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7410ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905e987735333dd6ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6bb0000'), "firstname"=>"Mike", "lastname"=>"Stoltenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905e987735333dd6bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms Redirected to http://test.host/admin/clients/54905e987735333dd6bb0000 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('54905e987735333dd6bc0000'), "firstname"=>"Lisette", "lastname"=>"Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2107ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Redirected to http://test.host/clients/54905e987735333dd6bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2103ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6be0000'), "firstname"=>"Bessie", "lastname"=>"Padberg"}] 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.1705ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905e987735333dd6be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms 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.1952ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6bf0000'), "firstname"=>"Allan", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905e987735333dd6bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms Rendered /home/geoffroy/projects/crealettres/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('54905e987735333dd6c00000'), "firstname"=>"Hyman", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4467ms 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('54905e987735333dd6c10000'), "firstname"=>"Tremaine", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905e987735333dd6c20000'), "firstname"=>"Ayden", "lastname"=>"Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905e987735333dd6c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms 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('54905e987735333dd6c30000'), "firstname"=>"Kaitlin", "lastname"=>"Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905e987735333dd6c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905e987735333dd6c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms Redirected to http://test.host/clients/54905e987735333dd6c30000 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('54905e987735333dd6c40000'), "name"=>"Tomas Bogisich II", "reference"=>"Torrance Heller", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6c50000'), "firstname"=>"Beverly", "lastname"=>"Sauer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905e987735333dd6c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms Redirected to http://test.host/products/54905e987735333dd6c40000/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('54905e987735333dd6c70000'), "name"=>"Ms. Amber Swift", "reference"=>"Riley Ebert I", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6c80000'), "firstname"=>"Cheyanne", "lastname"=>"Considine"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905e987735333dd6c80000", "product_id"=>"54905e987735333dd6c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6c90000'), "name"=>"Cameron Tremblay", "reference"=>"Jacky Rice", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6ca0000'), "firstname"=>"Stacy", "lastname"=>"Stoltenberg"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905e987735333dd6c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6cb0000'), "name"=>"Arianna Schamberger", "reference"=>"Gianni Schimmel", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6cc0000'), "firstname"=>"Nathan", "lastname"=>"Koepp"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4827ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905e987735333dd6cc0000", "product_id"=>"54905e987735333dd6cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms Completed 200 OK in 31ms (Views: 29.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6cd0000'), "name"=>"Tatum Pfannerstill", "reference"=>"Concepcion Hoppe", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54905e987735333dd6ce0000'), "firstname"=>"Justine", "lastname"=>"Fisher"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5593ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905e987735333dd6ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905e987735333dd6cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms Unpermitted parameters: name Redirected to http://test.host/products/54905e987735333dd6cd0000/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('54905e987735333dd6cf0000'), "name"=>"Ryder Haley", "reference"=>"Rachel Goodwin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d00000'), "name"=>"Nikko Windler", "reference"=>"Elvis Volkman", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d10000'), "name"=>"Kane Schinner I", "reference"=>"Destinee Berge", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d20000'), "name"=>"Orrin Huels", "reference"=>"Therese Feest", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d30000'), "name"=>"Miss Aliya Rogahn", "reference"=>"Arlie MacGyver", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d40000'), "name"=>"Jeanne Kiehn", "reference"=>"Manuela Emard", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Redirected to http://test.host/products/54905e987735333dd6d50000 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('54905e987735333dd6d60000'), "name"=>"Reyes Kshlerin", "reference"=>"Miss Jerald Bernhard", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2001ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54905e987735333dd6d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms 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.2251ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d70000'), "name"=>"Dallas Davis Sr.", "reference"=>"Kenya Wintheiser", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905e987735333dd6d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.4ms) 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('54905e987735333dd6d80000'), "name"=>"Vito Goldner", "reference"=>"Albert Kihn II", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4777ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7077ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279897695645] runtime: 0.0924ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3039ms Completed 200 OK in 18ms (Views: 17.7ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6d90000'), "name"=>"Ola Grant", "reference"=>"Kurtis Connelly", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6da0000'), "name"=>"HelloWorld", "reference"=>"Amir Ferry III", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6db0000'), "name"=>"value", "reference"=>"Mrs. Beulah Cormier", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4488ms Completed 200 OK in 6ms (Views: 5.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4173ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2195ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3219ms Completed 200 OK in 4ms (Views: 3.5ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3311ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3039ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1880ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6dc0000'), "name"=>"Oscar Davis", "reference"=>"Cynthia Breitenberg", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0124ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281042735336] runtime: 0.1017ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3109ms Completed 200 OK in 44ms (Views: 43.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279426909094] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7969ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280893257339] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279930071098] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279762471398] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279410952023] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280233562564] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8274ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279667445281] runtime: 0.0692ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279610548177] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011300795] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8306ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982414140] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280734852064] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279346534213] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134221380] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6832ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281156696274] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6544ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279637021462] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279719005401] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281293957202] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207933797] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280438318802] runtime: 0.0748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7019ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279203037410] runtime: 0.0731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558018865] runtime: 0.0657ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731887445] runtime: 0.0635ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281296585132] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279663465932] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280561239045] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6486ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280971122439] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280253146095] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280448175514] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279587555571] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6747ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279360779213] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616932767] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279276531098] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6638ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280741105084] runtime: 0.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279982813317] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279394805119] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280885221439] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.1607ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279417449964] runtime: 0.1241ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279362975267] runtime: 0.0751ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6701ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279887690667] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280006381415] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5803ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280779503667] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279416698950] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279210450015] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280274664968] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279305999534] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280429614685] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280747779323] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280307092214] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224443407] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095575865] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281012293089] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279306827737] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280588840701] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280904066511] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451033742] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096217210] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280454236768] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280590131134] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279581431215] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280916595734] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5632ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279903740289] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457170722] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281248226417] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865519797] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280008917377] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279626526022] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279269059202] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281268231312] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279619847044] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280524373387] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5624ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281181512354] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279976177881] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279565151938] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280081116096] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281139114964] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280539275795] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7927ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280439292225] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7556ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920055621] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281075625286] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280562563138] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279274163536] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7714ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062843171] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280457982956] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280355325141] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279379681863] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7829ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280408729429] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280031329247] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280731503875] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280015281474] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280089429854] runtime: 0.0629ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7609ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280551847510] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280126367686] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280339673491] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7605ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281306338571] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280673410942] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280096319617] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929405594] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7654ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279218621054] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279825755896] runtime: 0.0552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326751236] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279848603414] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7665ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265008026] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7644ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281095416355] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7629ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279173113489] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7688ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279678543864] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279348599983] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280153303409] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279833098112] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279815063732] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279594120439] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280743324932] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7727ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280591333120] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280424306573] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.9145ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281084423716] runtime: 0.0915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8854ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279350615568] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7962ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279200193460] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279415869234] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279188315671] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280066877572] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8091ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280015104226] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7849ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279674172361] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280274275652] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280243814588] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280935025628] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281276531279] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279388793994] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280894364941] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280479804585] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279893274208] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922814280] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975961702] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7298ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279567598788] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280274791226] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6459ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370094378] runtime: 0.0623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280655987690] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281184570630] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280669375738] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6465ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280654231793] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280051456449] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279238517361] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036109290] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6527ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280095248709] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279402436170] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280298653604] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279451441302] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358378937] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281058805780] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6062ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279657121434] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831868351] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280660524981] runtime: 0.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280795690268] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280978982471] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6189ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281175742983] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281088759113] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280189066438] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6007ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281040875565] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279485066914] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279439305189] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6153ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280282592051] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280936985922] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280666531962] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6121ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280744529150] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280120086803] runtime: 0.0492ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6dd0000'), "name"=>"Vena Ondricka", "reference"=>"Carlos Padberg", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2592ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6de0000'), "name"=>"Mr. Stefan Ferry", "reference"=>"Turner Schaden", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280794103674] runtime: 0.0660ms Completed 200 OK in 5ms (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('54905e987735333dd6df0000'), "name"=>"Shyann Block", "reference"=>"Christine Smith", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905e987735333dd6df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms 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('54905e987735333dd6e00000'), "name"=>"Virgie Halvorson", "reference"=>"Amy Larson I", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('54905e987735333dd6e20000'), "name"=>"Emmanuelle DuBuque", "reference"=>"Arnaldo Schmeler", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905e987735333dd6e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms Completed 200 OK in 4ms (Views: 2.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6e30000'), "name"=>"Clementina Heathcote", "reference"=>"Edward Langosh MD", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e977735333dd6060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 32ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3438ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6e40000'), "name"=>"Marian Gerlach IV", "reference"=>"Agustina Goyette", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6e50000'), "name"=>"Wilton Collins", "reference"=>"Cheyanne Kihn", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2991ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6e60000'), "name"=>"Dr. Taurean Wehner", "reference"=>"Adam Cormier", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1829ms 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('54905e987735333dd6e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.5028ms Completed 201 Created in 11ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6e80000'), "name"=>"Roma Purdy III", "reference"=>"Murphy Graham", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905e987735333dd6e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6e80000')} 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('54905e987735333dd6e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms 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('54905e987735333dd6e90000'), "name"=>"Eula Lowe", "reference"=>"Agustina Braun I", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms 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('54905e987735333dd6eb0000'), "name"=>"Jackeline Beatty", "reference"=>"Robyn Barton", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e987735333dd6eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms 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('54905e987735333dd6ec0000'), "name"=>"Cleo Purdy", "reference"=>"Marlee Yost", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905e987735333dd6ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms Redirected to http://test.host/products/54905e987735333dd6ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6ef0000'), "name"=>"Rodger Hilll", "reference"=>"Mohammad Cartwright II", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6ed0000'), "author_name"=>"Mr. Scottie Kunze", "content"=>["Magni ipsa enim et. Saepe reiciendis non perferendis nihil inventore voluptas. Tenetur quod molestias."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6ee0000'), "author_name"=>"Bud Ryan II", "content"=>["Laboriosam quis est incidunt. Eum et corrupti aut commodi et optio. Maiores vitae natus. Molestiae consequuntur unde dolor corrupti. Tenetur ipsum beatae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905e987735333dd6ef0000", "comment_id"=>"54905e987735333dd6ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ef0000'), "comments._id"=>BSON::ObjectId('54905e987735333dd6ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905e987735333dd6f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms Redirected to http://test.host/products/54905e987735333dd6ef0000/comments/54905e987735333dd6ed0000/comments/54905e987735333dd6f00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6f30000'), "name"=>"Elyse Wehner", "reference"=>"Mrs. Heloise Paucek", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f10000'), "author_name"=>"Magnolia Kuhic IV", "content"=>["Molestias impedit voluptates nulla optio. Beatae enim ut deserunt. Et repudiandae voluptatem sequi. Distinctio sunt quam voluptatem eos ut animi."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f20000'), "author_name"=>"Brayan Kulas", "content"=>["Non dicta nostrum voluptas est illo. Recusandae molestiae saepe sed porro maxime sit nam. Officiis molestiae earum accusantium rerum ullam voluptas velit. Atque nemo eum hic."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905e987735333dd6f30000", "comment_id"=>"54905e987735333dd6f10000", "id"=>"54905e987735333dd6f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6f30000')} 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('54905e987735333dd6f30000'), "comments._id"=>BSON::ObjectId('54905e987735333dd6f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905e987735333dd6f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Redirected to http://test.host/products/54905e987735333dd6f30000/comments/54905e987735333dd6f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6f60000'), "name"=>"Mrs. Isabel Rippin", "reference"=>"Maxine Bergstrom Jr.", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f40000'), "author_name"=>"Korbin Waters", "content"=>["Cum sunt deleniti excepturi. Deleniti explicabo quia. Ut debitis qui architecto et minima nam. Nobis occaecati beatae blanditiis quia harum."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f50000'), "author_name"=>"Darrin Yost", "content"=>["Velit modi inventore. Natus voluptas dolore qui provident adipisci accusamus aperiam. Tempore natus qui aspernatur odio temporibus sapiente. Impedit quia unde aut ducimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905e987735333dd6f60000", "comment_id"=>"54905e987735333dd6f40000", "id"=>"54905e987735333dd6f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.3ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6f90000'), "name"=>"Anibal Rolfson", "reference"=>"Ashleigh Weimann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f70000'), "author_name"=>"Guillermo Gottlieb", "content"=>["Nemo aut quisquam rem recusandae. Ut nesciunt harum iusto. Optio deleniti aut eum ea corporis dolor quod."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6f80000'), "author_name"=>"Florian Wuckert", "content"=>["Nisi ipsa debitis. Laudantium non enim sit sit et commodi cupiditate. Autem illum totam sapiente vero nisi at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905e987735333dd6f90000", "comment_id"=>"54905e987735333dd6f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms Completed 200 OK in 6ms (Views: 3.5ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6fc0000'), "name"=>"Forest Haag", "reference"=>"Angelina Sauer", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6fa0000'), "author_name"=>"Lester Mohr", "content"=>["Suscipit quae id perferendis dolores a aliquam eveniet. Aliquam possimus blanditiis dolorem sed ut ut. Omnis iusto officiis eveniet odit doloremque. Id ipsa repudiandae."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6fb0000'), "author_name"=>"Geo Deckow", "content"=>["Sed nemo perspiciatis. Ab omnis quia deleniti. Maiores consequatur facilis qui facere cumque molestias odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905e987735333dd6fc0000", "comment_id"=>"54905e987735333dd6fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6ff0000'), "name"=>"Roslyn Cormier PhD", "reference"=>"Nils Bartell I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6fd0000'), "author_name"=>"Mrs. Kristofer Boehm", "content"=>["Asperiores nihil autem adipisci suscipit consequatur mollitia molestias. Velit voluptatem et. Rerum dignissimos molestiae ab incidunt ut nam."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6fe0000'), "author_name"=>"Maynard Hahn", "content"=>["Tenetur ad iste voluptatem aliquid reiciendis ea facilis. Ut non eos aut. Sit voluptatum aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905e987735333dd6ff0000", "comment_id"=>"54905e987735333dd6fd0000", "id"=>"54905e987735333dd6fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6020100'), "name"=>"Mrs. Hillard Willms", "reference"=>"Wilson Metz", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6000100'), "author_name"=>"Taurean Pagac DDS", "content"=>["Dolor quis qui doloribus nesciunt eaque expedita rerum. Nostrum et similique unde nam dolorum odio. Quia mollitia consequuntur doloribus est sed nobis. Quae animi quibusdam consequatur ipsam ut corporis. Omnis provident repellendus sapiente et recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6010100'), "author_name"=>"Neha Fritsch", "content"=>["Est voluptatibus itaque ipsum voluptates reiciendis a. Nobis magnam ratione enim quis omnis expedita. Enim et sunt sunt rerum vel ab aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905e987735333dd6020100", "comment_id"=>"54905e987735333dd6000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 4.2ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6050100'), "name"=>"Julianne Feest", "reference"=>"Mrs. Evalyn Batz", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6030100'), "author_name"=>"Triston Cremin", "content"=>["Qui iure reprehenderit ut autem. Eveniet ad asperiores. Unde et cum optio. Totam quis dolores esse voluptatem excepturi similique magni."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6040100'), "author_name"=>"Elwyn Kling", "content"=>["Dicta laudantium eius odit autem officiis omnis. Voluptatum tempore laudantium aspernatur aperiam eos. Quisquam perferendis neque est aperiam enim beatae. Dolorem deserunt a labore. Necessitatibus sint ipsum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905e987735333dd6050100", "comment_id"=>"54905e987735333dd6030100", "id"=>"54905e987735333dd6040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905e987735333dd6080100'), "name"=>"Simeon Nikolaus Sr.", "reference"=>"Etha Bergnaum", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6060100'), "author_name"=>"Mr. Floy Harris", "content"=>["Exercitationem rem sint praesentium dolor nemo. Consequatur modi saepe. Ad nisi eaque et. Nostrum quis in et voluptatem."], "comments"=>[{"_id"=>BSON::ObjectId('54905e987735333dd6070100'), "author_name"=>"Delmer Yost", "content"=>["Aut dolores repellendus molestiae voluptatem ab occaecati iure. Et qui recusandae soluta quisquam iusto vel nihil. Eos rem laboriosam cupiditate aut eligendi. Voluptatem omnis eius blanditiis sit beatae sed unde."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905e987735333dd6070100", "product_id"=>"54905e987735333dd6080100", "comment_id"=>"54905e987735333dd6060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905e987735333dd6080100'), "comments._id"=>BSON::ObjectId('54905e987735333dd6060100'), "comments.0.comments._id"=>BSON::ObjectId('54905e987735333dd6070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5847ms Redirected to http://test.host/products/54905e987735333dd6080100/comments/54905e987735333dd6060100/comments/54905e987735333dd6070100 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('54905e987735333dd6090100'), "firstname"=>"Idell", "lastname"=>"Hermiston"}] 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=>"admin_users", :query=>{}} runtime: 0.1759ms 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('54905e987735333dd60a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms Redirected to http://test.host/users/54905e987735333dd60a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2287ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e987735333dd60b0100'), "firstname"=>"Brett", "lastname"=>"Boyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms 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"=>"54905e987735333dd60b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e987735333dd60b0100')} 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('54905e987735333dd60b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms 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.1604ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e987735333dd60c0100'), "firstname"=>"Maria", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905e987735333dd60c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e987735333dd60c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) 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('54905e987735333dd60d0100'), "firstname"=>"Kallie", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms 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.3225ms Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e987735333dd60e0100'), "firstname"=>"Kaitlin", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905e987735333dd60f0100'), "firstname"=>"Brandt", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905e987735333dd60f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e987735333dd60f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms 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('54905e987735333dd6100100'), "firstname"=>"Shanny", "lastname"=>"Doyle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5991ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905e987735333dd6100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905e987735333dd6100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms Unpermitted parameters: name Redirected to http://test.host/users/54905e987735333dd6100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms 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.5816ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6602ms 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.5144ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6696ms 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.6894ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba000000'), "firstname"=>"Florida", "lastname"=>"Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3166ms 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('54905f9b77353343ba010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms 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.3703ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba020000'), "firstname"=>"Garrison", "lastname"=>"O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54905f9b77353343ba020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9b77353343ba020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms) Completed 200 OK in 18ms (Views: 16.8ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba030000'), "firstname"=>"Rosalia", "lastname"=>"Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba040000'), "firstname"=>"Velva", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54905f9b77353343ba040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9b77353343ba040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba050000'), "firstname"=>"Edison", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54905f9b77353343ba050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9b77353343ba050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms 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('54905f9b77353343ba060000'), "name"=>"Lou Simonis", "reference"=>"Mrs. Norwood Rempel", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba070000'), "author_name"=>"Seamus Grant V", "content"=>["Magni rerum unde ducimus eaque expedita quia sit. Nostrum ipsa sint quisquam fuga minima aut fugit. Quod quia quaerat commodi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905f9b77353343ba060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905f9b77353343ba080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms Redirected to http://test.host/admin/products/54905f9b77353343ba060000/comments/54905f9b77353343ba080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba090000'), "name"=>"Gerry Daugherty", "reference"=>"Kane Barton", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba0a0000'), "author_name"=>"Blaise Kassulke", "content"=>["Voluptatum esse impedit vel repellat dolorem aut. Voluptatum similique incidunt ipsum. Fugit voluptatem animi rerum nihil et. Quaerat sed est dignissimos provident minus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54905f9b77353343ba090000", "id"=>"54905f9b77353343ba0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905f9b77353343ba0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms Redirected to http://test.host/admin/products/54905f9b77353343ba090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba0b0000'), "name"=>"Nicklaus Herman", "reference"=>"Bonnie Homenick", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba0c0000'), "author_name"=>"Laney Tillman", "content"=>["Sit temporibus eum aut. Odio ut autem et delectus. Sequi natus quo aliquam officiis facere."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54905f9b77353343ba0b0000", "id"=>"54905f9b77353343ba0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.6ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba0d0000'), "name"=>"Kathryne Russel III", "reference"=>"Paxton Schulist DDS", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba0e0000'), "author_name"=>"Natalia Koepp II", "content"=>["Et rerum rem. Delectus facere nihil aspernatur. Earum quaerat quos doloremque modi qui id praesentium. Occaecati autem impedit enim sequi labore harum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54905f9b77353343ba0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3429ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba0f0000'), "name"=>"Veronica Leannon", "reference"=>"Tatum Beier", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba100000'), "author_name"=>"Johan Hickle", "content"=>["Quas ut modi repellendus. Fugiat minima ut ea quis quia. Illum quisquam voluptatum esse id."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54905f9b77353343ba0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3715ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba110000'), "name"=>"Nicolette Klocko MD", "reference"=>"Wayne Stamm", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba120000'), "author_name"=>"Efrain Greenholt", "content"=>["Veritatis neque nihil. Eius dicta repellendus. Sequi possimus quia pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54905f9b77353343ba110000", "id"=>"54905f9b77353343ba120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9b77353343ba130000'), "name"=>"Dustin Feeney Jr.", "reference"=>"Maximillia Marvin", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54905f9b77353343ba140000'), "author_name"=>"Genevieve Windler", "content"=>["Est voluptatibus ut quos enim a tempora. Dolorem non ad expedita et. Omnis sunt aut quia doloribus expedita provident. Et non hic atque. Sed ducimus consequatur ipsa reiciendis voluptatibus corrupti ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905f9b77353343ba140000", "product_id"=>"54905f9b77353343ba130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba130000'), "comments._id"=>BSON::ObjectId('54905f9b77353343ba140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Redirected to http://test.host/admin/products/54905f9b77353343ba130000/comments/54905f9b77353343ba140000 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('54905f9b77353343ba150000'), "name"=>"Alexander Bergstrom Jr.", "reference"=>"Crystal Mante", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905f9b77353343ba160000'), "firstname"=>"Claudia", "lastname"=>"Moore"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6687ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905f9b77353343ba150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba150000')} 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('54905f9b77353343ba150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905f9b77353343ba170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms Redirected to http://test.host/admin/products/54905f9b77353343ba150000/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('54905f9b77353343ba180000'), "name"=>"Nathanial Auer", "reference"=>"Vinnie Wilkinson Sr.", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54905f9b77353343ba190000'), "firstname"=>"Meggie", "lastname"=>"Beier"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54905f9b77353343ba190000", "product_id"=>"54905f9b77353343ba180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (32.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('54905f9c77353343ba1a0000'), "name"=>"Paris Botsford Sr.", "reference"=>"Dr. Afton Schamberger", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343ba1b0000'), "firstname"=>"Daphne", "lastname"=>"Kilback"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54905f9c77353343ba1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3416ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba1c0000'), "name"=>"Rasheed Brakus", "reference"=>"Werner Denesik", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343ba1d0000'), "firstname"=>"Beau", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54905f9c77353343ba1d0000", "product_id"=>"54905f9c77353343ba1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba1e0000'), "name"=>"Miss Denis Pfeffer", "reference"=>"Earnestine Purdy", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343ba1f0000'), "firstname"=>"Isom", "lastname"=>"Koss"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54905f9c77353343ba1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905f9c77353343ba1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54905f9c77353343ba1e0000/manager 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('54905f9c77353343ba200000'), "name"=>"Jacinto Cronin", "reference"=>"Elliott Green", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1882ms 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('54905f9c77353343ba210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms Redirected to http://test.host/admin/products/54905f9c77353343ba210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2101ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba220000'), "name"=>"Mazie Steuber", "reference"=>"Vladimir Ruecker", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54905f9c77353343ba220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms 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.1973ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba230000'), "name"=>"Anne Heaney MD", "reference"=>"Brooke Strosin V", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54905f9c77353343ba230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba240000'), "name"=>"Kira Haley", "reference"=>"Melany Quitzon DDS", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5821ms 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.5032ms Completed 200 OK in 11ms (Views: 10.3ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba250000'), "name"=>"Mrs. Chloe Veum", "reference"=>"Rachael Hessel", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba280000'), "name"=>"Georgiana Veum II", "reference"=>"Gerda Bahringer", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54905f9c77353343ba280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms 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('54905f9c77353343ba290000'), "name"=>"Eula Kunze Jr.", "reference"=>"Karson Simonis", "quantity"=>4}] 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"=>"54905f9c77353343ba290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343ba290000')} 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('54905f9c77353343ba290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms Redirected to http://test.host/admin/products/54905f9c77353343ba290000 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('54905f9c77353343ba2a0000'), "firstname"=>"Chase", "lastname"=>"Emmerich"}] 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.1496ms 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('54905f9c77353343ba2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms Redirected to http://test.host/admin/users/54905f9c77353343ba2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2013ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba2c0000'), "firstname"=>"Carlee", "lastname"=>"Kulas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1512ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54905f9c77353343ba2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9c77353343ba2c0000')} 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('54905f9c77353343ba2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms 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.1951ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba2d0000'), "firstname"=>"Joelle", "lastname"=>"Rogahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54905f9c77353343ba2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9c77353343ba2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.7ms) Completed 200 OK in 38ms (Views: 37.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba2e0000'), "firstname"=>"Bettie", "lastname"=>"Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7026ms 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.3429ms 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('54905f9c77353343ba2f0000'), "firstname"=>"Rhett", "lastname"=>"DuBuque"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905f9c77353343ba300000'), "firstname"=>"Nigel", "lastname"=>"Wiza"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54905f9c77353343ba300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9c77353343ba300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms 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('54905f9c77353343ba310000'), "firstname"=>"Kallie", "lastname"=>"Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905f9c77353343ba310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9c77353343ba310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54905f9c77353343ba310000 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('54905f9c77353343ba320000'), "firstname"=>"Helene", "lastname"=>"Kunde"}] 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=>"administrators", :query=>{}} runtime: 0.1862ms 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('54905f9c77353343ba330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms 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.2071ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba340000'), "firstname"=>"Marjolaine", "lastname"=>"Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54905f9c77353343ba340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9c77353343ba340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba350000'), "firstname"=>"Rene", "lastname"=>"Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba360000'), "firstname"=>"Dameon", "lastname"=>"Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54905f9c77353343ba360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9c77353343ba360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba370000'), "firstname"=>"Lowell", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54905f9c77353343ba370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54905f9c77353343ba370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba380000'), "name"=>"Madie Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba390000'), "name"=>"Tara Hand II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3a0000'), "name"=>"Pietro Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3b0000'), "name"=>"Kim Hyatt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3c0000'), "name"=>"Earnest Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3d0000'), "name"=>"Zoila McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3e0000'), "name"=>"Miss Buddy Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba3f0000'), "name"=>"Miss Aidan Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba400000'), "name"=>"Kaitlyn Armstrong DDS"}] 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={"category_id"=>BSON::ObjectId('54905f9c77353343ba400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba410000'), "name"=>"Delpha Hoeger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba420000'), "name"=>"Mr. Estefania Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba430000'), "name"=>"Vanessa Witting"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba440000'), "name"=>"Sigmund Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba450000'), "name"=>"Jaylin Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba460000'), "name"=>"Miss Pasquale Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba470000'), "name"=>"Rory Lind III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba480000'), "name"=>"Stephanie Braun Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba490000'), "name"=>"Oswaldo Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4a0000'), "name"=>"Clifton Runolfsdottir"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4b0000'), "name"=>"Arlie Schuster"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4c0000'), "name"=>"Judge O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4d0000'), "name"=>"Darion Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4e0000'), "name"=>"Melvina Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba4f0000'), "name"=>"Malinda Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba500000'), "name"=>"Miss Buford Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba510000'), "name"=>"Zechariah Gutkowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba520000'), "name"=>"Amara Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba530000'), "name"=>"Reyna Kassulke IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba540000'), "name"=>"Reyes Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba550000'), "name"=>"Carlie Abernathy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba560000'), "name"=>"Oswald Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba570000'), "name"=>"Floy Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba580000'), "name"=>"Buford Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba590000'), "name"=>"Jody Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5a0000'), "name"=>"Luz Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5b0000'), "name"=>"Brook Mueller Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5c0000'), "name"=>"Hallie Herzog"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5d0000'), "name"=>"Jada Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5e0000'), "name"=>"Obie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba5f0000'), "name"=>"Skye Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba600000'), "name"=>"Zane Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba610000'), "name"=>"Freddy Walker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba620000'), "name"=>"Candelario Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.5228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba630000'), "name"=>"Cathy Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba640000'), "name"=>"Helmer O'Reilly III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba650000'), "name"=>"Hipolito Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba660000'), "name"=>"Mr. Adella Goodwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba670000'), "name"=>"Katarina Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba680000'), "name"=>"Jewell O'Conner Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba690000'), "name"=>"Miss Gwendolyn Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2067ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6a0000'), "name"=>"Bulah Murphy II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6164ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6b0000'), "name"=>"Meghan Mueller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6c0000'), "name"=>"Molly Ryan PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6d0000'), "name"=>"Linda Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6e0000'), "name"=>"Logan Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba6f0000'), "name"=>"Federico Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba700000'), "name"=>"Orlando Welch III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba710000'), "name"=>"Janiya Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba720000'), "name"=>"Moises Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba730000'), "name"=>"Dariana Schaden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba740000'), "name"=>"Greyson Bahringer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba750000'), "name"=>"Opal Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba760000'), "name"=>"Dr. Orpha Turcotte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba770000'), "name"=>"Mr. Bridget Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba780000'), "name"=>"Sean Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba790000'), "name"=>"Tiffany McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7a0000'), "name"=>"Raheem Deckow III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7b0000'), "name"=>"Luciano Schamberger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7c0000'), "name"=>"Albin Senger PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7d0000'), "name"=>"Ms. Kennith Smith"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7e0000'), "name"=>"Angus Johnston I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba7f0000'), "name"=>"Mrs. Emiliano MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba800000'), "name"=>"Alexandre Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba810000'), "name"=>"Zoe Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba820000'), "name"=>"Mohammad Kirlin III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba830000'), "name"=>"Flossie Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba840000'), "name"=>"Miss Rudolph Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba850000'), "name"=>"Gina Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba860000'), "name"=>"Belle Greenholt DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba870000'), "name"=>"Gunner Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba880000'), "name"=>"Vella Casper"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba890000'), "name"=>"Hobart White V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8a0000'), "name"=>"Zachery Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8b0000'), "name"=>"Ian Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8c0000'), "name"=>"Izabella Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8d0000'), "name"=>"Gerda Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8e0000'), "name"=>"Sarai Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1844ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba8f0000'), "name"=>"Dr. Jarvis O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba900000'), "name"=>"Juwan Medhurst"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba910000'), "name"=>"Nestor Gerhold"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba920000'), "name"=>"Sam Klocko"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba930000'), "name"=>"Dariana Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba940000'), "name"=>"Jadyn Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba950000'), "name"=>"Addison Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba960000'), "name"=>"Guido Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1564ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba970000'), "name"=>"Theo Rippin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1808ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1919ms Redirected to http://test.host/categories/54905f9c77353343ba980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2306ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba990000'), "name"=>"Ashleigh Dibbert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3275ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54905f9c77353343ba990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343ba990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3929ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343ba990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2416ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba9a0000'), "name"=>"Macey Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54905f9c77353343ba9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 9.7ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba9b0000'), "name"=>"Dax Willms"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305958662198] runtime: 0.0858ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2878ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba9c0000'), "name"=>"Helena Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305289955177] runtime: 0.1027ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3181ms Completed 200 OK in 34ms (Views: 33.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba9d0000'), "name"=>"Lambert Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343ba9f0000'), "name"=>"Randal Hamill MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54905f9c77353343ba9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343ba9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms Completed 200 OK in 5ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baa00000'), "name"=>"Selena Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54905f9c77353343baa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54905f9c77353343baa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54905f9c77353343baa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms Redirected to http://test.host/categories/54905f9c77353343baa00000 Completed 302 Found in 8ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baa10000'), "name"=>"Grady Hodkiewicz", "reference"=>"Mrs. Ernestine Wunsch", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baa20000'), "author_name"=>"Cloyd Davis IV", "content"=>["In amet consequatur nemo ipsum vel laudantium possimus. Fugit dignissimos illum facere. Qui maiores aliquid quod accusantium voluptas nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905f9c77353343baa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54905f9c77353343baa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Redirected to http://test.host/products/54905f9c77353343baa10000/comments/54905f9c77353343baa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baa40000'), "name"=>"Domenico Legros", "reference"=>"Dr. Myrtie Bins", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baa50000'), "author_name"=>"Andy Schulist", "content"=>["Culpa fugit ut. Aut quod sint eos et veritatis. Et a ad numquam iste corrupti eum fugiat. Vero non ut aut. Et debitis tenetur perferendis veniam ratione."]}]}] 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('54905f9c77353343baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54905f9c77353343baa40000", "id"=>"54905f9c77353343baa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54905f9c77353343baa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms Redirected to http://test.host/products/54905f9c77353343baa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2006ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baa60000'), "name"=>"Carolyn Cruickshank", "reference"=>"Eleanora Renner", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baa70000'), "author_name"=>"Lenna Hagenes", "content"=>["Sed repellendus ea ad vel. Iste consequuntur provident ullam porro. Dolores vero quia aut nostrum. Sit eveniet exercitationem est dicta culpa laboriosam nam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54905f9c77353343baa60000", "id"=>"54905f9c77353343baa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baa80000'), "name"=>"Ms. Robb Beatty", "reference"=>"Geovany Bogisich", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baa90000'), "author_name"=>"Tabitha Schowalter", "content"=>["Aperiam temporibus excepturi rerum facere consequatur. Earum quasi dolor minus dicta nesciunt deserunt. Omnis ipsam voluptates a qui enim itaque perferendis. Quaerat voluptas et. Consequatur culpa ut quia perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54905f9c77353343baa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baaa0000'), "name"=>"Dr. Melody Towne", "reference"=>"Chris Heathcote", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baab0000'), "author_name"=>"Deion McClure", "content"=>["Qui sint ut aut fugit. Harum adipisci nesciunt dignissimos eaque cumque facilis consectetur. Dolore eius quas nostrum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54905f9c77353343baaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baac0000'), "name"=>"Perry Ebert DDS", "reference"=>"Petra Pacocha", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baad0000'), "author_name"=>"Kylie Murazik", "content"=>["Eos cum assumenda debitis. Doloribus quo dolore ut porro voluptatem reiciendis. Est qui et illum voluptatum quia. Veniam iusto provident. Recusandae aspernatur quibusdam odio architecto qui."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54905f9c77353343baac0000", "id"=>"54905f9c77353343baad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343baae0000'), "name"=>"Eladio Schuster", "reference"=>"Colin Ziemann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343baaf0000'), "author_name"=>"Ignatius Koepp", "content"=>["Et illum voluptatem aliquid. Similique possimus quas sed vel rem reiciendis sint. Voluptatem explicabo sit molestias ut. Aperiam ducimus et cupiditate sed esse perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54905f9c77353343baae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343baae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab00000'), "name"=>"Deangelo Casper", "reference"=>"Rosalind Erdman", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343bab10000'), "author_name"=>"Camille Skiles IV", "content"=>["Qui illum aut et numquam. Exercitationem dolorum culpa nostrum. Ea quia dolor omnis. Excepturi recusandae aliquid id natus esse quas sint."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7539ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54905f9c77353343bab00000", "id"=>"54905f9c77353343bab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab20000'), "name"=>"Alessandro Kozey", "reference"=>"Kristopher Grant", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54905f9c77353343bab30000'), "author_name"=>"Brook Hintz", "content"=>["Eligendi consectetur delectus eum. Culpa voluptatem laborum fugiat et aut molestiae. Temporibus rerum reiciendis sunt optio accusamus. Soluta aut ducimus. Et voluptatem ex ut numquam consequuntur vel."]}]}] 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"=>"54905f9c77353343bab30000", "product_id"=>"54905f9c77353343bab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bab20000'), "comments._id"=>BSON::ObjectId('54905f9c77353343bab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6027ms Redirected to http://test.host/products/54905f9c77353343bab20000/comments/54905f9c77353343bab30000 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('54905f9c77353343bab40000'), "firstname"=>"Hortense", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2344ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Redirected to http://test.host/admin/clients/54905f9c77353343bab50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2002ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab60000'), "firstname"=>"Kianna", "lastname"=>"Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1889ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905f9c77353343bab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms 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.2159ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab70000'), "firstname"=>"Mohammad", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905f9c77353343bab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.4ms) -------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_index -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bab80000'), "firstname"=>"Jordyn", "lastname"=>"Upton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('54905f9c77353343bab90000'), "firstname"=>"Ansel", "lastname"=>"Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905f9c77353343baba0000'), "firstname"=>"Lonnie", "lastname"=>"Hane"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5475ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905f9c77353343baba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343baba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms 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('54905f9c77353343babb0000'), "firstname"=>"Alessandra", "lastname"=>"Heathcote"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905f9c77353343babb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343babb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343babb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms Redirected to http://test.host/admin/clients/54905f9c77353343babb0000 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('54905f9c77353343babc0000'), "firstname"=>"Chanelle", "lastname"=>"Leuschke"}] 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=>"clients", :query=>{}} runtime: 0.2704ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343babd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Redirected to http://test.host/clients/54905f9c77353343babd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2892ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343babe0000'), "firstname"=>"Augustus", "lastname"=>"Bayer"}] 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.2789ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54905f9c77353343babe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343babe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343babe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms 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.2996ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54905f9c77353343babf0000'), "firstname"=>"Bertram", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54905f9c77353343babf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343babf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('54905f9c77353343bac00000'), "firstname"=>"Fae", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4276ms 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('54905f9c77353343bac10000'), "firstname"=>"Cassandra", "lastname"=>"Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('54905f9c77353343bac20000'), "firstname"=>"Hope", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54905f9c77353343bac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms 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('54905f9c77353343bac30000'), "firstname"=>"Hal", "lastname"=>"Olson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54905f9c77353343bac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54905f9c77353343bac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3311ms Redirected to http://test.host/clients/54905f9c77353343bac30000 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('54905f9c77353343bac40000'), "name"=>"Fleta Pfeffer", "reference"=>"Savanna Treutel", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343bac50000'), "firstname"=>"Regan", "lastname"=>"Schiller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54905f9c77353343bac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343bac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms Redirected to http://test.host/products/54905f9c77353343bac40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bac70000'), "name"=>"Icie Wiza", "reference"=>"Seth Keeling", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343bac80000'), "firstname"=>"Antoinette", "lastname"=>"Kautzer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54905f9c77353343bac80000", "product_id"=>"54905f9c77353343bac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bac90000'), "name"=>"Maximillian Hettinger", "reference"=>"Hilma Nicolas", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343baca0000'), "firstname"=>"Art", "lastname"=>"Pouros"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54905f9c77353343bac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bacb0000'), "name"=>"Bridgette Goldner", "reference"=>"Jerad Armstrong", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343bacc0000'), "firstname"=>"Randy", "lastname"=>"Sipes"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54905f9c77353343bacc0000", "product_id"=>"54905f9c77353343bacb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bacb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms Completed 200 OK in 31ms (Views: 28.9ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9c77353343bacd0000'), "name"=>"Emmett Lesch", "reference"=>"Evalyn Olson DDS", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54905f9c77353343bace0000'), "firstname"=>"Susanna", "lastname"=>"Bode"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54905f9c77353343bace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54905f9c77353343bacd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9c77353343bacd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms Unpermitted parameters: name Redirected to http://test.host/products/54905f9c77353343bacd0000/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('54905f9d77353343bacf0000'), "name"=>"Dovie Botsford", "reference"=>"Eugene Rohan", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5337ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad00000'), "name"=>"Dayana Dietrich", "reference"=>"Kailyn Powlowski", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad10000'), "name"=>"Hanna Roberts", "reference"=>"Kaitlyn Wisoky", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad20000'), "name"=>"Dr. Terrill Schaden", "reference"=>"Mr. Precious Waters", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad30000'), "name"=>"Josh Bartell", "reference"=>"Dr. Trystan Stanton", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad40000'), "name"=>"Aracely Hahn", "reference"=>"Gage Dibbert", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2396ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms Redirected to http://test.host/products/54905f9d77353343bad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2637ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad60000'), "name"=>"Tia Carter", "reference"=>"Mr. Green Gutmann", "quantity"=>5}] 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=>"products", :query=>{}} runtime: 0.2430ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54905f9d77353343bad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9d77353343bad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9d77353343bad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3706ms 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.3400ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad70000'), "name"=>"Ross Thompson", "reference"=>"Buddy Hagenes", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54905f9d77353343bad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9d77353343bad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 8ms (Views: 6.2ms) --------------------------------------------- ProductsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad80000'), "name"=>"Dr. Prudence Koelpin", "reference"=>"Susie Schmidt IV", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279215280044] runtime: 0.1123ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3646ms Completed 200 OK in 18ms (Views: 17.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bad90000'), "name"=>"Miss Dorian Walter", "reference"=>"Bradly Bahringer", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bada0000'), "name"=>"HelloWorld", "reference"=>"Brent Jerde", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343badb0000'), "name"=>"value", "reference"=>"Lyda Pouros", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.5488ms Completed 200 OK in 6ms (Views: 5.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4621ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4305ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2708ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4003ms Completed 200 OK in 4ms (Views: 3.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3987ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3073ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2719ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343badc0000'), "name"=>"Wilfrid Hahn", "reference"=>"Obie Reichert", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0275ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280036686206] runtime: 0.1214ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3862ms Completed 200 OK in 44ms (Views: 43.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8238ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280751213515] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279997511004] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372523195] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9269ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279752186352] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279693493176] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279600863504] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279733466917] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9473ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280234009313] runtime: 0.0713ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791184253] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281004878970] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279232392742] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7542ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280219790364] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7702ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279345094198] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279339496184] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7979ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975479037] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791668675] runtime: 0.0435ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281133320084] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7815ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422026309] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279555099931] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281044337358] runtime: 0.0774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280058793484] runtime: 0.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279370344762] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280769928652] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7835ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280559533782] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279548028128] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280061154280] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279659067335] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6776ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281249966720] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281073154685] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279886613230] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279643096311] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279316165661] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280891815779] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279623081209] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280226759656] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280877904563] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280711044747] runtime: 0.0438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279477678931] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280705006781] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 32.6591ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280163215438] runtime: 0.1288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279515951971] runtime: 0.0859ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280540687061] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9319ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280900404172] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280896557637] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279623195674] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8168ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281092688919] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279897343989] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9674ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280658565039] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279292045096] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279258258792] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280688648976] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7582ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280991004507] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280375164639] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279372568287] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7514ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280938296528] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279328158211] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6488ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279257983602] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280086189537] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6568ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281074219851] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281111137800] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279648336688] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603081286] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281226108361] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280076348227] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280816851379] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280024117952] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351993547] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280301049523] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280070926310] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279700894052] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887326198] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279945477261] runtime: 0.0441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759560373] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279270602847] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279704068822] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6235ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280616246586] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280446348536] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850939419] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281261710354] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280959008629] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279651081903] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280904186760] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279494023920] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280103109238] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279929788305] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280114136129] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338068584] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280567232727] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281009753146] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281297827160] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280480406287] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5879ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181723877] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281153849747] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280400670972] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281289862645] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280361321205] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605607021] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5541ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950224749] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280829263523] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280943876587] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279486578203] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279257917567] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280446861592] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280661641615] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279717734117] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280643231941] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280791043176] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279730520408] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5583ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005215572] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281210383978] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5497ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281263471904] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5502ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280421008426] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280783920663] runtime: 0.0662ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280950353603] runtime: 0.1118ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280064404512] runtime: 0.1074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280632867578] runtime: 0.0596ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6603ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279234175019] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279254389418] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5376ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922687165] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280617386427] runtime: 0.0453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5136ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281027220843] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4685ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280432465043] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.1945ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279472922008] runtime: 0.1018ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281126113862] runtime: 0.0618ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5667ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279744773613] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279314727536] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279365357691] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279702654320] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281085158010] runtime: 0.0429ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5483ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279746464055] runtime: 0.0437ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279676813250] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280790878526] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280098824120] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280932995480] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280201249832] runtime: 0.0434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279786603398] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280966469043] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280392363239] runtime: 0.0426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4976ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279905176414] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280627017055] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281266075572] runtime: 0.0433ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280435139615] runtime: 0.0411ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4926ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280529447645] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280882588436] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4974ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279256190474] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280603463383] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4891ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831759840] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4964ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279236965527] runtime: 0.0427ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280295403001] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4746ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280240775365] runtime: 0.0432ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5032ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280090719770] runtime: 0.0428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280335485207] runtime: 0.0424ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280326972386] runtime: 0.0431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280454382454] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279927367942] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4916ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279338096959] runtime: 0.0419ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279644339925] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280284264403] runtime: 0.0421ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280588932619] runtime: 0.0417ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280963231065] runtime: 0.0418ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280356329868] runtime: 0.0425ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4639ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279319379553] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884323955] runtime: 0.0414ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343badd0000'), "name"=>"Mrs. Oliver Lockman", "reference"=>"Alexandrine Howe PhD", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2468ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bade0000'), "name"=>"Leopold Kemmer V", "reference"=>"Carey Cole DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280347349903] runtime: 0.0663ms 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('54905f9d77353343badf0000'), "name"=>"Miss Rebekah DuBuque", "reference"=>"Miss Dee McKenzie", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54905f9d77353343badf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9d77353343badf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms 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('54905f9d77353343bae00000'), "name"=>"Camylle Mayer", "reference"=>"Roderick Purdy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 4.6ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bae20000'), "name"=>"Mr. Ned Fay", "reference"=>"Mackenzie Lebsack", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54905f9d77353343bae20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9d77353343bae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bae30000'), "name"=>"Mandy Huels", "reference"=>"Felicita Lynch", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9b77353343ba060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bae40000'), "name"=>"Wade Hane", "reference"=>"Bernardo Zieme", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3913ms Completed 200 OK in 5ms (Views: 3.1ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bae50000'), "name"=>"Tianna Zemlak", "reference"=>"Dr. Rebecca Huels", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4924ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4166ms Completed 200 OK in 31ms (Views: 29.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9d77353343bae60000'), "name"=>"Mrs. Kirk DuBuque", "reference"=>"Robin Grady", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 784.8507ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6077ms 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('54905f9e77353343bae70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7831ms Completed 201 Created in 6ms (Views: 0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4851ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343bae80000'), "name"=>"Dr. Stanford Strosin", "reference"=>"Cameron Huel", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6425ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54905f9e77353343bae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343bae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6268ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343bae80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6887ms Completed 200 OK in 5ms (Views: 0.3ms) --------------------------------------------------- ProductsControllerTest: test_should_json_not_create --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343bae90000'), "name"=>"Miss Destini Muller", "reference"=>"Brice Fadel", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5918ms Processing by ProductsController#create as JSON Parameters: {"product"=>{"quantity"=>1}} Completed 422 Unprocessable Entity in 4ms (Views: 0.3ms) ----------------------------------------------- ProductsControllerTest: test_should_json_update ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baeb0000'), "name"=>"Jasper Satterfield", "reference"=>"Vergie Zieme", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7140ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905f9e77353343baeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5656ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6925ms Completed 202 Accepted in 7ms (Views: 0.3ms) ------------------------------------------ ProductsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baec0000'), "name"=>"Rashawn Hettinger", "reference"=>"Casper Mosciski", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6843ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54905f9e77353343baec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5396ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6382ms Redirected to http://test.host/products/54905f9e77353343baec0000 Completed 302 Found in 7ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baef0000'), "name"=>"Mervin Berge", "reference"=>"Hilton Williamson", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baed0000'), "author_name"=>"Felix Cormier", "content"=>["Nesciunt est eum. Saepe et nihil inventore. Architecto quia saepe quo hic eos."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baee0000'), "author_name"=>"Clay Bogan", "content"=>["Illum saepe dolores. Consequatur saepe quod consequuntur quasi animi. Perspiciatis qui eos quia eius vitae. A eveniet porro delectus id adipisci expedita qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54905f9e77353343baef0000", "comment_id"=>"54905f9e77353343baed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baef0000'), "comments._id"=>BSON::ObjectId('54905f9e77353343baed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905f9e77353343baf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8110ms Redirected to http://test.host/products/54905f9e77353343baef0000/comments/54905f9e77353343baed0000/comments/54905f9e77353343baf00000 Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4879ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baf30000'), "name"=>"Dee Wehner", "reference"=>"Aliya Schinner", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf10000'), "author_name"=>"Michel Legros", "content"=>["Eius et est ut vel. Aliquam quod veritatis et impedit dolor. Dolorem veniam molestiae facilis. Quas omnis et rerum."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf20000'), "author_name"=>"Alta Zieme Sr.", "content"=>["Velit neque et fuga. Perspiciatis cupiditate quos quas et omnis alias possimus. Sunt omnis harum sequi quas. Iusto eveniet nobis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.9571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4669ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54905f9e77353343baf30000", "comment_id"=>"54905f9e77353343baf10000", "id"=>"54905f9e77353343baf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf30000'), "comments._id"=>BSON::ObjectId('54905f9e77353343baf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54905f9e77353343baf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6221ms Redirected to http://test.host/products/54905f9e77353343baf30000/comments/54905f9e77353343baf10000/comments Completed 302 Found in 7ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baf60000'), "name"=>"Kiel Jacobi", "reference"=>"Shanelle Quigley", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf40000'), "author_name"=>"Keara Mayer", "content"=>["Qui exercitationem soluta molestiae quis ut. Voluptatem et odio. Sint ut corrupti et sunt nihil officia recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf50000'), "author_name"=>"Connor Christiansen", "content"=>["Et ad quia. Est aperiam facilis accusantium consequatur ullam omnis quasi. Illum tempora eum rerum. Sed qui quo aut dolore ex sunt corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7665ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54905f9e77353343baf60000", "comment_id"=>"54905f9e77353343baf40000", "id"=>"54905f9e77353343baf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5752ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.7ms) Completed 200 OK in 16ms (Views: 11.0ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baf90000'), "name"=>"Mr. Albin Kuhn", "reference"=>"Oswald Ondricka", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf70000'), "author_name"=>"Cali Rice PhD", "content"=>["Officiis nulla perspiciatis. Maxime sed saepe. Non aut labore."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343baf80000'), "author_name"=>"Tyra Bailey", "content"=>["Pariatur est necessitatibus qui molestiae. Molestiae suscipit aut dolor eaque voluptas quo. Voluptatem alias dicta dolores magnam id velit dolorum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6288ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54905f9e77353343baf90000", "comment_id"=>"54905f9e77353343baf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 10ms (Views: 5.7ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343bafc0000'), "name"=>"Harrison McDermott", "reference"=>"Kennedi Feeney I", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343bafa0000'), "author_name"=>"Aaliyah King", "content"=>["Voluptatem nisi dolores facere doloremque. Possimus dolores suscipit. Fugiat totam architecto est nesciunt provident temporibus explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343bafb0000'), "author_name"=>"Arvid O'Reilly", "content"=>["Voluptatibus aut veritatis minima labore corrupti aliquid. Cum quasi quia dolorem beatae dolorem sapiente. Amet rerum fuga explicabo quidem inventore eos eum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6304ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54905f9e77353343bafc0000", "comment_id"=>"54905f9e77353343bafa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343bafc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4716ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343baff0000'), "name"=>"Keara Jacobson", "reference"=>"Oliver Miller", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343bafd0000'), "author_name"=>"Leatha Aufderhar", "content"=>["Eum recusandae maxime aspernatur consequatur quod sed. Sunt ipsum ratione ut necessitatibus non. Et molestiae illum."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343bafe0000'), "author_name"=>"Blanca Sipes", "content"=>["Et dolorem blanditiis culpa tempore. Nihil autem corrupti consequatur beatae autem. Eligendi amet voluptas numquam. Aut qui cum vero et aperiam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54905f9e77353343baff0000", "comment_id"=>"54905f9e77353343bafd0000", "id"=>"54905f9e77353343bafe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343baff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms Completed 200 OK in 4ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba020100'), "name"=>"Gwendolyn Schmeler", "reference"=>"Marcelle Anderson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba000100'), "author_name"=>"Jordyn Moen", "content"=>["Beatae sunt molestiae nihil temporibus. Aut necessitatibus aperiam aut. Deleniti delectus necessitatibus est."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba010100'), "author_name"=>"Jeremy Durgan", "content"=>["Veritatis optio adipisci enim qui tempora. Dicta aliquid nam quasi. Assumenda vero dolores minima quia numquam quod. Neque eos explicabo optio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6324ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54905f9e77353343ba020100", "comment_id"=>"54905f9e77353343ba000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343ba020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4063ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 6.0ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba050100'), "name"=>"Kyle Hauck PhD", "reference"=>"Bailey Kiehn", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba030100'), "author_name"=>"Johann Marks", "content"=>["Tempore nobis ipsam ad enim. Omnis qui iste. Nam iusto porro dignissimos recusandae aut tempore natus. Consequuntur vero voluptate."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba040100'), "author_name"=>"Andreane Abernathy", "content"=>["Mollitia tempora porro. Ipsam aut sed id qui placeat exercitationem ea. Modi veniam ut aut. Et est reiciendis atque temporibus voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7416ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54905f9e77353343ba050100", "comment_id"=>"54905f9e77353343ba030100", "id"=>"54905f9e77353343ba040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343ba050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4925ms Completed 200 OK in 8ms (Views: 4.4ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba080100'), "name"=>"Laury Mayer", "reference"=>"Alene Steuber", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba060100'), "author_name"=>"Austen Kub", "content"=>["Dolores unde sunt ea corrupti sint molestiae officia. Facilis quam qui. Optio dicta ducimus."], "comments"=>[{"_id"=>BSON::ObjectId('54905f9e77353343ba070100'), "author_name"=>"Annette Conn", "content"=>["Architecto minima dolore quisquam maxime consectetur qui non. Dolor laudantium quibusdam et quia minima qui rerum. Doloribus eius eos. Rem aperiam eveniet voluptatem reprehenderit tenetur facilis incidunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7754ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54905f9e77353343ba070100", "product_id"=>"54905f9e77353343ba080100", "comment_id"=>"54905f9e77353343ba060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343ba080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54905f9e77353343ba080100'), "comments._id"=>BSON::ObjectId('54905f9e77353343ba060100'), "comments.0.comments._id"=>BSON::ObjectId('54905f9e77353343ba070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7752ms Redirected to http://test.host/products/54905f9e77353343ba080100/comments/54905f9e77353343ba060100/comments/54905f9e77353343ba070100 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('54905f9e77353343ba090100'), "firstname"=>"Cathrine", "lastname"=>"Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2611ms 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('54905f9e77353343ba0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms Redirected to http://test.host/users/54905f9e77353343ba0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2468ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba0b0100'), "firstname"=>"Eve", "lastname"=>"Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2091ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54905f9e77353343ba0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9e77353343ba0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9e77353343ba0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms 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.2198ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba0c0100'), "firstname"=>"Daren", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54905f9e77353343ba0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9e77353343ba0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54905f9e77353343ba0d0100'), "firstname"=>"Reid", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms 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.3913ms 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('54905f9e77353343ba0e0100'), "firstname"=>"Tyree", "lastname"=>"Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5562ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba0f0100'), "firstname"=>"Carlos", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms Processing by UsersController#show as HTML Parameters: {"id"=>"54905f9e77353343ba0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9e77353343ba0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms Completed 200 OK in 6ms (Views: 3.7ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54905f9e77353343ba100100'), "firstname"=>"Rylee", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54905f9e77353343ba100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54905f9e77353343ba100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4359ms Unpermitted parameters: name Redirected to http://test.host/users/54905f9e77353343ba100100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5136ms 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.5380ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9048ms 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.5203ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1342ms 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.5158ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837c77353370a9000000'), "firstname"=>"Carroll", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2520ms 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('5490837d77353370a9010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms 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.3323ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9020000'), "firstname"=>"Zakary", "lastname"=>"Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"5490837d77353370a9020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.1ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9030000'), "firstname"=>"Santa", "lastname"=>"Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9040000'), "firstname"=>"Webster", "lastname"=>"Schumm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"5490837d77353370a9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Completed 200 OK in 4ms (Views: 2.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9050000'), "firstname"=>"Jakayla", "lastname"=>"Rohan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"5490837d77353370a9050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms 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('5490837d77353370a9060000'), "name"=>"Bernie Kertzmann", "reference"=>"Orval Spencer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9070000'), "author_name"=>"Blanche Cole", "content"=>["Velit sit facilis quis omnis vel ut error. Distinctio vitae eum aut ut ducimus. Harum sequi blanditiis est architecto vel ipsum porro. Eum quo odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490837d77353370a9060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490837d77353370a9080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Redirected to http://test.host/admin/products/5490837d77353370a9060000/comments/5490837d77353370a9080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9090000'), "name"=>"Wilfrid Lebsack", "reference"=>"Lempi Kuvalis", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a90a0000'), "author_name"=>"Dianna Ebert", "content"=>["Assumenda aperiam vero laudantium veritatis eius architecto et. Hic voluptatibus quis. Quas veniam reprehenderit eveniet quis necessitatibus. Dolorem omnis non quis ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"5490837d77353370a9090000", "id"=>"5490837d77353370a90a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490837d77353370a90a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms Redirected to http://test.host/admin/products/5490837d77353370a9090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a90b0000'), "name"=>"Mrs. Bianka Schimmel", "reference"=>"Deborah Durgan Sr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a90c0000'), "author_name"=>"Cathrine Kunde", "content"=>["Modi consectetur qui quo eius aut magnam. Autem et quos ipsum ipsam. Sint dolorem vel deserunt et corporis. Delectus aliquam quia cupiditate ea pariatur et ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"5490837d77353370a90b0000", "id"=>"5490837d77353370a90c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a90b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.5ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a90d0000'), "name"=>"Beulah Koch", "reference"=>"Lois Shanahan", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a90e0000'), "author_name"=>"Asa Zemlak PhD", "content"=>["Repellat eum aut. Libero aperiam dolorem illo ex esse suscipit. Ut odio harum nihil quis in. Repudiandae aut non velit commodi dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"5490837d77353370a90d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a90f0000'), "name"=>"Emmitt Willms", "reference"=>"Oswaldo Powlowski III", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9100000'), "author_name"=>"Ms. Erika Sauer", "content"=>["Qui sed culpa facere explicabo. Voluptates quidem voluptatem non dolorem et. Natus ea laboriosam quo aperiam. Sunt quia ratione qui dicta quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"5490837d77353370a90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9110000'), "name"=>"Aniya Veum MD", "reference"=>"Miss Etha Heaney", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9120000'), "author_name"=>"Judson Spencer", "content"=>["At quia vel cumque voluptatibus. Non officia sapiente voluptas ad temporibus ea. Quia doloremque sit. Veritatis in aut officiis aliquid optio quod."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"5490837d77353370a9110000", "id"=>"5490837d77353370a9120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9130000'), "name"=>"Chet Mertz V", "reference"=>"Miss Amos Gaylord", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9140000'), "author_name"=>"Ms. Joey McClure", "content"=>["Et modi perferendis. Fugit quia consequatur. In eligendi aut. Corrupti quia autem voluptas."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490837d77353370a9140000", "product_id"=>"5490837d77353370a9130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9130000')} 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('5490837d77353370a9130000'), "comments._id"=>BSON::ObjectId('5490837d77353370a9140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms Redirected to http://test.host/admin/products/5490837d77353370a9130000/comments/5490837d77353370a9140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9150000'), "name"=>"Leonardo Schroeder", "reference"=>"Cleora Krajcik", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a9160000'), "firstname"=>"Chelsie", "lastname"=>"Lakin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490837d77353370a9150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a9170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms Redirected to http://test.host/admin/products/5490837d77353370a9150000/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('5490837d77353370a9180000'), "name"=>"Trystan Corkery", "reference"=>"Thaddeus Ward", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a9190000'), "firstname"=>"Lavonne", "lastname"=>"Heller"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"5490837d77353370a9190000", "product_id"=>"5490837d77353370a9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 38ms (Views: 35.8ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a91a0000'), "name"=>"Collin Kuhlman", "reference"=>"Clifton Jacobi", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a91b0000'), "firstname"=>"Watson", "lastname"=>"Stanton"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"5490837d77353370a91a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a91a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a91c0000'), "name"=>"Danny Schimmel MD", "reference"=>"Dr. Roselyn Wintheiser", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a91d0000'), "firstname"=>"Bryana", "lastname"=>"Hoeger"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"5490837d77353370a91d0000", "product_id"=>"5490837d77353370a91c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a91e0000'), "name"=>"Rhoda Tromp MD", "reference"=>"Jo Kilback Jr.", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490837d77353370a91f0000'), "firstname"=>"Ottis", "lastname"=>"Dietrich"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"5490837d77353370a91f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490837d77353370a91e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a91e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms Unpermitted parameters: name Redirected to http://test.host/admin/products/5490837d77353370a91e0000/manager 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('5490837d77353370a9200000'), "name"=>"Greta Wuckert", "reference"=>"Melody Ankunding", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1888ms 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('5490837d77353370a9210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms Redirected to http://test.host/admin/products/5490837d77353370a9210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1988ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9220000'), "name"=>"Lavonne Schulist II", "reference"=>"Santiago Moen", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1914ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"5490837d77353370a9220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7246ms 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.1969ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9230000'), "name"=>"Dewitt Blanda", "reference"=>"Jarrell Schinner", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"5490837d77353370a9230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 6.3ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9240000'), "name"=>"Leilani Nolan", "reference"=>"Winfield Rolfson", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms 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.4980ms Completed 200 OK in 12ms (Views: 10.9ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9250000'), "name"=>"Waldo Hauck DDS", "reference"=>"Jody White", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 21ms (Views: 4.6ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9280000'), "name"=>"Davon Bartoletti", "reference"=>"Laura Quigley", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"5490837d77353370a9280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms 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('5490837d77353370a9290000'), "name"=>"Tianna Ziemann", "reference"=>"Roxanne Volkman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490837d77353370a9290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms Redirected to http://test.host/admin/products/5490837d77353370a9290000 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('5490837d77353370a92a0000'), "firstname"=>"Maximus", "lastname"=>"Metz"}] 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.1867ms 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('5490837d77353370a92b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms Redirected to http://test.host/admin/users/5490837d77353370a92b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1667ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837d77353370a92c0000'), "firstname"=>"Jaylon", "lastname"=>"Howell"}] 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=>"admin_users", :query=>{}} runtime: 0.1756ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"5490837d77353370a92c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837d77353370a92c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837d77353370a92c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms 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.1475ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837d77353370a92d0000'), "firstname"=>"Garfield", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"5490837d77353370a92d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837d77353370a92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (36.8ms) Completed 200 OK in 41ms (Views: 40.0ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837d77353370a92e0000'), "firstname"=>"Dangelo", "lastname"=>"Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms 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.2950ms Completed 200 OK in 6ms (Views: 5.0ms) ----------------------------------------------- Admin::UsersControllerTest: test_should_get_new ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837d77353370a92f0000'), "firstname"=>"Jamir", "lastname"=>"Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('5490837d77353370a9300000'), "firstname"=>"Esteban", "lastname"=>"Moore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"5490837d77353370a9300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837d77353370a9300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2313ms Completed 200 OK in 4ms (Views: 2.3ms) ---------------------------------------------- Admin::UsersControllerTest: test_should_update ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9310000'), "firstname"=>"Rhoda", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490837d77353370a9310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837d77353370a9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms Unpermitted parameters: name Redirected to http://test.host/admin/users/5490837d77353370a9310000 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('5490837d77353370a9320000'), "firstname"=>"Keara", "lastname"=>"Veum"}] 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=>"administrators", :query=>{}} runtime: 0.1287ms 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('5490837d77353370a9330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms 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.1454ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9340000'), "firstname"=>"Cristal", "lastname"=>"Wyman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"5490837d77353370a9340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9350000'), "firstname"=>"Iliana", "lastname"=>"Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9360000'), "firstname"=>"Nickolas", "lastname"=>"Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"5490837d77353370a9360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms Completed 200 OK in 3ms (Views: 2.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9370000'), "firstname"=>"Isaias", "lastname"=>"Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"5490837d77353370a9370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5490837d77353370a9370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2131ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9380000'), "name"=>"Rosella Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9390000'), "name"=>"Alexzander Monahan IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93a0000'), "name"=>"Annetta Schulist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93b0000'), "name"=>"Georgiana O'Conner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93c0000'), "name"=>"Godfrey Zulauf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93d0000'), "name"=>"Ms. Mckayla Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93e0000'), "name"=>"Cleve Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1206ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a93f0000'), "name"=>"Damien Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a93f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1188ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9400000'), "name"=>"April Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9410000'), "name"=>"Brycen Wuckert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9420000'), "name"=>"Selmer Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9430000'), "name"=>"Sandy Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9440000'), "name"=>"Marge Fritsch Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9450000'), "name"=>"Madelyn Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9460000'), "name"=>"Niko O'Reilly IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9470000'), "name"=>"Juwan Zboncak"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9480000'), "name"=>"Mrs. Jewell Kirlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9490000'), "name"=>"Camilla Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94a0000'), "name"=>"Jennie Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1486ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94b0000'), "name"=>"Eldon Reichel II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94c0000'), "name"=>"Irma D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94d0000'), "name"=>"Carolanne Sawayn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94e0000'), "name"=>"Lizeth Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a94f0000'), "name"=>"Mrs. Makayla Schmidt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a94f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9500000'), "name"=>"Elnora Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9510000'), "name"=>"Cristina Schoen Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9520000'), "name"=>"Webster Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9530000'), "name"=>"Bernice Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1496ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9540000'), "name"=>"Ms. Deja Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9550000'), "name"=>"Marie Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9560000'), "name"=>"Baron Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9570000'), "name"=>"Mrs. Darby Gorczany"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9580000'), "name"=>"Celia Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9590000'), "name"=>"Jena Rowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95a0000'), "name"=>"Lillian Barton Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95b0000'), "name"=>"Miss Aleen Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95c0000'), "name"=>"Ms. Claire Murazik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95d0000'), "name"=>"Major Weissnat"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95e0000'), "name"=>"Abbigail Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.0979ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a95f0000'), "name"=>"Miss Bryce Jakubowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a95f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9600000'), "name"=>"Rhett Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9610000'), "name"=>"Elsa Kerluke II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9620000'), "name"=>"Brandon Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9630000'), "name"=>"Myra Spinka Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9640000'), "name"=>"Reilly Nader III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9650000'), "name"=>"America Hyatt PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9660000'), "name"=>"Mr. Landen Emmerich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9670000'), "name"=>"Vaughn Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9680000'), "name"=>"Favian Douglas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9690000'), "name"=>"Tyrel Heidenreich DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96a0000'), "name"=>"Clifford Stiedemann III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96b0000'), "name"=>"Cooper Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96c0000'), "name"=>"Gladys Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1983ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96d0000'), "name"=>"Jaylen Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96e0000'), "name"=>"Isabel Bahringer V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a96f0000'), "name"=>"Vaughn Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a96f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9700000'), "name"=>"Claud Hoppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9710000'), "name"=>"Ariel Nader"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9720000'), "name"=>"Enoch Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9730000'), "name"=>"Ms. Santina Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1652ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9740000'), "name"=>"Fabiola Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9750000'), "name"=>"Dr. Efrain Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1958ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9760000'), "name"=>"Bobbie Kuhn Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9770000'), "name"=>"Marcos Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9780000'), "name"=>"Brycen Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9790000'), "name"=>"Brayan Weissnat III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97a0000'), "name"=>"Kacey Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97b0000'), "name"=>"Hardy Lehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1293ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97c0000'), "name"=>"Maximillian Purdy MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1276ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97d0000'), "name"=>"Brandy Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97e0000'), "name"=>"Mrs. Aric Welch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a97f0000'), "name"=>"Eduardo Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a97f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9800000'), "name"=>"Miss Walton Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9810000'), "name"=>"Everardo Koepp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9820000'), "name"=>"Destiney Connelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1402ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9830000'), "name"=>"Stephen Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9840000'), "name"=>"Cale Bergstrom"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9850000'), "name"=>"Domenick Fay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9860000'), "name"=>"Christine Cassin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9870000'), "name"=>"Jovan Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9880000'), "name"=>"Ressie Koch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9890000'), "name"=>"Ansley Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98a0000'), "name"=>"Ms. Tad Hills"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98b0000'), "name"=>"Lorna Hackett"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98c0000'), "name"=>"Neoma Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98d0000'), "name"=>"Milford Pouros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1401ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98e0000'), "name"=>"Timmothy Braun"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a98f0000'), "name"=>"Jaime Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a98f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9900000'), "name"=>"Geovanni Haag MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9910000'), "name"=>"Aiyana Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9920000'), "name"=>"Dayne Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1404ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9930000'), "name"=>"Ms. Rebeca Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1399ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9940000'), "name"=>"Eugene Huel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9950000'), "name"=>"Jamaal Boyer IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9960000'), "name"=>"Pattie Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9970000'), "name"=>"Hallie Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1616ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms Redirected to http://test.host/categories/5490837d77353370a9980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1837ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9990000'), "name"=>"Forest Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1653ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"5490837d77353370a9990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a9990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a9990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1989ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a99a0000'), "name"=>"Mrs. Moises Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"5490837d77353370a99a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 9ms (Views: 8.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a99b0000'), "name"=>"Shayne Ferry"}] 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={"category_id"=>BSON::ObjectId('5490837d77353370a99b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4173ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305141919600] runtime: 0.1034ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1970ms Completed 200 OK in 40ms (Views: 39.5ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a99c0000'), "name"=>"Cindy Hansen I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.2864ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305477618153] runtime: 0.0742ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1670ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a99d0000'), "name"=>"Cary Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a99f0000'), "name"=>"Wilhelm Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"5490837d77353370a99f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a99f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9a00000'), "name"=>"Eloy Friesen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('5490837d77353370a9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"5490837d77353370a9a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('5490837d77353370a9a00000')} update={"$set"=>{"name"=>"Hello"}} 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={"category_id"=>BSON::ObjectId('5490837d77353370a9a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms Redirected to http://test.host/categories/5490837d77353370a9a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9a10000'), "name"=>"Marianna Balistreri", "reference"=>"Kaden Fadel Jr.", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9a20000'), "author_name"=>"Barney Stroman", "content"=>["Sint velit ex vero sunt nulla similique voluptatibus. Dignissimos in aliquid quo in illum ipsum accusantium. Laborum delectus ut rerum. Quasi doloribus sunt voluptate quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5584ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490837d77353370a9a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5490837d77353370a9a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms Redirected to http://test.host/products/5490837d77353370a9a10000/comments/5490837d77353370a9a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9a40000'), "name"=>"Olin Jones MD", "reference"=>"Ms. Everett Rippin", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9a50000'), "author_name"=>"Theron Gislason", "content"=>["Nihil voluptatem molestiae quod voluptatum suscipit optio. Et sed sed. Illo eos iure. Facere rerum corporis. Sapiente vel ex aperiam numquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2093ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"5490837d77353370a9a40000", "id"=>"5490837d77353370a9a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5490837d77353370a9a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7486ms Redirected to http://test.host/products/5490837d77353370a9a40000/comments Completed 302 Found in 9ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9a60000'), "name"=>"Esteban Thompson", "reference"=>"Santa Ryan", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9a70000'), "author_name"=>"Lourdes Dietrich", "content"=>["Et accusantium enim voluptas. Sed ullam nulla voluptate illum unde. Beatae dolores eveniet exercitationem natus hic sed similique. Dolor nam omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"5490837d77353370a9a60000", "id"=>"5490837d77353370a9a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.5ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9a80000'), "name"=>"Macy Skiles", "reference"=>"Mr. Kip Heathcote", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9a90000'), "author_name"=>"Alison Nolan", "content"=>["Ea et quibusdam esse iusto saepe aut atque. Molestiae soluta aut voluptas dolorem magni. Aperiam nihil quia."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"5490837d77353370a9a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms Completed 200 OK in 5ms (Views: 3.0ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9aa0000'), "name"=>"Miss Mauricio Cummings", "reference"=>"Allen Langosh", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9ab0000'), "author_name"=>"Gudrun Herman Sr.", "content"=>["Et voluptas omnis corporis odio assumenda ipsam. Quia ut est assumenda non nihil. Reprehenderit magnam voluptates sunt eveniet fugiat dolor. Perspiciatis molestias eius corporis nisi pariatur. Odio est provident natus corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"5490837d77353370a9aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9ac0000'), "name"=>"Pat Haley II", "reference"=>"Katherine Wolff", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9ad0000'), "author_name"=>"Rod Wolf", "content"=>["Et voluptatem eos. Consequatur quae nam voluptates. Qui ea dignissimos dolor et. Et commodi quasi omnis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"5490837d77353370a9ac0000", "id"=>"5490837d77353370a9ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9ae0000'), "name"=>"Edmund Hettinger", "reference"=>"Kelley Sipes", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9af0000'), "author_name"=>"Emerson Hessel", "content"=>["Dignissimos amet adipisci voluptatibus dolore repellendus illo. In asperiores voluptas qui. Impedit a exercitationem sunt repellat suscipit sint quaerat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"5490837d77353370a9ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9b00000'), "name"=>"Reagan Hauck DDS", "reference"=>"Crystel Luettgen", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9b10000'), "author_name"=>"Yasmeen Abshire", "content"=>["Eum sit totam assumenda neque et similique est. Numquam reprehenderit hic. Harum corporis rem voluptatem. Quae sint asperiores ut. Atque voluptatum modi vel dolorem dolor maiores."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"5490837d77353370a9b00000", "id"=>"5490837d77353370a9b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9b20000'), "name"=>"Mrs. Marcelle Kuhlman", "reference"=>"Miss Raquel Pfannerstill", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('5490837d77353370a9b30000'), "author_name"=>"Ms. Alfredo Feest", "content"=>["Aspernatur ut omnis vel consequatur. Et a et. Delectus architecto dolor. Fugiat autem tempora corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490837d77353370a9b30000", "product_id"=>"5490837d77353370a9b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837d77353370a9b20000')} 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('5490837d77353370a9b20000'), "comments._id"=>BSON::ObjectId('5490837d77353370a9b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Redirected to http://test.host/products/5490837d77353370a9b20000/comments/5490837d77353370a9b30000 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('5490837d77353370a9b40000'), "firstname"=>"Ted", "lastname"=>"Nicolas"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5771ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2042ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms Redirected to http://test.host/admin/clients/5490837d77353370a9b50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2312ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9b60000'), "firstname"=>"D'angelo", "lastname"=>"Hilpert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490837d77353370a9b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837d77353370a9b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837d77353370a9b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms 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.2124ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837d77353370a9b70000'), "firstname"=>"Carmelo", "lastname"=>"Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490837d77353370a9b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837d77353370a9b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) 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('5490837d77353370a9b80000'), "firstname"=>"Julio", "lastname"=>"Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4249ms 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('5490837d77353370a9b90000'), "firstname"=>"Eli", "lastname"=>"Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490837d77353370a9ba0000'), "firstname"=>"Pauline", "lastname"=>"Wehner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490837d77353370a9ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837d77353370a9ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9bb0000'), "firstname"=>"Evelyn", "lastname"=>"Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490837e77353370a9bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms Redirected to http://test.host/admin/clients/5490837e77353370a9bb0000 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('5490837e77353370a9bc0000'), "firstname"=>"Magdalen", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2047ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms Redirected to http://test.host/clients/5490837e77353370a9bd0000 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('5490837e77353370a9be0000'), "firstname"=>"Kadin", "lastname"=>"VonRueden"}] 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=>"clients", :query=>{}} runtime: 0.1557ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"5490837e77353370a9be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3184ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms 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.1996ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9bf0000'), "firstname"=>"Ardella", "lastname"=>"Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"5490837e77353370a9bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms Rendered /home/geoffroy/projects/crealettres/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('5490837e77353370a9c00000'), "firstname"=>"Olin", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4676ms 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('5490837e77353370a9c10000'), "firstname"=>"Ladarius", "lastname"=>"Block"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5355ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) 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('5490837e77353370a9c20000'), "firstname"=>"Pinkie", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"5490837e77353370a9c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms 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('5490837e77353370a9c30000'), "firstname"=>"Manuel", "lastname"=>"Feeney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5490837e77353370a9c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5490837e77353370a9c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms Redirected to http://test.host/clients/5490837e77353370a9c30000 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('5490837e77353370a9c40000'), "name"=>"Dr. Horacio Maggio", "reference"=>"Nasir Johns", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9c50000'), "firstname"=>"Camron", "lastname"=>"Tillman"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5490837e77353370a9c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms Redirected to http://test.host/products/5490837e77353370a9c40000/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('5490837e77353370a9c70000'), "name"=>"Taya Cremin MD", "reference"=>"Patsy Glover", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9c80000'), "firstname"=>"Cesar", "lastname"=>"Collins"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"5490837e77353370a9c80000", "product_id"=>"5490837e77353370a9c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4123ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.8ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9c90000'), "name"=>"Bella Wisoky MD", "reference"=>"Lavada Denesik", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9ca0000'), "firstname"=>"Ismael", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5667ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"5490837e77353370a9c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.0ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9cb0000'), "name"=>"Cooper Bartoletti Jr.", "reference"=>"Major Bartell Sr.", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9cc0000'), "firstname"=>"Hester", "lastname"=>"Zboncak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Processing by ManagersController#show as HTML Parameters: {"id"=>"5490837e77353370a9cc0000", "product_id"=>"5490837e77353370a9cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Completed 200 OK in 30ms (Views: 28.7ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9cd0000'), "name"=>"Billie Wiegand", "reference"=>"Salvador Cormier", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('5490837e77353370a9ce0000'), "firstname"=>"Kaci", "lastname"=>"Kirlin"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms Processing by ManagersController#update as HTML Parameters: {"id"=>"5490837e77353370a9ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5490837e77353370a9cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms Unpermitted parameters: name Redirected to http://test.host/products/5490837e77353370a9cd0000/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('5490837e77353370a9cf0000'), "name"=>"Dr. Anais Halvorson", "reference"=>"Antwon Hilll PhD", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d00000'), "name"=>"Bulah Stanton", "reference"=>"Alexandrea Kovacek MD", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d10000'), "name"=>"Maddison Leffler", "reference"=>"Linwood Harber", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d20000'), "name"=>"Flavio Schiller", "reference"=>"Vergie Quitzon", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d30000'), "name"=>"Henri Rodriguez", "reference"=>"Dr. Aletha Tromp", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d40000'), "name"=>"Dr. Reta Bauch", "reference"=>"Zion Davis", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1708ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms Redirected to http://test.host/products/5490837e77353370a9d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d60000'), "name"=>"Kellie Moen", "reference"=>"Miss Korey Ullrich", "quantity"=>0}] 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.1411ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"5490837e77353370a9d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms 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.1571ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d70000'), "name"=>"Reyna Rosenbaum", "reference"=>"Willard Klocko", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"5490837e77353370a9d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('5490837e77353370a9d80000'), "name"=>"Mr. Eileen Hegmann", "reference"=>"Carli Gorczany Sr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280520369338] runtime: 0.1036ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2206ms Completed 200 OK in 18ms (Views: 17.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9d90000'), "name"=>"Ola Stracke", "reference"=>"Ms. Jayde Wintheiser", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9da0000'), "name"=>"HelloWorld", "reference"=>"Flavie Altenwerth", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9db0000'), "name"=>"value", "reference"=>"Lilian Gutmann", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3993ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2532ms Completed 200 OK in 6ms (Views: 5.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2062ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1350ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2285ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2084ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1726ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1373ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9dc0000'), "name"=>"Jarod Homenick", "reference"=>"Mr. Otha Ortiz", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7549ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281266491559] runtime: 0.1208ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2443ms Completed 200 OK in 43ms (Views: 42.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279433449587] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280269416294] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917077763] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8037ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280440931442] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279253716731] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8363ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280870468048] runtime: 0.0894ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280489217025] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280550762281] runtime: 0.0759ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8164ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279794556352] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8058ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280145117448] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810840563] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281107113397] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8176ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279827174913] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8029ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281230649559] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280918528383] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280419202630] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6895ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016200912] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7467ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279952790060] runtime: 0.0737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7219ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759518197] runtime: 0.0863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7471ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279760978091] runtime: 0.0772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7309ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280351408756] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281103832429] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6628ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279537381930] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280665809070] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6741ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279599572327] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6677ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280606156890] runtime: 0.0614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281062189183] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280059858898] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280698933747] runtime: 0.0652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6485ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281303387663] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279520448255] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279941608292] runtime: 0.0622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.5981ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279816684900] runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280502745814] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279578445239] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280343355141] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280823891516] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279383937581] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281067237173] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279536773658] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280042117110] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280857046616] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5861ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280679675366] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091387071] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281211319737] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279422927999] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279854522496] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279625212855] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280827785389] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280520639738] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281082448720] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803180358] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6929ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280662511553] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280737538742] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280736704773] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6841ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279351499872] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279208079090] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280381107029] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280709455185] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281286184159] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403071789] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279716333521] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280094648921] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6097ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279183935532] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922686255] runtime: 0.0621ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6571ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279859652967] runtime: 0.0616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280933641665] runtime: 0.0705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279950680411] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6428ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281127509502] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279834961496] runtime: 0.0682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279862450770] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279634374803] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280876888240] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279311752764] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279415512556] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5666ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279615844825] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279334327957] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5662ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280130871140] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281223658646] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280682193905] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280568036708] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280703625882] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204440999] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279852314642] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280123730724] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5491ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281177046801] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280623754517] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281225377832] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279810181517] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5537ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279251498900] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5204ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281190244369] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5229ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387567814] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281154132134] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279432762087] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281283560753] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5254ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279236844222] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5129ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280091975882] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279890175582] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279763208506] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280777794059] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279878752004] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336646606] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280598514133] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280285823035] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279193851266] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5021ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279695257315] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187023859] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5046ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281180552017] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5103ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281157262371] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 26.2503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281288569342] runtime: 0.1051ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281015996205] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280507286004] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279229721186] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280605228785] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279597478352] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279622407468] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279221312621] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280647287478] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280134384107] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281210071515] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5255ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280841638639] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280160294981] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281187745492] runtime: 0.0466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280920564733] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280482702397] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6885ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280748262730] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279604084476] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6954ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279922786940] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6753ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279413815387] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280917270543] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6935ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279646402130] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280668337803] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280436523860] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6993ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279575800617] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6919ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279983965597] runtime: 0.0697ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281295223731] runtime: 0.0465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7052ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280314666068] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7211ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281277000351] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7197ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281067437058] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279404350543] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6893ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280164179294] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6411ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279525635633] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6218ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279174911039] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6241ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281016061447] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279603565071] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6196ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280133130293] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6191ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280221060545] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280420503807] runtime: 0.0491ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6297ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279393191953] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279861249136] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6232ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280129032340] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6252ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280909817308] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280865638525] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6333ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281116337365] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280690811723] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279181919389] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5939ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387437201] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6073ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281107527428] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279603224990] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280403435739] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279831827243] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5987ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279850150032] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5894ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279254177364] runtime: 0.0482ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9dd0000'), "name"=>"Casey Ernser", "reference"=>"Dante Gibson", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2707ms Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9de0000'), "name"=>"Davion Bednar V", "reference"=>"Hattie Torphy V", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136394284] runtime: 0.0636ms Completed 200 OK in 5ms (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('5490837e77353370a9df0000'), "name"=>"Dean Hoppe", "reference"=>"Dr. Bianka Simonis", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by ProductsController#show as JSON Parameters: {"id"=>"5490837e77353370a9df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms 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('5490837e77353370a9e00000'), "name"=>"Jayne Hayes", "reference"=>"Mrs. Reece Bernhard", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 4.9ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e20000'), "name"=>"Adele Okuneva", "reference"=>"Humberto Huels", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Processing by ProductsController#show as HTML Parameters: {"id"=>"5490837e77353370a9e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Completed 200 OK in 30ms (Views: 28.7ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e30000'), "name"=>"Laura Kris Sr.", "reference"=>"Kaleigh Stehr", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.4854ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('5490837d77353370a9060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2518ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e40000'), "name"=>"Kaleigh Hamill", "reference"=>"Edyth Bradtke Jr.", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Completed 200 OK in 6ms (Views: 4.5ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e50000'), "name"=>"Raven Hirthe", "reference"=>"Kade Hartmann V", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2626ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e60000'), "name"=>"Presley Little", "reference"=>"Newton Roob", "quantity"=>7}] 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.1572ms 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('5490837e77353370a9e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1729ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9e80000'), "name"=>"Athena Powlowski", "reference"=>"Odell Von", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"5490837e77353370a9e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms 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('5490837e77353370a9e90000'), "name"=>"Shaun Wiegand", "reference"=>"Oda Littel", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms 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('5490837e77353370a9eb0000'), "name"=>"Cedrick Halvorson Sr.", "reference"=>"Rollin Walker", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490837e77353370a9eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms 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('5490837e77353370a9ec0000'), "name"=>"Clifton Herman", "reference"=>"Kelsi Donnelly", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5490837e77353370a9ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms Redirected to http://test.host/products/5490837e77353370a9ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9ef0000'), "name"=>"Dr. Felix Nikolaus", "reference"=>"Miss Keyon Brown", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9ed0000'), "author_name"=>"Julie Carroll", "content"=>["Ea et voluptas dignissimos excepturi et distinctio corporis. Molestiae dolore et ducimus. In distinctio fugiat."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9ee0000'), "author_name"=>"Isac Jast", "content"=>["Vitae veniam voluptatem quibusdam adipisci quia officia dolore. Ut dolor dicta omnis quod libero illo id. Eos odio ipsa quam laudantium velit dolores qui. Accusamus quam eius nam rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5490837e77353370a9ef0000", "comment_id"=>"5490837e77353370a9ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ef0000')} 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('5490837e77353370a9ef0000'), "comments._id"=>BSON::ObjectId('5490837e77353370a9ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490837e77353370a9f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms Redirected to http://test.host/products/5490837e77353370a9ef0000/comments/5490837e77353370a9ed0000/comments/5490837e77353370a9f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9f30000'), "name"=>"Frances Paucek", "reference"=>"Hope Schamberger", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f10000'), "author_name"=>"Susanna Hayes", "content"=>["Quia minima magni ut deleniti. Est odit sunt asperiores quaerat nam. Iure id consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f20000'), "author_name"=>"Jeanette Gutkowski", "content"=>["Distinctio dolores enim et quis asperiores debitis sequi. Qui quod harum nemo totam voluptatum minima. Nam et natus minus tempora quibusdam reprehenderit. Aspernatur qui suscipit. Quo porro aut dolor in perferendis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"5490837e77353370a9f30000", "comment_id"=>"5490837e77353370a9f10000", "id"=>"5490837e77353370a9f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f30000'), "comments._id"=>BSON::ObjectId('5490837e77353370a9f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('5490837e77353370a9f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms Redirected to http://test.host/products/5490837e77353370a9f30000/comments/5490837e77353370a9f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9f60000'), "name"=>"Althea Prohaska", "reference"=>"Ms. Ford Bergstrom", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f40000'), "author_name"=>"Cassandra Trantow", "content"=>["Repudiandae qui natus. Omnis labore magni quibusdam. Autem aut aperiam et non."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f50000'), "author_name"=>"Dr. Kacey Wuckert", "content"=>["Alias quo omnis corporis et. Eos porro voluptas dolores amet rerum. Labore numquam eveniet id incidunt at."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"5490837e77353370a9f60000", "comment_id"=>"5490837e77353370a9f40000", "id"=>"5490837e77353370a9f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9f90000'), "name"=>"Nicholas Walker", "reference"=>"Flavio Walsh", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f70000'), "author_name"=>"Mrs. Newell Deckow", "content"=>["Dolores et voluptatem qui incidunt excepturi. Repellat id sit repudiandae quos. Expedita accusamus neque ad. Nam labore est aliquam cupiditate suscipit eum repudiandae."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9f80000'), "author_name"=>"Salvador Harber", "content"=>["Fugiat accusantium nam eos officiis aut doloribus. Eos officia enim. Repudiandae tempore nihil aut molestias. Dolorem odit blanditiis omnis voluptatibus officia occaecati sunt."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"5490837e77353370a9f90000", "comment_id"=>"5490837e77353370a9f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms Completed 200 OK in 6ms (Views: 3.4ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9fc0000'), "name"=>"Mr. Elouise Beer", "reference"=>"Xander Satterfield", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9fa0000'), "author_name"=>"Nona Conroy PhD", "content"=>["Neque repellat necessitatibus vel et. Labore quia sint et. Maiores amet soluta recusandae neque praesentium placeat."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9fb0000'), "author_name"=>"Ms. Nina Zemlak", "content"=>["Eum veniam dolor animi voluptatem. Et cumque ut dolorum quas. Voluptates reiciendis qui at. Aut alias ea neque tenetur ut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"5490837e77353370a9fc0000", "comment_id"=>"5490837e77353370a9fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9ff0000'), "name"=>"Miss Annabel Bins", "reference"=>"Tess Kohler", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9fd0000'), "author_name"=>"April Pacocha", "content"=>["Atque velit itaque dolorum et. Dicta sunt quia fuga. Expedita et quas et cupiditate consequuntur autem."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9fe0000'), "author_name"=>"Mable Hodkiewicz", "content"=>["Dolorem quae iure sit deleniti sint soluta. Consequatur deleniti porro repellendus consequuntur error saepe. Laboriosam corrupti quis deleniti veritatis. Maxime ipsa atque minima quis. Dolorem nemo dolore vel animi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"5490837e77353370a9ff0000", "comment_id"=>"5490837e77353370a9fd0000", "id"=>"5490837e77353370a9fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms Completed 200 OK in 2ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9020100'), "name"=>"Domenica Hills", "reference"=>"Kennedi Carroll", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9000100'), "author_name"=>"Claude Wilkinson PhD", "content"=>["Nam voluptatem aut sed eveniet atque ullam nihil. Non est omnis molestiae explicabo eveniet ex. Dolore qui alias unde sunt."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9010100'), "author_name"=>"Miss Ludwig Hegmann", "content"=>["Officiis ipsa cupiditate beatae atque eos illo. Exercitationem delectus ea et nemo quam deserunt. Voluptatem aut est occaecati non architecto eaque expedita. Voluptates expedita possimus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"5490837e77353370a9020100", "comment_id"=>"5490837e77353370a9000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (28.3ms) Completed 200 OK in 32ms (Views: 30.3ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9050100'), "name"=>"Dr. Keenan Homenick", "reference"=>"Ms. Albin Lockman", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9030100'), "author_name"=>"Nils Purdy", "content"=>["Nobis accusantium nihil in iure distinctio itaque aliquam. Labore quaerat et explicabo est doloremque. Repellat at occaecati excepturi omnis mollitia. Et est excepturi voluptas vero qui autem recusandae."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9040100'), "author_name"=>"Tomasa Cremin", "content"=>["Molestiae voluptate qui porro fugiat. Recusandae eaque dolores. Aut expedita dolorem possimus. Impedit sunt similique numquam alias labore ducimus. Perspiciatis qui molestiae rerum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"5490837e77353370a9050100", "comment_id"=>"5490837e77353370a9030100", "id"=>"5490837e77353370a9040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5490837e77353370a9080100'), "name"=>"Kayden Tromp IV", "reference"=>"Eleanore Okuneva", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9060100'), "author_name"=>"Jamel Mante II", "content"=>["Soluta autem est totam. Dolorem omnis hic iste ut repellat. Rerum ut rerum eum aut quae. Quo repellat earum. Ut ut molestias vel explicabo."], "comments"=>[{"_id"=>BSON::ObjectId('5490837e77353370a9070100'), "author_name"=>"Mr. Abigale Koepp", "content"=>["Velit unde consequatur velit sed est autem cum. Dolorum porro necessitatibus quisquam corrupti cum consequatur qui. Et a vel ea eligendi aut ut earum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5490837e77353370a9070100", "product_id"=>"5490837e77353370a9080100", "comment_id"=>"5490837e77353370a9060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5490837e77353370a9080100')} 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('5490837e77353370a9080100'), "comments._id"=>BSON::ObjectId('5490837e77353370a9060100'), "comments.0.comments._id"=>BSON::ObjectId('5490837e77353370a9070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8109ms Redirected to http://test.host/products/5490837e77353370a9080100/comments/5490837e77353370a9060100/comments/5490837e77353370a9070100 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('5490837e77353370a9090100'), "firstname"=>"Muriel", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5906ms 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('5490837e77353370a90a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms Redirected to http://test.host/users/5490837e77353370a90a0100 Completed 302 Found in 3ms 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('5490837e77353370a90b0100'), "firstname"=>"Veronica", "lastname"=>"Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1867ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"5490837e77353370a90b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837e77353370a90b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837e77353370a90b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms 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.1732ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837e77353370a90c0100'), "firstname"=>"Eino", "lastname"=>"Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms Processing by UsersController#edit as HTML Parameters: {"id"=>"5490837e77353370a90c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837e77353370a90c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms Rendered /home/geoffroy/projects/crealettres/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('5490837e77353370a90d0100'), "firstname"=>"Leanna", "lastname"=>"Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms 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.4556ms Completed 200 OK in 8ms (Views: 7.7ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5490837e77353370a90e0100'), "firstname"=>"Precious", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('5490837e77353370a90f0100'), "firstname"=>"Halie", "lastname"=>"Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms Processing by UsersController#show as HTML Parameters: {"id"=>"5490837e77353370a90f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837e77353370a90f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms 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('5490837e77353370a9100100'), "firstname"=>"Thelma", "lastname"=>"Weber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5490837e77353370a9100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5490837e77353370a9100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4081ms Unpermitted parameters: name Redirected to http://test.host/users/5490837e77353370a9100100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7193ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3524ms 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.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.4092ms 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.3086ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms 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 ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a000000'), "firstname"=>"Stuart", "lastname"=>"Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3063ms 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('549084e6773533717a010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms 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.3300ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a020000'), "firstname"=>"Liam", "lastname"=>"Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"549084e6773533717a020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4158ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms) Completed 200 OK in 19ms (Views: 17.6ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a030000'), "firstname"=>"Meghan", "lastname"=>"Price"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.7ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a040000'), "firstname"=>"Ruben", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"549084e6773533717a040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a050000'), "firstname"=>"Jon", "lastname"=>"Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.7825ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"549084e6773533717a050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms 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('549084e6773533717a060000'), "name"=>"Ruthie Jacobson", "reference"=>"Mr. Audie Windler", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a070000'), "author_name"=>"Kasey Walsh V", "content"=>["Ut magnam et culpa autem facilis nulla in. Et autem corrupti. Ullam architecto eum pariatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549084e6773533717a060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3959ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549084e6773533717a080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms Redirected to http://test.host/admin/products/549084e6773533717a060000/comments/549084e6773533717a080000 Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3982ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a090000'), "name"=>"Lola Rodriguez DVM", "reference"=>"Paris Gislason", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a0a0000'), "author_name"=>"Eulalia Monahan", "content"=>["Non et quia earum aut. Iure corrupti voluptate aut laborum velit ipsam. Eaque dolorem veniam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"549084e6773533717a090000", "id"=>"549084e6773533717a0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549084e6773533717a0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms Redirected to http://test.host/admin/products/549084e6773533717a090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1982ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a0b0000'), "name"=>"Mrs. Ernest Kertzmann", "reference"=>"Khalil Becker", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a0c0000'), "author_name"=>"Willis Homenick", "content"=>["Aut mollitia atque assumenda sint porro fugiat quia. Quia vero nihil. Quam quibusdam non odit possimus tenetur. Voluptatibus dolorum possimus ut id voluptatem eos. Odit aut voluptatum molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"549084e6773533717a0b0000", "id"=>"549084e6773533717a0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.0ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a0d0000'), "name"=>"Torrey Ritchie", "reference"=>"Mr. Alvah Schneider", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a0e0000'), "author_name"=>"Aaron Fadel", "content"=>["Recusandae nam commodi quia earum cupiditate dignissimos. Consequatur iste accusamus temporibus id soluta velit at. Omnis nam illum cum quisquam. Tempora eveniet omnis ea ratione dignissimos rerum quasi."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6088ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"549084e6773533717a0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4528ms Completed 200 OK in 5ms (Views: 3.1ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a0f0000'), "name"=>"Shawn Feest", "reference"=>"Norbert Mayer", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a100000'), "author_name"=>"Arnaldo Haag", "content"=>["Non ad deleniti est quod. Est explicabo consequuntur neque molestiae dolores hic adipisci. Exercitationem non dolorem enim qui. Voluptatem occaecati earum facere culpa at. Officia ad enim architecto placeat excepturi corporis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"549084e6773533717a0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a110000'), "name"=>"Eulah Buckridge", "reference"=>"Buck Hilll", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a120000'), "author_name"=>"Lexie Runolfsson I", "content"=>["Nostrum dolores fuga eum corporis. Sit doloribus velit. Eveniet magnam amet minus nihil optio quisquam. Et tempora consequatur itaque optio consequuntur provident necessitatibus."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"549084e6773533717a110000", "id"=>"549084e6773533717a120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a130000'), "name"=>"Miss Clay Quitzon", "reference"=>"Liliane Walter", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717a140000'), "author_name"=>"Liana Durgan", "content"=>["Quam soluta hic. Perferendis porro omnis. Iure et libero. Tempora ipsam fuga eius iure velit ut. Officiis sed dolorem autem beatae dolor magni."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549084e6773533717a140000", "product_id"=>"549084e6773533717a130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a130000'), "comments._id"=>BSON::ObjectId('549084e6773533717a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms Redirected to http://test.host/admin/products/549084e6773533717a130000/comments/549084e6773533717a140000 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('549084e6773533717a150000'), "name"=>"Bettye Runolfsson", "reference"=>"Damien Auer", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a160000'), "firstname"=>"Dominic", "lastname"=>"Harris"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549084e6773533717a150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms Redirected to http://test.host/admin/products/549084e6773533717a150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a180000'), "name"=>"Garrett Buckridge", "reference"=>"Louisa Farrell", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a190000'), "firstname"=>"Elisa", "lastname"=>"Littel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"549084e6773533717a190000", "product_id"=>"549084e6773533717a180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 37ms (Views: 35.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a1a0000'), "name"=>"Trever Douglas", "reference"=>"Russ Walker", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a1b0000'), "firstname"=>"Gerhard", "lastname"=>"Murphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"549084e6773533717a1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a1c0000'), "name"=>"Elissa Yost", "reference"=>"Mr. Ray Volkman", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a1d0000'), "firstname"=>"Marcel", "lastname"=>"McClure"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2863ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"549084e6773533717a1d0000", "product_id"=>"549084e6773533717a1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a1e0000'), "name"=>"Stewart Wunsch", "reference"=>"Beulah Stoltenberg PhD", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('549084e6773533717a1f0000'), "firstname"=>"Loraine", "lastname"=>"Murphy"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"549084e6773533717a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549084e6773533717a1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms Unpermitted parameters: name Redirected to http://test.host/admin/products/549084e6773533717a1e0000/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('549084e6773533717a200000'), "name"=>"Ruth Frami", "reference"=>"Maximillian Satterfield", "quantity"=>7}] 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.1914ms 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('549084e6773533717a210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms Redirected to http://test.host/admin/products/549084e6773533717a210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2053ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a220000'), "name"=>"Vena Eichmann", "reference"=>"Russell Mertz", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"549084e6773533717a220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a220000')} 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('549084e6773533717a220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms 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.1961ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a230000'), "name"=>"Aniya Bogisich", "reference"=>"Rhoda Howe", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"549084e6773533717a230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a240000'), "name"=>"Neva Reinger", "reference"=>"Heidi Kovacek", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms 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.4905ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717a250000'), "name"=>"Paris Lueilwitz IV", "reference"=>"Diana Schroeder", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 19ms (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('549084e6773533717a280000'), "name"=>"Suzanne Goyette", "reference"=>"Austen Wintheiser", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"549084e6773533717a280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms 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('549084e6773533717a290000'), "name"=>"Jamal Marvin", "reference"=>"Easton Rosenbaum", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549084e6773533717a290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a290000')} 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('549084e6773533717a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms Redirected to http://test.host/admin/products/549084e6773533717a290000 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('549084e6773533717a2a0000'), "firstname"=>"Yasmin", "lastname"=>"Gibson"}] 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=>"admin_users", :query=>{}} runtime: 0.1851ms 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('549084e6773533717a2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms Redirected to http://test.host/admin/users/549084e6773533717a2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1987ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e6773533717a2c0000'), "firstname"=>"Jaylon", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1482ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3199ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"549084e6773533717a2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e6773533717a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4723ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e6773533717a2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5255ms 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.3393ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e6773533717a2d0000'), "firstname"=>"Eda", "lastname"=>"Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"549084e6773533717a2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e6773533717a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4253ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (46.5ms) Completed 200 OK in 54ms (Views: 51.8ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e6773533717a2e0000'), "firstname"=>"Pierre", "lastname"=>"Keebler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6067ms 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.4840ms 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('549084e6773533717a2f0000'), "firstname"=>"Myah", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4872ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) 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('549084e6773533717a300000'), "firstname"=>"Juwan", "lastname"=>"Torphy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"549084e6773533717a300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e6773533717a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms 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('549084e6773533717a310000'), "firstname"=>"Winfield", "lastname"=>"Osinski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5424ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549084e6773533717a310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e6773533717a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms Unpermitted parameters: name Redirected to http://test.host/admin/users/549084e6773533717a310000 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('549084e6773533717a320000'), "firstname"=>"Weldon", "lastname"=>"Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6307ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2943ms 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('549084e6773533717a330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms 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.2695ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a340000'), "firstname"=>"Preston", "lastname"=>"Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"549084e6773533717a340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 7.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a350000'), "firstname"=>"Tommie", "lastname"=>"Harvey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a360000'), "firstname"=>"Maureen", "lastname"=>"Blick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"549084e6773533717a360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms Completed 200 OK in 4ms (Views: 2.8ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('549084e6773533717a370000'), "firstname"=>"Althea", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"549084e6773533717a370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('549084e6773533717a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a380000'), "name"=>"Marlin Harber PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4852ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a390000'), "name"=>"Juwan Nitzsche I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3a0000'), "name"=>"Mr. Linda Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3b0000'), "name"=>"Penelope Mitchell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3c0000'), "name"=>"Mr. Lila Hayes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3d0000'), "name"=>"Zula Beer PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1932ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3e0000'), "name"=>"Gage Strosin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a3f0000'), "name"=>"Danny Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a400000'), "name"=>"Tabitha Mayert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a410000'), "name"=>"Bradford Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a420000'), "name"=>"Corrine Deckow"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1617ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a430000'), "name"=>"Mya Zboncak Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a440000'), "name"=>"Tyreek Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a450000'), "name"=>"Damien Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a460000'), "name"=>"Elody Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a470000'), "name"=>"Mr. Jonatan Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a480000'), "name"=>"Beaulah King"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a490000'), "name"=>"Jana Bernhard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2094ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4a0000'), "name"=>"Stanford Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1507ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4b0000'), "name"=>"Dr. Parker Williamson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4c0000'), "name"=>"Mrs. Deangelo Robel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4d0000'), "name"=>"Miss Kallie Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4e0000'), "name"=>"Neal Krajcik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a4f0000'), "name"=>"Isom Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a500000'), "name"=>"Garrick Breitenberg"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a510000'), "name"=>"Davin Baumbach"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a520000'), "name"=>"Dr. Reyes Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a530000'), "name"=>"Mr. Cierra Kilback"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a540000'), "name"=>"Dr. Amie Kuhlman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a550000'), "name"=>"Eliane Konopelski IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a560000'), "name"=>"Dennis Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a570000'), "name"=>"Aidan Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a580000'), "name"=>"Miss Coty Brekke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a590000'), "name"=>"Hunter Kiehn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5a0000'), "name"=>"Marianne Reichert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5b0000'), "name"=>"Whitney Hartmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5c0000'), "name"=>"Casandra Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5d0000'), "name"=>"Mr. Terrence Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5e0000'), "name"=>"Kareem Jacobson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a5f0000'), "name"=>"Cristobal Mayert DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a600000'), "name"=>"Arvilla Lubowitz DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a610000'), "name"=>"Taya Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a620000'), "name"=>"Lelah Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1762ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a630000'), "name"=>"Jerrold Daniel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1727ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a640000'), "name"=>"Tatum Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a650000'), "name"=>"Monica Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a660000'), "name"=>"Cruz Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a670000'), "name"=>"Vivianne Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a680000'), "name"=>"Madelynn Raynor MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6357ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a690000'), "name"=>"Tad Gleason I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6a0000'), "name"=>"Mr. Ulices Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6b0000'), "name"=>"Juanita Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6c0000'), "name"=>"Jonathan Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6d0000'), "name"=>"Albin Goyette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6e0000'), "name"=>"Luigi Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a6f0000'), "name"=>"Gabriella Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a700000'), "name"=>"Jany Hermiston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a710000'), "name"=>"Isabell Stracke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a720000'), "name"=>"Martine Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a730000'), "name"=>"Ms. Madisen Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a740000'), "name"=>"Ezekiel Crist"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a750000'), "name"=>"Mrs. Danielle Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a760000'), "name"=>"Corene Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a770000'), "name"=>"Jerald Tillman DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a780000'), "name"=>"Catharine Lemke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a790000'), "name"=>"Lisette Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7a0000'), "name"=>"Fermin Schultz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7b0000'), "name"=>"Reilly Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7c0000'), "name"=>"Michelle Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7d0000'), "name"=>"Brandyn Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7e0000'), "name"=>"Dina Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a7f0000'), "name"=>"Kane Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a800000'), "name"=>"Zakary Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a810000'), "name"=>"Gisselle Schaefer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a820000'), "name"=>"Dr. Sean Stark"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a830000'), "name"=>"Gonzalo Orn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a840000'), "name"=>"Alva Larkin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a850000'), "name"=>"Mavis Yost DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a860000'), "name"=>"Zachary Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.3021ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a870000'), "name"=>"Zena Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a880000'), "name"=>"Muhammad Kassulke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1957ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a890000'), "name"=>"Mrs. Betsy Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1797ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8a0000'), "name"=>"Afton Ledner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8b0000'), "name"=>"Marisa Glover"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8c0000'), "name"=>"Mrs. Antonio Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1558ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8d0000'), "name"=>"Candido Crooks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8e0000'), "name"=>"Brad Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a8f0000'), "name"=>"Camden Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a900000'), "name"=>"Karson Hickle"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a910000'), "name"=>"Faye Grimes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a920000'), "name"=>"Alycia Leuschke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a930000'), "name"=>"Thea Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a940000'), "name"=>"Miss Armando Leannon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a950000'), "name"=>"Cullen Yundt II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a960000'), "name"=>"Christine Fahey I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a970000'), "name"=>"Doug Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1296ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1527ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1866ms Redirected to http://test.host/categories/549084e6773533717a980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1924ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a990000'), "name"=>"Dr. Dangelo Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1776ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1741ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"549084e6773533717a990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717a990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717a990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms Redirected to http://test.host/categories Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1777ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a9a0000'), "name"=>"Noelia Stiedemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1750ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"549084e6773533717a9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.2ms) Completed 200 OK in 10ms (Views: 8.4ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a9b0000'), "name"=>"Arne Doyle II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[306396300579] runtime: 0.1057ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3156ms Completed 200 OK in 39ms (Views: 38.8ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a9c0000'), "name"=>"Alice Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2033ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[305573939409] runtime: 0.1032ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3047ms Completed 200 OK in 9ms (Views: 8.6ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a9d0000'), "name"=>"Karlie Nitzsche"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.4ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717a9f0000'), "name"=>"Makayla Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1972ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"549084e6773533717a9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717a9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms Completed 200 OK in 4ms (Views: 3.2ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('549084e6773533717aa00000'), "name"=>"Nicolette Stroman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"549084e6773533717aa00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('549084e6773533717aa00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('549084e6773533717aa00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms Redirected to http://test.host/categories/549084e6773533717aa00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aa10000'), "name"=>"Mrs. Kristy Sawayn", "reference"=>"Dr. Dedrick Kassulke", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aa20000'), "author_name"=>"Dr. Lloyd Kunde", "content"=>["Corporis exercitationem commodi debitis. Maxime et ut facilis. At adipisci perspiciatis enim. Aut vel autem et enim ipsum. Sit deleniti numquam fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549084e6773533717aa10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('549084e6773533717aa30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms Redirected to http://test.host/products/549084e6773533717aa10000/comments/549084e6773533717aa30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aa40000'), "name"=>"Leora Marvin I", "reference"=>"Jovan Wilderman", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aa50000'), "author_name"=>"Earlene Dickinson", "content"=>["Quibusdam molestiae et. Repellat magni aut voluptatem dolorem distinctio. Provident minus asperiores omnis. Id delectus nam ut nemo natus voluptates."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"549084e6773533717aa40000", "id"=>"549084e6773533717aa50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa40000')} 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('549084e6773533717aa40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('549084e6773533717aa50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms Redirected to http://test.host/products/549084e6773533717aa40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aa60000'), "name"=>"Miss Mittie Abernathy", "reference"=>"Jesus Hand Jr.", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aa70000'), "author_name"=>"Maiya Rippin III", "content"=>["Sed provident cupiditate rerum aliquam ut commodi. Quisquam aut molestias. A omnis labore mollitia unde rerum alias et. Aut ab qui fuga et dolorum saepe."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"549084e6773533717aa60000", "id"=>"549084e6773533717aa70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aa80000'), "name"=>"Emile Barrows", "reference"=>"Kristopher Reinger", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aa90000'), "author_name"=>"Frederick Sauer V", "content"=>["Totam culpa qui alias veritatis. Labore sit eos dicta voluptatem. Esse repudiandae velit possimus rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"549084e6773533717aa80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aa80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms Completed 200 OK in 5ms (Views: 3.2ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aaa0000'), "name"=>"Nyah Denesik", "reference"=>"Wiley Spencer IV", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aab0000'), "author_name"=>"Mr. Wilmer Dickinson", "content"=>["Libero dolore est sunt et ex cumque sed. Ut provident ea. Nisi voluptatem non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7427ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"549084e6773533717aaa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aac0000'), "name"=>"Anissa Luettgen", "reference"=>"Erica Morissette III", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aad0000'), "author_name"=>"Denis Kozey", "content"=>["Dolores et consequatur amet quos rerum. Quasi consequatur sint est ut eos. Tenetur ab fuga iure nihil possimus. Facere corporis est corrupti nemo eos voluptatem a."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"549084e6773533717aac0000", "id"=>"549084e6773533717aad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717aae0000'), "name"=>"Melany Armstrong", "reference"=>"Amiya Rutherford DDS", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717aaf0000'), "author_name"=>"Seth Lubowitz", "content"=>["Maiores consectetur et ipsum et quia qui. Sit dolor velit quasi quaerat blanditiis maiores iste. Sed nobis reiciendis ut praesentium. Minima sit et. Molestias dolorem reiciendis eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"549084e6773533717aae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717aae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717ab00000'), "name"=>"Maribel Parisian", "reference"=>"Llewellyn Lesch", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717ab10000'), "author_name"=>"Miss Jenifer Kunze", "content"=>["Quia totam sed accusamus ut dolor sit. Nisi sit similique quo iure. Assumenda est quam ut veritatis asperiores iusto fuga."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"549084e6773533717ab00000", "id"=>"549084e6773533717ab10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717ab00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e6773533717ab20000'), "name"=>"Heloise Leffler IV", "reference"=>"Hillard Fahey", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549084e6773533717ab30000'), "author_name"=>"Waldo Schoen", "content"=>["Distinctio officiis nostrum commodi cum magni. Dolore ut ut repellendus sint voluptas voluptatibus minima. Aut ipsum explicabo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549084e6773533717ab30000", "product_id"=>"549084e6773533717ab20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717ab20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717ab20000'), "comments._id"=>BSON::ObjectId('549084e6773533717ab30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms Redirected to http://test.host/products/549084e6773533717ab20000/comments/549084e6773533717ab30000 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('549084e7773533717ab40000'), "firstname"=>"Christophe", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms 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('549084e7773533717ab50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms Redirected to http://test.host/admin/clients/549084e7773533717ab50000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2022ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549084e7773533717ab60000'), "firstname"=>"D'angelo", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms 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"=>"549084e7773533717ab60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ab60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ab60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms 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.1952ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549084e7773533717ab70000'), "firstname"=>"Judd", "lastname"=>"Torp"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549084e7773533717ab70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ab70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('549084e7773533717ab80000'), "firstname"=>"Leone", "lastname"=>"Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms Processing by Iord::GenericController#index as HTML MOPED: 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 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('549084e7773533717ab90000'), "firstname"=>"Linda", "lastname"=>"Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5107ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('549084e7773533717aba0000'), "firstname"=>"Tia", "lastname"=>"Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549084e7773533717aba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717aba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549084e7773533717abb0000'), "firstname"=>"Gerhard", "lastname"=>"Frami"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"549084e7773533717abb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717abb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717abb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms Redirected to http://test.host/admin/clients/549084e7773533717abb0000 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('549084e7773533717abc0000'), "firstname"=>"Thea", "lastname"=>"Hickle"}] 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.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('549084e7773533717abd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms Redirected to http://test.host/clients/549084e7773533717abd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2116ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549084e7773533717abe0000'), "firstname"=>"Delfina", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2121ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"549084e7773533717abe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717abe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717abe0000')} 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.1948ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('549084e7773533717abf0000'), "firstname"=>"Ruthe", "lastname"=>"O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"549084e7773533717abf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717abf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /home/geoffroy/projects/crealettres/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('549084e7773533717ac00000'), "firstname"=>"Maribel", "lastname"=>"Gutmann"}] 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.3668ms 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('549084e7773533717ac10000'), "firstname"=>"Buck", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) 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('549084e7773533717ac20000'), "firstname"=>"Jaylin", "lastname"=>"Lebsack"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"549084e7773533717ac20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ac20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms 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('549084e7773533717ac30000'), "firstname"=>"Mia", "lastname"=>"Dooley"}] 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"=>"549084e7773533717ac30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ac30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('549084e7773533717ac30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms Redirected to http://test.host/clients/549084e7773533717ac30000 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('549084e7773533717ac40000'), "name"=>"Anjali Friesen Jr.", "reference"=>"Mrs. Madelynn Kshlerin", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549084e7773533717ac50000'), "firstname"=>"Scarlett", "lastname"=>"Eichmann"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"549084e7773533717ac40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ac40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ac40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ac40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('549084e7773533717ac60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2270ms Redirected to http://test.host/products/549084e7773533717ac40000/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('549084e7773533717ac70000'), "name"=>"Camilla Roberts", "reference"=>"Wilfred Pfeffer", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('549084e7773533717ac80000'), "firstname"=>"Kaela", "lastname"=>"Walker"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5840ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"549084e7773533717ac80000", "product_id"=>"549084e7773533717ac70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ac70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.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('549084e7773533717ac90000'), "name"=>"Mrs. Wyatt Stamm", "reference"=>"Jefferey Prosacco", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('549084e7773533717aca0000'), "firstname"=>"Adrian", "lastname"=>"Graham"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"549084e7773533717ac90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ac90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717acb0000'), "name"=>"Dr. Derick Hoeger", "reference"=>"Antwan Schamberger I", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('549084e7773533717acc0000'), "firstname"=>"Dillon", "lastname"=>"Crist"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms Processing by ManagersController#show as HTML Parameters: {"id"=>"549084e7773533717acc0000", "product_id"=>"549084e7773533717acb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717acb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms Completed 200 OK in 30ms (Views: 28.1ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717acd0000'), "name"=>"Audrey Heaney", "reference"=>"Gabriella Kulas", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('549084e7773533717ace0000'), "firstname"=>"Jaylon", "lastname"=>"Russel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms Processing by ManagersController#update as HTML Parameters: {"id"=>"549084e7773533717ace0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"549084e7773533717acd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717acd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms Unpermitted parameters: name Redirected to http://test.host/products/549084e7773533717acd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717acf0000'), "name"=>"Mrs. Maci Buckridge", "reference"=>"Mrs. Ellis Bartell", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad00000'), "name"=>"Laura Ebert", "reference"=>"Hilario Borer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad10000'), "name"=>"Lizeth Batz", "reference"=>"Earlene Halvorson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad20000'), "name"=>"Ms. Clemmie Koepp", "reference"=>"Kole Yost", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad30000'), "name"=>"Arlie Marvin", "reference"=>"Rodolfo Bashirian", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad40000'), "name"=>"Domenico Prosacco", "reference"=>"Tillman Emmerich", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms Redirected to http://test.host/products/549084e7773533717ad50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2123ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad60000'), "name"=>"Sabrina Nicolas", "reference"=>"Tracy Hamill", "quantity"=>5}] 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.1866ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"549084e7773533717ad60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ad60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ad60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms 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.2065ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad70000'), "name"=>"Harvey Gusikowski", "reference"=>"Christian Bernier", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"549084e7773533717ad70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ad70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('549084e7773533717ad80000'), "name"=>"Verda Bechtelar", "reference"=>"Miss Jacky Hickle", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280863615533] runtime: 0.1105ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3103ms Completed 200 OK in 18ms (Views: 17.1ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ad90000'), "name"=>"Emmett Mueller", "reference"=>"Hermann Parker Jr.", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ada0000'), "name"=>"HelloWorld", "reference"=>"River Abernathy Jr.", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717adb0000'), "name"=>"value", "reference"=>"Alta Toy", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4031ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2595ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2483ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.1868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1236ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Completed 200 OK in 6ms (Views: 5.7ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3386ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2889ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2193ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Completed 200 OK in 6ms (Views: 5.5ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717adc0000'), "name"=>"Estrella Hickle", "reference"=>"Uriel Medhurst", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9067ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280247096525] runtime: 0.1536ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3014ms Completed 200 OK in 56ms (Views: 55.1ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281314918575] runtime: 0.0727ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6718ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280466167526] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279656286891] runtime: 0.0646ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7085ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280884925632] runtime: 0.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281080498390] runtime: 0.0633ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6863ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281117491488] runtime: 0.0638ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6811ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279490795748] runtime: 0.0611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6474ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279884227502] runtime: 0.0599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279244516492] runtime: 0.0605ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280038165669] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6511ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280350246411] runtime: 0.0607ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6924ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280771896947] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281089884250] runtime: 0.0609ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6771ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279778745555] runtime: 0.0699ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279310097221] runtime: 0.0923ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279952431245] runtime: 0.0661ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280353492105] runtime: 0.0793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7394ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281243187925] runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279675629839] runtime: 0.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281132839244] runtime: 0.0687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280168497627] runtime: 0.0612ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281112765623] runtime: 0.0601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6577ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279885454533] runtime: 0.0606ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280057909271] runtime: 0.0760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279985330573] runtime: 0.0591ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280256595691] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280748221705] runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5296ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281011390090] runtime: 0.0708ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280069168068] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8487ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280385154204] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8289ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280162633008] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279250400563] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7865ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280573459487] runtime: 0.0562ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279510065120] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7752ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279793684310] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7911ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279873622440] runtime: 0.0572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280730389323] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281319258414] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7921ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280728318970] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280547729429] runtime: 0.0559ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7845ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280725796595] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280694346245] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7826ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280387851081] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7631ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281108406361] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6469ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280553126127] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281158825816] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280896639873] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279265011751] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281061092327] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6525ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279187683161] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6433ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281006919263] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6464ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281195032322] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6392ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280640661286] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280651942319] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6438ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280262104899] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6518ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262404579] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280391437816] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280630006002] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281130435365] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280224768852] runtime: 0.0548ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5932ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281189967735] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279204443394] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279262144816] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5881ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280537170637] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279273231951] runtime: 0.0525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279336368727] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820255225] runtime: 0.0542ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6053ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280257865880] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280787535852] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5984ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280845198782] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281156327155] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280981381060] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5886ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279613749238] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279521648981] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5961ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280615314353] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280833516405] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280265494619] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279621177955] runtime: 0.0551ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281316564718] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5682ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280139610792] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281194288904] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280675088878] runtime: 0.0528ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279558204767] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5692ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279868972883] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5634ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280450255203] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280690397056] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5684ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279412296900] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280045800792] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280820839146] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280715361954] runtime: 0.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281319783028] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5476ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281145267679] runtime: 0.0545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279836841765] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5458ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178000411] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280140482300] runtime: 0.0543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280001581755] runtime: 0.0531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5426ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281118130637] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279207289160] runtime: 0.0546ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5453ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280780070035] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5401ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280349568283] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5436ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280653410363] runtime: 0.0568ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280033975573] runtime: 0.0555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280019939496] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280840522185] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280204219254] runtime: 0.0532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5393ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280975071801] runtime: 0.0529ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280503050124] runtime: 0.0536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279679467437] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 27.2106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279510957502] runtime: 0.0989ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6397ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279805007761] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279912159255] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280285267631] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5524ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280844781589] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5642ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279894248175] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5557ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281278922631] runtime: 0.0556ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7831ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280545687078] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7756ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279314267113] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7799ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279828619321] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280903948507] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7787ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280557400158] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7773ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280000707540] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7793ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280360616431] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7807ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280535277869] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280017203093] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7876ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280269093648] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280708566572] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8044ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280519324089] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7822ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279286633443] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7878ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279437059664] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7953ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279480856613] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280444684078] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6664ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281113714047] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6733ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281233717500] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280460948955] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6613ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281136381018] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281056694945] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280692250188] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6697ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279803598955] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279529560814] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279771193149] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279301853362] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279660333935] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6584ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279652759498] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6599ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281113088787] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279358990421] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6647ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280887283499] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280628609027] runtime: 0.0588ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279435033603] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280317995234] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280717418966] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279923390092] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279759394620] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6146ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[281047641528] runtime: 0.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280458227912] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280252932161] runtime: 0.0512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280005595910] runtime: 0.0517ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280597621735] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279178791682] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280305025312] runtime: 0.0603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280789913642] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6081ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280982551314] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280348143408] runtime: 0.0515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5946ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[279724823696] runtime: 0.0503ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717add0000'), "name"=>"Keenan Runte DDS", "reference"=>"Kari Windler", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2620ms Completed 200 OK in 5ms (Views: 3.8ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ade0000'), "name"=>"Jayson Beer", "reference"=>"Ms. Autumn Corkery", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[280522765286] runtime: 0.0671ms Completed 200 OK in 5ms (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('549084e7773533717adf0000'), "name"=>"Cathryn Weissnat", "reference"=>"Taryn Koepp II", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms Processing by ProductsController#show as JSON Parameters: {"id"=>"549084e7773533717adf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717adf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms 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('549084e7773533717ae00000'), "name"=>"Mr. Penelope Hermiston", "reference"=>"Arianna Jacobson", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 5.0ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae20000'), "name"=>"Ashlee Greenfelder III", "reference"=>"Hiram Bahringer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms Processing by ProductsController#show as HTML Parameters: {"id"=>"549084e7773533717ae20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ae20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae30000'), "name"=>"Jessyca Conn", "reference"=>"Vella Stiedemann", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.3723ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.5011ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4961ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e6773533717a060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 5ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4847ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae40000'), "name"=>"Camden Hammes", "reference"=>"Alvera Grady DDS", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5079ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4835ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae50000'), "name"=>"Lenna Harris IV", "reference"=>"Darrick Dicki DVM", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5803ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4655ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae60000'), "name"=>"Jonathan Wunsch", "reference"=>"Ollie Bergnaum", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3499ms 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('549084e7773533717ae70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5514ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3485ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717ae80000'), "name"=>"Elian Larkin", "reference"=>"Rosetta Pfannerstill", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"549084e7773533717ae80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ae80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717ae80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms 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('549084e7773533717ae90000'), "name"=>"Laverne Frami", "reference"=>"Ozella Stoltenberg", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms 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('549084e7773533717aeb0000'), "name"=>"Miss Declan Bednar", "reference"=>"Mrs. Brandy Rodriguez", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549084e7773533717aeb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms 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('549084e7773533717aec0000'), "name"=>"Mateo Miller", "reference"=>"Mrs. Krystal Wyman", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"549084e7773533717aec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3786ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms Redirected to http://test.host/products/549084e7773533717aec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717aef0000'), "name"=>"Hilma Lebsack", "reference"=>"Bennett Ratke", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717aed0000'), "author_name"=>"Suzanne Conn", "content"=>["Id nihil voluptatem sint ipsum molestiae unde. Ut asperiores non dolores quia qui quos. Hic quia dolorum ex. Autem explicabo eum porro quia beatae quia voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717aee0000'), "author_name"=>"Helga Homenick", "content"=>["Et officiis illo adipisci odit quia non. Qui repellat et placeat. Et consequatur ex quo dolor. Sit ullam possimus in aut est magni qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"549084e7773533717aef0000", "comment_id"=>"549084e7773533717aed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aef0000'), "comments._id"=>BSON::ObjectId('549084e7773533717aed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549084e7773533717af00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7278ms Redirected to http://test.host/products/549084e7773533717aef0000/comments/549084e7773533717aed0000/comments/549084e7773533717af00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717af30000'), "name"=>"Sally Wehner V", "reference"=>"Jedediah Bartoletti", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af10000'), "author_name"=>"Wyatt Mante", "content"=>["Ducimus incidunt qui atque rerum illo enim sequi. Cumque ullam aut. Ipsum tempore placeat. Nisi non nemo labore quidem."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af20000'), "author_name"=>"Kieran Kris", "content"=>["Eligendi omnis incidunt et. Assumenda et veritatis quo esse natus. Non hic enim pariatur id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4089ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"549084e7773533717af30000", "comment_id"=>"549084e7773533717af10000", "id"=>"549084e7773533717af20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af30000'), "comments._id"=>BSON::ObjectId('549084e7773533717af10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('549084e7773533717af20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6901ms Redirected to http://test.host/products/549084e7773533717af30000/comments/549084e7773533717af10000/comments Completed 302 Found in 6ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717af60000'), "name"=>"Arthur Russel", "reference"=>"Zelda Brekke", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af40000'), "author_name"=>"Adrain Kuhic", "content"=>["Ad voluptatem omnis sit. Quis et commodi in quia consequatur. Aut nam laudantium aut."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af50000'), "author_name"=>"Helmer Raynor Jr.", "content"=>["Ut occaecati et aspernatur molestias sit quam. Ducimus praesentium dolor ipsum suscipit libero rerum enim. Perspiciatis iste officia. Dicta facilis saepe officiis quia cumque. Rerum magni consequatur doloremque adipisci repellendus labore voluptate."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6881ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"549084e7773533717af60000", "comment_id"=>"549084e7773533717af40000", "id"=>"549084e7773533717af50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 10.2ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717af90000'), "name"=>"Mrs. Patsy Bashirian", "reference"=>"Evan Gutkowski", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af70000'), "author_name"=>"Mr. Ciara Buckridge", "content"=>["Explicabo minus sequi velit molestiae dolore mollitia nobis. Voluptatum doloribus blanditiis et nihil sunt. Et odio tenetur animi doloremque culpa. Fuga culpa esse veniam quia."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717af80000'), "author_name"=>"Reginald Christiansen", "content"=>["Consequatur atque labore error est qui. Aut rerum atque ex ducimus. Provident voluptatum sunt explicabo. Id veritatis aliquid fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6972ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"549084e7773533717af90000", "comment_id"=>"549084e7773533717af70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717af90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4518ms Completed 200 OK in 9ms (Views: 5.3ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717afc0000'), "name"=>"Drake Blanda", "reference"=>"Mr. Delores Gaylord", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717afa0000'), "author_name"=>"Verda Vandervort", "content"=>["Atque modi provident. Voluptas quia amet illo suscipit debitis facere explicabo. Enim amet molestiae et nemo ut. Fugiat nobis provident facere eius possimus. Rerum rerum autem quam architecto esse."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717afb0000'), "author_name"=>"Antwon Rice", "content"=>["Cum quis laudantium sequi corporis. Et occaecati nobis deleniti ut et perspiciatis. Dolorum placeat consectetur quisquam recusandae adipisci. Sint cum consequatur tempore reiciendis sint consequuntur. Corrupti est vitae et earum distinctio necessitatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6455ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"549084e7773533717afc0000", "comment_id"=>"549084e7773533717afa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717afc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4283ms Completed 200 OK in 4ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717aff0000'), "name"=>"Miss Darron Gutkowski", "reference"=>"Robin Schuppe", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717afd0000'), "author_name"=>"Dr. Shanon Schumm", "content"=>["Ab cupiditate recusandae. Adipisci architecto incidunt quae. Illo rerum reprehenderit et id aliquid tempore."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717afe0000'), "author_name"=>"Reagan Weimann", "content"=>["Eveniet enim sit odit unde veritatis provident. Omnis hic amet cum. Tempore unde quis quo. Nostrum dolorum veritatis quasi. Ut minus veritatis error occaecati laborum molestiae molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7092ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"549084e7773533717aff0000", "comment_id"=>"549084e7773533717afd0000", "id"=>"549084e7773533717afe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717aff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5777ms Completed 200 OK in 35ms (Views: 0.3ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717a020100'), "name"=>"Andy Pfeffer", "reference"=>"Dr. Kacey Carroll", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a000100'), "author_name"=>"Rossie Krajcik", "content"=>["Et eveniet rem minus quidem quod nam quia. Occaecati unde harum doloremque dicta similique. Nihil autem eius. Nam numquam et voluptatum rem."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a010100'), "author_name"=>"Novella Nikolaus I", "content"=>["Minus quo id eum. Placeat quae at est et ut eos voluptas. Harum numquam et est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6648ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"549084e7773533717a020100", "comment_id"=>"549084e7773533717a000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717a020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5082ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 4.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717a050100'), "name"=>"Paige Sipes DDS", "reference"=>"Sasha Conn", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a030100'), "author_name"=>"Elijah Hudson", "content"=>["Occaecati sit qui velit. Nam dolores asperiores nemo minus voluptas. Rerum eveniet nemo vero exercitationem vitae odio. Dolores exercitationem ipsam minus consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a040100'), "author_name"=>"Brandi Kozey", "content"=>["Voluptas et eveniet quis amet nisi. Aut et nostrum facilis. Non quibusdam est veritatis velit."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6713ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"549084e7773533717a050100", "comment_id"=>"549084e7773533717a030100", "id"=>"549084e7773533717a040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717a050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4656ms Completed 200 OK in 7ms (Views: 3.5ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('549084e7773533717a080100'), "name"=>"Celia Hoeger", "reference"=>"Cassandra Pollich", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a060100'), "author_name"=>"Itzel Haley", "content"=>["Aut distinctio reprehenderit tenetur quia maxime et adipisci. Nesciunt at sunt magnam eos esse incidunt. Sit aut sit voluptatem facilis. Eum architecto optio. Molestiae id sequi."], "comments"=>[{"_id"=>BSON::ObjectId('549084e7773533717a070100'), "author_name"=>"Abbey Witting", "content"=>["Consequatur eos explicabo. Corporis ratione et minus libero maiores excepturi sapiente. Voluptas placeat quidem magnam autem. Veritatis similique quas cumque sed dolor. Reprehenderit ratione aliquid qui."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6236ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"549084e7773533717a070100", "product_id"=>"549084e7773533717a080100", "comment_id"=>"549084e7773533717a060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717a080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4691ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('549084e7773533717a080100'), "comments._id"=>BSON::ObjectId('549084e7773533717a060100'), "comments.0.comments._id"=>BSON::ObjectId('549084e7773533717a070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8558ms Redirected to http://test.host/products/549084e7773533717a080100/comments/549084e7773533717a060100/comments/549084e7773533717a070100 Completed 302 Found in 9ms --------------------------------------- UsersControllerTest: test_should_create --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e7773533717a090100'), "firstname"=>"Kathleen", "lastname"=>"Johnston"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6745ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3444ms 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('549084e7773533717a0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms Redirected to http://test.host/users/549084e7773533717a0a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3313ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e7773533717a0b0100'), "firstname"=>"Valentina", "lastname"=>"Zboncak"}] 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.3072ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"549084e7773533717a0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e7773533717a0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e7773533717a0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms 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.2788ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e7773533717a0c0100'), "firstname"=>"Jeffrey", "lastname"=>"Lowe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms Processing by UsersController#edit as HTML Parameters: {"id"=>"549084e7773533717a0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e7773533717a0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('549084e8773533717a0d0100'), "firstname"=>"Tiana", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms 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.4252ms 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('549084e8773533717a0e0100'), "firstname"=>"Lisa", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms) ----------------------------------------- UsersControllerTest: test_should_get_show ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e8773533717a0f0100'), "firstname"=>"Wendy", "lastname"=>"VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1638ms Processing by UsersController#show as HTML Parameters: {"id"=>"549084e8773533717a0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e8773533717a0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Completed 200 OK in 4ms (Views: 2.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('549084e8773533717a100100'), "firstname"=>"Corene", "lastname"=>"Macejkovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"549084e8773533717a100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('549084e8773533717a100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Unpermitted parameters: name Redirected to http://test.host/users/549084e8773533717a100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6991ms MOPED: 127.0.0.1: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=administrators selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms 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.9615ms 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.7337ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5329ms 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.3627ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83000000'), "firstname"=>"Manuel", "lastname"=>"Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2473ms 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('54b9547b7735337c83010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms 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.2896ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83020000'), "firstname"=>"Nash", "lastname"=>"Klein"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54b9547b7735337c83020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (49.5ms) Completed 200 OK in 70ms (Views: 68.3ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83030000'), "firstname"=>"Sheridan", "lastname"=>"Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6042ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54b9547b7735337c83040000'), "firstname"=>"Marcus", "lastname"=>"Donnelly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5550ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54b9547b7735337c83040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83050000'), "firstname"=>"Jessika", "lastname"=>"Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54b9547b7735337c83050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms 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('54b9547b7735337c83060000'), "name"=>"Wilhelmine Gislason", "reference"=>"Marquis Grant", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c83070000'), "author_name"=>"Perry Connelly", "content"=>["Quis cum sed aspernatur. Non omnis voluptatum quaerat impedit odit quidem adipisci. Aut dolores aut nam dolorem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9547b7735337c83060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4217ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9547b7735337c83080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms Redirected to http://test.host/admin/products/54b9547b7735337c83060000/comments/54b9547b7735337c83080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83090000'), "name"=>"Barry Keebler", "reference"=>"Dr. Hal Berge", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c830a0000'), "author_name"=>"Zula Crooks", "content"=>["Quo in veritatis natus placeat ea voluptatem. Voluptas inventore nulla. Ipsum natus quo facere dolorem ex id earum. Quasi dolores eaque. Inventore ut minima debitis est eos."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4933ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54b9547b7735337c83090000", "id"=>"54b9547b7735337c830a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83090000')} 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('54b9547b7735337c83090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9547b7735337c830a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5390ms Redirected to http://test.host/admin/products/54b9547b7735337c83090000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c830b0000'), "name"=>"Hallie Dietrich", "reference"=>"Shana Cassin", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c830c0000'), "author_name"=>"Heloise Gottlieb", "content"=>["Possimus officia sint modi. Et ea ut eaque. Est soluta porro. Voluptatem tempora modi quaerat necessitatibus. Ipsam nisi et vel nesciunt possimus aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54b9547b7735337c830b0000", "id"=>"54b9547b7735337c830c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c830b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4107ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.2ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c830d0000'), "name"=>"Billy Kutch", "reference"=>"Kitty Christiansen", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c830e0000'), "author_name"=>"Jaydon Moore", "content"=>["Quod corrupti saepe voluptatum et esse sit. Ipsum voluptates perspiciatis aut. Nemo quis neque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6047ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54b9547b7735337c830d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c830d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms Completed 500 Internal Server Error in 42ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c830f0000'), "name"=>"Giovanna Wisoky", "reference"=>"Uriah Zulauf MD", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c83100000'), "author_name"=>"Maximilian Kozey", "content"=>["Mollitia quae et. Dicta et commodi. Accusamus sit occaecati cumque qui et nulla rerum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6380ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54b9547b7735337c830f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c830f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4362ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83110000'), "name"=>"Dean Littel III", "reference"=>"Ned Nitzsche III", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c83120000'), "author_name"=>"Jena Howell", "content"=>["Et odio deserunt pariatur optio molestias id exercitationem. Exercitationem aut voluptatem. Quia enim excepturi aliquam. Consequatur voluptates architecto deserunt fugiat dolores aspernatur. Consequuntur atque omnis non voluptatum corporis porro tempore."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54b9547b7735337c83110000", "id"=>"54b9547b7735337c83120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83130000'), "name"=>"Mrs. Camylle Kirlin", "reference"=>"Ewald Lind", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9547b7735337c83140000'), "author_name"=>"Mr. Quincy Schoen", "content"=>["Repellendus deserunt sint dolor rerum. Aut distinctio voluptates consequatur quia cumque error. Qui perspiciatis quia eum voluptatibus sit repudiandae. Sit facilis animi repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9547b7735337c83140000", "product_id"=>"54b9547b7735337c83130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83130000'), "comments._id"=>BSON::ObjectId('54b9547b7735337c83140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5561ms Redirected to http://test.host/admin/products/54b9547b7735337c83130000/comments/54b9547b7735337c83140000 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('54b9547b7735337c83150000'), "name"=>"Jaime Schamberger", "reference"=>"Billy Considine", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c83160000'), "firstname"=>"Deron", "lastname"=>"Veum"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9547b7735337c83150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c83170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms Redirected to http://test.host/admin/products/54b9547b7735337c83150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83180000'), "name"=>"Freddie Wisoky", "reference"=>"Mr. Serena Hoeger", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c83190000'), "firstname"=>"Gust", "lastname"=>"Orn"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54b9547b7735337c83190000", "product_id"=>"54b9547b7735337c83180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c831a0000'), "name"=>"Christelle Dickinson", "reference"=>"Clara McCullough", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c831b0000'), "firstname"=>"Julian", "lastname"=>"Langosh"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54b9547b7735337c831a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c831a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c831c0000'), "name"=>"Elenor Wilkinson", "reference"=>"Cecil Kuhic DDS", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c831d0000'), "firstname"=>"Eloise", "lastname"=>"Lowe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54b9547b7735337c831d0000", "product_id"=>"54b9547b7735337c831c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c831c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c831e0000'), "name"=>"Albert Sporer", "reference"=>"Annamarie Wolf", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54b9547b7735337c831f0000'), "firstname"=>"Lacy", "lastname"=>"Schmitt"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54b9547b7735337c831f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9547b7735337c831e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c831e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54b9547b7735337c831e0000/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('54b9547b7735337c83200000'), "name"=>"Imani Vandervort", "reference"=>"Bridgette Schimmel", "quantity"=>6}] 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.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('54b9547b7735337c83210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms Redirected to http://test.host/admin/products/54b9547b7735337c83210000 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('54b9547b7735337c83220000'), "name"=>"Presley Wilderman", "reference"=>"Joyce Torphy", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1882ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54b9547b7735337c83220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83220000')} 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('54b9547b7735337c83220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms 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.1877ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83230000'), "name"=>"Ashly Oberbrunner", "reference"=>"Shanelle Jacobson", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54b9547b7735337c83230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 5.8ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83240000'), "name"=>"Miss Gabe Bogisich", "reference"=>"Dane Zieme", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms Processing by Admin::ProductsController#index as HTML Completed 500 Internal Server Error in 41ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83250000'), "name"=>"Alivia Oberbrunner", "reference"=>"Sydnie Heaney", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 17ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83280000'), "name"=>"Thelma Wilkinson", "reference"=>"Addison Erdman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54b9547b7735337c83280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms 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('54b9547b7735337c83290000'), "name"=>"Mr. Royce Zulauf", "reference"=>"Ola Hagenes", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5501ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9547b7735337c83290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547b7735337c83290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms Redirected to http://test.host/admin/products/54b9547b7735337c83290000 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('54b9547b7735337c832a0000'), "firstname"=>"Kendrick", "lastname"=>"O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6048ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2972ms 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('54b9547b7735337c832b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2087ms Redirected to http://test.host/admin/users/54b9547b7735337c832b0000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2169ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c832c0000'), "firstname"=>"Hermina", "lastname"=>"Bergnaum"}] 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.1915ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54b9547b7735337c832c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547b7735337c832c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547b7735337c832c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms 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.1940ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c832d0000'), "firstname"=>"Mina", "lastname"=>"Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54b9547b7735337c832d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547b7735337c832d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.5ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c832e0000'), "firstname"=>"Carolanne", "lastname"=>"Metz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms 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('54b9547b7735337c832f0000'), "firstname"=>"Leta", "lastname"=>"Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9547b7735337c83300000'), "firstname"=>"Ottilie", "lastname"=>"Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54b9547b7735337c83300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547b7735337c83300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms 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('54b9547b7735337c83310000'), "firstname"=>"Kelvin", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9547b7735337c83310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547b7735337c83310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4004ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54b9547b7735337c83310000 Completed 302 Found in 32ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83320000'), "firstname"=>"Edyth", "lastname"=>"Gleichner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1807ms 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('54b9547b7735337c83330000'), "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.1934ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83340000'), "firstname"=>"Georgette", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54b9547b7735337c83340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.0ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83350000'), "firstname"=>"Maryse", "lastname"=>"Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6041ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83360000'), "firstname"=>"Stefan", "lastname"=>"McGlynn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54b9547b7735337c83360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83370000'), "firstname"=>"Carmine", "lastname"=>"MacGyver"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54b9547b7735337c83370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9547b7735337c83370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83380000'), "name"=>"Jayson Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83390000'), "name"=>"Mr. Gabriel Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833a0000'), "name"=>"Burley Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833b0000'), "name"=>"Amalia Cronin I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833c0000'), "name"=>"Piper Ruecker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833d0000'), "name"=>"Paige Pfeffer DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833e0000'), "name"=>"Keely Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c833f0000'), "name"=>"Marisol Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c833f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83400000'), "name"=>"Lafayette Corwin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83410000'), "name"=>"Elenor Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1603ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83420000'), "name"=>"Vance Predovic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83430000'), "name"=>"Mr. Marcel Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83440000'), "name"=>"Natalie Lehner III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83450000'), "name"=>"Robb Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83460000'), "name"=>"Kattie Torphy I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83470000'), "name"=>"Dayton Cormier"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83480000'), "name"=>"Domingo Homenick"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83490000'), "name"=>"Mr. Cindy Kuhic"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834a0000'), "name"=>"Ms. Curt Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834b0000'), "name"=>"Vance Kulas Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834c0000'), "name"=>"Bryon Weimann II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834d0000'), "name"=>"Bethany Langworth"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834e0000'), "name"=>"Mack Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c834f0000'), "name"=>"Connor Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c834f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83500000'), "name"=>"Taurean Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83510000'), "name"=>"Giles Runte"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83520000'), "name"=>"Nicole Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83530000'), "name"=>"Torrance Hudson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83540000'), "name"=>"Dr. Lonnie Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83550000'), "name"=>"Brionna Tillman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83560000'), "name"=>"Felton Hegmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83570000'), "name"=>"Sam Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83580000'), "name"=>"Ms. Doris Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83590000'), "name"=>"Kaden Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835a0000'), "name"=>"Mr. Kane Kertzmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835b0000'), "name"=>"Brielle Stamm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1353ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835c0000'), "name"=>"Alycia Greenfelder III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835d0000'), "name"=>"Harmony Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835e0000'), "name"=>"Ms. Jaeden Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c835f0000'), "name"=>"Gordon Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c835f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83600000'), "name"=>"Jazmin VonRueden"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83610000'), "name"=>"Mrs. Marilou Ziemann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83620000'), "name"=>"Gabe Batz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1346ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83630000'), "name"=>"Dr. Marielle Dickens"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83640000'), "name"=>"Philip Grant PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1363ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83650000'), "name"=>"Ivory Monahan IV"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1344ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83660000'), "name"=>"Mafalda Langosh"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83670000'), "name"=>"Margie Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547b7735337c83680000'), "name"=>"Kathlyn Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547b7735337c83680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1366ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83690000'), "name"=>"Giovanni Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836a0000'), "name"=>"Rosetta Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836b0000'), "name"=>"Anabelle Lakin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836c0000'), "name"=>"Nash Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836d0000'), "name"=>"Bryana Morissette"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836e0000'), "name"=>"Frederick Bode"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c836f0000'), "name"=>"Idell Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c836f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83700000'), "name"=>"Miss Ignacio Muller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83710000'), "name"=>"Desmond Bauch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83720000'), "name"=>"Tressie Ankunding"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83730000'), "name"=>"Judge Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83740000'), "name"=>"Lucie Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1911ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83750000'), "name"=>"Willow Watsica Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83760000'), "name"=>"Freda Ferry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83770000'), "name"=>"Tony Jast"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83780000'), "name"=>"Rosalinda Boyer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83790000'), "name"=>"Charley Fay Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837a0000'), "name"=>"Natasha McClure DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837b0000'), "name"=>"Russ Littel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837c0000'), "name"=>"Markus Kessler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837d0000'), "name"=>"Bartholome Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837e0000'), "name"=>"Abe Raynor"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7876ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c837f0000'), "name"=>"Agustina McKenzie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c837f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83800000'), "name"=>"Rashad Runolfsson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83810000'), "name"=>"Don Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83820000'), "name"=>"Ms. Susana Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83830000'), "name"=>"Gerhard Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83840000'), "name"=>"Travon Considine"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83850000'), "name"=>"Ms. Faustino Shields"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83860000'), "name"=>"Clint Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83870000'), "name"=>"Eleanora Ward"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83880000'), "name"=>"Jeramy Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83890000'), "name"=>"Mrs. Jorge Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838a0000'), "name"=>"Mrs. Xavier Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838b0000'), "name"=>"Arvel Schroeder"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838c0000'), "name"=>"Rogers Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838d0000'), "name"=>"Lela Kshlerin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838e0000'), "name"=>"Rusty Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2026ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c838f0000'), "name"=>"Ashlee Hauck MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c838f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83900000'), "name"=>"Grayce Russel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83910000'), "name"=>"Jesse Leffler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83920000'), "name"=>"Kurtis Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83930000'), "name"=>"Jedidiah Feil"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83940000'), "name"=>"Roslyn Greenholt III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83950000'), "name"=>"Modesto Howell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83960000'), "name"=>"Henderson Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83970000'), "name"=>"Ms. Retha Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2781ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5673ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms Redirected to http://test.host/categories/54b9547c7735337c83980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3258ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83990000'), "name"=>"Crawford Jacobs"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2532ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54b9547c7735337c83990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c83990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c83990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2642ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c839a0000'), "name"=>"Jerome Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54b9547c7735337c839a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c839a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.7ms) Completed 200 OK in 10ms (Views: 9.2ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c839b0000'), "name"=>"Eugenia Bashirian"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms Processing by CategoriesController#index as HTML Completed 500 Internal Server Error in 45ms ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c839c0000'), "name"=>"Eliane Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} Completed 500 Internal Server Error in 40ms --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c839d0000'), "name"=>"Mozell Schoen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 7ms (Views: 6.1ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c839f0000'), "name"=>"Mr. Elza Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54b9547c7735337c839f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c839f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c839f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms Completed 200 OK in 4ms (Views: 3.1ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83a00000'), "name"=>"Jaquan Gottlieb III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54b9547c7735337c83a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1304ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9547c7735337c83a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms Redirected to http://test.host/categories/54b9547c7735337c83a00000 Completed 302 Found in 8ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83a10000'), "name"=>"Althea Lubowitz", "reference"=>"Herta Mills DDS", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83a20000'), "author_name"=>"Maximo Prohaska Jr.", "content"=>["Est omnis placeat. Qui ut iste architecto. Doloremque iste minus qui facere modi velit quibusdam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9547c7735337c83a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms Redirected to http://test.host/products/54b9547c7735337c83a10000/comments/54b9547c7735337c83a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83a40000'), "name"=>"Mrs. Macy Dach", "reference"=>"Mrs. Dessie Bauch", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83a50000'), "author_name"=>"Leonard Powlowski Sr.", "content"=>["Ut quae vitae. Eum mollitia sequi doloremque. Animi at ut enim."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4992ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54b9547c7735337c83a40000", "id"=>"54b9547c7735337c83a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a40000')} 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('54b9547c7735337c83a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Redirected to http://test.host/products/54b9547c7735337c83a40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83a60000'), "name"=>"Miss Tyson Leuschke", "reference"=>"Ms. Kattie Bednar", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83a70000'), "author_name"=>"Vilma Conroy II", "content"=>["Unde in qui. Quia qui eveniet. Distinctio magnam inventore at odit labore atque repudiandae. Quis qui ipsa repellat."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54b9547c7735337c83a60000", "id"=>"54b9547c7735337c83a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83a80000'), "name"=>"Lesley Hamill MD", "reference"=>"Otha Dibbert", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83a90000'), "author_name"=>"Mrs. Brando Nolan", "content"=>["Unde ut quisquam libero. In voluptas officiis molestias accusamus deserunt repellat maxime. Exercitationem qui error eius facilis non aut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54b9547c7735337c83a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms Completed 500 Internal Server Error in 44ms -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83aa0000'), "name"=>"Jillian Kulas Sr.", "reference"=>"Jacques Glover V", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83ab0000'), "author_name"=>"Tabitha Gutmann", "content"=>["Sit animi harum. Dolore qui fugit adipisci quae dolorum sunt. Nobis nesciunt quibusdam. Fuga nulla sequi quo rem molestiae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54b9547c7735337c83aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83ac0000'), "name"=>"Flo Glover", "reference"=>"Dr. Trisha Turcotte", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83ad0000'), "author_name"=>"Damion Lang", "content"=>["Exercitationem inventore voluptatem amet iste molestiae ex. Optio veritatis officiis porro nesciunt. Enim aut qui porro quas doloribus. Quisquam quaerat porro. Tempora omnis iure eveniet itaque."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54b9547c7735337c83ac0000", "id"=>"54b9547c7735337c83ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83ae0000'), "name"=>"Maiya Schuppe", "reference"=>"Lilian Sauer", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83af0000'), "author_name"=>"Corene Frami", "content"=>["Consequuntur ducimus sint. Aliquid pariatur rem excepturi. Expedita ut eveniet repellat ducimus dolores. Culpa sed qui necessitatibus et repudiandae consequatur in. Tempora in suscipit iusto."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54b9547c7735337c83ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b00000'), "name"=>"Sidney Cronin MD", "reference"=>"Jamal Murazik V", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83b10000'), "author_name"=>"Sofia Wilkinson", "content"=>["Soluta fugit modi qui voluptatum qui dolorem. Consequatur eum tempore earum qui quas nostrum harum. Id esse et ut ab quisquam. Commodi cumque in maiores et eos et. Iste ullam itaque quia facere praesentium et ea."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54b9547c7735337c83b00000", "id"=>"54b9547c7735337c83b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4666ms Completed 200 OK in 6ms (Views: 3.1ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b20000'), "name"=>"Nestor Hammes", "reference"=>"Dashawn Jakubowski", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b9547c7735337c83b30000'), "author_name"=>"Shakira Cole II", "content"=>["Repudiandae doloremque quae molestias sapiente. Nostrum deleniti et eligendi qui libero nihil nisi. Quis molestias repudiandae id praesentium."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6076ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9547c7735337c83b30000", "product_id"=>"54b9547c7735337c83b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83b20000'), "comments._id"=>BSON::ObjectId('54b9547c7735337c83b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7061ms Redirected to http://test.host/products/54b9547c7735337c83b20000/comments/54b9547c7735337c83b30000 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('54b9547c7735337c83b40000'), "firstname"=>"Emmitt", "lastname"=>"Barrows"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6166ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3012ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms Redirected to http://test.host/admin/clients/54b9547c7735337c83b50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3259ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b60000'), "firstname"=>"Jaeden", "lastname"=>"Wilderman"}] 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=>"clients", :query=>{}} runtime: 0.2929ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54b9547c7735337c83b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83b60000')} 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('54b9547c7735337c83b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms 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.2993ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b70000'), "firstname"=>"Eli", "lastname"=>"Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b9547c7735337c83b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms) 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('54b9547c7735337c83b80000'), "firstname"=>"Nikki", "lastname"=>"Hessel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms Processing by Iord::GenericController#index as HTML Completed 500 Internal Server Error in 73ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83b90000'), "firstname"=>"Johathan", "lastname"=>"Wisoky"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5858ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms) 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('54b9547c7735337c83ba0000'), "firstname"=>"Cecelia", "lastname"=>"Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5902ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b9547c7735337c83ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms 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('54b9547c7735337c83bb0000'), "firstname"=>"Francesca", "lastname"=>"Cartwright"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5561ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9547c7735337c83bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3795ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms Redirected to http://test.host/admin/clients/54b9547c7735337c83bb0000 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('54b9547c7735337c83bc0000'), "firstname"=>"Johnnie", "lastname"=>"Ruecker"}] 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=>"clients", :query=>{}} runtime: 0.3138ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms Redirected to http://test.host/clients/54b9547c7735337c83bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2600ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83be0000'), "firstname"=>"Shannon", "lastname"=>"Kohler"}] 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=>"clients", :query=>{}} runtime: 0.2789ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54b9547c7735337c83be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83be0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms 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.3058ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83bf0000'), "firstname"=>"Marvin", "lastname"=>"Windler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b9547c7735337c83bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms Rendered /home/geoffroy/projects/crealettres/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('54b9547c7735337c83c00000'), "firstname"=>"Belle", "lastname"=>"Lesch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5241ms Processing by Iord::GenericController#index as HTML Completed 500 Internal Server Error in 45ms ------------------------------------------------ Iord::GenericControllerTest: test_should_get_new ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83c10000'), "firstname"=>"Madaline", "lastname"=>"Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6212ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9547c7735337c83c20000'), "firstname"=>"Merle", "lastname"=>"Kovacek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b9547c7735337c83c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3812ms 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('54b9547c7735337c83c30000'), "firstname"=>"Quinton", "lastname"=>"Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9547c7735337c83c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms Redirected to http://test.host/clients/54b9547c7735337c83c30000 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('54b9547c7735337c83c40000'), "name"=>"Miss Lincoln Ryan", "reference"=>"Leif Marks", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83c50000'), "firstname"=>"Zena", "lastname"=>"Keebler"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9547c7735337c83c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c40000')} 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('54b9547c7735337c83c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms Redirected to http://test.host/products/54b9547c7735337c83c40000/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('54b9547c7735337c83c70000'), "name"=>"Eloy Kunze", "reference"=>"Aliyah Goldner I", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83c80000'), "firstname"=>"Dereck", "lastname"=>"Glover"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54b9547c7735337c83c80000", "product_id"=>"54b9547c7735337c83c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83c90000'), "name"=>"Brendon Dickens", "reference"=>"Max Nitzsche", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83ca0000'), "firstname"=>"Darryl", "lastname"=>"Mitchell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54b9547c7735337c83c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83cb0000'), "name"=>"Marlon Hessel", "reference"=>"Eva Ankunding", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83cc0000'), "firstname"=>"Chadrick", "lastname"=>"Steuber"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54b9547c7735337c83cc0000", "product_id"=>"54b9547c7735337c83cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83cd0000'), "name"=>"Abdullah Rolfson", "reference"=>"Paige Mante", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b9547c7735337c83ce0000'), "firstname"=>"Golda", "lastname"=>"Carter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54b9547c7735337c83ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9547c7735337c83cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms Unpermitted parameters: name Redirected to http://test.host/products/54b9547c7735337c83cd0000/manager Completed 302 Found in 2ms ------------------------------------------ ProductsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83cf0000'), "name"=>"Alphonso Wolff", "reference"=>"Elliott Erdman", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d00000'), "name"=>"Osvaldo Fritsch", "reference"=>"Mr. Sarah Haag", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d10000'), "name"=>"Mr. Michael Eichmann", "reference"=>"Kristopher Bogan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d20000'), "name"=>"Vivian Kilback", "reference"=>"Miss Cicero Schowalter", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d30000'), "name"=>"Tyler Hamill", "reference"=>"Mr. Ansley Gutkowski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d40000'), "name"=>"Helga Ziemann", "reference"=>"Perry Stark", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2139ms 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", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms Redirected to http://test.host/products/54b9547c7735337c83d50000 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_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d60000'), "name"=>"Dr. Cary Nienow", "reference"=>"Bart Shanahan", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1876ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54b9547c7735337c83d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83d60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms 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('54b9547c7735337c83d70000'), "name"=>"Taryn Kub IV", "reference"=>"Jarrod Conn", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54b9547c7735337c83d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('54b9547c7735337c83d80000'), "name"=>"Ms. Bruce Green", "reference"=>"Reid Pfeffer", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 47ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83d90000'), "name"=>"Johanna Tillman", "reference"=>"Ms. Mellie Schaden", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5554ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83da0000'), "name"=>"HelloWorld", "reference"=>"Reta Gleason", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83db0000'), "name"=>"value", "reference"=>"Dr. Rosalind Conroy", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} Completed 500 Internal Server Error in 72ms ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83dc0000'), "name"=>"Adelle Schumm", "reference"=>"Janick Rodriguez", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} Completed 500 Internal Server Error in 45ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83dd0000'), "name"=>"Myrtle Anderson", "reference"=>"Winona Rolfson", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2615ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83de0000'), "name"=>"Darrick Daniel", "reference"=>"Kyle Powlowski", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5572ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378519417441] runtime: 0.0741ms 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('54b9547c7735337c83df0000'), "name"=>"Dalton Hegmann", "reference"=>"Modesta Stehr", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54b9547c7735337c83df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms 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('54b9547c7735337c83e00000'), "name"=>"Dallas Hansen V", "reference"=>"Arlie Abernathy", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54b9547c7735337c83e20000'), "name"=>"Phyllis Halvorson", "reference"=>"Immanuel Runolfsdottir", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54b9547c7735337c83e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Completed 200 OK in 4ms (Views: 2.4ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83e30000'), "name"=>"Kacey Crona", "reference"=>"Mr. Stefanie Rice", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54b9547b7735337c83060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2793ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83e40000'), "name"=>"Tod Turcotte", "reference"=>"Kennedy Johns", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2622ms Completed 200 OK in 4ms (Views: 2.7ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83e50000'), "name"=>"Zora Dach V", "reference"=>"Hollis Lakin", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2976ms Completed 200 OK in 4ms (Views: 2.7ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83e60000'), "name"=>"Clyde Pagac", "reference"=>"Alvis Orn", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1863ms 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('54b9547c7735337c83e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1982ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547c7735337c83e80000'), "name"=>"Hosea Armstrong", "reference"=>"Mr. Theo Farrell", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54b9547c7735337c83e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547c7735337c83e80000')} 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('54b9547c7735337c83e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4596ms Completed 200 OK in 7ms (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('54b9547d7735337c83e90000'), "name"=>"Marco Turner", "reference"=>"Candida Huels Sr.", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms 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('54b9547d7735337c83eb0000'), "name"=>"Rebekah Friesen", "reference"=>"Beverly Schoen", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9547d7735337c83eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms 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('54b9547d7735337c83ec0000'), "name"=>"Mr. Mellie McCullough", "reference"=>"Gabe Hills", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9547d7735337c83ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms Redirected to http://test.host/products/54b9547d7735337c83ec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83ef0000'), "name"=>"Johnson Zieme DDS", "reference"=>"Haleigh Rodriguez", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83ed0000'), "author_name"=>"Dr. Olen Simonis", "content"=>["Velit aperiam aut quia. Error ratione quaerat ducimus facilis. Ab quos et."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83ee0000'), "author_name"=>"Dagmar Hoeger DDS", "content"=>["Sapiente nemo expedita. Natus est ea. Ut consequatur quas eius."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9547d7735337c83ef0000", "comment_id"=>"54b9547d7735337c83ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ef0000'), "comments._id"=>BSON::ObjectId('54b9547d7735337c83ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9547d7735337c83f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms Redirected to http://test.host/products/54b9547d7735337c83ef0000/comments/54b9547d7735337c83ed0000/comments/54b9547d7735337c83f00000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83f30000'), "name"=>"Ms. Paul Daugherty", "reference"=>"Mrs. Etha Hoppe", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f10000'), "author_name"=>"Gayle Kunde", "content"=>["Quasi soluta ea tempore et quaerat ducimus. Sequi inventore voluptatum recusandae voluptatem. Fugit et voluptatum repellat. Aut optio asperiores rerum dolorem. Sed quia qui."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f20000'), "author_name"=>"Mrs. Hazel Cummerata", "content"=>["Maiores sit provident doloribus. Dignissimos est est nihil reiciendis expedita et. Est corrupti quibusdam est consequatur. Quia quia non molestiae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54b9547d7735337c83f30000", "comment_id"=>"54b9547d7735337c83f10000", "id"=>"54b9547d7735337c83f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f30000'), "comments._id"=>BSON::ObjectId('54b9547d7735337c83f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9547d7735337c83f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms Redirected to http://test.host/products/54b9547d7735337c83f30000/comments/54b9547d7735337c83f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83f60000'), "name"=>"Coty Schumm", "reference"=>"Jammie Dickinson", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f40000'), "author_name"=>"Christine Blick", "content"=>["Quia odio est doloremque. Et tempore aut ipsa. Iure excepturi rerum eaque. Culpa sit delectus voluptatem quam aut illo eligendi."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f50000'), "author_name"=>"Cornelius Stiedemann V", "content"=>["Natus iure numquam qui a architecto omnis saepe. Vel vero voluptatem rerum reiciendis deserunt eveniet. Et ut est."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54b9547d7735337c83f60000", "comment_id"=>"54b9547d7735337c83f40000", "id"=>"54b9547d7735337c83f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83f90000'), "name"=>"Fanny Leffler", "reference"=>"Creola Ritchie", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f70000'), "author_name"=>"Jaqueline Bahringer", "content"=>["Quod minus esse at hic nisi quo. Rem ut et repudiandae esse pariatur nostrum. Ab dolores facilis accusamus qui rem quam sint. Excepturi non accusantium repudiandae omnis. Cum sapiente dolores ut id labore consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83f80000'), "author_name"=>"Wilton Mann", "content"=>["At ab quidem architecto eligendi voluptatem ratione. Ut repellendus ratione. Optio veniam beatae. Ab consequuntur voluptatem qui quod. Illo nemo odio id illum laborum corrupti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54b9547d7735337c83f90000", "comment_id"=>"54b9547d7735337c83f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms Completed 500 Internal Server Error in 50ms ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83fc0000'), "name"=>"Ross Hilpert", "reference"=>"Angela Howe I", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83fa0000'), "author_name"=>"Arnold Wisoky", "content"=>["Est ut deleniti itaque quia sint. Exercitationem ea in vel vel. Voluptas ex quas saepe consectetur."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83fb0000'), "author_name"=>"Rene Aufderhar", "content"=>["Non fuga natus. Odio in dolorem molestiae minus id. Sit quaerat et fuga ratione."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5784ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54b9547d7735337c83fc0000", "comment_id"=>"54b9547d7735337c83fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83ff0000'), "name"=>"Hanna Batz", "reference"=>"Miss Lawrence Christiansen", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83fd0000'), "author_name"=>"Brent Wisozk PhD", "content"=>["Et et tenetur quia ea dolores. Atque omnis laboriosam et quis. Ut autem amet ea. Quidem consequuntur velit voluptatem repudiandae incidunt tempore. Porro dignissimos animi sint qui."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83fe0000'), "author_name"=>"Hester Borer", "content"=>["Porro labore ea qui quidem. Libero necessitatibus eaque vel harum aperiam esse. Explicabo voluptatem ipsum quia est excepturi quia. Et laborum sapiente expedita voluptatem."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54b9547d7735337c83ff0000", "comment_id"=>"54b9547d7735337c83fd0000", "id"=>"54b9547d7735337c83fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83020100'), "name"=>"Gina Mills", "reference"=>"Berry Konopelski Sr.", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83000100'), "author_name"=>"Miss Faustino Waelchi", "content"=>["Consequatur esse sint nam. Ducimus sed cum reprehenderit et architecto. Vel sed doloribus."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83010100'), "author_name"=>"Monique Bradtke", "content"=>["Qui ab aut qui tempora sunt. Praesentium quae nisi error quis. Facere est voluptas. Aliquid ipsam quo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54b9547d7735337c83020100", "comment_id"=>"54b9547d7735337c83000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 6ms (Views: 3.7ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83050100'), "name"=>"Amos Christiansen I", "reference"=>"Stephon Braun", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83030100'), "author_name"=>"Milford Crona", "content"=>["Alias distinctio et nemo cum quae impedit voluptatum. Qui sequi ut non. Ut voluptatibus quod ipsum est."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83040100'), "author_name"=>"Dr. Elda Romaguera", "content"=>["Dolores quisquam ipsum. Accusamus quod ducimus placeat consequatur amet perferendis dolorem. Perspiciatis distinctio quia tempora debitis. Nisi aut est id."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54b9547d7735337c83050100", "comment_id"=>"54b9547d7735337c83030100", "id"=>"54b9547d7735337c83040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms Completed 200 OK in 5ms (Views: 2.6ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83080100'), "name"=>"Jena DuBuque", "reference"=>"Vance Littel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83060100'), "author_name"=>"Winfield Lindgren", "content"=>["Aut labore perspiciatis ut maiores. Quia nulla laborum non aut reprehenderit quis. Reiciendis aperiam possimus. Mollitia sint debitis et modi. Non vitae vel."], "comments"=>[{"_id"=>BSON::ObjectId('54b9547d7735337c83070100'), "author_name"=>"Schuyler Parker I", "content"=>["Sed et fuga vel. Inventore voluptatem enim voluptatem et alias. Magni fuga quam nisi et commodi."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9547d7735337c83070100", "product_id"=>"54b9547d7735337c83080100", "comment_id"=>"54b9547d7735337c83060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9547d7735337c83080100'), "comments._id"=>BSON::ObjectId('54b9547d7735337c83060100'), "comments.0.comments._id"=>BSON::ObjectId('54b9547d7735337c83070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms Redirected to http://test.host/products/54b9547d7735337c83080100/comments/54b9547d7735337c83060100/comments/54b9547d7735337c83070100 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('54b9547d7735337c83090100'), "firstname"=>"Baron", "lastname"=>"Schaden"}] 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.1912ms 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('54b9547d7735337c830a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms Redirected to http://test.host/users/54b9547d7735337c830a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2436ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c830b0100'), "firstname"=>"Niko", "lastname"=>"Kohler"}] 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.1824ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54b9547d7735337c830b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547d7735337c830b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547d7735337c830b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms 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.1944ms ----------------------------------------- UsersControllerTest: test_should_get_edit ----------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c830c0100'), "firstname"=>"Rafael", "lastname"=>"Gaylord"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54b9547d7735337c830c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547d7735337c830c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c830d0100'), "firstname"=>"Jessie", "lastname"=>"Kuphal"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms Processing by UsersController#index as HTML Completed 500 Internal Server Error in 49ms ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c830e0100'), "firstname"=>"Marcia", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9547d7735337c830f0100'), "firstname"=>"Justen", "lastname"=>"Beahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms Processing by UsersController#show as HTML Parameters: {"id"=>"54b9547d7735337c830f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547d7735337c830f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms Completed 200 OK in 33ms (Views: 31.8ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9547d7735337c83100100'), "firstname"=>"Colten", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9547d7735337c83100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9547d7735337c83100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Unpermitted parameters: name Redirected to http://test.host/users/54b9547d7735337c83100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6515ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms 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.2458ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms 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.2065ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms 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.1993ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22000000'), "firstname"=>"Terrell", "lastname"=>"Zemlak"}] 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=>"administrators", :query=>{}} runtime: 0.1837ms 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('54b9549b7735337d22010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms 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.2139ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22020000'), "firstname"=>"Jaclyn", "lastname"=>"Treutel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54b9549b7735337d22020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549b7735337d22020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms) Completed 200 OK in 18ms (Views: 16.7ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22030000'), "firstname"=>"Tatyana", "lastname"=>"Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22040000'), "firstname"=>"Florida", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54b9549b7735337d22040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549b7735337d22040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22050000'), "firstname"=>"Stanton", "lastname"=>"Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54b9549b7735337d22050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549b7735337d22050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms 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('54b9549b7735337d22060000'), "name"=>"Reymundo Dietrich", "reference"=>"Peyton Hilll", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d22070000'), "author_name"=>"Miss Charlene Dibbert", "content"=>["Sed est et in ducimus. Est error est iure omnis sint. Perferendis asperiores quo accusantium vel eos laudantium libero."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9549b7735337d22060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22060000')} 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('54b9549b7735337d22060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9549b7735337d22080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms Redirected to http://test.host/admin/products/54b9549b7735337d22060000/comments/54b9549b7735337d22080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms -------------------------------------------------- Admin::CommentsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22090000'), "name"=>"Mia Balistreri", "reference"=>"Orion Padberg", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d220a0000'), "author_name"=>"Bailey Friesen", "content"=>["Nisi rerum dignissimos necessitatibus. Sit exercitationem qui porro sit sunt. Unde sint voluptate sed ab voluptas tenetur. Magnam maxime aperiam hic eum nihil vitae ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54b9549b7735337d22090000", "id"=>"54b9549b7735337d220a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9549b7735337d220a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms Redirected to http://test.host/admin/products/54b9549b7735337d22090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1579ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d220b0000'), "name"=>"Amelia Cummings", "reference"=>"Mrs. Elenor Cremin", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d220c0000'), "author_name"=>"Ms. Monica Littel", "content"=>["Libero ut ut. Iure consequatur est voluptatibus at et dolorum. Doloribus illo dolores nihil itaque nihil culpa ipsum. Voluptatem quidem vitae ab et sit et. Sunt maxime quis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54b9549b7735337d220b0000", "id"=>"54b9549b7735337d220c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d220b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.4ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d220d0000'), "name"=>"Lourdes Mosciski", "reference"=>"Darrion Towne", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d220e0000'), "author_name"=>"Dr. Zackery Carroll", "content"=>["Ea aliquam voluptas reiciendis qui numquam ad. Commodi odio numquam. Distinctio ea et voluptatem vitae quas ut."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54b9549b7735337d220d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d220d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d220f0000'), "name"=>"Rogers Mills", "reference"=>"Hope Wisoky III", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d22100000'), "author_name"=>"Petra Morissette", "content"=>["Esse voluptatem facilis accusantium. Voluptates quas quis occaecati mollitia. Occaecati pariatur illo consequatur voluptatem eaque et ut. Qui nobis accusamus ex libero voluptatem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54b9549b7735337d220f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d220f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22110000'), "name"=>"Shaylee Dickens", "reference"=>"Marilyne Medhurst", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d22120000'), "author_name"=>"Mrs. Barrett Ledner", "content"=>["Ullam quas praesentium. Laudantium dolorem quaerat voluptas dolore enim molestiae. Cumque suscipit explicabo sed deleniti aspernatur aperiam neque. Excepturi sint non qui consequuntur iure. Quaerat qui nisi doloribus quibusdam voluptatem quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54b9549b7735337d22110000", "id"=>"54b9549b7735337d22120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22130000'), "name"=>"Aditya O'Hara", "reference"=>"Bruce Nienow", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9549b7735337d22140000'), "author_name"=>"Dr. Lamar Lehner", "content"=>["Iusto quam est quos et voluptas sint. Voluptas soluta ut est consectetur libero qui vel. Dolores ipsam nihil modi perspiciatis autem aut sapiente. Est illo aperiam qui amet. Laboriosam illo qui nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9549b7735337d22140000", "product_id"=>"54b9549b7735337d22130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22130000'), "comments._id"=>BSON::ObjectId('54b9549b7735337d22140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms Redirected to http://test.host/admin/products/54b9549b7735337d22130000/comments/54b9549b7735337d22140000 Completed 302 Found in 3ms ------------------------------------------------- Admin::ManagersControllerTest: test_should_create ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22150000'), "name"=>"Flavio Kuvalis II", "reference"=>"Myrna Bahringer", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d22160000'), "firstname"=>"Kevin", "lastname"=>"Schimmel"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9549b7735337d22150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d22170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1835ms Redirected to http://test.host/admin/products/54b9549b7735337d22150000/manager Completed 302 Found in 4ms --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22180000'), "name"=>"Ms. Jared Anderson", "reference"=>"Orland Kassulke", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d22190000'), "firstname"=>"Letha", "lastname"=>"Kautzer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54b9549b7735337d22190000", "product_id"=>"54b9549b7735337d22180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms) Completed 200 OK in 37ms (Views: 35.4ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d221a0000'), "name"=>"Gus Ziemann I", "reference"=>"Nestor Bartoletti", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d221b0000'), "firstname"=>"Jackson", "lastname"=>"Bruen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54b9549b7735337d221a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d221a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.7ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d221c0000'), "name"=>"Kavon Hirthe", "reference"=>"Davion Rau", "quantity"=>2, "manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d221d0000'), "firstname"=>"Deron", "lastname"=>"O'Keefe"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54b9549b7735337d221d0000", "product_id"=>"54b9549b7735337d221c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d221c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d221e0000'), "name"=>"Lilian Lemke", "reference"=>"River Conroy", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54b9549b7735337d221f0000'), "firstname"=>"Keagan", "lastname"=>"Labadie"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54b9549b7735337d221f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9549b7735337d221e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d221e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54b9549b7735337d221e0000/manager 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('54b9549b7735337d22200000'), "name"=>"Toni Gleason", "reference"=>"Eloisa Kuhlman", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1819ms 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('54b9549b7735337d22210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms Redirected to http://test.host/admin/products/54b9549b7735337d22210000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2178ms -------------------------------------------------- Admin::ProductsControllerTest: test_should_destroy -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22220000'), "name"=>"Corbin Hills Jr.", "reference"=>"Dr. Tyrel Stamm", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1962ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54b9549b7735337d22220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms 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.1996ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22230000'), "name"=>"Edythe Hoppe", "reference"=>"Ms. Wilber Simonis", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54b9549b7735337d22230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22240000'), "name"=>"Sierra Lang", "reference"=>"Maribel Klocko", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms 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.5653ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22250000'), "name"=>"Morton Stiedemann", "reference"=>"Concepcion Fay", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) Completed 200 OK in 20ms (Views: 4.7ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549b7735337d22280000'), "name"=>"Josh Reynolds", "reference"=>"Kelley Herzog", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54b9549b7735337d22280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms 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('54b9549b7735337d22290000'), "name"=>"Sadie Schulist DVM", "reference"=>"Ali Kuhic", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9549b7735337d22290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms Redirected to http://test.host/admin/products/54b9549b7735337d22290000 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('54b9549c7735337d222a0000'), "firstname"=>"Prince", "lastname"=>"Koepp"}] 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=>"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('54b9549c7735337d222b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Redirected to http://test.host/admin/users/54b9549c7735337d222b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2801ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d222c0000'), "firstname"=>"Fatima", "lastname"=>"Ebert"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1842ms Processing by Admin::UsersController#destroy as HTML Parameters: {"id"=>"54b9549c7735337d222c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549c7735337d222c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549c7735337d222c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms 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.3108ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d222d0000'), "firstname"=>"Jett", "lastname"=>"Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54b9549c7735337d222d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549c7735337d222d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.5ms) Completed 200 OK in 40ms (Views: 38.1ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d222e0000'), "firstname"=>"Domenico", "lastname"=>"Labadie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5250ms 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.4444ms 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('54b9549c7735337d222f0000'), "firstname"=>"Penelope", "lastname"=>"Purdy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54b9549c7735337d22300000'), "firstname"=>"Kellen", "lastname"=>"Satterfield"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7455ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54b9549c7735337d22300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549c7735337d22300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms 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('54b9549c7735337d22310000'), "firstname"=>"Margarette", "lastname"=>"Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9549c7735337d22310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549c7735337d22310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54b9549c7735337d22310000 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('54b9549c7735337d22320000'), "firstname"=>"Aditya", "lastname"=>"Bergnaum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5948ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2109ms 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('54b9549c7735337d22330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms 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.2321ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22340000'), "firstname"=>"Elissa", "lastname"=>"Becker"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54b9549c7735337d22340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549c7735337d22340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3704ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.1ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22350000'), "firstname"=>"Candelario", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms) -------------------------------------------------- AdministratorsControllerTest: test_should_get_show -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22360000'), "firstname"=>"Dominic", "lastname"=>"Blanda"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54b9549c7735337d22360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549c7735337d22360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22370000'), "firstname"=>"Eino", "lastname"=>"Botsford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54b9549c7735337d22370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9549c7735337d22370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 2ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22380000'), "name"=>"Ambrose Macejkovic DDS"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5736ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22390000'), "name"=>"Omari Pacocha"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223a0000'), "name"=>"Carleton Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223b0000'), "name"=>"Sigmund O'Reilly"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223c0000'), "name"=>"Dr. Kian Dare"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223d0000'), "name"=>"Mr. Reta Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223e0000'), "name"=>"Karen Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d223f0000'), "name"=>"Deangelo Hodkiewicz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d223f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22400000'), "name"=>"Esteban Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22410000'), "name"=>"Stewart Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22420000'), "name"=>"Ms. Francesca Roberts"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22430000'), "name"=>"Lelah Moen Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22440000'), "name"=>"Alvah Hane V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22450000'), "name"=>"Chance Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22460000'), "name"=>"Kayden Pagac"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22470000'), "name"=>"Jessy Adams"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22480000'), "name"=>"Penelope Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22490000'), "name"=>"Melody Greenholt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224a0000'), "name"=>"Muhammad Weimann Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224b0000'), "name"=>"Eileen Smitham I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224c0000'), "name"=>"Mr. Malika Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224d0000'), "name"=>"Lauren Toy"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224e0000'), "name"=>"Celestino Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d224f0000'), "name"=>"Casimir Hilll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d224f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22500000'), "name"=>"Dorthy Sipes"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22510000'), "name"=>"Dayne Volkman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1551ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22520000'), "name"=>"Thalia Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22530000'), "name"=>"Cathrine Auer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22540000'), "name"=>"Maybelle Waelchi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22550000'), "name"=>"Chyna Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22560000'), "name"=>"Katherine Wiegand"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22570000'), "name"=>"Miss Eldora Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22580000'), "name"=>"Seamus Rippin Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22590000'), "name"=>"Chasity Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225a0000'), "name"=>"Adaline Carter"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225b0000'), "name"=>"Lane Heller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225c0000'), "name"=>"Jamil Rau"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225d0000'), "name"=>"Ebony Eichmann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225e0000'), "name"=>"Alfredo Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d225f0000'), "name"=>"Violette Conn DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7611ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d225f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22600000'), "name"=>"Dr. Einar Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1446ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22610000'), "name"=>"Myrtie Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22620000'), "name"=>"Priscilla Mann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22630000'), "name"=>"Ross Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22640000'), "name"=>"Mr. Patsy Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22650000'), "name"=>"Mr. Arnaldo Emard"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22660000'), "name"=>"General Koss"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22670000'), "name"=>"Benjamin Adams Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22680000'), "name"=>"Ms. Caroline Kunde"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.9190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22690000'), "name"=>"Dovie Boehm"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226a0000'), "name"=>"Hadley Roob"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226b0000'), "name"=>"Harry Wolff Sr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1886ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226c0000'), "name"=>"Kenny Lynch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226d0000'), "name"=>"Jarvis Larkin DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226e0000'), "name"=>"Afton Greenfelder Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d226f0000'), "name"=>"Giovani Keeling"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d226f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22700000'), "name"=>"Sammie Wilderman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22710000'), "name"=>"Brenda Kunze"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22720000'), "name"=>"Mae Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22730000'), "name"=>"Ms. Lavina Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22740000'), "name"=>"Janiya Ondricka V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22750000'), "name"=>"Jabari Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22760000'), "name"=>"Mandy Pouros DVM"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22770000'), "name"=>"Albert Hessel V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22780000'), "name"=>"Gabe Grady"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22790000'), "name"=>"Ada Cremin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227a0000'), "name"=>"Jessica Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227b0000'), "name"=>"Francisco Skiles"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227c0000'), "name"=>"Zoe Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227d0000'), "name"=>"Mr. Allison Steuber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227e0000'), "name"=>"Kaia Morar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1918ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d227f0000'), "name"=>"Mafalda Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d227f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22800000'), "name"=>"Blanche Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1921ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22810000'), "name"=>"Verda Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22820000'), "name"=>"Faustino Bednar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22830000'), "name"=>"Antonette Heaney"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22840000'), "name"=>"Agnes Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22850000'), "name"=>"Lucy Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22860000'), "name"=>"Mrs. Vergie Nikolaus"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22870000'), "name"=>"Francesca Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22880000'), "name"=>"Mrs. Ebba Brown"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22890000'), "name"=>"Lambert Gleason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228a0000'), "name"=>"Newton Cummerata"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228b0000'), "name"=>"Miss Martina McClure"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228c0000'), "name"=>"Ms. Thaddeus Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228d0000'), "name"=>"Brandi Schmitt PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228e0000'), "name"=>"Albert Reinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d228f0000'), "name"=>"Carmel Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d228f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22900000'), "name"=>"Danny Powlowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22910000'), "name"=>"Vada Rodriguez"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22920000'), "name"=>"Evert Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22930000'), "name"=>"Murl Ernser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22940000'), "name"=>"Eliane Spinka"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22950000'), "name"=>"Neil Thiel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22960000'), "name"=>"Alaina Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22970000'), "name"=>"Gerda Cole MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2117ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms Redirected to http://test.host/categories/54b9549c7735337d22980000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2498ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22990000'), "name"=>"Mr. Breanne Halvorson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2118ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54b9549c7735337d22990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d22990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d22990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2540ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d229a0000'), "name"=>"Angeline Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54b9549c7735337d229a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d229a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.2ms) Completed 200 OK in 11ms (Views: 9.9ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d229b0000'), "name"=>"Randy Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5128ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[405058062149] runtime: 0.0996ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2948ms Completed 200 OK in 17ms (Views: 16.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d229c0000'), "name"=>"Rosalyn Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3904ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[405734278711] runtime: 0.0846ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2989ms Completed 200 OK in 9ms (Views: 8.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d229d0000'), "name"=>"Viviane D'Amore"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.6ms) Completed 200 OK in 7ms (Views: 6.6ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d229f0000'), "name"=>"Mossie Gibson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54b9549c7735337d229f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d229f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d229f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22a00000'), "name"=>"Miss Kaylin Bayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54b9549c7735337d22a00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9549c7735337d22a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1905ms Redirected to http://test.host/categories/54b9549c7735337d22a00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22a10000'), "name"=>"Cristobal Cruickshank II", "reference"=>"Orlando Koss", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22a20000'), "author_name"=>"Dr. Vivienne Gulgowski", "content"=>["Et minus qui consequatur quo ut. Dolor qui repudiandae at rerum corporis consequuntur. In qui quaerat dolorem in."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6067ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9549c7735337d22a10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22a30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms Redirected to http://test.host/products/54b9549c7735337d22a10000/comments/54b9549c7735337d22a30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22a40000'), "name"=>"Kaitlin Towne", "reference"=>"Mr. Marlin Durgan", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22a50000'), "author_name"=>"Vaughn Bednar", "content"=>["Voluptatibus voluptatem nisi. Enim quisquam deleniti corrupti voluptatem maxime. Consequatur porro ratione. Optio nemo dolor possimus et placeat aut. Illum nesciunt assumenda commodi ut reprehenderit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54b9549c7735337d22a40000", "id"=>"54b9549c7735337d22a50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a40000')} 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('54b9549c7735337d22a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22a50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms Redirected to http://test.host/products/54b9549c7735337d22a40000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22a60000'), "name"=>"Danielle O'Connell III", "reference"=>"Ward Macejkovic", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22a70000'), "author_name"=>"Elinore O'Reilly", "content"=>["Laudantium possimus excepturi. Aut ratione quisquam dolores minus deserunt laudantium dolor. Deleniti laboriosam ab sed voluptatem inventore rerum. Dolor sunt necessitatibus deserunt libero ut laborum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54b9549c7735337d22a60000", "id"=>"54b9549c7735337d22a70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.4ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22a80000'), "name"=>"Samir Mills", "reference"=>"Marguerite Zieme", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22a90000'), "author_name"=>"Evangeline Christiansen", "content"=>["Accusamus minima placeat. Ut facilis assumenda voluptatum non aspernatur. Officia quod eum mollitia ut tempore aut perspiciatis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54b9549c7735337d22a80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22aa0000'), "name"=>"Mr. Effie Erdman", "reference"=>"Zoe Herman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22ab0000'), "author_name"=>"Gregorio Hudson", "content"=>["At facere rem omnis et dolores quasi id. Animi itaque eum repellat incidunt odit. Et officia et vel."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54b9549c7735337d22aa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms Completed 200 OK in 2ms (Views: 0.1ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22ac0000'), "name"=>"Hadley Herman", "reference"=>"Cortney Kling", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22ad0000'), "author_name"=>"Trevor Kuhic II", "content"=>["Quia cumque sunt. Quidem odio sit. Dicta in possimus nam eum."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54b9549c7735337d22ac0000", "id"=>"54b9549c7735337d22ad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms Completed 200 OK in 2ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22ae0000'), "name"=>"Dr. Rex Schroeder", "reference"=>"Bernadette Langworth", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22af0000'), "author_name"=>"Dr. Marvin Zulauf", "content"=>["Assumenda occaecati dolore commodi est aperiam libero molestiae. Est velit laudantium fugiat veritatis. Ratione necessitatibus quisquam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54b9549c7735337d22ae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22b00000'), "name"=>"Mariana Moen III", "reference"=>"Camren Hartmann", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22b10000'), "author_name"=>"Alisa Kuphal", "content"=>["Quos est dolorem dolores. Quidem dolorem ut perspiciatis velit. Sunt blanditiis accusantium tempore sed qui est mollitia. Eveniet harum natus. Et in laborum dolores incidunt perspiciatis molestias."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54b9549c7735337d22b00000", "id"=>"54b9549c7735337d22b10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms Completed 200 OK in 5ms (Views: 2.6ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22b20000'), "name"=>"Karianne Wuckert", "reference"=>"Ford Christiansen II", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9549c7735337d22b30000'), "author_name"=>"Zula Weimann", "content"=>["Et voluptatem eum facilis. Ipsam a sed qui et quidem vero recusandae. Aut expedita est et neque. Tempora et et repellat. Sit laborum veniam officia est quo."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2638ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9549c7735337d22b30000", "product_id"=>"54b9549c7735337d22b20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22b20000'), "comments._id"=>BSON::ObjectId('54b9549c7735337d22b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms Redirected to http://test.host/products/54b9549c7735337d22b20000/comments/54b9549c7735337d22b30000 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('54b9549c7735337d22b40000'), "firstname"=>"Cloyd", "lastname"=>"Stamm"}] 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.1731ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22b50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms Redirected to http://test.host/admin/clients/54b9549c7735337d22b50000 Completed 302 Found in 2ms 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('54b9549c7735337d22b60000'), "firstname"=>"Polly", "lastname"=>"Leuschke"}] 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=>"clients", :query=>{}} runtime: 0.1629ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54b9549c7735337d22b60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22b60000')} 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('54b9549c7735337d22b60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms 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.1798ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22b70000'), "firstname"=>"Maximilian", "lastname"=>"Bailey"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b9549c7735337d22b70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) 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('54b9549c7735337d22b80000'), "firstname"=>"Megane", "lastname"=>"MacGyver"}] 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.3629ms 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('54b9549c7735337d22b90000'), "firstname"=>"Ozella", "lastname"=>"Hauck"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9549c7735337d22ba0000'), "firstname"=>"Loyce", "lastname"=>"Daugherty"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b9549c7735337d22ba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms 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('54b9549c7735337d22bb0000'), "firstname"=>"Rosemary", "lastname"=>"Heidenreich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9549c7735337d22bb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3338ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms Redirected to http://test.host/admin/clients/54b9549c7735337d22bb0000 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('54b9549c7735337d22bc0000'), "firstname"=>"Evan", "lastname"=>"Kutch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2003ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22bd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms Redirected to http://test.host/clients/54b9549c7735337d22bd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2191ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22be0000'), "firstname"=>"Xavier", "lastname"=>"Wilderman"}] 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.1610ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54b9549c7735337d22be0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22be0000')} 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 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2064ms ------------------------------------------------- Iord::GenericControllerTest: test_should_get_edit ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22bf0000'), "firstname"=>"Yvette", "lastname"=>"McDermott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b9549c7735337d22bf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms Rendered /home/geoffroy/projects/crealettres/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('54b9549c7735337d22c00000'), "firstname"=>"Ella", "lastname"=>"Haag"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4484ms 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('54b9549c7735337d22c10000'), "firstname"=>"Lewis", "lastname"=>"Goldner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9549c7735337d22c20000'), "firstname"=>"Casandra", "lastname"=>"Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5100ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b9549c7735337d22c20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms 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('54b9549c7735337d22c30000'), "firstname"=>"Stefanie", "lastname"=>"Mohr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9549c7735337d22c30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Redirected to http://test.host/clients/54b9549c7735337d22c30000 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('54b9549c7735337d22c40000'), "name"=>"Antonio Wolff", "reference"=>"Nathanial Davis", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22c50000'), "firstname"=>"Edna", "lastname"=>"Mante"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5377ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9549c7735337d22c40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3799ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c40000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22c60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms Redirected to http://test.host/products/54b9549c7735337d22c40000/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('54b9549c7735337d22c70000'), "name"=>"Kayleigh Orn Jr.", "reference"=>"Andy Fisher", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22c80000'), "firstname"=>"Alessandro", "lastname"=>"Gutkowski"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54b9549c7735337d22c80000", "product_id"=>"54b9549c7735337d22c70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.3ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22c90000'), "name"=>"Ms. Gerard Hagenes", "reference"=>"Trisha Hahn", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22ca0000'), "firstname"=>"Marcelle", "lastname"=>"Schaefer"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8913ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54b9549c7735337d22c90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.7ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22cb0000'), "name"=>"Eryn Schinner DDS", "reference"=>"Mr. Audra Beatty", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22cc0000'), "firstname"=>"Fritz", "lastname"=>"Stehr"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5413ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54b9549c7735337d22cc0000", "product_id"=>"54b9549c7735337d22cb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22cd0000'), "name"=>"Pedro Schamberger", "reference"=>"Adrien Lubowitz", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b9549c7735337d22ce0000'), "firstname"=>"Bethany", "lastname"=>"Schowalter"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54b9549c7735337d22ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9549c7735337d22cd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms Unpermitted parameters: name Redirected to http://test.host/products/54b9549c7735337d22cd0000/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('54b9549c7735337d22cf0000'), "name"=>"Alysha Aufderhar", "reference"=>"Willa Lubowitz", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d00000'), "name"=>"Granville Kessler Jr.", "reference"=>"Madge Steuber", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d10000'), "name"=>"Carmela Hand II", "reference"=>"Rusty Ortiz DVM", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d20000'), "name"=>"Grant Bode", "reference"=>"Edna Stark", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d30000'), "name"=>"Clinton Macejkovic", "reference"=>"Maryam Hamill", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d40000'), "name"=>"Rod Stoltenberg", "reference"=>"Itzel Zieme", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1702ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms Redirected to http://test.host/products/54b9549c7735337d22d50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1920ms ------------------------------------------- ProductsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d60000'), "name"=>"Jamel Homenick", "reference"=>"Margot Dare I", "quantity"=>5}] 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.1641ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54b9549c7735337d22d60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22d60000')} 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('54b9549c7735337d22d60000')} 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.2314ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d70000'), "name"=>"Constance Metz", "reference"=>"Anika Eichmann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54b9549c7735337d22d70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549c7735337d22d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.1ms) 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('54b9549c7735337d22d80000'), "name"=>"Westley Hodkiewicz", "reference"=>"Mr. Eladio Keeling", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378384006857] runtime: 0.1222ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2383ms Completed 200 OK in 18ms (Views: 17.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22d90000'), "name"=>"Avery Ferry", "reference"=>"Tyrique Zemlak", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22da0000'), "name"=>"HelloWorld", "reference"=>"Birdie Ryan", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22db0000'), "name"=>"value", "reference"=>"Cydney Schamberger", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4295ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2711ms Completed 200 OK in 6ms (Views: 4.9ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2333ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3195ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1705ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3527ms Completed 200 OK in 4ms (Views: 3.4ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3303ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2863ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1661ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3372ms Completed 200 OK in 4ms (Views: 3.3ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549c7735337d22dc0000'), "name"=>"Everette Streich Jr.", "reference"=>"Sigmund Metz", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0106ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379705156033] runtime: 0.0935ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2357ms Completed 200 OK in 17ms (Views: 16.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6931ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378589263743] runtime: 0.0554ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378418714961] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379845618462] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379572056612] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378630285084] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6036ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378650704543] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378618653808] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379178789483] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5492ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379603600170] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5522ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378178375219] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379490905673] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379654264125] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378450636961] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5761ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379830314153] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379730876146] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379267802949] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377969637727] runtime: 0.0558ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379473860109] runtime: 0.0534ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378071045493] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379238104998] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5762ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379112211315] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378534388251] runtime: 0.0553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5959ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379942992606] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378299440316] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379654457240] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378027542940] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5418ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379603388622] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 33.5949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379241380490] runtime: 0.1162ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.9700ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379897291524] runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8729ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378431781509] runtime: 0.0538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7694ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380076206010] runtime: 0.0522ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7573ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379353537171] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378054750067] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379232625630] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7224ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379156606611] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7335ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378881854445] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7395ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379034849354] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7183ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378919556032] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379918329934] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379272152092] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378350990106] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6035ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378987848102] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379644402077] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378570584119] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378018559644] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379090339294] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6288ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379403952387] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378100577019] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379045116128] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379557486672] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378257434182] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6003ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380080641451] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378125368545] runtime: 0.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379167472849] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379749332933] runtime: 0.0523ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379987281977] runtime: 0.0505ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379212403660] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5668ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378518842547] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378559699846] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379380948930] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379857922790] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379948191432] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5539ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377989422384] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379105652992] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5416ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379740225458] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5291ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379945232188] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378257174913] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378023362444] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379401890351] runtime: 0.0506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378524605975] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378556845525] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5245ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379201247473] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378105401224] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379270728483] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379740124826] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378474253171] runtime: 0.0508ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5423ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379530292718] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5396ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379903254630] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378667334181] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379522983247] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378586683606] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379382411408] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378611199481] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378719914804] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378932356772] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378773250496] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5313ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378140823944] runtime: 0.0583ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379606193417] runtime: 0.0608ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379557382690] runtime: 0.0686ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379145194287] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5618ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378682584364] runtime: 0.0598ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378492671967] runtime: 0.0696ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5281ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379309260058] runtime: 0.0526ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5385ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379800292820] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379371526542] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378315368951] runtime: 0.0541ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378054261099] runtime: 0.0564ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5592ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379902338603] runtime: 0.0683ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5801ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379422458802] runtime: 0.0585ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5535ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379811302782] runtime: 0.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5775ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378943955108] runtime: 0.0571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5526ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378962696491] runtime: 0.0535ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5389ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378649724727] runtime: 0.0539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379633651741] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5455ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378654214148] runtime: 0.0582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5379ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379784751775] runtime: 0.0561ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5329ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378090678730] runtime: 0.0557ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5589ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378134707217] runtime: 0.0527ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379116231087] runtime: 0.0503ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5082ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379345090560] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378052128804] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379525525940] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379354988629] runtime: 0.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5292ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378689816711] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5014ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379631482182] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5135ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378472505050] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378967303728] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379963439361] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379869008944] runtime: 0.0495ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5012ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379305957914] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5295ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378543223168] runtime: 0.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5026ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378047994157] runtime: 0.0489ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5006ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378559486244] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5023ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379554013704] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378025737052] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379398170882] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5038ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379246081251] runtime: 0.0593ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379681448339] runtime: 0.0499ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378673887756] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379473685216] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379949644195] runtime: 0.0615ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5013ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378650690897] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378960802541] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379141762205] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4996ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378695273356] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5011ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379116043823] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4992ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378342631930] runtime: 0.0481ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5132ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379276580732] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379581879823] runtime: 0.0626ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5031ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379163901692] runtime: 0.0488ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5002ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380064627266] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378391714874] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378902845095] runtime: 0.0507ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5072ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378232673614] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5065ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380065886955] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379543926763] runtime: 0.0502ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5018ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379797633328] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5034ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378376673069] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378272979084] runtime: 0.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5287ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378326441682] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378419240795] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378160831416] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5138ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380066706760] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5154ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379857437155] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378770061591] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5178ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378471128378] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5182ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379855371347] runtime: 0.0537ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378564911117] runtime: 0.0476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5237ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379166480732] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5087ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379271632809] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5123ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378372979797] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378259508489] runtime: 0.0477ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5152ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378212673964] runtime: 0.0474ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22dd0000'), "name"=>"Alvera Schinner", "reference"=>"Dorris Cremin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2505ms Completed 200 OK in 4ms (Views: 3.3ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22de0000'), "name"=>"Casimer Anderson", "reference"=>"Merle Ritchie", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379842401149] runtime: 0.0630ms Completed 200 OK in 5ms (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('54b9549d7735337d22df0000'), "name"=>"Shaylee Rutherford", "reference"=>"Cara Wolf", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54b9549d7735337d22df0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms Completed 200 OK in 3ms (Views: 0.5ms) ------------------------------------------- ProductsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e00000'), "name"=>"Hulda Grady", "reference"=>"Anabel Heathcote", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6909ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (7.0ms) Completed 200 OK in 14ms (Views: 11.3ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e20000'), "name"=>"Hardy Klein", "reference"=>"Roosevelt Berge DDS", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7766ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54b9549d7735337d22e20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4959ms Completed 200 OK in 7ms (Views: 4.8ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e30000'), "name"=>"Bertram Bogan", "reference"=>"Kody Kreiger DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.8765ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.6789ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3477ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549b7735337d22060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 52ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3385ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 3ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e40000'), "name"=>"Dr. Kurt Wiegand", "reference"=>"Sharon Howe", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3072ms Completed 200 OK in 8ms (Views: 5.9ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e50000'), "name"=>"Dayne Kassulke", "reference"=>"Carmelo Prosacco DVM", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3053ms Completed 200 OK in 6ms (Views: 3.6ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e60000'), "name"=>"Sigurd Green", "reference"=>"Gardner Konopelski", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1991ms 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('54b9549d7735337d22e70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms Completed 201 Created in 3ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2226ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22e80000'), "name"=>"Sheila Sipes", "reference"=>"Dasia Koch", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54b9549d7735337d22e80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22e80000')} 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={"_id"=>BSON::ObjectId('54b9549d7735337d22e80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms 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('54b9549d7735337d22e90000'), "name"=>"Ida Jerde", "reference"=>"Emma Rice", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms 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('54b9549d7735337d22eb0000'), "name"=>"Geovany Fritsch", "reference"=>"Destiney Sawayn", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1257ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9549d7735337d22eb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms 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('54b9549d7735337d22ec0000'), "name"=>"Kathryne Labadie", "reference"=>"Rose Boyer", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9549d7735337d22ec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms Redirected to http://test.host/products/54b9549d7735337d22ec0000 Completed 302 Found in 4ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22ef0000'), "name"=>"Marian Wyman", "reference"=>"Dwight Hayes", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22ed0000'), "author_name"=>"Adalberto Tillman", "content"=>["Et quia accusantium. Exercitationem iure laborum est quia voluptatem. Ut dolore culpa."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22ee0000'), "author_name"=>"Ramiro Jaskolski", "content"=>["Similique architecto nostrum sit modi inventore voluptatem nemo. Quia sed dolor. Unde iure vitae molestiae. Ut veniam repudiandae provident aut."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2014ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9549d7735337d22ef0000", "comment_id"=>"54b9549d7735337d22ed0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ef0000'), "comments._id"=>BSON::ObjectId('54b9549d7735337d22ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9549d7735337d22f00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6327ms Redirected to http://test.host/products/54b9549d7735337d22ef0000/comments/54b9549d7735337d22ed0000/comments/54b9549d7735337d22f00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22f30000'), "name"=>"Crawford Upton", "reference"=>"Deven Grady", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f10000'), "author_name"=>"Maeve Swaniawski", "content"=>["Ratione autem qui alias fuga. Eveniet maxime qui libero dolore quod placeat iure. Autem odio et."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f20000'), "author_name"=>"Heath Franecki", "content"=>["Neque vero voluptas quis sit. Qui sed quas totam ipsam quos molestias quo. Consectetur sunt et adipisci pariatur."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54b9549d7735337d22f30000", "comment_id"=>"54b9549d7735337d22f10000", "id"=>"54b9549d7735337d22f20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f30000'), "comments._id"=>BSON::ObjectId('54b9549d7735337d22f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9549d7735337d22f20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms Redirected to http://test.host/products/54b9549d7735337d22f30000/comments/54b9549d7735337d22f10000/comments Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22f60000'), "name"=>"Ms. Charlene Jones", "reference"=>"Mr. Ronaldo Hand", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f40000'), "author_name"=>"Dorothy Feest", "content"=>["Nostrum accusamus perferendis eum exercitationem. Quis accusantium quas repellendus vero ut necessitatibus. Eaque voluptas molestiae. Doloribus facere qui illo ut corporis est laboriosam. Animi provident voluptatum temporibus reprehenderit qui."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f50000'), "author_name"=>"Melyna Bosco MD", "content"=>["Quis qui voluptatum pariatur sed ut. Vitae atque id voluptatem doloremque repellendus temporibus omnis. Modi eos fuga."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54b9549d7735337d22f60000", "comment_id"=>"54b9549d7735337d22f40000", "id"=>"54b9549d7735337d22f50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3138ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.7ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22f90000'), "name"=>"Miss Maybell Ondricka", "reference"=>"Kieran Kassulke", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f70000'), "author_name"=>"Kaylah Kertzmann Sr.", "content"=>["Sit placeat doloremque soluta dolorem. Atque qui quaerat sit explicabo. Laborum molestias sunt illum. Id rem sit saepe dolor. Ad modi nesciunt repudiandae aut non natus."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22f80000'), "author_name"=>"Lura Casper V", "content"=>["Quia reprehenderit ea ut eligendi sed. Perspiciatis temporibus in ut dignissimos. Nesciunt omnis est laudantium eum. Maxime ipsum odio et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54b9549d7735337d22f90000", "comment_id"=>"54b9549d7735337d22f70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms Completed 200 OK in 5ms (Views: 3.0ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22fc0000'), "name"=>"Bailee Stanton", "reference"=>"Joannie Weissnat", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22fa0000'), "author_name"=>"Ernie Rohan", "content"=>["Sit eligendi et. Dolor quos accusamus. Omnis et veniam porro libero et. Aspernatur asperiores rerum fugit cum tempora."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22fb0000'), "author_name"=>"Hassie Leuschke", "content"=>["Est beatae nobis corporis pariatur sed sequi. Delectus rerum non quia ducimus. Iste ut et dolorem porro. Fugit possimus et eos voluptatibus."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54b9549d7735337d22fc0000", "comment_id"=>"54b9549d7735337d22fa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms Completed 200 OK in 3ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22ff0000'), "name"=>"Wilber Reinger", "reference"=>"Ms. Sage Carter", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22fd0000'), "author_name"=>"Verla Veum Sr.", "content"=>["Eum maxime deleniti tempora totam. Rerum beatae facere hic expedita aut labore omnis. Debitis omnis quis eos."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22fe0000'), "author_name"=>"Abigale Watsica", "content"=>["Rerum magnam possimus quis cumque iste. Eum explicabo reprehenderit sed culpa eum corporis omnis. Laboriosam deserunt nobis aut qui vero qui. Culpa ratione unde asperiores illo et maxime. Dicta excepturi doloribus illum."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54b9549d7735337d22ff0000", "comment_id"=>"54b9549d7735337d22fd0000", "id"=>"54b9549d7735337d22fe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22020100'), "name"=>"Velma Walsh", "reference"=>"Freda Mertz", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22000100'), "author_name"=>"Domenico Howell Sr.", "content"=>["Sed perspiciatis officiis. Eos quod ut ab quaerat. Temporibus sit ut voluptatem quae."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22010100'), "author_name"=>"Orlo Conn", "content"=>["Maxime similique quia inventore facere aut ut. Recusandae id nemo necessitatibus esse deserunt illo. Ducimus beatae fugiat quo ut odit architecto."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54b9549d7735337d22020100", "comment_id"=>"54b9549d7735337d22000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22050100'), "name"=>"Gardner Homenick", "reference"=>"Dr. Shayne D'Amore", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22030100'), "author_name"=>"Clyde Schinner", "content"=>["Quaerat dolorum nesciunt. Voluptas corrupti qui impedit. Et commodi provident. Libero aut vitae ipsa. Culpa quasi aperiam nulla."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22040100'), "author_name"=>"Dr. Ezekiel Gutkowski", "content"=>["Quidem eveniet est dolor maxime voluptatem ab. Saepe quia debitis accusamus id rem sit. Id veritatis iure maxime blanditiis exercitationem omnis aliquid."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54b9549d7735337d22050100", "comment_id"=>"54b9549d7735337d22030100", "id"=>"54b9549d7735337d22040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms Completed 200 OK in 5ms (Views: 2.8ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22080100'), "name"=>"Alvina Prohaska MD", "reference"=>"Oleta Baumbach", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22060100'), "author_name"=>"Amalia Conn", "content"=>["Illum quod dolor. Et eaque omnis veritatis eius distinctio aut ut. Aspernatur non vel ut sit recusandae possimus. Qui blanditiis sed non aut. Sed fugiat incidunt provident commodi assumenda."], "comments"=>[{"_id"=>BSON::ObjectId('54b9549d7735337d22070100'), "author_name"=>"Bradley Moore", "content"=>["Et adipisci aliquam. Non incidunt quia qui error ullam vitae qui. Quasi porro sed nostrum. Vitae quisquam corporis vel."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9549d7735337d22070100", "product_id"=>"54b9549d7735337d22080100", "comment_id"=>"54b9549d7735337d22060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9549d7735337d22080100'), "comments._id"=>BSON::ObjectId('54b9549d7735337d22060100'), "comments.0.comments._id"=>BSON::ObjectId('54b9549d7735337d22070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms Redirected to http://test.host/products/54b9549d7735337d22080100/comments/54b9549d7735337d22060100/comments/54b9549d7735337d22070100 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('54b9549d7735337d22090100'), "firstname"=>"Payton", "lastname"=>"Flatley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2032ms 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('54b9549d7735337d220a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms Redirected to http://test.host/users/54b9549d7735337d220a0100 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2329ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d220b0100'), "firstname"=>"Ezra", "lastname"=>"Runolfsson"}] 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=>"admin_users", :query=>{}} runtime: 0.1704ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54b9549d7735337d220b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549d7735337d220b0100')} 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('54b9549d7735337d220b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms 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('54b9549d7735337d220c0100'), "firstname"=>"Thomas", "lastname"=>"Wintheiser"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54b9549d7735337d220c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549d7735337d220c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.2ms) ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d220d0100'), "firstname"=>"Nathan", "lastname"=>"Bartoletti"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms 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 200 OK in 8ms (Views: 7.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d220e0100'), "firstname"=>"Jameson", "lastname"=>"Reynolds"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b9549d7735337d220f0100'), "firstname"=>"Janet", "lastname"=>"Lueilwitz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms Processing by UsersController#show as HTML Parameters: {"id"=>"54b9549d7735337d220f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549d7735337d220f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms Completed 200 OK in 4ms (Views: 2.3ms) --------------------------------------- UsersControllerTest: test_should_update --------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9549d7735337d22100100'), "firstname"=>"Lucious", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9549d7735337d22100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9549d7735337d22100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms Unpermitted parameters: name Redirected to http://test.host/users/54b9549d7735337d22100100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0704ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6052ms 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.5865ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6985ms 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.5636ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7738ms 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.5494ms ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_create ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cb7735337f5c000000'), "firstname"=>"Norbert", "lastname"=>"Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4999ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2324ms 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('54b954cb7735337f5c010000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.5325ms Redirected to http://test.host/admin/administrator Completed 302 Found in 20ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3289ms --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_edit --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cb7735337f5c020000'), "firstname"=>"Nyah", "lastname"=>"Mayer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Processing by Admin::AdministratorsController#edit as HTML Parameters: {"id"=>"54b954cb7735337f5c020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cb7735337f5c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.2ms) Completed 200 OK in 19ms (Views: 17.4ms) -------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_new -------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c030000'), "firstname"=>"Cathryn", "lastname"=>"Schuppe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms Processing by Admin::AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms) --------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_get_show --------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c040000'), "firstname"=>"Benedict", "lastname"=>"Ullrich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms Processing by Admin::AdministratorsController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------------- Admin::AdministratorsControllerTest: test_should_update ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c050000'), "firstname"=>"Clemmie", "lastname"=>"Farrell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4671ms Processing by Admin::AdministratorsController#update as HTML Parameters: {"id"=>"54b954cc7735337f5c050000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms 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('54b954cc7735337f5c060000'), "name"=>"Alexandre Fahey", "reference"=>"Mrs. Germaine Mraz", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c070000'), "author_name"=>"Mariah Torp", "content"=>["Deserunt ullam natus assumenda. Dolores labore voluptas rem quia sint vitae totam. Nulla non esse hic. Perspiciatis sint ex magnam. Necessitatibus dignissimos autem non nostrum molestiae veritatis non."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6359ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms Processing by Admin::CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b954cc7735337f5c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c080000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms Redirected to http://test.host/admin/products/54b954cc7735337f5c060000/comments/54b954cc7735337f5c080000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c060000')} 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('54b954cc7735337f5c090000'), "name"=>"Dr. Edwina Deckow", "reference"=>"Izaiah Gibson", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0a0000'), "author_name"=>"Candice Sipes", "content"=>["Qui aut qui quasi. Aut cum vero ex. Omnis animi tenetur et distinctio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms Processing by Admin::CommentsController#destroy as HTML Parameters: {"product_id"=>"54b954cc7735337f5c090000", "id"=>"54b954cc7735337f5c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c0a0000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms Redirected to http://test.host/admin/products/54b954cc7735337f5c090000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0b0000'), "name"=>"Maybell Rice", "reference"=>"Fred Collins V", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0c0000'), "author_name"=>"Vincent Altenwerth", "content"=>["Officia deleniti quia. Amet voluptatem enim. Vero amet perferendis accusantium est nihil."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms Processing by Admin::CommentsController#edit as HTML Parameters: {"product_id"=>"54b954cc7735337f5c0b0000", "id"=>"54b954cc7735337f5c0c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.7ms) ---------------------------------------------------- Admin::CommentsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0d0000'), "name"=>"Emmie Carter", "reference"=>"Billy Waelchi", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0e0000'), "author_name"=>"Fredy Halvorson DVM", "content"=>["Ut qui ut consequuntur. Quia maxime a provident et asperiores maiores repudiandae. Labore ut magnam."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms Processing by Admin::CommentsController#index as HTML Parameters: {"product_id"=>"54b954cc7735337f5c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms Completed 200 OK in 5ms (Views: 2.8ms) -------------------------------------------------- Admin::CommentsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c0f0000'), "name"=>"Mr. Rosetta Rutherford", "reference"=>"Mr. Fay Kuhlman", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c100000'), "author_name"=>"Triston Farrell Sr.", "content"=>["Ut nihil ipsa quia aliquid. Error qui quasi nobis deserunt. Temporibus esse vel. Ab repellendus neque exercitationem aut ipsam nobis consequatur."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms Processing by Admin::CommentsController#new as HTML Parameters: {"product_id"=>"54b954cc7735337f5c0f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 3.5ms) --------------------------------------------------- Admin::CommentsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c110000'), "name"=>"Melvina Wisozk", "reference"=>"Mr. Maymie Krajcik", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c120000'), "author_name"=>"Virgil Lubowitz", "content"=>["Nemo libero sed itaque aut et voluptas facilis. Porro quasi ducimus soluta explicabo distinctio. Eos magnam et consequatur vero optio labore harum. Et et numquam error et unde adipisci. Eius amet expedita sunt et minus velit."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5391ms Processing by Admin::CommentsController#show as HTML Parameters: {"product_id"=>"54b954cc7735337f5c110000", "id"=>"54b954cc7735337f5c120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::CommentsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c130000'), "name"=>"Otis Strosin", "reference"=>"Arden Huel", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5c140000'), "author_name"=>"Louvenia Pollich", "content"=>["Harum eum ab error beatae placeat. Aut nam aspernatur nobis voluptatibus quia commodi facere. Ea quo eum dolorem minus. Voluptatum qui aperiam. Ducimus consequatur facilis."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5536ms Processing by Admin::CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b954cc7735337f5c140000", "product_id"=>"54b954cc7735337f5c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c130000'), "comments._id"=>BSON::ObjectId('54b954cc7735337f5c140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6237ms Redirected to http://test.host/admin/products/54b954cc7735337f5c130000/comments/54b954cc7735337f5c140000 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('54b954cc7735337f5c150000'), "name"=>"Miss Garland Hammes", "reference"=>"Trever Berge", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c160000'), "firstname"=>"Bridget", "lastname"=>"Luettgen"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5634ms Processing by Admin::ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b954cc7735337f5c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3973ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c150000')} update={"$unset"=>{"manager"=>true}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4977ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c170000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms Redirected to http://test.host/admin/products/54b954cc7735337f5c150000/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('54b954cc7735337f5c180000'), "name"=>"Berry Mayer", "reference"=>"Donny Bailey", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c190000'), "firstname"=>"Noelia", "lastname"=>"Zemlak"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms Processing by Admin::ManagersController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5c190000", "product_id"=>"54b954cc7735337f5c180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4427ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (33.1ms) Completed 200 OK in 39ms (Views: 36.6ms) -------------------------------------------------- Admin::ManagersControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c1a0000'), "name"=>"Kole Weimann II", "reference"=>"Jasmin Considine", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c1b0000'), "firstname"=>"Judson", "lastname"=>"Flatley"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms Processing by Admin::ManagersController#new as HTML Parameters: {"product_id"=>"54b954cc7735337f5c1a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.8ms) --------------------------------------------------- Admin::ManagersControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c1c0000'), "name"=>"Kamron Mosciski", "reference"=>"Raegan Kling V", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c1d0000'), "firstname"=>"Deon", "lastname"=>"Waters"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5409ms Processing by Admin::ManagersController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c1d0000", "product_id"=>"54b954cc7735337f5c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms Completed 200 OK in 4ms (Views: 2.5ms) ------------------------------------------------- Admin::ManagersControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c1e0000'), "name"=>"Ulises Pfeffer", "reference"=>"Elmer Hahn PhD", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5c1f0000'), "firstname"=>"Makenzie", "lastname"=>"Howell"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5279ms Processing by Admin::ManagersController#update as HTML Parameters: {"id"=>"54b954cc7735337f5c1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b954cc7735337f5c1e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3422ms Unpermitted parameters: name Redirected to http://test.host/admin/products/54b954cc7735337f5c1e0000/manager 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('54b954cc7735337f5c200000'), "name"=>"Stefanie DuBuque", "reference"=>"Osvaldo Effertz III", "quantity"=>1}] 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=>"products", :query=>{}} runtime: 0.1719ms 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('54b954cc7735337f5c210000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms Redirected to http://test.host/admin/products/54b954cc7735337f5c210000 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('54b954cc7735337f5c220000'), "name"=>"Miss Jordyn Halvorson", "reference"=>"Talia Boehm", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1648ms Processing by Admin::ProductsController#destroy as HTML Parameters: {"id"=>"54b954cc7735337f5c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c220000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms 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.1793ms --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_edit --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c230000'), "name"=>"Halle Konopelski", "reference"=>"Mr. Carmen Schuster", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms Processing by Admin::ProductsController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5c230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 5.9ms) ---------------------------------------------------- Admin::ProductsControllerTest: test_should_get_index ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c240000'), "name"=>"Dr. Vella Bayer", "reference"=>"Malachi Gleason", "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.5375ms Completed 200 OK in 11ms (Views: 10.1ms) -------------------------------------------------- Admin::ProductsControllerTest: test_should_get_new -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c250000'), "name"=>"Hildegard Huels", "reference"=>"Alec Schuster", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms Processing by Admin::ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms) Completed 200 OK in 19ms (Views: 4.2ms) --------------------------------------------------- Admin::ProductsControllerTest: test_should_get_show --------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c280000'), "name"=>"Ms. Bernardo Powlowski", "reference"=>"Lorenz Durgan", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Processing by Admin::ProductsController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms Completed 200 OK in 4ms (Views: 2.3ms) ------------------------------------------------- Admin::ProductsControllerTest: test_should_update ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c290000'), "name"=>"Madisen Little Sr.", "reference"=>"Mr. Wellington Abbott", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms Processing by Admin::ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b954cc7735337f5c290000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c290000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms Redirected to http://test.host/admin/products/54b954cc7735337f5c290000 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('54b954cc7735337f5c2a0000'), "firstname"=>"Marley", "lastname"=>"Ratke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms 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('54b954cc7735337f5c2b0000')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms Redirected to http://test.host/admin/users/54b954cc7735337f5c2b0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1956ms ----------------------------------------------- Admin::UsersControllerTest: test_should_destroy ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c2c0000'), "firstname"=>"Samson", "lastname"=>"Koelpin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms 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"=>"54b954cc7735337f5c2c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c2c0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms 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.2457ms ------------------------------------------------ Admin::UsersControllerTest: test_should_get_edit ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c2d0000'), "firstname"=>"Kenyatta", "lastname"=>"Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms Processing by Admin::UsersController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5c2d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (34.3ms) Completed 200 OK in 39ms (Views: 37.3ms) ------------------------------------------------- Admin::UsersControllerTest: test_should_get_index ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c2e0000'), "firstname"=>"Saige", "lastname"=>"Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms 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.3372ms 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('54b954cc7735337f5c2f0000'), "firstname"=>"Cristal", "lastname"=>"Pfeffer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms Processing by Admin::UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_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('54b954cc7735337f5c300000'), "firstname"=>"Gisselle", "lastname"=>"Kerluke"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms Processing by Admin::UsersController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c300000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms 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('54b954cc7735337f5c310000'), "firstname"=>"Perry", "lastname"=>"Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3674ms Processing by Admin::UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b954cc7735337f5c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6314ms Unpermitted parameters: name Redirected to http://test.host/admin/users/54b954cc7735337f5c310000 Completed 302 Found in 6ms ------------------------------------------------ AdministratorsControllerTest: test_should_create ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c320000'), "firstname"=>"Harmon", "lastname"=>"Turner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7451ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3045ms 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('54b954cc7735337f5c330000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5399ms 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.2690ms -------------------------------------------------- AdministratorsControllerTest: test_should_get_edit -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c340000'), "firstname"=>"Eino", "lastname"=>"Rempel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms Processing by AdministratorsController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4173ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.7ms) Completed 200 OK in 11ms (Views: 8.9ms) ------------------------------------------------- AdministratorsControllerTest: test_should_get_new ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c350000'), "firstname"=>"Francis", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5070ms Processing by AdministratorsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.5ms) 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('54b954cc7735337f5c360000'), "firstname"=>"Calista", "lastname"=>"Carroll"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms Processing by AdministratorsController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c360000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms Completed 200 OK in 5ms (Views: 3.2ms) ------------------------------------------------ AdministratorsControllerTest: test_should_update ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c370000'), "firstname"=>"Nasir", "lastname"=>"Hettinger"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms Processing by AdministratorsController#update as HTML Parameters: {"id"=>"54b954cc7735337f5c370000", "administrator"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms Unpermitted parameters: name Redirected to http://test.host/administrator Completed 302 Found in 3ms -------------------------------------------- CategoriesControllerTest: test_should_create -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c380000'), "name"=>"Mrs. Leonora Wolf"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c390000'), "name"=>"Sydnee Rolfson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3a0000'), "name"=>"Abagail Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3b0000'), "name"=>"Nathanael Paucek"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3c0000'), "name"=>"Cali Schulist PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3d0000'), "name"=>"Willie Howe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1892ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3e0000'), "name"=>"Eryn Leuschke PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c3f0000'), "name"=>"Manley Schiller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c400000'), "name"=>"Elnora Cronin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c410000'), "name"=>"Mrs. Katheryn Marquardt"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1829ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c420000'), "name"=>"Kenya Weber I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c430000'), "name"=>"Scotty O'Keefe"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c440000'), "name"=>"Odessa Fadel"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c450000'), "name"=>"Justus Gusikowski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c460000'), "name"=>"Fletcher Kuhn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c470000'), "name"=>"Dr. Dave Bruen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c480000'), "name"=>"Sandrine Bechtelar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c490000'), "name"=>"Ciara Jenkins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6955ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4a0000'), "name"=>"Adalberto Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4b0000'), "name"=>"Reggie Weimann"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4c0000'), "name"=>"Oliver Durgan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4d0000'), "name"=>"Walter Okuneva"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4e0000'), "name"=>"Jennie Lockman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c4f0000'), "name"=>"Jennie Bartell"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c500000'), "name"=>"Magdalen Denesik"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c510000'), "name"=>"Vidal Swaniawski"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c520000'), "name"=>"Porter Schmeler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c530000'), "name"=>"Osvaldo Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c540000'), "name"=>"Amelie Hansen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c550000'), "name"=>"Yasmine Towne"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c560000'), "name"=>"Alta Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c570000'), "name"=>"Miss Ford Stehr"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c580000'), "name"=>"Wilfredo Haley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c590000'), "name"=>"Mrs. Lorna Ritchie"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5a0000'), "name"=>"Miss Charlie Johnson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5b0000'), "name"=>"Grayson Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1907ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5c0000'), "name"=>"Nyah Grant"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5d0000'), "name"=>"Israel Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5e0000'), "name"=>"Bret Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c5f0000'), "name"=>"Hardy Swift I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c600000'), "name"=>"Brandy Aufderhar"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c610000'), "name"=>"Samantha Graham"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c620000'), "name"=>"Mr. Alexandro Stanton"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c630000'), "name"=>"Phoebe Bogan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c640000'), "name"=>"Christopher Parisian I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c650000'), "name"=>"Marcelle Prosacco Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1894ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c660000'), "name"=>"Hassie Cruickshank"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c670000'), "name"=>"Ruthe Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c680000'), "name"=>"Hyman Corkery"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 34.4678ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c690000'), "name"=>"Dr. Felton Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6a0000'), "name"=>"Myron Strosin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6b0000'), "name"=>"Freddy Anderson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6c0000'), "name"=>"Madisyn Luettgen"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6d0000'), "name"=>"Gust Borer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6e0000'), "name"=>"Alec Herman I"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c6f0000'), "name"=>"Rico Terry"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c700000'), "name"=>"Glenda Berge"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c710000'), "name"=>"Yasmeen Lebsack Jr."}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c720000'), "name"=>"Mrs. Noah Cole"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c730000'), "name"=>"Dr. Newell Veum"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c740000'), "name"=>"Domenic Bogisich II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c750000'), "name"=>"Nicolas Waters II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c760000'), "name"=>"Mr. Bridgette Champlin"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c770000'), "name"=>"Brody Bartell PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c780000'), "name"=>"Cyril Cassin II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c790000'), "name"=>"Serenity Carroll III"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7a0000'), "name"=>"Ms. Lavada Hintz"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7b0000'), "name"=>"Toby Armstrong"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7c0000'), "name"=>"Emmanuelle Schinner"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7d0000'), "name"=>"Marguerite Bailey V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1645ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7e0000'), "name"=>"Erich Ullrich MD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c7f0000'), "name"=>"Lula Streich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1585ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c800000'), "name"=>"Gillian Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c810000'), "name"=>"Winston Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c820000'), "name"=>"Maggie Abbott"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c830000'), "name"=>"Malika Von II"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c840000'), "name"=>"Breanne Gottlieb"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c850000'), "name"=>"Dr. Braulio Harber"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c860000'), "name"=>"Ubaldo Wolff"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c870000'), "name"=>"Maxime Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c880000'), "name"=>"Sven Legros"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c890000'), "name"=>"Justice Tremblay"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8a0000'), "name"=>"Maurice Dooley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8b0000'), "name"=>"Daron Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8c0000'), "name"=>"Terrell Gislason"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8d0000'), "name"=>"Dr. Amely Kohler"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8e0000'), "name"=>"Tressie Bins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c8f0000'), "name"=>"Miles Kihn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c900000'), "name"=>"Carolina Wunsch"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1541ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c910000'), "name"=>"Chaya Ryan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c920000'), "name"=>"Effie Mohr V"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c930000'), "name"=>"Calista Jacobi"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c940000'), "name"=>"Lucie Shanahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c950000'), "name"=>"Miss Kobe Yost"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c960000'), "name"=>"Norris Strosin PhD"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c970000'), "name"=>"Kiley Crona"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1767ms Processing by CategoriesController#create as HTML Parameters: {"category"=>{"name"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c980000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms Redirected to http://test.host/categories/54b954cc7735337f5c980000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1864ms --------------------------------------------- CategoriesControllerTest: test_should_destroy --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c990000'), "name"=>"Tito Von"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1794ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1768ms Processing by CategoriesController#destroy as HTML Parameters: {"id"=>"54b954cc7735337f5c990000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c990000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms Redirected to http://test.host/categories Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2713ms ---------------------------------------------- CategoriesControllerTest: test_should_get_edit ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c9a0000'), "name"=>"Domingo Watsica"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms Processing by CategoriesController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5c9a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.5ms) ----------------------------------------------- CategoriesControllerTest: test_should_get_index ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c9b0000'), "name"=>"Mrs. Harrison Miller"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms Processing by CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[403842569445] runtime: 0.0954ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2391ms Completed 200 OK in 16ms (Views: 15.0ms) ----------------------------------------------------- CategoriesControllerTest: test_should_get_index_pages ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c9c0000'), "name"=>"Clinton Zieme"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms Processing by CategoriesController#index as HTML Parameters: {"offset"=>"10", "limit"=>"10"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[404993200001] runtime: 0.0765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2000ms Completed 200 OK in 8ms (Views: 7.9ms) --------------------------------------------- CategoriesControllerTest: test_should_get_new --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c9d0000'), "name"=>"Armando Kub"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3201ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3913ms Processing by CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4606ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.4ms) Completed 200 OK in 7ms (Views: 6.3ms) ---------------------------------------------- CategoriesControllerTest: test_should_get_show ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5c9f0000'), "name"=>"Hugh Collins"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5106ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms Processing by CategoriesController#show as HTML Parameters: {"id"=>"54b954cc7735337f5c9f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5c9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms Completed 200 OK in 5ms (Views: 3.4ms) -------------------------------------------- CategoriesControllerTest: test_should_update -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca00000'), "name"=>"Mr. Eden Rath"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3693ms Processing by CategoriesController#update as HTML Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54b954cc7735337f5ca00000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4065ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca00000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b954cc7735337f5ca00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms Redirected to http://test.host/categories/54b954cc7735337f5ca00000 Completed 302 Found in 4ms ------------------------------------------ CommentsControllerTest: test_should_create ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca10000'), "name"=>"Isom Purdy", "reference"=>"Nat Langworth", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca20000'), "author_name"=>"Jermey Armstrong II", "content"=>["Neque odio aut blanditiis animi corrupti ea. Recusandae nobis asperiores reprehenderit et ut nesciunt. Nulla minima aut quaerat et fugiat ratione."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6553ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms Processing by CommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b954cc7735337f5ca10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5ca30000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms Redirected to http://test.host/products/54b954cc7735337f5ca10000/comments/54b954cc7735337f5ca30000 Completed 302 Found in 4ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3585ms ------------------------------------------- CommentsControllerTest: test_should_destroy ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca40000'), "name"=>"Jeremy Heaney III", "reference"=>"Justen Johnston", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca50000'), "author_name"=>"Vincenza Fritsch", "content"=>["Voluptatem facilis et nisi modi. Quae quia rerum non eum odio illum. Commodi inventore nisi qui dolorem quasi sequi. Harum placeat dolor pariatur qui suscipit necessitatibus. Harum aut eius voluptatem adipisci."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5624ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Processing by CommentsController#destroy as HTML Parameters: {"product_id"=>"54b954cc7735337f5ca40000", "id"=>"54b954cc7735337f5ca50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4168ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b954cc7735337f5ca50000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4901ms Redirected to http://test.host/products/54b954cc7735337f5ca40000/comments Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms -------------------------------------------- CommentsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca60000'), "name"=>"Oran Will", "reference"=>"Myah Pollich", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca70000'), "author_name"=>"Alexandro Lakin", "content"=>["Saepe adipisci esse. Rem laborum tempora voluptas quos tempore ea. Mollitia consequatur itaque voluptatem officiis ut. Consequatur et quae."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms Processing by CommentsController#edit as HTML Parameters: {"product_id"=>"54b954cc7735337f5ca60000", "id"=>"54b954cc7735337f5ca70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.6ms) --------------------------------------------- CommentsControllerTest: test_should_get_index --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca80000'), "name"=>"Meda Osinski PhD", "reference"=>"Anabel Turcotte", "quantity"=>5, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5ca90000'), "author_name"=>"Marlene Wintheiser DVM", "content"=>["Quidem sed incidunt vel. Qui qui dolores vero in. Rerum est et. In minima est sequi sit numquam dignissimos totam. Inventore sit recusandae molestiae delectus sed voluptates quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 40.1933ms Processing by CommentsController#index as HTML Parameters: {"product_id"=>"54b954cc7735337f5ca80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5ca80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5311ms Completed 200 OK in 7ms (Views: 4.1ms) -------------------------------------------------- CommentsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5caa0000'), "name"=>"Mrs. Elena Reynolds", "reference"=>"Mrs. Margarete Schiller", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5cab0000'), "author_name"=>"Garret Torphy", "content"=>["Error ipsum ut nesciunt quaerat quas. Et quia voluptate. Praesentium et ipsam omnis et harum eveniet. Ab commodi ut voluptatem quas consequatur quidem."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6545ms Processing by CommentsController#index as JSON Parameters: {"product_id"=>"54b954cc7735337f5caa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5caa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4262ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------------- CommentsControllerTest: test_should_get_json_show ------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cac0000'), "name"=>"Nannie Bechtelar", "reference"=>"Izabella Howe Sr.", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5cad0000'), "author_name"=>"Mikel Dicki DVM", "content"=>["Enim excepturi dolor ea. Molestiae recusandae adipisci. Dignissimos voluptatibus fuga doloremque officiis odit quisquam autem. Temporibus hic ex suscipit. Quo omnis veritatis omnis aliquam sed."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5323ms Processing by CommentsController#show as JSON Parameters: {"product_id"=>"54b954cc7735337f5cac0000", "id"=>"54b954cc7735337f5cad0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms Completed 200 OK in 3ms (Views: 0.2ms) ------------------------------------------- CommentsControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cae0000'), "name"=>"Jazmin Lesch", "reference"=>"Shaylee Mann", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5caf0000'), "author_name"=>"Faye Cartwright", "content"=>["Officiis quod excepturi molestiae ut. Eaque id sunt. Ducimus non deleniti voluptatem quisquam est amet provident. Officia repudiandae modi ab deleniti numquam porro laboriosam. Eos labore culpa aut nesciunt."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms Processing by CommentsController#new as HTML Parameters: {"product_id"=>"54b954cc7735337f5cae0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.9ms) -------------------------------------------- CommentsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb00000'), "name"=>"Leonel Greenfelder", "reference"=>"Stefanie Treutel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb10000'), "author_name"=>"Ally Collier", "content"=>["Aliquid itaque et. Autem nihil necessitatibus non tempore laboriosam amet corporis. Reiciendis ipsum tenetur tempora est. Excepturi consequatur sed accusantium sapiente necessitatibus fugit aut. Ullam omnis placeat sed nisi et."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms Processing by CommentsController#show as HTML Parameters: {"product_id"=>"54b954cc7735337f5cb00000", "id"=>"54b954cc7735337f5cb10000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3909ms Completed 200 OK in 6ms (Views: 3.3ms) ------------------------------------------ CommentsControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb20000'), "name"=>"Eloy Streich", "reference"=>"Jaylen Thiel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb30000'), "author_name"=>"Althea Senger", "content"=>["Saepe illum labore harum. Reiciendis blanditiis repellendus et. Esse quae odio."]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5427ms Processing by CommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b954cc7735337f5cb30000", "product_id"=>"54b954cc7735337f5cb20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb20000'), "comments._id"=>BSON::ObjectId('54b954cc7735337f5cb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms Redirected to http://test.host/products/54b954cc7735337f5cb20000/comments/54b954cc7735337f5cb30000 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('54b954cc7735337f5cb40000'), "firstname"=>"Vicky", "lastname"=>"Funk"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2507ms Processing by Iord::GenericController#create as HTML Parameters: {"client"=>{"firstname"=>"Hello"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb50000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Redirected to http://test.host/admin/clients/54b954cc7735337f5cb50000 Completed 302 Found in 3ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2860ms ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_destroy ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb60000'), "firstname"=>"Gilberto", "lastname"=>"Sauer"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2422ms Processing by Iord::GenericController#destroy as HTML Parameters: {"id"=>"54b954cc7735337f5cb60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms 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.2502ms ------------------------------------------------------- Iord::GenericControllerTest: test_admin_should_get_edit ------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cc7735337f5cb70000'), "firstname"=>"Vida", "lastname"=>"Bogisich"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b954cc7735337f5cb70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cc7735337f5cb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) Completed 200 OK in 8ms (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('54b954cd7735337f5cb80000'), "firstname"=>"Glen", "lastname"=>"Larson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms Processing by Iord::GenericController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms Completed 200 OK in 6ms (Views: 5.3ms) ------------------------------------------------------ Iord::GenericControllerTest: test_admin_should_get_new ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cb90000'), "firstname"=>"Baron", "lastname"=>"Quigley"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b954cd7735337f5cba0000'), "firstname"=>"Kieran", "lastname"=>"Sanford"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b954cd7735337f5cba0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Completed 200 OK in 4ms (Views: 2.8ms) ----------------------------------------------------- Iord::GenericControllerTest: test_admin_should_update ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cbb0000'), "firstname"=>"Devante", "lastname"=>"Monahan"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b954cd7735337f5cbb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cbb0000')} 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('54b954cd7735337f5cbb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms Redirected to http://test.host/admin/clients/54b954cd7735337f5cbb0000 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('54b954cd7735337f5cbc0000'), "firstname"=>"Earl", "lastname"=>"Schultz"}] 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.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('54b954cd7735337f5cbd0000'), "firstname"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms Redirected to http://test.host/clients/54b954cd7735337f5cbd0000 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2016ms ------------------------------------------------ Iord::GenericControllerTest: test_should_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cbe0000'), "firstname"=>"Eleazar", "lastname"=>"Simonis"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms 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"=>"54b954cd7735337f5cbe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cbe0000')} 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('54b954cd7735337f5cbe0000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms 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('54b954cd7735337f5cbf0000'), "firstname"=>"Cletus", "lastname"=>"Lang"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms Processing by Iord::GenericController#edit as HTML Parameters: {"id"=>"54b954cd7735337f5cbf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cbf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms Rendered /home/geoffroy/projects/crealettres/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('54b954cd7735337f5cc00000'), "firstname"=>"Yasmine", "lastname"=>"Cronin"}] 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.3632ms 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('54b954cd7735337f5cc10000'), "firstname"=>"Denis", "lastname"=>"Maggio"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3053ms Processing by Iord::GenericController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms) 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('54b954cd7735337f5cc20000'), "firstname"=>"Charlotte", "lastname"=>"Marks"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms Processing by Iord::GenericController#show as HTML Parameters: {"id"=>"54b954cd7735337f5cc20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms 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('54b954cd7735337f5cc30000'), "firstname"=>"Gardner", "lastname"=>"Pfannerstill"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms Processing by Iord::GenericController#update as HTML Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b954cd7735337f5cc30000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc30000')} 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('54b954cd7735337f5cc30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms Redirected to http://test.host/clients/54b954cd7735337f5cc30000 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('54b954cd7735337f5cc40000'), "name"=>"Lauryn Cartwright", "reference"=>"Mr. Jettie Hickle", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cc50000'), "firstname"=>"Veda", "lastname"=>"Sanford"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms Processing by ManagersController#create as HTML Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b954cd7735337f5cc40000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc40000')} 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('54b954cd7735337f5cc40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cc60000'), "firstname"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms Redirected to http://test.host/products/54b954cd7735337f5cc40000/manager Completed 302 Found in 4ms -------------------------------------------- ManagersControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cc70000'), "name"=>"Thad Homenick", "reference"=>"Kamryn Aufderhar", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cc80000'), "firstname"=>"Meta", "lastname"=>"Swift"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms Processing by ManagersController#edit as HTML Parameters: {"id"=>"54b954cd7735337f5cc80000", "product_id"=>"54b954cd7735337f5cc70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.2ms) ------------------------------------------- ManagersControllerTest: test_should_get_new ------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cc90000'), "name"=>"Adrain Predovic", "reference"=>"Adalberto Beahan MD", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cca0000'), "firstname"=>"Cora", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms Processing by ManagersController#new as HTML Parameters: {"product_id"=>"54b954cd7735337f5cc90000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cc90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 3.6ms) -------------------------------------------- ManagersControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ccb0000'), "name"=>"Jewel Nikolaus", "reference"=>"Dr. Oral Rogahn", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5ccc0000'), "firstname"=>"Burnice", "lastname"=>"Reynolds"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms Processing by ManagersController#show as HTML Parameters: {"id"=>"54b954cd7735337f5ccc0000", "product_id"=>"54b954cd7735337f5ccb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ccb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms Completed 200 OK in 4ms (Views: 2.4ms) ------------------------------------------ ManagersControllerTest: test_should_update ------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ccd0000'), "name"=>"Dr. Alexane Leffler", "reference"=>"Ivory Blanda II", "quantity"=>0, "manager"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cce0000'), "firstname"=>"Creola", "lastname"=>"Renner"}}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms Processing by ManagersController#update as HTML Parameters: {"id"=>"54b954cd7735337f5cce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b954cd7735337f5ccd0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ccd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms Unpermitted parameters: name Redirected to http://test.host/products/54b954cd7735337f5ccd0000/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('54b954cd7735337f5ccf0000'), "name"=>"Alvina Cassin Sr.", "reference"=>"Ms. Rozella Frami", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8324ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd00000'), "name"=>"Dayana Kris", "reference"=>"Mrs. Jarrell Runolfsdottir", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd10000'), "name"=>"Betsy Barton", "reference"=>"Ricky Jast", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd20000'), "name"=>"Kayleigh Kohler", "reference"=>"Melyna Hoppe", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd30000'), "name"=>"Colton Barton", "reference"=>"Cassie Roob", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd40000'), "name"=>"Mr. Adaline Cummings", "reference"=>"Nathan Borer", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1904ms Processing by ProductsController#create as HTML Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}} MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd50000'), "name"=>"Hello", "quantity"=>10}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms Redirected to http://test.host/products/54b954cd7735337f5cd50000 Completed 302 Found in 2ms 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('54b954cd7735337f5cd60000'), "name"=>"Newell Hintz", "reference"=>"Ms. Rigoberto Greenholt", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms Processing by ProductsController#destroy as HTML Parameters: {"id"=>"54b954cd7735337f5cd60000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cd60000')} 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={"_id"=>BSON::ObjectId('54b954cd7735337f5cd60000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms 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.1969ms -------------------------------------------- ProductsControllerTest: test_should_get_edit -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd70000'), "name"=>"Ida Bayer IV", "reference"=>"Darwin Cummerata", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms Processing by ProductsController#edit as HTML Parameters: {"id"=>"54b954cd7735337f5cd70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cd70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.0ms) 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('54b954cd7735337f5cd80000'), "name"=>"Lysanne Orn", "reference"=>"Lesly Bogan", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms Processing by ProductsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378546938615] runtime: 0.1103ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2526ms Completed 200 OK in 17ms (Views: 16.8ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_search ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cd90000'), "name"=>"Fabiola Green II", "reference"=>"Caitlyn Feeney DDS", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cda0000'), "name"=>"HelloWorld", "reference"=>"Mckenna Corkery", "quantity"=>8}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cdb0000'), "name"=>"value", "reference"=>"Allison Medhurst", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2733ms Completed 200 OK in 5ms (Views: 4.8ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2485ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.2351ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2532ms Completed 200 OK in 4ms (Views: 3.3ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2339ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.1810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1740ms Processing by ProductsController#index as HTML Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2398ms Completed 200 OK in 3ms (Views: 3.2ms) ---------------------------------------------------- ProductsControllerTest: test_should_get_index_sorted ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cdc0000'), "name"=>"Mrs. Phyllis Goldner", "reference"=>"Vada Hamill", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms Processing by ProductsController#index as HTML Parameters: {"order_by"=>"quantity"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9188ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377980964319] runtime: 0.1139ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2459ms Completed 200 OK in 17ms (Views: 16.0ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5791ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378674983511] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5253ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379526154376] runtime: 0.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5817ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379058776469] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6282ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378476417354] runtime: 0.0487ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380000764873] runtime: 0.0516ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5581ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378099697072] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5553ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378067492971] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379994364018] runtime: 0.0518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6391ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380049673565] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7051ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379955680639] runtime: 0.0511ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6706ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378748761231] runtime: 0.0533ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378906515280] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379936269882] runtime: 0.0547ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6576ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377987051926] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6641ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379384706604] runtime: 0.0439ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378606651337] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6477ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378355544979] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7562ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379362161907] runtime: 0.0671ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6484ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379046973182] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6531ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378525581414] runtime: 0.0436ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6448ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378798984226] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6633ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379695627832] runtime: 0.0422ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379952811531] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379150602627] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378413484441] runtime: 0.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 35.3199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379983059577] runtime: 0.1664ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6648ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379830550780] runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0844ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378768386947] runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1280ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379175752528] runtime: 0.0925ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8543ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378942937775] runtime: 0.0656ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378079957163] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9049ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378488988977] runtime: 0.0493ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379061652932] runtime: 0.0485ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379734126707] runtime: 0.0549ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8877ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378018472685] runtime: 0.0544ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380082623876] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7986ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379817610363] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379311079612] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6659ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378264239885] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378354046069] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6574ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379557709295] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7999ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379804686495] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8248ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378188493830] runtime: 0.0519ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8316ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379543765750] runtime: 0.0651ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378925841590] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7866ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379382448254] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8199ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378137535650] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7749ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378922439422] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378292863413] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378376995963] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7719ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378308318733] runtime: 0.0448ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7646ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379593271308] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7636ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379794686752] runtime: 0.0472ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7686ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379073673207] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7687ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378505649941] runtime: 0.0456ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8239ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379772786375] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378929366627] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7673ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378274511909] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7759ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379082096666] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378328950866] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7704ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379203499178] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378209100306] runtime: 0.0478ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378529971960] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7737ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379988519382] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379615980858] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7716ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379213072134] runtime: 0.0469ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7726ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379283219355] runtime: 0.0475ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7769ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379778296245] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7723ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378215502051] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7721ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379436270206] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8033ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379066934427] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7757ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379197385771] runtime: 0.0719ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8045ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379873299581] runtime: 0.0497ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380004420023] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8432ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378149337296] runtime: 0.0595ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8345ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378592018465] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8321ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378431403394] runtime: 0.0514ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379505757516] runtime: 0.0494ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378214059117] runtime: 0.0501ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7998ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379754222446] runtime: 0.0504ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7882ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379312837482] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380083933202] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7818ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378133039171] runtime: 0.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379877928065] runtime: 0.0521ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7949ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379400795239] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7868ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378159692468] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7781ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378422990117] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7855ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380092460024] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7804ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379246512123] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7795ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378636997518] runtime: 0.0473ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8396ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378356942342] runtime: 0.0479ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7437ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379526297199] runtime: 0.0578ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7456ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378946586491] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7509ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378543831497] runtime: 0.0579ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7352ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379780427622] runtime: 0.0576ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378174806098] runtime: 0.0565ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7278ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378390349673] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7119ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378074923947] runtime: 0.0496ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7118ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377971018354] runtime: 0.0492ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379017181490] runtime: 0.0498ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379253889137] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379676316328] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378919699343] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380104575807] runtime: 0.0486ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379741969441] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6731ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378849455703] runtime: 0.0563ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378186436806] runtime: 0.0587ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379862303807] runtime: 0.0524ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6884ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378216373691] runtime: 0.0589ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379121358676] runtime: 0.0569ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6606ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378227446302] runtime: 0.0513ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378354811678] runtime: 0.0482ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379999476310] runtime: 0.0483ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6001ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378393754690] runtime: 0.0484ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6005ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378284069182] runtime: 0.0474ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6141ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379456965884] runtime: 0.0468ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377985156332] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378634915063] runtime: 0.0470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5344ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378534272484] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5689ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379384477560] runtime: 0.0471ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5887ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378137515410] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378239934921] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378062264203] runtime: 0.0464ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5649ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378781599820] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5612ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379018733567] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378147446007] runtime: 0.0459ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5669ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378754361880] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5598ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378946412876] runtime: 0.0461ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5635ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378804764914] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5285ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378073652721] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378195075869] runtime: 0.0462ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5786ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379841552021] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5797ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379883422205] runtime: 0.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5821ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378416039875] runtime: 0.0463ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379602713022] runtime: 0.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5517ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380059755999] runtime: 0.0455ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5495ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379978227041] runtime: 0.0457ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5567ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379179526451] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5554ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379983753695] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5507ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379690868292] runtime: 0.0625ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5258ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379501599578] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5735ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378094531609] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5658ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378751089097] runtime: 0.0449ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5917ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377976497817] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378692794860] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5521ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379463176434] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378475165362] runtime: 0.0452ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378541164697] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378984317749] runtime: 0.0458ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379031357280] runtime: 0.0451ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5479ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379488697588] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5286ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378084948996] runtime: 0.0454ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378146731945] runtime: 0.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379954498855] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379630088558] runtime: 0.0444ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379705974592] runtime: 0.0467ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378136419729] runtime: 0.0445ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5406ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378255969622] runtime: 0.0509ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5417ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378866512387] runtime: 0.0447ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5558ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379222863066] runtime: 0.0442ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5434ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379018720112] runtime: 0.0446ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5494ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379323265907] runtime: 0.0443ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5177ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378919597943] runtime: 0.0441ms ----------------------------------------------- ProductsControllerTest: test_should_get_iterate ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cdd0000'), "name"=>"Ms. Lenny Hermiston", "reference"=>"Cora Romaguera", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms Processing by ProductsController#iterate as HTML MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2623ms Completed 200 OK in 5ms (Views: 3.5ms) -------------------------------------------------- ProductsControllerTest: test_should_get_json_index -------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cde0000'), "name"=>"Agustin Sanford PhD", "reference"=>"Geovany Wolf", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms Processing by ProductsController#index as JSON MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5766ms MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377966517242] runtime: 0.1391ms Completed 200 OK in 31ms (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('54b954cd7735337f5cdf0000'), "name"=>"Sean Cummings", "reference"=>"Winfield Waelchi", "quantity"=>6}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms Processing by ProductsController#show as JSON Parameters: {"id"=>"54b954cd7735337f5cdf0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cdf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms 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('54b954cd7735337f5ce00000'), "name"=>"Darren Batz MD", "reference"=>"Miss Kaci Glover", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms Processing by ProductsController#new as HTML Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 4.5ms) -------------------------------------------- ProductsControllerTest: test_should_get_show -------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce20000'), "name"=>"Elliot Thompson", "reference"=>"Carlie Lakin", "quantity"=>0}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5795ms Processing by ProductsController#show as HTML Parameters: {"id"=>"54b954cd7735337f5ce20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ce20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms Completed 200 OK in 41ms (Views: 39.5ms) --------------------------------------------------------------- ProductsControllerTest: test_should_iterate_edit_first_and_next --------------------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce30000'), "name"=>"Lucinda Waters", "reference"=>"Keeley Walsh", "quantity"=>2}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6093ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3987ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4522ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cc7735337f5c060000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1 Completed 302 Found in 4ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3844ms Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0 Completed 302 Found in 2ms ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_edit ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce40000'), "name"=>"Ms. Dovie Schimmel", "reference"=>"Dr. Leora Dickens", "quantity"=>1}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0", "edit"=>true} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3762ms Completed 200 OK in 5ms (Views: 3.0ms) ------------------------------------------------------ ProductsControllerTest: test_should_iterate_first_show ------------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce50000'), "name"=>"Alden Wuckert", "reference"=>"Mrs. Diego Hoeger", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms Processing by ProductsController#iterate as HTML Parameters: {"pos"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3592ms Completed 200 OK in 5ms (Views: 2.8ms) ----------------------------------------------- ProductsControllerTest: test_should_json_create ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce60000'), "name"=>"Thomas Cassin", "reference"=>"Angel Lind", "quantity"=>6}] 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.2573ms 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('54b954cd7735337f5ce70000'), "name"=>"Hello"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms Completed 201 Created in 2ms (Views: 0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2500ms ------------------------------------------------ ProductsControllerTest: test_should_json_destroy ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5ce80000'), "name"=>"Rocky Schultz", "reference"=>"Jan Zboncak", "quantity"=>4}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms Processing by ProductsController#destroy as JSON Parameters: {"id"=>"54b954cd7735337f5ce80000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ce80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ce80000')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0472ms Completed 200 OK in 7ms (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('54b954cd7735337f5ce90000'), "name"=>"Lenora O'Reilly", "reference"=>"Ms. Hattie Bradtke", "quantity"=>5}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms 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('54b954cd7735337f5ceb0000'), "name"=>"Esta Jast", "reference"=>"Carole Kuhlman", "quantity"=>3}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5168ms Processing by ProductsController#update as JSON Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b954cd7735337f5ceb0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ceb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5ceb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms 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('54b954cd7735337f5cec0000'), "name"=>"Stephan Schmidt Jr.", "reference"=>"Mittie Hegmann", "quantity"=>7}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms Processing by ProductsController#update as HTML Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b954cd7735337f5cec0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms Redirected to http://test.host/products/54b954cd7735337f5cec0000 Completed 302 Found in 3ms --------------------------------------------- SubcommentsControllerTest: test_should_create --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cef0000'), "name"=>"Gilberto Stokes", "reference"=>"Alva Kovacek", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5ced0000'), "author_name"=>"Daniella Kovacek", "content"=>["Itaque tempora quaerat excepturi. Et libero ut. Non autem voluptas. Eum rerum officia. Rerum porro velit dolorem nemo."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cee0000'), "author_name"=>"Grover Brown", "content"=>["Mollitia libero rerum perferendis. Officiis modi saepe et qui voluptatem inventore quasi. Rerum nulla qui sed perferendis est. Dolorem similique tempora. Ea nam maxime atque id quia."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms Processing by SubcommentsController#create as HTML Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b954cd7735337f5cef0000", "comment_id"=>"54b954cd7735337f5ced0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4088ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cef0000'), "comments._id"=>BSON::ObjectId('54b954cd7735337f5ced0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cf00000'), "author_name"=>"Hello"}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6813ms Redirected to http://test.host/products/54b954cd7735337f5cef0000/comments/54b954cd7735337f5ced0000/comments/54b954cd7735337f5cf00000 Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4064ms ---------------------------------------------- SubcommentsControllerTest: test_should_destroy ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf30000'), "name"=>"London Effertz", "reference"=>"Pat O'Keefe", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf10000'), "author_name"=>"Loraine Raynor", "content"=>["Quaerat delectus saepe commodi laboriosam quia et dignissimos. Fuga et minima quidem. Et dolores facilis. Dolorem quae quo ipsam aut. Fugit sit ut."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf20000'), "author_name"=>"Deion Wolff", "content"=>["Et asperiores quia qui neque quis eum. Dolore magnam vitae et. Consequatur impedit ipsum accusantium. Quis sequi aliquam suscipit unde sunt porro et."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6384ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3782ms Processing by SubcommentsController#destroy as HTML Parameters: {"product_id"=>"54b954cd7735337f5cf30000", "comment_id"=>"54b954cd7735337f5cf10000", "id"=>"54b954cd7735337f5cf20000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6291ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf30000'), "comments._id"=>BSON::ObjectId('54b954cd7735337f5cf10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b954cd7735337f5cf20000')}}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7568ms Redirected to http://test.host/products/54b954cd7735337f5cf30000/comments/54b954cd7735337f5cf10000/comments Completed 302 Found in 5ms MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms ----------------------------------------------- SubcommentsControllerTest: test_should_get_edit ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf60000'), "name"=>"Alvah Boyle", "reference"=>"Neal Jacobi", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf40000'), "author_name"=>"Emile Gottlieb III", "content"=>["Voluptate dolores culpa et quia ut maiores minus. Ab ullam id. Possimus qui nostrum eius nihil cum. Qui omnis pariatur aut et et architecto sint."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf50000'), "author_name"=>"Danny Schuppe IV", "content"=>["Deleniti eos aliquam aut sed. Et neque et qui accusamus cumque. Nulla nemo voluptas aut laudantium voluptatum beatae facere. Est qui ratione iste rem deleniti."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms Processing by SubcommentsController#edit as HTML Parameters: {"product_id"=>"54b954cd7735337f5cf60000", "comment_id"=>"54b954cd7735337f5cf40000", "id"=>"54b954cd7735337f5cf50000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.5ms) ------------------------------------------------ SubcommentsControllerTest: test_should_get_index ------------------------------------------------ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf90000'), "name"=>"Ms. Ernest Hane", "reference"=>"Garland Rempel", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf70000'), "author_name"=>"Lilly Rosenbaum IV", "content"=>["Hic et laborum reiciendis architecto. Eos tempore error. Omnis qui neque. Dolor ex aut. Similique quos at et qui tempora illo."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cf80000'), "author_name"=>"Devon Veum", "content"=>["Molestiae quis enim sunt sequi. Consequuntur et eum qui accusamus voluptate recusandae. Est ducimus aperiam. Distinctio ratione animi sed vel nesciunt beatae recusandae."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms Processing by SubcommentsController#index as HTML Parameters: {"product_id"=>"54b954cd7735337f5cf90000", "comment_id"=>"54b954cd7735337f5cf70000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cf90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms Completed 200 OK in 5ms (Views: 2.9ms) ----------------------------------------------------- SubcommentsControllerTest: test_should_get_json_index ----------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cfc0000'), "name"=>"Rosanna Wiegand", "reference"=>"Jakob Pouros", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cfa0000'), "author_name"=>"Amir McGlynn", "content"=>["Sed praesentium nam. Omnis ullam iste aperiam. Eum exercitationem provident voluptatem architecto animi. Facere et ad tempore sit provident. Ut inventore eaque."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cfb0000'), "author_name"=>"Lukas Mraz III", "content"=>["Est esse aut voluptatem. Eum et illum qui ratione doloribus nobis. Delectus et quisquam."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms Processing by SubcommentsController#index as JSON Parameters: {"product_id"=>"54b954cd7735337f5cfc0000", "comment_id"=>"54b954cd7735337f5cfa0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cfc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms Completed 200 OK in 2ms (Views: 0.1ms) ---------------------------------------------------- SubcommentsControllerTest: test_should_get_json_show ---------------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5cff0000'), "name"=>"Bianka Hartmann", "reference"=>"Kian Leuschke", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cfd0000'), "author_name"=>"Rex Johnston", "content"=>["Labore dolorem ut corrupti est quia aut. Ipsam quidem qui esse et non magni. Suscipit eos reprehenderit et consequatur quibusdam et. Quidem voluptatum saepe voluptas omnis. Laudantium dolorem dicta velit dolorum maiores."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5cfe0000'), "author_name"=>"Stanton Deckow Jr.", "content"=>["Et magni mollitia voluptatem. Voluptatem quia illo fuga cupiditate iure sunt. Placeat fugiat corporis."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Processing by SubcommentsController#show as JSON Parameters: {"product_id"=>"54b954cd7735337f5cff0000", "comment_id"=>"54b954cd7735337f5cfd0000", "id"=>"54b954cd7735337f5cfe0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5cff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms Completed 200 OK in 3ms (Views: 0.2ms) ---------------------------------------------- SubcommentsControllerTest: test_should_get_new ---------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5c020100'), "name"=>"Anahi Beahan", "reference"=>"Gilbert McClure", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c000100'), "author_name"=>"Ana Wiza II", "content"=>["Iure laboriosam sed. Eaque ratione voluptates rerum quos. Beatae molestias repellendus ut eum quis error ad. Tempora delectus ipsum in. Ipsa excepturi corporis est cumque."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c010100'), "author_name"=>"Corene Lockman", "content"=>["Assumenda pariatur ipsam. In ipsa dolor rerum. Quia veritatis sint sunt. Consequuntur delectus voluptatem facere."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5120ms Processing by SubcommentsController#new as HTML Parameters: {"product_id"=>"54b954cd7735337f5c020100", "comment_id"=>"54b954cd7735337f5c000100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4738ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.8ms) ----------------------------------------------- SubcommentsControllerTest: test_should_get_show ----------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5c050100'), "name"=>"Laurie Cormier", "reference"=>"Dr. Maureen Abernathy", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c030100'), "author_name"=>"Billie Hickle", "content"=>["Quod non explicabo deleniti fuga soluta. Sed quas quidem aliquid rerum consequatur reprehenderit. Ipsam voluptatem fugiat autem. Qui voluptas voluptatum voluptatem omnis occaecati. Consequatur aut pariatur sunt."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c040100'), "author_name"=>"Jermain Blick", "content"=>["Aspernatur totam et. Deserunt excepturi error. Facilis qui ipsum. Voluptate distinctio eaque quas consequatur quibusdam ipsum. Sed sit perspiciatis eos placeat optio odio."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6095ms Processing by SubcommentsController#show as HTML Parameters: {"product_id"=>"54b954cd7735337f5c050100", "comment_id"=>"54b954cd7735337f5c030100", "id"=>"54b954cd7735337f5c040100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4852ms Completed 200 OK in 5ms (Views: 2.7ms) --------------------------------------------- SubcommentsControllerTest: test_should_update --------------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5c080100'), "name"=>"Monroe Mayert", "reference"=>"Ryan Muller", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c060100'), "author_name"=>"Remington Kulas I", "content"=>["Saepe atque facere optio labore. Totam aliquid vitae et quia ex delectus. Voluptates ipsam blanditiis vel ab rerum deleniti. Inventore sequi id modi."], "comments"=>[{"_id"=>BSON::ObjectId('54b954cd7735337f5c070100'), "author_name"=>"Daron Schoen", "content"=>["Quos quibusdam aut perspiciatis soluta voluptatem. Eligendi quidem aliquid et officia rerum. Qui esse dolorem ea ut commodi voluptatem praesentium. Et a et odit animi ut neque quae. Natus consequuntur qui voluptate dolorem aut nemo."]}]}]}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5977ms Processing by SubcommentsController#update as HTML Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b954cd7735337f5c070100", "product_id"=>"54b954cd7735337f5c080100", "comment_id"=>"54b954cd7735337f5c060100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c080100'), "comments._id"=>BSON::ObjectId('54b954cd7735337f5c060100'), "comments.0.comments._id"=>BSON::ObjectId('54b954cd7735337f5c070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms Redirected to http://test.host/products/54b954cd7735337f5c080100/comments/54b954cd7735337f5c060100/comments/54b954cd7735337f5c070100 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('54b954cd7735337f5c090100'), "firstname"=>"Sadie", "lastname"=>"Harris"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6861ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3543ms 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('54b954cd7735337f5c0a0100')}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms Redirected to http://test.host/users/54b954cd7735337f5c0a0100 Completed 302 Found in 2ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2235ms ---------------------------------------- UsersControllerTest: test_should_destroy ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5c0b0100'), "firstname"=>"Loyce", "lastname"=>"Wilkinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1803ms Processing by UsersController#destroy as HTML Parameters: {"id"=>"54b954cd7735337f5c0b0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c0b0100')} 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('54b954cd7735337f5c0b0100')} flags=[:remove_first] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms 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('54b954cd7735337f5c0c0100'), "firstname"=>"Roselyn", "lastname"=>"Balistreri"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms Processing by UsersController#edit as HTML Parameters: {"id"=>"54b954cd7735337f5c0c0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms) 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('54b954cd7735337f5c0d0100'), "firstname"=>"Ransom", "lastname"=>"Herman"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms 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.3650ms Completed 200 OK in 8ms (Views: 7.4ms) ---------------------------------------- UsersControllerTest: test_should_get_new ---------------------------------------- MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b954cd7735337f5c0e0100'), "firstname"=>"Herminio", "lastname"=>"Dickinson"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms Processing by UsersController#new as HTML Rendered /home/geoffroy/projects/crealettres/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('54b954cd7735337f5c0f0100'), "firstname"=>"Holden", "lastname"=>"Quitzon"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3966ms Processing by UsersController#show as HTML Parameters: {"id"=>"54b954cd7735337f5c0f0100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms 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('54b954cd7735337f5c100100'), "firstname"=>"Ethel", "lastname"=>"Hahn"}] flags=[] COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b954cd7735337f5c100100"} MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms Unpermitted parameters: name Redirected to http://test.host/users/54b954cd7735337f5c100100 Completed 302 Found in 2ms